public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH wireless 0/4] wifi: mt76: fix RCPI chain 3 mask in sta_poll RSSI extraction
@ 2026-04-06 23:47 Joshua Klinesmith
  2026-04-06 23:47 ` [PATCH wireless 1/4] wifi: mt76: mt7915: " Joshua Klinesmith
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Joshua Klinesmith @ 2026-04-06 23:47 UTC (permalink / raw)
  To: linux-wireless
  Cc: nbd, lorenzo, ryder.lee, shayne.chen, sean.wang, linux-kernel,
	Joshua Klinesmith

The fourth receive chain RCPI extraction in sta_poll uses
GENMASK(31, 14), an 18-bit mask spanning bits 14-31. It should
be GENMASK(31, 24), an 8-bit mask for the fourth byte, consistent
with the other three chains and with the RCPI3 definitions used
elsewhere in the driver.

On devices with fewer than 4 antenna chains the corrupted value
is masked out by antenna_mask. On 4-chain devices this produces
incorrect ACK signal strength readings.

Joshua Klinesmith (4):
  wifi: mt76: mt7915: fix RCPI chain 3 mask in sta_poll RSSI extraction
  wifi: mt76: mt7996: fix RCPI chain 3 mask in sta_poll RSSI extraction
  wifi: mt76: mt7921: fix RCPI chain 3 mask in sta_poll RSSI extraction
  wifi: mt76: mt7925: fix RCPI chain 3 mask in sta_poll RSSI extraction

 drivers/net/wireless/mediatek/mt76/mt7915/mac.c | 2 +-
 drivers/net/wireless/mediatek/mt76/mt7921/mac.c | 2 +-
 drivers/net/wireless/mediatek/mt76/mt7925/mac.c | 2 +-
 drivers/net/wireless/mediatek/mt76/mt7996/mac.c | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)


base-commit: d863fb7a97fab243b48ce2e5e21243dee5abbcdd
-- 
2.43.0


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

end of thread, other threads:[~2026-04-07 17:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-06 23:47 [PATCH wireless 0/4] wifi: mt76: fix RCPI chain 3 mask in sta_poll RSSI extraction Joshua Klinesmith
2026-04-06 23:47 ` [PATCH wireless 1/4] wifi: mt76: mt7915: " Joshua Klinesmith
2026-04-06 23:47 ` [PATCH wireless 2/4] wifi: mt76: mt7996: " Joshua Klinesmith
2026-04-06 23:47 ` [PATCH wireless 3/4] wifi: mt76: mt7921: " Joshua Klinesmith
2026-04-06 23:47 ` [PATCH wireless 4/4] wifi: mt76: mt7925: " Joshua Klinesmith
2026-04-07 15:25   ` Ben Greear
2026-04-07 16:00     ` Joshua Klinesmith
2026-04-07 16:31       ` Ben Greear
2026-04-07 16:58         ` Joshua Klinesmith
2026-04-07 17:31           ` Ben Greear
2026-04-07 17:35             ` Joshua Klinesmith

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