OSDN Git Service

ath: fix false radar detection in JP region
authorSriram R <srirrama@codeaurora.org>
Wed, 14 Mar 2018 10:14:10 +0000 (12:14 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 26 Mar 2018 15:09:57 +0000 (18:09 +0300)
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>
drivers/net/wireless/ath/dfs_pattern_detector.c

index 4100ffd..448b83e 100644 (file)
@@ -115,7 +115,7 @@ static const struct radar_detector_specs jp_radar_ref_types[] = {
        JP_PATTERN(4, 0, 5, 150, 230, 1, 23, 50, false),
        JP_PATTERN(5, 6, 10, 200, 500, 1, 16, 50, false),
        JP_PATTERN(6, 11, 20, 200, 500, 1, 12, 50, false),
-       JP_PATTERN(7, 50, 100, 1000, 2000, 1, 3, 50, false),
+       JP_PATTERN(7, 50, 100, 1000, 2000, 1, 3, 50, true),
        JP_PATTERN(5, 0, 1, 333, 333, 1, 9, 50, false),
 };