Lines Matching full:vif
70 struct ieee80211_vif *vif,
73 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
75 if (vif->bss_conf.cqm_rssi_thold) {
77 cpu_to_le32(vif->bss_conf.cqm_rssi_hyst);
80 cpu_to_le32(-vif->bss_conf.cqm_rssi_thold);
123 struct ieee80211_vif *vif,
126 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
220 struct ieee80211_vif *vif)
223 struct iwl_mvm_vif *other_mvmvif = iwl_mvm_vif_from_mac80211(vif);
227 /* exclude the given vif */
228 if (vif == data->current_vif)
231 switch (vif->type) {
241 if (vif->cfg.assoc && other_mvmvif->deflink.phy_ctxt &&
253 struct ieee80211_vif *vif)
255 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
257 .current_vif = vif,
262 vif->cfg.ap_addr))
269 if (vif->p2p &&
270 (vif->bss_conf.p2p_noa_attr.oppps_ctwindow &
274 if (vif->p2p && !iwl_mvm_is_p2p_scm_uapsd_supported(mvm))
299 struct ieee80211_vif *vif,
319 for_each_vif_active_link(vif, link_conf, link_id) {
347 struct ieee80211_vif *vif,
353 iwl_mvm_vif_from_mac80211(vif);
357 dtimper = vif->bss_conf.dtim_period;
358 bi = vif->bss_conf.beacon_int;
376 if (!vif->cfg.ps || !mvmvif->pm_enabled)
379 if (iwl_mvm_vif_low_latency(mvmvif) && vif->p2p &&
387 if (vif->bss_conf.beacon_rate &&
388 (vif->bss_conf.beacon_rate->bitrate == 10 ||
389 vif->bss_conf.beacon_rate->bitrate == 60)) {
394 iwl_mvm_power_config_skip_dtim(mvm, vif, cmd);
401 } else if (iwl_mvm_vif_low_latency(mvmvif) && vif->p2p &&
415 if (iwl_mvm_power_allow_uapsd(mvm, vif))
416 iwl_mvm_power_configure_uapsd(mvm, vif, cmd);
465 struct ieee80211_vif *vif)
469 iwl_mvm_power_build_cmd(mvm, vif, &cmd);
472 memcpy(&iwl_mvm_vif_from_mac80211(vif)->mac_pwr_cmd, &cmd, sizeof(cmd));
513 void iwl_mvm_power_vif_assoc(struct iwl_mvm *mvm, struct ieee80211_vif *vif)
515 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
518 vif->cfg.ap_addr))
523 struct ieee80211_vif *vif)
526 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
531 for_each_vif_active_link(vif, link_conf, link_id) {
539 vif->cfg.ap_addr);
571 struct ieee80211_vif *vif)
573 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
579 struct ieee80211_vif *vif)
581 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
589 struct ieee80211_vif *vif)
591 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
600 switch (ieee80211_vif_type_p2p(vif)) {
608 power_iterator->ap_vif = vif;
616 power_iterator->monitor_vif = vif;
624 power_iterator->p2p_vif = vif;
630 power_iterator->bss_vif = vif;
714 struct ieee80211_vif *vif, char *buf,
717 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
788 iwl_mvm_beacon_filter_debugfs_parameters(struct ieee80211_vif *vif,
791 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
823 struct ieee80211_vif *vif,
826 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
829 if (mvmvif != mvm->bf_allowed_vif || !vif->bss_conf.dtim_period ||
830 vif->type != NL80211_IFTYPE_STATION || vif->p2p)
833 iwl_mvm_beacon_filter_set_cqm_params(mvm, vif, cmd);
834 iwl_mvm_beacon_filter_debugfs_parameters(vif, cmd);
844 struct ieee80211_vif *vif)
851 return _iwl_mvm_enable_beacon_filter(mvm, vif, &cmd);
855 struct ieee80211_vif *vif)
858 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
861 if (vif->type != NL80211_IFTYPE_STATION || vif->p2p)
873 struct ieee80211_vif *vif)
875 return _iwl_mvm_disable_beacon_filter(mvm, vif);
907 struct ieee80211_vif *vif)
909 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
923 !vif->cfg.ps ||
926 return _iwl_mvm_enable_beacon_filter(mvm, vif, &cmd);