From 6ec4824aa486c3b9fe91b68d224300099cdac0c1 Mon Sep 17 00:00:00 2001 From: Mika Joenpera Date: Tue, 19 Apr 2022 07:33:40 +0300 Subject: [PATCH] package/wpa_supplicant: add overrides configuration option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Overrides configuration possibility enabled through wpa_supplicant configuration file. Signed-off-by: Mika Joenpera Signed-off-by: José Pekkarinen Reviewed-by: Yegor Yefremov Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/wpa_supplicant/Config.in | 7 +++++++ package/wpa_supplicant/wpa_supplicant.mk | 12 ++++++++++++ 2 files changed, 19 insertions(+) diff --git a/package/wpa_supplicant/Config.in b/package/wpa_supplicant/Config.in index f2b0754ee1..7e2432985c 100644 --- a/package/wpa_supplicant/Config.in +++ b/package/wpa_supplicant/Config.in @@ -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 diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk index 8b807fdfbe..c4cfe03371 100644 --- a/package/wpa_supplicant/wpa_supplicant.mk +++ b/package/wpa_supplicant/wpa_supplicant.mk @@ -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 \