-
Notifications
You must be signed in to change notification settings - Fork 9
/
glconfig.xml
executable file
·462 lines (417 loc) · 15.5 KB
/
glconfig.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
<?xml version="1.0" encoding="utf-8"?>
<glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/ glconfig.xsd" >
<!--HAL Confguration -->
<hal
acPortName="/dev/ttyO0"
lBaudRate="115200"
cLogEnableInitState="true"
cLogEnabled="false"
acLogDirectory="/data/gps/log"
acNmeaOutName="/data/gps/nmea"
lcsApiSockName="/dev/socket/gps"
gpioNStdbyPath="/sys/class/rfkill/rfkill3/state"
gpioNResetPath="/sys/class/rfkill/rfkill2/state"
ltoFileName="lto.dat"
enhanced-assisted="false"
arp-supl-enable="false"
arp-supl-cap-msb="false"
arp-supl-cap-msa="false"
arp-supl-cap-ecid="false"
acSuplServer="glsupltls.glpals.com" SuplPort="7275"
LbsEnable="true"
LbsLocal="false"
LbsServer="bcmls2.glpals.com"
LbsPort="7275"
LbsSyncTimeSec = "60"
LbsSyncLto="true"
LbsSyncCells="true"
LbsGetGpsAssistance="true"
LbsSyncLtoThresholdDays="3"
arp-ads-sync-in-mode="UPLINK"
arp-ads-sync-in-unc-usec="2000"
arp-ads-uplink-tm-off-ms="0"
acNtpServer="10.21.116.63"
acUtc2GpsOff="13"
AsicIP="127.0.0.1"
AsicPort="2375"
/>
<!-- Parameters passed to GlEngine -->
<!--gll
LogPriMask="LOG_DEBUG"
LogFacMask="LOG_GLLAPI | LOG_DEVIA | LOG_NMEA | LOG_RAWDATA | LOG_DEVMS | LOG_ASIC_IO | LOG_BBTEST | LOG_DEVET | LOG_MESM | LOG_DEVKF | LOG_DEVJG | LOG_DEVMR"
FrqPlan="FRQ_PLAN_10MHZ_2PPM_10MHZ_100PPB" FrqPlan="FRQ_PLAN_10MHZ_2PPM" "FRQ_PLAN_16_8MHZ_2PPM"
RfType="GL_RF_PALS7" "GL_RF_BARRACUDA" "GL_RF_2075_LN22" "GL_RF_2075_BRCM" "GL_RF_PALS7_BRCM" "GL_RF_BARRACUDA_BRCM" "GL_RF_BARRACUDA_EXT_LNA"
NOTE: "GL_RF_BARRACUDA_EXT_LNA" should be used for BAS
/-->
<gll
LogPriMask="LOG_DEBUG"
LogFacMask="LOG_GLLAPI | LOG_NMEA"
FrqPlan="FRQ_PLAN_26MHZ_2PPM"
RfType="GL_RF_4751_DANUBE"
pps-enable="false"
pps-offset-ms="0"
pps-width-ns="100"
lto-cbee-qatest="false"
>
<periodic_hor_acc_remap>
<remap in="50" out="-1" />
</periodic_hor_acc_remap>
</gll>
<!-- List of jobs can be performed by the GPS controller -->
<!-- The default job all parameters are set to default values -->
<job id="normal">
<task >
</task>
</job>
<!-- Periodic Position Fix using default settings -->
<job id="Periodic">
<task>
<req_pos />
</task>
</job>
<!-- Periodic Position Fix using default settings -->
<job id="Tracking">
<task>
<startup ignore_rom_alm="true" />
<req_pos validfix="200" duration_sec="450" />
</task>
</job>
<!-- Periodic Position Fix using default settings -->
<job id="Simulator_Periodic">
<task>
<startup ignore_rom_alm="true" />
<req_pos validfix="2000" duration_sec="4500" />
</task>
</job>
<!-- Repetetive cold starts
All stored GPS data is discarded before the start begins
-->
<job id="Cold_Starts">
<task repeat="20">
<startup
ignore_osc="true"
ignore_rom_alm="true"
ignore_ram_alm="true"
ignore_pos="true"
ignore_nav="true"
ignore_time="true"
/>
<req_pos validfix="1"/>
</task>
</job>
<!-- Repetetive cold starts
All stored GPS data is discarded before the start begins
-->
<job id="Cold_Starts_100">
<task repeat="100">
<startup
ignore_osc="true"
ignore_rom_alm="true"
ignore_ram_alm="true"
ignore_pos="true"
ignore_nav="true"
ignore_time="true"
/>
<req_pos validfix="1"/>
</task>
</job>
<!-- Cold starts for lto
-->
<job id="Assisted_Cold_Starts">
<task repeat="100">
<startup
ignore_rom_alm="true"
ignore_ram_alm="true"
/>
<req_pos validfix="1"/>
</task>
</job>
<!-- Repetetive warm starts
Stored ephemeris data is discarded before the start begins
This simulates GPS receiver start after it was left off for more that 4 hours
-->
<job id="Warm_Starts">
<task repeat="20">
<startup
ignore_rom_alm="true"
ignore_nav="true"/>
<req_pos validfix="1"/>
</task>
</job>
<job id="Warm_Starts_100">
<task repeat="100">
<startup
ignore_rom_alm="true"
ignore_nav="true"/>
<req_pos validfix="1"/>
</task>
</job>
<!-- Repetetive warm starts performed on GPS simulator -->
<job id="Simulator_Warm_Starts">
<task repeat="1000000">
<startup
ignore_rom_alm="true"
ignore_nav="true"
/>
<req_pos validfix="1"/>
</task>
</job>
<!-- Repetetive hot starts -->
<job id="Hot_Starts">
<task repeat="200">
<req_pos validfix="1"/>
</task>
</job>
<job id="Hot_Starts_100">
<task repeat="100">
<req_pos validfix="1"/>
</task>
</job>
<!-- This job is intended to be run for all test job
-->
<job id="Auto_Test">
<task id="Tracking">
<req_pos validfix="1000" duration_sec="2000" />
</task>
<task id="hot" repeat="100">
<req_pos validfix="1" />
</task>
<task id="warm" repeat="20">
<startup ignore_nav="true" />
<req_pos validfix="1" />
</task>
<task id="cold" repeat="20">
<startup
ignore_time="true"
ignore_osc="true"
ignore_pos="true"
ignore_nav="true"
ignore_ram_alm="false"
ignore_rom_alm="false" />
<req_pos validfix="1" />
</task>
</job>
<job id="cold-single-supl">
<task id="sg_a50_t20">
<!-- Instructs GLL to ignore frequency read from NVSTORAGE -->
<startup ignore_time="true" ignore_osc="false" ignore_pos="true" ignore_nav="true" ignore_ram_alm="true" ignore_rom_alm="true" />
<!--req_pos_single acc="50" timeout="20" /-->
<req_pos_single acc="50" timeout="20" />
</task>
</job>
<!-- Job to test frequency aiding -->
<job id="freq-aid-test">
<task>
<!-- Instructs GLL to ignore frequency read from NVSTORAGE -->
<startup ignore_osc="true" />
<asst>
<freq offst_ppb="0" unc_ppb="500" />
</asst>
<req_pos />
</task>
</job>
<!-- Job to perform 3GPP moving testing, periodic mode -->
<job id="sim-cold-auto">
<task id="periodic-eph-tm-clk" repeat="10">
<!-- Instructs GLL to ignore frequency read from NVSTORAGE -->
<startup ignore_osc="true" ignore_rom_alm="true" ignore_nav="true" ignore_pos="false" ignore_ram_alm="true" ignore_time="false"/>
<req_pos />
</task>
</job>
<!-- Job to perform 3GPP moving testing, periodic mode -->
<job id="sim-need-bit">
<task id="periodic" repeat="20">
<!-- Instructs GLL to ignore frequency read from NVSTORAGE -->
<startup ignore_rom_alm="true" ignore_pos="true" ignore_ram_alm="true"/>
<req_pos period="1000" fixcount="100" validfix="10"/>
</task>
</job>
<!-- Job to perform 3GPP moving testing, periodic mode -->
<job id="sim-bit-wipeoff">
<task id="periodic" repeat="20">
<startup ignore_rom_alm="true" ignore_ram_alm="true" ignore_time="true"/>
<asst>
<pos Lat="33.75" Lon="-84.3833333" Alt="300" />
</asst>
<req_pos />
</task>
</job>
<!-- Job to perform 3GPP moving testing, periodic mode -->
<job id="sim-utc-check">
<task id="periodic" repeat="20">
<startup ignore_rom_alm="true" ignore_ram_alm="true" ignore_time="true"/>
<asst>
<pos Lat="33.75" Lon="-84.3833333" Alt="300" />
</asst>
<req_pos />
</task>
</job>
<!-- Job to perform 3GPP testing, sigle shot mode -->
<job id="sim-cold-single">
<task id="sg_a50_t20" repeat="10">
<!-- Instructs GLL to ignore frequency read from NVSTORAGE -->
<startup ignore_rom_alm="true" ignore_ram_alm="true" />
<asst>
<!--pos Lat="-30.0" Lon="-50.0" Alt="50" /-->
<!--pos Lat="33.75" Lon="-84.3833" Alt="300" /-->
<!--pos Lat="37.0" Lon="-122.0" Alt="50" /-->
<!--pos Lat="37.26533652" Lon="-121.94128855" Alt="51.4" /-->
</asst>
<!--req_pos_single acc="50" timeout="20" /-->
<req_pos_single acc="50" timeout="20" />
</task>
</job>
<!-- Job to perform 3GPP testing, sigle shot mode -->
<job id="sim-single">
<task id="sg_a50_t20" repeat="10">
<!-- Instructs GLL to ignore frequency read from NVSTORAGE -->
<startup ignore_rom_alm="true" ignore_ram_alm="true" ignore_osc="true"/>
<asst>
<!--pos Lat="33.7691" Lon="-84.4062" Alt="0" /-->
<!--pos Lat="-30.0" Lon="-50.0" Alt="50" /-->
<pos Lat="33.75" Lon="-84.3833333" Alt="300" />
<!--pos Lat="37.0" Lon="-122.0" Alt="50" /-->
<!--pos Lat="37.26533652" Lon="-121.94128855" Alt="51.4" /-->
</asst>
<req_asst />
<req_pos_single acc="50" timeout="23" />
</task>
</job>
<!-- Job to perform 3GPP testing, sigle shot mode -->
<job id="sim-cold-single_foff">
<task id="sg_a50_t20" repeat="10">
<!-- Instructs GLL to ignore frequency read from NVSTORAGE -->
<startup ignore_rom_alm="true" ignore_ram_alm="true" ignore_osc="true" />
<asst>
<!--pos Lat="-30.0" Lon="-50.0" Alt="50" /-->
<!--pos Lat="33.75" Lon="-84.3833" Alt="300" /-->
<!--pos Lat="37.0" Lon="-122.0" Alt="50" /-->
<!--pos Lat="37.26533652" Lon="-121.94128855" Alt="51.4" /-->
</asst>
<!--req_pos_single acc="50" timeout="20" /-->
<req_pos_single acc="50" timeout="20" />
</task>
</job>
<!-- Job to perform 3GPP moving testing, periodic mode -->
<job id="sim-ass-auto">
<task id="periodic" repeat="10">
<!-- Instructs GLL to ignore frequency read from NVSTORAGE -->
<startup ignore_rom_alm="true" ignore_ram_alm="true" ignore_time="true" ignore_osc="true"/>
<asst>
<pos Lat="33.75000" Lon="-84.38330" Alt="300" />
<!--pos Lat="33.76910" Lon="-84.40620" Alt="300" /-->
<!--pos Lat="37.0" Lon="-122.0" Alt="50" /-->
<!--pos Lat="37.26533652" Lon="-121.94128855" Alt="51.4" /-->
</asst>
<req_pos />
</task>
</job>
<!-- Job to perform 3GPP moving testing, periodic mode -->
<job id="sim-low-tow">
<task id="periodic" repeat="10">
<!-- Instructs GLL to ignore frequency read from NVSTORAGE -->
<startup ignore_rom_alm="true" ignore_ram_alm="true" rtc_error_ms="-2000"/>
<asst>
<pos Lat="33.75000" Lon="-84.38330" Alt="300" />
<!--pos Lat="33.76910" Lon="-84.40620" Alt="300" /-->
<!--pos Lat="37.0" Lon="-122.0" Alt="50" /-->
<!--pos Lat="37.26533652" Lon="-121.94128855" Alt="51.4" /-->
</asst>
<req_pos />
</task>
</job>
<!-- Job to perform 3GPP moving testing, periodic mode -->
<job id="sim-syncin-test">
<task id="periodic" repeat="10">
<!-- Instructs GLL to ignore frequency read from NVSTORAGE -->
<startup ignore_rom_alm="true" ignore_ram_alm="true" ignore_time="true"/>
<asst>
<!--pos Lat="-30.0" Lon="-50.0" Alt="50" /-->
<!--pos Lat="33.75" Lon="-84.3833333" Alt="300" /-->
<!--pos Lat="37.0" Lon="-122.0" Alt="50" /-->
<pos Lat="37.26533652" Lon="-121.94128855" Alt="51.4" />
</asst>
<req_pos />
</task>
</job>
<!-- Job to perform single shot testing -->
<job id="single-shot">
<task id="shot" repeat="50">
<startup ignore_rom_alm="true" ignore_ram_alm="true" ignore_time="false" ignore_osc="true"/>
<asst>
<pos Lat="33.76910" Lon="-84.40620" Alt="300" />
<!--pos Lat="33.75000" Lon="-84.38330" Alt="300" /-->
</asst>
<!-- Ask GLL what assitance data is required -->
<req_asst />
<req_pos_single acc="50" timeout="60" />
</task>
</job>
<!-- Job to perform CNTIN testing -->
<job id="cntin-test">
<!-- This task requests the CNTIN to be performed -->
<task id="cntin" repeat="10">
<!-- Instructs GLL to ignore frequency read from NVSTORAGE -->
<startup ignore_osc="true" />
<req_cntin />
</task>
</job>
<!-- Job to perform autonomus mode testing -->
<job id="auton-start">
<task id="factory" repeat="15">
<!-- Instructs GLL to ignore all elements stored in NVRAM listed below -->
<startup ignore_time="true" ignore_osc="true" ignore_pos="true" ignore_nav="true" ignore_ram_alm="false" ignore_rom_alm="true" />
<features sbas_priority="disabled"/>
<!-- Do this test in periodic mode -->
<!-- Stop if we got either 100 any fixes or one valid -->
<req_pos period="1000" fixcount="500" validfix="500" />
</task>
</job>
<!-- Job to perform factory testing with the Simulator output set to -130 dBm -->
<job id="factory-high-snr">
<task id="test" repeat="1">
<!-- Instructs GLL to ignore all elements stored in NVRAM listed below -->
<startup ignore_osc="true" ignore_time="true" ignore_pos="true" ignore_nav="true" ignore_ram_alm="true" ignore_rom_alm="true" />
<req_ftest PRN="1" GL_FACT_TEST_MODE="GL_FACT_TEST_CONT" GL_FACT_TEST_ITEMS="GL_FACT_TEST_WER" avg_int_sec="10" duration_sec="60" />
</task>
</job>
<!-- Job to perform factory testing with the Simulator output set to -150 dBm -->
<job id="factory-low-snr">
<task id="test" repeat="1">
<startup ignore_osc="false" ignore_time="true" ignore_pos="true" ignore_nav="true" ignore_ram_alm="true" ignore_rom_alm="true"/>
<req_ftest PRN="1" GL_FACT_TEST_MODE="GL_FACT_TEST_ONCE" GL_FACT_TEST_ITEMS="GL_FACT_TEST_CN0" avg_int_sec="10" duration_sec="60" />
</task>
</job>
<!-- Job to perform RF false alarm test -->
<job id="false-alarm-test">
<task >
<startup ignore_time="true" ignore_osc="true" ignore_pos="true" ignore_nav="true" ignore_ram_alm="true" ignore_rom_alm="true" />
<features enable_false_alarms="true"/>
<req_pos />
</task>
</job>
<!-- Job to perform platform testing -->
<job id="platform-test">
<task id="factory" >
<!-- Instructs GLL to ignore all elements stored in NVRAM listed below -->
<startup ignore_time="true" ignore_osc="true" ignore_pos="true" ignore_nav="true" ignore_ram_alm="true" ignore_rom_alm="true" />
<!-- Do this test in periodic mode -->
<!-- Stop if we got either 100 any fixes or one valid -->
<req_pos period="1000" fixcount="600" validfix="1" />
</task>
<task id="warm" repeat="1">
<!-- Instructs GLL to ignore all elements stored in NVRAM listed below -->
<startup ignore_nav="true" />
<!-- Do this test in periodic mode -->
<!-- Stop if we got either 100 any fixes or one valid -->
<req_pos period="1000" fixcount="600" validfix="600"/>
</task>
</job>
<job id="perso">
<task repeat="1">
<startup ignore_rom_alm="true" />
<features enable_low_power="true"/>
<req_pos />
</task>
</job>
</glgps>