Lines Matching refs:mvmvif
214 struct iwl_mvm_vif *mvmvif;
245 mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif);
249 (!mvmvif->deflink.queue_params[IEEE80211_AC_VO].uapsd &&
250 !mvmvif->deflink.queue_params[IEEE80211_AC_VI].uapsd &&
251 !mvmvif->deflink.queue_params[IEEE80211_AC_BE].uapsd &&
252 !mvmvif->deflink.queue_params[IEEE80211_AC_BK].uapsd) ||
253 mvmsta->deflink.sta_id != mvmvif->deflink.ap_sta_id)
280 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(mvmsta->vif);
282 if (mvmvif->features & NETIF_F_RXCSUM &&
389 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
397 !mvmvif->authorized &&
430 struct iwl_mvm_vif *mvmvif =
433 if (mvmvif->csa_target_freq == rx_status->freq)
654 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
655 u16 vif_id = mvmvif->id;
661 mvmvif->deflink.beacon_stats.num_beacons =
663 mvmvif->deflink.beacon_stats.avg_signal =
666 if (mvmvif->id != id)
676 mvmvif->deflink.beacon_stats.accu_num_beacons +=
677 mvmvif->deflink.beacon_stats.num_beacons;
680 iwl_mvm_update_link_sig(vif, sig, &mvmvif->deflink, &vif->bss_conf);
689 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
690 u16 vif_id = mvmvif->id;
700 mvmvif->deflink.beacon_stats.num_beacons =
702 mvmvif->deflink.beacon_stats.avg_signal =
709 mvmvif->deflink.beacon_stats.accu_num_beacons +=
710 mvmvif->deflink.beacon_stats.num_beacons;
715 iwl_mvm_update_link_sig(vif, sig, &mvmvif->deflink, &vif->bss_conf);
889 struct iwl_mvm_vif *mvmvif;
903 if (link_id >= ARRAY_SIZE(mvmvif->link))
906 mvmvif = iwl_mvm_vif_from_mac80211(bss_conf->vif);
907 link_info = mvmvif->link[link_id];
931 mvmvif->link[link_id]->beacon_stats.accu_num_beacons +=
932 mvmvif->link[link_id]->beacon_stats.num_beacons;
938 if (WARN_ONCE(mvmvif->id >= MAC_INDEX_AUX,
939 "invalid mvmvif id: %d", mvmvif->id))
942 air_time[mvmvif->id] +=
944 rx_bytes[mvmvif->id] +=
973 struct iwl_mvm_vif *mvmvif;
985 mvmvif = iwl_mvm_vif_from_mac80211(bss_vif);
987 if (!mvmvif->esr_active || !mvmvif->ap_sta)
990 mvmsta = iwl_mvm_sta_from_mac80211(mvmvif->ap_sta);
998 if (WARN_ON(!mvmvif->link[sec_link]))
1000 sec_link = mvmvif->link[sec_link]->fw_link_id;