Lines Matching refs:tid
58 void ___ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid,
66 .tid = tid,
74 tid_rx = rcu_dereference_protected(sta->ampdu_mlme.tid_rx[tid],
77 if (!test_bit(tid, sta->ampdu_mlme.agg_session_valid))
80 RCU_INIT_POINTER(sta->ampdu_mlme.tid_rx[tid], NULL);
81 __clear_bit(tid, sta->ampdu_mlme.agg_session_valid);
84 "Rx BA session stop requested for %pM tid %u %s reason: %d\n",
85 sta->sta.addr, tid,
91 "HW problem - can not stop rx aggregation for %pM tid %d\n",
92 sta->sta.addr, tid);
97 tid, WLAN_BACK_RECIPIENT, reason);
117 void __ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid,
121 ___ieee80211_stop_rx_ba_session(sta, tid, initiator, reason, tx);
156 u8 tid = tid_rx->tid;
165 ht_dbg(sta->sdata, "RX session timer expired on %pM tid %d\n",
166 sta->sta.addr, tid);
168 set_bit(tid, sta->ampdu_mlme.tid_rx_timer_expired);
177 ieee80211_release_reorder_timeout(tid_rx->sta, tid_rx->tid);
215 static void ieee80211_send_addba_resp(struct sta_info *sta, u8 *da, u16 tid,
256 capab |= (u16)(tid << 2); /* bit 5:2 TID number */
271 u16 start_seq_num, u16 ba_policy, u16 tid,
280 .tid = tid,
289 if (tid >= IEEE80211_FIRST_TSPEC_TSID) {
291 "STA %pM requests BA session on unsupported tid %d\n",
292 sta->sta.addr, tid);
299 "STA %pM erroneously requests BA session on tid %d w/o QoS\n",
300 sta->sta.addr, tid);
307 "Suspend in progress - Denying ADDBA request (%pM tid %d)\n",
308 sta->sta.addr, tid);
326 "AddBA Req with bad params from %pM on tid %u. policy %d, buffer size %d\n",
327 sta->sta.addr, tid, ba_policy, buf_size);
345 if (test_bit(tid, sta->ampdu_mlme.agg_session_valid)) {
346 if (sta->ampdu_mlme.tid_rx_token[tid] == dialog_token) {
350 "updated AddBA Req from %pM on tid %u\n",
351 sta->sta.addr, tid);
358 tid_rx = rcu_dereference(sta->ampdu_mlme.tid_rx[tid]);
368 "unexpected AddBA Req from %pM on tid %u\n",
369 sta->sta.addr, tid);
371 /* delete existing Rx BA session on the same tid */
372 ___ieee80211_stop_rx_ba_session(sta, tid, WLAN_BACK_RECIPIENT,
380 "Rx A-MPDU request on %pM tid %d result %d\n",
381 sta->sta.addr, tid, ret);
418 ht_dbg(sta->sdata, "Rx A-MPDU request on %pM tid %d result %d\n",
419 sta->sta.addr, tid, ret);
436 tid_agg_rx->tid = tid;
441 rcu_assign_pointer(sta->ampdu_mlme.tid_rx[tid], tid_agg_rx);
450 __set_bit(tid, sta->ampdu_mlme.agg_session_valid);
451 __clear_bit(tid, sta->ampdu_mlme.unexpected_agg);
452 sta->ampdu_mlme.tid_rx_token[tid] = dialog_token;
456 ieee80211_send_addba_resp(sta, sta->sta.addr, tid,
464 u16 tid, u16 buf_size, bool tx,
470 start_seq_num, ba_policy, tid,
480 u16 capab, tid, timeout, ba_policy, buf_size, start_seq_num;
493 tid = (capab & IEEE80211_ADDBA_PARAM_TID_MASK) >> 2;
506 start_seq_num, ba_policy, tid,
512 const u8 *addr, unsigned int tid)
523 set_bit(tid, sta->ampdu_mlme.tid_rx_manage_offl);
531 const u8 *addr, unsigned int tid)
542 set_bit(tid, sta->ampdu_mlme.tid_rx_timer_expired);