qcacmn: Add Host support for Spectral FFT recapture

Add support to receive the fft_recapture arg value
from spectraltool, handle the FFT recapture config and
pass this to FW. The recapture feature must be
enabled only for spectral scan period > 52 us and
Normal Spectral scans.

Change-Id: Ied637704d25bb15bff2139a215da7481d4f80e4f
CRs-Fixed: 3140890
This commit is contained in:
Jhalak Naik
2022-03-07 19:58:56 +05:30
committed by Madan Koyyalamudi
parent b64b200ff8
commit 055dfbe881
5 changed files with 52 additions and 17 deletions

View File

@@ -7700,6 +7700,13 @@ enum qca_wlan_vendor_attr_spectral_scan {
* for the current operating bandwidth.
*/
QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_BANDWIDTH = 30,
/* Spectral FFT recapture flag attribute, to enable/disable FFT
* recapture. Recapture can only be enabled for Scan period greater
* than 52us.
* If this attribute is enabled, re-triggers will be enabled in uCode
* when AGC gain changes.
*/
QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_FFT_RECAPTURE = 31,
QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_AFTER_LAST,
QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_MAX =