wifi: mt76: mt7996: fix rx rate report for CBW320-2
authorPeter Chiu <chui-hao.chiu@mediatek.com>
Thu, 17 Aug 2023 08:01:50 +0000 (16:01 +0800)
committerFelix Fietkau <nbd@nbd.name>
Sat, 30 Sep 2023 18:03:04 +0000 (20:03 +0200)
commit0197923ecf5eb4dbd785f5576040d49611f591a4
treef767ab1f8c2adca3ef4cc373e2ca20362f9b5af2
parent9b11696e5c5bf6030a32571f3f88845226d8b662
wifi: mt76: mt7996: fix rx rate report for CBW320-2

RX vector reports channel bandwidth 320-1 and 320-2 with different
values. Fix it to correctly report rx rate when using CBW320-2.

Fixes: 80f5a31d2856 ("wifi: mt76: mt7996: add support for EHT rate report")
Signed-off-by: Peter Chiu <chui-hao.chiu@mediatek.com>
Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7996/mac.c