From: Janusz Dziedzic Date: Tue, 20 Aug 2024 06:29:18 +0000 (+0200) Subject: hostapd: add CONFIG_DRIVER_11BE_SUPPORT X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b1d6068330c7c23be6d0d2a5c3e8a72ac6e25ac1;p=openwrt%2Fstaging%2Fwigyori.git hostapd: add CONFIG_DRIVER_11BE_SUPPORT Add option to enable 802.11BE support. Signed-off-by: Janusz Dziedzic --- diff --git a/package/network/services/hostapd/Config.in b/package/network/services/hostapd/Config.in index 1fff4f8acd..742cd78a14 100644 --- a/package/network/services/hostapd/Config.in +++ b/package/network/services/hostapd/Config.in @@ -40,6 +40,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" depends on PACKAGE_hostapd-common diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile index 1c0b654866..0e3396262d 100644 --- a/package/network/services/hostapd/Makefile +++ b/package/network/services/hostapd/Makefile @@ -27,6 +27,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 @@ -79,6 +80,10 @@ ifneq ($(CONFIG_DRIVER_11AX_SUPPORT),) HOSTAPD_IEEE80211AX:=y endif +ifneq ($(CONFIG_DRIVER_11BE_SUPPORT),) + HOSTAPD_IEEE80211BE:=y +endif + CORE_DEPENDS = +ucode +libubus +libucode +ucode-mod-fs +ucode-mod-nl80211 +ucode-mod-rtnl +ucode-mod-ubus +ucode-mod-uloop +libblobmsg-json +libudebug OPENSSL_DEPENDS = +PACKAGE_$(1):libopenssl +PACKAGE_$(1):libopenssl-legacy @@ -86,6 +91,7 @@ DRIVER_MAKEOPTS= \ CONFIG_ACS=y CONFIG_DRIVER_NL80211=y \ CONFIG_IEEE80211AC=$(HOSTAPD_IEEE80211AC) \ CONFIG_IEEE80211AX=$(HOSTAPD_IEEE80211AX) \ + CONFIG_IEEE80211BE=$(HOSTAPD_IEEE80211BE) \ CONFIG_MBO=$(CONFIG_WPA_MBO_SUPPORT) \ CONFIG_UCODE=y CONFIG_APUP=y diff --git a/package/network/services/hostapd/src/src/utils/build_features.h b/package/network/services/hostapd/src/src/utils/build_features.h index 553769eceb..cc8831535c 100644 --- a/package/network/services/hostapd/src/src/utils/build_features.h +++ b/package/network/services/hostapd/src/src/utils/build_features.h @@ -15,6 +15,10 @@ static inline int has_feature(const char *feat) if (!strcmp(feat, "11ax")) return 1; #endif +#ifdef CONFIG_IEEE80211BE + if (!strcmp(feat, "11be")) + return 1; +#endif #ifdef CONFIG_IEEE80211R if (!strcmp(feat, "11r")) return 1;