blob: bca6fef7b217a758e40ef7a3c3ed74376bb2f18c [file] [log] [blame]
developerbf131da2023-05-29 15:32:47 +08001From fdb5be69b1888a7b08e5e190b61d74ced34331cc Mon Sep 17 00:00:00 2001
developer3e0400f2023-02-10 08:32:03 +08002From: Shayne Chen <shayne.chen@mediatek.com>
developerbf131da2023-05-29 15:32:47 +08003Date: Mon, 29 May 2023 15:25:05 +0800
developer3e0400f2023-02-10 08:32:03 +08004Subject: [PATCH] add EHT config for hostapd
5
developer3e0400f2023-02-10 08:32:03 +08006---
7 package/network/services/hostapd/Config.in | 4 ++++
8 package/network/services/hostapd/Makefile | 6 ++++++
9 2 files changed, 10 insertions(+)
10
11diff --git a/package/network/services/hostapd/Config.in b/package/network/services/hostapd/Config.in
developerbf131da2023-05-29 15:32:47 +080012index 87ad7e0..c42620a 100644
developer3e0400f2023-02-10 08:32:03 +080013--- a/package/network/services/hostapd/Config.in
14+++ b/package/network/services/hostapd/Config.in
developerbf131da2023-05-29 15:32:47 +080015@@ -82,6 +82,10 @@ config DRIVER_11AX_SUPPORT
developer3e0400f2023-02-10 08:32:03 +080016 default n
17 select WPA_MBO_SUPPORT
18
19+config DRIVER_11BE_SUPPORT
20+ bool
21+ default n
22+
23 config WPA_ENABLE_WEP
24 bool "Enable support for unsecure and obsolete WEP"
25 help
26diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile
developerbf131da2023-05-29 15:32:47 +080027index dc29670..288ba9f 100644
developer3e0400f2023-02-10 08:32:03 +080028--- a/package/network/services/hostapd/Makefile
29+++ b/package/network/services/hostapd/Makefile
developerbf131da2023-05-29 15:32:47 +080030@@ -29,6 +29,7 @@ PKG_CONFIG_DEPENDS:= \
31 CONFIG_WPA_RFKILL_SUPPORT \
developer3e0400f2023-02-10 08:32:03 +080032 CONFIG_DRIVER_11AC_SUPPORT \
33 CONFIG_DRIVER_11AX_SUPPORT \
34+ CONFIG_DRIVER_11BE_SUPPORT \
35 CONFIG_WPA_ENABLE_WEP
36
developerbf131da2023-05-29 15:32:47 +080037 PKG_BUILD_FLAGS:=gc-sections lto
38@@ -81,11 +82,16 @@ ifneq ($(CONFIG_DRIVER_11AX_SUPPORT),)
developer3e0400f2023-02-10 08:32:03 +080039 HOSTAPD_IEEE80211AX:=y
40 endif
41
42+ifneq ($(CONFIG_DRIVER_11BE_SUPPORT),)
43+ HOSTAPD_IEEE80211BE:=y
44+endif
45+
46 DRIVER_MAKEOPTS= \
47 CONFIG_ACS=$(CONFIG_PACKAGE_kmod-cfg80211) \
48 CONFIG_DRIVER_NL80211=$(CONFIG_PACKAGE_kmod-cfg80211) \
49 CONFIG_IEEE80211AC=$(HOSTAPD_IEEE80211AC) \
50 CONFIG_IEEE80211AX=$(HOSTAPD_IEEE80211AX) \
51+ CONFIG_IEEE80211BE=$(HOSTAPD_IEEE80211BE) \
developer3e0400f2023-02-10 08:32:03 +080052 CONFIG_MBO=$(CONFIG_WPA_MBO_SUPPORT)
53
developerbf131da2023-05-29 15:32:47 +080054 ifeq ($(SSL_VARIANT),openssl)
developer3e0400f2023-02-10 08:32:03 +080055--
developerbf131da2023-05-29 15:32:47 +0800562.39.2
developer3e0400f2023-02-10 08:32:03 +080057