]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
QCA vendor test configuration to add random PMKIDs in RSNE
authorVeerendranath Jakkam <quic_vjakkam@quicinc.com>
Mon, 2 Sep 2024 07:27:05 +0000 (12:57 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 5 Sep 2024 22:06:32 +0000 (01:06 +0300)
Add QCA vendor test configuration interface to add random PMKIDs in the
RSNE of the (Re)Association Request frames.

Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
src/common/qca-vendor.h

index 5545879ac8ee6a9fbb2c6dff62d771129f9abed3..05dc3940ea1ac702f000ee4a6cbe03dc9eb97ab8 100644 (file)
@@ -10469,6 +10469,18 @@ enum qca_wlan_vendor_attr_wifi_test_config {
         */
        QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_DISABLE_CHAN_SWITCH_INITIATION = 74,
 
+       /* 8-bit unsigned value. This indicates number of random PMKIDs to be
+        * added in the RSNE of the (Re)Association request frames. This is
+        * exclusively used for the scenarios where the device is used as a test
+        * bed device with special functionality and not recommended for
+        * production. Default value is zero. If the user space configures a
+        * non-zero value, that remains in use until the driver is unloaded or
+        * the user space resets the value to zero.
+        *
+        * This attribute is used for testing purposes.
+        */
+       QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_RSNE_ADD_RANDOM_PMKIDS = 75,
+
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_AFTER_LAST,
        QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_MAX =