[][openwrt-24][Mac80211][Change WiFi7 Kernel 6.6 hostapd package]
[Description]
Change WiFi7 Kernel 6.6 hostapd package
[Release-log]
N/A
Change-Id: I2916a1a4ad7e21c657e8586eac31bda7dc23b592
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/9803872
diff --git a/autobuild/unified/filogic/mac80211/master/defconfig b/autobuild/unified/filogic/mac80211/master/defconfig
index 470f5a0..c83cd9e 100644
--- a/autobuild/unified/filogic/mac80211/master/defconfig
+++ b/autobuild/unified/filogic/mac80211/master/defconfig
@@ -17,7 +17,7 @@
CONFIG_PACKAGE_wpa-cli=y
CONFIG_WPA_MSG_MIN_PRIORITY=2
# CONFIG_PACKAGE_wpad-basic-mbedtls is not set
-CONFIG_PACKAGE_wpad-basic-openssl=y
+CONFIG_PACKAGE_wpad-openssl=y
CONFIG_PACKAGE_iperf3=y
# CONFIG_PACKAGE_iw is not set
CONFIG_PACKAGE_iw-full=y
diff --git a/autobuild/unified/filogic/mac80211/rules b/autobuild/unified/filogic/mac80211/rules
index e69de29..be0def2 100644
--- a/autobuild/unified/filogic/mac80211/rules
+++ b/autobuild/unified/filogic/mac80211/rules
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+# Copyright (C) 2024 MediaTek Inc. All rights reserved.
+# Author: Evelyn Tsai <evelyn.tsai@mediatek.com>
+# Top rules
+
+list_add_after $(hooks autobuild_prepare) prepare_wifi_driver change_hostapd_conf
+
+change_hostapd_conf() {
+ # hack hostapd config
+ echo "CONFIG_MBO=y" >> ./package/network/services/hostapd/files/hostapd-full.config
+ echo "CONFIG_SAE_PK=y" >> ./package/network/services/hostapd/files/hostapd-full.config
+ echo "CONFIG_TESTING_OPTIONS=y" >> ./package/network/services/hostapd/files/hostapd-full.config
+ echo "CONFIG_HS20=y" >> ./package/network/services/hostapd/files/hostapd-full.config
+ echo "CONFIG_P2P_MANAGER=y" >> ./package/network/services/hostapd/files/hostapd-full.config
+ echo "CONFIG_WPS_UPNP=y" >> ./package/network/services/hostapd/files/hostapd-full.config
+ echo "CONFIG_DPP=y" >> ./package/network/services/hostapd/files/hostapd-full.config
+ echo "CONFIG_DPP2=y" >> ./package/network/services/hostapd/files/hostapd-full.config
+ echo "CONFIG_DPP3=y" >> ./package/network/services/hostapd/files/hostapd-full.config
+ echo "CONFIG_DPP=y" >> ./package/network/services/hostapd/files/wpa_supplicant-full.config
+ echo "CONFIG_DPP2=y" >> ./package/network/services/hostapd/files/wpa_supplicant-full.config
+ echo "CONFIG_DPP3=y" >> ./package/network/services/hostapd/files/wpa_supplicant-full.config
+ # add configuration for STA wireless mode setting
+ echo "CONFIG_HE_OVERRIDES=y" >> ./package/network/services/hostapd/files/wpa_supplicant-full.config
+ echo "CONFIG_EHT_OVERRIDES=y" >> ./package/network/services/hostapd/files/wpa_supplicant-full.config
+
+}