public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH wireless v2 0/4] wifi: mt76: fix RCPI chain 3 mask in sta_poll RSSI extraction
@ 2026-04-07  0:15 Joshua Klinesmith
  2026-04-07  0:15 ` [PATCH wireless v2 1/4] wifi: mt76: mt7915: " Joshua Klinesmith
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Joshua Klinesmith @ 2026-04-07  0:15 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.
---
v1 -> v2: Rebased on wireless.git (was mt76-fixes)

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: ce5cc2702bb63ecd1f2066acb7d6e7d19081618d
-- 
2.43.0


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

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

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

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