Hi DFS developers,
now that we are starting to think about the design for DFS functionality, this is how we started implementing a common radar pattern detector within mac80211 at our company.
It is a pure proof-of-concept and not meant to be used for other than testing.
More info available at [1].
Cheers
Zefir
[1] http://wireless.kernel.org/en/developers/DFS/DetectorDesignNt