]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add vendor attribute to enable DFS No Wait support
authorWu Gao <quic_wugao@quicinc.com>
Tue, 18 Mar 2025 03:20:17 +0000 (20:20 -0700)
committerJouni Malinen <j@w1.fi>
Mon, 24 Mar 2025 20:36:20 +0000 (22:36 +0200)
This change adds QCA_WLAN_VENDOR_ATTR_CONFIG_DFS_NO_WAIT_SUPPORT to
enable DFS No Wait support.

If an AP starts on a channel with a bandwidth larger than 20 MHz,
which includes both DFS required and non DFS required subsets, it
should begin beaconing immediately on the non DFS required subset
while simultaneously monitoring for radar events once the DFS No Wait
feature is enabled.

Signed-off-by: Wu Gao <quic_wugao@quicinc.com>
src/common/qca-vendor.h

index adc1764e9602f3f48a9b99e8cd2987e24a115743..e3626b72b78a497070dda1a27416f93977d30fb6 100644 (file)
@@ -3896,6 +3896,18 @@ enum qca_wlan_vendor_attr_config {
         */
        QCA_WLAN_VENDOR_ATTR_CONFIG_SETUP_LINK_RECONFIG_SUPPORT = 130,
 
+       /* 8-bit unsigned value to enable/disable DFS No Wait feature support
+        * in AP mode.
+        * 1 - Enable
+        * 0 - Disable.
+        *
+        * DFS No Wait allows AP to be started within the subset of channel
+        * bandwidth that does not require DFS while waiting for CAC to
+        * complete on the subset that requires DFS. If no radar was detected,
+        * switch to the full configured channel bandwidth.
+        */
+       QCA_WLAN_VENDOR_ATTR_CONFIG_DFS_NO_WAIT_SUPPORT = 131,
+
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
        QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =