From: Veerendranath Jakkam Date: Fri, 14 Aug 2020 08:36:23 +0000 (+0530) Subject: Add test configuration to ignore SA Query timeout X-Git-Tag: hostap_2_10~991 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90e05626f0dec7b6ead5de60b9ec3d9f81b7b637;p=thirdparty%2Fhostap.git Add test configuration to ignore SA Query timeout 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 --- diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 74b553ae6..b7dc1c7f8 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -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 =