All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH wireless v3 0/2] wifi: rt2x00: fix TX queue flush and TX_STA_FIFO teardown
@ 2026-12-04  6:06 ` Bin Luo (University of Electronic Science and Technology of China)
  0 siblings, 0 replies; 6+ messages in thread
From: Bin Luo via B4 Relay @ 2026-12-04  6:06 UTC (permalink / raw)
  To: Stanislaw Gruszka; +Cc: Johannes Berg, linux-wireless, linux-kernel

This v3 resends the v2 series cleanly via b4 web relay (v2 was
line-wrapped by Gmail and failed to apply on Patchwork); there are no
code changes from v2.

Per Stanislaw Gruszka's review on v1:
1. Patch 1/2 sets DEVICE_STATE_FLUSHING in rt2x00queue_flush_queues()
   so pending TX entries time out within 50 ms and drain cleanly during
   disable_radio() before work/timer cancellation.
2. Patch 2/2 guards TX_STA_FIFO URB resubmission on non-zero status and
   teardown in rt2800usb and kills anchored URBs after stopping work and
   timers in rt2x00usb_uninitialize().

The QEMU dummy_hcd + raw_gadget RT2872 test harness is available at:
  https://gist.github.com/1121984919/2193f0ccb5af3539e96d55e5d43728fb

Bin Luo (University of Electronic Science and Technology of China) (2):
  wifi: rt2x00: set DEVICE_STATE_FLUSHING in rt2x00queue_flush_queues()
  wifi: rt2x00: prevent TX_STA_FIFO URB resubmission on error and teardown

 drivers/net/wireless/ralink/rt2x00/rt2800usb.c   | 24 ++++++++++++++----------
 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c |  4 ++++
 drivers/net/wireless/ralink/rt2x00/rt2x00usb.c   |  2 +-
 3 files changed, 19 insertions(+), 11 deletions(-)
-- 
2.43.0



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-12-04  6:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-04  6:06 [PATCH wireless v3 0/2] wifi: rt2x00: fix TX queue flush and TX_STA_FIFO teardown Bin Luo via B4 Relay
2026-12-04  6:06 ` Bin Luo (University of Electronic Science and Technology of China)
2026-12-04  6:06 ` [PATCH wireless v3 1/2] wifi: rt2x00: set DEVICE_STATE_FLUSHING in rt2x00queue_flush_queues() Bin Luo via B4 Relay
2026-12-04  6:06   ` Bin Luo (University of Electronic Science and Technology of China)
2026-12-04  6:06 ` [PATCH wireless v3 2/2] wifi: rt2x00: prevent TX_STA_FIFO URB resubmission on error and teardown Bin Luo via B4 Relay
2026-12-04  6:06   ` Bin Luo (University of Electronic Science and Technology of China)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.