From 9f7d35c75245da9977d9de42076a6cc8a194c7d2 Mon Sep 17 00:00:00 2001 From: Yue Ma Date: Mon, 13 May 2019 16:01:03 -0700 Subject: [PATCH] qcacld-3.0: Add comments for a PMO API Any new param_id added to target_if_pmo_send_vdev_update_param_req should be added to wmi_tag_vdev_set_cmd to be tagged for runtime PM feature so that it will not invoke runtime PM get which may result resume right after suspend (WOW_ENABLE). Change-Id: Ifa154b38ec91599023e30a37b7fcfef88f5f0491 CRs-fixed: 2451994 --- components/target_if/pmo/src/target_if_pmo_suspend_resume.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/components/target_if/pmo/src/target_if_pmo_suspend_resume.c b/components/target_if/pmo/src/target_if_pmo_suspend_resume.c index 87b2f0ca3006..e623e3ac0e4f 100644 --- a/components/target_if/pmo/src/target_if_pmo_suspend_resume.c +++ b/components/target_if/pmo/src/target_if_pmo_suspend_resume.c @@ -50,6 +50,11 @@ QDF_STATUS target_if_pmo_send_vdev_update_param_req( return QDF_STATUS_E_INVAL; } + /* Any new param_id added here please also add it to + * wmi_tag_vdev_set_cmd to be tagged for runtime PM feature + * so that it will not invoke runtime PM "get" which will + * result resume right after suspend (WOW_ENABLE). + */ switch (param_id) { case pmo_vdev_param_listen_interval: param_id = WMI_VDEV_PARAM_LISTEN_INTERVAL;