Lines Matching refs:txq
110 if (sta->sta.txq[0]) { in __cleanup_single_sta()
111 for (i = 0; i < ARRAY_SIZE(sta->sta.txq); i++) { in __cleanup_single_sta()
112 struct txq_info *txqi = to_txq_info(sta->sta.txq[i]); in __cleanup_single_sta()
116 atomic_sub(n, &sdata->txqs_len[txqi->txq.ac]); in __cleanup_single_sta()
248 if (sta->sta.txq[0]) in sta_info_free()
249 kfree(to_txq_info(sta->sta.txq[0])); in sta_info_free()
342 txq_data = kcalloc(ARRAY_SIZE(sta->sta.txq), size, gfp); in sta_info_alloc()
346 for (i = 0; i < ARRAY_SIZE(sta->sta.txq); i++) { in sta_info_alloc()
347 struct txq_info *txq = txq_data + i * size; in sta_info_alloc() local
349 ieee80211_init_tx_queue(sdata, sta, txq, i); in sta_info_alloc()
403 if (sta->sta.txq[0]) in sta_info_alloc()
404 kfree(to_txq_info(sta->sta.txq[0])); in sta_info_alloc()
1155 if (sta->sta.txq[0]) { in ieee80211_sta_ps_deliver_wakeup()
1156 for (i = 0; i < ARRAY_SIZE(sta->sta.txq); i++) { in ieee80211_sta_ps_deliver_wakeup()
1157 struct txq_info *txqi = to_txq_info(sta->sta.txq[i]); in ieee80211_sta_ps_deliver_wakeup()
1547 if (!sta->sta.txq[0]) in ieee80211_sta_ps_deliver_response()
1550 for (tid = 0; tid < ARRAY_SIZE(sta->sta.txq); tid++) { in ieee80211_sta_ps_deliver_response()
1551 struct txq_info *txqi = to_txq_info(sta->sta.txq[tid]); in ieee80211_sta_ps_deliver_response()