ath: fix incorrect PPB on FCC radar type 5
authorPeter Oh <poh@qca.qualcomm.com>
Mon, 15 Dec 2014 18:55:34 +0000 (10:55 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 24 Dec 2014 15:28:28 +0000 (17:28 +0200)
The minimum number of pulses per burst on FCC radar type 5 is 1.
Use this number for correct radar detection.

Signed-off-by: Peter Oh <poh@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/dfs_pattern_detector.c

index cfd0554..3d57f87 100644 (file)
@@ -86,7 +86,7 @@ static const struct radar_detector_specs fcc_radar_ref_types[] = {
        FCC_PATTERN(1, 0, 5, 150, 230, 1, 23),
        FCC_PATTERN(2, 6, 10, 200, 500, 1, 16),
        FCC_PATTERN(3, 11, 20, 200, 500, 1, 12),
        FCC_PATTERN(1, 0, 5, 150, 230, 1, 23),
        FCC_PATTERN(2, 6, 10, 200, 500, 1, 16),
        FCC_PATTERN(3, 11, 20, 200, 500, 1, 12),
-       FCC_PATTERN(4, 50, 100, 1000, 2000, 1, 20),
+       FCC_PATTERN(4, 50, 100, 1000, 2000, 1, 1),
        FCC_PATTERN(5, 0, 1, 333, 333, 1, 9),
 };
 
        FCC_PATTERN(5, 0, 1, 333, 333, 1, 9),
 };