aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
diff options
context:
space:
mode:
authorRui Salvaterra <rsalvaterra@gmail.com>2020-10-31 11:59:48 +0000
committerDaniel Golle <daniel@makrotopia.org>2020-10-31 13:02:28 +0000
commitf8c88a87752c93b380231bd60a3d94416a21302c (patch)
treeb09fc62351a885dd2d6e8f891062e85f4c26ee37 /package/network
parent237f708b3c5f6e4f92c8a892fe2cbb3d22df8e9f (diff)
downloadupstream-f8c88a87752c93b380231bd60a3d94416a21302c.tar.gz
upstream-f8c88a87752c93b380231bd60a3d94416a21302c.tar.bz2
upstream-f8c88a87752c93b380231bd60a3d94416a21302c.zip
hostapd: enable OWE for the basic-{openssl, wolfssl} variants
Opportunistic Wireless Encryption is needed to create/access encrypted networks which don't require authentication. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
Diffstat (limited to 'package/network')
-rw-r--r--package/network/services/hostapd/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile
index c03ec6bdc4..f076eba88f 100644
--- a/package/network/services/hostapd/Makefile
+++ b/package/network/services/hostapd/Makefile
@@ -102,6 +102,9 @@ ifeq ($(SSL_VARIANT),openssl)
DRIVER_MAKEOPTS += CONFIG_TLS=openssl CONFIG_SAE=y
TARGET_LDFLAGS += -lcrypto -lssl
+ ifeq ($(LOCAL_VARIANT),basic)
+ DRIVER_MAKEOPTS += CONFIG_OWE=y
+ endif
ifeq ($(LOCAL_VARIANT),mesh)
DRIVER_MAKEOPTS += CONFIG_AP=y CONFIG_MESH=y
endif
@@ -114,6 +117,9 @@ ifeq ($(SSL_VARIANT),wolfssl)
DRIVER_MAKEOPTS += CONFIG_TLS=wolfssl CONFIG_SAE=y
TARGET_LDFLAGS += -lwolfssl
+ ifeq ($(LOCAL_VARIANT),basic)
+ DRIVER_MAKEOPTS += CONFIG_OWE=y
+ endif
ifeq ($(LOCAL_VARIANT),mesh)
DRIVER_MAKEOPTS += CONFIG_AP=y CONFIG_MESH=y CONFIG_WPS_NFC=1
endif