forked from ViciousAOSP/platform_device_samsung_crespo4g
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gps.xml
executable file
·229 lines (211 loc) · 8.16 KB
/
gps.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
<?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/s3c2410_serial1" lBaudRate="115200" cLogEnabled="false" acLogDirectory="/data/gps/log/" ltoFileName="lto2.dat"
enhanced-assisted="false" cp-enhanced-assisted="false" TISEnabled="false" RILEnabled="true" LPmode="false" cp-cold-start="false" cp-guard-time-sec="2"
arp-supl-enable="true" arp-supl-cap-msb="true" arp-supl-cap-msa="true" arp-supl-cap-ecid="false" arp-supl-reaiding-time-sec="1200"
acSuplServer="supl.google.com" SuplPort="7276"
LbsEnable="true" LbsLocal="false" LbsServer="bcmls2.glpals.com" LbsPort="7275" LbsSyncTimeSec = "60" LbsSyncLto="true" LbsSyncCells="true"
LbsGetGpsAssistance="false"
LbsSyncLtoThresholdDays="3"
gpioNStdbyPath="/sys/class/sec/gps/GPS_PWR_EN/value"
gpioNResetPath="/sys/class/sec/gps/GPS_nRST/value"
gpioDelayMs="250"
lcsApiSockName="/dev/socket/gps"
acNvStoDir="/data/gps/"
/>
<!-- 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
LbsEnable="true" LbsLocal="true" LbsServer="bcmlbsqa1.glpals.com" LbsPort="7275" LbsSyncTimeSec = "60" LbsSyncLto="true" LbsSyncCells="true"
/-->
<!-- NOTE: BrcmRFwildBase, BrcmRFclkDiv, anBrcmRFclkRefHz only needed for Broadcom RF front end test chips
( i.e. GL_RF_2075_BRCM and GL_RF_PALS7_BRCM ) -->
<gll
LogPriMask="LOG_DEBUG"
LogFacMask="LOG_GLLAPI | LOG_NMEA | LOG_ASIC_IO"
FrqPlan="FRQ_PLAN_26MHZ_2PPM_26MHZ_300PPB"
RfType="GL_RF_4751_DANUBE_EXT_LNA"
pps-enable="false" pps-offset-ms="0" pps-width-ns="100"
WarmStandbyTimeout1Seconds="5"
WarmStandbyTimeout2Seconds="10"
CNoSmoothEnable="true"
>
<periodic_hor_acc_remap>
<remap in="50" out="55" />
</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 -->
<!-- Periodic Position Fix using default settings -->
<job id="Periodic">
<task>
<req_pos/>
</task>
</job>
<!-- Periodic Position with the ROM almanac ignored for simulator testing -->
<job id="Simulator_Periodic">
<task id="cont" repeat="1">
<startup ignore_rom_alm="true" />
<req_pos validfix="2000" duration_sec="4500"/>
</task>
</job>
<!-- Repetetive cold starts -->
<job id="Cold_Starts">
<task repeat="1000000">
<startup
ignore_osc="false"
ignore_rom_alm="false"
ignore_ram_alm="false"
ignore_pos="true"
ignore_nav="true"
ignore_time="true"
/>
<req_pos validfix="1"/>
</task>
</job>
<!-- Repetetive cold starts with the ROM almanac ignored for simulator testing -->
<job id="Simulator_Cold_Starts">
<task repeat="1000000">
<startup
ignore_osc="false"
ignore_rom_alm="true"
ignore_ram_alm="false"
ignore_pos="true"
ignore_nav="true"
ignore_time="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="1000000">
<startup 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="1000000">
<req_pos validfix="1"/>
</task>
</job>
<!-- This job must be performed every time the GPS simulator scenarion is reset -->
<job id="CollectEphemeris">
<task repeat="1">
<startup
ignore_osc="true"
ignore_rom_alm="true"
ignore_ram_alm="true"
ignore_pos="true"
ignore_nav="true"
ignore_time="true"
/>
<req_pos validfix="200"/>
</task>
</job>
<!-- This job performes series of single shot requests using the data stored
in NVRAM to simulate assistance data received from the network
The QoS parameters are set to maxmize the GPS sensitivity
-->
<job id="Assisted_Cold_Starts">
<task repeat="1000000">
<startup
ignore_rom_alm="true"
ignore_ram_alm="true"
/>
<asst>
<!--pos Lat="-30.0" Lon="-50.0" Alt="50" /-->
<pos Lat="33.7691" Lon="-84.4062" 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="30" />
</task>
</job>
<!-- This job performes series of single shot requests using the data stored
in NVRAM to simulate assistance data received from the network
The QoS parameters are set as it woudld be set by Spirent ULTS executing
3GPP TS performance tests.
-->
<job id="3GPP_Assisted_Cold_Starts">
<task repeat="1000000">
<startup
ignore_rom_alm="true"
ignore_ram_alm="true"
/>
<asst>
<!--pos Lat="-30.0" Lon="-50.0" Alt="50" /-->
<pos Lat="33.7691" Lon="-84.4062" 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="25" timeout="20" />
</task>
</job>
<!-- This job starts signle chanel factory test mode
The signal is expected to be in the range from -125 dBm to -145 dBm
with the frequency offset range from -2 ppm to +2 ppm
for this mode to provide reliable results
-->
<job id="Factory_High_SNR">
<task id="test" repeat="1">
<startup
ignore_osc="true"
ignore_rom_alm="true"
ignore_ram_alm="true"
ignore_pos="true"
ignore_nav="true"
ignore_time="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>
<!-- This job is intended to be ran after the Factory_High_SNR job
It uses the TCXO offset stored in NVRAM during the Factory_High_SNR job
-->
<job id="Factory_Low_SNR">
<task id="test" repeat="1">
<startup
ignore_osc="false"
ignore_rom_alm="true"
ignore_ram_alm="true"
ignore_pos="true"
ignore_nav="true"
ignore_time="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="200"
/>
</task>
</job>
</glgps>