qcacld-3.0: Add INI to configure thermal action

There is customer requirement that once wifi chip overheat,
we should switch the tx chain mask to 1X1 to cool down the
chip instead of halting the tx completely.
Add new INI gThermalMgmtAction to configure thermal mgmt action
with default 0. The valid thermal mgmt action INI value is defined
as enum thermal_mgmt_action_code. To set it to 3 -
THERMAL_MGMT_ACTION_CHAINSCALING to meet customer requirement.

Change-Id: I88b1237fae1f476ad9ff0e7b5a469ec314a42bf9
CRs-Fixed: 2765289
Bu işleme şunda yer alıyor:
Liangwei Dong
2020-09-01 14:29:05 +08:00
işlemeyi yapan: snandini
ebeveyn af475b303e
işleme 662bade898
7 değiştirilmiş dosya ile 54 ekleme ve 11 silme

Dosyayı Görüntüle

@@ -1146,11 +1146,13 @@ struct wma_set_key_params {
* @minTemp: minimum temprature
* @maxTemp: maximum temprature
* @thermalEnable: thermal enable
* @thermal_action: thermal action
*/
typedef struct {
uint16_t minTemp;
uint16_t maxTemp;
uint8_t thermalEnable;
enum thermal_mgmt_action_code thermal_action;
} t_thermal_cmd_params, *tp_thermal_cmd_params;
/**