From: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
To: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>, jjohnson@kernel.org
Cc: ath11k@lists.infradead.org, ath12k@lists.infradead.org,
linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/5] wifi: ath12k: fixes to improve MLO station stability
Date: Fri, 31 Jul 2026 15:04:01 -0700 [thread overview]
Message-ID: <a9565939-0ff0-4672-a733-20692b9f9f26@oss.qualcomm.com> (raw)
In-Reply-To: <20260727162748.963275-1-jtornosm@redhat.com>
On 7/27/2026 9:27 AM, Jose Ignacio Tornos Martinez wrote:
> This series improves firmware crash recovery and connection stability
> for MLO (Wi-Fi 7) stations on ath12k. Both work correctly for non-MLO
> (Wi-Fi 6) stations, where the driver handles the full teardown and
> reconnect cycle without issues and maintains stable connections. This
> series brings MLO to the same level.
>
> Without these fixes, a firmware crash during an active MLO connection
> results in kernel warnings, NULL pointer dereferences, 20+ second
> recovery delays, and periodic disconnections both after recovery and
> during normal operation under heavy traffic.
>
> Patches 1-3 fix firmware crash recovery:
>
> Patch 1 moves the RECOVERY flag clear to reconfig_complete and adds
> CRASH_FLUSH guards to prevent operations on dead firmware.
> Patch 2 prevents scans during recovery to avoid NULL dereferences.
> Patch 3 fixes ML peer ID desync between host and firmware by syncing
> the peer ID from firmware's actual value.
>
> Patches 4-5 fix MLO beacon miss handling:
>
> Patch 4 fixes beacon_iter to iterate all MLO links instead of only
> deflink for BSSID matching and connection_loss_work
> cancellation.
> Patch 5 complements patch 4 by skipping connection_loss_work for MLO
> entirely, since its cancellation mechanism is unreliable and
> the mac80211 probe triggered by ieee80211_beacon_loss() is
> sufficient to detect real AP unreachability, as done by other
> MLO-capable drivers such as mt76 and rtw89.
>
> Tested on WCN7850 with MLO (Wi-Fi 7).
> Firmware crashes were observed to occur spontaneously during normal
> MLO operation with intense traffic testing, though rarely.
> The debugfs simulate_fw_crash interface was used for systematic testing
> and reproduction during active MLO connections with traffic.
>
> Note: I will have limited availability from mid-August to
> mid-September. I will address any review feedback before then
> or promptly after returning.
>
> Jose Ignacio Tornos Martinez (5):
> wifi: ath12k: fix MLO station firmware crash recovery
> wifi: ath12k: prevent scan during firmware recovery
> wifi: ath12k: fix MLO dp_peer ID desync with firmware
> wifi: ath12k: fix MLO beacon handling using per-link addressing
> wifi: ath12k: skip connection_loss_work for MLO beacon miss
>
This series doesn't apply to ath/main, please rebase:
Applying: wifi: ath12k: fix MLO station firmware crash recovery
Using index info to reconstruct a base tree...
M drivers/net/wireless/ath/ath12k/core.c
M drivers/net/wireless/ath/ath12k/hal.c
M drivers/net/wireless/ath/ath12k/mac.c
M drivers/net/wireless/ath/ath12k/peer.c
Falling back to patching base and 3-way merge...
Auto-merging drivers/net/wireless/ath/ath12k/peer.c
CONFLICT (content): Merge conflict in drivers/net/wireless/ath/ath12k/peer.c
Auto-merging drivers/net/wireless/ath/ath12k/mac.c
Auto-merging drivers/net/wireless/ath/ath12k/hal.c
Auto-merging drivers/net/wireless/ath/ath12k/core.c
Recorded preimage for 'drivers/net/wireless/ath/ath12k/peer.c'
error: Failed to merge in the changes.
Patch failed at 0001 wifi: ath12k: fix MLO station firmware crash recovery
next prev parent reply other threads:[~2026-07-31 22:04 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-27 16:27 [PATCH 0/5] wifi: ath12k: fixes to improve MLO station stability Jose Ignacio Tornos Martinez
2026-07-27 16:27 ` [PATCH 1/5] wifi: ath12k: fix MLO station firmware crash recovery Jose Ignacio Tornos Martinez
2026-07-31 8:48 ` Baochen Qiang
2026-08-03 15:02 ` Jose Ignacio Tornos Martinez
2026-07-27 16:27 ` [PATCH 2/5] wifi: ath12k: prevent scan during firmware recovery Jose Ignacio Tornos Martinez
2026-07-31 8:16 ` Baochen Qiang
2026-08-03 15:08 ` Jose Ignacio Tornos Martinez
2026-07-27 16:27 ` [PATCH 3/5] wifi: ath12k: fix MLO dp_peer ID desync with firmware Jose Ignacio Tornos Martinez
2026-07-31 8:02 ` Baochen Qiang
2026-08-03 15:12 ` Jose Ignacio Tornos Martinez
2026-07-27 16:27 ` [PATCH 4/5] wifi: ath12k: fix MLO beacon handling using per-link addressing Jose Ignacio Tornos Martinez
2026-07-31 8:48 ` Baochen Qiang
2026-08-03 15:18 ` Jose Ignacio Tornos Martinez
2026-07-27 16:27 ` [PATCH 5/5] wifi: ath12k: skip connection_loss_work for MLO beacon miss Jose Ignacio Tornos Martinez
2026-07-31 8:48 ` Baochen Qiang
2026-08-03 15:22 ` Jose Ignacio Tornos Martinez
2026-07-31 22:04 ` Jeff Johnson [this message]
2026-08-03 14:56 ` [PATCH 0/5] wifi: ath12k: fixes to improve MLO station stability Jose Ignacio Tornos Martinez
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=a9565939-0ff0-4672-a733-20692b9f9f26@oss.qualcomm.com \
--to=jeff.johnson@oss.qualcomm.com \
--cc=ath11k@lists.infradead.org \
--cc=ath12k@lists.infradead.org \
--cc=jjohnson@kernel.org \
--cc=jtornosm@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@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