package/wpa_supplicant: add overrides configuration option

Overrides configuration possibility enabled through
wpa_supplicant configuration file.

Signed-off-by: Mika Joenpera <mika.joenpera@unikie.com>
Signed-off-by: José Pekkarinen <jose.pekkarinen@unikie.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Mika Joenpera 2022-04-19 07:33:40 +03:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 4bfe7edc4b
commit 6ec4824aa4
2 changed files with 19 additions and 0 deletions

View File

@ -89,6 +89,13 @@ config BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING
Enable support for open and secured mesh networking
(IEEE 802.11s)
config BR2_PACKAGE_WPA_SUPPLICANT_OVERRIDES
bool "Enable HT/VHT/HE overrides"
help
Enable wpa_supplicant overrides for HT, VHT and HE (disable
HT/HT40, mask MCS rates, etc.) in wpa_supplicant
configuration file.
config BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN
bool "Enable autoscan"
help

View File

@ -105,6 +105,18 @@ else
WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_MESH
endif
ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_OVERRIDES),y)
WPA_SUPPLICANT_CONFIG_ENABLE += \
CONFIG_HT_OVERRIDES \
CONFIG_VHT_OVERRIDES \
CONFIG_HE_OVERRIDES
else
WPA_SUPPLICANT_CONFIG_DISABLE += \
CONFIG_HT_OVERRIDES \
CONFIG_VHT_OVERRIDES \
CONFIG_HE_OVERRIDES
endif
ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN),y)
WPA_SUPPLICANT_CONFIG_ENABLE += \
CONFIG_AUTOSCAN_EXPONENTIAL \