Lines Matching refs:txq
111 if (sta->sta.txq[0]) { in __cleanup_single_sta()
112 for (i = 0; i < ARRAY_SIZE(sta->sta.txq); i++) { in __cleanup_single_sta()
113 struct txq_info *txqi = to_txq_info(sta->sta.txq[i]); in __cleanup_single_sta()
117 atomic_sub(n, &sdata->txqs_len[txqi->txq.ac]); in __cleanup_single_sta()
249 if (sta->sta.txq[0]) in sta_info_free()
250 kfree(to_txq_info(sta->sta.txq[0])); in sta_info_free()
351 txq_data = kcalloc(ARRAY_SIZE(sta->sta.txq), size, gfp); in sta_info_alloc()
355 for (i = 0; i < ARRAY_SIZE(sta->sta.txq); i++) { in sta_info_alloc()
356 struct txq_info *txq = txq_data + i * size; in sta_info_alloc() local
358 ieee80211_init_tx_queue(sdata, sta, txq, i); in sta_info_alloc()
412 if (sta->sta.txq[0]) in sta_info_alloc()
413 kfree(to_txq_info(sta->sta.txq[0])); in sta_info_alloc()
1172 if (sta->sta.txq[0]) { in ieee80211_sta_ps_deliver_wakeup()
1173 for (i = 0; i < ARRAY_SIZE(sta->sta.txq); i++) { in ieee80211_sta_ps_deliver_wakeup()
1174 struct txq_info *txqi = to_txq_info(sta->sta.txq[i]); in ieee80211_sta_ps_deliver_wakeup()
1566 if (!sta->sta.txq[0]) in ieee80211_sta_ps_deliver_response()
1569 for (tid = 0; tid < ARRAY_SIZE(sta->sta.txq); tid++) { in ieee80211_sta_ps_deliver_response()
1570 struct txq_info *txqi = to_txq_info(sta->sta.txq[tid]); in ieee80211_sta_ps_deliver_response()