qcacmn: Add start scan response WMI event
Add support for processing the start scan response WMI event. FW provides the necessary information to segregate FFT bins to pri80, 5 MHz and sec80 in 160/165 MHz. Also, cfreq2 and the channel width is provided to FW via WMI command. CRs-Fixed: 2672081 Change-Id: I666b6c18a63d5d01117aa9cbd611691c6f8b2793
This commit is contained in:

committed by
nshrivas

parent
18bbaf7484
commit
abdb33bb00
@@ -2026,6 +2026,36 @@ QDF_STATUS wmi_unified_vdev_spectral_enable_cmd_send(
|
||||
wmi_unified_t wmi_handle,
|
||||
struct vdev_spectral_enable_params *param);
|
||||
|
||||
#ifdef WLAN_CONV_SPECTRAL_ENABLE
|
||||
/**
|
||||
* wmi_extract_pdev_sscan_fw_cmd_fixed_param() - Extract fixed params
|
||||
* from start scan response event
|
||||
* @wmi_handle: handle to WMI.
|
||||
* @evt_buf: Event buffer
|
||||
* @param: pointer to hold fixed params from fw params event
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_extract_pdev_sscan_fw_cmd_fixed_param(
|
||||
wmi_unified_t wmi_handle,
|
||||
uint8_t *evt_buf,
|
||||
struct spectral_startscan_resp_params *param);
|
||||
|
||||
/**
|
||||
* wmi_extract_pdev_sscan_fft_bin_index() - Extract FFT bin indexes
|
||||
* from start scan response event
|
||||
* @wmi_handle: handle to WMI.
|
||||
* @evt_buf: Event buffer
|
||||
* @param: pointer to hold FFT bin indexes from fw params event
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
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);
|
||||
#endif /* WLAN_CONV_SPECTRAL_ENABLE */
|
||||
|
||||
#if defined(WLAN_SUPPORT_FILS) || defined(CONFIG_BAND_6GHZ)
|
||||
/**
|
||||
* wmi_unified_vdev_fils_enable_cmd_send() - WMI send fils enable command
|
||||
|
Reference in New Issue
Block a user