[][mac80211][wifi6][mt76][Add debugfs address map for Cheetah MT76]
[Description]
Add debugfs address map for Cheetah MT76.
If without this patch, Cheetah MT76 driver cannot
provide workable debugfs dump command (e.g., ple_info).
[Release-log]
N/A
Change-Id: Ia8c58d95ce03bb9dfa918e2ac4340effb38ce9ef
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/8192433
diff --git a/autobuild_mac80211_release/package/kernel/mt76/patches/1000-wifi-mt76-mt7915-add-mtk-internal-debug-tools-for-mt.patch b/autobuild_mac80211_release/package/kernel/mt76/patches/1000-wifi-mt76-mt7915-add-mtk-internal-debug-tools-for-mt.patch
index ba96f5f..ee5851c 100644
--- a/autobuild_mac80211_release/package/kernel/mt76/patches/1000-wifi-mt76-mt7915-add-mtk-internal-debug-tools-for-mt.patch
+++ b/autobuild_mac80211_release/package/kernel/mt76/patches/1000-wifi-mt76-mt7915-add-mtk-internal-debug-tools-for-mt.patch
@@ -460,10 +460,10 @@
#endif
diff --git a/mt7915/mt7915_debug.h b/mt7915/mt7915_debug.h
new file mode 100644
-index 00000000..fa8794fd
+index 0000000..4ab113e
--- /dev/null
+++ b/mt7915/mt7915_debug.h
-@@ -0,0 +1,1418 @@
+@@ -0,0 +1,1432 @@
+#ifndef __MT7915_DEBUG_H
+#define __MT7915_DEBUG_H
+
@@ -634,6 +634,15 @@
+ [MT_DBG_SWDEF_BASE] = 0x411400,
+};
+
++static const u32 mt7981_dbg_base[] = {
++ [MT_DBG_WFDMA0_BASE] = 0x24000,
++ [MT_DBG_WFDMA1_BASE] = 0x25000,
++ [MT_DBG_WFDMA0_PCIE1_BASE] = 0x28000,
++ [MT_DBG_WFDMA1_PCIE1_BASE] = 0x29000,
++ [MT_DBG_WFDMA_EXT_CSR_BASE] = 0x27000,
++ [MT_DBG_SWDEF_BASE] = 0x411400,
++};
++
+static const u32 mt7986_dbg_base[] = {
+ [MT_DBG_WFDMA0_BASE] = 0x24000,
+ [MT_DBG_WFDMA1_BASE] = 0x25000,
@@ -888,6 +897,11 @@
+ mt7916_dbg_reg,
+ mt7916_dbg_mask
+ },
++ { 0x7981,
++ mt7981_dbg_base,
++ mt7916_dbg_reg,
++ mt7916_dbg_mask
++ },
+ { 0x7986,
+ mt7986_dbg_base,
+ mt7916_dbg_reg,