mt76: mt7915: enable HE UL MU-MIMO
authorShayne Chen <shayne.chen@mediatek.com>
Mon, 18 Oct 2021 08:09:38 +0000 (16:09 +0800)
committerFelix Fietkau <nbd@nbd.name>
Wed, 20 Oct 2021 08:37:04 +0000 (10:37 +0200)
commitbbf77f6ccebfb3511b1a2a2e7e7b8f9c235fcf73
tree40bcc8c9d84f91ad1f951fba8b19c3df3b04499c
parent568a1b516a2c1c24ad908dfd8b77e5ac6a3580c3
mt76: mt7915: enable HE UL MU-MIMO

Enable HE UL MU-MIMO in sta_rec_muru, which works on both ap and station
mode.

For sending trigger frames, one of the conditions fw uses is to check if
mib rx airtime meets the threshold.
There's a main control of mib rx airtime report register in fw, so we
need to enable the register by mcu cmd instead of directly writing it,
otherwise it will still be disabled by fw.

Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/init.c
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c
drivers/net/wireless/mediatek/mt76/mt7915/mcu.h
drivers/net/wireless/mediatek/mt76/mt7915/regs.h