qcacmn: Add support for Thermal Stats Events
Add support for extracting Thermal Stats Events from thermal event TLV for FW event WMI_THERM_THROT_STATS_EVENTID. Also, added support for FW Cmd to request for Thermal Stats: WMI_REQUEST_THERMAL_STATS_CMDID Change-Id: I2bc80d082bda45e2255371bcb0c31d35d9806525 CRs-Fixed: 3016845
This commit is contained in:

committed by
Madan Koyyalamudi

parent
bd02b05aa5
commit
b7ab2f5cd7
@@ -1897,7 +1897,10 @@ QDF_STATUS (*extract_mib_stats)(wmi_unified_t wmi_handle, void *evt_buf,
|
||||
#endif
|
||||
|
||||
QDF_STATUS (*extract_thermal_stats)(wmi_unified_t wmi_handle, void *evt_buf,
|
||||
uint32_t *temp, enum thermal_throttle_level *level, uint32_t *pdev_id);
|
||||
uint32_t *temp, enum thermal_throttle_level *level,
|
||||
uint32_t *therm_throt_levels,
|
||||
struct thermal_throt_level_stats *tt_temp_range_stats_event,
|
||||
uint32_t *pdev_id);
|
||||
|
||||
QDF_STATUS (*extract_thermal_level_stats)(wmi_unified_t wmi_handle,
|
||||
void *evt_buf, uint8_t idx, uint32_t *levelcount,
|
||||
@@ -2504,6 +2507,12 @@ QDF_STATUS (*send_set_mdns_config_cmd)(wmi_unified_t wmi_handle,
|
||||
struct mdns_config_info *mdns_info);
|
||||
#endif /* WLAN_FEATURE_MDNS_OFFLOAD */
|
||||
|
||||
#ifdef THERMAL_STATS_SUPPORT
|
||||
QDF_STATUS (*send_get_thermal_stats_cmd)(wmi_unified_t wmi_handle,
|
||||
enum thermal_stats_request_type req,
|
||||
uint8_t temp_offset);
|
||||
#endif /* THERMAL_STATS_SUPPORT */
|
||||
|
||||
QDF_STATUS (*send_pdev_get_pn_cmd)(wmi_unified_t wmi_handle,
|
||||
struct peer_request_pn_param *pn_params);
|
||||
QDF_STATUS (*extract_get_pn_data)(wmi_unified_t wmi_handle,
|
||||
|
Reference in New Issue
Block a user