developer | 95671ae | 2023-09-25 14:16:05 +0800 | [diff] [blame^] | 1 | From 55edd1cc06062fc6a71426e062a253eafc48d575 Mon Sep 17 00:00:00 2001 |
developer | 281084d | 2023-06-19 12:03:50 +0800 | [diff] [blame] | 2 | From: Howard Hsu <howard-yh.hsu@mediatek.com> |
| 3 | Date: Thu, 20 Apr 2023 16:34:47 +0800 |
developer | 95671ae | 2023-09-25 14:16:05 +0800 | [diff] [blame^] | 4 | Subject: [PATCH 03/22] wifi: mt76: mt7996: add eht mode tx stats |
developer | 281084d | 2023-06-19 12:03:50 +0800 | [diff] [blame] | 5 | |
| 6 | Add eht mode bf fbk stats and bw320 through debugfs tx_stats command |
| 7 | |
| 8 | Signed-off-by: Howard Hsu <howard-yh.hsu@mediatek.com> |
| 9 | --- |
| 10 | mt7996/debugfs.c | 5 +++-- |
| 11 | 1 file changed, 3 insertions(+), 2 deletions(-) |
| 12 | |
| 13 | diff --git a/mt7996/debugfs.c b/mt7996/debugfs.c |
developer | 95671ae | 2023-09-25 14:16:05 +0800 | [diff] [blame^] | 14 | index 4d40ec7ff..9bd953586 100644 |
developer | 281084d | 2023-06-19 12:03:50 +0800 | [diff] [blame] | 15 | --- a/mt7996/debugfs.c |
| 16 | +++ b/mt7996/debugfs.c |
developer | 95671ae | 2023-09-25 14:16:05 +0800 | [diff] [blame^] | 17 | @@ -476,7 +476,7 @@ mt7996_txbf_stat_read_phy(struct mt7996_phy *phy, struct seq_file *s) |
developer | 281084d | 2023-06-19 12:03:50 +0800 | [diff] [blame] | 18 | { |
developer | 95671ae | 2023-09-25 14:16:05 +0800 | [diff] [blame^] | 19 | struct mt76_mib_stats *mib = &phy->mib; |
developer | 281084d | 2023-06-19 12:03:50 +0800 | [diff] [blame] | 20 | static const char * const bw[] = { |
| 21 | - "BW20", "BW40", "BW80", "BW160" |
| 22 | + "BW20", "BW40", "BW80", "BW160", "BW320" |
| 23 | }; |
developer | 281084d | 2023-06-19 12:03:50 +0800 | [diff] [blame] | 24 | |
developer | 95671ae | 2023-09-25 14:16:05 +0800 | [diff] [blame^] | 25 | /* Tx Beamformer monitor */ |
| 26 | @@ -489,8 +489,9 @@ mt7996_txbf_stat_read_phy(struct mt7996_phy *phy, struct seq_file *s) |
developer | 281084d | 2023-06-19 12:03:50 +0800 | [diff] [blame] | 27 | /* Tx Beamformer Rx feedback monitor */ |
| 28 | seq_puts(s, "Tx Beamformer Rx feedback statistics: "); |
| 29 | |
| 30 | - seq_printf(s, "All: %d, HE: %d, VHT: %d, HT: %d, ", |
| 31 | + seq_printf(s, "All: %d, EHT: %d, HE: %d, VHT: %d, HT: %d, ", |
| 32 | mib->tx_bf_rx_fb_all_cnt, |
| 33 | + mib->tx_bf_rx_fb_eht_cnt, |
| 34 | mib->tx_bf_rx_fb_he_cnt, |
| 35 | mib->tx_bf_rx_fb_vht_cnt, |
| 36 | mib->tx_bf_rx_fb_ht_cnt); |
| 37 | -- |
developer | 95671ae | 2023-09-25 14:16:05 +0800 | [diff] [blame^] | 38 | 2.39.2 |
developer | 281084d | 2023-06-19 12:03:50 +0800 | [diff] [blame] | 39 | |