linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] wifi: ath11k: fix data out of sync for channel list for reg update
@ 2023-03-29  9:12 Wen Gong
  2023-03-29  9:12 ` [PATCH 1/2] wifi: ath11k: move update channel list from update reg worker to reg notifier Wen Gong
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Wen Gong @ 2023-03-29  9:12 UTC (permalink / raw)
  To: ath11k; +Cc: linux-wireless, quic_wgong

Currently there are two threads to updating/fetch data of channel 
list, and there are no synchronization for the data, it leads data out 
of sync for channel list for reg update.

So change the call flow to make sure the fetch data running after the 
update data finished, then data of channel list become synchronization.

Fixes: f45cb6b29cd3 ("wifi: ath11k: avoid deadlock during regulatory update in ath11k_regd_update()")

Wen Gong (2):
  wifi: ath11k: move update channel list from update reg worker to reg
    notifier
  wifi: ath11k: move udpate channel list to worker for wait flag

 drivers/net/wireless/ath/ath11k/core.c |   1 +
 drivers/net/wireless/ath/ath11k/core.h |   4 +
 drivers/net/wireless/ath/ath11k/mac.c  |  13 ++++
 drivers/net/wireless/ath/ath11k/reg.c  | 100 ++++++++++++++++---------
 drivers/net/wireless/ath/ath11k/reg.h  |   1 +
 drivers/net/wireless/ath/ath11k/wmi.h  |   1 +
 6 files changed, 86 insertions(+), 34 deletions(-)


base-commit: 5aa9ff08c0b71be15a607341fa5344546e19ceb2
-- 
2.31.1


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

end of thread, other threads:[~2023-08-22  6:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-29  9:12 [PATCH 0/2] wifi: ath11k: fix data out of sync for channel list for reg update Wen Gong
2023-03-29  9:12 ` [PATCH 1/2] wifi: ath11k: move update channel list from update reg worker to reg notifier Wen Gong
2023-03-29  9:12 ` [PATCH 2/2] wifi: ath11k: move udpate channel list to worker for wait flag Wen Gong
2023-07-10  3:03 ` [PATCH 0/2] wifi: ath11k: fix data out of sync for channel list for reg update Wen Gong
2023-08-01  5:32   ` Wen Gong
2023-08-22  6:51     ` Wen Gong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).