Skip to contentSkip to conversation

ath: fix incorrect PPB on JAPAN chirp radar

PATCH Applied Peter Oh 2 participants 3 messages Sep 9, 2015 – Sep 27, 2015

Subsystems (2)
lore
Share & tools
lore

Peter Oh

author
#0 lore raw

PATCH 1/1 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.

---
 drivers/net/wireless/ath/dfs_pattern_detector.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath/dfs_pattern_detector.c +1 -1
index 656ce42..5aa053a 100644
@@ -121,7 +121,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, 20, 50, false),
+	JP_PATTERN(7, 50, 100, 1000, 2000, 1, 3, 50, false),
 	JP_PATTERN(5, 0, 1, 333, 333, 1, 9, 50, false),
 };
 
Signature · 1 line
1.9.1
Applied
#1 lore raw
Quoted 8 lines · Peter Oh

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.

Thanks, applied.

Signature · 1 line
Kalle Valo
Applied
#2 lore raw
In reply to Peter Oh
Quoted 8 lines · Peter Oh

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.

Thanks, applied.

Signature · 1 line
Kalle Valo