aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
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 /wpa_supplicant
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 'wpa_supplicant')
-rw-r--r--wpa_supplicant/Android.mk3
-rw-r--r--wpa_supplicant/Makefile3
2 files changed, 6 insertions, 0 deletions
diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk
index 6a9aa09..5296931 100644
--- a/wpa_supplicant/Android.mk
+++ b/wpa_supplicant/Android.mk
@@ -259,6 +259,9 @@ NEED_SHA512=y
NEED_JSON=y
NEED_GAS_SERVER=y
NEED_BASE64=y
+ifdef CONFIG_DPP2
+L_CFLAGS += -DCONFIG_DPP2
+endif
endif
ifdef CONFIG_OWE
diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
index 4187bae..e81238e 100644
--- a/wpa_supplicant/Makefile
+++ b/wpa_supplicant/Makefile
@@ -291,6 +291,9 @@ NEED_SHA512=y
NEED_JSON=y
NEED_GAS_SERVER=y
NEED_BASE64=y
+ifdef CONFIG_DPP2
+CFLAGS += -DCONFIG_DPP2
+endif
endif
ifdef CONFIG_OWE