qcacmn: Add support to process spectral scan chan info TLV

FW sends Spectral scan chan info TLV in WMI_PDEV_SSCAN_FW_PARAM_EVENTID
event to indicate the channel information for a spectral scan session.
Add support to process the TLV and update the spectral host data structures
accordingly.

CRs-Fixed: 3044162
Change-Id: Ibbf7f6bbbb267123bbdf44bcfffa2cfb1c2926df
This commit is contained in:
Shiva Krishna Pittala
2021-09-26 02:12:12 +05:30
committed by Madan Koyyalamudi
parent 0a3d522550
commit e991ce3cdd
10 changed files with 485 additions and 83 deletions

View File

@@ -2584,6 +2584,18 @@ QDF_STATUS wmi_extract_pdev_sscan_fft_bin_index(
return QDF_STATUS_E_FAILURE;
}
QDF_STATUS wmi_extract_pdev_spectral_session_chan_info(
wmi_unified_t wmi_handle, void *event,
struct spectral_session_chan_info *chan_info)
{
if (wmi_handle->ops->extract_pdev_spectral_session_chan_info)
return wmi_handle->ops->extract_pdev_spectral_session_chan_info(
wmi_handle,
event, chan_info);
return QDF_STATUS_E_FAILURE;
}
#endif /* WLAN_CONV_SPECTRAL_ENABLE */
QDF_STATUS wmi_extract_spectral_scaling_params_service_ready_ext(