mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] wifi: rsi: stop packet threads before bus teardown
@ 2026-10-28 14:20 Zhao Li
  2026-10-28 14:20 ` [PATCH 1/2] wifi: rsi: stop WLAN threads before teardown Zhao Li
  2026-10-28 14:20 ` [PATCH 2/2] wifi: rsi: stop coexistence TX before bus teardown Zhao Li
  0 siblings, 2 replies; 3+ messages in thread
From: Zhao Li @ 2026-10-28 14:20 UTC (permalink / raw)
  To: Johannes Berg
  Cc: Jiangshan Yi, Arend van Spriel, Stefan Hansson,
	Uwe Kleine-König, Ville Nummela, Jeongjun Park,
	Fariya Fatima, John W. Linville, Amitkumar Karwar,
	Prameela Rani Garnepudi, Siva Rebbagondla, Kalle Valo,
	linux-wireless, linux-kernel

Stop the WLAN RX and TX threads before mac80211 or bus teardown. Then
stop coexistence TX after HCI unregister and before USB reset or SDIO
chip reset and function disable. Probe failures are covered before
buffer freeing or function disable.

Patch 1 makes repeated thread stops safe and prevents the WLAN TX loop
from draining queued packets after a stop request. Patch 2 does the same
for coexistence TX without adding an exported core-to-bus wrapper.

The driver is orphaned and the series was not run on RS9113 or RS9116
hardware. Testing from device users would be helpful.
LLM assistance was used to review this series.

Zhao Li (2):
  wifi: rsi: stop WLAN threads before teardown
  wifi: rsi: stop coexistence TX before bus teardown

 drivers/net/wireless/rsi/rsi_91x_coex.c |  3 +++
 drivers/net/wireless/rsi/rsi_91x_core.c |  2 +-
 drivers/net/wireless/rsi/rsi_91x_sdio.c |  5 +++++
 drivers/net/wireless/rsi/rsi_91x_usb.c  | 15 +++++++++++----
 drivers/net/wireless/rsi/rsi_coex.h     | 12 ++++++++++++
 drivers/net/wireless/rsi/rsi_common.h   |  4 ++++
 6 files changed, 36 insertions(+), 5 deletions(-)


base-commit: 25e73f1d6868c759c8eb56cad4e411692c5341b4
-- 
2.56.0


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

end of thread, other threads:[~2026-10-28 14:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-28 14:20 [PATCH 0/2] wifi: rsi: stop packet threads before bus teardown Zhao Li
2026-10-28 14:20 ` [PATCH 1/2] wifi: rsi: stop WLAN threads before teardown Zhao Li
2026-10-28 14:20 ` [PATCH 2/2] wifi: rsi: stop coexistence TX before bus teardown Zhao Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®