Home
last modified time | relevance | path

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

/net/mac80211/
Dagg-tx.c143 struct tid_ampdu_tx *tid_tx) in ieee80211_assign_tid_tx() argument
147 rcu_assign_pointer(sta->ampdu_mlme.tid_tx[tid], tid_tx); in ieee80211_assign_tid_tx()
242 struct tid_ampdu_tx *tid_tx, u16 tid) in __acquires()
250 if (WARN(!tid_tx, in __acquires()
255 if (!skb_queue_empty(&tid_tx->pending)) { in __acquires()
258 skb_queue_splice_tail_init(&tid_tx->pending, in __acquires()
272 struct tid_ampdu_tx *tid_tx; in ieee80211_remove_tid_tx() local
277 tid_tx = rcu_dereference_protected_tid_tx(sta, tid); in ieee80211_remove_tid_tx()
289 ieee80211_agg_splice_packets(sta->sdata, tid_tx, tid); in ieee80211_remove_tid_tx()
296 kfree_rcu(tid_tx, rcu_head); in ieee80211_remove_tid_tx()
[all …]
Dht.c341 struct tid_ampdu_tx *tid_tx = in ieee80211_sta_tear_down_BA_sessions() local
344 if (!tid_tx) in ieee80211_sta_tear_down_BA_sessions()
347 if (test_and_clear_bit(HT_AGG_STATE_STOP_CB, &tid_tx->state)) in ieee80211_sta_tear_down_BA_sessions()
348 ieee80211_stop_tx_ba_cb(sta, i, tid_tx); in ieee80211_sta_tear_down_BA_sessions()
358 struct tid_ampdu_tx *tid_tx; in ieee80211_ba_session_work() local
393 tid_tx = sta->ampdu_mlme.tid_start_tx[tid]; in ieee80211_ba_session_work()
394 if (!blocked && tid_tx) { in ieee80211_ba_session_work()
433 if (sta->ampdu_mlme.tid_tx[tid]) in ieee80211_ba_session_work()
434 kfree(tid_tx); in ieee80211_ba_session_work()
436 ieee80211_assign_tid_tx(sta, tid, tid_tx); in ieee80211_ba_session_work()
[all …]
Dstatus.c174 struct tid_ampdu_tx *tid_tx; in ieee80211_check_pending_bar() local
176 tid_tx = rcu_dereference(sta->ampdu_mlme.tid_tx[tid]); in ieee80211_check_pending_bar()
177 if (!tid_tx || !tid_tx->bar_pending) in ieee80211_check_pending_bar()
180 tid_tx->bar_pending = false; in ieee80211_check_pending_bar()
181 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()
Dtx.c1115 struct tid_ampdu_tx *tid_tx, in ieee80211_tx_prep_agg() argument
1122 if (test_bit(HT_AGG_STATE_OPERATIONAL, &tid_tx->state)) { in ieee80211_tx_prep_agg()
1124 } else if (test_bit(HT_AGG_STATE_WANT_START, &tid_tx->state)) { in ieee80211_tx_prep_agg()
1149 tid_tx = rcu_dereference_protected_tid_tx(tx->sta, tid); in ieee80211_tx_prep_agg()
1151 if (!tid_tx) { in ieee80211_tx_prep_agg()
1153 } else if (test_bit(HT_AGG_STATE_OPERATIONAL, &tid_tx->state)) { in ieee80211_tx_prep_agg()
1166 __skb_queue_tail(&tid_tx->pending, skb); in ieee80211_tx_prep_agg()
1167 if (skb_queue_len(&tid_tx->pending) > STA_MAX_TX_BUFFER) in ieee80211_tx_prep_agg()
1168 purge_skb = __skb_dequeue(&tid_tx->pending); in ieee80211_tx_prep_agg()
1178 tid_tx->last_tx = jiffies; in ieee80211_tx_prep_agg()
[all …]
Ddebugfs_sta.c323 struct tid_ampdu_tx *tid_tx; in sta_agg_status_read() local
342 tid_tx = rcu_dereference(sta->ampdu_mlme.tid_tx[i]); in sta_agg_status_read()
354 p += scnprintf(p, bufsz + buf - p, "\t\t%x", !!tid_tx); in sta_agg_status_read()
356 tid_tx ? tid_tx->dialog_token : 0); in sta_agg_status_read()
358 tid_tx ? skb_queue_len(&tid_tx->pending) : 0); in sta_agg_status_read()
Dsta_info.h295 struct tid_ampdu_tx __rcu *tid_tx[IEEE80211_NUM_TIDS]; member
801 struct tid_ampdu_tx *tid_tx);
806 return rcu_dereference_protected(sta->ampdu_mlme.tid_tx[tid], in rcu_dereference_protected_tid_tx()
Dmesh.c774 struct tid_ampdu_tx *tid_tx; in ieee80211_mesh_xmit_fast() local
821 tid_tx = rcu_dereference(sta->ampdu_mlme.tid_tx[tid]); in ieee80211_mesh_xmit_fast()
822 if (tid_tx) { in ieee80211_mesh_xmit_fast()
823 if (!test_bit(HT_AGG_STATE_OPERATIONAL, &tid_tx->state)) in ieee80211_mesh_xmit_fast()
825 if (tid_tx->timeout) in ieee80211_mesh_xmit_fast()
826 tid_tx->last_tx = jiffies; in ieee80211_mesh_xmit_fast()
853 __ieee80211_xmit_fast(sdata, sta, &entry->fast_tx, skb, tid_tx, in ieee80211_mesh_xmit_fast()
Dsta_info.c120 struct tid_ampdu_tx *tid_tx; in __cleanup_single_sta() local
173 tid_tx = rcu_dereference_raw(sta->ampdu_mlme.tid_tx[i]); in __cleanup_single_sta()
174 if (!tid_tx) in __cleanup_single_sta()
176 ieee80211_purge_tx_queue(&local->hw, &tid_tx->pending); in __cleanup_single_sta()
177 kfree(tid_tx); in __cleanup_single_sta()
Drx.c2734 struct tid_ampdu_tx *tid_tx; in ieee80211_rx_mesh_fast_forward() local
2759 tid_tx = rcu_dereference(sta->ampdu_mlme.tid_tx[tid]); in ieee80211_rx_mesh_fast_forward()
2760 if (tid_tx) { in ieee80211_rx_mesh_fast_forward()
2761 if (!test_bit(HT_AGG_STATE_OPERATIONAL, &tid_tx->state)) in ieee80211_rx_mesh_fast_forward()
2764 if (tid_tx->timeout) in ieee80211_rx_mesh_fast_forward()
2765 tid_tx->last_tx = jiffies; in ieee80211_rx_mesh_fast_forward()
2780 __ieee80211_xmit_fast(sdata, sta, &entry->fast_tx, skb, tid_tx, in ieee80211_rx_mesh_fast_forward()
Dieee80211_i.h2130 struct tid_ampdu_tx *tid_tx);
2132 struct tid_ampdu_tx *tid_tx);