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()
2760 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in __iwl_mvm_mac_sta_notify() local
2772 spin_lock_bh(&mvmsta->lock); in __iwl_mvm_mac_sta_notify()
2773 for (tid = 0; tid < ARRAY_SIZE(mvmsta->tid_data); tid++) { in __iwl_mvm_mac_sta_notify()
2774 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in __iwl_mvm_mac_sta_notify()
2801 if (WARN_ON(mvmsta->sta_id == IWL_MVM_INVALID_STA)) in __iwl_mvm_mac_sta_notify()
2811 spin_unlock_bh(&mvmsta->lock); in __iwl_mvm_mac_sta_notify()
2827 struct iwl_mvm_sta *mvmsta; in iwl_mvm_sta_pm_notif() local
2840 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_sta_pm_notif()
2842 if (!mvmsta->vif || in iwl_mvm_sta_pm_notif()
2843 mvmsta->vif->type != NL80211_IFTYPE_AP) { in iwl_mvm_sta_pm_notif()
2848 if (mvmsta->sleeping != sleeping) { in iwl_mvm_sta_pm_notif()
2849 mvmsta->sleeping = sleeping; in iwl_mvm_sta_pm_notif()
3461 struct iwl_mvm_sta *mvmsta = NULL; in __iwl_mvm_mac_set_key() local
3468 mvmsta = iwl_mvm_sta_from_mac80211(sta); in __iwl_mvm_mac_set_key()
3565 mvmsta && iwl_mvm_has_new_rx_api(mvm) && in __iwl_mvm_mac_set_key()
3573 WARN_ON(rcu_access_pointer(mvmsta->ptk_pn[keyidx])); in __iwl_mvm_mac_set_key()
3590 rcu_assign_pointer(mvmsta->ptk_pn[keyidx], ptk_pn); in __iwl_mvm_mac_set_key()
3599 if (mvmsta && key->flags & IEEE80211_KEY_FLAG_PAIRWISE) in __iwl_mvm_mac_set_key()
3600 mvmsta->pairwise_cipher = key->cipher; in __iwl_mvm_mac_set_key()
3642 if (mvmsta && iwl_mvm_has_new_rx_api(mvm) && in __iwl_mvm_mac_set_key()
3648 mvmsta->ptk_pn[keyidx], in __iwl_mvm_mac_set_key()
3650 RCU_INIT_POINTER(mvmsta->ptk_pn[keyidx], NULL); in __iwl_mvm_mac_set_key()
4847 struct iwl_mvm_sta *mvmsta; in iwl_mvm_mac_flush() local
4873 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_mac_flush()
4874 if (mvmsta->vif != vif) in iwl_mvm_mac_flush()
4881 if (iwl_mvm_flush_sta(mvm, mvmsta, false)) in iwl_mvm_mac_flush()
4884 msk |= mvmsta->tfd_queue_msk; in iwl_mvm_mac_flush()
4886 iwl_mvm_wait_sta_queues_empty(mvm, mvmsta); in iwl_mvm_mac_flush()
5084 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_mac_sta_statistics() local
5086 if (mvmsta->avg_energy) { in iwl_mvm_mac_sta_statistics()
5087 sinfo->signal_avg = -(s8)mvmsta->avg_energy; in iwl_mvm_mac_sta_statistics()
5092 struct iwl_lq_sta_rs_fw *lq_sta = &mvmsta->lq_sta.rs_fw; in iwl_mvm_mac_sta_statistics()
5107 if (mvmvif->ap_sta_id != mvmsta->sta_id) in iwl_mvm_mac_sta_statistics()