mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] wifi: mt76: mt7996: fix TWT and MLO teardown races
@ 2026-10-18 10:47 Jiale Yao
  2026-10-18 10:47 ` [PATCH 1/2] wifi: mt76: mt7996: unlink TWT flow if MCU rejects agreement Jiale Yao
  2026-10-18 10:47 ` [PATCH 2/2] wifi: mt76: mt7996: clear all link WCIDs before RCU removal Jiale Yao
  0 siblings, 2 replies; 3+ messages in thread
From: Jiale Yao @ 2026-10-18 10:47 UTC (permalink / raw)
  To: Felix Fietkau, Lorenzo Bianconi, Ryder Lee, Shayne Chen,
	Sean Wang, Matthias Brugger, AngeloGioacchino Del Regno,
	Money Wang, Evelyn Tsai, Peter Chiu, linux-wireless,
	linux-kernel, linux-arm-kernel, linux-mediatek
  Cc: Jiale Yao

Fix two teardown issues in mt7996.

The first patch removes a TWT flow from the scheduler list when the
firmware rejects the agreement. Without this, the flow slot remains on
the list while it is available for reuse, which can corrupt the list.

The second patch clears every link WCID of an MLD station before the
network synchronization in mac80211. The generic callback only clears
the default WCID and allows the RX path to retain pointers to the other
links while station removal proceeds.

The patches address independent paths and remain independently
buildable.

Jiale Yao (2):
  wifi: mt76: mt7996: unlink TWT flow if MCU rejects agreement
  wifi: mt76: mt7996: clear all link WCIDs before RCU removal

 .../net/wireless/mediatek/mt76/mt7996/mac.c   |  4 ++-
 .../net/wireless/mediatek/mt76/mt7996/main.c  | 27 ++++++++++++++++++-
 2 files changed, 29 insertions(+), 2 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2026-10-18 10:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-18 10:47 [PATCH 0/2] wifi: mt76: mt7996: fix TWT and MLO teardown races Jiale Yao
2026-10-18 10:47 ` [PATCH 1/2] wifi: mt76: mt7996: unlink TWT flow if MCU rejects agreement Jiale Yao
2026-10-18 10:47 ` [PATCH 2/2] wifi: mt76: mt7996: clear all link WCIDs before RCU removal Jiale Yao

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®