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()
117 void __ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid, in __ieee80211_stop_rx_ba_session() argument
121 ___ieee80211_stop_rx_ba_session(sta, tid, initiator, reason, tx); in __ieee80211_stop_rx_ba_session()
156 u8 tid = tid_rx->tid; in sta_rx_agg_session_timer_expired() local
166 sta->sta.addr, tid); in sta_rx_agg_session_timer_expired()
168 set_bit(tid, sta->ampdu_mlme.tid_rx_timer_expired); in sta_rx_agg_session_timer_expired()
177 ieee80211_release_reorder_timeout(tid_rx->sta, tid_rx->tid); in sta_rx_agg_reorder_timer_expired()
199 static void ieee80211_send_addba_resp(struct sta_info *sta, u8 *da, u16 tid, in ieee80211_send_addba_resp() argument
240 capab |= u16_encode_bits(tid, IEEE80211_ADDBA_PARAM_TID_MASK); in ieee80211_send_addba_resp()
255 u16 start_seq_num, u16 ba_policy, u16 tid, in ___ieee80211_start_rx_ba_session() argument
264 .tid = tid, in ___ieee80211_start_rx_ba_session()
273 if (tid >= IEEE80211_FIRST_TSPEC_TSID) { in ___ieee80211_start_rx_ba_session()
276 sta->sta.addr, tid); in ___ieee80211_start_rx_ba_session()
284 sta->sta.addr, tid); in ___ieee80211_start_rx_ba_session()
292 sta->sta.addr, tid); in ___ieee80211_start_rx_ba_session()
313 sta->sta.addr, tid, ba_policy, buf_size); in ___ieee80211_start_rx_ba_session()
331 if (test_bit(tid, sta->ampdu_mlme.agg_session_valid)) { in ___ieee80211_start_rx_ba_session()
332 if (sta->ampdu_mlme.tid_rx_token[tid] == dialog_token) { in ___ieee80211_start_rx_ba_session()
337 sta->sta.addr, tid); in ___ieee80211_start_rx_ba_session()
344 tid_rx = rcu_dereference(sta->ampdu_mlme.tid_rx[tid]); in ___ieee80211_start_rx_ba_session()
355 sta->sta.addr, tid); in ___ieee80211_start_rx_ba_session()
358 ___ieee80211_stop_rx_ba_session(sta, tid, WLAN_BACK_RECIPIENT, in ___ieee80211_start_rx_ba_session()
367 sta->sta.addr, tid, ret); in ___ieee80211_start_rx_ba_session()
405 sta->sta.addr, tid, ret); in ___ieee80211_start_rx_ba_session()
422 tid_agg_rx->tid = tid; in ___ieee80211_start_rx_ba_session()
427 rcu_assign_pointer(sta->ampdu_mlme.tid_rx[tid], tid_agg_rx); in ___ieee80211_start_rx_ba_session()
436 __set_bit(tid, sta->ampdu_mlme.agg_session_valid); in ___ieee80211_start_rx_ba_session()
437 __clear_bit(tid, sta->ampdu_mlme.unexpected_agg); in ___ieee80211_start_rx_ba_session()
438 sta->ampdu_mlme.tid_rx_token[tid] = dialog_token; in ___ieee80211_start_rx_ba_session()
442 ieee80211_send_addba_resp(sta, sta->sta.addr, tid, in ___ieee80211_start_rx_ba_session()
450 u16 tid, u16 buf_size, bool tx, in __ieee80211_start_rx_ba_session() argument
456 start_seq_num, ba_policy, tid, in __ieee80211_start_rx_ba_session()
466 u16 capab, tid, timeout, ba_policy, buf_size, start_seq_num; in ieee80211_process_addba_request() local
479 tid = (capab & IEEE80211_ADDBA_PARAM_TID_MASK) >> 2; in ieee80211_process_addba_request()
499 start_seq_num, ba_policy, tid, in ieee80211_process_addba_request()
507 const u8 *addr, unsigned int tid) in ieee80211_manage_rx_ba_offl() argument
518 set_bit(tid, sta->ampdu_mlme.tid_rx_manage_offl); in ieee80211_manage_rx_ba_offl()
526 const u8 *addr, unsigned int tid) in ieee80211_rx_ba_timer_expired() argument
537 set_bit(tid, sta->ampdu_mlme.tid_rx_timer_expired); in ieee80211_rx_ba_timer_expired()