diff options
author | Zefir Kurtisi <zefir.kurtisi@neratec.com> | 2013-04-03 12:31:31 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-04-08 15:28:38 -0400 |
commit | 73e4937d489072a26a0077c72c7d50ef2d0bf02b (patch) | |
tree | 80821e582a2f3ee98cfb86b0ce1038398ccb1c7d /drivers/net/wireless/ath/ath9k/dfs.c | |
parent | e39282ee1b0f639fd9eebd3547803f1694e8c370 (diff) |
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, | |||
193 | DFS_STAT_INC(sc, pulses_processed); | 193 | DFS_STAT_INC(sc, pulses_processed); |
194 | if (pd != NULL && pd->add_pulse(pd, &pe)) { | 194 | if (pd != NULL && pd->add_pulse(pd, &pe)) { |
195 | DFS_STAT_INC(sc, radar_detected); | 195 | DFS_STAT_INC(sc, radar_detected); |
196 | /* | 196 | ieee80211_radar_detected(sc->hw); |
197 | * TODO: forward radar event to DFS management layer | ||
198 | */ | ||
199 | } | 197 | } |
200 | } | 198 | } |
201 | } | 199 | } |