diff options
author | Zefir Kurtisi <zefir.kurtisi@neratec.com> | 2013-04-03 18:31:31 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-04-08 21:28:38 +0200 |
commit | 73e4937d489072a26a0077c72c7d50ef2d0bf02b (patch) | |
tree | 80821e582a2f3ee98cfb86b0ce1038398ccb1c7d /drivers/net/wireless/ath/ath9k/dfs.c | |
parent | ath9k: add debugfs based DFS radar simulation (diff) | |
download | linux-73e4937d489072a26a0077c72c7d50ef2d0bf02b.tar.xz linux-73e4937d489072a26a0077c72c7d50ef2d0bf02b.zip |
ath9k: add support for DFS master mode
These are the remaining knobs in ath9k to support DFS:
* mark AR9280 and AR9580 as DFS tested
* synchronize DFS regulatory domain to reg notifyer
* set required RX filter flags for radar detection
* process radar PHY errors at DFS detector
* notify DFS master on radar detection
DFS support requires CONFIG_ATH9K_DFS_CERTIFIED to be set.
Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/dfs.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/dfs.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/dfs.c b/drivers/net/wireless/ath/ath9k/dfs.c index ecc81792f2dc..508f8b33f0ef 100644 --- a/drivers/net/wireless/ath/ath9k/dfs.c +++ b/drivers/net/wireless/ath/ath9k/dfs.c @@ -193,9 +193,7 @@ void ath9k_dfs_process_phyerr(struct ath_softc *sc, void *data, DFS_STAT_INC(sc, pulses_processed); if (pd != NULL && pd->add_pulse(pd, &pe)) { DFS_STAT_INC(sc, radar_detected); - /* - * TODO: forward radar event to DFS management layer - */ + ieee80211_radar_detected(sc->hw); } } } |