mt76x02: fixup MT_PROT_RATE_* defines
authorStanislaw Gruszka <sgruszka@redhat.com>
Mon, 10 Dec 2018 10:53:56 +0000 (11:53 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 11 Jan 2019 14:10:17 +0000 (15:10 +0100)
commit493d2dfab34bb88563a6a64801c7d604537ca958
tree668b46a7a88ae5e18366f9a574d1fe9d2a89cda8
parent20ce270e5a7da08fdf946ed674ba10c71d18fdfb
mt76x02: fixup MT_PROT_RATE_* defines

On new mt76 chips, phy mode is configured by last 3 bits
of rate value. Hence OFDM bit is marked by 0x2000
instead of 0x4000.

Acked-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x02_regs.h