developer | 78848c6 | 2023-04-06 13:44:00 +0800 | [diff] [blame^] | 1 | From ebe6fe9b526c946bc9639778ca51938746a27fd0 Mon Sep 17 00:00:00 2001 |
developer | d5789dc | 2023-03-27 11:22:06 +0800 | [diff] [blame] | 2 | From: Peter Chiu <chui-hao.chiu@mediatek.com> |
| 3 | Date: Tue, 21 Mar 2023 15:04:45 +0800 |
| 4 | Subject: [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 | |
| 10 | diff --git a/mt7996/debugfs.c b/mt7996/debugfs.c |
developer | 78848c6 | 2023-04-06 13:44:00 +0800 | [diff] [blame^] | 11 | index f2c46a5..34c30a5 100644 |
developer | d5789dc | 2023-03-27 11:22:06 +0800 | [diff] [blame] | 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 | -- |
developer | 78848c6 | 2023-04-06 13:44:00 +0800 | [diff] [blame^] | 39 | 2.18.0 |
developer | d5789dc | 2023-03-27 11:22:06 +0800 | [diff] [blame] | 40 | |