Home
last modified time | relevance | path

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

/net/mac80211/
Dagg-tx.c145 struct tid_ampdu_tx *tid_tx) in ieee80211_assign_tid_tx() argument
149 rcu_assign_pointer(sta->ampdu_mlme.tid_tx[tid], tid_tx); in ieee80211_assign_tid_tx()
202 struct tid_ampdu_tx *tid_tx, u16 tid) in __acquires()
210 if (WARN(!tid_tx, in __acquires()
215 if (!skb_queue_empty(&tid_tx->pending)) { in __acquires()
218 skb_queue_splice_tail_init(&tid_tx->pending, in __acquires()
232 struct tid_ampdu_tx *tid_tx; in ieee80211_remove_tid_tx() local
237 tid_tx = rcu_dereference_protected_tid_tx(sta, tid); in ieee80211_remove_tid_tx()
249 ieee80211_agg_splice_packets(sta->sdata, tid_tx, tid); in ieee80211_remove_tid_tx()
256 kfree_rcu(tid_tx, rcu_head); in ieee80211_remove_tid_tx()
[all …]
Dstatus.c169 struct tid_ampdu_tx *tid_tx; in ieee80211_check_pending_bar() local
171 tid_tx = rcu_dereference(sta->ampdu_mlme.tid_tx[tid]); in ieee80211_check_pending_bar()
172 if (!tid_tx || !tid_tx->bar_pending) in ieee80211_check_pending_bar()
175 tid_tx->bar_pending = false; in ieee80211_check_pending_bar()
176 ieee80211_send_bar(&sta->sdata->vif, addr, tid, tid_tx->failed_bar_ssn); in ieee80211_check_pending_bar()
234 struct tid_ampdu_tx *tid_tx; in ieee80211_set_bar_pending() local
236 tid_tx = rcu_dereference(sta->ampdu_mlme.tid_tx[tid]); in ieee80211_set_bar_pending()
237 if (!tid_tx) in ieee80211_set_bar_pending()
240 tid_tx->failed_bar_ssn = ssn; in ieee80211_set_bar_pending()
241 tid_tx->bar_pending = true; in ieee80211_set_bar_pending()
Dht.c304 struct tid_ampdu_tx *tid_tx; in ieee80211_ba_session_work() local
331 tid_tx = sta->ampdu_mlme.tid_start_tx[tid]; in ieee80211_ba_session_work()
332 if (tid_tx) { in ieee80211_ba_session_work()
340 if (sta->ampdu_mlme.tid_tx[tid]) in ieee80211_ba_session_work()
341 kfree(tid_tx); in ieee80211_ba_session_work()
343 ieee80211_assign_tid_tx(sta, tid, tid_tx); in ieee80211_ba_session_work()
351 tid_tx = rcu_dereference_protected_tid_tx(sta, tid); in ieee80211_ba_session_work()
352 if (tid_tx && test_and_clear_bit(HT_AGG_STATE_WANT_STOP, in ieee80211_ba_session_work()
353 &tid_tx->state)) in ieee80211_ba_session_work()
Ddebugfs_sta.c165 struct tid_ampdu_tx *tid_tx; in sta_agg_status_read() local
176 tid_tx = rcu_dereference(sta->ampdu_mlme.tid_tx[i]); in sta_agg_status_read()
185 p += scnprintf(p, sizeof(buf) + buf - p, "\t\t%x", !!tid_tx); in sta_agg_status_read()
187 tid_tx ? tid_tx->dialog_token : 0); in sta_agg_status_read()
189 tid_tx ? skb_queue_len(&tid_tx->pending) : 0); in sta_agg_status_read()
Dsta_info.h227 struct tid_ampdu_tx __rcu *tid_tx[IEEE80211_NUM_TIDS]; member
529 struct tid_ampdu_tx *tid_tx);
534 return rcu_dereference_protected(sta->ampdu_mlme.tid_tx[tid], in rcu_dereference_protected_tid_tx()
Dtx.c1047 struct tid_ampdu_tx *tid_tx, in ieee80211_tx_prep_agg() argument
1054 if (test_bit(HT_AGG_STATE_OPERATIONAL, &tid_tx->state)) { in ieee80211_tx_prep_agg()
1057 } else if (test_bit(HT_AGG_STATE_WANT_START, &tid_tx->state)) { in ieee80211_tx_prep_agg()
1082 tid_tx = rcu_dereference_protected_tid_tx(tx->sta, tid); in ieee80211_tx_prep_agg()
1084 if (!tid_tx) { in ieee80211_tx_prep_agg()
1086 } else if (test_bit(HT_AGG_STATE_OPERATIONAL, &tid_tx->state)) { in ieee80211_tx_prep_agg()
1094 __skb_queue_tail(&tid_tx->pending, skb); in ieee80211_tx_prep_agg()
1095 if (skb_queue_len(&tid_tx->pending) > STA_MAX_TX_BUFFER) in ieee80211_tx_prep_agg()
1096 purge_skb = __skb_dequeue(&tid_tx->pending); in ieee80211_tx_prep_agg()
1105 if (reset_agg_timer && tid_tx->timeout) in ieee80211_tx_prep_agg()
[all …]
Dsta_info.c98 struct tid_ampdu_tx *tid_tx; in __cleanup_single_sta() local
141 tid_tx = rcu_dereference_raw(sta->ampdu_mlme.tid_tx[i]); in __cleanup_single_sta()
142 if (!tid_tx) in __cleanup_single_sta()
144 ieee80211_purge_tx_queue(&local->hw, &tid_tx->pending); in __cleanup_single_sta()
145 kfree(tid_tx); in __cleanup_single_sta()
Drc80211_minstrel_ht.c554 if (likely(sta->ampdu_mlme.tid_tx[tid])) in minstrel_aggr_check()