Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ath: fix incorrect PPB on JAPAN chirp radar

The number of pulses per burst on Japan chirp radar is
between 1 and 3. The previous value, 20, is representing
number of bursts, but since current DFS detector is using
pulse detection other than bursts, use the pulse number
for correct radar detection.
Also using the highest number helps to avoid false detection.

Signed-off-by: Peter Oh <poh@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>

authored by

Peter Oh and committed by
Kalle Valo
b0b25227 5af82fa6

+1 -1
+1 -1
drivers/net/wireless/ath/dfs_pattern_detector.c
··· 121 121 JP_PATTERN(4, 0, 5, 150, 230, 1, 23, 50, false), 122 122 JP_PATTERN(5, 6, 10, 200, 500, 1, 16, 50, false), 123 123 JP_PATTERN(6, 11, 20, 200, 500, 1, 12, 50, false), 124 - JP_PATTERN(7, 50, 100, 1000, 2000, 1, 20, 50, false), 124 + JP_PATTERN(7, 50, 100, 1000, 2000, 1, 3, 50, false), 125 125 JP_PATTERN(5, 0, 1, 333, 333, 1, 9, 50, false), 126 126 }; 127 127