Lines Matching refs:sta
144 struct sta_info *sta = link_sta->sta; in ieee80211_ht_cap_ie_to_sta_ht_cap() local
248 ieee80211_sta_recalc_aggregates(&sta->sta); in ieee80211_ht_cap_ie_to_sta_ht_cap()
287 if (sta->sdata->vif.type == NL80211_IFTYPE_AP || in ieee80211_ht_cap_ie_to_sta_ht_cap()
288 sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) { in ieee80211_ht_cap_ie_to_sta_ht_cap()
315 void ieee80211_sta_tear_down_BA_sessions(struct sta_info *sta, in ieee80211_sta_tear_down_BA_sessions() argument
320 lockdep_assert_wiphy(sta->local->hw.wiphy); in ieee80211_sta_tear_down_BA_sessions()
323 __ieee80211_stop_rx_ba_session(sta, i, WLAN_BACK_RECIPIENT, in ieee80211_sta_tear_down_BA_sessions()
329 __ieee80211_stop_tx_ba_session(sta, i, reason); in ieee80211_sta_tear_down_BA_sessions()
337 wiphy_work_cancel(sta->local->hw.wiphy, &sta->ampdu_mlme.work); in ieee80211_sta_tear_down_BA_sessions()
341 rcu_dereference_protected_tid_tx(sta, i); in ieee80211_sta_tear_down_BA_sessions()
347 ieee80211_stop_tx_ba_cb(sta, i, tid_tx); in ieee80211_sta_tear_down_BA_sessions()
354 struct sta_info *sta = in ieee80211_ba_session_work() local
360 lockdep_assert_wiphy(sta->local->hw.wiphy); in ieee80211_ba_session_work()
363 blocked = test_sta_flag(sta, WLAN_STA_BLOCK_BA); in ieee80211_ba_session_work()
366 if (test_and_clear_bit(tid, sta->ampdu_mlme.tid_rx_timer_expired)) in ieee80211_ba_session_work()
368 sta, tid, WLAN_BACK_RECIPIENT, in ieee80211_ba_session_work()
372 sta->ampdu_mlme.tid_rx_stop_requested)) in ieee80211_ba_session_work()
374 sta, tid, WLAN_BACK_RECIPIENT, in ieee80211_ba_session_work()
379 sta->ampdu_mlme.tid_rx_manage_offl)) in ieee80211_ba_session_work()
380 __ieee80211_start_rx_ba_session(sta, 0, 0, 0, 1, tid, in ieee80211_ba_session_work()
385 sta->ampdu_mlme.tid_rx_manage_offl)) in ieee80211_ba_session_work()
387 sta, tid, WLAN_BACK_RECIPIENT, in ieee80211_ba_session_work()
390 spin_lock_bh(&sta->lock); in ieee80211_ba_session_work()
392 tid_tx = sta->ampdu_mlme.tid_start_tx[tid]; in ieee80211_ba_session_work()
394 struct txq_info *txqi = to_txq_info(sta->sta.txq[tid]); in ieee80211_ba_session_work()
410 spin_unlock_bh(&sta->lock); in ieee80211_ba_session_work()
428 sta->ampdu_mlme.tid_start_tx[tid] = NULL; in ieee80211_ba_session_work()
430 if (sta->ampdu_mlme.tid_tx[tid]) in ieee80211_ba_session_work()
433 ieee80211_assign_tid_tx(sta, tid, tid_tx); in ieee80211_ba_session_work()
434 spin_unlock_bh(&sta->lock); in ieee80211_ba_session_work()
436 ieee80211_tx_ba_session_handle_start(sta, tid); in ieee80211_ba_session_work()
439 spin_unlock_bh(&sta->lock); in ieee80211_ba_session_work()
441 tid_tx = rcu_dereference_protected_tid_tx(sta, tid); in ieee80211_ba_session_work()
447 ieee80211_start_tx_ba_cb(sta, tid, tid_tx); in ieee80211_ba_session_work()
449 __ieee80211_stop_tx_ba_session(sta, tid, in ieee80211_ba_session_work()
452 ieee80211_stop_tx_ba_cb(sta, tid, tid_tx); in ieee80211_ba_session_work()
486 struct sta_info *sta, in ieee80211_process_delba() argument
502 __ieee80211_stop_rx_ba_session(sta, tid, WLAN_BACK_INITIATOR, 0, in ieee80211_process_delba()
505 __ieee80211_stop_tx_ba_session(sta, tid, AGG_STOP_PEER_REQUEST); in ieee80211_process_delba()