mt76: mt7915: fix incorrect testmode ipg on band 1 caused by wmm_idx
authorShayne Chen <shayne.chen@mediatek.com>
Mon, 20 Jun 2022 06:17:17 +0000 (14:17 +0800)
committerFelix Fietkau <nbd@nbd.name>
Mon, 11 Jul 2022 11:40:02 +0000 (13:40 +0200)
commit6e744cfeee02c2d8676eb55d5b3720808812f41f
tree0cb78ba81c54d611867bc6ceafe33403826f7b4b
parentc3f2ed588867e14560b86e9db6bf5ac29f03dc5a
mt76: mt7915: fix incorrect testmode ipg on band 1 caused by wmm_idx

Fix the issue that the measured inter packet gap didn't fit its
setting value.

Fixes: c2d3b1926f30 ("mt76: mt7915: add support for ipg in testmode")
Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/testmode.c