mt76: mt7921s: fix missing fc type/sub-type for 802.11 pkts
authorDeren Wu <deren.wu@mediatek.com>
Wed, 9 Feb 2022 01:40:27 +0000 (09:40 +0800)
committerFelix Fietkau <nbd@nbd.name>
Wed, 23 Feb 2022 10:32:18 +0000 (11:32 +0100)
commit355c060d5f38a784822d544e969121a273bcf545
tree54985d72ee4a5b4f1c91a293e8c6c60af02e3f55
parentb962252bba7e01f2a6c5d12cc67f4870608d5a4f
mt76: mt7921s: fix missing fc type/sub-type for 802.11 pkts

For non-mmio devices, should set fc values to proper txwi config

Fixes: 48fab5bbef40 ("mt76: mt7921: introduce mt7921s support")
Tested-by: Sean Wang <sean.wang@mediatek.com>
Co-developed-by: Leon Yen <Leon.Yen@mediatek.com>
Signed-off-by: Leon Yen <Leon.Yen@mediatek.com>
Signed-off-by: Deren Wu <deren.wu@mediatek.com>
Acked-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7921/mac.c
drivers/net/wireless/mediatek/mt76/mt7921/mac.h