Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Henry Zhang <henryzhang62@gmail.com>
To: stable@vger.kernel.org
Cc: Henry Zhang <henryzhang62@gmail.com>,
	greg@kroah.com, jjohnson@kernel.org, quic_lingbok@quicinc.com,
	linux-wireless@vger.kernel.org, ath11k@lists.infradead.org
Subject: [PATCH 6.6.y 0/2] wifi: ath11k: fix ack and average signal strength
Date: Mon, 30 Nov 2026 18:27:19 -0800	[thread overview]
Message-ID: <cover.1795996800.git.henryzhang62@gmail.com> (raw)
In-Reply-To: <2026112814-habitable-falsify-b2ab@gregkh>

Backports of two ath11k fixes from mainline (v6.11), as requested in:
https://lore.kernel.org/stable/2026112814-habitable-falsify-b2ab@gregkh/

  94f228ac4f5b ("wifi: ath11k: fix ack signal strength calculation")
  aadeee47e9d7 ("wifi: ath11k: modify the calculation of the average
                 signal strength in station mode")

On firmware that reports signal in dBm, 6.6.y adds the noise floor to an
unsigned ack signal and to the average signal, so "iw station dump"
reports incorrect values, including impossible positive values.

Both commits apply to 6.6.y as-is.

Testing:

- A full x86_64 kernel and modules build on top of v6.6.163 completed
  with CONFIG_ATH11K=m and CONFIG_ATH11K_PCI=m. A separate W=1 ath11k
  build had the same one pre-existing debugfs warning before and after
  the series, with no errors.
- Runtime-tested the same code changes on a QCA6390 (hw2.0,
  fw 0x101c06cc) with Ubuntu 6.8.0-149. The stock and patched ath11k
  modules were built from the same Ubuntu source. The stock module's
  srcversion matched the installed running module, and the patched
  module's srcversion matched the module loaded at boot.
- The affected calculations and field declarations in that Ubuntu
  source match 6.6.y; surrounding source differences do not affect the
  patched code. I have not booted a 6.6.y kernel.

Representative station dumps from separate boots, using the same AP
and frequency:

  station dump              stock           with the two commits
  signal                    -63 dBm         -63 dBm
  signal avg                 98 dBm         -61 dBm
  last ack signal           102 dBm         -60 dBm
  avg ack signal            -97 dBm         -60 dBm

  (Beacon signal average was -57 dBm in both boots. Both boots also
   completed 60 gateway pings with no packet loss.)

Lingbo Kong (2):
  wifi: ath11k: fix ack signal strength calculation
  wifi: ath11k: modify the calculation of the average signal strength in
    station mode

 drivers/net/wireless/ath/ath11k/dp_tx.c  | 16 ++++++++++++----
 drivers/net/wireless/ath/ath11k/dp_tx.h  |  4 ++--
 drivers/net/wireless/ath/ath11k/hal_tx.h |  4 ++--
 drivers/net/wireless/ath/ath11k/mac.c    |  7 +++++--
 4 files changed, 21 insertions(+), 10 deletions(-)

-- 
2.34.1


  reply	other threads:[~2026-12-01  2:27 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
2026-12-01  2:27   ` Henry Zhang [this message]
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=cover.1795996800.git.henryzhang62@gmail.com \
    --to=henryzhang62@gmail.com \
    --cc=ath11k@lists.infradead.org \
    --cc=greg@kroah.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox