aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2019-03-13 10:00:09 (GMT)
committerJouni Malinen <j@w1.fi>2019-03-13 10:00:09 (GMT)
commitce7effd08fe3cc3bf8b469cc81a4c0a61b20f12b (patch)
tree0548df337059d66b834b149bd5cca72d7d25a54a /hostapd
parenta1983aa72c37e1bda48150ed750fc2354e9d14eb (diff)
downloadhostap-ce7effd08fe3cc3bf8b469cc81a4c0a61b20f12b.zip
hostap-ce7effd08fe3cc3bf8b469cc81a4c0a61b20f12b.tar.gz
hostap-ce7effd08fe3cc3bf8b469cc81a4c0a61b20f12b.tar.bz2
DPP2: Build configuration flags for DPP version 2 support
The new CONFIG_DPP2=y build option for hostapd and wpa_supplicant is used to control whether new functionality defined after the DPP specification v1.0 is included. All such functionality are considered experimental and subject to change without notice and as such, not suitable for production use. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/Android.mk3
-rw-r--r--hostapd/Makefile3
2 files changed, 6 insertions, 0 deletions
diff --git a/hostapd/Android.mk b/hostapd/Android.mk
index bdc8706..57a894c 100644
--- a/hostapd/Android.mk
+++ b/hostapd/Android.mk
@@ -554,6 +554,9 @@ NEED_SHA512=y
NEED_JSON=y
NEED_GAS=y
NEED_BASE64=y
+ifdef CONFIG_DPP2
+L_CFLAGS += -DCONFIG_DPP2
+endif
endif
ifdef CONFIG_EAP_IKEV2
diff --git a/hostapd/Makefile b/hostapd/Makefile
index dd3816e..6e263c5 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -588,6 +588,9 @@ NEED_SHA512=y
NEED_JSON=y
NEED_GAS=y
NEED_BASE64=y
+ifdef CONFIG_DPP2
+CFLAGS += -DCONFIG_DPP2
+endif
endif
ifdef CONFIG_EAP_IKEV2