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