wifi: mt76: connac: update nss calculation in txs
authorEvelyn Tsai <evelyn.tsai@mediatek.com>
Fri, 11 Nov 2022 07:36:15 +0000 (15:36 +0800)
committerFelix Fietkau <nbd@nbd.name>
Thu, 1 Dec 2022 16:29:13 +0000 (17:29 +0100)
commitfa67120bc8c78e66bc23d385e6dfbc1de6c25134
tree243c5e7e084de0dad49ff42eff75d0811d1e71df
parent510ef2269428f87146ad5076229994d8e05b8193
wifi: mt76: connac: update nss calculation in txs

The hardware reports the number of transmitting antennas not the actual
number of spatial streams

Co-developed-by: Peter Chiu <chui-hao.chiu@mediatek.com>
Signed-off-by: Peter Chiu <chui-hao.chiu@mediatek.com>
Signed-off-by: Evelyn Tsai <evelyn.tsai@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76_connac_mac.c