aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/ap_config.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-08-08 15:18:03 (GMT)
committerJouni Malinen <j@w1.fi>2015-08-08 15:18:03 (GMT)
commitbc02843e75e5b9a2dfc7469adceb3fa3b69bf5fb (patch)
tree6795a25c871062295cdaf92b67cac765e4e0e5f5 /src/ap/ap_config.h
parent44fa5e747b7aca39285e2511d5c94684e0723b6b (diff)
downloadhostap-bc02843e75e5b9a2dfc7469adceb3fa3b69bf5fb.zip
hostap-bc02843e75e5b9a2dfc7469adceb3fa3b69bf5fb.tar.gz
hostap-bc02843e75e5b9a2dfc7469adceb3fa3b69bf5fb.tar.bz2
hostapd: Add testing option to override own WPA/RSN IE(s)
This allows the new own_ie_override=<hexdump> configuration parameter to be used to replace the normally generated WPA/RSN IE(s) for testing purposes in CONFIG_TESTING_OPTIONS=y builds. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/ap/ap_config.h')
-rw-r--r--src/ap/ap_config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ap/ap_config.h b/src/ap/ap_config.h
index b319587..07550bd 100644
--- a/src/ap/ap_config.h
+++ b/src/ap/ap_config.h
@@ -1,6 +1,6 @@
/*
* hostapd / Configuration definitions and helpers functions
- * Copyright (c) 2003-2012, Jouni Malinen <j@w1.fi>
+ * Copyright (c) 2003-2015, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
@@ -544,6 +544,7 @@ struct hostapd_bss_config {
#ifdef CONFIG_TESTING_OPTIONS
u8 bss_load_test[5];
u8 bss_load_test_set;
+ struct wpabuf *own_ie_override;
#endif /* CONFIG_TESTING_OPTIONS */
#define MESH_ENABLED BIT(0)