]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add QCA vendor attribute indicating the spectral scan bandwidth
authorShiva Krishna Pittala <spittala@codeaurora.org>
Wed, 11 Aug 2021 11:19:30 +0000 (16:49 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 12 Aug 2021 14:23:39 +0000 (17:23 +0300)
Add the following vendor attribute to indicate the bandwidth to be used
for spectral scan operation:
- QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_BANDWIDTH

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/common/qca-vendor.h

index 8d07a8e4c5d629755ff93cf027a040c885ac0954..bcb79fe79c5d620372721990cd0b9cb3bee1caf8 100644 (file)
@@ -6289,6 +6289,14 @@ enum qca_wlan_vendor_attr_spectral_scan {
         * u32 attribute.
         */
        QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_FREQUENCY_2 = 29,
+       /* This attribute specifies the bandwidth to be used for spectral scan
+        * operation. This is an u8 attribute and uses the values in enum
+        * nl80211_chan_width. This is an optional attribute.
+        * If this attribute is not populated, the driver should configure the
+        * spectral scan bandwidth to the maximum value supported by the target
+        * for the current operating bandwidth.
+        */
+       QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_BANDWIDTH = 30,
 
        QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_AFTER_LAST,
        QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_MAX =