From 3dbd48083581e2c3cd2cdd9a7dcf3728245bf542 Mon Sep 17 00:00:00 2001 From: Rajeev Kumar Date: Fri, 10 May 2019 11:07:38 -0700 Subject: [PATCH] qcacld-3.0: Add change to support DRV during wow mode Add changes to support DRV feature during wow mode. Change-Id: I588dfc5fa1bc419a288f346664c4028ef2d2011b CRs-Fixed: 2456148 --- pmo/core/src/wlan_pmo_suspend_resume.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pmo/core/src/wlan_pmo_suspend_resume.c b/pmo/core/src/wlan_pmo_suspend_resume.c index b2b5fde106..7f03c36d98 100644 --- a/pmo/core/src/wlan_pmo_suspend_resume.c +++ b/pmo/core/src/wlan_pmo_suspend_resume.c @@ -745,6 +745,13 @@ pmo_core_enable_wow_in_fw(struct wlan_objmgr_psoc *psoc, psoc_ctx->wow.wow_state = pmo_wow_state_unified_d0; } + if (qdf_is_drv_connected()) { + pmo_info("drv wow is enabled"); + param.flags |= WMI_WOW_FLAG_ENABLE_DRV_PCIE_L1SS_SLEEP; + } else { + pmo_info("non-drv wow is enabled"); + } + status = pmo_tgt_psoc_send_wow_enable_req(psoc, ¶m); if (status != QDF_STATUS_SUCCESS) { pmo_err("Failed to enable wow in fw");