qcacld-3.0: Init thermal throttle level when psoc open
Initialize thermal throttle level to "full perf" when psoc open. Change-Id: If28eb7320e34cea6ee22e83218e84723a960d8f0 CRs-Fixed: 2866198
此提交包含在:
@@ -536,6 +536,17 @@ static void ucfg_fwol_fetch_ra_filter(struct wlan_objmgr_psoc *psoc,
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef FW_THERMAL_THROTTLE_SUPPORT
|
||||||
|
static void fwol_thermal_init(struct wlan_fwol_psoc_obj *fwol_obj)
|
||||||
|
{
|
||||||
|
fwol_obj->thermal_throttle.level = THERMAL_FULLPERF;
|
||||||
|
}
|
||||||
|
#else
|
||||||
|
static void fwol_thermal_init(struct wlan_fwol_psoc_obj *fwol_obj)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
QDF_STATUS fwol_cfg_on_psoc_enable(struct wlan_objmgr_psoc *psoc)
|
QDF_STATUS fwol_cfg_on_psoc_enable(struct wlan_objmgr_psoc *psoc)
|
||||||
{
|
{
|
||||||
QDF_STATUS status = QDF_STATUS_SUCCESS;
|
QDF_STATUS status = QDF_STATUS_SUCCESS;
|
||||||
@@ -602,6 +613,7 @@ QDF_STATUS fwol_cfg_on_psoc_enable(struct wlan_objmgr_psoc *psoc)
|
|||||||
fwol_cfg->enable_ilp = cfg_get(psoc, CFG_SET_ENABLE_ILP);
|
fwol_cfg->enable_ilp = cfg_get(psoc, CFG_SET_ENABLE_ILP);
|
||||||
fwol_cfg->sap_sho = cfg_get(psoc, CFG_SAP_SHO_CONFIG);
|
fwol_cfg->sap_sho = cfg_get(psoc, CFG_SAP_SHO_CONFIG);
|
||||||
fwol_cfg->disable_hw_assist = cfg_get(psoc, CFG_DISABLE_HW_ASSIST);
|
fwol_cfg->disable_hw_assist = cfg_get(psoc, CFG_DISABLE_HW_ASSIST);
|
||||||
|
fwol_thermal_init(fwol_obj);
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
新增問題並參考
封鎖使用者