From: Jiale Yao <yaojiale02@163.com>
To: Felix Fietkau <nbd@nbd.name>,
Lorenzo Bianconi <lorenzo@kernel.org>,
Ryder Lee <ryder.lee@mediatek.com>,
Shayne Chen <shayne.chen@mediatek.com>,
Sean Wang <sean.wang@mediatek.com>,
Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
MeiChia Chiu <meichia.chiu@mediatek.com>,
Howard Hsu <howard-yh.hsu@mediatek.com>,
linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org
Cc: Jiale Yao <jiale.yao@example.com>
Subject: [PATCH 0/2] wifi: mt76: mt7996: clamp beamforming NSS
Date: Mon, 19 Oct 2026 17:33:05 +0800 [thread overview]
Message-ID: <20261019093307.1869749-1-yaojiale02@163.com> (raw)
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
next reply other threads:[~2026-10-19 9:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-19 9:33 Jiale Yao [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261019093307.1869749-1-yaojiale02@163.com \
--to=yaojiale02@163.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=howard-yh.hsu@mediatek.com \
--cc=jiale.yao@example.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-wireless@vger.kernel.org \
--cc=lorenzo@kernel.org \
--cc=matthias.bgg@gmail.com \
--cc=meichia.chiu@mediatek.com \
--cc=nbd@nbd.name \
--cc=ryder.lee@mediatek.com \
--cc=sean.wang@mediatek.com \
--cc=shayne.chen@mediatek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®