qcacmn: Add host definition for target thermal throttle level

Convert target thermal throttle level to host definition -
enum thermal_throttle_level.

Change-Id: I9914aaf56b781533565cd6a3f8b279ee67215c23
CRs-Fixed: 2786660
This commit is contained in:
Liangwei Dong
2020-09-25 12:13:19 +08:00
committed by snandini
parent 7fd4d073bc
commit bf189853b7
5 changed files with 69 additions and 8 deletions

View File

@@ -2227,7 +2227,8 @@ wmi_extract_chan_stats(wmi_unified_t wmi_handle, void *evt_buf,
}
QDF_STATUS wmi_extract_thermal_stats(wmi_unified_t wmi_handle, void *evt_buf,
uint32_t *temp, uint32_t *level,
uint32_t *temp,
enum thermal_throttle_level *level,
uint32_t *pdev_id)
{
if (wmi_handle->ops->extract_thermal_stats)