Lines Matching refs:mvmsta

393 	struct iwl_mvm_sta *mvmsta;  in iwl_mvm_tx_skb()  local
402 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tx_skb()
405 if (WARN_ON_ONCE(!mvmsta)) in iwl_mvm_tx_skb()
408 if (WARN_ON_ONCE(mvmsta->sta_id == IWL_MVM_STATION_COUNT)) in iwl_mvm_tx_skb()
411 dev_cmd = iwl_mvm_set_tx_params(mvm, skb, sta, mvmsta->sta_id); in iwl_mvm_tx_skb()
425 spin_lock(&mvmsta->lock); in iwl_mvm_tx_skb()
434 seq_number = mvmsta->tid_data[tid].seq_number; in iwl_mvm_tx_skb()
451 txq_id = mvmsta->hw_queue[tid_to_mac80211_ac[tdls_tid]]; in iwl_mvm_tx_skb()
455 if (WARN_ON_ONCE(mvmsta->tid_data[tid].state != IWL_AGG_ON)) in iwl_mvm_tx_skb()
457 txq_id = mvmsta->tid_data[tid].txq_id; in iwl_mvm_tx_skb()
460 IWL_DEBUG_TX(mvm, "TX to [%d|%d] Q:%d - seq: 0x%x\n", mvmsta->sta_id, in iwl_mvm_tx_skb()
467 mvmsta->tid_data[tid].seq_number = seq_number + 0x10; in iwl_mvm_tx_skb()
469 spin_unlock(&mvmsta->lock); in iwl_mvm_tx_skb()
472 atomic_inc(&mvm->pending_frames[mvmsta->sta_id]); in iwl_mvm_tx_skb()
478 spin_unlock(&mvmsta->lock); in iwl_mvm_tx_skb()
486 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_check_ratid_empty() local
487 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in iwl_mvm_check_ratid_empty()
488 struct ieee80211_vif *vif = mvmsta->vif; in iwl_mvm_check_ratid_empty()
490 lockdep_assert_held(&mvmsta->lock); in iwl_mvm_check_ratid_empty()
636 struct iwl_mvm_sta *mvmsta; in iwl_mvm_rx_tx_cmd_single() local
746 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_tx_cmd_single()
750 &mvmsta->tid_data[tid]; in iwl_mvm_rx_tx_cmd_single()
752 spin_lock_bh(&mvmsta->lock); in iwl_mvm_rx_tx_cmd_single()
757 spin_unlock_bh(&mvmsta->lock); in iwl_mvm_rx_tx_cmd_single()
760 if (mvmsta->next_status_eosp) { in iwl_mvm_rx_tx_cmd_single()
761 mvmsta->next_status_eosp = false; in iwl_mvm_rx_tx_cmd_single()
765 mvmsta = NULL; in iwl_mvm_rx_tx_cmd_single()
782 if (mvmsta && mvmsta->vif->type == NL80211_IFTYPE_AP) { in iwl_mvm_rx_tx_cmd_single()
792 spin_lock_bh(&mvmsta->lock); in iwl_mvm_rx_tx_cmd_single()
794 if (!mvmsta->disable_tx) in iwl_mvm_rx_tx_cmd_single()
797 spin_unlock_bh(&mvmsta->lock); in iwl_mvm_rx_tx_cmd_single()
885 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_tx_cmd_agg() local
886 mvmsta->tid_data[tid].rate_n_flags = in iwl_mvm_rx_tx_cmd_agg()
888 mvmsta->tid_data[tid].reduced_tpc = tx_resp->reduced_tpc; in iwl_mvm_rx_tx_cmd_agg()
889 mvmsta->tid_data[tid].tx_time = in iwl_mvm_rx_tx_cmd_agg()
935 struct iwl_mvm_sta *mvmsta; in iwl_mvm_rx_ba_notif() local
962 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_ba_notif()
963 tid_data = &mvmsta->tid_data[tid]; in iwl_mvm_rx_ba_notif()
973 spin_lock_bh(&mvmsta->lock); in iwl_mvm_rx_ba_notif()
1026 spin_unlock_bh(&mvmsta->lock); in iwl_mvm_rx_ba_notif()
1036 if (mvmsta->vif) in iwl_mvm_rx_ba_notif()
1038 rcu_dereference(mvmsta->vif->chanctx_conf); in iwl_mvm_rx_ba_notif()