Lines Matching refs:mvmsta

205 	struct iwl_mvm_sta *mvmsta;  in iwl_mvm_rx_handle_tcm()  local
223 mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_handle_tcm()
224 mac = mvmsta->mac_id_n_color & FW_CTXT_ID_MSK; in iwl_mvm_rx_handle_tcm()
240 mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_handle_tcm()
248 mvmsta->deflink.sta_id != mvmvif->deflink.ap_sta_id) in iwl_mvm_rx_handle_tcm()
274 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_csum() local
275 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_csum()
382 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_rx_mpdu() local
383 struct ieee80211_vif *vif = mvmsta->vif; in iwl_mvm_rx_rx_mpdu()
414 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_rx_rx_mpdu() local
418 struct ieee80211_vif *vif = mvmsta->vif; in iwl_mvm_rx_rx_mpdu()
433 rs_update_last_rssi(mvm, mvmsta, rx_status); in iwl_mvm_rx_rx_mpdu()
737 struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); in iwl_mvm_stats_energy_iter() local
739 u32 sta_id = mvmsta->deflink.sta_id; in iwl_mvm_stats_energy_iter()
746 mvmsta->deflink.avg_energy = energy[sta_id]; in iwl_mvm_stats_energy_iter()
961 struct iwl_mvm_sta *mvmsta; in iwl_mvm_update_esr_mode_tpt() local
977 mvmsta = iwl_mvm_sta_from_mac80211(mvmvif->ap_sta); in iwl_mvm_update_esr_mode_tpt()
979 if (!mvmsta->mpdu_counters) in iwl_mvm_update_esr_mode_tpt()
991 spin_lock_bh(&mvmsta->mpdu_counters[q].lock); in iwl_mvm_update_esr_mode_tpt()
995 total_tx += mvmsta->mpdu_counters[q].per_link[link].tx; in iwl_mvm_update_esr_mode_tpt()
996 total_rx += mvmsta->mpdu_counters[q].per_link[link].rx; in iwl_mvm_update_esr_mode_tpt()
999 sec_link_tx += mvmsta->mpdu_counters[q].per_link[sec_link].tx; in iwl_mvm_update_esr_mode_tpt()
1000 sec_link_rx += mvmsta->mpdu_counters[q].per_link[sec_link].rx; in iwl_mvm_update_esr_mode_tpt()
1006 memset(mvmsta->mpdu_counters[q].per_link, 0, in iwl_mvm_update_esr_mode_tpt()
1007 sizeof(mvmsta->mpdu_counters[q].per_link)); in iwl_mvm_update_esr_mode_tpt()
1009 spin_unlock_bh(&mvmsta->mpdu_counters[q].lock); in iwl_mvm_update_esr_mode_tpt()