Home
last modified time | relevance | path

Searched refs:tid_tx (Results 1 – 9 of 9) sorted by relevance

/net/mac80211/
Dagg-tx.c146 struct tid_ampdu_tx *tid_tx) in ieee80211_assign_tid_tx() argument
150 rcu_assign_pointer(sta->ampdu_mlme.tid_tx[tid], tid_tx); in ieee80211_assign_tid_tx()
243 struct tid_ampdu_tx *tid_tx, u16 tid) in __acquires()
251 if (WARN(!tid_tx, in __acquires()
256 if (!skb_queue_empty(&tid_tx->pending)) { in __acquires()
259 skb_queue_splice_tail_init(&tid_tx->pending, in __acquires()
273 struct tid_ampdu_tx *tid_tx; in ieee80211_remove_tid_tx() local
278 tid_tx = rcu_dereference_protected_tid_tx(sta, tid); in ieee80211_remove_tid_tx()
290 ieee80211_agg_splice_packets(sta->sdata, tid_tx, tid); in ieee80211_remove_tid_tx()
298 kfree_rcu(tid_tx, rcu_head); in ieee80211_remove_tid_tx()
[all …]
Dht.c311 struct tid_ampdu_tx *tid_tx = in ieee80211_sta_tear_down_BA_sessions() local
314 if (!tid_tx) in ieee80211_sta_tear_down_BA_sessions()
317 if (test_and_clear_bit(HT_AGG_STATE_STOP_CB, &tid_tx->state)) in ieee80211_sta_tear_down_BA_sessions()
318 ieee80211_stop_tx_ba_cb(sta, i, tid_tx); in ieee80211_sta_tear_down_BA_sessions()
327 struct tid_ampdu_tx *tid_tx; in ieee80211_ba_session_work() local
366 tid_tx = sta->ampdu_mlme.tid_start_tx[tid]; in ieee80211_ba_session_work()
367 if (tid_tx) { in ieee80211_ba_session_work()
375 if (sta->ampdu_mlme.tid_tx[tid]) in ieee80211_ba_session_work()
376 kfree(tid_tx); in ieee80211_ba_session_work()
378 ieee80211_assign_tid_tx(sta, tid, tid_tx); in ieee80211_ba_session_work()
[all …]
Dstatus.c175 struct tid_ampdu_tx *tid_tx; in ieee80211_check_pending_bar() local
177 tid_tx = rcu_dereference(sta->ampdu_mlme.tid_tx[tid]); in ieee80211_check_pending_bar()
178 if (!tid_tx || !tid_tx->bar_pending) in ieee80211_check_pending_bar()
181 tid_tx->bar_pending = false; in ieee80211_check_pending_bar()
182 ieee80211_send_bar(&sta->sdata->vif, addr, tid, tid_tx->failed_bar_ssn); in ieee80211_check_pending_bar()
241 struct tid_ampdu_tx *tid_tx; in ieee80211_set_bar_pending() local
243 tid_tx = rcu_dereference(sta->ampdu_mlme.tid_tx[tid]); in ieee80211_set_bar_pending()
244 if (!tid_tx) in ieee80211_set_bar_pending()
247 tid_tx->failed_bar_ssn = ssn; in ieee80211_set_bar_pending()
248 tid_tx->bar_pending = true; in ieee80211_set_bar_pending()
Ddebugfs_sta.c198 struct tid_ampdu_tx *tid_tx; in sta_agg_status_read() local
211 tid_tx = rcu_dereference(sta->ampdu_mlme.tid_tx[i]); in sta_agg_status_read()
223 p += scnprintf(p, sizeof(buf) + buf - p, "\t\t%x", !!tid_tx); in sta_agg_status_read()
225 tid_tx ? tid_tx->dialog_token : 0); in sta_agg_status_read()
227 tid_tx ? skb_queue_len(&tid_tx->pending) : 0); in sta_agg_status_read()
Dsta_info.h260 struct tid_ampdu_tx __rcu *tid_tx[IEEE80211_NUM_TIDS]; member
642 struct tid_ampdu_tx *tid_tx);
647 return rcu_dereference_protected(sta->ampdu_mlme.tid_tx[tid], in rcu_dereference_protected_tid_tx()
Dtx.c1078 struct tid_ampdu_tx *tid_tx, in ieee80211_tx_prep_agg() argument
1085 if (test_bit(HT_AGG_STATE_OPERATIONAL, &tid_tx->state)) { in ieee80211_tx_prep_agg()
1088 } else if (test_bit(HT_AGG_STATE_WANT_START, &tid_tx->state)) { in ieee80211_tx_prep_agg()
1113 tid_tx = rcu_dereference_protected_tid_tx(tx->sta, tid); in ieee80211_tx_prep_agg()
1115 if (!tid_tx) { in ieee80211_tx_prep_agg()
1117 } else if (test_bit(HT_AGG_STATE_OPERATIONAL, &tid_tx->state)) { in ieee80211_tx_prep_agg()
1131 __skb_queue_tail(&tid_tx->pending, skb); in ieee80211_tx_prep_agg()
1132 if (skb_queue_len(&tid_tx->pending) > STA_MAX_TX_BUFFER) in ieee80211_tx_prep_agg()
1133 purge_skb = __skb_dequeue(&tid_tx->pending); in ieee80211_tx_prep_agg()
1143 tid_tx->last_tx = jiffies; in ieee80211_tx_prep_agg()
[all …]
Dsta_info.c90 struct tid_ampdu_tx *tid_tx; in __cleanup_single_sta() local
143 tid_tx = rcu_dereference_raw(sta->ampdu_mlme.tid_tx[i]); in __cleanup_single_sta()
144 if (!tid_tx) in __cleanup_single_sta()
146 ieee80211_purge_tx_queue(&local->hw, &tid_tx->pending); in __cleanup_single_sta()
147 kfree(tid_tx); in __cleanup_single_sta()
Dieee80211_i.h1786 struct tid_ampdu_tx *tid_tx);
1788 struct tid_ampdu_tx *tid_tx);
Drc80211_minstrel_ht.c674 if (likely(sta->ampdu_mlme.tid_tx[tid])) in minstrel_aggr_check()