projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4232f0
)
mt76: mt7615: in debugfs queue stats, skip wmm index 3 on mt7663
author
Felix Fietkau
<nbd@nbd.name>
Fri, 3 Dec 2021 19:09:04 +0000
(20:09 +0100)
committer
Felix Fietkau
<nbd@nbd.name>
Sun, 19 Dec 2021 14:24:03 +0000
(15:24 +0100)
The hardware only supports WMM index 0-2 and registers for index 3 return
bogus data.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/debugfs.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/mt7615/debugfs.c
b/drivers/net/wireless/mediatek/mt76/mt7615/debugfs.c
index 6fd6f067da49f73e2a51ee2ec0d27d58ce09862b..b53528014fbccfed0ee87b3929d59c6e1dd1ba21 100644
(file)
--- a/
drivers/net/wireless/mediatek/mt76/mt7615/debugfs.c
+++ b/
drivers/net/wireless/mediatek/mt76/mt7615/debugfs.c
@@
-359,6
+359,9
@@
mt7615_queues_acq(struct seq_file *s, void *data)
int acs = i / MT7615_MAX_WMM_SETS;
u32 ctrl, val, qlen = 0;
+ if (wmm_idx == 3 && is_mt7663(&dev->mt76))
+ continue;
+
val = mt76_rr(dev, MT_PLE_AC_QEMPTY(acs, wmm_idx));
ctrl = BIT(31) | BIT(15) | (acs << 8);