Lines Matching refs:tid

58 void __ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid,  in __ieee80211_stop_rx_ba_session()  argument
66 .tid = tid, in __ieee80211_stop_rx_ba_session()
74 tid_rx = rcu_dereference_protected(sta->ampdu_mlme.tid_rx[tid], in __ieee80211_stop_rx_ba_session()
77 if (!test_bit(tid, sta->ampdu_mlme.agg_session_valid)) in __ieee80211_stop_rx_ba_session()
80 RCU_INIT_POINTER(sta->ampdu_mlme.tid_rx[tid], NULL); in __ieee80211_stop_rx_ba_session()
81 __clear_bit(tid, sta->ampdu_mlme.agg_session_valid); in __ieee80211_stop_rx_ba_session()
85 sta->sta.addr, tid, in __ieee80211_stop_rx_ba_session()
92 sta->sta.addr, tid); in __ieee80211_stop_rx_ba_session()
97 tid, WLAN_BACK_RECIPIENT, reason); in __ieee80211_stop_rx_ba_session()
148 u8 tid = tid_rx->tid; in sta_rx_agg_session_timer_expired() local
158 sta->sta.addr, tid); in sta_rx_agg_session_timer_expired()
160 set_bit(tid, sta->ampdu_mlme.tid_rx_timer_expired); in sta_rx_agg_session_timer_expired()
169 ieee80211_release_reorder_timeout(tid_rx->sta, tid_rx->tid); in sta_rx_agg_reorder_timer_expired()
191 static void ieee80211_send_addba_resp(struct sta_info *sta, u8 *da, u16 tid, in ieee80211_send_addba_resp() argument
219 capab |= u16_encode_bits(tid, IEEE80211_ADDBA_PARAM_TID_MASK); in ieee80211_send_addba_resp()
234 u16 start_seq_num, u16 ba_policy, u16 tid, in __ieee80211_start_rx_ba_session() argument
243 .tid = tid, in __ieee80211_start_rx_ba_session()
254 if (tid >= IEEE80211_FIRST_TSPEC_TSID) { in __ieee80211_start_rx_ba_session()
257 sta->sta.addr, tid); in __ieee80211_start_rx_ba_session()
265 sta->sta.addr, tid); in __ieee80211_start_rx_ba_session()
273 sta->sta.addr, tid); in __ieee80211_start_rx_ba_session()
294 sta->sta.addr, tid, ba_policy, buf_size); in __ieee80211_start_rx_ba_session()
309 if (test_bit(tid, sta->ampdu_mlme.agg_session_valid)) { in __ieee80211_start_rx_ba_session()
310 if (sta->ampdu_mlme.tid_rx_token[tid] == dialog_token) { in __ieee80211_start_rx_ba_session()
315 sta->sta.addr, tid); in __ieee80211_start_rx_ba_session()
322 tid_rx = rcu_dereference(sta->ampdu_mlme.tid_rx[tid]); in __ieee80211_start_rx_ba_session()
333 sta->sta.addr, tid); in __ieee80211_start_rx_ba_session()
336 __ieee80211_stop_rx_ba_session(sta, tid, WLAN_BACK_RECIPIENT, in __ieee80211_start_rx_ba_session()
345 sta->sta.addr, tid, ret); in __ieee80211_start_rx_ba_session()
383 sta->sta.addr, tid, ret); in __ieee80211_start_rx_ba_session()
400 tid_agg_rx->tid = tid; in __ieee80211_start_rx_ba_session()
405 rcu_assign_pointer(sta->ampdu_mlme.tid_rx[tid], tid_agg_rx); in __ieee80211_start_rx_ba_session()
414 __set_bit(tid, sta->ampdu_mlme.agg_session_valid); in __ieee80211_start_rx_ba_session()
415 __clear_bit(tid, sta->ampdu_mlme.unexpected_agg); in __ieee80211_start_rx_ba_session()
416 sta->ampdu_mlme.tid_rx_token[tid] = dialog_token; in __ieee80211_start_rx_ba_session()
420 ieee80211_send_addba_resp(sta, sta->sta.addr, tid, in __ieee80211_start_rx_ba_session()
430 u16 capab, tid, timeout, ba_policy, buf_size, start_seq_num; in ieee80211_process_addba_request() local
443 tid = (capab & IEEE80211_ADDBA_PARAM_TID_MASK) >> 2; in ieee80211_process_addba_request()
463 start_seq_num, ba_policy, tid, in ieee80211_process_addba_request()
471 const u8 *addr, unsigned int tid) in ieee80211_manage_rx_ba_offl() argument
481 set_bit(tid, sta->ampdu_mlme.tid_rx_manage_offl); in ieee80211_manage_rx_ba_offl()
489 const u8 *addr, unsigned int tid) in ieee80211_rx_ba_timer_expired() argument
499 set_bit(tid, sta->ampdu_mlme.tid_rx_timer_expired); in ieee80211_rx_ba_timer_expired()