Add QCA vendor attribute to enable Spectral FFT recapture

Add a QCA vendor attribute to enable FFT recapture on user trigger.
Enable FFT recapture only when spectral scan period is greater than 52
us.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
Jhalak Naik 2022-02-28 13:11:59 +05:30 committed by Jouni Malinen
parent c34b35b54e
commit 6c3c431bbd

View file

@ -6533,6 +6533,12 @@ 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 FFT recapture.
* Recapture can only be enabled for scan period greater than 52 us.
* If this attribute is enabled, re-triggers will be enabled 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 =