aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Makefile
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 /hostapd/Makefile
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 'hostapd/Makefile')
-rw-r--r--hostapd/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/hostapd/Makefile b/hostapd/Makefile
index bb4bad3..91e1fda 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -566,6 +566,22 @@ endif
endif
+ifdef CONFIG_DPP
+CFLAGS += -DCONFIG_DPP
+OBJS += ../src/common/dpp.o
+OBJS += ../src/ap/dpp_hostapd.o
+OBJS += ../src/ap/gas_query_ap.o
+NEED_AES_SIV=y
+NEED_HMAC_SHA256_KDF=y
+NEED_HMAC_SHA384_KDF=y
+NEED_HMAC_SHA512_KDF=y
+NEED_SHA256=y
+NEED_SHA384=y
+NEED_SHA512=y
+NEED_JSON=y
+NEED_GAS=y
+endif
+
ifdef CONFIG_EAP_IKEV2
CFLAGS += -DEAP_SERVER_IKEV2
OBJS += ../src/eap_server/eap_server_ikev2.o ../src/eap_server/ikev2.o
@@ -1069,6 +1085,10 @@ endif
ifdef CONFIG_INTERWORKING
CFLAGS += -DCONFIG_INTERWORKING
+NEED_GAS=y
+endif
+
+ifdef NEED_GAS
OBJS += ../src/common/gas.o
OBJS += ../src/ap/gas_serv.o
endif