Lines Matching refs:mvmvif

74 	struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);  in iwl_mvm_beacon_filter_set_cqm_params()  local
83 cmd->ba_enable_beacon_abort = cpu_to_le32(mvmvif->bf_data.ba_enabled); in iwl_mvm_beacon_filter_set_cqm_params()
127 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_power_configure_uapsd() local
146 if (mvmvif->dbgfs_pm.use_ps_poll) { in iwl_mvm_power_configure_uapsd()
153 if (!mvmvif->queue_params[ac].uapsd) in iwl_mvm_power_configure_uapsd()
163 if (!tid_found && !mvmvif->queue_params[ac].acm) { in iwl_mvm_power_configure_uapsd()
238 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_power_allow_uapsd() local
240 if (!memcmp(mvmvif->uapsd_misbehaving_bssid, vif->bss_conf.bssid, in iwl_mvm_power_allow_uapsd()
338 struct iwl_mvm_vif *mvmvif __maybe_unused = in iwl_mvm_power_build_cmd()
341 cmd->id_and_color = cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, in iwl_mvm_power_build_cmd()
342 mvmvif->color)); in iwl_mvm_power_build_cmd()
362 if (!vif->bss_conf.ps || !mvmvif->pm_enabled) in iwl_mvm_power_build_cmd()
365 if (iwl_mvm_vif_low_latency(mvmvif) && vif->p2p && in iwl_mvm_power_build_cmd()
387 } else if (iwl_mvm_vif_low_latency(mvmvif) && vif->p2p && in iwl_mvm_power_build_cmd()
405 if (mvmvif->dbgfs_pm.mask & MVM_DEBUGFS_PM_KEEP_ALIVE) in iwl_mvm_power_build_cmd()
407 cpu_to_le16(mvmvif->dbgfs_pm.keep_alive_seconds); in iwl_mvm_power_build_cmd()
408 if (mvmvif->dbgfs_pm.mask & MVM_DEBUGFS_PM_SKIP_OVER_DTIM) { in iwl_mvm_power_build_cmd()
409 if (mvmvif->dbgfs_pm.skip_over_dtim) in iwl_mvm_power_build_cmd()
416 if (mvmvif->dbgfs_pm.mask & MVM_DEBUGFS_PM_RX_DATA_TIMEOUT) in iwl_mvm_power_build_cmd()
418 cpu_to_le32(mvmvif->dbgfs_pm.rx_data_timeout); in iwl_mvm_power_build_cmd()
419 if (mvmvif->dbgfs_pm.mask & MVM_DEBUGFS_PM_TX_DATA_TIMEOUT) in iwl_mvm_power_build_cmd()
421 cpu_to_le32(mvmvif->dbgfs_pm.tx_data_timeout); in iwl_mvm_power_build_cmd()
422 if (mvmvif->dbgfs_pm.mask & MVM_DEBUGFS_PM_SKIP_DTIM_PERIODS) in iwl_mvm_power_build_cmd()
423 cmd->skip_dtim_periods = mvmvif->dbgfs_pm.skip_dtim_periods; in iwl_mvm_power_build_cmd()
424 if (mvmvif->dbgfs_pm.mask & MVM_DEBUGFS_PM_LPRX_ENA) { in iwl_mvm_power_build_cmd()
425 if (mvmvif->dbgfs_pm.lprx_ena) in iwl_mvm_power_build_cmd()
430 if (mvmvif->dbgfs_pm.mask & MVM_DEBUGFS_PM_LPRX_RSSI_THRESHOLD) in iwl_mvm_power_build_cmd()
431 cmd->lprx_rssi_threshold = mvmvif->dbgfs_pm.lprx_rssi_threshold; in iwl_mvm_power_build_cmd()
432 if (mvmvif->dbgfs_pm.mask & MVM_DEBUGFS_PM_SNOOZE_ENABLE) { in iwl_mvm_power_build_cmd()
433 if (mvmvif->dbgfs_pm.snooze_ena) in iwl_mvm_power_build_cmd()
440 if (mvmvif->dbgfs_pm.mask & MVM_DEBUGFS_PM_UAPSD_MISBEHAVING) { in iwl_mvm_power_build_cmd()
442 if (mvmvif->dbgfs_pm.uapsd_misbehaving) in iwl_mvm_power_build_cmd()
496 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_power_vif_assoc() local
498 if (memcmp(vif->bss_conf.bssid, mvmvif->uapsd_misbehaving_bssid, in iwl_mvm_power_vif_assoc()
500 eth_zero_addr(mvmvif->uapsd_misbehaving_bssid); in iwl_mvm_power_vif_assoc()
507 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_power_uapsd_misbehav_ap_iterator() local
512 if (mvmvif->ap_sta_id == *ap_sta_id) in iwl_mvm_power_uapsd_misbehav_ap_iterator()
513 memcpy(mvmvif->uapsd_misbehaving_bssid, vif->bss_conf.bssid, in iwl_mvm_power_uapsd_misbehav_ap_iterator()
544 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_power_disable_pm_iterator() local
546 mvmvif->pm_enabled = false; in iwl_mvm_power_disable_pm_iterator()
552 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_power_ps_disabled_iterator() local
555 if (mvmvif->phy_ctxt && mvmvif->phy_ctxt->id < NUM_PHY_CTX) 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
564 bool active = mvmvif->phy_ctxt && mvmvif->phy_ctxt->id < NUM_PHY_CTX; in iwl_mvm_power_get_vifs_iterator()
566 if (!mvmvif->uploaded) in iwl_mvm_power_get_vifs_iterator()
683 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_power_mac_dbgfs_read() local
688 memcpy(&cmd, &mvmvif->mac_pwr_cmd, sizeof(cmd)); in iwl_mvm_power_mac_dbgfs_read()
757 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_beacon_filter_debugfs_parameters() local
758 struct iwl_dbgfs_bf *dbgfs_bf = &mvmvif->dbgfs_bf; in iwl_mvm_beacon_filter_debugfs_parameters()
793 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in _iwl_mvm_enable_beacon_filter() local
796 if (mvmvif != mvm->bf_allowed_vif || !vif->bss_conf.dtim_period || in _iwl_mvm_enable_beacon_filter()
805 mvmvif->bf_data.bf_enabled = true; in _iwl_mvm_enable_beacon_filter()
827 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in _iwl_mvm_disable_beacon_filter() local
836 mvmvif->bf_data.bf_enabled = false; in _iwl_mvm_disable_beacon_filter()
879 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_power_set_ba() local
885 if (!mvmvif->bf_data.bf_enabled) in iwl_mvm_power_set_ba()
891 mvmvif->bf_data.ba_enabled = !(!mvmvif->pm_enabled || in iwl_mvm_power_set_ba()
894 iwl_mvm_vif_low_latency(mvmvif)); in iwl_mvm_power_set_ba()