Lines Matching refs: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);
215 struct ieee80211_vif *vif)
219 switch (ieee80211_vif_type_p2p(vif)) {
225 if (vif->cfg.assoc)
235 struct ieee80211_vif *vif)
237 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
240 vif->cfg.ap_addr))
247 if (vif->p2p &&
248 (vif->bss_conf.p2p_noa_attr.oppps_ctwindow &
259 if (vif->p2p) {
278 static bool iwl_mvm_power_is_radar(struct ieee80211_vif *vif)
286 for_each_vif_active_link(vif, link_conf, link_id) {
304 struct ieee80211_vif *vif,
307 int dtimper = vif->bss_conf.dtim_period ?: 1;
314 if (iwl_mvm_power_is_radar(vif))
325 int dtimper_tu = dtimper * vif->bss_conf.beacon_int;
338 struct ieee80211_vif *vif,
344 iwl_mvm_vif_from_mac80211(vif);
348 dtimper = vif->bss_conf.dtim_period;
349 bi = vif->bss_conf.beacon_int;
367 if (!vif->cfg.ps || !mvmvif->pm_enabled)
370 if (iwl_mvm_vif_low_latency(mvmvif) && vif->p2p &&
378 if (vif->bss_conf.beacon_rate &&
379 (vif->bss_conf.beacon_rate->bitrate == 10 ||
380 vif->bss_conf.beacon_rate->bitrate == 60)) {
385 iwl_mvm_power_config_skip_dtim(mvm, vif, cmd);
392 } else if (iwl_mvm_vif_low_latency(mvmvif) && vif->p2p &&
406 if (iwl_mvm_power_allow_uapsd(mvm, vif))
407 iwl_mvm_power_configure_uapsd(mvm, vif, cmd);
456 struct ieee80211_vif *vif)
460 iwl_mvm_power_build_cmd(mvm, vif, &cmd);
463 memcpy(&iwl_mvm_vif_from_mac80211(vif)->mac_pwr_cmd, &cmd, sizeof(cmd));
504 void iwl_mvm_power_vif_assoc(struct iwl_mvm *mvm, struct ieee80211_vif *vif)
506 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
509 vif->cfg.ap_addr))
514 struct ieee80211_vif *vif)
517 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
522 for_each_vif_active_link(vif, link_conf, link_id) {
530 vif->cfg.ap_addr);
562 struct ieee80211_vif *vif)
564 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
570 struct ieee80211_vif *vif)
572 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
580 struct ieee80211_vif *vif)
582 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
591 switch (ieee80211_vif_type_p2p(vif)) {
599 power_iterator->ap_vif = vif;
607 power_iterator->monitor_vif = vif;
615 power_iterator->p2p_vif = vif;
621 power_iterator->bss_vif = vif;
705 struct ieee80211_vif *vif, char *buf,
708 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
779 iwl_mvm_beacon_filter_debugfs_parameters(struct ieee80211_vif *vif,
782 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
814 struct ieee80211_vif *vif,
817 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
820 if (mvmvif != mvm->bf_allowed_vif || !vif->bss_conf.dtim_period ||
821 vif->type != NL80211_IFTYPE_STATION || vif->p2p)
824 iwl_mvm_beacon_filter_set_cqm_params(mvm, vif, cmd);
825 iwl_mvm_beacon_filter_debugfs_parameters(vif, cmd);
835 struct ieee80211_vif *vif)
842 return _iwl_mvm_enable_beacon_filter(mvm, vif, &cmd);
846 struct ieee80211_vif *vif)
849 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
852 if (vif->type != NL80211_IFTYPE_STATION || vif->p2p)
864 struct ieee80211_vif *vif)
866 return _iwl_mvm_disable_beacon_filter(mvm, vif);
898 struct ieee80211_vif *vif)
900 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
914 !vif->cfg.ps ||
917 return _iwl_mvm_enable_beacon_filter(mvm, vif, &cmd);