aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivas Dasari <dasaris@codeaurora.org>2019-06-04 07:20:17 (GMT)
committerJouni Malinen <jouni@codeaurora.org>2019-07-19 11:49:14 (GMT)
commit176c133e911c74ef300c0776fb3a1bcfcd834732 (patch)
treebb5003e9ef9e42320ad277a2e1362e7bc6f90c12
parent123895228d917d020f3159429872697f0792d0e8 (diff)
downloadhostap-176c133e911c74ef300c0776fb3a1bcfcd834732.zip
hostap-176c133e911c74ef300c0776fb3a1bcfcd834732.tar.gz
hostap-176c133e911c74ef300c0776fb3a1bcfcd834732.tar.bz2
Add a vendor attribute to configure disconnect IEs
Add a new vendor attribute QCA_WLAN_VENDOR_ATTR_DISCONNECT_IES to configure disconnect IEs to the driver. Driver shall fill these IEs in disassoc/deauth frame. These IEs are expected to be considered only for the next immediate disconnection (disassoc/deauth frame) originated by the DUT, irrespective of the entity (user space/driver/firmware) triggering the disconnection. The host drivers are not expected to use the IEs set through this interface for further disconnections after the first immediate disconnection initiated post the configuration. If the IEs are also updated through cfg80211 interface (after the enhancement to cfg80211_disconnect), host driver is expected to take the union of IEs from both of these interfaces and send in further disassoc/deauth frames. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
-rw-r--r--src/common/qca-vendor.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h
index f02dd73..d496640 100644
--- a/src/common/qca-vendor.h
+++ b/src/common/qca-vendor.h
@@ -1855,6 +1855,25 @@ enum qca_wlan_vendor_attr_config {
*/
QCA_WLAN_VENDOR_ATTR_CONFIG_GTX = 57,
+ /* Attribute to configure disconnect IEs to the driver.
+ * This carries an array of unsigned 8-bit characters.
+ *
+ * If this is configured, driver shall fill the IEs in disassoc/deauth
+ * frame.
+ * These IEs are expected to be considered only for the next
+ * immediate disconnection (disassoc/deauth frame) originated by
+ * the DUT, irrespective of the entity (user space/driver/firmware)
+ * triggering the disconnection.
+ * The host drivers are not expected to use the IEs set through
+ * this interface for further disconnections after the first immediate
+ * disconnection initiated post the configuration.
+ * If the IEs are also updated through cfg80211 interface (after the
+ * enhancement to cfg80211_disconnect), host driver is expected to
+ * take the union of IEs from both of these interfaces and send in
+ * further disassoc/deauth frames.
+ */
+ QCA_WLAN_VENDOR_ATTR_DISCONNECT_IES = 58,
+
/* keep last */
QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =