Add support for sending WMI_REQUEST_THERMAL_STATS_CMDID to request for the thermal stats via vendor cmd: QCA_WLAN_VENDOR_ATTR_THERMAL_CMD_TYPE_GET_THERMAL_STATS This vendor cmd can either be used to clear the thermal stats or to request for the thermal stats. Added ini gThermalStatsTempOffset, which can configure thermal temperature offset value for capturing thermal stats in thermal range such as Thermal STATS starts capturing from temperature threshold to temperature threshold + offset. If this ini is set to 0, then the events are disabled. Also, add support for the FW event where the requested thermal stats are sent in FW event WMI_THERM_THROT_STATS_EVENTID(). The following attributes are sent in the events for every level: STATS_MIN_TEMPERATURE STATS_MAX_TEMPERATURE STATS_DWELL_TIME STATS_TEMP_LEVEL_COUNTER Change-Id: If8acdeec5bde33be346332ccaf39d78d0151203d CRs-Fixed: 3016818 |
||
---|---|---|
.. | ||
inc | ||
src |