aboutsummaryrefslogtreecommitdiff
path: root/gps/etc/gps.conf
diff options
context:
space:
mode:
authorRashed Abdel-Tawab <rashed@linux.com>2017-09-30 17:16:07 -0400
committerDavide Garberi <dade.garberi@gmail.com>2017-12-12 20:00:48 +0100
commit054e3b4583a8af2a8ac45a87afd5a23836ba730f (patch)
treec370046342af89c10c5915fc5ce08d9b1e70aa5d /gps/etc/gps.conf
parent208973f8599fdb786e9a53139e8896bc0bf5d659 (diff)
msm8996: Update GPS configs for oreo
Change-Id: Iff0084580c3a496b7b2d73f3778a54b89cbcad2c Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Diffstat (limited to 'gps/etc/gps.conf')
-rw-r--r--gps/etc/gps.conf128
1 files changed, 117 insertions, 11 deletions
diff --git a/gps/etc/gps.conf b/gps/etc/gps.conf
index 2a8eb8c..dfe91c1 100644
--- a/gps/etc/gps.conf
+++ b/gps/etc/gps.conf
@@ -1,8 +1,21 @@
#Uncommenting these urls would only enable
#the power up auto injection and force injection(test case).
-XTRA_SERVER_1=http://xtrapath1.izatcloud.net/xtra3grc.bin
-XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra3grc.bin
-XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra3grc.bin
+#XTRA_SERVER_1=http://xtrapath1.izatcloud.net/xtra2.bin
+#XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra2.bin
+#XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra2.bin
+
+#ifdef VENDOR_EDIT
+# zuoyonghua@oneplus.cn add gps xtra server for speed up gps cold start
+XTRA_SERVER_1=http://xtrapath1.izatcloud.net/xtra3grc.bin
+XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra3grc.bin
+XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra3grc.bin
+#endif
+
+#ifdef VENDOR_EDIT
+# songhao@oneplus.cn,XTRA download config for debug
+XTRA_TEST_ENABLED = 1
+XTRA_THROTTLE_ENABLED = 0
+#endif
#Version check for XTRA
#DISABLE = 0
@@ -16,8 +29,8 @@ XTRA_VERSION_CHECK=0
# _CLEAR = 0
ERR_ESTIMATE=0
-#Test
-NTP_SERVER=time.gpsonextra.net
+#NTP server
+NTP_SERVER=time.izatcloud.net
#Asia
# NTP_SERVER=asia.pool.ntp.org
#Europe
@@ -44,12 +57,12 @@ INTERMEDIATE_POS=0
SUPL_VER=0x10000
# Emergency SUPL, 1=enable, 0=disable
-SUPL_ES=0
+#SUPL_ES=0
#Choose PDN for Emergency SUPL
#1 - Use emergency PDN
#0 - Use regular SUPL PDN for Emergency SUPL
-USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=1
+#USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=0
#SUPL_MODE is a bit mask set in config.xml per carrier by default.
#If it is uncommented here, this value will overwrite the value from
@@ -65,11 +78,11 @@ USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=1
# ON_DEMAND_TIME = 0x10
# GEOFENCE = 0x20
# default = ON_DEMAND_TIME | MSA | MSB | SCHEDULING | GEOFENCE
-CAPABILITIES=0x37
+CAPABILITIES=0x31
# Accuracy threshold for intermediate positions
# less accurate positions are ignored, 0 for passing all positions
-# ACCURACY_THRES=5000
+ACCURACY_THRES=100
################################
##### AGPS server settings #####
@@ -98,7 +111,7 @@ CAPABILITIES=0x37
# 1: Enable LPP_User_Plane on LTE
# 2: Enable LPP_Control_Plane
# 3: Enable both LPP_User_Plane and LPP_Control_Plane
-LPP_PROFILE = 2
+LPP_PROFILE = 0
################################
# EXTRA SETTINGS
@@ -116,6 +129,99 @@ SGLTE_TARGET=0
# 0x4: LLP Uplane
#ifndef zuoyonghua@oneplus.cn enable all bit mask for GLONASS
#A_GLONASS_POS_PROTOCOL_SELECT = 0
-#else
+#else
A_GLONASS_POS_PROTOCOL_SELECT = 15
#endif
+
+##################################################
+# Select technology for LPPe Control Plane
+##################################################
+# 0x1: DBH for LPPe CP
+# 0x2: WLAN AP Measurements for LPPe CP
+# 0x4: SRN AP measurement for CP
+# 0x8: Sensor Barometer Measurement LPPe CP
+LPPE_CP_TECHNOLOGY = 0
+
+##################################################
+# Select technology for LPPe User Plane
+##################################################
+# 0x1: DBH for LPPe UP
+# 0x2: WLAN AP Measurements for LPPe UP
+# 0x4: SRN AP measurement for UP
+# 0x8: Sensor Barometer Measurement LPPe UP
+LPPE_UP_TECHNOLOGY = 0
+
+##################################################
+# AGPS_CONFIG_INJECT
+##################################################
+# enable/disable injection of AGPS configurations:
+# SUPL_VER
+# SUPL_HOST
+# SUPL_PORT
+# C2K_HOST
+# C2K_PORT
+# LPP_PROFILE
+# A_GLONASS_POS_PROTOCOL_SELECT
+# 0: disable
+# 1: enable
+AGPS_CONFIG_INJECT = 1
+
+##################################################
+# GNSS settings for automotive use cases
+# Configurations in following section are
+# specific to automotive use cases, others
+# please do not change, keep the default values
+##################################################
+
+# AP Coarse Timestamp Uncertainty
+##################################################
+# default : 10
+# AP time stamp uncertainty, until GNSS receiver
+# is able to acquire better timing information
+AP_TIMESTAMP_UNCERTAINTY = 10
+
+##################################################
+# QDR engine availability status
+##################################################
+# 0 : NO QDR (default)
+# 1 : QDR enabled
+# This settings enables QDR Configuration for
+# automotive use case, if enabled then
+# DR_AP_Service needs to be enabled in izat.conf
+#EXTERNAL_DR_ENABLED = 0
+
+#####################################
+# DR_SYNC Pulse Availability
+#####################################
+# 0 : DR_SYNC pulse not available (default)
+# 1 : DR_SYNC pulse available
+# This configuration enables the driver to make use
+# of PPS events generated by DR_SYNC pulse
+# Standard Linux PPS driver needs to be enabled
+DR_SYNC_ENABLED = 0
+
+#####################################
+# PPS Device name
+#####################################
+PPS_DEVICENAME = /dev/pps0
+
+#####################################
+# AP Clock Accuracy
+#####################################
+# Quality of APPS processor clock (in PPM).
+# Value specified is used for calculation of
+# APPS time stamp uncertainty
+AP_CLOCK_PPM = 100
+
+#####################################
+# MAX ms difference to detect missing pulse
+#####################################
+# Specifies time threshold in ms to validate any missing PPS pulses
+MISSING_PULSE_TIME_DELTA = 900
+
+#####################################
+# Propagation time uncertainty
+#####################################
+# This settings enables time uncertainty propagation
+# logic incase of missing PPS pulse
+PROPAGATION_TIME_UNCERTAINTY = 1