[][MAC80211][hostapd][rebase patch based on 2023-03-29]

[Description]
Refactor patches based on 2023-03-29

[Release-log]
N/A

Change-Id: Ib9fb4ae566e213da8cb14dda1574ff711fdd3749
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7477769
diff --git a/autobuild_mac80211_release/package/network/services/hostapd_new/patches/mtk-0025-hostapd-mtk-Fix-scan-result-updating-issue.patch b/autobuild_mac80211_release/package/network/services/hostapd_new/patches/mtk-0025-hostapd-mtk-Fix-scan-result-updating-issue.patch
new file mode 100644
index 0000000..e00c83b
--- /dev/null
+++ b/autobuild_mac80211_release/package/network/services/hostapd_new/patches/mtk-0025-hostapd-mtk-Fix-scan-result-updating-issue.patch
@@ -0,0 +1,33 @@
+From b86163db7e137c7a91f77f35bc2d5001177c371e Mon Sep 17 00:00:00 2001
+From: Michael Lee <michael-cy.lee@mediatek.com>
+Date: Wed, 19 Apr 2023 17:18:33 +0800
+Subject: [PATCH 25/28] hostapd: mtk: Fix scan result updating issue
+
+There are no HT capability and operation in beacon of AP operating in
+NOHT.
+Therefore, when updating scan results, HT capability and operation
+should be assigned the default value for this kind of AP.
+---
+ wpa_supplicant/bss.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/wpa_supplicant/bss.c b/wpa_supplicant/bss.c
+index 3bfcf7e..004d4a6 100644
+--- a/wpa_supplicant/bss.c
++++ b/wpa_supplicant/bss.c
+@@ -307,8 +307,12 @@ static void wpa_bss_copy_res(struct wpa_bss *dst, struct wpa_scan_res *src,
+ 	oper = (struct ieee80211_ht_operation *) elems.ht_operation;
+ 	if (capab)
+ 		dst->ht_capab = le_to_host16(capab->ht_capabilities_info);
++	else
++		dst->ht_capab = 0;
+ 	if (oper)
+ 		dst->ht_param = oper->ht_param;
++	else
++		dst->ht_param = 0;
+ 
+ 	calculate_update_time(fetch_time, src->age, &dst->last_update);
+ }
+-- 
+2.18.0
+