summaryrefslogtreecommitdiff
path: root/gps
diff options
context:
space:
mode:
authortunturn <arbiter1000@gmail.com>2017-03-09 20:15:24 +1100
committerMax Weffers <rcstar6696@gmail.com>2017-03-14 13:17:02 +0100
commit7c9b6ae672125bc9ec926a0d948b6eae3e11f583 (patch)
treea1908a9bb345c9d0988926df626f0199f288d308 /gps
parent62c9df243a2031535c2d192d65bfe2112975b679 (diff)
shinano-common: update gps configs from stock .291
Change-Id: Ib4384d45fdb317dceb551cd60acaa7f0b08b01b0
Diffstat (limited to 'gps')
-rw-r--r--gps/flp.conf57
-rw-r--r--gps/gps.conf63
-rw-r--r--gps/izat.conf185
-rw-r--r--gps/sap.conf24
4 files changed, 291 insertions, 38 deletions
diff --git a/gps/flp.conf b/gps/flp.conf
index 950c712..78f4a62 100644
--- a/gps/flp.conf
+++ b/gps/flp.conf
@@ -1,21 +1,60 @@
-################################
-##### FLP settings #####
-################################
+###################################
+##### FLP settings #####
+###################################
-# For default batch size, set the following
+###################################
+# FLP BATCHING SIZE
+###################################
+# The number of batched locations
+# requested to modem. The desired number
+# defined below may not be satisfied, as
+# the modem can only return the number
+# of batched locations that can be allocated,
+# which is limited by memory. The default
+# batch size defined as 20 as below.
BATCH_SIZE=20
-# FLP Capabilities bit mask
+###################################
+# FLP BATCHING SESSION TIMEOUT
+###################################
+# Duration with which batch session timeout
+# happens in milliseconds. If not specified
+# or set to zero, batching session timeout
+# defaults to 20 seconds by the modem.
+# BATCH_SESSION_TIMEOUT=20000
+
+###################################
+# FLP CAPABILITIES BIT MASK
+###################################
# GEOFENCE = 0x01
# BATCHING = 0x02
# default = GEOFENCE | BATCHING
-CAPABILITIES=0x03
+CAPABILITIES=0x01
-# FLP accuracy
+###################################
+# FLP BATCHING ACCURACY
+###################################
+# Set to one of the defined values below
+# to define the accuracy of batching.
+# If not specified, accuracy defaults
+# to LOW.
+# FLP BATCHING ACCURACY values:
# Low accuracy = 0
# Medium accuracy = 1
# High accuracy = 2
ACCURACY=0
-# FLP geofence responsiveness
-GEOFENCE_RESPONSIVENESS = 0
+###################################
+# FLP GEOFENCE RESPONSIVENESS
+###################################
+# If set to one of the defined values below,
+# it will override the responsiveness for
+# FLP geofence, which implements the fused
+# location API. If not set to a value defined
+# below, which is default, it will not
+# override the responsivness.
+# FLP_GEOFENCE_RESPONSIVENESS_OVERRIDE Values:
+# 1: LOW responsiveness
+# 2: MEDIUM responsiveness
+# 3: HIGH responsiveness
+FLP_GEOFENCE_RESPONSIVENESS_OVERRIDE = 0
diff --git a/gps/gps.conf b/gps/gps.conf
index dd9586d..e0ce546 100644
--- a/gps/gps.conf
+++ b/gps/gps.conf
@@ -1,8 +1,15 @@
#Uncommenting these urls would only enable
#the power up auto injection and force injection(test case).
-#XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra2.bin
-#XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra2.bin
-#XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra2.bin
+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
+
+#Version check for XTRA
+#DISABLE = 0
+#AUTO = 1
+#XTRA2 = 2
+#XTRA3 = 3
+XTRA_VERSION_CHECK=0
# Error Estimate
# _SET = 1
@@ -26,8 +33,30 @@ DEBUG_LEVEL = 2
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=0
-# supl version 1.0
-SUPL_VER=0x10000
+# Below bit mask configures how GPS functionalities
+# should be locked when user turns off GPS on Settings
+# Set bit 0x1 if MO GPS functionalities are to be locked
+# Set bit 0x2 if NI GPS functionalities are to be locked
+# default - non is locked for backward compatibility
+GPS_LOCK = 3
+
+# supl version 2.0
+SUPL_VER=0x20000
+
+# Emergency SUPL, 1=enable, 0=disable
+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
+
+#SUPL_MODE is a bit mask set in config.xml per carrier by default.
+#If it is uncommented here, this value will over write the value from
+#config.xml.
+#MSA=0X2
+#MSB=0X1
+#SUPL_MODE=
# GPS Capabilities bit mask
# SCHEDULING = 0x01
@@ -36,7 +65,7 @@ SUPL_VER=0x10000
# ON_DEMAND_TIME = 0x10
# GEOFENCE = 0x20
# default = ON_DEMAND_TIME | MSA | MSB | SCHEDULING | GEOFENCE
-CAPABILITIES=0x37
+CAPABILITIES=0x13
# Accuracy threshold for intermediate positions
# less accurate positions are ignored, 0 for passing all positions
@@ -47,13 +76,21 @@ CAPABILITIES=0x37
################################
# FOR SUPL SUPPORT, set the following
-SUPL_HOST=supl.google.com
+SUPL_HOST=supl.sonyericsson.com
SUPL_PORT=7275
# FOR C2K PDE SUPPORT, set the following
# C2K_HOST=c2k.pde.com or IP
# C2K_PORT=1234
+# Bitmask of slots that are available
+# for write/install to, where 1s indicate writable,
+# and the default value is 0 where no slots
+# are writable. For example, AGPS_CERT_WRITABLE_MASK
+# of b1000001010 makes 3 slots available
+# and the remaining 7 slots unwritable.
+#AGPS_CERT_WRITABLE_MASK=0
+
####################################
# LTE Positioning Profile Settings
####################################
@@ -68,6 +105,8 @@ LPP_PROFILE = 0
################################
# NMEA provider (1=Modem Processor, 0=Application Processor)
NMEA_PROVIDER=0
+# Mark if it is a SGLTE target (1=SGLTE, 0=nonSGLTE)
+SGLTE_TARGET=0
##################################################
# Select Positioning Protocol on A-GLONASS system
@@ -75,4 +114,12 @@ NMEA_PROVIDER=0
# 0x1: RRC CPlane
# 0x2: RRLP UPlane
# 0x4: LLP Uplane
-A_GLONASS_POS_PROTOCOL_SELECT = 0
+A_GLONASS_POS_PROTOCOL_SELECT = 0x2
+
+###########################################
+# Enable/Disable reading H-SLP address and
+# certificates from the SIM card
+###########################################
+# 0: Disable (Default)
+# 1: Enable
+ENABLE_READ_FROM_SIM = 0
diff --git a/gps/izat.conf b/gps/izat.conf
index a46f82d..4e101f7 100644
--- a/gps/izat.conf
+++ b/gps/izat.conf
@@ -1,11 +1,8 @@
-########################################
-# NLP/WIFI positioning options bit mask
-########################################
-# Enable NLP fixes for WIPER/ODCPI feature => WIPER = 0x1
-# Enable free wifi scan injections for GEOFENCE => FREE_WIFI = 0x2
-# Enable SUPL2 MLD wifi => SUPL_WIFI = 0x4
-# default = WIPER | FREE_WIFI | SUPL_WIFI
-NLP_WIFI_LISTENER_MODE = 0
+#########################################
+# Log verbosity control for izat modules
+#########################################
+# OFF = 0, ERROR = 1, WARNING = 2, INFO = 3, DEBUG = 4, VERBOSE = 5
+IZAT_DEBUG_LEVEL = 2
##################################################
# Select WIFI Wait Timeout value in seconds for SUPL
@@ -13,12 +10,6 @@ NLP_WIFI_LISTENER_MODE = 0
WIFI_WAIT_TIMEOUT_SELECT = 0
################################
-# Indoor Positioning Settings
-################################
-# 0: QUIPC disabled, 1: QUIPC enabled, 2: forced QUIPC only
-QUIPC_ENABLED = 0
-
-################################
# NLP Settings
################################
# NLP_MODE 1: GNP Only, 2: QNP Only, 3: Combo
@@ -31,11 +22,175 @@ QUIPC_ENABLED = 0
# NLP_ACCURACY_MULTIPLE: Determines how far off the accuracy
# must be, in multiples, between two NLP location reports to
# be considered much worse accuracy. Used in switching logic
+# NLP COMBO MODE USES QNP WITH NO EULA CONSENT: Determines
+# whether or not to still send network location requests to
+# QNP when the EULA is not consented to by the user. QNP can
+# still return ZPP locations or injected locations even
+# without EULA consent, but the uncertainty can be high.
NLP_MODE = 1
NLP_TOLERANCE_TIME_FIRST = 5000
NLP_TOLERANCE_TIME_AFTER = 20000
NLP_THRESHOLD = 3
NLP_ACCURACY_MULTIPLE = 2
+NLP_COMBO_MODE_USES_QNP_WITH_NO_EULA_CONSENT = 1
# Threshold period for ZPP triggers
-ZPP_TRIGGER_THRESHOLD=10000
+ZPP_TRIGGER_THRESHOLD=60000
+
+###################################
+# GEOFENCE SERVICES
+###################################
+# If set to one of the defined values below, it will override
+# the responsiveness for geofence services, which implements
+# the Proximity Alert API. If not set to a value defined below,
+# which is default, it will not override the responsivness.
+# The geofence HAL API is unaffected by this value.
+# GEOFENCE_SERVICES_RESPONSIVENESS_OVERRIDE Values:
+# 1: LOW responsiveness
+# 2: MEDIUM responsiveness
+# 3: HIGH responsiveness
+GEOFENCE_SERVICES_RESPONSIVENESS_OVERRIDE = 0
+
+#####################################
+# IZAT PREMIUM FEATURE SETTINGS
+#####################################
+#Possible states of a feature:
+#DISABLED
+#BASIC
+#PREMIUM
+
+#GTP_CELL_PROC valid options:
+# AP
+# MODEM
+GTP_CELL_PROC=MODEM
+
+#GTP_CELL valid modes:
+# DISABLED
+# BASIC
+GTP_CELL=DISABLED
+
+#GTP_WIFI valid modes:
+# DISABLED
+# BASIC
+GTP_WIFI=DISABLED
+
+#GTP_WAA valid modes:
+# DISABLED
+# BASIC
+GTP_WAA=DISABLED
+
+#SAP valid modes:
+# DISABLED
+# BASIC
+# PREMIUM
+SAP=DISABLED
+
+#ODCPI valid modes:
+#DISABLED
+#BASIC
+ODCPI=DISABLED
+
+#FREE_WIFI_SCAN_INJECT valid modes:
+#DISABLED
+#BASIC
+FREE_WIFI_SCAN_INJECT=DISABLED
+
+#SUPL_WIFI valid modes:
+#DISABLED
+#BASIC
+SUPL_WIFI=DISABLED
+
+#WIFI_SUPPLICANT_INFO valid modes:
+#DISABLED
+#BASIC
+WIFI_SUPPLICANT_INFO=DISABLED
+
+#####################################
+# Location process launcher settings
+#####################################
+
+#Values for PROCESS_STATE:
+# ENABLED
+# DISABLED
+
+#FEATURE MASKS:
+# GTP-WIFI 0X03
+# GTP-AP-CELL 0X0c
+# GTP-MP-CELL 0xc00
+# GTP-WAA 0X300
+# SAP 0Xc0
+# ODCPI 0x1000
+# FREE_WIFI_SCAN_INJECT 0x2000
+# SUPL_WIFI 0x4000
+# WIFI_SUPPLICANT_INFO 0x8000
+
+#Values for PLATFORMS can be:
+#1. Any valid values obtained from ro.board.platform separated by single space. For example: msm8960 msm8226
+#2. all -> for All platforms
+
+#Values for BASEBAND can be:
+#1. Any valid values obtained from ro.baseband separated by single space. For example: sglte sglte2
+#2. all -> for all basebands
+
+#Valyes for LEAN_TARGETS can be:
+#ENABLED -> if this process is supposed to run on lean and mean targets
+#DISABLED -> if this process is to be disabled on lean and mean targets
+PROCESS_NAME=/system/bin/garden_app
+PROCESS_ARGUMENT=-u 0 -q 0 -j 0 -g 0 -l 0 -Z 0 -T 1
+PROCESS_STATE=ENABLED
+PROCESS_GROUPS=gps net_raw
+PREMIUM_FEATURE=0
+IZAT_FEATURE_MASK=0
+PLATFORMS=all
+BASEBAND=auto
+LEAN_TARGETS=DISABLED
+
+PROCESS_NAME=/system/bin/gpsone_daemon
+PROCESS_ARGUMENT=
+PROCESS_STATE=ENABLED
+PROCESS_GROUPS=inet net_raw
+PREMIUM_FEATURE=0
+IZAT_FEATURE_MASK=0
+PLATFORMS=msm7630_fusion
+BASEBAND=svlte2a sglte sglte2
+LEAN_TARGETS=DISABLED
+
+PROCESS_NAME=/system/bin/lowi-server
+PROCESS_ARGUMENT=
+PROCESS_STATE=ENABLED
+PROCESS_GROUPS=gps net_admin wifi inet qcom_diag net_raw
+PREMIUM_FEATURE=0
+IZAT_FEATURE_MASK=0xf303
+PLATFORMS=all
+BASEBAND=all
+LEAN_TARGETS=DISABLED
+
+PROCESS_NAME=/system/bin/xtwifi-inet-agent
+PROCESS_ARGUMENT=
+PROCESS_STATE=ENABLED
+PROCESS_GROUPS=inet gps
+PREMIUM_FEATURE=1
+IZAT_FEATURE_MASK=0xc0f
+PLATFORMS=all
+BASEBAND=all
+LEAN_TARGETS=DISABLED
+
+PROCESS_NAME=/system/bin/xtwifi-client
+PROCESS_ARGUMENT=
+PROCESS_STATE=ENABLED
+PROCESS_GROUPS=net_admin wifi inet gps net_raw rfs_shared
+PREMIUM_FEATURE=1
+IZAT_FEATURE_MASK=0xf0f
+PLATFORMS=all
+BASEBAND=all
+LEAN_TARGETS=DISABLED
+
+PROCESS_NAME=/system/vendor/bin/slim_daemon
+PROCESS_ARGUMENT=
+PROCESS_STATE=ENABLED
+PROCESS_GROUPS=gps net_raw qcom_diag
+PREMIUM_FEATURE=1
+IZAT_FEATURE_MASK=0xf0
+PLATFORMS=all
+BASEBAND=all
+LEAN_TARGETS=DISABLED
diff --git a/gps/sap.conf b/gps/sap.conf
index 25866ef..35426da 100644
--- a/gps/sap.conf
+++ b/gps/sap.conf
@@ -1,10 +1,12 @@
################################
# Sensor Settings
################################
-
-# Needs to be set explicitly based on sensor
-# There is no default value.
-# used in loc_eng_reinit
+#The following parameters are optional.
+#Internal defaults support MEMS sensors
+#native to most handset devices.
+#Device specific sensor characterization
+#for improved performance is possible as
+#described in SAP application notes.
#GYRO_BIAS_RANDOM_WALK=
#ACCEL_RANDOM_WALK_SPECTRAL_DENSITY=
#ANGLE_RANDOM_WALK_SPECTRAL_DENSITY=
@@ -29,7 +31,7 @@ SENSOR_CONTROL_MODE=0
# Enable or Disable Sensors for GPS use (0=Enable, 1=Disable)
# used in loc_eng_reinit
-SENSOR_USAGE=0
+SENSOR_USAGE=1
# Choose GSIFF sensor provider (1=Snapdragon Sensors Core, 2=Android NDK)
SENSOR_PROVIDER=1
@@ -38,4 +40,14 @@ SENSOR_PROVIDER=1
# Setting each bit has the following definition:
# 0x1 - DISABLE_INS_POSITIONING_FILTER
# 0x0 - ENABLE_INS_POSITIONING_FILTER
-SENSOR_ALGORITHM_CONFIG_MASK=0x0
+SENSOR_ALGORITHM_CONFIG_MASK=0x1
+
+# Time source used by Sensor HAL
+# Setting this value controls accuracy of location sensor services.
+# 0 - Unknown
+# 1 - CLOCK_BOOTTIME
+# 2 - CLOCK_MONOTONIC
+# 3 - CLOCK_REALTIME
+# 4 - CLOCK_BOOTTIME using Alarm timer interface
+NDK_PROVIDER_TIME_SOURCE=1
+