]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Vendor attributes to configure PMF protection and disassoc Tx for testing
authorKiran Kumar Lokere <klokere@codeaurora.org>
Fri, 24 Apr 2020 20:15:34 +0000 (13:15 -0700)
committerJouni Malinen <j@w1.fi>
Wed, 20 May 2020 21:35:54 +0000 (00:35 +0300)
Add new QCA vendor attributes to configure misbehavior for PMF
protection for Management frames and to inject Disassociation frames.

These attributes are used for testing purposes.

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

index a6fbfa6607ae71b6524781e884bedfce061b2d89..312fcf70a33df0ef0d4fab232a47a9382dc7d4cf 100644 (file)
@@ -7204,6 +7204,18 @@ enum qca_wlan_vendor_attr_wifi_test_config {
         */
        QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_HE_TWT_REQ_SUPPORT = 37,
 
+       /* 8-bit unsigned value to configure protection for Management
+        * frames when PMF is enabled for the association.
+        * This attribute is used to configure the testbed device.
+        * 0-use the correct key, 1-use an incorrect key, 2-disable protection.
+        */
+       QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_PMF_PROTECTION = 38,
+
+       /* Flag attribute to inject Disassociation frame to the connected AP.
+        * This attribute is used to configure the testbed device.
+        */
+       QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_DISASSOC_TX = 39,
+
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_AFTER_LAST,
        QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_MAX =