aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/debug.c
diff options
context:
space:
mode:
authorZefir Kurtisi <zefir.kurtisi@neratec.com>2011-12-14 23:16:34 -0500
committerJohn W. Linville <linville@tuxdriver.com>2011-12-15 14:46:37 -0500
commit29942bc125374b5aa049a438fb628ea729538ca5 (patch)
tree87d1a9f96ade552d8404899046775fa15aab730c /drivers/net/wireless/ath/ath9k/debug.c
parent9a66af3317be2b2ceea38f403d2f682f255de82a (diff)
ath9k: add DFS radar pulse processing
This initial DFS module provides basic functionality to deal with radar pulses reported by the Atheros DFS HW pulse detector. The reported data is evaluated and basic plausibility checks are performed to filter false pulses. Passing radar pulses are forwarded to pattern detectors which are not yet implemented. (Some modifications to actually use ATH9K_DFS_DEBUGFS based on comments from Julian Calaby <julian.calaby@gmail.com>. -- JWL) Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com> Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/debug.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/debug.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/debug.c b/drivers/net/wireless/ath/ath9k/debug.c
index 5cb8cceffd0b..68d972bf232d 100644
--- a/drivers/net/wireless/ath/ath9k/debug.c
+++ b/drivers/net/wireless/ath/ath9k/debug.c
@@ -1630,6 +1630,9 @@ int ath9k_init_debug(struct ath_hw *ah)
1630 debugfs_create_file("debug", S_IRUSR | S_IWUSR, sc->debug.debugfs_phy, 1630 debugfs_create_file("debug", S_IRUSR | S_IWUSR, sc->debug.debugfs_phy,
1631 sc, &fops_debug); 1631 sc, &fops_debug);
1632#endif 1632#endif
1633
1634 ath9k_dfs_init_debug(sc);
1635
1633 debugfs_create_file("dma", S_IRUSR, sc->debug.debugfs_phy, sc, 1636 debugfs_create_file("dma", S_IRUSR, sc->debug.debugfs_phy, sc,
1634 &fops_dma); 1637 &fops_dma);
1635 debugfs_create_file("interrupt", S_IRUSR, sc->debug.debugfs_phy, sc, 1638 debugfs_create_file("interrupt", S_IRUSR, sc->debug.debugfs_phy, sc,