qcacld-3.0: Enable DRV in unit test mode

Current code does not enable DRV in unit
test mode. Fix this by setting drv flag
when unit test mode is detected.

Change-Id: I0996860ca6549235aae59459a710f10279a181d5
CRs-Fixed: 3500370
This commit is contained in:
Mohammed Ahmed
2023-05-16 19:07:17 -07:00
committed by Rahul Choudhary
szülő 4788b35945
commit 151a000241

Fájl megtekintése

@@ -805,7 +805,10 @@ pmo_core_enable_wow_in_fw(struct wlan_objmgr_psoc *psoc,
htc_log_link_user_votes();
}
}
if (wow_params->is_unit_test) {
pmo_info("Unit test WoW, force DRV mode");
param.flags |= WMI_WOW_FLAG_ENABLE_DRV_PCIE_L1SS_SLEEP;
}
if (type == QDF_SYSTEM_SUSPEND) {
pmo_info("system suspend wow");
param.flags |= WMI_WOW_FLAG_SYSTEM_SUSPEND_WOW;