blob: 9c18b4ca925428bc522d255a8a2dcd954d41f56d [file] [log] [blame]
developer3e0400f2023-02-10 08:32:03 +08001diff --git a/package/network/services/hostapd/Config.in b/package/network/services/hostapd/Config.in
developer3f10c672023-11-21 14:30:53 +08002index 87ad7e0..c42620a 100644
developer3e0400f2023-02-10 08:32:03 +08003--- a/package/network/services/hostapd/Config.in
4+++ b/package/network/services/hostapd/Config.in
developerbf131da2023-05-29 15:32:47 +08005@@ -82,6 +82,10 @@ config DRIVER_11AX_SUPPORT
developer3e0400f2023-02-10 08:32:03 +08006 default n
7 select WPA_MBO_SUPPORT
8
9+config DRIVER_11BE_SUPPORT
10+ bool
11+ default n
12+
13 config WPA_ENABLE_WEP
14 bool "Enable support for unsecure and obsolete WEP"
15 help
16diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile
developer3f10c672023-11-21 14:30:53 +080017index 7a31c36..4897a2f 100644
developer3e0400f2023-02-10 08:32:03 +080018--- a/package/network/services/hostapd/Makefile
19+++ b/package/network/services/hostapd/Makefile
developer3f10c672023-11-21 14:30:53 +080020@@ -29,6 +29,7 @@ PKG_CONFIG_DEPENDS:= \
developerbf131da2023-05-29 15:32:47 +080021 CONFIG_WPA_RFKILL_SUPPORT \
developer3e0400f2023-02-10 08:32:03 +080022 CONFIG_DRIVER_11AC_SUPPORT \
23 CONFIG_DRIVER_11AX_SUPPORT \
24+ CONFIG_DRIVER_11BE_SUPPORT \
25 CONFIG_WPA_ENABLE_WEP
26
developerbf131da2023-05-29 15:32:47 +080027 PKG_BUILD_FLAGS:=gc-sections lto
developer3f10c672023-11-21 14:30:53 +080028@@ -81,6 +82,10 @@ ifneq ($(CONFIG_DRIVER_11AX_SUPPORT),)
developer3e0400f2023-02-10 08:32:03 +080029 HOSTAPD_IEEE80211AX:=y
30 endif
31
32+ifneq ($(CONFIG_DRIVER_11BE_SUPPORT),)
33+ HOSTAPD_IEEE80211BE:=y
34+endif
35+
developer3f10c672023-11-21 14:30:53 +080036 CORE_DEPENDS = +ucode +libubus +libucode +ucode-mod-fs +ucode-mod-nl80211 +ucode-mod-rtnl +ucode-mod-ubus +ucode-mod-uloop +libblobmsg-json
developer24684862023-08-02 08:10:38 +080037
developer3f10c672023-11-21 14:30:53 +080038 DRIVER_MAKEOPTS= \
39@@ -88,6 +93,7 @@ DRIVER_MAKEOPTS= \
40 CONFIG_DRIVER_NL80211=$(CONFIG_PACKAGE_kmod-cfg80211) \
developer3e0400f2023-02-10 08:32:03 +080041 CONFIG_IEEE80211AC=$(HOSTAPD_IEEE80211AC) \
42 CONFIG_IEEE80211AX=$(HOSTAPD_IEEE80211AX) \
43+ CONFIG_IEEE80211BE=$(HOSTAPD_IEEE80211BE) \
developer24684862023-08-02 08:10:38 +080044 CONFIG_MBO=$(CONFIG_WPA_MBO_SUPPORT) \
45 CONFIG_UCODE=y
developer3f10c672023-11-21 14:30:53 +080046