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:

committed by
snandini

parent
4a56b4613d
commit
2f54fbb7da
@@ -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);
|
uint32_t index, wmi_host_chan_stats *chan_stats);
|
||||||
|
|
||||||
QDF_STATUS wmi_extract_thermal_stats(void *wmi_hdl, void *evt_buf,
|
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,
|
QDF_STATUS wmi_extract_thermal_level_stats(void *wmi_hdl, void *evt_buf,
|
||||||
uint8_t idx, uint32_t *levelcount, uint32_t *dccount);
|
uint8_t idx, uint32_t *levelcount, uint32_t *dccount);
|
||||||
|
@@ -3478,6 +3478,7 @@ typedef struct {
|
|||||||
* @tt_level_config: TT level config params
|
* @tt_level_config: TT level config params
|
||||||
*/
|
*/
|
||||||
struct thermal_mitigation_params {
|
struct thermal_mitigation_params {
|
||||||
|
uint32_t pdev_id;
|
||||||
uint32_t enable;
|
uint32_t enable;
|
||||||
uint32_t dc;
|
uint32_t dc;
|
||||||
uint32_t dc_per_event;
|
uint32_t dc_per_event;
|
||||||
|
@@ -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);
|
uint32_t index, wmi_host_chan_stats *chan_stats);
|
||||||
|
|
||||||
QDF_STATUS (*extract_thermal_stats)(wmi_unified_t wmi_handle, void *evt_buf,
|
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,
|
QDF_STATUS (*extract_thermal_level_stats)(wmi_unified_t wmi_handle,
|
||||||
void *evt_buf, uint8_t idx, uint32_t *levelcount,
|
void *evt_buf, uint8_t idx, uint32_t *levelcount,
|
||||||
|
Reference in New Issue
Block a user