Lines Matching refs:mvmvif

117 	struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);  in iwl_mvm_beacon_filter_set_cqm_params()  local
126 cmd->ba_enable_beacon_abort = cpu_to_le32(mvmvif->bf_data.ba_enabled); in iwl_mvm_beacon_filter_set_cqm_params()
170 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_power_configure_uapsd() local
175 if (!mvmvif->queue_params[ac].uapsd) in iwl_mvm_power_configure_uapsd()
185 if (!tid_found && !mvmvif->queue_params[ac].acm) { in iwl_mvm_power_configure_uapsd()
207 if (mvmvif->dbgfs_pm.use_ps_poll) in iwl_mvm_power_configure_uapsd()
262 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_power_allow_uapsd() local
264 if (!memcmp(mvmvif->uapsd_misbehaving_bssid, vif->bss_conf.bssid, in iwl_mvm_power_allow_uapsd()
336 struct iwl_mvm_vif *mvmvif __maybe_unused = in iwl_mvm_power_build_cmd()
339 cmd->id_and_color = cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, in iwl_mvm_power_build_cmd()
340 mvmvif->color)); in iwl_mvm_power_build_cmd()
360 if (!vif->bss_conf.ps || iwl_mvm_vif_low_latency(mvmvif) || in iwl_mvm_power_build_cmd()
361 !mvmvif->pm_enabled) in iwl_mvm_power_build_cmd()
403 if (mvmvif->dbgfs_pm.mask & MVM_DEBUGFS_PM_KEEP_ALIVE) in iwl_mvm_power_build_cmd()
405 cpu_to_le16(mvmvif->dbgfs_pm.keep_alive_seconds); in iwl_mvm_power_build_cmd()
406 if (mvmvif->dbgfs_pm.mask & MVM_DEBUGFS_PM_SKIP_OVER_DTIM) { in iwl_mvm_power_build_cmd()
407 if (mvmvif->dbgfs_pm.skip_over_dtim) in iwl_mvm_power_build_cmd()
414 if (mvmvif->dbgfs_pm.mask & MVM_DEBUGFS_PM_RX_DATA_TIMEOUT) in iwl_mvm_power_build_cmd()
416 cpu_to_le32(mvmvif->dbgfs_pm.rx_data_timeout); in iwl_mvm_power_build_cmd()
417 if (mvmvif->dbgfs_pm.mask & MVM_DEBUGFS_PM_TX_DATA_TIMEOUT) in iwl_mvm_power_build_cmd()
419 cpu_to_le32(mvmvif->dbgfs_pm.tx_data_timeout); in iwl_mvm_power_build_cmd()
420 if (mvmvif->dbgfs_pm.mask & MVM_DEBUGFS_PM_SKIP_DTIM_PERIODS) in iwl_mvm_power_build_cmd()
421 cmd->skip_dtim_periods = mvmvif->dbgfs_pm.skip_dtim_periods; in iwl_mvm_power_build_cmd()
422 if (mvmvif->dbgfs_pm.mask & MVM_DEBUGFS_PM_LPRX_ENA) { in iwl_mvm_power_build_cmd()
423 if (mvmvif->dbgfs_pm.lprx_ena) in iwl_mvm_power_build_cmd()
428 if (mvmvif->dbgfs_pm.mask & MVM_DEBUGFS_PM_LPRX_RSSI_THRESHOLD) in iwl_mvm_power_build_cmd()
429 cmd->lprx_rssi_threshold = mvmvif->dbgfs_pm.lprx_rssi_threshold; in iwl_mvm_power_build_cmd()
430 if (mvmvif->dbgfs_pm.mask & MVM_DEBUGFS_PM_SNOOZE_ENABLE) { in iwl_mvm_power_build_cmd()
431 if (mvmvif->dbgfs_pm.snooze_ena) in iwl_mvm_power_build_cmd()
438 if (mvmvif->dbgfs_pm.mask & MVM_DEBUGFS_PM_UAPSD_MISBEHAVING) { in iwl_mvm_power_build_cmd()
440 if (mvmvif->dbgfs_pm.uapsd_misbehaving) in iwl_mvm_power_build_cmd()
491 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_power_vif_assoc() local
493 if (memcmp(vif->bss_conf.bssid, mvmvif->uapsd_misbehaving_bssid, in iwl_mvm_power_vif_assoc()
495 eth_zero_addr(mvmvif->uapsd_misbehaving_bssid); in iwl_mvm_power_vif_assoc()
502 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_power_uapsd_misbehav_ap_iterator() local
507 if (mvmvif->ap_sta_id == *ap_sta_id) in iwl_mvm_power_uapsd_misbehav_ap_iterator()
508 memcpy(mvmvif->uapsd_misbehaving_bssid, vif->bss_conf.bssid, in iwl_mvm_power_uapsd_misbehav_ap_iterator()
543 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_power_disable_pm_iterator() local
545 mvmvif->pm_enabled = false; in iwl_mvm_power_disable_pm_iterator()
551 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_power_ps_disabled_iterator() local
554 if (mvmvif->phy_ctxt) in iwl_mvm_power_ps_disabled_iterator()
555 if (mvmvif->phy_ctxt->id < MAX_PHYS) in iwl_mvm_power_ps_disabled_iterator()
556 *disable_ps |= mvmvif->ps_disabled; in iwl_mvm_power_ps_disabled_iterator()
562 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_power_get_vifs_iterator() local
574 if (mvmvif->phy_ctxt) in iwl_mvm_power_get_vifs_iterator()
575 if (mvmvif->phy_ctxt->id < MAX_PHYS) in iwl_mvm_power_get_vifs_iterator()
583 if (mvmvif->phy_ctxt) in iwl_mvm_power_get_vifs_iterator()
584 if (mvmvif->phy_ctxt->id < MAX_PHYS) in iwl_mvm_power_get_vifs_iterator()
592 if (mvmvif->phy_ctxt) in iwl_mvm_power_get_vifs_iterator()
593 if (mvmvif->phy_ctxt->id < MAX_PHYS) in iwl_mvm_power_get_vifs_iterator()
601 if (mvmvif->phy_ctxt) in iwl_mvm_power_get_vifs_iterator()
602 if (mvmvif->phy_ctxt->id < MAX_PHYS) in iwl_mvm_power_get_vifs_iterator()
605 if (mvmvif->bf_data.bf_enabled && in iwl_mvm_power_get_vifs_iterator()
695 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_power_mac_dbgfs_read() local
700 memcpy(&cmd, &mvmvif->mac_pwr_cmd, sizeof(cmd)); in iwl_mvm_power_mac_dbgfs_read()
769 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_beacon_filter_debugfs_parameters() local
770 struct iwl_dbgfs_bf *dbgfs_bf = &mvmvif->dbgfs_bf; in iwl_mvm_beacon_filter_debugfs_parameters()
806 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in _iwl_mvm_enable_beacon_filter() local
809 if (mvmvif != mvm->bf_allowed_vif || !vif->bss_conf.dtim_period || in _iwl_mvm_enable_beacon_filter()
820 mvmvif->bf_data.bf_enabled = true; in _iwl_mvm_enable_beacon_filter()
841 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_update_beacon_abort() local
847 if (!mvmvif->bf_data.bf_enabled) in iwl_mvm_update_beacon_abort()
853 mvmvif->bf_data.ba_enabled = enable; in iwl_mvm_update_beacon_abort()
862 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_disable_beacon_filter() local
871 mvmvif->bf_data.bf_enabled = false; in iwl_mvm_disable_beacon_filter()
907 struct iwl_mvm_vif *mvmvif; in iwl_mvm_power_set_ba() local
913 mvmvif = iwl_mvm_vif_from_mac80211(vifs->bf_vif); in iwl_mvm_power_set_ba()
915 ba_enable = !(!mvmvif->pm_enabled || mvm->ps_disabled || in iwl_mvm_power_set_ba()
917 iwl_mvm_vif_low_latency(mvmvif)); in iwl_mvm_power_set_ba()
983 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_update_d0i3_power_mode() local
1013 memcpy(&mvmvif->mac_pwr_cmd, &cmd, sizeof(cmd)); in iwl_mvm_update_d0i3_power_mode()
1021 if (mvmvif != mvm->bf_allowed_vif) in iwl_mvm_update_d0i3_power_mode()
1032 if (mvmvif->bf_data.bf_enabled) in iwl_mvm_update_d0i3_power_mode()