From 532a74b6c01b09d2957439a7aa083aef9cb00d4c Mon Sep 17 00:00:00 2001 From: spuligil Date: Mon, 6 Nov 2017 09:01:39 -0800 Subject: [PATCH] fw-api: CL 3685421 - update fw common interface files Add WMI_SERVCE_THERM_THROT flag definition Change-Id: I8c3bb2a092adca5700831cc5a102b31fa0594a45 CRs-Fixed: 1107600 --- fw/wmi_services.h | 16 +++++++++++++++- fw/wmi_version.h | 2 +- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/fw/wmi_services.h b/fw/wmi_services.h index 2a82aa0e810d..473c4b168d88 100644 --- a/fw/wmi_services.h +++ b/fw/wmi_services.h @@ -85,7 +85,13 @@ typedef enum { WMI_SERVICE_BATCH_SCAN=44, /* Service to support batch scan */ WMI_SERVICE_QPOWER=45, /* QPower service */ WMI_SERVICE_PLMREQ=46, - WMI_SERVICE_THERMAL_MGMT=47, /* thermal throttling support */ + WMI_SERVICE_THERMAL_MGMT=47, /* thermal throttling support, + * compared with + * WMI_SERVICE_THERM_THROT, + * this service only reports + * current temperature to host, + * and host will do the thermal + * throttling. */ WMI_SERVICE_RMC=48, /* RMC support */ WMI_SERVICE_MHF_OFFLOAD=49, /* multi-hop forwarding offload */ WMI_SERVICE_COEX_SAR=50, /* target support SAR tx limit from WMI_PDEV_PARAM_TXPOWER_LIMITxG */ @@ -219,6 +225,14 @@ typedef enum { WMI_SERVICE_PKTLOG_SUPPORT_OVER_HTT=137, /* upload pktlog data over HTT communication channel */ WMI_SERVICE_VDEV_MULTI_GROUP_KEY_SUPPORT=138, /* Support for vdev level multi group key */ WMI_SERVICE_SCAN_PHYMODE_SUPPORT=139, /* Support for phymode also with channel in offchan WMI_START_SCAN_CMDID */ + WMI_SERVICE_THERM_THROT = 140, /* Support thermal cfg and indication on AP. + * Compared with WMI_SERVICE_THERMAL_MGMT, + * this service is to allow thermal tool to + * configure thermal throttling threshold + * for different levels and pass down duty + * cycle value. FW will also report thermal + * throttling status to host through this + * service. */ /******* ADD NEW SERVICES HERE *******/ diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 7265fa48e40d..e0d9e96adf28 100644 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -36,7 +36,7 @@ #define __WMI_VER_MINOR_ 0 /** WMI revision number has to be incremented when there is a * change that may or may not break compatibility. */ -#define __WMI_REVISION_ 461 +#define __WMI_REVISION_ 462 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work