mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
fw-api: CL 11237513 - update fw common interface files
Change-Id: I11045dee7e74726d88049a9f5c264bcbfe3ef19c WMI: add priority and client_id fields to therm_throttle_config_req msg CRs-Fixed: 2262693
This commit is contained in:
parent
148fcfc2a7
commit
ca7ee8baa6
3 changed files with 14 additions and 1 deletions
|
|
@ -476,6 +476,7 @@ typedef enum {
|
|||
WMI_SERVICE_CFR_CAPTURE_COUNT_SUPPORT = 256, /* indicates FW support to program CFR capture mode and capture count */
|
||||
WMI_SERVICE_OCV_SUPPORT = 257, /* FW supports OCV (Operating Channel Validation) */
|
||||
WMI_SERVICE_LL_STATS_PER_CHAN_RX_TX_TIME_SUPPORT = 258, /* Indicates firmware support sending per channel own tx & rx time in radio stats of LL stats. */
|
||||
WMI_SERVICE_THERMAL_MULTI_CLIENT_SUPPORT = 259, /* Indicates FW Thermal Mgr will support multiple clients for mitigation */
|
||||
|
||||
|
||||
WMI_MAX_EXT2_SERVICE
|
||||
|
|
|
|||
|
|
@ -26082,6 +26082,16 @@ typedef struct {
|
|||
A_UINT32 prio;
|
||||
} wmi_therm_throt_level_config_info;
|
||||
|
||||
typedef enum {
|
||||
WMI_THERMAL_CLIENT_UNSPECIFIED = 0,
|
||||
WMI_THERMAL_CLIENT_APPS = 1,
|
||||
WMI_THERMAL_CLIENT_WPSS = 2,
|
||||
WMI_THERMAL_CLIENT_FW = 3,
|
||||
WMI_THERMAL_CLIENT_MAX
|
||||
} WMI_THERMAL_MITIGATION_CLIENTS;
|
||||
|
||||
#define WMI_THERMAL_CLIENT_MAX_PRIORITY 10
|
||||
|
||||
typedef struct {
|
||||
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_therm_throt_config_request_fixed_param */
|
||||
A_UINT32 pdev_id; /* config for each pdev */
|
||||
|
|
@ -26089,6 +26099,8 @@ typedef struct {
|
|||
A_UINT32 dc; /* duty cycle in ms */
|
||||
A_UINT32 dc_per_event; /* how often (after how many duty cycles) the FW sends stats to host */
|
||||
A_UINT32 therm_throt_levels; /* Indicates the number of thermal zone configuration */
|
||||
A_UINT32 client_id; /* Indicates the client from whom the request is being forwarded to FW. Refer to WMI_THERMAL_MITIGATION_CLIENTS. */
|
||||
A_UINT32 priority; /* Indicates the priority, higher the value, higher the priority. Varies from 1 to WMI_THERMAL_CLIENT_MAX_PRIORITY. */
|
||||
/*
|
||||
* Following this structure is the TLV:
|
||||
* struct wmi_therm_throt_level_config_info therm_throt_level_config_info[therm_throt_levels];
|
||||
|
|
|
|||
|
|
@ -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_ 876
|
||||
#define __WMI_REVISION_ 877
|
||||
|
||||
/** The Version Namespace should not be normally changed. Only
|
||||
* host and firmware of the same WMI namespace will work
|
||||
|
|
|
|||
Loading…
Reference in a new issue