Lines Matching refs:sta
165 struct ieee80211_sta *sta, __le16 fc) in iwl_mvm_set_tx_cmd_rate() argument
190 if (ieee80211_is_data(fc) && sta) { in iwl_mvm_set_tx_cmd_rate()
210 &mvm->nvm_data->bands[info->band], sta); in iwl_mvm_set_tx_cmd_rate()
284 struct ieee80211_sta *sta, u8 sta_id) in iwl_mvm_set_tx_params() argument
305 iwl_mvm_set_tx_cmd_rate(mvm, tx_cmd, info, sta, hdr->frame_control); in iwl_mvm_set_tx_params()
389 struct ieee80211_sta *sta) in iwl_mvm_tx_skb() argument
402 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tx_skb()
411 dev_cmd = iwl_mvm_set_tx_params(mvm, skb, sta, mvmsta->sta_id); in iwl_mvm_tx_skb()
447 if (sta->tdls) { in iwl_mvm_tx_skb()
484 struct ieee80211_sta *sta, u8 tid) in iwl_mvm_check_ratid_empty() argument
486 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_check_ratid_empty()
500 ieee80211_sta_set_buffered(sta, tid, false); in iwl_mvm_check_ratid_empty()
512 ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); in iwl_mvm_check_ratid_empty()
528 ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); in iwl_mvm_check_ratid_empty()
628 struct ieee80211_sta *sta; in iwl_mvm_rx_tx_cmd_single() local
737 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_rx_tx_cmd_single()
742 if (WARN_ON_ONCE(!sta)) in iwl_mvm_rx_tx_cmd_single()
745 if (!IS_ERR(sta)) { in iwl_mvm_rx_tx_cmd_single()
746 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_tx_cmd_single()
756 iwl_mvm_check_ratid_empty(mvm, sta, tid); in iwl_mvm_rx_tx_cmd_single()
762 ieee80211_sta_eosp(sta); in iwl_mvm_rx_tx_cmd_single()
795 ieee80211_sta_block_awake(mvm->hw, sta, false); in iwl_mvm_rx_tx_cmd_single()
800 if (PTR_ERR(sta) == -EBUSY || PTR_ERR(sta) == -ENOENT) { in iwl_mvm_rx_tx_cmd_single()
870 struct ieee80211_sta *sta; in iwl_mvm_rx_tx_cmd_agg() local
882 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_rx_tx_cmd_agg()
884 if (!WARN_ON_ONCE(IS_ERR_OR_NULL(sta))) { in iwl_mvm_rx_tx_cmd_agg()
885 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_tx_cmd_agg()
934 struct ieee80211_sta *sta; in iwl_mvm_rx_ba_notif() local
954 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_id]); in iwl_mvm_rx_ba_notif()
957 if (WARN_ON_ONCE(IS_ERR_OR_NULL(sta))) { in iwl_mvm_rx_ba_notif()
962 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_ba_notif()
998 iwl_mvm_check_ratid_empty(mvm, sta, tid); in iwl_mvm_rx_ba_notif()
1047 iwl_mvm_rs_tx_status(mvm, sta, tid, &ba_info); in iwl_mvm_rx_ba_notif()