From ac7c8d1c448cf8de158fe9a7d2cb30235ea11190 Mon Sep 17 00:00:00 2001 From: Yue Ma Date: Mon, 13 May 2019 12:00:05 -0700 Subject: [PATCH] qcacmn: Tag power related WMI commands for runtime PM Power related WMI commands need to be tagged for runtime PM so that they will not invoke runtime PM "get" and can be sent to firmware without causing a resume right after suspend (WOW_ENABLE WMI command). Change-Id: If9476ade9adff898847916fcf6bbd05e9c58f5a8 CRs-fixed: 2451973 --- wmi/src/wmi_unified_tlv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index b971b0fdf9d8..392ef4bd2e92 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -9957,6 +9957,8 @@ static uint16_t wmi_tag_vdev_set_cmd(wmi_unified_t wmi_hdl, wmi_buf_t buf) switch (set_cmd->param_id) { case WMI_VDEV_PARAM_LISTEN_INTERVAL: case WMI_VDEV_PARAM_DTIM_POLICY: + case WMI_STA_PS_PARAM_INACTIVITY_TIME: + case WMI_STA_PS_PARAM_MAX_RESET_ITO_COUNT_ON_TIM_NO_TXRX: return HTC_TX_PACKET_TAG_AUTO_PM; default: break;