[][MAC80211][misc][Rebase hostapd Makefile patch]
[Description]
Fix patch failed of internal hostapd Makefile patch which is for adding
EHT config.
[Release-log]
N/A
Change-Id: Id4b80a8a37926d19dfb8a27d1f6adfb1fb92cb93
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7553734
diff --git a/autobuild_mac80211_release/mt7988_mt7996_mac80211/0002-add-EHT-config-for-hostapd.patch b/autobuild_mac80211_release/mt7988_mt7996_mac80211/0002-add-EHT-config-for-hostapd.patch
index 1b89906..bca6fef 100644
--- a/autobuild_mac80211_release/mt7988_mt7996_mac80211/0002-add-EHT-config-for-hostapd.patch
+++ b/autobuild_mac80211_release/mt7988_mt7996_mac80211/0002-add-EHT-config-for-hostapd.patch
@@ -1,19 +1,18 @@
-From 2fc6bba3bf6691c388a48b0503f30c6e5fa8d226 Mon Sep 17 00:00:00 2001
+From fdb5be69b1888a7b08e5e190b61d74ced34331cc Mon Sep 17 00:00:00 2001
From: Shayne Chen <shayne.chen@mediatek.com>
-Date: Wed, 21 Dec 2022 14:27:08 +0800
+Date: Mon, 29 May 2023 15:25:05 +0800
Subject: [PATCH] add EHT config for hostapd
-Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
---
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 8f28eb2..d268056 100644
+index 87ad7e0..c42620a 100644
--- a/package/network/services/hostapd/Config.in
+++ b/package/network/services/hostapd/Config.in
-@@ -87,6 +87,10 @@ config DRIVER_11AX_SUPPORT
+@@ -82,6 +82,10 @@ config DRIVER_11AX_SUPPORT
default n
select WPA_MBO_SUPPORT
@@ -25,18 +24,18 @@
bool "Enable support for unsecure and obsolete WEP"
help
diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile
-index 829879f..08fd4ef 100644
+index dc29670..288ba9f 100644
--- a/package/network/services/hostapd/Makefile
+++ b/package/network/services/hostapd/Makefile
-@@ -30,6 +30,7 @@ PKG_CONFIG_DEPENDS:= \
- CONFIG_DRIVER_WEXT_SUPPORT \
+@@ -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
- EAPOL_TEST_PROVIDERS:=eapol-test eapol-test-openssl eapol-test-wolfssl
-@@ -80,11 +81,16 @@ ifneq ($(CONFIG_DRIVER_11AX_SUPPORT),)
+ PKG_BUILD_FLAGS:=gc-sections lto
+@@ -81,11 +82,16 @@ ifneq ($(CONFIG_DRIVER_11AX_SUPPORT),)
HOSTAPD_IEEE80211AX:=y
endif
@@ -50,9 +49,9 @@
CONFIG_IEEE80211AC=$(HOSTAPD_IEEE80211AC) \
CONFIG_IEEE80211AX=$(HOSTAPD_IEEE80211AX) \
+ CONFIG_IEEE80211BE=$(HOSTAPD_IEEE80211BE) \
- CONFIG_DRIVER_WEXT=$(CONFIG_DRIVER_WEXT_SUPPORT) \
CONFIG_MBO=$(CONFIG_WPA_MBO_SUPPORT)
+ ifeq ($(SSL_VARIANT),openssl)
--
-2.25.1
+2.39.2