Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 34b5d778 authored by Vivek Natarajan's avatar Vivek Natarajan Committed by John W. Linville
Browse files

ath: Fix a false radar detection pattern



For FCC and JP, in one of the radar patterns, PPB and PRF seems to be
interchanged leading to frequent incorrect radar detections.

Signed-off-by: default avatarVivek Natarajan <nataraja@qti.qualcomm.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent a831f20b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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(4, 50, 100, 1000, 2000, 20, 1),
	FCC_PATTERN(4, 50, 100, 1000, 2000, 1, 20),
	FCC_PATTERN(5, 0, 1, 333, 333, 1, 9),
};

@@ -105,7 +105,7 @@ static const struct radar_detector_specs jp_radar_ref_types[] = {
	JP_PATTERN(4, 0, 5, 150, 230, 1, 23),
	JP_PATTERN(5, 6, 10, 200, 500, 1, 16),
	JP_PATTERN(6, 11, 20, 200, 500, 1, 12),
	JP_PATTERN(7, 50, 100, 1000, 2000, 20, 1),
	JP_PATTERN(7, 50, 100, 1000, 2000, 1, 20),
	JP_PATTERN(5, 0, 1, 333, 333, 1, 9),
};