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);
199 static void ieee80211_send_addba_resp(struct sta_info *sta, u8 *da, u16 tid,
240 capab |= u16_encode_bits(tid, IEEE80211_ADDBA_PARAM_TID_MASK);
255 u16 start_seq_num, u16 ba_policy, u16 tid,
264 .tid = tid,
273 if (tid >= IEEE80211_FIRST_TSPEC_TSID) {
275 "STA %pM requests BA session on unsupported tid %d\n",
276 sta->sta.addr, tid);
283 "STA %pM erroneously requests BA session on tid %d w/o HT\n",
284 sta->sta.addr, tid);
291 "Suspend in progress - Denying ADDBA request (%pM tid %d)\n",
292 sta->sta.addr, tid);
312 "AddBA Req with bad params from %pM on tid %u. policy %d, buffer size %d\n",
313 sta->sta.addr, tid, ba_policy, buf_size);
331 if (test_bit(tid, sta->ampdu_mlme.agg_session_valid)) {
332 if (sta->ampdu_mlme.tid_rx_token[tid] == dialog_token) {
336 "updated AddBA Req from %pM on tid %u\n",
337 sta->sta.addr, tid);
344 tid_rx = rcu_dereference(sta->ampdu_mlme.tid_rx[tid]);
354 "unexpected AddBA Req from %pM on tid %u\n",
355 sta->sta.addr, tid);
357 /* delete existing Rx BA session on the same tid */
358 ___ieee80211_stop_rx_ba_session(sta, tid, WLAN_BACK_RECIPIENT,
366 "Rx A-MPDU request on %pM tid %d result %d\n",
367 sta->sta.addr, tid, ret);
404 ht_dbg(sta->sdata, "Rx A-MPDU request on %pM tid %d result %d\n",
405 sta->sta.addr, tid, ret);
422 tid_agg_rx->tid = tid;
427 rcu_assign_pointer(sta->ampdu_mlme.tid_rx[tid], tid_agg_rx);
436 __set_bit(tid, sta->ampdu_mlme.agg_session_valid);
437 __clear_bit(tid, sta->ampdu_mlme.unexpected_agg);
438 sta->ampdu_mlme.tid_rx_token[tid] = dialog_token;
442 ieee80211_send_addba_resp(sta, sta->sta.addr, tid,
450 u16 tid, u16 buf_size, bool tx,
456 start_seq_num, ba_policy, tid,
466 u16 capab, tid, timeout, ba_policy, buf_size, start_seq_num;
479 tid = (capab & IEEE80211_ADDBA_PARAM_TID_MASK) >> 2;
499 start_seq_num, ba_policy, tid,
507 const u8 *addr, unsigned int tid)
518 set_bit(tid, sta->ampdu_mlme.tid_rx_manage_offl);
526 const u8 *addr, unsigned int tid)
537 set_bit(tid, sta->ampdu_mlme.tid_rx_timer_expired);