From 05c91a843d409f3eb5927178812c8f2e81980629 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Tue, 27 Sep 2022 11:34:26 +0300 Subject: [PATCH] hostapd: add config symbol to enable DPP Device Provisioning Protocol (also known as Wi-Fi Easy Connect) provides a simplified, standardized way of onboarding device through use of QR codes, bluetooth, NFC or downloading device information from the cloud. Signed-off-by: Stijn Tintel --- package/network/services/hostapd/Config.in | 15 +++++++++++++++ package/network/services/hostapd/Makefile | 1 + 2 files changed, 16 insertions(+) diff --git a/package/network/services/hostapd/Config.in b/package/network/services/hostapd/Config.in index 87ad7e093e..46acb1f97f 100644 --- a/package/network/services/hostapd/Config.in +++ b/package/network/services/hostapd/Config.in @@ -82,6 +82,21 @@ config DRIVER_11AX_SUPPORT default n select WPA_MBO_SUPPORT +config WPA_DPP_SUPPORT + bool "Device Provisioning Protocol (DPP)" + default n + depends on PACKAGE_wpa-supplicant-openssl || \ + PACKAGE_wpa-supplicant-mesh-openssl || \ + PACKAGE_wpad-basic-openssl || \ + PACKAGE_wpad-mesh-openssl || \ + PACKAGE_wpad-openssl + help + Device Provisioning Protocol (DPP) version 1 and 2, also known as + Wi-Fi Easy Connect. Version 3 is excluded as it's considered + experimental and still changing. + + Crypto required for DPP is only implemented for OpenSSL. + config WPA_ENABLE_WEP bool "Enable support for unsecure and obsolete WEP" help diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile index dc29670489..de8eb42730 100644 --- a/package/network/services/hostapd/Makefile +++ b/package/network/services/hostapd/Makefile @@ -86,6 +86,7 @@ DRIVER_MAKEOPTS= \ CONFIG_DRIVER_NL80211=$(CONFIG_PACKAGE_kmod-cfg80211) \ CONFIG_IEEE80211AC=$(HOSTAPD_IEEE80211AC) \ CONFIG_IEEE80211AX=$(HOSTAPD_IEEE80211AX) \ + CONFIG_DPP=$(CONFIG_WPA_DPP_SUPPORT) \ CONFIG_MBO=$(CONFIG_WPA_MBO_SUPPORT) ifeq ($(SSL_VARIANT),openssl) -- 2.30.2