developer | de9ecce | 2023-05-22 11:17:16 +0800 | [diff] [blame] | 1 | From 6e972b77bd615df709c8ce4401ea6e120ccdf758 Mon Sep 17 00:00:00 2001 |
developer | 1bc2ce2 | 2023-03-25 00:47:41 +0800 | [diff] [blame] | 2 | From: Peter Chiu <chui-hao.chiu@mediatek.com> |
| 3 | Date: Tue, 21 Mar 2023 15:04:45 +0800 |
developer | de9ecce | 2023-05-22 11:17:16 +0800 | [diff] [blame] | 4 | Subject: [PATCH 18/22] wifi: mt76: mt7996: enable IDS debug log |
developer | 1bc2ce2 | 2023-03-25 00:47:41 +0800 | [diff] [blame] | 5 | |
| 6 | --- |
| 7 | mt7996/debugfs.c | 10 ++++++++-- |
| 8 | 1 file changed, 8 insertions(+), 2 deletions(-) |
| 9 | |
| 10 | diff --git a/mt7996/debugfs.c b/mt7996/debugfs.c |
developer | de9ecce | 2023-05-22 11:17:16 +0800 | [diff] [blame] | 11 | index 513ab4ba..04220180 100644 |
developer | 1bc2ce2 | 2023-03-25 00:47:41 +0800 | [diff] [blame] | 12 | --- a/mt7996/debugfs.c |
| 13 | +++ b/mt7996/debugfs.c |
developer | de9ecce | 2023-05-22 11:17:16 +0800 | [diff] [blame] | 14 | @@ -290,6 +290,12 @@ mt7996_fw_debug_wm_set(void *data, u64 val) |
developer | 1bc2ce2 | 2023-03-25 00:47:41 +0800 | [diff] [blame] | 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; |
developer | de9ecce | 2023-05-22 11:17:16 +0800 | [diff] [blame] | 27 | @@ -309,8 +315,8 @@ mt7996_fw_debug_wm_set(void *data, u64 val) |
developer | 1bc2ce2 | 2023-03-25 00:47:41 +0800 | [diff] [blame] | 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 | -- |
developer | de9ecce | 2023-05-22 11:17:16 +0800 | [diff] [blame] | 39 | 2.39.2 |
developer | 1bc2ce2 | 2023-03-25 00:47:41 +0800 | [diff] [blame] | 40 | |