[PATCH 0/2] wifi: mt76: mt7996: clamp beamforming NSS

From: Jiale Yao

Date: Mon Oct 19 2026 - 05:34:34 EST


From: Jiale Yao <jiale.yao@xxxxxxxxxxx>

The mt7996 beamforming configuration converts a peer maximum NSS to a
zero-based column count. A peer may report no receive streams for a
VHT, HE, or EHT MCS range. Decrementing that zero value underflows and
can send an invalid beamforming configuration to firmware.

Patch 1 fixes the shared VHT and HE MCS-map conversion. Patch 2 fixes
the corresponding EHT conversions for 80, 160, and 320 MHz operation.

The series was checked with scripts/checkpatch.pl, and each patch was
checked for application against the common base.

Jiale Yao (2):
wifi: mt76: mt7996: clamp VHT/HE beamforming NSS
wifi: mt76: mt7996: clamp EHT beamforming NSS

drivers/net/wireless/mediatek/mt76/mt7996/mcu.c | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)

--
2.34.1