1############################################
2GlueLayer_ToolConfigSelection=3
3user_ports_tcp_name=Autotest
4user_ports_tcp_port=7555
5debug_console=1
6debug_dir=/data/vendor/gps/logs
7############################################
8GlueLayer_IsGedKeyExist=1
9GlueLayer_EnableGnssCfgInterface=1
10
11uni_log_max_file_count=5
12uni_log_max_size_mb=20
13uni_log_total_max_size_mb=100
14
15debug_enable=4
16mem_dump_to_node=1
17
18gnss_device_type=K042
19
20gnss_device_patch_address=0
21gnss_device_patch_file=/vendor/firmware/kepler.bin
22
23allow_logging_if_disconnected=0
24
25# enable ism stream for GAAM
26ism_stream_enable=1
27caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK
28
29# Enable/Disable 1PPS Time Sync policy
30Is1PPSTimeSyncEnable=1
31
32MaxNtnRefLocAgeSecs=600
33# CHIP_CONFIG_IO_OPT_HOSTIO_VIA_SECONDARY + CHIP_CONFIG_IO_OPT_CPMB_MASK
34#Chip_Configuration_Io_Options=0x9
35# enable DEBUG sync msg
36#Chip_Configuration_Io_Options=0xD
37
38# force CP crash on GAL bad ISM (1 is first instance, 2 is when we assert)
39#Chip_Configuration_cpdbgsync=1
40
41# Chip_Configuration_TrackerDebugMode = 0x10
42GlueLayer_IsPlatformRefTimeEnable=1
43
44# enables CHPP for SPI port
45# uncomment the *chpp* lines below (and comment gnss_device-data_port_kepslim_present above) to use SPI+CHPP
46# when using CHPP, make sure to enable the CHPP defines in build_settings.mak
47chpp_betp_client=1
48chpp_log_level=2
49gnss_device_data_port_chpp_spi_device=/dev/gnss_ipc
50gnss_device_data_port_chpp_present=1
51
52### Update for VTS ###
53GlueLayer_YearOfHW=2023
54scheduling_enabled=1
55
56# VDR End condition (meter, meter, sec, sec)
57ChipCfg_VDR_high_end_Distance = 200
58ChipCfg_VDR_low_end_Distance = 200
59ChipCfg_VDR_high_end_Time = 20
60ChipCfg_VDR_low_end_Time = 20
61
62### temporarily disable precise time aiding ###
63Chip_Configuration_AidingConfiguration=0x00020046
64
65# set shared reference clock for freq aiding (0x20)
66# enable dcxo (0x04)
67Chip_Configuration_RefClkControl=0x24
68#Chip_Configuration_RefClkControl=0x20
69#Chip_Configuration_RefClkUncertainty=20000
70
71### Override for DCXO Cnom/TuneValue
72#Chip_Configuration_DCXOtuneValue=5143
73
74### DCXO Optional Parameters. #####
75#   Can specify Crystal type, and/or over-ride T0-inflection point ####
76#
77# Optionally specify DXCO Crystal type, and operation mode
78# 8 bits.  Lower 4 bits Crystal ID# (0-15)
79#          Upper 4 bits Poly Configuration: (0/1)
80# Poly Configuration: 0: Use CP's poly, 1: Force use of default manufactures polynomial
81### Crystal Types:
82## 0 - Unknown/Default
83## 1 - Kyocera CT1612RB
84## 2 - NDK NX1612SD CS12311
85## 3 - NDK NX1612SD CS13950
86## 4 - NDK NX1612SD CS15298
87## 5 - KDS 7CG07680A10
88## 6-  TXC 0W76870003
89## E.g. Use Kyocera, and ignore CP's polynomial: DCXO_CrystalType=0x11
90## E.g. Use KDS, and Use CP's polynomial: DCXO_CrystalType=0x05
91## LOOK! S5400 ERD's uses NDK(2), Phones use Kyocera(1). Default set to phone (1)
92Chip_Configuration_DCXO_CrystalType=0x11
93
94## Optionally specify DXCO Inflection point temperature,        ####
95#    This will override any default value or value in Crystal type ####
96#    Value is degrees C x 100 E.g. 2855 = 28.55 deg C
97#    Range should be 2000 to 3100
98#Chip_Configuration_DCXO_InflectionPoint=2855
99
100# L1 + L5 MCW
101Chip_Configuration_GNSSConstConstraintDef = 0x60FF
102LocTech_Constraints = 0x60FF
103Chip_Configuration_RfMiscCtrl = 0x80008001
104
105### 2C48 L1 only MCW ###
106#Chip_Configuration_GNSSConstConstraintDef=0x602F
107#Chip_Configuration_RfMiscCtrl=0x80008001
108
109# L1 HYSPDY - CP
110#Chip_Configuration_GNSSConstConstraintDef=0x602F
111#LocTech_Constraints = 0x602F
112#Chip_Configuration_RfMiscCtrl=0x8001
113#Chip_Configuration_IspTestConfig=0x22242822
114
115# Disable BDS in the U.S.
116# 0-enabled (default), 1-disabled, 2-auto(disabled in US)
117#gloUsedInUSPolicy=2
118bdsUsedInUSPolicy=2
119sbasUsedInUSPolicy=2
120qzssUsedInUSPolicy=2
121navicUsedInUSPolicy=2
122
123# DVS: 0 = Disabled, 1 = Enabled (default)
124# DFS: 0 = Disabled, 1 = Enabled (default)
125Chip_Configuration_FeatureCfg_DVS = 1
126Chip_Configuration_FeatureCfg_DFS = 1
127# Disable MTPL
128Chip_Configuration_FeatureCfg_MTPL = 1
129# MCW Link failure behavior: 0 = SW Assert (default), 1 = GNSS restart (hot start)
130Chip_Configuration_FeatureCfg_SDL_BYASS = 1
131
132# This is a bitfield that will disable incoming interrupts for mailboxes
133# AP   = 0x1
134# APM  = 0x2
135# CP   = 0x4
136# CHUB = 0x8
137mailboxDisabled=0x0
138
139### Specify RFIC ID for K42 ###
140# 55400000 = S5540 EVT0
141gnss_rfic_chip_id=55400000
142
143# Uncomment to Disable SUPL
144#Aiding_AidingType=0
145# Uncomment to Disable SUPL (Ignore Android Framework Requests to Enable SUPL)
146#GlueLayer_EnableFwConfiguration=0
147
148#Uncomment to disable SGEE
149#Sif_OperationMode=0
150
151# Enables RTC time aiding from Host
152# 1 - enable, 0 - disable (default)
153UseRtcForAiding=1
154
155# increase rtc uncertainty from Host to hedge against bad fixes
156additional_rtc_uncertainty_ms=10
157
158# set to 1 for FW SGEE download - Requires Android FW to be properly configured
159Sif_UseFwXtraInterface=1
160
161# ChipCfg_GetGpsWeekFloor variable allows testing of old GPS weeks.
162# Used here to adjust the GPS week for carrier testing.
163# Simulations in the past may be based on any week number.
164# Guidelines:
165#    If simulation week absolute week number is:
166#       1-1023:              ChipCfg_SetGpsWeekFloor=1
167#       1024-2047:           ChipCfg_SetGpsWeekFloor=1024
168#       2048-3071:           ChipCfg_SetGpsWeekFloor=2048
169# Example: ChipCfg_GetGpsWeekFloor=1024
170# The above sets the correct operation when the true week is between 1024 and 2048
171# ChipCfg_GetGpsWeekFloor=0
172
173Agnss_IsGloAidingEnable=0
174SETCaps_IsOtdoa=1
175SETCaps_IsLpp=1
176SETCaps_SuplUT1=20
177PosReq_Supl2Params_SuplNiUdpPort=7275
178GlueLayer_LPPCpBitmask=0xFF
179GlueLayer_IsCpLteNeighborCellEnable=1
180GlueLayer_isReqDBHFromFwRefLoc=1
181GlueLayer_isReqUBPFromPressureSensor=1
182GlueLayer_IsRilCIDReqEnable=0
183GlueLayer_IsMemsEnable=1
184GlueLayer_MeasCorrCap=7
185
186# 0x0001: CHIP_CONFIG_MEMS_ACCEL_AVAILABLE
187# 0x0002: CHIP_CONFIG_MEMS_MAGN_AVAILABLE
188# 0x0004: CHIP_CONFIG_MEMS_GYRO_AVAILABLE
189# 0x0010: CHIP_CONFIG_MEMS_ORIENTATION_AVAILABLE
190# 0x0020: CHIP_CONFIG_MEMS_STEPCOUNTER_AVAILABLE
191Chip_Configuration_mems_data_Configuration=0x25
192Chip_Configuration_FeatureCfg_ANDRD_MEAS_CORR_ENABLE=1
193CP_LocTech_PrimaryConst=0
194CP_LocTech_Constraints=1
195CP_LocTech_Requirements=0
196UP_LocTech_PrimaryConst=0
197UP_LocTech_Constraints=1
198UP_LocTech_Requirements=0
199SpotLogger_Allowed=0
200
201# GNSS power values in "mW"
202SingleBandAcqPower=69
203MultiBandAcqPower=90
204SingleBandFullTrkPower=55
205MultiBandFullTrkPower=70
206SingleBandDutyCycleTrkPower=50
207MultiBandDutyCycleTrkPower=65
208SingleBandNmTrkPower=20
209MultiBandNmTrkPower=28
210SingleBandUdTrkPower=14
211MultiBandUdTrkPower=18
212
213RfPathLossDb_Ap=3600
214RfPathLossDb_Cp=3600
215RfPathLossDb_L5_Ap=4300
216RfPathLossDb_L5_Cp=4300
217NmeaBitmask=0x010003fff
218
219# force engine to use entire response time for emergency session; default 0
220IsUseEntireRespTime911=1
221# force engine to engage high accuracy if entire response time used; default 0
222isForceHighAccuracyMode=1
223
224# This is to indicate if AP supports CP partial reset feature
225# default = CP partial reset feature enabled
226# 0       = CP partial reset feature enabled
227# 1       = CP partial reset feature disabled
228cp_partial_reset_disable=1
229
230# 0: Use calibrated data 1: Use uncalibrated data
231isUseUncalAccel=1
232isUseUncalMagn=0
233
234# 0x0001: Enable StaticNavMode
235# 0x0002: Enable TunnelDetection
236# 0x0040: Self-detection Algorithm works
237# 0x0400: Enable MEMS S5
238# 0x2000: Enable MEMS PGMF (Pedestrian GNSS + MEMS Fusion)
239NavOptions=0x2443
240
241GNSS_CARRIER_CONFIG_BEGIN
242# DEFAULT
243GNSS_CARRIER_ID=0
244ENABLE_CAPS_OTDOA=1
245ENABLE_2G_CP_CAPS_MSA=1
246ENABLE_2G_CP_CAPS_MSB=1
247ENABLE_3G_CP_CAPS_MSA=1
248ENABLE_3G_CP_CAPS_MSB=1
249ENABLE_4G_CP_CAPS_MSA=1
250ENABLE_4G_CP_CAPS_MSB=1
251ENABLE_5G_CP_CAPS_MSA=1
252ENABLE_5G_CP_CAPS_MSB=1
253ENABLE_2G_UP_CAPS_MSA=1
254ENABLE_2G_UP_CAPS_MSB=1
255ENABLE_3G_UP_CAPS_MSA=1
256ENABLE_3G_UP_CAPS_MSB=1
257ENABLE_4G_UP_CAPS_MSA=1
258ENABLE_4G_UP_CAPS_MSB=1
259ENABLE_5G_UP_CAPS_MSA=0
260ENABLE_5G_UP_CAPS_MSB=0
261SUPL_SSL_METHOD=TLSv1_1
262SUPL_HMAC_HASH=SHA256
263SUPL_UT2_SEC=20
264SUPL_UT3_SEC=20
265ENABLE_LPP_CP=1
266ENABLE_LPP_UP=0
267ENABLE_LPPE_CP=3
268ENABLE_LPPE_UP=0
269ENABLE_NLP_IN_LPPE=1
270ENABLE_NLP_IN_AGNSS=0
271ENABLE_LPP_HA_GAD_SHAPE=0
272USE_EMER_PDN_FOR_EMER_SUPL=1
273# ATT
274GNSS_CARRIER_ID=1
275# TMO
276GNSS_CARRIER_ID=2
277ENABLE_3G_CP_CAPS_MSA=0
278ENABLE_4G_CP_CAPS_MSA=0
279ENABLE_NLP_IN_LPPE=0
280ENABLE_NLP_IN_AGNSS=1
281ENABLE_LPP_HA_GAD_SHAPE=1
282# VZW
283GNSS_CARRIER_ID=3
284ENABLE_CAPS_OTDOA=0
285ENABLE_LPP_UP=1
286ENABLE_LPPE_UP=3
287SUPL_SSL_METHOD=TLSv1_2
288SUPL_UT2_SEC=10
289SUPL_UT3_SEC=30
290# AIRTEL
291GNSS_CARRIER_ID=4
292# RAKUTEN
293GNSS_CARRIER_ID=5
294ENABLE_LPP_UP=1
295ENABLE_LPPE_UP=3
296# KDDI
297GNSS_CARRIER_ID=6
298ENABLE_LPP_CP=0
299ENABLE_LPP_UP=1
300ENABLE_LPPE_CP=0
301ENABLE_LPPE_UP=3
302# SBM
303GNSS_CARRIER_ID=7
304ENABLE_LPP_CP=0
305ENABLE_LPPE_CP=0
306ENABLE_5G_CP_CAPS_MSA=0
307ENABLE_5G_CP_CAPS_MSB=0
308USE_EMER_PDN_FOR_EMER_SUPL=0
309# DOCOMO
310GNSS_CARRIER_ID=8
311# LAB
312GNSS_CARRIER_ID=9
313ENABLE_LPP_UP=1
314ENABLE_LPPE_UP=3
315GNSS_CARRIER_CONFIG_END
316