From 2fca2d2144ba6529610a05510f5717d66992be4d Mon Sep 17 00:00:00 2001 From: Sunil Dutt Date: Fri, 15 Dec 2017 14:58:48 +0530 Subject: [PATCH] Vendor parameter for forcing RSNE override 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 --- 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 11f7326db..aa7a65c95 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -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 =