From: Greg KH <greg@kroah.com>
To: Henry Zhang <henryzhang62@gmail.com>
Cc: stable@vger.kernel.org, jjohnson@kernel.org,
quic_lingbok@quicinc.com, linux-wireless@vger.kernel.org,
ath11k@lists.infradead.org
Subject: Re: [STABLE REQUEST] wifi: ath11k: signal strength fixes for 6.6.y and 6.1.y
Date: Sat, 28 Nov 2026 08:30:30 +0100 [thread overview]
Message-ID: <2026112814-habitable-falsify-b2ab@gregkh> (raw)
In-Reply-To: <CANTW0ypcrw2+BAqVKWQ6BOY2eUDK+D47aXuO1zuwZ1VaYwyvVw@mail.gmail.com>
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
next prev parent reply other threads:[~2026-11-28 7:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
2026-12-01 2:27 ` [PATCH 6.6.y 0/2] wifi: ath11k: fix ack and average signal strength Henry Zhang
2026-12-01 2:27 ` [PATCH 6.6.y 1/2] wifi: ath11k: fix ack signal strength calculation Henry Zhang
2026-12-01 2:27 ` [PATCH 6.6.y 2/2] wifi: ath11k: modify the calculation of the average signal strength in station mode Henry Zhang
2026-12-01 2:27 ` [PATCH 6.1.y 0/2] wifi: ath11k: fix ack and average signal strength Henry Zhang
2026-12-01 2:27 ` [PATCH 6.1.y 1/2] wifi: ath11k: fix ack signal strength calculation Henry Zhang
2026-12-01 2:27 ` [PATCH 6.1.y 2/2] wifi: ath11k: modify the calculation of the average signal strength in station mode Henry Zhang
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=2026112814-habitable-falsify-b2ab@gregkh \
--to=greg@kroah.com \
--cc=ath11k@lists.infradead.org \
--cc=henryzhang62@gmail.com \
--cc=jjohnson@kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=quic_lingbok@quicinc.com \
--cc=stable@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.