Lines Matching refs:mvmsta

444 	struct iwl_mvm_sta *mvmsta;  in iwl_mvm_tx_skb()  local
454 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_tx_skb()
458 if (WARN_ON_ONCE(!mvmsta)) in iwl_mvm_tx_skb()
461 if (WARN_ON_ONCE(mvmsta->sta_id == IWL_MVM_STATION_COUNT)) 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()
478 spin_lock(&mvmsta->lock); in iwl_mvm_tx_skb()
487 seq_number = mvmsta->tid_data[tid].seq_number; in iwl_mvm_tx_skb()
504 txq_id = mvmsta->hw_queue[tid_to_mac80211_ac[tdls_tid]]; in iwl_mvm_tx_skb()
508 if (WARN_ON_ONCE(mvmsta->tid_data[tid].state != IWL_AGG_ON)) in iwl_mvm_tx_skb()
510 txq_id = mvmsta->tid_data[tid].txq_id; in iwl_mvm_tx_skb()
513 IWL_DEBUG_TX(mvm, "TX to [%d|%d] Q:%d - seq: 0x%x\n", mvmsta->sta_id, in iwl_mvm_tx_skb()
520 mvmsta->tid_data[tid].seq_number = seq_number + 0x10; in iwl_mvm_tx_skb()
522 spin_unlock(&mvmsta->lock); in iwl_mvm_tx_skb()
525 atomic_inc(&mvm->pending_frames[mvmsta->sta_id]); in iwl_mvm_tx_skb()
531 spin_unlock(&mvmsta->lock); in iwl_mvm_tx_skb()
539 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_check_ratid_empty() local
540 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in iwl_mvm_check_ratid_empty()
541 struct ieee80211_vif *vif = mvmsta->vif; in iwl_mvm_check_ratid_empty()
543 lockdep_assert_held(&mvmsta->lock); in iwl_mvm_check_ratid_empty()
684 struct iwl_mvm_sta *mvmsta; in iwl_mvm_rx_tx_cmd_single() local
794 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_tx_cmd_single()
798 &mvmsta->tid_data[tid]; in iwl_mvm_rx_tx_cmd_single()
800 spin_lock_bh(&mvmsta->lock); in iwl_mvm_rx_tx_cmd_single()
805 spin_unlock_bh(&mvmsta->lock); in iwl_mvm_rx_tx_cmd_single()
808 if (mvmsta->next_status_eosp) { in iwl_mvm_rx_tx_cmd_single()
809 mvmsta->next_status_eosp = false; in iwl_mvm_rx_tx_cmd_single()
813 mvmsta = NULL; in iwl_mvm_rx_tx_cmd_single()
830 if (mvmsta && mvmsta->vif->type == NL80211_IFTYPE_AP) { in iwl_mvm_rx_tx_cmd_single()
840 spin_lock_bh(&mvmsta->lock); in iwl_mvm_rx_tx_cmd_single()
842 if (!mvmsta->disable_tx) in iwl_mvm_rx_tx_cmd_single()
845 spin_unlock_bh(&mvmsta->lock); in iwl_mvm_rx_tx_cmd_single()
933 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_tx_cmd_agg() local
934 mvmsta->tid_data[tid].rate_n_flags = in iwl_mvm_rx_tx_cmd_agg()
936 mvmsta->tid_data[tid].reduced_tpc = tx_resp->reduced_tpc; in iwl_mvm_rx_tx_cmd_agg()
937 mvmsta->tid_data[tid].tx_time = in iwl_mvm_rx_tx_cmd_agg()
979 struct iwl_mvm_sta *mvmsta; in iwl_mvm_rx_ba_notif() local
1006 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_ba_notif()
1007 tid_data = &mvmsta->tid_data[tid]; in iwl_mvm_rx_ba_notif()
1017 spin_lock_bh(&mvmsta->lock); in iwl_mvm_rx_ba_notif()
1070 spin_unlock_bh(&mvmsta->lock); in iwl_mvm_rx_ba_notif()
1080 if (mvmsta->vif) in iwl_mvm_rx_ba_notif()
1082 rcu_dereference(mvmsta->vif->chanctx_conf); in iwl_mvm_rx_ba_notif()