qcacmn: Add thermal mitigation support for moselle

For older targets thermal mitigation is supported for the apps.
In moselle there is a new processor wpps on which firmware runs,
this commit adds the support for the thermal client wpps.

Change-Id: Ia212cd08c000ab11d4079cc701634dd919447ae9
CRs-Fixed: 2757932
This commit is contained in:
Arun Kumar Khandavalli
2020-08-11 17:46:16 +05:30
committed by snandini
parent 321ed86cde
commit 49ea182ae3
2 changed files with 24 additions and 1 deletions

View File

@@ -2893,6 +2893,8 @@ typedef struct {
* @dc: DC
* @dc_per_event: DC per event
* @num_thermal_conf: Number of thermal configurations to be sent
* @client_id: Thermal client id either apps or wpps
* @priority: Priority of apps/wpps
* @tt_level_config: TT level config params
*/
struct thermal_mitigation_params {
@@ -2901,6 +2903,8 @@ struct thermal_mitigation_params {
uint32_t dc;
uint32_t dc_per_event;
uint8_t num_thermal_conf;
uint8_t client_id;
uint8_t priority;
tt_level_config levelconf[THERMAL_LEVELS];
};
@@ -5221,6 +5225,7 @@ typedef enum {
wmi_service_cfr_ta_ra_as_fp_support,
wmi_service_cfr_capture_count_support,
wmi_service_ll_stats_per_chan_rx_tx_time,
wmi_service_thermal_multi_client_support,
wmi_services_max,
} wmi_conv_service_ids;
#define WMI_SERVICE_UNAVAILABLE 0xFFFF