New hostapd v2.9 supports WPA3 features such as OWE, SAE, DPP.
Those features are disabled by default in defconfig, so no
dependency from openssl is requried unless WPA3 support
is enabled.
This patch adds Config.in option for WPA3 support in hostapd.
When this option is selected, libopenssl is also selected and
WPA3 features including OWE, SAE, DPP are enabled in hostapd
.config file. When this option is deselected, then WPA3
options are disabled.
Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
help
Enable support for Wi-Fi Protected Setup.
+config BR2_PACKAGE_HOSTAPD_WPA3
+ bool "Enable WPA3 support"
+ select BR2_PACKAGE_OPENSSL
+ select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
+ help
+ Enable WPA3 support including OWE, SAE, DPP
+
config BR2_PACKAGE_HOSTAPD_VLAN
bool "Enable VLAN support"
default y
HOSTAPD_CONFIG_ENABLE += CONFIG_WPS
endif
+ifeq ($(BR2_PACKAGE_HOSTAPD_WPA3),y)
+HOSTAPD_CONFIG_SET += \
+ CONFIG_DPP \
+ CONFIG_SAE
+HOSTAPD_CONFIG_ENABLE += \
+ CONFIG_OWE
+else
+HOSTAPD_CONFIG_DISABLE += \
+ CONFIG_OWE
+endif
+
ifeq ($(BR2_PACKAGE_HOSTAPD_VLAN),)
HOSTAPD_CONFIG_ENABLE += CONFIG_NO_VLAN
endif