qcacmn: Add support to process spectral scan detector info tlv

FW sends Spectral scan detector info TLV in WMI_PDEV_SSCAN_FW_PARAM
event to indicate the information of a detector participating in a sscan
session. FW sends one TLV of this type for each detector participating
in a spectral scan session. Add support to process the TLV and update
the spectral host data structures accordingly.

CRs-Fixed: 3044193
Change-Id: Ie17b6ea9336ada7a00e4594fa2f7f49ef3d443e5
This commit is contained in:
Shiva Krishna Pittala
2021-09-26 02:12:20 +05:30
committed by Madan Koyyalamudi
parent e991ce3cdd
commit 61f4418d7a
8 changed files with 253 additions and 16 deletions

View File

@@ -2222,6 +2222,22 @@ QDF_STATUS wmi_extract_pdev_sscan_fft_bin_index(
QDF_STATUS wmi_extract_pdev_spectral_session_chan_info(
wmi_unified_t wmi_handle, void *event,
struct spectral_session_chan_info *chan_info);
/**
* wmi_extract_pdev_spectral_session_detector_info() - Extract detector
* information for a spectral scan session
* @wmi_handle: handle to WMI.
* @evt_buf: Event buffer
* @det_info: Spectral session detector information data structure to be filled
* by this API
* @det_info_idx: index in the array of spectral scan detector info TLVs
*
* Return: QDF_STATUS of operation
*/
QDF_STATUS wmi_extract_pdev_spectral_session_detector_info(
wmi_unified_t wmi_handle, void *event,
struct spectral_session_det_info *det_info,
uint8_t det_info_idx);
#endif /* WLAN_CONV_SPECTRAL_ENABLE */
#if defined(WLAN_SUPPORT_FILS) || defined(CONFIG_BAND_6GHZ)