Lines Matching refs:mvmvif
209 struct iwl_mvm_vif *mvmvif; in iwl_mvm_rx_handle_tcm() local
236 mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_handle_tcm()
240 (!mvmvif->queue_params[IEEE80211_AC_VO].uapsd && in iwl_mvm_rx_handle_tcm()
241 !mvmvif->queue_params[IEEE80211_AC_VI].uapsd && in iwl_mvm_rx_handle_tcm()
242 !mvmvif->queue_params[IEEE80211_AC_BE].uapsd && in iwl_mvm_rx_handle_tcm()
243 !mvmvif->queue_params[IEEE80211_AC_BK].uapsd) || in iwl_mvm_rx_handle_tcm()
244 mvmsta->sta_id != mvmvif->ap_sta_id) in iwl_mvm_rx_handle_tcm()
272 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif); in iwl_mvm_rx_csum() local
274 if (mvmvif->features & NETIF_F_RXCSUM && in iwl_mvm_rx_csum()
381 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_rx_rx_mpdu() local
388 !mvmvif->authorized && in iwl_mvm_rx_rx_mpdu()
421 struct iwl_mvm_vif *mvmvif = in iwl_mvm_rx_rx_mpdu() local
424 if (mvmvif->csa_target_freq == rx_status->freq) in iwl_mvm_rx_rx_mpdu()
558 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_update_vif_sig() local
559 struct iwl_mvm *mvm = mvmvif->mvm; in iwl_mvm_update_vif_sig()
569 mvmvif->bf_data.ave_beacon_signal = sig; in iwl_mvm_update_vif_sig()
572 if (mvmvif->bf_data.bt_coex_min_thold != in iwl_mvm_update_vif_sig()
573 mvmvif->bf_data.bt_coex_max_thold) { in iwl_mvm_update_vif_sig()
574 last_event = mvmvif->bf_data.last_bt_coex_event; in iwl_mvm_update_vif_sig()
575 if (sig > mvmvif->bf_data.bt_coex_max_thold && in iwl_mvm_update_vif_sig()
576 (last_event <= mvmvif->bf_data.bt_coex_min_thold || in iwl_mvm_update_vif_sig()
578 mvmvif->bf_data.last_bt_coex_event = sig; in iwl_mvm_update_vif_sig()
582 } else if (sig < mvmvif->bf_data.bt_coex_min_thold && in iwl_mvm_update_vif_sig()
583 (last_event >= mvmvif->bf_data.bt_coex_max_thold || in iwl_mvm_update_vif_sig()
585 mvmvif->bf_data.last_bt_coex_event = sig; in iwl_mvm_update_vif_sig()
596 last_event = mvmvif->bf_data.last_cqm_event; in iwl_mvm_update_vif_sig()
599 mvmvif->bf_data.last_cqm_event = sig; in iwl_mvm_update_vif_sig()
609 mvmvif->bf_data.last_cqm_event = sig; in iwl_mvm_update_vif_sig()
626 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_stat_iterator() local
627 u16 vif_id = mvmvif->id; in iwl_mvm_stat_iterator()
633 mvmvif->beacon_stats.num_beacons = in iwl_mvm_stat_iterator()
635 mvmvif->beacon_stats.avg_signal = in iwl_mvm_stat_iterator()
638 if (mvmvif->id != id) in iwl_mvm_stat_iterator()
648 mvmvif->beacon_stats.accu_num_beacons += in iwl_mvm_stat_iterator()
649 mvmvif->beacon_stats.num_beacons; in iwl_mvm_stat_iterator()
660 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_stat_iterator_all_macs() local
661 u16 vif_id = mvmvif->id; in iwl_mvm_stat_iterator_all_macs()
671 mvmvif->beacon_stats.num_beacons = in iwl_mvm_stat_iterator_all_macs()
673 mvmvif->beacon_stats.avg_signal = in iwl_mvm_stat_iterator_all_macs()
680 mvmvif->beacon_stats.accu_num_beacons += in iwl_mvm_stat_iterator_all_macs()
681 mvmvif->beacon_stats.num_beacons; in iwl_mvm_stat_iterator_all_macs()