| From fd7730026ccef8b0d5a52ac07ddb21af48def17d Mon Sep 17 00:00:00 2001 |
| From: Howard Hsu <howard-yh.hsu@mediatek.com> |
| Date: Thu, 20 Apr 2023 16:34:47 +0800 |
| Subject: [PATCH 32/39] wifi: mt76: mt7996: add eht mode tx stats |
| |
| Add eht mode bf fbk stats and bw320 through debugfs tx_stats command |
| |
| Signed-off-by: Howard Hsu <howard-yh.hsu@mediatek.com> |
| --- |
| mt7996/debugfs.c | 5 +++-- |
| 1 file changed, 3 insertions(+), 2 deletions(-) |
| |
| diff --git a/mt7996/debugfs.c b/mt7996/debugfs.c |
| index 0422018..ca4d615 100644 |
| --- a/mt7996/debugfs.c |
| +++ b/mt7996/debugfs.c |
| @@ -481,7 +481,7 @@ static void |
| mt7996_txbf_stat_read_phy(struct mt7996_phy *phy, struct seq_file *s) |
| { |
| static const char * const bw[] = { |
| - "BW20", "BW40", "BW80", "BW160" |
| + "BW20", "BW40", "BW80", "BW160", "BW320" |
| }; |
| struct mib_stats *mib = &phy->mib; |
| |
| @@ -495,8 +495,9 @@ mt7996_txbf_stat_read_phy(struct mt7996_phy *phy, struct seq_file *s) |
| /* Tx Beamformer Rx feedback monitor */ |
| seq_puts(s, "Tx Beamformer Rx feedback statistics: "); |
| |
| - seq_printf(s, "All: %d, HE: %d, VHT: %d, HT: %d, ", |
| + seq_printf(s, "All: %d, EHT: %d, HE: %d, VHT: %d, HT: %d, ", |
| mib->tx_bf_rx_fb_all_cnt, |
| + mib->tx_bf_rx_fb_eht_cnt, |
| mib->tx_bf_rx_fb_he_cnt, |
| mib->tx_bf_rx_fb_vht_cnt, |
| mib->tx_bf_rx_fb_ht_cnt); |
| -- |
| 2.18.0 |
| |