package/wpa_supplicant: Fix options to actually disable features.
Since wpa_supplicant 2.8, most features are now enabled by default, instead of being disabled by default. Remove setting of options that are already enabled by default, and turn ENABLE into DISABLE where appropriate. This also makes the existing options disable more features, otherwise, it would still include dead code or even fail to compile. Als correct/update some help texts. Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
516ce1f134
commit
1276a1bd78
@ -38,7 +38,7 @@ config BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT
|
||||
set. This links in parts of hostapd functionality into
|
||||
wpa_supplicant, making it bigger but dispensing the need for
|
||||
a separate hostapd binary in some applications hence being
|
||||
smaller overall.
|
||||
smaller overall. It also enables support for Wi-Fi Direct.
|
||||
|
||||
config BR2_PACKAGE_WPA_SUPPLICANT_WIFI_DISPLAY
|
||||
bool "Enable Wi-Fi Display"
|
||||
@ -63,7 +63,7 @@ config BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN
|
||||
config BR2_PACKAGE_WPA_SUPPLICANT_EAP
|
||||
bool "Enable EAP"
|
||||
help
|
||||
Enable support for EAP.
|
||||
Enable support for EAP, 802.1x/WPA-Enterprise and FILS.
|
||||
|
||||
config BR2_PACKAGE_WPA_SUPPLICANT_HOTSPOT
|
||||
bool "Enable HS20"
|
||||
|
@ -27,15 +27,8 @@ WPA_SUPPLICANT_INSTALL_STAGING = YES
|
||||
|
||||
WPA_SUPPLICANT_CONFIG_EDITS =
|
||||
|
||||
# Add support for simple background scan
|
||||
WPA_SUPPLICANT_CONFIG_SET = CONFIG_BGSCAN_SIMPLE
|
||||
|
||||
WPA_SUPPLICANT_CONFIG_ENABLE = \
|
||||
CONFIG_IEEE80211AC \
|
||||
CONFIG_IEEE80211N \
|
||||
CONFIG_IEEE80211R \
|
||||
CONFIG_INTERNAL_LIBTOMMATH \
|
||||
CONFIG_DEBUG_FILE \
|
||||
CONFIG_MATCH_IFACE
|
||||
|
||||
WPA_SUPPLICANT_CONFIG_DISABLE = \
|
||||
@ -62,11 +55,15 @@ ifeq ($(BR2_STATIC_LIBS),y)
|
||||
WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_EAP_TNC
|
||||
endif
|
||||
else
|
||||
WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_EAP
|
||||
WPA_SUPPLICANT_CONFIG_DISABLE += \
|
||||
CONFIG_EAP \
|
||||
CONFIG_IEEE8021X_EAPOL \
|
||||
CONFIG_FILS
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_HOTSPOT),y)
|
||||
WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_HS20 \
|
||||
ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_HOTSPOT),)
|
||||
WPA_SUPPLICANT_CONFIG_DISABLE += \
|
||||
CONFIG_HS20 \
|
||||
CONFIG_INTERWORKING
|
||||
endif
|
||||
|
||||
@ -86,9 +83,8 @@ else
|
||||
WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_WIFI_DISPLAY
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING),y)
|
||||
WPA_SUPPLICANT_CONFIG_SET += CONFIG_MESH
|
||||
WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_IEEE80211W
|
||||
ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING),)
|
||||
WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_MESH
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN),y)
|
||||
@ -97,8 +93,8 @@ WPA_SUPPLICANT_CONFIG_ENABLE += \
|
||||
CONFIG_AUTOSCAN_PERIODIC
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WPS),y)
|
||||
WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_WPS
|
||||
ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WPS),)
|
||||
WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_WPS
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WPA3),y)
|
||||
@ -143,8 +139,8 @@ else
|
||||
WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_CTRL_IFACE_DBUS_NEW
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG),y)
|
||||
WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_DEBUG_SYSLOG
|
||||
ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG),)
|
||||
WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_DEBUG_SYSLOG
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_READLINE),y)
|
||||
|
Loading…
Reference in New Issue
Block a user