blob: 44adc3cf2efb5a51e4433b90523b14495bb51b7a [file] [log] [blame]
developer1bc2ce22023-03-25 00:47:41 +08001From 7d83cdb40941ae174a91ec95406f2f61bc6887d5 Mon Sep 17 00:00:00 2001
2From: 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
11index f2c46a50..34c30a58 100644
12--- 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--
392.39.2
40