mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] wifi: mt76: mt7996: clamp beamforming NSS
@ 2026-10-19  9:33 Jiale Yao
  2026-10-19  9:33 ` [PATCH 1/2] wifi: mt76: mt7996: clamp VHT/HE " Jiale Yao
  2026-10-19  9:33 ` [PATCH 2/2] wifi: mt76: mt7996: clamp EHT " Jiale Yao
  0 siblings, 2 replies; 4+ messages in thread
From: Jiale Yao @ 2026-10-19  9:33 UTC (permalink / raw)
  To: Felix Fietkau, Lorenzo Bianconi, Ryder Lee, Shayne Chen,
	Sean Wang, Matthias Brugger, AngeloGioacchino Del Regno,
	MeiChia Chiu, Howard Hsu, linux-wireless, linux-kernel,
	linux-arm-kernel, linux-mediatek
  Cc: Jiale Yao

From: Jiale Yao <jiale.yao@example.com>

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


^ permalink raw reply	[flat|nested] 4+ messages in thread
* [PATCH 0/2] wifi: mt76: mt7996: clamp beamforming NSS
@ 2026-10-19 10:10 Jiale Yao
  2026-10-19 10:10 ` [PATCH 1/2] wifi: mt76: mt7996: clamp VHT/HE " Jiale Yao
  0 siblings, 1 reply; 4+ messages in thread
From: Jiale Yao @ 2026-10-19 10:10 UTC (permalink / raw)
  To: Felix Fietkau, Lorenzo Bianconi, Ryder Lee, Shayne Chen,
	Sean Wang, Matthias Brugger, AngeloGioacchino Del Regno,
	MeiChia Chiu, Bo Jiao, Howard Hsu, Peter Chiu, linux-wireless,
	linux-kernel, linux-arm-kernel, linux-mediatek
  Cc: Jiale Yao

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-10-19 10:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-19  9:33 [PATCH 0/2] wifi: mt76: mt7996: clamp beamforming NSS Jiale Yao
2026-10-19  9:33 ` [PATCH 1/2] wifi: mt76: mt7996: clamp VHT/HE " Jiale Yao
2026-10-19  9:33 ` [PATCH 2/2] wifi: mt76: mt7996: clamp EHT " Jiale Yao
2026-10-19 10:10 [PATCH 0/2] wifi: mt76: mt7996: clamp " Jiale Yao
2026-10-19 10:10 ` [PATCH 1/2] wifi: mt76: mt7996: clamp VHT/HE " Jiale Yao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®