OSDN Git Service

wifi: mt76: mt7915: add spatial extension index support
authorShayne Chen <shayne.chen@mediatek.com>
Fri, 30 Sep 2022 15:13:14 +0000 (23:13 +0800)
committerFelix Fietkau <nbd@nbd.name>
Thu, 1 Dec 2022 16:29:12 +0000 (17:29 +0100)
commit7a9a957b2be6e894d7d207d987c343b566d71b1d
tree913f1c5fe8787e669fadcabc18e346640c5dbe6e
parentfaf2e7b5de08acd296bd12cfa20a32b92a8170cf
wifi: mt76: mt7915: add spatial extension index support

In previous, we only allow user to configure tx antenna mask
contiguously (e.g. 0x3, 0xf).
This patch allows user to configure tx antenna mask interleavingly
(e.g. 0x5, 0x8). By setting proper antenna mask and nss, user can
prioritized the signal of different antennas, which helps to test
their performance in normal mode.

Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/main.c
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c
drivers/net/wireless/mediatek/mt76/mt7915/mcu.h
drivers/net/wireless/mediatek/mt76/mt7915/testmode.c