On Tue, 2024-07-09 at 14:24 +0530, Aditya Kumar Singh wrote: > > So, I was trying as discussed above but I see concurrency issue now. > > In order to mark or let's say to iterate over *all* ctxs (in case NULL > is passed by driver), that part of code ideally should be under wiphy > lock right? But ieee80211_radar_detected() is called in an interrupt > context. Hence, can not take wiphy lock there :( Not necessarily, ieee80211_iter_chan_contexts_atomic() also iterates with RCU protection, for example. johannes