qcacmn: Report thermal target shutdown level
Support new firmware thermal level WMI_THERMAL_SHUTDOWN_TGT to indicate target over heat and need to be shutdown completely. Change-Id: Icdb8aab9fe7b8914681cc46a4ccb5579781c587d CRs-Fixed: 2835410
Bu işleme şunda yer alıyor:

işlemeyi yapan:
snandini

ebeveyn
fe5c7293e1
işleme
6e67047de5
@@ -23,13 +23,15 @@
|
||||
* enum thermal_throttle_level - firmware offload throttle level
|
||||
* @THERMAL_FULLPERF: no any throtting
|
||||
* @THERMAL_MITIGATION: throtting tx to do mitigation
|
||||
* @THERMAL_SHUTOFF: shut down the tx completely
|
||||
* @THERMAL_SHUTOFF: shut off the tx completely
|
||||
* @THERMAL_SHUTDOWN_TARGET: target will be shutdown entirely
|
||||
* @THERMAL_UNKNOWN: unknown level from target.
|
||||
*/
|
||||
enum thermal_throttle_level {
|
||||
THERMAL_FULLPERF,
|
||||
THERMAL_MITIGATION,
|
||||
THERMAL_SHUTOFF,
|
||||
THERMAL_SHUTDOWN_TARGET,
|
||||
THERMAL_UNKNOWN,
|
||||
};
|
||||
|
||||
|
@@ -11429,6 +11429,8 @@ wmi_tgt_thermal_level_to_host(uint32_t level)
|
||||
return THERMAL_MITIGATION;
|
||||
case WMI_THERMAL_SHUTOFF:
|
||||
return THERMAL_SHUTOFF;
|
||||
case WMI_THERMAL_SHUTDOWN_TGT:
|
||||
return THERMAL_SHUTDOWN_TARGET;
|
||||
default:
|
||||
return THERMAL_UNKNOWN;
|
||||
}
|
||||
|
Yeni konuda referans
Bir kullanıcı engelle