developer | bf131da | 2023-05-29 15:32:47 +0800 | [diff] [blame] | 1 | From fdb5be69b1888a7b08e5e190b61d74ced34331cc Mon Sep 17 00:00:00 2001 |
developer | 3e0400f | 2023-02-10 08:32:03 +0800 | [diff] [blame] | 2 | From: Shayne Chen <shayne.chen@mediatek.com> |
developer | bf131da | 2023-05-29 15:32:47 +0800 | [diff] [blame] | 3 | Date: Mon, 29 May 2023 15:25:05 +0800 |
developer | 3e0400f | 2023-02-10 08:32:03 +0800 | [diff] [blame] | 4 | Subject: [PATCH] add EHT config for hostapd |
| 5 | |
developer | 3e0400f | 2023-02-10 08:32:03 +0800 | [diff] [blame] | 6 | --- |
| 7 | package/network/services/hostapd/Config.in | 4 ++++ |
| 8 | package/network/services/hostapd/Makefile | 6 ++++++ |
| 9 | 2 files changed, 10 insertions(+) |
| 10 | |
| 11 | diff --git a/package/network/services/hostapd/Config.in b/package/network/services/hostapd/Config.in |
developer | bf131da | 2023-05-29 15:32:47 +0800 | [diff] [blame] | 12 | index 87ad7e0..c42620a 100644 |
developer | 3e0400f | 2023-02-10 08:32:03 +0800 | [diff] [blame] | 13 | --- a/package/network/services/hostapd/Config.in |
| 14 | +++ b/package/network/services/hostapd/Config.in |
developer | bf131da | 2023-05-29 15:32:47 +0800 | [diff] [blame] | 15 | @@ -82,6 +82,10 @@ config DRIVER_11AX_SUPPORT |
developer | 3e0400f | 2023-02-10 08:32:03 +0800 | [diff] [blame] | 16 | 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 |
| 26 | diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile |
developer | bf131da | 2023-05-29 15:32:47 +0800 | [diff] [blame] | 27 | index dc29670..288ba9f 100644 |
developer | 3e0400f | 2023-02-10 08:32:03 +0800 | [diff] [blame] | 28 | --- a/package/network/services/hostapd/Makefile |
| 29 | +++ b/package/network/services/hostapd/Makefile |
developer | bf131da | 2023-05-29 15:32:47 +0800 | [diff] [blame] | 30 | @@ -29,6 +29,7 @@ PKG_CONFIG_DEPENDS:= \ |
| 31 | CONFIG_WPA_RFKILL_SUPPORT \ |
developer | 3e0400f | 2023-02-10 08:32:03 +0800 | [diff] [blame] | 32 | CONFIG_DRIVER_11AC_SUPPORT \ |
| 33 | CONFIG_DRIVER_11AX_SUPPORT \ |
| 34 | + CONFIG_DRIVER_11BE_SUPPORT \ |
| 35 | CONFIG_WPA_ENABLE_WEP |
| 36 | |
developer | bf131da | 2023-05-29 15:32:47 +0800 | [diff] [blame] | 37 | PKG_BUILD_FLAGS:=gc-sections lto |
| 38 | @@ -81,11 +82,16 @@ ifneq ($(CONFIG_DRIVER_11AX_SUPPORT),) |
developer | 3e0400f | 2023-02-10 08:32:03 +0800 | [diff] [blame] | 39 | 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) \ |
developer | 3e0400f | 2023-02-10 08:32:03 +0800 | [diff] [blame] | 52 | CONFIG_MBO=$(CONFIG_WPA_MBO_SUPPORT) |
| 53 | |
developer | bf131da | 2023-05-29 15:32:47 +0800 | [diff] [blame] | 54 | ifeq ($(SSL_VARIANT),openssl) |
developer | 3e0400f | 2023-02-10 08:32:03 +0800 | [diff] [blame] | 55 | -- |
developer | bf131da | 2023-05-29 15:32:47 +0800 | [diff] [blame] | 56 | 2.39.2 |
developer | 3e0400f | 2023-02-10 08:32:03 +0800 | [diff] [blame] | 57 | |