瀏覽代碼

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
Yue Ma 5 年之前
父節點
當前提交
ac7c8d1c44
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      wmi/src/wmi_unified_tlv.c

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