Lines Matching refs:sta
194 struct ieee80211_sta *sta, __le16 fc) in iwl_mvm_set_tx_cmd_rate() argument
219 if (ieee80211_is_data(fc) && sta) { in iwl_mvm_set_tx_cmd_rate()
239 &mvm->nvm_data->bands[info->band], sta); in iwl_mvm_set_tx_cmd_rate()
323 int hdrlen, struct ieee80211_sta *sta, u8 sta_id) in iwl_mvm_set_tx_params() argument
344 iwl_mvm_set_tx_cmd_rate(mvm, tx_cmd, info, sta, hdr->frame_control); in iwl_mvm_set_tx_params()
440 struct ieee80211_sta *sta) in iwl_mvm_tx_skb() argument
454 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tx_skb()
464 dev_cmd = iwl_mvm_set_tx_params(mvm, skb, hdrlen, sta, mvmsta->sta_id); in iwl_mvm_tx_skb()
500 if (sta->tdls) { in iwl_mvm_tx_skb()
537 struct ieee80211_sta *sta, u8 tid) in iwl_mvm_check_ratid_empty() argument
539 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_check_ratid_empty()
553 ieee80211_sta_set_buffered(sta, tid, false); in iwl_mvm_check_ratid_empty()
565 ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); in iwl_mvm_check_ratid_empty()
576 ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); in iwl_mvm_check_ratid_empty()
676 struct ieee80211_sta *sta; in iwl_mvm_rx_tx_cmd_single() local
785 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_rx_tx_cmd_single()
790 if (WARN_ON_ONCE(!sta)) in iwl_mvm_rx_tx_cmd_single()
793 if (!IS_ERR(sta)) { in iwl_mvm_rx_tx_cmd_single()
794 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_tx_cmd_single()
804 iwl_mvm_check_ratid_empty(mvm, sta, tid); in iwl_mvm_rx_tx_cmd_single()
810 ieee80211_sta_eosp(sta); in iwl_mvm_rx_tx_cmd_single()
843 ieee80211_sta_block_awake(mvm->hw, sta, false); in iwl_mvm_rx_tx_cmd_single()
848 if (PTR_ERR(sta) == -EBUSY || PTR_ERR(sta) == -ENOENT) { in iwl_mvm_rx_tx_cmd_single()
918 struct ieee80211_sta *sta; in iwl_mvm_rx_tx_cmd_agg() local
930 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_rx_tx_cmd_agg()
932 if (!WARN_ON_ONCE(IS_ERR_OR_NULL(sta))) { in iwl_mvm_rx_tx_cmd_agg()
933 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_tx_cmd_agg()
978 struct ieee80211_sta *sta; in iwl_mvm_rx_ba_notif() local
998 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_rx_ba_notif()
1001 if (WARN_ON_ONCE(IS_ERR_OR_NULL(sta))) { in iwl_mvm_rx_ba_notif()
1006 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_ba_notif()
1042 iwl_mvm_check_ratid_empty(mvm, sta, tid); in iwl_mvm_rx_ba_notif()
1091 iwl_mvm_rs_tx_status(mvm, sta, tid, &ba_info); in iwl_mvm_rx_ba_notif()