fw-api: CL 11700319 - update fw common interface files

Change-Id: I35ce797112da11597861a3b3e801de88763afe0b
WMI: add WMI_THERMAL_THROT_LEVEL def
CRs-Fixed: 2262693
This commit is contained in:
spuligil
2020-09-24 06:01:41 -07:00
parent eb285e2b5a
commit 34125e5e95
2 changed files with 12 additions and 3 deletions

View File

@@ -26381,13 +26381,23 @@ typedef struct {
*/
} wmi_therm_throt_config_request_fixed_param;
typedef enum {
/* no throttling */
WMI_THERMAL_FULLPERF = 0,
/* throttling tx to do thermal mitigation */
WMI_THERMAL_MITIGATION = 1,
/* shut down the tx completely */
WMI_THERMAL_SHUTOFF = 2,
} WMI_THERMAL_THROT_LEVEL;
/** FW response with the stats event id for every pdev and zones */
typedef struct {
/* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_therm_throt_stats_event_fixed_param */
A_UINT32 tlv_header;
A_UINT32 pdev_id; /* stats for corresponding pdev*/
A_UINT32 temp; /* Temperature reading in celsius */
A_UINT32 level; /* current thermal throttling level */
A_UINT32 level; /* Current thermal throttling level -
* contains a WMI_THERMAL_THROT_LEVEL value. */
A_UINT32 therm_throt_levels; /* number of levels in therm_throt_level_stats_info */
/* This TLV is followed by another TLV of array of structs
* wmi_therm_throt_level_stats_info therm_throt_level_stats_info[therm_throt_levels];
@@ -26395,7 +26405,6 @@ typedef struct {
} wmi_therm_throt_stats_event_fixed_param;
typedef struct {
/** TLV tag and len; tag equals
* WMITLV_TAG_STRUC_wmi_therm_throt_level_stats_info */