]> git.baikalelectronics.ru Git - kernel.git/commit
mt76: mt7615: fix reading airtime statistics
authorFelix Fietkau <nbd@nbd.name>
Tue, 18 Aug 2020 10:44:05 +0000 (12:44 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 24 Sep 2020 16:10:15 +0000 (18:10 +0200)
commit3c5a6cea4bdf0212ce233532cf1cce754f5cacb8
treed74e85e90fc34e96403c3c56fd14f0f8c26533a5
parent3f9fcbaba9c50df011165a5d41c0a2593031685b
mt76: mt7615: fix reading airtime statistics

- change the WTBL LMAC access function to set the mapping window only once
- use ac * 2 as offset, since each AC has separate words for rx and tx

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/mac.c