]> git.ipfire.org Git - thirdparty/hostap.git/blobdiff - src/ap/hostapd.h
DPP: Move hostapd Configurator/bootstrap data into global context
[thirdparty/hostap.git] / src / ap / hostapd.h
index f77e6ec7f703cdedf301bfb1a54f188c3bf98e21..5219b5006f046a038b955e41704f884faabdc377 100644 (file)
@@ -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;