summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGen Xu <genxu6@gmail.com>2024-01-27 20:04:30 +0300
committerFelix Fietkau <nbd@nbd.name>2024-02-22 11:55:18 +0300
commit7b4f9cd6a5fc221895b1d9be83ee3c13c00d09ab (patch)
treefa9675b3c61c87a85fe791cd8f2f498c2a8da943
parentde8882775156682ba358afc82cb575c92cf3d092 (diff)
downloadlinux-7b4f9cd6a5fc221895b1d9be83ee3c13c00d09ab.tar.xz
wifi: mt76: mt792x: fix ethtool warning
Add a missing EHT related field to fix the following ethtool warning: [98179.287352] mt7921e 0003:01:00.0: ei: 74 SSTATS_LEN: 73 Fixes: c74df1c067f2 ("wifi: mt76: mt792x: introduce mt792x-lib module") Signed-off-by: Gen Xu <genxu6@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt792x_core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt792x_core.c b/drivers/net/wireless/mediatek/mt76/mt792x_core.c
index 7872fbae7252..a405af8d9052 100644
--- a/drivers/net/wireless/mediatek/mt76/mt792x_core.c
+++ b/drivers/net/wireless/mediatek/mt76/mt792x_core.c
@@ -354,6 +354,7 @@ static const char mt792x_gstrings_stats[][ETH_GSTRING_LEN] = {
"v_tx_bw_40",
"v_tx_bw_80",
"v_tx_bw_160",
+ "v_tx_bw_320",
"v_tx_mcs_0",
"v_tx_mcs_1",
"v_tx_mcs_2",