blob: ca2e8129d3ece7050a0e541f2f219291f65ecd7e [file] [log] [blame]
From 6e972b77bd615df709c8ce4401ea6e120ccdf758 Mon Sep 17 00:00:00 2001
From: Peter Chiu <chui-hao.chiu@mediatek.com>
Date: Tue, 21 Mar 2023 15:04:45 +0800
Subject: [PATCH 18/22] wifi: mt76: mt7996: enable IDS debug log
---
mt7996/debugfs.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/mt7996/debugfs.c b/mt7996/debugfs.c
index 513ab4ba..04220180 100644
--- a/mt7996/debugfs.c
+++ b/mt7996/debugfs.c
@@ -290,6 +290,12 @@ mt7996_fw_debug_wm_set(void *data, u64 val)
DEBUG_SPL,
DEBUG_RPT_RX,
DEBUG_RPT_RA = 68,
+ DEBUG_IDS_PP = 93,
+ DEBUG_IDS_RA = 94,
+ DEBUG_IDS_BF = 95,
+ DEBUG_IDS_SR = 96,
+ DEBUG_IDS_RU = 97,
+ DEBUG_IDS_MUMIMO = 98,
} debug;
bool tx, rx, en;
int ret;
@@ -309,8 +315,8 @@ mt7996_fw_debug_wm_set(void *data, u64 val)
if (ret)
return ret;
- for (debug = DEBUG_TXCMD; debug <= DEBUG_RPT_RA; debug++) {
- if (debug == 67)
+ for (debug = DEBUG_TXCMD; debug <= DEBUG_IDS_MUMIMO; debug++) {
+ if (debug == 67 || (debug > DEBUG_RPT_RA && debug < DEBUG_IDS_PP))
continue;
if (debug == DEBUG_RPT_RX)
--
2.39.2