Lines Matching refs:mvmsta

922 		struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);  in iwl_mvm_ampdu_check_trigger()  local
923 struct iwl_mvm_tid_data *tid_data = &mvmsta->tid_data[tid]; in iwl_mvm_ampdu_check_trigger()
1320 struct iwl_mvm_sta *mvmsta; in iwl_mvm_post_channel_switch() local
1323 mvmsta = iwl_mvm_sta_from_staid_protected(mvm, in iwl_mvm_post_channel_switch()
1326 if (WARN_ON(!mvmsta)) { in iwl_mvm_post_channel_switch()
1333 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()
3322 struct iwl_mvm_sta *mvmsta; in __iwl_mvm_mac_set_key() local
3434 mvmsta = iwl_mvm_sta_from_mac80211(sta); in __iwl_mvm_mac_set_key()
3435 WARN_ON(rcu_access_pointer(mvmsta->ptk_pn[keyidx])); in __iwl_mvm_mac_set_key()
3452 rcu_assign_pointer(mvmsta->ptk_pn[keyidx], ptk_pn); in __iwl_mvm_mac_set_key()
3502 mvmsta = iwl_mvm_sta_from_mac80211(sta); in __iwl_mvm_mac_set_key()
3504 mvmsta->ptk_pn[keyidx], in __iwl_mvm_mac_set_key()
3506 RCU_INIT_POINTER(mvmsta->ptk_pn[keyidx], NULL); in __iwl_mvm_mac_set_key()
4638 struct iwl_mvm_sta *mvmsta; in iwl_mvm_mac_flush() local
4664 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_mac_flush()
4665 if (mvmsta->vif != vif) in iwl_mvm_mac_flush()
4672 if (iwl_mvm_flush_sta(mvm, mvmsta, false, 0)) in iwl_mvm_mac_flush()
4675 msk |= mvmsta->tfd_queue_msk; in iwl_mvm_mac_flush()
4677 iwl_mvm_wait_sta_queues_empty(mvm, mvmsta); in iwl_mvm_mac_flush()
4747 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_mac_sta_statistics() local
4749 if (mvmsta->avg_energy) { in iwl_mvm_mac_sta_statistics()
4750 sinfo->signal_avg = mvmsta->avg_energy; in iwl_mvm_mac_sta_statistics()
4763 if (mvmvif->ap_sta_id != mvmsta->sta_id) in iwl_mvm_mac_sta_statistics()