]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ath: lower JP W53 band DFS detection threshold around 30%
authorPeter Oh <poh@qca.qualcomm.com>
Tue, 31 Mar 2015 23:44:43 +0000 (16:44 -0700)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 15 Apr 2015 12:15:12 +0000 (15:15 +0300)
Japan's W53 band requires 50% data traffic during its DFS test,
but WLAN baseband used by ath9k and ath10k is not able to achieve
current threshold rate, 50%, under the data traffic rate.
In other words, HW occasionally fails detecting radar pulses,
so that SW cannot get enough radar reports to achieve the rate.

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

index cbcc0f732d55ad60873fb73d85b59dc76713fab4..ea9d7c0efd7b23c013416a86711c68dc4f90806f 100644 (file)
@@ -114,8 +114,8 @@ static const struct radar_types fcc_radar_types = {
        PPB_THRESH_RATE(PPB, RATE), PRI_TOLERANCE, CHIRP        \
 }
 static const struct radar_detector_specs jp_radar_ref_types[] = {
-       JP_PATTERN(0, 0, 1, 1428, 1428, 1, 18, 50, false),
-       JP_PATTERN(1, 2, 3, 3846, 3846, 1, 18, 50, false),
+       JP_PATTERN(0, 0, 1, 1428, 1428, 1, 18, 29, false),
+       JP_PATTERN(1, 2, 3, 3846, 3846, 1, 18, 29, false),
        JP_PATTERN(2, 0, 1, 1388, 1388, 1, 18, 50, false),
        JP_PATTERN(3, 1, 2, 4000, 4000, 1, 18, 50, false),
        JP_PATTERN(4, 0, 5, 150, 230, 1, 23, 50, false),