|
| 1 | +From: David Bauer < [email protected]> |
| 2 | +Date: Sat, 29 Nov 2025 03:53:16 +0100 |
| 3 | +Subject: wifi: mt76: mt76x02: wake queues after reconfig |
| 4 | + |
| 5 | +The shared reset procedure of MT7610 and MT7612 stop all queues before |
| 6 | +starting the reset sequence. |
| 7 | + |
| 8 | +They however never restart these like other supported mt76 chips |
| 9 | +do in the reconfig_complete call. This leads to TX not continuing |
| 10 | +after the reset. |
| 11 | + |
| 12 | +Restart queues in the reconfig_complete callback to restore |
| 13 | +functionality after the reset. |
| 14 | + |
| 15 | +Signed-off-by: David Bauer < [email protected]> |
| 16 | +Link: https://patchwork.kernel.org/project/linux-wireless/patch/ [email protected]/ |
| 17 | + |
| 18 | +diff --git a/package/kernel/mt76/patches/350-wifi-mt76-mt76x02-wake-queues-after-reconfig.patch b/package/kernel/mt76/patches/350-wifi-mt76-mt76x02-wake-queues-after-reconfig.patch |
| 19 | +new file mode 100644 |
| 20 | +index 0000000000000000000000000000000000000000..8d9a2477da94d01f4f19dca7b34fb374ac13439b |
| 21 | +--- /dev/null |
| 22 | ++++ b/package/kernel/mt76/patches/350-wifi-mt76-mt76x02-wake-queues-after-reconfig.patch |
| 23 | +@@ -0,0 +1,31 @@ |
| 24 | ++From 189755ebda9163c7745be8b675672ca619f0f34e Mon Sep 17 00:00:00 2001 |
| 25 | ++From: David Bauer <[email protected]> |
| 26 | ++Date: Sat, 29 Nov 2025 03:36:32 +0100 |
| 27 | ++Subject: [PATCH mt76] wifi: mt76: mt76x02: wake queues after reconfig |
| 28 | ++ |
| 29 | ++The shared reset procedure of MT7610 and MT7612 stop all queues before |
| 30 | ++starting the reset sequence. |
| 31 | ++ |
| 32 | ++They however never restart these like other supported mt76 chips |
| 33 | ++do in the reconfig_complete call. This leads to TX not continuing |
| 34 | ++after the reset. |
| 35 | ++ |
| 36 | ++Restart queues in the reconfig_complete callback to restore |
| 37 | ++functionality after the reset. |
| 38 | ++ |
| 39 | ++Signed-off-by: David Bauer <[email protected]> |
| 40 | ++Link: https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/ |
| 41 | ++--- |
| 42 | ++ mt76x02_mmio.c | 1 + |
| 43 | ++ 1 file changed, 1 insertion(+) |
| 44 | ++ |
| 45 | ++--- a/mt76x02_mmio.c |
| 46 | +++++ b/mt76x02_mmio.c |
| 47 | ++@@ -534,6 +534,7 @@ void mt76x02_reconfig_complete(struct ie |
| 48 | ++ return; |
| 49 | ++ |
| 50 | ++ clear_bit(MT76_RESTART, &dev->mphy.state); |
| 51 | +++ ieee80211_wake_queues(hw); |
| 52 | ++ } |
| 53 | ++ EXPORT_SYMBOL_GPL(mt76x02_reconfig_complete); |
| 54 | ++ |
0 commit comments