mt7925: MLO connectivity silently stalls with 6GHz link active
Subsystems (3)
Thanks for the detailed breakdown.
I'll build v7.0 vanilla and test it, as suggested. Fair warning
though: I'm on vacation this week, so I'll pick this up next week. I've also never compiled a kernel before, so it'll likely take me a bit of trial and error the first time around - please bear with me if it takes a little longer than expected.
Will report back once I have results.
Thanks again,
Jonas
19.08.2026 03:18:34 Devin Wittmayer <[email protected]>:
Quoted 58 lines
Thank you very much, that answers both things.
The ROC tracing is the more useful of the two even though it came back negative. Two of the three freezes have no ROC activity in them at all, so a link switch that never finished cannot be what starts this. The middle one does have rocabort, mloroc and rocwork in it, but one out of three makes that look like the exception rather than the pattern. So the area I sent you looking at is out, and that is worth knowing before you spend nights on builds.
One other thing worth saying first. There is a five patch mt76 series on the list at the moment and two of the patches look like they were written for exactly this bug. I do not think they were, and it is your own numbers that show it. The failure 4/5 fixes stops
mt76_txq_schedule_listfrom servicing the queue, and the one 5/5 fixes stopsmt76_txq_send_burstonce the non-AQL count reaches its cap. Both of those keep frames from ever reaching the hardware, so if either were your problem head would be sitting still alongside tail. Yours does the opposite. Head climbs 390 to 408 while tail stays at 260, so the frames are getting into the ring and nothing is finishing them, which is the far end of the same path. 2/5 is a use after free when an interface goes away, so it does not fit either. I would not expect that series to change what you see.On the bisect I would build v7.0 next. There are 32 mt7925 commits between 7.0 and 7.1 and 19 of them are one run of work from Sean Wang, reworking how the driver tracks the per link mlink and WCID for an MLO station. That is the kind of change that fits a bug only showing up with two links up. If v7.0 comes back clean, that series is where I would look. If v7.0 is already broken then it is off the hook and 6.19 becomes the next split. The mt76 core and mac80211 both moved in the same window, so mt7925 is where I would look first rather than the only place worth looking.
Devin
Am 17.08.26 um 23:34 schrieb Jonas Hort:
Quoted 5 lines
Quick follow-up: managed to confirm 6.18 as a clean baseline on my own hardware now (not just secondhand from others in the forum thread) - running Linux 6.18.42-1-cachyos-lts with MLO active (5GHz+6GHz, same FritzBox 5690 Pro) for 3 hours straight, no freeze at all.
Am 17.08.26 um 16:25 schrieb Jonas Hort:
Quoted 14 lines
One correction to how I described this earlier: the connection does NOT reliably self-heal on its own. I have manually intervened every single time to restore connectivity [...]
Update on the ROC tracing: three real freezes captured now with the kprobes active (all confirmed via the WFDMA0 tail-frozen signature).
- Freeze #1 (15:37): no ROC activity in the trace.
- Freeze #2 (15:43): [...] The trace shows several ROC events (rocabort, mloroc, rocwork) clustered together.
- Freeze #3 (16:15): no ROC activity again.Uploaded all three logs to the bugzilla ticket if useful:
https://bugzilla.kernel.org/show_bug.cgi?id=221884
Quick update: v7.0 vanilla has been running clean for over 2 hours now with MLO active (5GHz+6GHz, same FritzBox 5690 Pro), no freeze at all.
Am 19.08.26 um 11:03 schrieb Jonas Hort:
Quoted 72 lines
Thanks for the detailed breakdown.
I'll build v7.0 vanilla and test it, as suggested. Fair warning
though: I'm on vacation this week, so I'll pick this up next week. I've also never compiled a kernel before, so it'll likely take me a bit of trial and error the first time around - please bear with me if it takes a little longer than expected.Will report back once I have results.
Thanks again,
Jonas19.08.2026 03:18:34 Devin Wittmayer <[email protected]>:
Quoted 57 lines
Thank you very much, that answers both things.
The ROC tracing is the more useful of the two even though it came back negative. Two of the three freezes have no ROC activity in them at all, so a link switch that never finished cannot be what starts this. The middle one does have rocabort, mloroc and rocwork in it, but one out of three makes that look like the exception rather than the pattern. So the area I sent you looking at is out, and that is worth knowing before you spend nights on builds.
One other thing worth saying first. There is a five patch mt76 series on the list at the moment and two of the patches look like they were written for exactly this bug. I do not think they were, and it is your own numbers that show it. The failure 4/5 fixes stops
mt76_txq_schedule_listfrom servicing the queue, and the one 5/5 fixes stopsmt76_txq_send_burstonce the non-AQL count reaches its cap. Both of those keep frames from ever reaching the hardware, so if either were your problem head would be sitting still alongside tail. Yours does the opposite. Head climbs 390 to 408 while tail stays at 260, so the frames are getting into the ring and nothing is finishing them, which is the far end of the same path. 2/5 is a use after free when an interface goes away, so it does not fit either. I would not expect that series to change what you see.On the bisect I would build v7.0 next. There are 32 mt7925 commits between 7.0 and 7.1 and 19 of them are one run of work from Sean Wang, reworking how the driver tracks the per link mlink and WCID for an MLO station. That is the kind of change that fits a bug only showing up with two links up. If v7.0 comes back clean, that series is where I would look. If v7.0 is already broken then it is off the hook and 6.19 becomes the next split. The mt76 core and mac80211 both moved in the same window, so mt7925 is where I would look first rather than the only place worth looking.
Devin
Am 17.08.26 um 23:34 schrieb Jonas Hort:
Quoted 5 lines
Quick follow-up: managed to confirm 6.18 as a clean baseline on my own hardware now (not just secondhand from others in the forum thread) - running Linux 6.18.42-1-cachyos-lts with MLO active (5GHz+6GHz, same FritzBox 5690 Pro) for 3 hours straight, no freeze at all.
Am 17.08.26 um 16:25 schrieb Jonas Hort:
Quoted 14 lines
One correction to how I described this earlier: the connection does NOT reliably self-heal on its own. I have manually intervened every single time to restore connectivity [...]
Update on the ROC tracing: three real freezes captured now with the kprobes active (all confirmed via the WFDMA0 tail-frozen signature).
- Freeze #1 (15:37): no ROC activity in the trace.
- Freeze #2 (15:43): [...] The trace shows several ROC events (rocabort, mloroc, rocwork) clustered together.
- Freeze #3 (16:15): no ROC activity again.Uploaded all three logs to the bugzilla ticket if useful:
https://bugzilla.kernel.org/show_bug.cgi?id=221884
Bisect is done. First bad commit:
ff643b81bc38eaff6c0ab783a62e4ba9e10d2476
wifi: mt76: mt7925: pass mlink and mconf to sta_mld_tlv() Sean Wang, 2026-03-06
https://patch.msgid.link/[email protected]
Bisected on vanilla, path-restricted to drivers/net/wireless/mediatek/mt76/mt7925/, using v7.0 as good and v7.1 as bad. Each step was booted and tested with MLO active (5GHz+6GHz, FritzBox 5690 Pro), and every "bad" verdict was confirmed by the WFDMA0 signature (tail frozen while head keeps advancing), not just by the connection dropping.
ea757740dd87 pass WCID indices to bss_basic_tlv() good (45 min clean) ff643b81bc38 pass mlink and mconf to sta_mld_tlv() bad (freeze after ~4 min) dc019e3294c7 pass mlink to mcu_sta_update() bad (freeze after ~3 min) 9e4d518a4707 pass mlink to mac_link_sta_remove() bad (freeze after ~4 min) cf9db836b1e0 pass mlink to set_link_key() bad (freeze after ~4 min)
git bisect log and the incident logs for each step are available if useful - happy to attach them to the bugzilla ticket or send them here.
Let me know if you want anything else tested.
Thanks,
Jonas
Am 22.08.26 um 22:18 schrieb Jonas Hort:
Quoted 75 lines
Quick update: v7.0 vanilla has been running clean for over 2 hours now with MLO active (5GHz+6GHz, same FritzBox 5690 Pro), no freeze at all.
Am 19.08.26 um 11:03 schrieb Jonas Hort:
Quoted 72 lines
Thanks for the detailed breakdown.
I'll build v7.0 vanilla and test it, as suggested. Fair warning
though: I'm on vacation this week, so I'll pick this up next week. I've also never compiled a kernel before, so it'll likely take me a bit of trial and error the first time around - please bear with me if it takes a little longer than expected.Will report back once I have results.
Thanks again,
Jonas19.08.2026 03:18:34 Devin Wittmayer <[email protected]>:
Quoted 57 lines
Thank you very much, that answers both things.
The ROC tracing is the more useful of the two even though it came back negative. Two of the three freezes have no ROC activity in them at all, so a link switch that never finished cannot be what starts this. The middle one does have rocabort, mloroc and rocwork in it, but one out of three makes that look like the exception rather than the pattern. So the area I sent you looking at is out, and that is worth knowing before you spend nights on builds.
One other thing worth saying first. There is a five patch mt76 series on the list at the moment and two of the patches look like they were written for exactly this bug. I do not think they were, and it is your own numbers that show it. The failure 4/5 fixes stops
mt76_txq_schedule_listfrom servicing the queue, and the one 5/5 fixes stopsmt76_txq_send_burstonce the non-AQL count reaches its cap. Both of those keep frames from ever reaching the hardware, so if either were your problem head would be sitting still alongside tail. Yours does the opposite. Head climbs 390 to 408 while tail stays at 260, so the frames are getting into the ring and nothing is finishing them, which is the far end of the same path. 2/5 is a use after free when an interface goes away, so it does not fit either. I would not expect that series to change what you see.On the bisect I would build v7.0 next. There are 32 mt7925 commits between 7.0 and 7.1 and 19 of them are one run of work from Sean Wang, reworking how the driver tracks the per link mlink and WCID for an MLO station. That is the kind of change that fits a bug only showing up with two links up. If v7.0 comes back clean, that series is where I would look. If v7.0 is already broken then it is off the hook and 6.19 becomes the next split. The mt76 core and mac80211 both moved in the same window, so mt7925 is where I would look first rather than the only place worth looking.
Devin
Am 17.08.26 um 23:34 schrieb Jonas Hort:
Quoted 5 lines
Quick follow-up: managed to confirm 6.18 as a clean baseline on my own hardware now (not just secondhand from others in the forum thread) - running Linux 6.18.42-1-cachyos-lts with MLO active (5GHz+6GHz, same FritzBox 5690 Pro) for 3 hours straight, no freeze at all.
Am 17.08.26 um 16:25 schrieb Jonas Hort:
Quoted 14 lines
One correction to how I described this earlier: the connection does NOT reliably self-heal on its own. I have manually intervened every single time to restore connectivity [...]
Update on the ROC tracing: three real freezes captured now with the kprobes active (all confirmed via the WFDMA0 tail-frozen signature).
- Freeze #1 (15:37): no ROC activity in the trace.
- Freeze #2 (15:43): [...] The trace shows several ROC events (rocabort, mloroc, rocwork) clustered together.
- Freeze #3 (16:15): no ROC activity again.Uploaded all three logs to the bugzilla ticket if useful:
https://bugzilla.kernel.org/show_bug.cgi?id=221884
Quoted 4 lines · Jonas Hort
Bisect is done. First bad commit:
ff643b81bc38eaff6c0ab783a62e4ba9e10d2476
wifi: mt76: mt7925: pass mlink and mconf tosta_mld_tlv()
Jonas, that is a careful bisect and it holds up here. The commit is Sean Wang's, absent from v7.0, present in v7.1, and ea757740dd87 really is its parent. Adding Sean, who knows this code far better than I do.
The part I would look at first is the link count. Before, it came from the number of valid links, capped at two. After, the primary is always written and a second only when the caller passes one, with the count taken from however many got written. So a two link station updated on the primary would tell firmware it has one link where it used to say two. Subtle, and easy to miss in a change that is otherwise a straight simplification.
That is from reading the diff rather than reproducing it, so Sean may well see something I have not. Nothing has touched that function since, so 7.1, 7.2 and mainline all behave the same way.
Jonas, yes please to the bisect log. If the setup is still up, that commit also added a rate limited warning about a missing primary mconf, so it may be worth grepping your failing runs for MLD_TLV_LINK.
Thank you for the work you put into this, it was not a small ask.
Devin
Quoted 6 lines · Jonas Hort
Bisect is done. First bad commit:
ff643b81bc38eaff6c0ab783a62e4ba9e10d2476
wifi: mt76: mt7925: pass mlink and mconf tosta_mld_tlv()Sean Wang, 2026-03-06
https://patch.msgid.link/[email protected]
Then let's add Sean to the list of recipients. :-D
Sean, FWIW, this thread starts here:
https://lore.kernel.org/all/[email protected]/t/#u
To quote the summary: "WiFi 7 MLO (5GHz+6GHz) on MT7925 silently stops passing traffic after a few minutes, while the driver continues to report a fully healthy link. Root cause appears to be a stalled WFDMA0 TX hardware queue."
Ciao, Thorsten
Quoted 123 lines
Bisected on vanilla, path-restricted to
drivers/net/wireless/mediatek/mt76/mt7925/, using v7.0 as good and v7.1 as bad. Each step was booted and tested with MLO active (5GHz+6GHz, FritzBox 5690 Pro), and every "bad" verdict was confirmed by the WFDMA0 signature (tail frozen while head keeps advancing), not just by the connection dropping.ea757740dd87 pass WCID indices to bss_basic_tlv() good (45 min clean)
ff643b81bc38 pass mlink and mconf to sta_mld_tlv() bad (freeze after ~4 min)
dc019e3294c7 pass mlink to mcu_sta_update() bad (freeze after ~3 min)
9e4d518a4707 pass mlink to mac_link_sta_remove() bad (freeze after ~4 min)
cf9db836b1e0 pass mlink to set_link_key() bad (freeze after ~4 min)git bisect log and the incident logs for each step are available if useful - happy to attach them to the bugzilla ticket or send them here.
Let me know if you want anything else tested.
Thanks,
JonasAm 22.08.26 um 22:18 schrieb Jonas Hort:
Quoted 95 lines
Quick update: v7.0 vanilla has been running clean for over 2 hours now with MLO active (5GHz+6GHz, same FritzBox 5690 Pro), no freeze at all.
Am 19.08.26 um 11:03 schrieb Jonas Hort:
Quoted 91 lines
Thanks for the detailed breakdown.
I'll build v7.0 vanilla and test it, as suggested. Fair warning
though: I'm on vacation this week, so I'll pick this up next week. I've also never compiled a kernel before, so it'll likely take me a bit of trial and error the first time around - please bear with me if it takes a little longer than expected.Will report back once I have results.
Thanks again,
Jonas19.08.2026 03:18:34 Devin Wittmayer <[email protected]>:
Quoted 76 lines
Thank you very much, that answers both things.
The ROC tracing is the more useful of the two even though it came back negative. Two of the three freezes have no ROC activity in them at all, so a
link switch that never finished cannot be what starts this. The middle one
does have rocabort, mloroc and rocwork in it, but one out of three makes
that look like the exception rather than the pattern. So the area I sent you
looking at is out, and that is worth knowing before you spend nights on builds.One other thing worth saying first. There is a five patch mt76 series on the
list at the moment and two of the patches look like they were written for
exactly this bug. I do not think they were, and it is your own numbers that
show it. The failure 4/5 fixes stopsmt76_txq_schedule_listfrom servicing
the queue, and the one 5/5 fixes stopsmt76_txq_send_burstonce the non-AQL
count reaches its cap. Both of those keep frames from ever reaching the hardware, so if either were your problem head would be sitting still alongside tail. Yours does the opposite. Head climbs 390 to 408 while tail
stays at 260, so the frames are getting into the ring and nothing is finishing them, which is the far end of the same path. 2/5 is a use after
free when an interface goes away, so it does not fit either. I would not
expect that series to change what you see.On the bisect I would build v7.0 next. There are 32 mt7925 commits between
7.0 and 7.1 and 19 of them are one run of work from Sean Wang, reworking how
the driver tracks the per link mlink and WCID for an MLO station. That is
the kind of change that fits a bug only showing up with two links up. If
v7.0 comes back clean, that series is where I would look. If v7.0 is already
broken then it is off the hook and 6.19 becomes the next split. The mt76
core and mac80211 both moved in the same window, so mt7925 is where I would
look first rather than the only place worth looking.Devin
Am 17.08.26 um 23:34 schrieb Jonas Hort:
Quoted 5 lines
Quick follow-up: managed to confirm 6.18 as a clean baseline on my own hardware now (not just secondhand from others in the forum thread) - running Linux 6.18.42-1-cachyos-lts with MLO active (5GHz+6GHz, same FritzBox 5690 Pro) for 3 hours straight, no freeze at all.
Am 17.08.26 um 16:25 schrieb Jonas Hort:
Quoted 14 lines
One correction to how I described this earlier: the connection does NOT reliably self-heal on its own. I have manually intervened every single time to restore connectivity [...]
Update on the ROC tracing: three real freezes captured now with the kprobes active (all confirmed via the WFDMA0 tail-frozen signature).
- Freeze #1 (15:37): no ROC activity in the trace.
- Freeze #2 (15:43): [...] The trace shows several ROC events (rocabort, mloroc, rocwork) clustered together.
- Freeze #3 (16:15): no ROC activity again.Uploaded all three logs to the bugzilla ticket if useful:
https://bugzilla.kernel.org/show_bug.cgi?id=221884
Thanks Devin, and thanks for pulling Sean in.
git biscet log:
# bad: [8cd9520d35a6c38db6567e97dd93b1f11f185dc6] Linux 7.1
# good: [028ef9c96e96197026887c0f092424679298aae8] Linux 7.0
git bisect start 'v7.1' 'v7.0' '--' 'drivers/net/wireless/mediatek/mt76/mt7925/'
# good: [ea757740dd87c0b00c4844dd3282dff4d83fa3c7] wifi: mt76: mt7925: pass WCID indices to bss_basic_tlv() git bisect good ea757740dd87c0b00c4844dd3282dff4d83fa3c7
# bad: [cf9db836b1e069a3d6a80c72b9bdc12df78b0dd1] wifi: mt76: mt7925: pass mlink to set_link_key() git bisect bad cf9db836b1e069a3d6a80c72b9bdc12df78b0dd1
# bad: [9e4d518a4707175e1154876b760d4f2b39967e9d] wifi: mt76: mt7925: pass mlink to mac_link_sta_remove() git bisect bad 9e4d518a4707175e1154876b760d4f2b39967e9d
# bad: [dc019e3294c7e3c6e997bb11732d46ce0d9211e9] wifi: mt76: mt7925: pass mlink to mcu_sta_update() git bisect bad dc019e3294c7e3c6e997bb11732d46ce0d9211e9
# bad: [ff643b81bc38eaff6c0ab783a62e4ba9e10d2476] wifi: mt76: mt7925: pass mlink and mconf to sta_mld_tlv() git bisect bad ff643b81bc38eaff6c0ab783a62e4ba9e10d2476
# first 'bad' commit: [ff643b81bc38eaff6c0ab783a62e4ba9e10d2476] wifi: mt76: mt7925: pass mlink and mconf to sta_mld_tlv()
On the warning: no hits. I grepped all incident logs for MLD_TLV_LINK and for anything mentioning primary/mconf, and also checked the current boot directly. The only mt7925 lines present are the usual init ones:
mt7925e 0000:09:00.0: ASIC revision: 79250000
mt7925e 0000:09:00.0: HW/SW Version: 0x8a108a10, Build Time: 20260605184651a mt7925e 0000:09:00.0: WM Firmware Version: ____000000, Build Time: 20260605184805
Each incident log captures journalctl -k for the 5 minutes leading up to the freeze plus the last 400 dmesg lines, so if it had fired around the stall it should have been in there. Still on the ff643b81bc38 kernel here, so happy to re-check with a different search term if I grepped for the wrong thing.
Setup is still up and I can build and test whatever is useful.
Thanks,
Jonas
Am 24.08.26 um 06:52 schrieb Thorsten Leemhuis:
Quoted 142 lines · Jonas Hort
Quoted 6 lines
Bisect is done. First bad commit:
ff643b81bc38eaff6c0ab783a62e4ba9e10d2476
wifi: mt76: mt7925: pass mlink and mconf tosta_mld_tlv()Sean Wang, 2026-03-06
https://patch.msgid.link/[email protected]Then let's add Sean to the list of recipients. :-D
Sean, FWIW, this thread starts here:
https://lore.kernel.org/all/[email protected]/t/#u
To quote the summary: "WiFi 7 MLO (5GHz+6GHz) on MT7925 silently stops passing traffic after a few minutes, while the driver continues to report a fully healthy link. Root cause appears to be a stalled WFDMA0 TX hardware queue."
Ciao, Thorsten
Quoted 123 lines
Bisected on vanilla, path-restricted to
drivers/net/wireless/mediatek/mt76/mt7925/, using v7.0 as good and v7.1 as bad. Each step was booted and tested with MLO active (5GHz+6GHz, FritzBox 5690 Pro), and every "bad" verdict was confirmed by the WFDMA0 signature (tail frozen while head keeps advancing), not just by the connection dropping.ea757740dd87 pass WCID indices to bss_basic_tlv() good (45 min
clean)
ff643b81bc38 pass mlink and mconf to sta_mld_tlv() bad (freeze
after ~4 min)
dc019e3294c7 pass mlink to mcu_sta_update() bad (freeze
after ~3 min)
9e4d518a4707 pass mlink to mac_link_sta_remove() bad (freeze
after ~4 min)
cf9db836b1e0 pass mlink to set_link_key() bad (freeze
after ~4 min)git bisect log and the incident logs for each step are available if useful - happy to attach them to the bugzilla ticket or send them here.
Let me know if you want anything else tested.
Thanks,
JonasAm 22.08.26 um 22:18 schrieb Jonas Hort:
Quoted 95 lines
Quick update: v7.0 vanilla has been running clean for over 2 hours now with MLO active (5GHz+6GHz, same FritzBox 5690 Pro), no freeze at all.
Am 19.08.26 um 11:03 schrieb Jonas Hort:
Quoted 91 lines
Thanks for the detailed breakdown.
I'll build v7.0 vanilla and test it, as suggested. Fair warning
though: I'm on vacation this week, so I'll pick this up next week. I've also never compiled a kernel before, so it'll likely take me a bit of trial and error the first time around - please bear with me if it takes a little longer than expected.Will report back once I have results.
Thanks again,
Jonas19.08.2026 03:18:34 Devin Wittmayer <[email protected]>:
Quoted 76 lines
Thank you very much, that answers both things.
The ROC tracing is the more useful of the two even though it came back negative. Two of the three freezes have no ROC activity in them at all, so a
link switch that never finished cannot be what starts this. The middle one
does have rocabort, mloroc and rocwork in it, but one out of three makes
that look like the exception rather than the pattern. So the area I sent you
looking at is out, and that is worth knowing before you spend nights on builds.One other thing worth saying first. There is a five patch mt76 series on the
list at the moment and two of the patches look like they were written for
exactly this bug. I do not think they were, and it is your own numbers that
show it. The failure 4/5 fixes stopsmt76_txq_schedule_listfrom servicing
the queue, and the one 5/5 fixes stopsmt76_txq_send_burstonce the non-AQL
count reaches its cap. Both of those keep frames from ever reaching the hardware, so if either were your problem head would be sitting still alongside tail. Yours does the opposite. Head climbs 390 to 408 while tail
stays at 260, so the frames are getting into the ring and nothing is finishing them, which is the far end of the same path. 2/5 is a use after
free when an interface goes away, so it does not fit either. I would not
expect that series to change what you see.On the bisect I would build v7.0 next. There are 32 mt7925 commits between
7.0 and 7.1 and 19 of them are one run of work from Sean Wang, reworking how
the driver tracks the per link mlink and WCID for an MLO station. That is
the kind of change that fits a bug only showing up with two links up. If
v7.0 comes back clean, that series is where I would look. If v7.0 is already
broken then it is off the hook and 6.19 becomes the next split. The mt76
core and mac80211 both moved in the same window, so mt7925 is where I would
look first rather than the only place worth looking.Devin
Am 17.08.26 um 23:34 schrieb Jonas Hort:
Quoted 5 lines
Quick follow-up: managed to confirm 6.18 as a clean baseline on my own hardware now (not just secondhand from others in the forum thread) - running Linux 6.18.42-1-cachyos-lts with MLO active (5GHz+6GHz, same FritzBox 5690 Pro) for 3 hours straight, no freeze at all.
Am 17.08.26 um 16:25 schrieb Jonas Hort:
Quoted 14 lines
One correction to how I described this earlier: the connection does NOT reliably self-heal on its own. I have manually intervened every single time to restore connectivity [...]
Update on the ROC tracing: three real freezes captured now with the kprobes active (all confirmed via the WFDMA0 tail-frozen signature).
- Freeze #1 (15:37): no ROC activity in the trace.
- Freeze #2 (15:43): [...] The trace shows several ROC events (rocabort, mloroc, rocwork) clustered together.
- Freeze #3 (16:15): no ROC activity again.Uploaded all three logs to the bugzilla ticket if useful:
https://bugzilla.kernel.org/show_bug.cgi?id=221884
Quoted 1 line · Jonas Hort
Setup is still up and I can build and test whatever is useful.
Your bisect holds here, on a different machine and a different access point, running your June firmware. Three states, each replicated:
both commits reverted clean, two runs of six minutes only the later one reverted stalls, two runs neither reverted stalls, three runs
Tail welded and head climbing, which is your signature. The tree is 7.2-rc5 with one unrelated ACPI patch of mine, nowhere near this path.
db134691924f lands fifteen commits after ff643b81bc38, and reverting it alone still stalls, so the builder rewrite is the one that matters. Reverting the builder on its own is not available either: v7.0's version dereferences a link pointer that the later commit leaves unpublished until after the firmware call, so it would need a check neither version has.
A correction to my last message. I pointed you at the link count, since the new code reports one link whenever the update concerns the primary. That undercount is real but it's not the cause. Telling firmware one link always is clean over two six-minute runs. Skipping the undercounting update entirely, so firmware is never told anything wrong, stalls on both runs. Writing the entries in v7.0's order stalls on all three.
On the August firmware, stock still stalls, twice, the detector firing 95 and 141 seconds into the run.
The band pair matters. Same driver, same August firmware, two runs each:
5 GHz + 6 GHz stalls 2.4 GHz + 5 GHz clean, full duration 2.4 GHz + 6 GHz clean, full duration
Not the channel width. Narrowing the 5 GHz link to 40 MHz, so that pair carries the same narrow-plus-wide mix as the clean ones, still stalls on both runs.
The sharpest pair there is the two runs where the iperf3 stream never established, leaving only the UDP pressure: 5 plus 6 stalled with the queue peaking at 187, and 2.4 plus 6 stayed clean at 186. The other three clean runs peaked above 1000.
Sean, the two things I can't see from out here: what firmware does with a multi-link record naming one link while a second is associated, and why 5 plus 6 should differ from 2.4 plus 6.
Jonas, thank you for the bisect. Five steps, every bad verdict confirmed on the queue signature.
Devin
Hi all,
Friendly ping on this one - any news on the mt7925 MLO stall?
No pressure, I know everyone's busy. My setup is still in place, so I'm happy to build and test patches or collect further traces if that would help. Nothing has changed here: still reproducible with the 5 GHz + 6 GHz pair.
Thanks for all the help so far.
Jonas
Am 30.08.26 um 00:13 schrieb Devin Wittmayer:
Quoted 53 lines · Jonas Hort
Quoted 1 line
Setup is still up and I can build and test whatever is useful.
Your bisect holds here, on a different machine and a different access point, running your June firmware. Three states, each replicated:
both commits reverted clean, two runs of six minutes only the later one reverted stalls, two runs neither reverted stalls, three runsTail welded and head climbing, which is your signature. The tree is 7.2-rc5 with one unrelated ACPI patch of mine, nowhere near this path.
db134691924flands fifteen commits afterff643b81bc38, and reverting it alone still stalls, so the builder rewrite is the one that matters. Reverting the builder on its own is not available either: v7.0's version dereferences a link pointer that the later commit leaves unpublished until after the firmware call, so it would need a check neither version has.A correction to my last message. I pointed you at the link count, since the new code reports one link whenever the update concerns the primary. That undercount is real but it's not the cause. Telling firmware one link always is clean over two six-minute runs. Skipping the undercounting update entirely, so firmware is never told anything wrong, stalls on both runs. Writing the entries in v7.0's order stalls on all three.
On the August firmware, stock still stalls, twice, the detector firing 95 and 141 seconds into the run.
The band pair matters. Same driver, same August firmware, two runs each:
5 GHz + 6 GHz stalls 2.4 GHz + 5 GHz clean, full duration 2.4 GHz + 6 GHz clean, full durationNot the channel width. Narrowing the 5 GHz link to 40 MHz, so that pair carries the same narrow-plus-wide mix as the clean ones, still stalls on both runs.
The sharpest pair there is the two runs where the iperf3 stream never established, leaving only the UDP pressure: 5 plus 6 stalled with the queue peaking at 187, and 2.4 plus 6 stayed clean at 186. The other three clean runs peaked above 1000.
Sean, the two things I can't see from out here: what firmware does with a multi-link record naming one link while a second is associated, and why 5 plus 6 should differ from 2.4 plus 6.
Jonas, thank you for the bisect. Five steps, every bad verdict confirmed on the queue signature.
Devin
Hi all,
I just came across this patch from Andrei Rusu de Castro, posted on 2026-09-02 with "Fixes: ff643b81bc38" (the commit I bisected to):
Patch wifi: mt76: mt7925: stabilize STA_REC_MLD link selection
https://ratatoskr.run/linux-wireless/2026/09/17497919
Could this be the fix for this regression? Devin, you mentioned the link count undercount is real but likely not the root cause - does this patch change that assessment?
I'm happy to test it on my hardware if that helps.
Thanks,
Jonas
Am 30.08.26 um 00:13 schrieb Devin Wittmayer:
Quoted 53 lines · Jonas Hort
Quoted 1 line
Setup is still up and I can build and test whatever is useful.
Your bisect holds here, on a different machine and a different access point, running your June firmware. Three states, each replicated:
both commits reverted clean, two runs of six minutes only the later one reverted stalls, two runs neither reverted stalls, three runsTail welded and head climbing, which is your signature. The tree is 7.2-rc5 with one unrelated ACPI patch of mine, nowhere near this path.
db134691924flands fifteen commits afterff643b81bc38, and reverting it alone still stalls, so the builder rewrite is the one that matters. Reverting the builder on its own is not available either: v7.0's version dereferences a link pointer that the later commit leaves unpublished until after the firmware call, so it would need a check neither version has.A correction to my last message. I pointed you at the link count, since the new code reports one link whenever the update concerns the primary. That undercount is real but it's not the cause. Telling firmware one link always is clean over two six-minute runs. Skipping the undercounting update entirely, so firmware is never told anything wrong, stalls on both runs. Writing the entries in v7.0's order stalls on all three.
On the August firmware, stock still stalls, twice, the detector firing 95 and 141 seconds into the run.
The band pair matters. Same driver, same August firmware, two runs each:
5 GHz + 6 GHz stalls 2.4 GHz + 5 GHz clean, full duration 2.4 GHz + 6 GHz clean, full durationNot the channel width. Narrowing the 5 GHz link to 40 MHz, so that pair carries the same narrow-plus-wide mix as the clean ones, still stalls on both runs.
The sharpest pair there is the two runs where the iperf3 stream never established, leaving only the UDP pressure: 5 plus 6 stalled with the queue peaking at 187, and 2.4 plus 6 stayed clean at 186. The other three clean runs peaked above 1000.
Sean, the two things I can't see from out here: what firmware does with a multi-link record naming one link while a second is associated, and why 5 plus 6 should differ from 2.4 plus 6.
Jonas, thank you for the bisect. Five steps, every bad verdict confirmed on the queue signature.
Devin
Quoted 8 lines · Jonas Hort
I just came across this patch from Andrei Rusu de Castro, posted on 2026-09-02 with "Fixes:
ff643b81bc38" (the commit I bisected to):Patch wifi: mt76: mt7925: stabilize
STA_REC_MLDlink selectionCould this be the fix for this regression? Devin, you mentioned the link count undercount is real but likely not the root cause - does this patch change that assessment?
The patch you found does not fix this stall. Andrei never claimed it would and it did no harm here, so this is not an argument against it.
bench A 2 Sep MT7925 PCIe, 7.2.0-rc5 + lockdep, morrownr @ 6b0ef22e bench B 3 Oct MT7925U USB, 7.2.6, morrownr @ 8e9309b both firmware 20260813113118, DevLabMLD on 5745 and 6135 MHz,
iw scan every 4 s under bulk upload. Neither is in-tree.
run bench last worked at 600 s
stock A 120 s dead + the patch A 141 s dead stock B 122 s dead + the patch, run 1 B 123 s dead + the patch, run 2 B 123 s dead primary link only B 583 s alive
Every two-link run died between 120 and 141 seconds, patched or not, and none recovered. Each stayed associated on both links, reporting a healthy rate while the AP heard nothing from the client.
The patch describes both links on every update. In August I got to that same record another way, dropping the undercounting update, and it stalled then too.
The arm that stays up describes the primary link only. Not a fix, it hides the second link, but the stall tracks whether that second link is in the record.
Thanks for your patience, and for the bisect and for finding the patch yourself.
Devin
Hi Devin, Jonas,
I reproduced the stall with my September patch on an MT7925 PCIe Z13 and traced the station commands sent to firmware. The missing case was the primary update inside secondary link addition.
mt7925_mac_link_sta_add() updates the primary WCID first, then the new secondary WCID. The new secondary is not in msta->link[] or valid_links until both commands succeed. My first patch included an unpublished link only when that link was the subject of the current command. It therefore still sent a one-link MLD description to the primary WCID, followed by a two-link description to the secondary WCID.
These are the captured fields during secondary addition, omitting an earlier primary-only association update:
command WCID count entries (WCID/BSS)
September patch 1 1 1/0
2 2 1/0, 2/1
September patch + early 1 2 1/0, 2/1
link publication 2 2 1/0, 2/1
v2 1 2 1/0, 2/1
2 2 1/0, 2/1V2 passes the initialized pending secondary explicitly through both station updates, without publishing it early. It keeps the existing publication-after-success and host error cleanup. It also keeps stable membership for subsequent updates. There is no new shared pending state.
On Linux 7.3-rc5 with firmware 20260813113118 and an ASUS GT-BE98:
upstream MLD path stalled at 157 seconds
September patch stalled at 289 seconds; repeated at 150 v2 813 seconds, 48 samples, no failures v2, second clean boot 812 seconds, no sustained stall under
20 Mbit/s traffic in each direction
The AP advertises three links. The active client pair was 5+6 GHz (active_links=0x3, valid_links=0x7). Failed runs had roughly 27-second full-band scans; both v2 runs returned to roughly 6.3-7.1 seconds. The second v2 run transferred about 1.9 GB in each direction over 760 seconds. It had one gateway-ping timeout after a neighbor flush, with REACHABLE neighbor state and successful IP/HTTPS probes in the same sample, so it did not pass the strict zero-failure gate. Traffic did not enter the persistent associated-but-dead state.
Tests used the in-tree driver plus the selected fix, with the separate scheduled-scan withdrawal and WM2 reset correction held constant. Other local platform patches did not change between these arms. My production variant additionally retains the applicable local safety guards in a separate patch; those guards are not part of this submission. That variant passed the full zero-failure gate on two PCIe Z13 machines (813 and 810 seconds), and both booted it successfully as their normal default. Five ordinary reconnects also passed on the first local variant.
The changed objects build with W=1 and -Werror on both the tested rc5 source and the current mt76 integration branch. Source-extracted fixtures exercise the pending-link records and host cleanup at eight failing MCU command positions. Those tests do not establish firmware rollback after a partly successful add.
Direct debugfs link switches and chip-reset tests exposed failures or aggregation teardown warnings that also occur with my previous working full-revert kernel. V2 is not claimed to resolve those. USB hardware and your exact FritzBox setup have not been tested here.
The v2 posted in reply to this message is based on mt76 commit 0dbc9c9fa9b9. Could you try it on
the setups where the September patch still stalled?
Thanks,
Andrei
PATCH v2 1/1 wifi: mt76: mt7925: keep MLD membership consistent during link add
mt7925_mac_link_sta_add() sends an ASSOC update for the primary WCID before sending the update for a new secondary WCID. The new link is published in msta->link[] and msta->valid_links only after both commands succeed.
Selecting the secondary entry from the subject of each command gives the primary STA_REC_MLD one link and the secondary STA_REC_MLD two links. Enumerating published links alone still omits the pending link from the primary command. Firmware-bound command captures reproduce this n=1/n=2 sequence during a secondary addition.
Build each MLD TLV from the station's published links and an explicit pending link. Pass the initialized pending link through both add-time station updates, including the update whose subject is the primary. Keep the primary first, bound entries by the firmware array, and skip links without station and BSS state. Other update callers have no pending link.
This leaves msta->link[] publication after successful link setup and preserves the existing add-failure cleanup. The pending pointer is used synchronously to populate the command, not stored in shared state.
---
Changes since v1:
- Carry an explicit initialized pending link through both add-time updates, not just the update whose subject is the pending secondary.
- Preserve msta->link[] publication after successful setup.
- Describe consistency between per-WCID commands without assuming a shared firmware record overwritten by the last command.
V1: https://lore.kernel.org/all/[email protected]/
Tested on MT7925 PCIe, Linux 7.3-rc5, firmware 20260813113118, ASUS GT-BE98 advertising three links with a 5+6 GHz active pair. The in-tree MLD path stalled after 157 seconds, v1 after 289 and 150 seconds. V2 passed a 48-sample, 813-second scan/traffic run; full-band scans returned to 6.3-7.1 seconds from about 27 seconds. A second clean boot did not stall through 812 seconds and 760 seconds of bilateral 20 Mbit/s traffic. One gateway ping timed out while same-sample IP/HTTPS passed, so that second run did not pass the strict zero-failure gate.
The local deployment variant, with separate retained safety guards, passed the same gate on two PCIe Z13 machines (813 and 810 seconds). Both then passed ordinary default boots. The scheduled-scan withdrawal and independent WM2 reset correction were retained throughout testing. USB hardware and the reporter's FritzBox setup remain untested here.
W=1/-Werror builds of changed objects pass on both rc5 and the mt76 base below. Source-extracted fixtures under ASan/UBSan cover pending-link encoding and host cleanup at eight failed BSS/STA command positions; they do not model firmware rollback. Direct partial-link switches and reset aggregation warnings also fail on the old full-revert baseline and are not claimed fixed by this patch.
.../net/wireless/mediatek/mt76/mt7925/mac.c | 2 +- .../net/wireless/mediatek/mt76/mt7925/main.c | 16 ++--- .../net/wireless/mediatek/mt76/mt7925/mcu.c | 59 +++++++++++++++---- .../wireless/mediatek/mt76/mt7925/mt7925.h | 3 +- 4 files changed, 60 insertions(+), 20 deletions(-)
drivers/net/wireless/mediatek/mt76/mt7925/mac.c +1 -1
@@ -1502,7 +1502,7 @@ mt7925_vif_connect_iter(void *priv, u8 *mac, true, NULL);mt7925_mcu_sta_update (dev,NULL , vif, &mvif->sta.deflink, true, -MT76_STA_INFO_STATE_NONE ); +MT76_STA_INFO_STATE_NONE ,NULL );mt7925_mcu_uni_add_beacon_offload (dev, hw, vif, true); } }
drivers/net/wireless/mediatek/mt76/mt7925/main.c +8 -8
@@ -1006,7 +1006,7 @@ static int mt7925_mac_link_sta_add(struct mt76_dev *mdev, link_sta == mlink->pri_link) { ret =mt7925_mcu_sta_update (dev, link_sta, vif, mlink, true, -MT76_STA_INFO_STATE_NONE ); +MT76_STA_INFO_STATE_NONE ,NULL );if (ret) goto out_pm; } else if (ieee80211_vif_is_mld(vif) &&
@@ -1028,19 +1028,19 @@ static int mt7925_mac_link_sta_add(struct mt76_dev *mdev, ret =mt7925_mcu_sta_update (dev, mlink->pri_link, vif, pri_mlink, true, -MT76_STA_INFO_STATE_ASSOC ); +MT76_STA_INFO_STATE_ASSOC , mlink);if (ret) goto out_pm; ret =mt7925_mcu_sta_update (dev, link_sta, vif, mlink, true, -MT76_STA_INFO_STATE_ASSOC ); +MT76_STA_INFO_STATE_ASSOC , mlink);if (ret) goto out_pm; }else { ret =mt7925_mcu_sta_update (dev, link_sta, vif, mlink, true, -MT76_STA_INFO_STATE_NONE ); +MT76_STA_INFO_STATE_NONE ,NULL );if (ret) goto out_pm; }
@@ -1248,7 +1248,7 @@ static void mt7925_mac_link_sta_assoc(struct mt76_dev *mdev,memset (mlink->airtime_ac,0 ,sizeof (mlink->airtime_ac));mt7925_mcu_sta_update (dev, link_sta, vif, mlink, true, -MT76_STA_INFO_STATE_ASSOC ); +MT76_STA_INFO_STATE_ASSOC ,NULL );mt792x_mutex_release (dev); }
@@ -1308,7 +1308,7 @@ static void mt7925_mac_link_sta_remove(struct mt76_dev *mdev,mt76_connac_pm_wake (&dev->mphy, &dev->pm);mt7925_mcu_sta_update (dev, link_sta, vif, mlink, false, -MT76_STA_INFO_STATE_NONE ); +MT76_STA_INFO_STATE_NONE ,NULL );mt7925_mac_wtbl_update (dev, mlink->wcid.idx,MT_WTBL_UPDATE_ADM_COUNT_CLEAR );
@@ -1979,7 +1979,7 @@ mt7925_start_ap(struct ieee80211_hw *hw, struct ieee80211_vif *vif, err =mt7925_mcu_sta_update (dev,NULL , vif, &mvif->sta.deflink, true, -MT76_STA_INFO_STATE_NONE ); +MT76_STA_INFO_STATE_NONE ,NULL ); out:mt792x_mutex_release (dev);
@@ -2123,7 +2123,7 @@ static void mt7925_vif_cfg_changed(struct ieee80211_hw *hw,if (changed &BSS_CHANGED_ASSOC ) {mt7925_mcu_sta_update (dev,NULL , vif, &mvif->sta.deflink, true, -MT76_STA_INFO_STATE_ASSOC ); +MT76_STA_INFO_STATE_ASSOC ,NULL );mt7925_mcu_set_beacon_filter (dev, vif, vif->cfg.assoc);if (ieee80211_vif_is_mld (vif))
drivers/net/wireless/mediatek/mt76/mt7925/mcu.c +49 -10
102 lines not on this page · raw message
drivers/net/wireless/mediatek/mt76/mt7925/mt7925.h +2 -1
@@ -286,7 +286,8 @@ int mt7925_mcu_sta_update(struct mt792x_dev *dev,struct ieee80211_vif *vif, struct mt792x_link_sta *mlink, bool enable, - enum mt76_sta_info_state state); + enum mt76_sta_info_state state, + struct mt792x_link_sta *pending);int mt7925_mcu_set_chan_info (struct mt792x_phy *phy,u16 tag);int mt7925_mcu_set_tx (struct mt792x_dev *dev,struct ieee80211_bss_conf *bss_conf);int mt7925_mcu_set_eeprom (struct mt792x_dev *dev);
base-commit: 0dbc9c9fa9b92767c2d556504f38b544cb57a96a
Signature · 1 line
2.54.0
Re: [PATCH v2] wifi: mt76: mt7925: keep MLD membership consistent during link add
Hi Andrei,
Tested v2 on top of v7.3-rc5 on my setup:
hardware MT7925 PCIe (mt7925e)
firmware 20260813113118
AP FritzBox 5690 Pro, FRITZ!OS 8.25
links 5GHz + 6GHz MLO (5200 + 6135 MHz)
stock 7.1.8 / 7.2-rc7 stalled after 3-5 minutes (WFDMA0 tail frozen) v7.3-rc5 + v2 46 minutes, no stall
Both links stayed active throughout, with about 4.2 GB received and 340 MB sent during the run. My watchdog (ping + WFDMA0 queue monitoring) did not trigger once.
Thanks for the fix!
Jonas
Re: [PATCH v2] wifi: mt76: mt7925: keep MLD membership consistent during link add
In reply to Andrei Rusu de CastroQuoted 1 line · Andrei Rusu de Castro
USB hardware and the reporter's FritzBox setup remain untested here.
Tested on a Netgear A9000 (MT7925U, USB), Linux 7.2.6, firmware 20260813113118, morrownr/mt76 at ce4ee3e, against a two-link mt7996 AP MLD on 5745 and 6135 MHz.
Your STA_REC_MLD capture reproduces here. Without v2 the AP got nothing on 5745 in any run I checked. With v2, 5745 carried traffic under the scan load from my earlier report:
stock v2 scan load, 600 s, mean per ~10 s 249, 267 MB 801, 837 MB scan load, 600 s, lowest ~10 s 126 B, 33 MB 643, 687 MB scan load, share of bytes on 5745 0 about 60% scanning off, share on 5745 0 0
Stock dipped under that load but did not stall for good this time, so the stall result is Jonas's run, not mine.
Thanks,
Devin