On Tue, Feb 05, 2013 at 10:35:00AM +0100, Johannes Berg wrote: > > > > Well, yeah the reporting is currently done per interface. Reporting radars > > for the hw is certainly possible as well - channel contexts are currently > > not implemented in ath9k (where I test). The latest patchset works the same > > way, although we can change that if you prefer. For the current implementation > > (single channel, single vif) it makes no difference, maybe for future implementations. > > I don't know if there are any weird corner cases though, and we probably need to > > adjust the mac80211 interface too when to report radars on certain channels only > > (e.g. extension channel radar). > > It really just seems strange to me to report radar on all/any other > interfaces to userspace. If we leave it up to the drivers, we'll get all > kinds of strange behaviour ;-) > > So it seems better to let mac80211 manage that? I was afraid you'd say that ... :) I'll include that change in the next iteration (it is a rather small fix). If you find anything else in the v8 patchset, please let me know so I can include that. Cheers, Simon