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# 1pps timemark output: 0: disable 1: enable
57ChipCfg_Timemark_Option=1
58
59# VDR End condition (meter, meter, sec, sec)
60ChipCfg_VDR_high_end_Distance = 200
61ChipCfg_VDR_low_end_Distance = 200
62ChipCfg_VDR_high_end_Time = 20
63ChipCfg_VDR_low_end_Time = 20
64
65### temporarily disable precise time aiding ###
66Chip_Configuration_AidingConfiguration=0x00020046
67
68# set shared reference clock for freq aiding (0x20)
69# enable dcxo (0x04)
70Chip_Configuration_RefClkControl=0x24
71#Chip_Configuration_RefClkControl=0x20
72#Chip_Configuration_RefClkUncertainty=20000
73
74### Override for DCXO Cnom/TuneValue
75#Chip_Configuration_DCXOtuneValue=5143
76
77### DCXO Optional Parameters. #####
78#   Can specify Crystal type, and/or over-ride T0-inflection point ####
79#
80# Optionally specify DXCO Crystal type, and operation mode
81# 8 bits.  Lower 4 bits Crystal ID# (0-15)
82#          Upper 4 bits Poly Configuration: (0/1)
83# Poly Configuration: 0: Use CP's poly, 1: Force use of default manufactures polynomial
84### Crystal Types:
85## 0 - Unknown/Default
86## 1 - Kyocera CT1612RB
87## 2 - NDK NX1612SD CS12311
88## 3 - NDK NX1612SD CS13950
89## 4 - NDK NX1612SD CS15298
90## 5 - KDS 7CG07680A10
91## 6-  TXC 0W76870003
92## E.g. Use Kyocera, and ignore CP's polynomial: DCXO_CrystalType=0x11
93## E.g. Use KDS, and Use CP's polynomial: DCXO_CrystalType=0x05
94## LOOK! S5400 ERD's uses NDK(2), Phones use Kyocera(1). Default set to phone (1)
95Chip_Configuration_DCXO_CrystalType=0x11
96
97## Optionally specify DXCO Inflection point temperature,        ####
98#    This will override any default value or value in Crystal type ####
99#    Value is degrees C x 100 E.g. 2855 = 28.55 deg C
100#    Range should be 2000 to 3100
101#Chip_Configuration_DCXO_InflectionPoint=2855
102
103# L1 + L5 MCW
104Chip_Configuration_GNSSConstConstraintDef = 0x60FF
105LocTech_Constraints = 0x60FF
106Chip_Configuration_RfMiscCtrl = 0x80008001
107
108### 2C48 L1 only MCW ###
109#Chip_Configuration_GNSSConstConstraintDef=0x602F
110#Chip_Configuration_RfMiscCtrl=0x80008001
111
112# L1 HYSPDY - CP
113#Chip_Configuration_GNSSConstConstraintDef=0x602F
114#LocTech_Constraints = 0x602F
115#Chip_Configuration_RfMiscCtrl=0x8001
116#Chip_Configuration_IspTestConfig=0x22242822
117
118#Chip_Configuration_ntn_option=0 means no NTN blackout IPC handling
119#Chip_Configuration_ntn_option=1 means L1 blanking during NTN blackout period.
120#Chip_Configuration_ntn_option=2 means turning GNSS off during NTN blackout period.
121Chip_Configuration_ntn_option=2
122
123# Disable BDS in the U.S.
124# 0-enabled (default), 1-disabled, 2-auto(disabled in US)
125#gloUsedInUSPolicy=2
126bdsUsedInUSPolicy=2
127sbasUsedInUSPolicy=2
128qzssUsedInUSPolicy=2
129navicUsedInUSPolicy=2
130
131# DVS: 0 = Disabled, 1 = Enabled (default)
132# DFS: 0 = Disabled, 1 = Enabled (default)
133Chip_Configuration_FeatureCfg_DVS = 1
134Chip_Configuration_FeatureCfg_DFS = 1
135# Disable MTPL
136Chip_Configuration_FeatureCfg_MTPL = 0
137# MCW Link failure behavior: 0 = SW Assert (default), 1 = GNSS restart (hot start)
138Chip_Configuration_FeatureCfg_SDL_BYASS = 1
139
140# This is a bitfield that will disable incoming interrupts for mailboxes
141# AP   = 0x1
142# APM  = 0x2
143# CP   = 0x4
144# CHUB = 0x8
145mailboxDisabled=0x0
146
147### Specify RFIC ID for K42 ###
148# 55400000 = S5540 EVT0
149gnss_rfic_chip_id=55400000
150
151# Uncomment to Disable SUPL
152#Aiding_AidingType=0
153# Uncomment to Disable SUPL (Ignore Android Framework Requests to Enable SUPL)
154#GlueLayer_EnableFwConfiguration=0
155
156#Uncomment to disable SGEE
157#Sif_OperationMode=0
158
159# Enables RTC time aiding from Host
160# 1 - enable, 0 - disable (default)
161UseRtcForAiding=1
162
163# increase rtc uncertainty from Host to hedge against bad fixes
164additional_rtc_uncertainty_ms=10
165
166# set to 1 for FW SGEE download - Requires Android FW to be properly configured
167Sif_UseFwXtraInterface=1
168
169# ChipCfg_GetGpsWeekFloor variable allows testing of old GPS weeks.
170# Used here to adjust the GPS week for carrier testing.
171# Simulations in the past may be based on any week number.
172# Guidelines:
173#    If simulation week absolute week number is:
174#       1-1023:              ChipCfg_SetGpsWeekFloor=1
175#       1024-2047:           ChipCfg_SetGpsWeekFloor=1024
176#       2048-3071:           ChipCfg_SetGpsWeekFloor=2048
177# Example: ChipCfg_GetGpsWeekFloor=1024
178# The above sets the correct operation when the true week is between 1024 and 2048
179# ChipCfg_GetGpsWeekFloor=0
180
181Agnss_IsGloAidingEnable=0
182SETCaps_IsOtdoa=1
183SETCaps_IsLpp=1
184SETCaps_SuplUT1=20
185PosReq_Supl2Params_SuplNiUdpPort=7275
186GlueLayer_LPPCpBitmask=0xFF
187GlueLayer_IsCpLteNeighborCellEnable=1
188GlueLayer_isReqDBHFromFwRefLoc=1
189GlueLayer_isReqUBPFromPressureSensor=1
190GlueLayer_IsRilCIDReqEnable=0
191GlueLayer_IsMemsEnable=1
192GlueLayer_MeasCorrCap=7
193
194# 0x0001: CHIP_CONFIG_MEMS_ACCEL_AVAILABLE
195# 0x0002: CHIP_CONFIG_MEMS_MAGN_AVAILABLE
196# 0x0004: CHIP_CONFIG_MEMS_GYRO_AVAILABLE
197# 0x0010: CHIP_CONFIG_MEMS_ORIENTATION_AVAILABLE
198# 0x0020: CHIP_CONFIG_MEMS_STEPCOUNTER_AVAILABLE
199Chip_Configuration_mems_data_Configuration=0x25
200AccelSamplingPeriodUs=10000
201MagnSamplingPeriodUs=10000
202GyroSamplingPeriodUs=10000
203PressSamplingPeriodUs=50000
204OrientationSamplingPeriodUs=10000
205StepCounterSamplingPeriodUs=1000000
206Chip_Configuration_FeatureCfg_ANDRD_MEAS_CORR_ENABLE=1
207CP_LocTech_PrimaryConst=0
208CP_LocTech_Constraints=1
209CP_LocTech_Requirements=0
210UP_LocTech_PrimaryConst=0
211UP_LocTech_Constraints=1
212UP_LocTech_Requirements=0
213SpotLogger_Allowed=0
214
215# GNSS power values in "mW"
216SingleBandAcqPower=69
217MultiBandAcqPower=90
218SingleBandFullTrkPower=55
219MultiBandFullTrkPower=70
220SingleBandDutyCycleTrkPower=50
221MultiBandDutyCycleTrkPower=65
222SingleBandNmTrkPower=20
223MultiBandNmTrkPower=28
224SingleBandUdTrkPower=14
225MultiBandUdTrkPower=18
226
227path_delay_glo_12fx_cm = -5076,-5076,-5064,-5022,-4982,-4916,-4879,-4800,-4704,-4647,-4628,-4573,-4522,-4493
228path_delay_gps_2fx_cm = 12371
229path_delay_bds_4fx_cm = 123
230path_delay_l5_20fx_cm = 105888
231
232RfPathLossDb_Ap=3210
233RfPathLossDb_Cp=3210
234RfPathLossDb_L5_Ap=4450
235RfPathLossDb_L5_Cp=4450
236NmeaBitmask=0x010003fff
237
238# force engine to use entire response time for emergency session; default 0
239IsUseEntireRespTime911=1
240# force engine to engage high accuracy if entire response time used; default 0
241isForceHighAccuracyMode=1
242
243# This is to indicate if AP supports CP partial reset feature
244# default = CP partial reset feature enabled
245# 0       = CP partial reset feature enabled
246# 1       = CP partial reset feature disabled
247cp_partial_reset_disable=1
248
249# 0: Use calibrated data 1: Use uncalibrated data
250isUseUncalAccel=1
251isUseUncalMagn=0
252
253# 0x0001: Enable StaticNavMode
254# 0x0002: Enable TunnelDetection
255# 0x0040: Self-detection Algorithm works
256# 0x0400: Enable MEMS S5
257# 0x2000: Enable MEMS PGMF (Pedestrian GNSS + MEMS Fusion)
258NavOptions=0x2443
259
260GNSS_CARRIER_CONFIG_BEGIN
261# DEFAULT
262GNSS_CARRIER_ID=0
263ENABLE_CAPS_OTDOA=1
264ENABLE_2G_CP_CAPS_MSA=1
265ENABLE_2G_CP_CAPS_MSB=1
266ENABLE_3G_CP_CAPS_MSA=1
267ENABLE_3G_CP_CAPS_MSB=1
268ENABLE_4G_CP_CAPS_MSA=1
269ENABLE_4G_CP_CAPS_MSB=1
270ENABLE_5G_CP_CAPS_MSA=1
271ENABLE_5G_CP_CAPS_MSB=1
272ENABLE_2G_UP_CAPS_MSA=1
273ENABLE_2G_UP_CAPS_MSB=1
274ENABLE_3G_UP_CAPS_MSA=1
275ENABLE_3G_UP_CAPS_MSB=1
276ENABLE_4G_UP_CAPS_MSA=1
277ENABLE_4G_UP_CAPS_MSB=1
278ENABLE_5G_UP_CAPS_MSA=0
279ENABLE_5G_UP_CAPS_MSB=0
280SUPL_SSL_METHOD=TLSv1_1
281SUPL_HMAC_HASH=SHA256
282SUPL_UT2_SEC=20
283SUPL_UT3_SEC=20
284ENABLE_LPP_CP=1
285ENABLE_LPP_UP=0
286ENABLE_LPPE_CP=3
287ENABLE_LPPE_UP=0
288ENABLE_NLP_ALONG_WITH_UBP=0
289ENABLE_NLP_IN_LPPE=1
290ENABLE_NLP_IN_AGNSS=0
291ENABLE_LPP_HA_GAD_SHAPE=0
292USE_EMER_PDN_FOR_EMER_SUPL=1
293CP_LOCTECH_CONSTRAINTS=1
294UP_LOCTECH_CONSTRAINTS=1
295# ATT
296GNSS_CARRIER_ID=1
297CP_LOCTECH_CONSTRAINTS=5
298# TMO
299GNSS_CARRIER_ID=2
300ENABLE_3G_CP_CAPS_MSA=0
301ENABLE_4G_CP_CAPS_MSA=0
302ENABLE_NLP_IN_LPPE=0
303ENABLE_NLP_IN_AGNSS=1
304ENABLE_LPP_HA_GAD_SHAPE=1
305CP_LOCTECH_CONSTRAINTS=5
306# VZW
307GNSS_CARRIER_ID=3
308ENABLE_LPP_UP=1
309ENABLE_LPPE_UP=3
310SUPL_SSL_METHOD=TLSv1_2
311SUPL_UT2_SEC=10
312SUPL_UT3_SEC=30
313# AIRTEL
314GNSS_CARRIER_ID=4
315# RAKUTEN
316GNSS_CARRIER_ID=5
317ENABLE_LPP_UP=1
318ENABLE_LPPE_UP=3
319# KDDI
320GNSS_CARRIER_ID=6
321ENABLE_LPP_CP=0
322ENABLE_LPP_UP=1
323ENABLE_LPPE_CP=0
324ENABLE_LPPE_UP=3
325# SBM
326GNSS_CARRIER_ID=7
327ENABLE_LPP_CP=0
328ENABLE_LPPE_CP=0
329ENABLE_5G_CP_CAPS_MSA=0
330ENABLE_5G_CP_CAPS_MSB=0
331USE_EMER_PDN_FOR_EMER_SUPL=0
332# DOCOMO
333GNSS_CARRIER_ID=8
334# LAB
335GNSS_CARRIER_ID=9
336ENABLE_LPP_UP=1
337ENABLE_LPPE_UP=3
338GNSS_CARRIER_CONFIG_END
339