qcacld-3.0: Relocate thermal info cfg items

Relocate thermal info config items to FW offload component.

Change-Id: If03507a44041b53aa81837f687914931e8a05ec8
CRs-Fixed: 2316595
This commit is contained in:
Dundi Raviteja
2018-09-07 10:40:28 +05:30
committed by nshrivas
parent 54a1f4fdf5
commit 1dc31cf88d
6 changed files with 180 additions and 1 deletions

View File

@@ -165,3 +165,20 @@ ucfg_fwol_get_coex_config_params(struct wlan_objmgr_psoc *psoc,
return QDF_STATUS_SUCCESS;
}
QDF_STATUS
ucfg_fwol_get_thermal_temp(struct wlan_objmgr_psoc *psoc,
struct wlan_fwol_thermal_temp *thermal_info)
{
struct wlan_fwol_psoc_obj *fwol_obj;
fwol_obj = fwol_get_psoc_obj(psoc);
if (!fwol_obj) {
fwol_err("Failed to get fwol obj");
return QDF_STATUS_E_FAILURE;
}
*thermal_info = fwol_obj->cfg.thermal_temp_cfg;
return QDF_STATUS_SUCCESS;
}