Sfoglia il codice sorgente

qcacmn: Add new DFS filters to ETSI RADAR table for EN302502

Add new DFS filters to ETSI RADAR table to detect ETSI EN302502
Type 3 and Type 4 RADAR pulses.

The filters have been added per ETSI EN302502 spec
https://www.etsi.org/deliver/etsi_en/302500_302599
/302502/01.02.01_60/en_302502v010201p.pdf
Table D.3.1: DFS Test Signals simulating fixed frequency radars.

Change-Id: I4b9e93dc5069d57992c468cd4c00cb5ff77d3753
CRs-Fixed: 2505394
Vignesh U 5 anni fa
parent
commit
431649e97f

+ 1 - 1
umac/dfs/core/src/dfs.h

@@ -322,7 +322,7 @@
 #define THOUSAND 1000
 
 /* Array offset to ETSI legacy pulse */
-#define ETSI_LEGACY_PULSE_ARR_OFFSET 2
+#define ETSI_LEGACY_PULSE_ARR_OFFSET 4
 
 #define ETSI_RADAR_EN302_502_FREQ_LOWER 5725
 #define ETSI_RADAR_EN302_502_FREQ_UPPER 5865

+ 8 - 0
umac/dfs/core/src/filtering/dfs_partial_offload_radar.c

@@ -168,6 +168,14 @@ static struct dfs_pulse dfs_etsi_radars[] = {
 	/* PRF 4500, 20us duration, 9 pulses per burst */
 	{9,  20, 4500, 4500, 1,  4,  5, 19, 21, 18,  0, 0, 1,  1000, 0, 41},
 
+	/* Type 3 */
+	/* 10 15us, 200-1000 PRF, 15 pulses */
+	{15, 15, 200, 1000, 0, 4, 5, 8, 18, 22, 0, 0, 0, 5, 0, 42},
+
+	/* Type 4 */
+	/* 1-15us, 1200-1600 PRF, 15 pulses */
+	{15, 15, 1200, 1600, 0, 4, 5, 0, 18, 22, 0, 0, 0, 5, 0, 43},
+
 	/* TYPE staggered pulse */
 	/* Type 5*/
 	/* 0.8-2us, 2-3 bursts,300-400 PRF, 10 pulses each */