qcacmn: Add support to extract fixed params from Spectral Caps event

WMI_SPECTRAL_CAPABILITIES_EVENTID event will be sent by the FW to
indicated the different capabilities of the Spectral HW block.
Add support to extract the fixed parameters from this event.

Change-Id: Ib13108f078de008b6a76a25a010e85a7fdb6f5fe
CRs-Fixed: 3098203
This commit is contained in:
Shiva Krishna Pittala
2021-12-21 14:21:33 +05:30
committed by Madan Koyyalamudi
parent 0ae42b09e4
commit a9547b0f25
7 changed files with 160 additions and 7 deletions

View File

@@ -2311,6 +2311,20 @@ 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);
/**
* wmi_extract_spectral_caps_fixed_param() - Extract fixed params from Spectral
* capabilities WMI event
* @wmi_handle: handle to WMI.
* @event: Event buffer
* @param: Spectral capabilities event parameters data structure to be filled
* by this API
*
* Return: QDF_STATUS of operation
*/
QDF_STATUS wmi_extract_spectral_caps_fixed_param(
wmi_unified_t wmi_handle, void *event,
struct spectral_capabilities_event_params *param);
#endif /* WLAN_CONV_SPECTRAL_ENABLE */
#if defined(WLAN_SUPPORT_FILS) || defined(CONFIG_BAND_6GHZ)