qcacmn: Add TLV support for thermal throttling

1. Add multi radio support for thermal throttling
2. Add TLV WMI support for thermal throttling

Change-Id: I2cdbf9a4acdd9346c0fe3dd24c510885cc8fef8e
CRs-Fixed: 2041264
This commit is contained in:
Om Prakash Tripathi
2017-04-19 16:57:31 +05:30
committed by snandini
parent 4a56b4613d
commit 2f54fbb7da
3 changed files with 3 additions and 2 deletions

View File

@@ -1318,7 +1318,7 @@ QDF_STATUS wmi_extract_chan_stats(void *wmi_hdl, void *evt_buf,
uint32_t index, wmi_host_chan_stats *chan_stats);
QDF_STATUS wmi_extract_thermal_stats(void *wmi_hdl, void *evt_buf,
uint32_t *temp, uint32_t *level);
uint32_t *temp, uint32_t *level, uint32_t *pdev_id);
QDF_STATUS wmi_extract_thermal_level_stats(void *wmi_hdl, void *evt_buf,
uint8_t idx, uint32_t *levelcount, uint32_t *dccount);

View File

@@ -3478,6 +3478,7 @@ typedef struct {
* @tt_level_config: TT level config params
*/
struct thermal_mitigation_params {
uint32_t pdev_id;
uint32_t enable;
uint32_t dc;
uint32_t dc_per_event;

View File

@@ -1186,7 +1186,7 @@ QDF_STATUS (*extract_chan_stats)(wmi_unified_t wmi_handle, void *evt_buf,
uint32_t index, wmi_host_chan_stats *chan_stats);
QDF_STATUS (*extract_thermal_stats)(wmi_unified_t wmi_handle, void *evt_buf,
uint32_t *temp, uint32_t *level);
uint32_t *temp, uint32_t *level, uint32_t *pdev_id);
QDF_STATUS (*extract_thermal_level_stats)(wmi_unified_t wmi_handle,
void *evt_buf, uint8_t idx, uint32_t *levelcount,