* [STABLE REQUEST] wifi: ath11k: signal strength fixes for 6.6.y and 6.1.y
@ 2026-11-28 5:04 Henry Zhang
2026-11-28 7:30 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Henry Zhang @ 2026-11-28 5:04 UTC (permalink / raw)
To: stable; +Cc: jjohnson, quic_lingbok, linux-wireless, ath11k
Hi,
Please consider these two mainline commits for 6.6.y and 6.1.y:
94f228ac4f5b ("wifi: ath11k: fix ack signal strength calculation")
aadeee47e9d7 ("wifi: ath11k: modify the calculation of the average
signal strength in station mode")
Both are in mainline since v6.11 and in 6.12.y, but not in 6.6.y or
6.1.y, which still add ATH11K_DEFAULT_NOISE_FLOOR to the ack signal and
to the average signal unconditionally.
On firmware that reports the signal as a signed dBm byte
(WMI_TLV_SERVICE_HW_DB2DBM_CONVERSION_SUPPORT), these paths treat that
byte as unsigned and still add the -95 dB noise floor, so
"iw dev <wlan> station dump" reports impossible positive values while
"signal" itself is right. Seen on a QCA6390 (fw 0x101c06cc) with an
Ubuntu 6.8 kernel, which has the same affected calculations as 6.6.y:
signal: -47 [-50, -51] dBm
signal avg: 109 dBm
last ack signal: 103 dBm
avg ack signal: 47 dBm
109 is 204 - 95, where 204 (0xcc) is -52 dBm, and 103 is 198 - 95,
where 198 (0xc6) is -58 dBm. Userspace that reads these values over
nl80211 gets wrong numbers. No connectivity problem was seen.
The average signal code was added by b205ce4c266c ("ath11k: support
avg signal in station dump"), so 5.15.y does not have that part; I
have not checked 5.15.y for the ack signal part.
- 6.6.y: both commits apply as-is.
- 6.1.y: aadeee47e9d7 applies as-is. 94f228ac4f5b conflicts only in
the Copyright line of dp_tx.h; I can send a backport without that
line if that helps.
Testing: upstream, 94f228ac4f5b was tested on WCN6855 and QCN9074, and
aadeee47e9d7 on WCN6855. I applied both to the Ubuntu 6.8.0-138 ath11k
sources and built the modules against the 6.8.0-138 headers without
warnings (BTF generation was skipped, as vmlinux was not available).
I have not run them on the QCA6390, and I have not built 6.6.y or
6.1.y with them.
Thanks,
Henry Zhang
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [STABLE REQUEST] wifi: ath11k: signal strength fixes for 6.6.y and 6.1.y
2026-11-28 5:04 [STABLE REQUEST] wifi: ath11k: signal strength fixes for 6.6.y and 6.1.y Henry Zhang
@ 2026-11-28 7:30 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2026-11-28 7:30 UTC (permalink / raw)
To: Henry Zhang; +Cc: stable, jjohnson, quic_lingbok, linux-wireless, ath11k
On Fri, Nov 27, 2026 at 09:04:06PM -0800, Henry Zhang wrote:
> Hi,
>
> Please consider these two mainline commits for 6.6.y and 6.1.y:
>
> 94f228ac4f5b ("wifi: ath11k: fix ack signal strength calculation")
> aadeee47e9d7 ("wifi: ath11k: modify the calculation of the average
> signal strength in station mode")
>
> Both are in mainline since v6.11 and in 6.12.y, but not in 6.6.y or
> 6.1.y, which still add ATH11K_DEFAULT_NOISE_FLOOR to the ack signal and
> to the average signal unconditionally.
>
> On firmware that reports the signal as a signed dBm byte
> (WMI_TLV_SERVICE_HW_DB2DBM_CONVERSION_SUPPORT), these paths treat that
> byte as unsigned and still add the -95 dB noise floor, so
> "iw dev <wlan> station dump" reports impossible positive values while
> "signal" itself is right. Seen on a QCA6390 (fw 0x101c06cc) with an
> Ubuntu 6.8 kernel, which has the same affected calculations as 6.6.y:
>
> signal: -47 [-50, -51] dBm
> signal avg: 109 dBm
> last ack signal: 103 dBm
> avg ack signal: 47 dBm
>
> 109 is 204 - 95, where 204 (0xcc) is -52 dBm, and 103 is 198 - 95,
> where 198 (0xc6) is -58 dBm. Userspace that reads these values over
> nl80211 gets wrong numbers. No connectivity problem was seen.
>
> The average signal code was added by b205ce4c266c ("ath11k: support
> avg signal in station dump"), so 5.15.y does not have that part; I
> have not checked 5.15.y for the ack signal part.
>
> - 6.6.y: both commits apply as-is.
> - 6.1.y: aadeee47e9d7 applies as-is. 94f228ac4f5b conflicts only in
> the Copyright line of dp_tx.h; I can send a backport without that
> line if that helps.
Please send tested backport series for all of these.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-28 7:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-28 5:04 [STABLE REQUEST] wifi: ath11k: signal strength fixes for 6.6.y and 6.1.y Henry Zhang
2026-11-28 7:30 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox