aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/hostapd.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2017-11-27 11:22:32 (GMT)
committerJouni Malinen <j@w1.fi>2017-11-27 11:24:20 (GMT)
commit7eb6bfb45dfb30299cadc08af46758c6669b305e (patch)
tree1039790c974d7242caa1f3e17f5d54464114b201 /src/ap/hostapd.h
parentcdef4e91aa4616598f3cfc6493e66045329087aa (diff)
downloadhostap-7eb6bfb45dfb30299cadc08af46758c6669b305e.zip
hostap-7eb6bfb45dfb30299cadc08af46758c6669b305e.tar.gz
hostap-7eb6bfb45dfb30299cadc08af46758c6669b305e.tar.bz2
DPP: Move hostapd Configurator/bootstrap data into global context
This moves the Configurator and Bootstrapping Information data from struct hostapd_data (per-BSS) to struct hapd_interfaces (per-hostapd process). This allows the information to be maintained over interface restarts and shared between interfaces. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/ap/hostapd.h')
-rw-r--r--src/ap/hostapd.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/ap/hostapd.h b/src/ap/hostapd.h
index f77e6ec..5219b50 100644
--- a/src/ap/hostapd.h
+++ b/src/ap/hostapd.h
@@ -57,6 +57,12 @@ struct hapd_interfaces {
struct dl_list eth_p_oui; /* OUI Extended EtherType handlers */
#endif /* CONFIG_ETH_P_OUI */
int eloop_initialized;
+
+#ifdef CONFIG_DPP
+ int dpp_init_done;
+ struct dl_list dpp_bootstrap; /* struct dpp_bootstrap_info */
+ struct dl_list dpp_configurator; /* struct dpp_configurator */
+#endif /* CONFIG_DPP */
};
enum hostapd_chan_status {
@@ -338,8 +344,6 @@ struct hostapd_data {
int dhcp_sock; /* UDP socket used with the DHCP server */
#ifdef CONFIG_DPP
- struct dl_list dpp_bootstrap; /* struct dpp_bootstrap_info */
- struct dl_list dpp_configurator; /* struct dpp_configurator */
int dpp_init_done;
struct dpp_authentication *dpp_auth;
u8 dpp_allowed_roles;