Lines Matching refs:mvmsta

819 		struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);  in iwl_mvm_ampdu_check_trigger()  local
820 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in iwl_mvm_ampdu_check_trigger()
1266 struct iwl_mvm_sta *mvmsta; in iwl_mvm_post_channel_switch() local
1269 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, in iwl_mvm_post_channel_switch()
1272 if (WARN_ON(!mvmsta)) { in iwl_mvm_post_channel_switch()
1277 iwl_mvm_sta_modify_disable_tx(mvm, mvmsta, false); in iwl_mvm_post_channel_switch()
2732 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in __iwl_mvm_mac_sta_notify() local
2744 spin_lock_bh(&mvmsta->lock); in __iwl_mvm_mac_sta_notify()
2745 for (tid = 0; tid < ARRAY_SIZE(mvmsta->tid_data); tid++) { in __iwl_mvm_mac_sta_notify()
2746 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in __iwl_mvm_mac_sta_notify()
2773 if (WARN_ON(mvmsta->sta_id == IWL_MVM_INVALID_STA)) in __iwl_mvm_mac_sta_notify()
2783 spin_unlock_bh(&mvmsta->lock); in __iwl_mvm_mac_sta_notify()
2799 struct iwl_mvm_sta *mvmsta; in iwl_mvm_sta_pm_notif() local
2812 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_pm_notif()
2814 if (!mvmsta->vif || in iwl_mvm_sta_pm_notif()
2815 mvmsta->vif->type != NL80211_IFTYPE_AP) { in iwl_mvm_sta_pm_notif()
2820 if (mvmsta->sleeping != sleeping) { in iwl_mvm_sta_pm_notif()
2821 mvmsta->sleeping = sleeping; in iwl_mvm_sta_pm_notif()
3432 struct iwl_mvm_sta *mvmsta = NULL; in __iwl_mvm_mac_set_key() local
3439 mvmsta = iwl_mvm_sta_from_mac80211(sta); in __iwl_mvm_mac_set_key()
3536 mvmsta && iwl_mvm_has_new_rx_api(mvm) && in __iwl_mvm_mac_set_key()
3544 WARN_ON(rcu_access_pointer(mvmsta->ptk_pn[keyidx])); in __iwl_mvm_mac_set_key()
3561 rcu_assign_pointer(mvmsta->ptk_pn[keyidx], ptk_pn); in __iwl_mvm_mac_set_key()
3570 if (mvmsta && key->flags & IEEE80211_KEY_FLAG_PAIRWISE) in __iwl_mvm_mac_set_key()
3571 mvmsta->pairwise_cipher = key->cipher; in __iwl_mvm_mac_set_key()
3613 if (mvmsta && iwl_mvm_has_new_rx_api(mvm) && in __iwl_mvm_mac_set_key()
3619 mvmsta->ptk_pn[keyidx], in __iwl_mvm_mac_set_key()
3621 RCU_INIT_POINTER(mvmsta->ptk_pn[keyidx], NULL); in __iwl_mvm_mac_set_key()
4816 struct iwl_mvm_sta *mvmsta; in iwl_mvm_mac_flush() local
4842 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_mac_flush()
4843 if (mvmsta->vif != vif) in iwl_mvm_mac_flush()
4850 if (iwl_mvm_flush_sta(mvm, mvmsta, false)) in iwl_mvm_mac_flush()
4853 msk |= mvmsta->tfd_queue_msk; in iwl_mvm_mac_flush()
4855 iwl_mvm_wait_sta_queues_empty(mvm, mvmsta); in iwl_mvm_mac_flush()
5054 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_mac_sta_statistics() local
5056 if (mvmsta->avg_energy) { in iwl_mvm_mac_sta_statistics()
5057 sinfo->signal_avg = -(s8)mvmsta->avg_energy; in iwl_mvm_mac_sta_statistics()
5062 struct iwl_lq_sta_rs_fw *lq_sta = &mvmsta->lq_sta.rs_fw; in iwl_mvm_mac_sta_statistics()
5077 if (mvmvif->ap_sta_id != mvmsta->sta_id) in iwl_mvm_mac_sta_statistics()