]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add QCA vendor attribute to enable Spectral FFT recapture
authorJhalak Naik <quic_jhalnaik@quicinc.com>
Mon, 28 Feb 2022 07:41:59 +0000 (13:11 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 4 Mar 2022 20:35:33 +0000 (22:35 +0200)
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>
src/common/qca-vendor.h

index d51f45a5f1be7972331d22543b892c032f9af267..7c0f5533aa9269a9a2641f76f50be374ee4ed270 100644 (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 =