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

@@ -2208,6 +2208,20 @@ QDF_STATUS wmi_extract_pdev_sscan_fft_bin_index(
wmi_unified_t wmi_handle,
uint8_t *evt_buf,
struct spectral_fft_bin_markers_160_165mhz *param);
/**
* wmi_extract_pdev_spectral_session_chan_info() - Extract channel information
* for a spectral scan session
* @wmi_handle: handle to WMI.
* @evt_buf: Event buffer
* @chan_info: Spectral session channel information data structure to be filled
* by this API
*
* Return: QDF_STATUS of operation
*/
QDF_STATUS wmi_extract_pdev_spectral_session_chan_info(
wmi_unified_t wmi_handle, void *event,
struct spectral_session_chan_info *chan_info);
#endif /* WLAN_CONV_SPECTRAL_ENABLE */
#if defined(WLAN_SUPPORT_FILS) || defined(CONFIG_BAND_6GHZ)