Lines Matching refs:sta

17 #include "sta.h"
250 struct ieee80211_sta *sta, __le16 fc)
256 if (sta && ieee80211_is_data(fc)) {
257 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
299 struct ieee80211_sta *sta,
354 result |= iwl_mvm_get_tx_ant(mvm, info, sta, fc);
361 struct ieee80211_sta *sta, __le16 fc)
375 sta ? iwl_mvm_sta_from_mac80211(sta)->sta_state : -1);
395 struct ieee80211_sta *sta, __le16 fc)
398 return iwl_mvm_get_inject_tx_rate(mvm, info, sta, fc);
400 return iwl_mvm_get_tx_rate(mvm, info, sta, fc) |
401 iwl_mvm_get_tx_ant(mvm, info, sta, fc);
409 struct ieee80211_sta *sta, __le16 fc)
430 if (likely(ieee80211_is_data(fc) && sta &&
432 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
446 cpu_to_le32(iwl_mvm_get_tx_rate_n_flags(mvm, info, sta, fc));
564 struct ieee80211_sta *sta, u8 sta_id,
581 struct iwl_mvm_sta *mvmsta = sta ?
582 iwl_mvm_sta_from_mac80211(sta) : NULL;
598 * when no sta is given, or with older firmware.
603 iwl_mvm_get_tx_rate_n_flags(mvm, info, sta,
653 iwl_mvm_set_tx_cmd_rate(mvm, tx_cmd, info, sta, hdr->frame_control);
876 struct ieee80211_sta *sta, unsigned int tid)
878 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
886 if (sta->deflink.he_cap.has_he && !WARN_ON(!iwl_mvm_has_new_tx_api(mvm)))
899 if (hweight16(sta->valid_links) <= 1) {
900 if (sta->valid_links) {
902 unsigned int link = ffs(sta->valid_links) - 1;
1007 struct ieee80211_sta *sta,
1010 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
1053 min_t(unsigned int, sta->cur->max_amsdu_len,
1054 iwl_mvm_max_amsdu_size(mvm, sta, tid));
1062 !sta->deflink.vht_cap.vht_supported)
1075 if (sta->max_amsdu_subframes &&
1076 num_subframes > sta->max_amsdu_subframes)
1077 num_subframes = sta->max_amsdu_subframes;
1111 struct ieee80211_sta *sta,
1185 struct ieee80211_sta *sta,
1198 mvmsta = iwl_mvm_sta_from_mac80211(sta);
1211 if (unlikely(ieee80211_is_any_nullfunc(fc)) && sta->deflink.he_cap.has_he)
1218 sta, mvmsta->deflink.sta_id,
1336 struct ieee80211_sta *sta)
1338 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
1356 return iwl_mvm_tx_mpdu(mvm, skb, &info, sta, NULL);
1362 return iwl_mvm_tx_mpdu(mvm, skb, &info, sta, NULL);
1370 ret = iwl_mvm_tx_tso(mvm, skb, &info, sta, &mpdus_skbs);
1377 * As described in IEEE sta 802.11-2020, table 9-30 (Address
1407 ret = iwl_mvm_tx_mpdu(mvm, skb, &info, sta,
1428 struct ieee80211_sta *sta, u8 tid)
1430 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
1445 ieee80211_sta_set_buffered(sta, tid, false);
1465 ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid);
1473 ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid);
1686 struct ieee80211_sta *sta;
1843 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]);
1845 * sta can't be NULL otherwise it'd mean that the sta has been freed in
1848 if (WARN_ON_ONCE(!sta))
1851 if (!IS_ERR(sta)) {
1852 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
1861 if (sta->wme && tid != IWL_MGMT_TID) {
1879 iwl_mvm_check_ratid_empty(mvm, sta, tid);
1904 iwl_mvm_sta_modify_sleep_tx_count(mvm, sta,
1908 ieee80211_send_eosp_nullfunc(sta, tid);
1914 ieee80211_sta_eosp(sta);
1987 struct ieee80211_sta *sta;
1999 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]);
2000 if (WARN_ON_ONCE(IS_ERR_OR_NULL(sta) || !sta->wme)) {
2037 struct ieee80211_sta *sta;
2049 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]);
2052 if (WARN_ON_ONCE(!sta)) {
2087 * sta-dependent stuff since it's in the middle of being removed
2090 if (IS_ERR(sta))
2093 mvmsta = iwl_mvm_sta_from_mac80211(sta);
2108 iwl_mvm_check_ratid_empty(mvm, sta, tid);
2161 iwl_mvm_rs_tx_status(mvm, sta, tid, tx_info, false);
2228 * sta-dependent stuff since it's in the middle of being removed
2351 IWL_DEBUG_TX_QUEUES(mvm, "flush for sta id %d tid mask 0x%x\n",