| From fdb5be69b1888a7b08e5e190b61d74ced34331cc Mon Sep 17 00:00:00 2001 |
| From: Shayne Chen <shayne.chen@mediatek.com> |
| Date: Mon, 29 May 2023 15:25:05 +0800 |
| Subject: [PATCH] add EHT config for hostapd |
| |
| --- |
| package/network/services/hostapd/Config.in | 4 ++++ |
| package/network/services/hostapd/Makefile | 6 ++++++ |
| 2 files changed, 10 insertions(+) |
| |
| diff --git a/package/network/services/hostapd/Config.in b/package/network/services/hostapd/Config.in |
| index 87ad7e0..c42620a 100644 |
| --- a/package/network/services/hostapd/Config.in |
| +++ b/package/network/services/hostapd/Config.in |
| @@ -82,6 +82,10 @@ config DRIVER_11AX_SUPPORT |
| default n |
| select WPA_MBO_SUPPORT |
| |
| +config DRIVER_11BE_SUPPORT |
| + bool |
| + default n |
| + |
| config WPA_ENABLE_WEP |
| bool "Enable support for unsecure and obsolete WEP" |
| help |
| diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile |
| index dc29670..288ba9f 100644 |
| --- a/package/network/services/hostapd/Makefile |
| +++ b/package/network/services/hostapd/Makefile |
| @@ -29,6 +29,7 @@ PKG_CONFIG_DEPENDS:= \ |
| CONFIG_WPA_RFKILL_SUPPORT \ |
| CONFIG_DRIVER_11AC_SUPPORT \ |
| CONFIG_DRIVER_11AX_SUPPORT \ |
| + CONFIG_DRIVER_11BE_SUPPORT \ |
| CONFIG_WPA_ENABLE_WEP |
| |
| PKG_BUILD_FLAGS:=gc-sections lto |
| @@ -81,11 +82,16 @@ ifneq ($(CONFIG_DRIVER_11AX_SUPPORT),) |
| HOSTAPD_IEEE80211AX:=y |
| endif |
| |
| +ifneq ($(CONFIG_DRIVER_11BE_SUPPORT),) |
| + HOSTAPD_IEEE80211BE:=y |
| +endif |
| + |
| DRIVER_MAKEOPTS= \ |
| CONFIG_ACS=$(CONFIG_PACKAGE_kmod-cfg80211) \ |
| CONFIG_DRIVER_NL80211=$(CONFIG_PACKAGE_kmod-cfg80211) \ |
| CONFIG_IEEE80211AC=$(HOSTAPD_IEEE80211AC) \ |
| CONFIG_IEEE80211AX=$(HOSTAPD_IEEE80211AX) \ |
| + CONFIG_IEEE80211BE=$(HOSTAPD_IEEE80211BE) \ |
| CONFIG_MBO=$(CONFIG_WPA_MBO_SUPPORT) |
| |
| ifeq ($(SSL_VARIANT),openssl) |
| -- |
| 2.39.2 |
| |