[][MAC80211][WiFi7][mac80211][add backports tarball for mt76 MLO build]

[Description]
Add backports tarball for mt76 MLO build, which is based on
wireless-next-2024-03-08 tag.

[Release-log]
N/A

Change-Id: I97d4157a1c3281bec8bd5a0e0cfb3ae9b254b90a
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/8832330
diff --git a/autobuild_mac80211_release/mt7988_mt7996_mac80211_mlo/lede-branch-build-sanity.sh b/autobuild_mac80211_release/mt7988_mt7996_mac80211_mlo/lede-branch-build-sanity.sh
index 4b5c539..249a464 100755
--- a/autobuild_mac80211_release/mt7988_mt7996_mac80211_mlo/lede-branch-build-sanity.sh
+++ b/autobuild_mac80211_release/mt7988_mt7996_mac80211_mlo/lede-branch-build-sanity.sh
@@ -91,8 +91,18 @@
 sed -i "s/.*CONFIG_RADIUS_SERVER.*/# CONFIG_RADIUS_SERVER=y/g" ${BUILD_DIR}/package/network/services/hostapd/files/hostapd-full.config
 sed -i "s/.*CONFIG_NO_RADIUS=y.*/CONFIG_NO_RADIUS=y/g" ${BUILD_DIR}/package/network/services/hostapd/files/hostapd-full.config
 
+# remove hostapd src folder
+rm -rf ${BUILD_DIR}/package/network/services/hostapd/src
+
 prepare_final ${branch_name}
 
+# untar backports tarball
+WIFI7_MAC80211_DIR=${BUILD_DIR}/package/kernel/mac80211
+rm -rf ${WIFI7_MAC80211_DIR}/src
+tarball=$(find ${WIFI7_MAC80211_DIR}/backports*.tar.xz -printf "%f\n")
+tar -xJf ${WIFI7_MAC80211_DIR}/${tarball}
+mv $(echo ${tarball} | cut -d '.' -f 1) ${WIFI7_MAC80211_DIR}/src
+
 change_dot_config
 
 #step2 build
diff --git a/autobuild_mac80211_release/mt7988_mt7996_mac80211_mlo/package/kernel/mac80211/backports-2024-03-08.tar.xz b/autobuild_mac80211_release/mt7988_mt7996_mac80211_mlo/package/kernel/mac80211/backports-2024-03-08.tar.xz
new file mode 100644
index 0000000..ce1ed4b
--- /dev/null
+++ b/autobuild_mac80211_release/mt7988_mt7996_mac80211_mlo/package/kernel/mac80211/backports-2024-03-08.tar.xz
Binary files differ