Skip to content

Commit 028b4f2

Browse files
LorenzoBianconinbd168
authored andcommitted
wifi: mt76: mt7921: fix reporting of TX AGGR histogram
Similar to mt7915, fix stats clash between bins [4-7] in 802.11 tx aggregation histogram. Fixes: 163f4d2 ("mt76: mt7921: add MAC support") Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
1 parent 528d13e commit 028b4f2

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/wireless/mediatek/mt76/mt7921

1 file changed

+1
-1
lines changed

drivers/net/wireless/mediatek/mt76/mt7921/mac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -984,7 +984,7 @@ void mt7921_mac_update_mib_stats(struct mt7921_phy *phy)
984984
mib->tx_amsdu_cnt += val;
985985
}
986986

987-
for (i = 0, aggr1 = aggr0 + 4; i < 4; i++) {
987+
for (i = 0, aggr1 = aggr0 + 8; i < 4; i++) {
988988
u32 val2;
989989

990990
val = mt76_rr(dev, MT_TX_AGG_CNT(0, i));

0 commit comments

Comments
 (0)