wifi: mt76: connac: add nss calculation into mt76_connac2_mac_tx_rate_val()
authorRyder Lee <ryder.lee@mediatek.com>
Thu, 13 Apr 2023 20:23:30 +0000 (04:23 +0800)
committerFelix Fietkau <nbd@nbd.name>
Mon, 17 Apr 2023 15:46:07 +0000 (17:46 +0200)
commit9c54548bc9e46217c551ed69fd2f14f4cb5155eb
treeef5e73fcb9ec3aa62d13a085c302341fb5448e3b
parent3d2892e05086d09aecf14ea64b2debbf495e313c
wifi: mt76: connac: add nss calculation into mt76_connac2_mac_tx_rate_val()

Take nss calculation into account since this function always wrongly
returns 0.

Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76_connac_mac.c