qcacmn: Add support to extract FFT size capabilities

WMI_SPECTRAL_CAPABILITIES_EVENTID event will be sent by the FW to
indicate different capabilities of the Spectral HW.
Add support to extract the FFT size capabilities from this event.

Change-Id: I9640fa51e4249b9d1c2d9d3ac5da7f1d56c9d006
CRs-Fixed: 3098880
This commit is contained in:
Shiva Krishna Pittala
2021-12-22 13:28:09 +05:30
committed by Madan Koyyalamudi
parent 003a476648
commit a739a0cabb
7 changed files with 168 additions and 0 deletions

View File

@@ -2338,6 +2338,19 @@ QDF_STATUS wmi_extract_spectral_caps_fixed_param(
QDF_STATUS wmi_extract_spectral_scan_bw_caps(
wmi_unified_t wmi_handle, void *event,
struct spectral_scan_bw_capabilities *bw_caps);
/**
* wmi_extract_spectral_fft_size_caps() - Extract FFT size caps from
* Spectral capabilities WMI event
* @wmi_handle: handle to WMI.
* @event: Event buffer
* @fft_size_caps: Data structure to be populated by this API after extraction
*
* Return: QDF_STATUS of operation
*/
QDF_STATUS wmi_extract_spectral_fft_size_caps(
wmi_unified_t wmi_handle, void *event,
struct spectral_fft_size_capabilities *fft_size_caps);
#endif /* WLAN_CONV_SPECTRAL_ENABLE */
#if defined(WLAN_SUPPORT_FILS) || defined(CONFIG_BAND_6GHZ)