aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/dfs_pattern_detector.c
diff options
context:
space:
mode:
authorSriram R <srirrama@codeaurora.org>2018-03-14 06:14:10 -0400
committerKalle Valo <kvalo@codeaurora.org>2018-03-26 11:09:57 -0400
commitba21ac6cdaef2d0dd51bccbd86547b7f34f7bdc1 (patch)
treee2d71c0f1c6e1bf79491ef9b104182fcf09ab8cc /drivers/net/wireless/ath/dfs_pattern_detector.c
parentbc64d05220f3e34cf432a166b83c8fff14cd7a3d (diff)
ath: fix false radar detection in JP region
This fixes false radar detection (of radar type 7) in Japan region by correcting the radar pulse type to Chirp as per specification. Signed-off-by: Sriram R <srirrama@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/dfs_pattern_detector.c')
-rw-r--r--drivers/net/wireless/ath/dfs_pattern_detector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/dfs_pattern_detector.c b/drivers/net/wireless/ath/dfs_pattern_detector.c
index 4100ffd42a43..448b83eea810 100644
--- a/drivers/net/wireless/ath/dfs_pattern_detector.c
+++ b/drivers/net/wireless/ath/dfs_pattern_detector.c
@@ -115,7 +115,7 @@ static const struct radar_detector_specs jp_radar_ref_types[] = {
115 JP_PATTERN(4, 0, 5, 150, 230, 1, 23, 50, false), 115 JP_PATTERN(4, 0, 5, 150, 230, 1, 23, 50, false),
116 JP_PATTERN(5, 6, 10, 200, 500, 1, 16, 50, false), 116 JP_PATTERN(5, 6, 10, 200, 500, 1, 16, 50, false),
117 JP_PATTERN(6, 11, 20, 200, 500, 1, 12, 50, false), 117 JP_PATTERN(6, 11, 20, 200, 500, 1, 12, 50, false),
118 JP_PATTERN(7, 50, 100, 1000, 2000, 1, 3, 50, false), 118 JP_PATTERN(7, 50, 100, 1000, 2000, 1, 3, 50, true),
119 JP_PATTERN(5, 0, 1, 333, 333, 1, 9, 50, false), 119 JP_PATTERN(5, 0, 1, 333, 333, 1, 9, 50, false),
120}; 120};
121 121