qcacmn: Get Spectral bin scaling params

Extended service ready event has a tlv
containing the spectral bin scaling parameters.
Populate the spectral capabilities using this info.

CRs-Fixed: 2379652
Change-Id: I0b4648302e7170b5965cf1aec68638e70cd36e73
This commit is contained in:
Edayilliam Jayadev
2018-08-08 11:51:06 +05:30
committed by nshrivas
parent 27fba324b4
commit ac0ddecb36
12 changed files with 187 additions and 7 deletions

View File

@@ -4061,6 +4061,20 @@ QDF_STATUS wmi_extract_dbr_ring_cap_service_ready_ext(
return QDF_STATUS_E_FAILURE;
}
QDF_STATUS wmi_extract_spectral_scaling_params_service_ready_ext(
void *wmi_hdl,
uint8_t *evt_buf, uint8_t idx,
struct wlan_psoc_host_spectral_scaling_params *param)
{
wmi_unified_t wmi_handle = (wmi_unified_t)wmi_hdl;
if (wmi_handle->ops->extract_scaling_params_service_ready_ext)
return wmi_handle->ops->extract_scaling_params_service_ready_ext
(wmi_handle, evt_buf, idx, param);
return QDF_STATUS_E_FAILURE;
}
/**
* wmi_extract_pdev_utf_event() -
* extract UTF data from pdev utf event