New wpa_supplicant v2.9 enables by default WPA3 features in defconfig.
Meanwhile building those features requires openssl.
This patch adds Config.in option for WPA3 support in wpa_supplicant.
When this option is selected, libopenssl is also selected and WPA3
features OWE, SAE, DPP are enabled in wpa_supplicant .config file.
When this feature is deselected, then all the above 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 (WPS).
+config BR2_PACKAGE_WPA_SUPPLICANT_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_WPA_SUPPLICANT_CLI
bool "Install wpa_cli binary"
help
WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_WPS
endif
+ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WPA3),y)
+WPA_SUPPLICANT_CONFIG_ENABLE += \
+ CONFIG_DPP \
+ CONFIG_SAE \
+ CONFIG_OWE
+else
+WPA_SUPPLICANT_CONFIG_DISABLE += \
+ CONFIG_DPP \
+ CONFIG_SAE \
+ CONFIG_OWE
+endif
+
# Try to use openssl if it's already available
ifeq ($(BR2_PACKAGE_LIBOPENSSL),y)
WPA_SUPPLICANT_DEPENDENCIES += host-pkgconf libopenssl