mt76: mt7915: force ldpc for bw larger than 20MHz in testmode
authorShayne Chen <shayne.chen@mediatek.com>
Tue, 5 Jan 2021 05:41:00 +0000 (13:41 +0800)
committerFelix Fietkau <nbd@nbd.name>
Tue, 26 Jan 2021 19:07:48 +0000 (20:07 +0100)
commit1fdcc310ff4c751154726ddf9601feecafe1b6ca
tree2e816424e87bc0018bfaa3d785c36d138f6fe75d
parentb9027e0816ebbced1248924beffc28f0146c0e72
mt76: mt7915: force ldpc for bw larger than 20MHz in testmode

LDPC should be set when bw is larger than 20MHz to make
testmode tx work normally.

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