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 6f536620c2
commit c569cdb9f5
3 changed files with 141 additions and 3 deletions

View File

@@ -5989,17 +5989,18 @@ QDF_STATUS wmi_extract_chan_stats(void *wmi_hdl, void *evt_buf,
* @param evt_buf: Pointer to event buffer
* @param temp: Pointer to hold extracted temperature
* @param level: Pointer to hold extracted level
* @param pdev_id: Pointer to hold extracted pdev_id
*
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
*/
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)
{
wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
if (wmi_handle->ops->extract_thermal_stats)
return wmi_handle->ops->extract_thermal_stats(wmi_handle,
evt_buf, temp, level);
evt_buf, temp, level, pdev_id);
return QDF_STATUS_E_FAILURE;
}