mt76: mt7921: fix stats register definitions
authorLorenzo Bianconi <lorenzo@kernel.org>
Mon, 22 Feb 2021 18:17:49 +0000 (19:17 +0100)
committerFelix Fietkau <nbd@nbd.name>
Sun, 11 Apr 2021 22:01:22 +0000 (00:01 +0200)
commitf76e9019913bffee0e49b096068e6f6b12f9b0e0
treec59efbf725454bf3bdf432985adf2d220bd1e611
parent8e84836283f18c8a408c422794a9d4ec1412f3c6
mt76: mt7921: fix stats register definitions

Fix register definitions for mac80211 stats reporting.
Move mib counter reset to mt7921_get_stats routine.

Fixes: 163f4d22c118d ("mt76: mt7921: add MAC support")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7921/mac.c
drivers/net/wireless/mediatek/mt76/mt7921/main.c
drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h
drivers/net/wireless/mediatek/mt76/mt7921/regs.h