Pārlūkot izejas kodu

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>
Mika Joenpera 3 gadi atpakaļ
vecāks
revīzija
6ec4824aa4

+ 7 - 0
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

+ 12 - 0
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 \