wifi: mt76: mt7996: set correct beamformee SS capability
authorHoward Hsu <howard-yh.hsu@mediatek.com>
Fri, 16 Aug 2024 09:46:30 +0000 (17:46 +0800)
committerFelix Fietkau <nbd@nbd.name>
Thu, 5 Sep 2024 11:01:55 +0000 (13:01 +0200)
commit0cca3fe7453189b983eb68baea939192b58af8f0
tree27ffb0382017e856b6c18d67c1fa203e04ae1b9d
parente1f4847fdbdf5d44ae60e035c131920e5ab88598
wifi: mt76: mt7996: set correct beamformee SS capability

According to IEEE P802.11be/D6.0 Table 9-417n, beamformee SS field stands
for the maximum number of spatial streams that the STA can receive in an
EHT sounding NDP minus 1, and the minimum value of this field is 3.

This value indicates the decoding capability of a beamformee, which is
independent of current antenna settings. Correct the value for mt7996
and mt7992 chipsets based on their HW capability.

Signed-off-by: Howard Hsu <howard-yh.hsu@mediatek.com>
Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
Link: https://patch.msgid.link/20240816094635.2391-6-shayne.chen@mediatek.com
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7996/init.c