]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add a vendor attribute to disable DFS owner capability
authorLiangwei Dong <quic_liangwei@quicinc.com>
Tue, 26 Nov 2024 09:50:38 +0000 (17:50 +0800)
committerJouni Malinen <j@w1.fi>
Thu, 5 Dec 2024 09:27:13 +0000 (11:27 +0200)
Add a u8 attribute QCA_WLAN_VENDOR_ATTR_CONFIG_DFS_OWNER_DISABLE to
disable DFS owner capability dynamically:
1: disable DFS owner capability in the driver.
0: reset DFS owner capability to the default DFS owner capability of
the driver.

If DFS owner capability is disabled, the driver will not start AP mode
operations on DFS channels, and all the features depending on DFS owner
functionality will not be supported.

Signed-off-by: Liangwei Dong <quic_liangwei@quicinc.com>
src/common/qca-vendor.h

index 3bf3e2ff7ff68f316ae92bf37b027bbbaf3e2803..e59e295240305511f2e91d4a3b96579087dbc996 100644 (file)
@@ -3804,6 +3804,17 @@ enum qca_wlan_vendor_attr_config {
         */
        QCA_WLAN_VENDOR_ATTR_CONFIG_P2P_GO_BEACON_INTERVAL = 122,
 
+       /* 8-bit unsigned value. Disable DFS owner capability
+        * 1: disable DFS owner capability in the driver.
+        * 0: reset DFS owner capability to the default DFS owner capability of
+        * the driver.
+        *
+        * If DFS owner capability is disabled, the driver will not start AP
+        * mode operations on DFS channels, and all the features depending on
+        * DFS owner functionality will not be supported.
+        */
+       QCA_WLAN_VENDOR_ATTR_CONFIG_DFS_OWNER_DISABLE = 123,
+
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
        QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =