mt76: fix software encryption issues
authorFelix Fietkau <nbd@nbd.name>
Thu, 31 Jan 2019 20:01:24 +0000 (21:01 +0100)
committerFelix Fietkau <nbd@nbd.name>
Mon, 18 Feb 2019 18:54:33 +0000 (19:54 +0100)
commit128b75bf5cf93bca71da740d3cb623c1febb6bf6
tree8fb59e595d32cf675e58d7a1b2409ecfef96d0aa
parente6287c337c30a1e7f3e697887534a75b1713a538
mt76: fix software encryption issues

Software encrypted packets can be passed not just through the drv_tx callback,
but also through the intermediate tx queue.
In order to deal with that, move the override to mt76x02_mac_write_txwi and
also take care of filling in the per-packet rate information

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x02_mac.c
drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c