[][MAC80211][WiFi6][misc][fix build fail due to mt76 upgration]
[Description]
Fix build fail due to mt76 upgradation.
Using the mt76-2023-09-18 version for WiFi6 Build.
[Release-log]
N/A
Change-Id: Ie943415c8fbc64b5382bb1d3db0c2334f7ed6488
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/8026811
diff --git a/autobuild_mac80211_release/0003-master-mt76-makefile-for-new-chip.patch b/autobuild_mac80211_release/0003-master-mt76-makefile-for-new-chip.patch
index 1f7937f..64517c3 100644
--- a/autobuild_mac80211_release/0003-master-mt76-makefile-for-new-chip.patch
+++ b/autobuild_mac80211_release/0003-master-mt76-makefile-for-new-chip.patch
@@ -1,5 +1,5 @@
diff --git a/package/kernel/mt76/Makefile b/package/kernel/mt76/Makefile
-index 9a3597f..f22bd9e 100644
+index 9a3597f..cfb48d4 100644
--- a/package/kernel/mt76/Makefile
+++ b/package/kernel/mt76/Makefile
@@ -233,7 +233,7 @@ endef
@@ -20,11 +20,13 @@
TITLE:=MediaTek MT7986 firmware
endef
-@@ -313,7 +313,7 @@ endef
+@@ -312,8 +312,8 @@ endef
+
define KernelPackage/mt7996e
$(KernelPackage/mt76-default)
- TITLE:=MediaTek MT7996E wireless driver
+- TITLE:=MediaTek MT7996E wireless driver
- DEPENDS+=@PCI_SUPPORT +kmod-mt76-connac
++ TITLE:=MediaTek MT7996/MT7995/MT7919 wireless driver
+ DEPENDS+=@PCI_SUPPORT +kmod-mt76-core +kmod-mt76-connac +kmod-hwmon-core +kmod-thermal +@DRIVER_11AX_SUPPORT +@DRIVER_11BE_SUPPORT
FILES:= $(PKG_BUILD_DIR)/mt7996/mt7996e.ko
AUTOLOAD:=$(call AutoProbe,mt7996e)