mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] wifi: rsi: fix background scan result and state lifetime
@ 2026-10-28 14:19 Zhao Li
  2026-10-28 14:19 ` [PATCH 1/3] wifi: rsi: initialize background scan completion data Zhao Li
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Zhao Li @ 2026-10-28 14:19 UTC (permalink / raw)
  To: Johannes Berg
  Cc: Sebastian Krzyszkowiak, Arend van Spriel, Ville Nummela,
	Jiangshan Yi, Marek Vasut, Toke Høiland-Jørgensen,
	Stefan Hansson, Ping-Ke Shih, Jakub Kicinski, Ethan Nelson-Moore,
	Pengpeng Hou, Prameela Rani Garnepudi, Siva Rebbagondla,
	Kalle Valo, linux-wireless, linux-kernel

Initialize background-scan results and report cancellation as aborted.
Report command-preparation failures instead of leaving mac80211 waiting
for a completion, then serialize the saved request with cancellation and
firmware completion.

The patches are ordered. Patch 2 clears the saved request on every failed
start; patch 3 relies on that invariant when it treats bgscan_en and
hwscan as one state protected by scan_mutex.

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

---
The series applies without source changes to the retained 6.1.y, 6.6.y,
6.12.y, 6.18.y, 7.2.10, and v7.3 trees. The retained 5.10.y and 5.15.y
trees need a context adaptation in patch 2.

Zhao Li (3):
  wifi: rsi: initialize background scan completion data
  wifi: rsi: report background scan start failures
  wifi: rsi: serialize background scan state

 drivers/net/wireless/rsi/rsi_91x_mac80211.c | 50 ++++++++++++++-------
 drivers/net/wireless/rsi/rsi_91x_main.c     |  1 +
 drivers/net/wireless/rsi/rsi_91x_mgmt.c     | 30 ++++++++-----
 drivers/net/wireless/rsi/rsi_main.h         |  2 +
 drivers/net/wireless/rsi/rsi_mgmt.h         |  3 +-
 5 files changed, 56 insertions(+), 30 deletions(-)


base-commit: 25e73f1d6868c759c8eb56cad4e411692c5341b4
-- 
2.56.0


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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-28 14:19 [PATCH 0/3] wifi: rsi: fix background scan result and state lifetime Zhao Li
2026-10-28 14:19 ` [PATCH 1/3] wifi: rsi: initialize background scan completion data Zhao Li
2026-10-28 14:19 ` [PATCH 2/3] wifi: rsi: report background scan start failures Zhao Li
2026-10-28 14:19 ` [PATCH 3/3] wifi: rsi: serialize background scan state 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®