From: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
To: m.limarencko@yandex.ru, jjohnson@kernel.org
Cc: linux-wireless@vger.kernel.org, ath12k@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH ath-next v2 0/4] wifi: ath12k: harden stats/rate handling for WCN785x stability
Date: Wed, 25 Feb 2026 14:24:02 -0800 [thread overview]
Message-ID: <704dc2ae-cc22-463b-b858-060fe7d35f9b@oss.qualcomm.com> (raw)
In-Reply-To: <20260212121746.329619-1-m.limarencko@yandex.ru>
On 2/12/2026 4:17 AM, m.limarencko@yandex.ru wrote:
> From: Mikhail Limarenko <m.limarencko@yandex.ru>
>
> Hi Jeff, all,
>
> On QCNFA765/WCN785x (PCI, kernel 6.18.5) we observed three recurring
> issues:
>
> - chan info events with frequency not present in local survey range,
> producing invalid idx warnings;
> - frequent VDEV_STAT polling can block for 3 seconds on fw_stats_done
> timeouts and cause visible hitches;
> - occasional invalid MCS metadata (for example HE MCS=12) propagates
> into mac80211 status handling and correlates with ieee80211_rx_list
> warnings.
>
> This series addresses those cases by:
> 1. returning an explicit error from freq_to_idx() when no channel
> matches, and rejecting negative indexes in callers;
> 2. reducing the wait on VDEV_STAT fw_stats completion and skipping
> unnecessary waits for stats types that do not require it;
> 3. sanitizing invalid MCS metadata in both dp_rx and dp_mon paths by
> falling back to legacy metadata with ratelimited diagnostics.
>
> Tested on:
> - hardware: QCNFA765 (WCN785x)
> - kernel: 6.18.5+deb13-amd64
> - AP mode: 5 GHz (802.11ac)
>
> Observed after applying this series:
> - station dump polling no longer shows multi-second stalls in test runs;
> - no fresh ieee80211_rx_list WARN was observed in the same windows.
>
> v2:
> - patch 1/4 commit message no longer claims OOB in chan-info paths
> - patch 1/4 keeps matched-frequency index progression unchanged
> - patch 1/4 returns -ENOENT on no-match and callers reject negative idx
>
> Thanks,
> Mikhail Limarenko
>
> Mikhail Limarenko (4):
> wifi: ath12k: return error when survey frequency is not found
> wifi: ath12k: avoid long fw_stats waits on vdev stats hot path
> wifi: ath12k: sanitize invalid MCS metadata in rx path
> wifi: ath12k: sanitize invalid MCS metadata in monitor rx path
>
> drivers/net/wireless/ath/ath12k/dp_mon.c | 38 ++++++++++++++---------
> drivers/net/wireless/ath/ath12k/dp_rx.c | 39 ++++++++++++++----------
> drivers/net/wireless/ath/ath12k/mac.c | 22 +++++++++++--
> drivers/net/wireless/ath/ath12k/wmi.c | 9 +++------
> 4 files changed, 70 insertions(+), 38 deletions(-)
>
This series does not apply cleanly to ath/main (or ath/ath-next).
Please make sure the issues you saw have not already been fixed since there
were substantial changes from 6.18 => 6.19.
prev parent reply other threads:[~2026-02-25 22:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-12 12:17 [PATCH ath-next v2 0/4] wifi: ath12k: harden stats/rate handling for WCN785x stability m.limarencko
2026-02-12 12:17 ` [PATCH ath-next v2 1/4] wifi: ath12k: return error when survey frequency is not found m.limarencko
2026-02-12 12:17 ` [PATCH ath-next v2 2/4] wifi: ath12k: avoid long fw_stats waits on vdev stats hot path m.limarencko
2026-02-26 1:50 ` Baochen Qiang
2026-02-12 12:17 ` [PATCH ath-next v2 3/4] wifi: ath12k: sanitize invalid MCS metadata in rx path m.limarencko
2026-02-12 12:17 ` [PATCH ath-next v2 4/4] wifi: ath12k: sanitize invalid MCS metadata in monitor " m.limarencko
2026-02-25 22:24 ` Jeff Johnson [this message]
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=704dc2ae-cc22-463b-b858-060fe7d35f9b@oss.qualcomm.com \
--to=jeff.johnson@oss.qualcomm.com \
--cc=ath12k@lists.infradead.org \
--cc=jjohnson@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=m.limarencko@yandex.ru \
/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