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
This commit is contained in:
Rajeev Kumar
2019-05-10 11:07:38 -07:00
committed by nshrivas
szülő bff967d646
commit 3dbd480835

Fájl megtekintése

@@ -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, &param);
if (status != QDF_STATUS_SUCCESS) {
pmo_err("Failed to enable wow in fw");