浏览代码

qcacmn: Set wow_params explicitly for runtime PM

For runtime PM, set proper wow_params instead of using default.

Change-Id: Icc3d7b2333b485b7fe9ca6b0d30066cc5795d912
CRs-fixed: 2023358
Yue Ma 8 年之前
父节点
当前提交
34bbc8a212
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      pmo/core/src/wlan_pmo_suspend_resume.c

+ 3 - 0
pmo/core/src/wlan_pmo_suspend_resume.c

@@ -757,6 +757,9 @@ QDF_STATUS pmo_core_psoc_bus_runtime_suspend(struct wlan_objmgr_psoc *psoc,
 		goto dec_psoc_ref;
 	}
 
+	wow_params.interface_pause = PMO_WOW_INTERFACE_PAUSE_ENABLE;
+	wow_params.resume_trigger = PMO_WOW_RESUME_TRIGGER_GPIO;
+
 	if (hif_pre_runtime_suspend(hif_ctx))
 		goto runtime_failure;