ath9k: add DFS pattern detector
authorZefir Kurtisi <zefir.kurtisi@neratec.com>
Tue, 3 Apr 2012 15:15:49 +0000 (17:15 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 11 Apr 2012 20:23:52 +0000 (16:23 -0400)
commit6ee159e26f1bb0177b37ebc858693932465839a3
tree98dcf4ea060ab48de93ce5d8028f580cabf02f2c
parent4d6c36fa227afc7b76b85ee48e3ef3972fe0ca23
ath9k: add DFS pattern detector

This adds a DFS pattern detector to ath9k. It is fed with pulse events
by the radar pulse detector and reports in place whether a pattern
was detected. On detection, the result is reported as radar event to
the DFS management component in the upper layer.

Currently the ETSI DFS domain is supported with detector lines for
the patterns defined by EN-301-893 v1.5.1. Support for FCC and JP
will be added gradually.

To include the pattern detector, ath9k must be built with support
for DFS certified config flag set (CONFIG_ATH9K_DFS_CERTIFIED).

Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/Makefile
drivers/net/wireless/ath/ath9k/dfs_pattern_detector.c [new file with mode: 0644]
drivers/net/wireless/ath/ath9k/dfs_pattern_detector.h [new file with mode: 0644]
drivers/net/wireless/ath/ath9k/dfs_pri_detector.c [new file with mode: 0644]
drivers/net/wireless/ath/ath9k/dfs_pri_detector.h [new file with mode: 0644]