]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Vendor parameter for forcing RSNE override
authorSunil Dutt <usdutt@qti.qualcomm.com>
Fri, 15 Dec 2017 09:28:48 +0000 (14:58 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 22 Dec 2017 16:43:55 +0000 (18:43 +0200)
Indicates the driver to use the RSNE as-is from the connect interface.
Exclusively used for the scenarios where the device is used as a testbed
device with special functionality and not recommended for production.
This helps driver to not validate the RSNE passed from user space and
thus allow arbitrary IE data to be used for testing purposes.

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

index 11f7326dbd762365f81a3272ffcd9db404ba10bb..aa7a65c95364928b956fd50674a98b10a0471550 100644 (file)
@@ -1492,6 +1492,18 @@ enum qca_wlan_vendor_attr_config {
         */
        QCA_WLAN_VENDOR_ATTR_CONFIG_LATENCY_LEVEL = 55,
 
+       /* 8-bit unsigned value indicating the driver to use the RSNE as-is from
+        * the connect interface. Exclusively used for the scenarios where the
+        * device is used as a test bed device with special functionality and
+        * not recommended for production. This helps driver to not validate the
+        * RSNE passed from user space and thus allow arbitrary IE data to be
+        * used for testing purposes.
+        * 1-enable, 0-disable.
+        * Applications set/reset this configuration. If not reset, this
+        * parameter remains in use until the driver is unloaded.
+        */
+       QCA_WLAN_VENDOR_ATTR_CONFIG_RSN_IE = 56,
+
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
        QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =