[PATCH wireless 0/4] wifi: mt76: fix RCPI chain 3 mask in sta_poll RSSI extraction

From: Joshua Klinesmith

Date: Mon Apr 06 2026 - 19:47:57 EST


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