From 82867456e94b843e94d918a5ed43814514e40998 Mon Sep 17 00:00:00 2001 From: Kiran Kumar Lokere Date: Fri, 24 Apr 2020 13:15:34 -0700 Subject: [PATCH] Vendor attributes to configure PMF protection and disassoc Tx for testing 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 --- src/common/qca-vendor.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index a6fbfa660..312fcf70a 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -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 =