Explorar o código

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
Yue Ma %!s(int64=5) %!d(string=hai) anos
pai
achega
9f7d35c752

+ 5 - 0
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;