]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add test configuration to ignore SA Query timeout
authorVeerendranath Jakkam <vjakkam@codeaurora.org>
Fri, 14 Aug 2020 08:36:23 +0000 (14:06 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 14 Aug 2020 20:10:37 +0000 (23:10 +0300)
Add a new QCA vendor attribute to configure the driver/firmware to
ignore SA Query timeout. If this configuration is enabled the
driver/firmware shall not send Deauthentication frame when SA Query
times out. This is required to support STA testbed role.

Signed-off-by: Veerendranath Jakkam <vjakkam@codeaurora.org>
src/common/qca-vendor.h

index 74b553ae640f1adef5c82393fd7eaf26e98ede79..b7dc1c7f87c68ebc255abe4c7341cbb0cc7fa02e 100644 (file)
@@ -7431,6 +7431,17 @@ enum qca_wlan_vendor_attr_wifi_test_config {
         */
        QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_OCI_OVERRIDE = 42,
 
+       /* 8-bit unsigned value to configure the driver/firmware to ignore SA
+        * Query timeout. If this configuration is enabled STA shall not send
+        * Deauthentication frmae when SA Query times out (mainly, after a
+        * channel switch when OCV is enabled).
+        * 0 - Default behavior, 1 - Ignore SA Query timeout.
+        * This attribute is used to configure the testbed device.
+        * This attribute can be configured only when STA is in associated state
+        * and the configuration is valid until the disconnection.
+        */
+       QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_IGNORE_SA_QUERY_TIMEOUT = 43,
+
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_AFTER_LAST,
        QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_MAX =