blob: 38ac643342a3f8a836eb7b8603a438627aa539a6 [file] [log] [blame]
developer78848c62023-04-06 13:44:00 +08001From ebe6fe9b526c946bc9639778ca51938746a27fd0 Mon Sep 17 00:00:00 2001
developerd5789dc2023-03-27 11:22:06 +08002From: Peter Chiu <chui-hao.chiu@mediatek.com>
3Date: Tue, 21 Mar 2023 15:04:45 +0800
4Subject: [PATCH 25/29] wifi: mt76: mt7996: enable IDS debug log
5
6---
7 mt7996/debugfs.c | 10 ++++++++--
8 1 file changed, 8 insertions(+), 2 deletions(-)
9
10diff --git a/mt7996/debugfs.c b/mt7996/debugfs.c
developer78848c62023-04-06 13:44:00 +080011index f2c46a5..34c30a5 100644
developerd5789dc2023-03-27 11:22:06 +080012--- a/mt7996/debugfs.c
13+++ b/mt7996/debugfs.c
14@@ -296,6 +296,12 @@ mt7996_fw_debug_wm_set(void *data, u64 val)
15 DEBUG_SPL,
16 DEBUG_RPT_RX,
17 DEBUG_RPT_RA = 68,
18+ DEBUG_IDS_PP = 93,
19+ DEBUG_IDS_RA = 94,
20+ DEBUG_IDS_BF = 95,
21+ DEBUG_IDS_SR = 96,
22+ DEBUG_IDS_RU = 97,
23+ DEBUG_IDS_MUMIMO = 98,
24 } debug;
25 bool tx, rx, en;
26 int ret;
27@@ -315,8 +321,8 @@ mt7996_fw_debug_wm_set(void *data, u64 val)
28 if (ret)
29 return ret;
30
31- for (debug = DEBUG_TXCMD; debug <= DEBUG_RPT_RA; debug++) {
32- if (debug == 67)
33+ for (debug = DEBUG_TXCMD; debug <= DEBUG_IDS_MUMIMO; debug++) {
34+ if (debug == 67 || (debug > DEBUG_RPT_RA && debug < DEBUG_IDS_PP))
35 continue;
36
37 if (debug == DEBUG_RPT_RX)
38--
developer78848c62023-04-06 13:44:00 +0800392.18.0
developerd5789dc2023-03-27 11:22:06 +080040