aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/hostapd.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2017-06-15 19:16:45 (GMT)
committerJouni Malinen <j@w1.fi>2017-06-19 18:13:17 (GMT)
commit9c2b8204e662da34c3518a9bdff9e84687d98623 (patch)
tree9de140a3f3e584d86b462a154fc42d3eb9a2f1b8 /src/ap/hostapd.h
parent9beb2892dedecb9fd39ac39be7b13144c36802f1 (diff)
downloadhostap-9c2b8204e662da34c3518a9bdff9e84687d98623.zip
hostap-9c2b8204e662da34c3518a9bdff9e84687d98623.tar.gz
hostap-9c2b8204e662da34c3518a9bdff9e84687d98623.tar.bz2
DPP: Integration for hostapd
This adds DPP bootstrapping, authentication, and configuration into hostapd similarly to how the design was integrated in wpa_supplicant. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/ap/hostapd.h')
-rw-r--r--src/ap/hostapd.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/ap/hostapd.h b/src/ap/hostapd.h
index 8874933..8ebb3aa 100644
--- a/src/ap/hostapd.h
+++ b/src/ap/hostapd.h
@@ -319,6 +319,23 @@ struct hostapd_data {
unsigned int range_req_active:1;
int dhcp_sock; /* UDP socket used with the DHCP server */
+
+#ifdef CONFIG_DPP
+ struct dl_list dpp_bootstrap; /* struct dpp_bootstrap_info */
+ int dpp_init_done;
+ struct dpp_authentication *dpp_auth;
+ u8 dpp_allowed_roles;
+ int dpp_qr_mutual;
+ int dpp_auth_ok_on_ack;
+ struct gas_query_ap *gas;
+#ifdef CONFIG_TESTING_OPTIONS
+ char *dpp_config_obj_override;
+ char *dpp_discovery_override;
+ char *dpp_groups_override;
+ char *dpp_devices_override;
+ unsigned int dpp_ignore_netaccesskey_mismatch:1;
+#endif /* CONFIG_TESTING_OPTIONS */
+#endif /* CONFIG_DPP */
};