sdm660-common: gps: Update gps configs from davinci
V12.1.4.0.RFJMIXM Signed-off-by: clarencelol <clarencekuiek@icloud.com> Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
parent
504dfee87f
commit
65cedbd35b
5 changed files with 35 additions and 20 deletions
|
@ -12,7 +12,7 @@
|
|||
# of batched locations that can be allocated,
|
||||
# which is limited by memory. The default
|
||||
# batch size defined as 20 as below.
|
||||
BATCH_SIZE=30
|
||||
BATCH_SIZE=20
|
||||
|
||||
###################################
|
||||
# FLP OUTDOOR TRIP BATCH SIZE
|
||||
|
|
|
@ -4,7 +4,9 @@
|
|||
ERR_ESTIMATE=0
|
||||
|
||||
#NTP server
|
||||
NTP_SERVER=1.android.pool.ntp.org
|
||||
NTP_SERVER=time.xtracloud.net
|
||||
NTP_SERVER_2=asia.pool.ntp.org
|
||||
NTP_SERVER_3=0.cn.pool.ntp.org
|
||||
|
||||
#XTRA CA path
|
||||
XTRA_CA_PATH=/usr/lib/ssl-1.1/certs
|
||||
|
@ -12,28 +14,28 @@ XTRA_CA_PATH=/usr/lib/ssl-1.1/certs
|
|||
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
|
||||
# 4 - Debug, 5 - Verbose
|
||||
# If DEBUG_LEVEL is commented, Android's logging levels will be used
|
||||
DEBUG_LEVEL = 2
|
||||
DEBUG_LEVEL = 3
|
||||
|
||||
# Intermediate position report, 1=enable, 0=disable
|
||||
INTERMEDIATE_POS=0
|
||||
|
||||
# supl version 1.0
|
||||
SUPL_VER=0x10000
|
||||
SUPL_VER=0x20000
|
||||
|
||||
# Emergency SUPL, 1=enable, 0=disable
|
||||
#SUPL_ES=1
|
||||
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=0
|
||||
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
|
||||
#config.xml.
|
||||
#MSA=0X2
|
||||
#MSB=0X1
|
||||
#SUPL_MODE=
|
||||
SUPL_MODE=3
|
||||
|
||||
# GPS Capabilities bit mask
|
||||
# SCHEDULING = 0x01
|
||||
|
@ -45,7 +47,7 @@ CAPABILITIES=0x17
|
|||
|
||||
# Accuracy threshold for intermediate positions
|
||||
# less accurate positions are ignored, 0 for passing all positions
|
||||
# ACCURACY_THRES=5000
|
||||
ACCURACY_THRES=70
|
||||
|
||||
################################
|
||||
##### AGPS server settings #####
|
||||
|
@ -76,11 +78,10 @@ CAPABILITIES=0x17
|
|||
####################################
|
||||
# LPP_PROFILE is a bit mask
|
||||
# 0: Enable RRLP on LTE(Default)
|
||||
# 0x1: LPP User Plane
|
||||
# 0x2: LPP Control Plane
|
||||
# 0x4: LPP User Plane for NR5G
|
||||
# 0x8: LPP Control Plane for NR5G
|
||||
LPP_PROFILE = 2
|
||||
# 1: Enable LPP_User_Plane on LTE
|
||||
# 2: Enable LPP_Control_Plane
|
||||
# 3: Enable both LPP_User_Plane and LPP_Control_Plane
|
||||
LPP_PROFILE = 3
|
||||
|
||||
####################################
|
||||
#Datum Type
|
||||
|
@ -137,7 +138,7 @@ SGLTE_TARGET=0
|
|||
# 0x1: RRC CPlane
|
||||
# 0x2: RRLP UPlane
|
||||
# 0x4: LLP Uplane
|
||||
A_GLONASS_POS_PROTOCOL_SELECT = 0
|
||||
A_GLONASS_POS_PROTOCOL_SELECT = 0xf
|
||||
|
||||
##################################################
|
||||
# Select technology for LPPe Control Plane
|
||||
|
@ -290,7 +291,7 @@ MODEM_TYPE = 1
|
|||
# 1 : enabled
|
||||
# This setting enables GPS engine to estimate clock
|
||||
# bias and drift when the signal from at least 1
|
||||
# SV is available and the UE’s position is known by
|
||||
# SV is available and the UE’s position is known by
|
||||
# other position engines.
|
||||
#POSITION_ASSISTED_CLOCK_ESTIMATOR_ENABLED = 0
|
||||
|
||||
|
@ -299,7 +300,7 @@ MODEM_TYPE = 1
|
|||
#####################################
|
||||
# This is a string that is sent to the framework
|
||||
# in nfwNotifyCb callback
|
||||
PROXY_APP_PACKAGE_NAME = com.google.android.carrierlocation
|
||||
PROXY_APP_PACKAGE_NAME = com.lbe.security.miui
|
||||
|
||||
#####################################
|
||||
# CP_MTLR_ES
|
||||
|
@ -338,6 +339,13 @@ D_LEVEL_MAX_CAPACITY = 300
|
|||
V_LEVEL_TIME_DEPTH = 200
|
||||
V_LEVEL_MAX_CAPACITY = 400
|
||||
|
||||
# Xiaomi add for breaking xtra download limitation
|
||||
XTRA_TEST_ENABLED = 1
|
||||
XTRA_THROTTLE_ENABLED = 0
|
||||
XTRA_SYSTEM_TIME_INJECT = 1
|
||||
# Mechanism to handle the gnss assistance data download
|
||||
# in very bad network situations
|
||||
XTRA_SOCK_KEEPALIVE=1
|
||||
##################################################
|
||||
# Allow buffer diag log packets when diag memory allocation
|
||||
# fails during boot up time.
|
||||
|
|
|
@ -107,7 +107,7 @@ GTP_WAA=DISABLED
|
|||
# PREMIUM
|
||||
# PREMIUM_ENV_AIDING
|
||||
# MODEM_DEFAULT
|
||||
SAP=MODEM_DEFAULT
|
||||
SAP=PREMIUM
|
||||
|
||||
#FREE_WIFI_SCAN_INJECT valid modes:
|
||||
#DISABLED
|
||||
|
@ -213,7 +213,7 @@ VENDOR_ENHANCED_PROCESS=1
|
|||
|
||||
PROCESS_NAME=slim_daemon
|
||||
PROCESS_ARGUMENT=
|
||||
PROCESS_STATE=ENABLED
|
||||
PROCESS_STATE=DISABLED
|
||||
PROCESS_GROUPS=gps oem_2901 can plugdev diag sensors
|
||||
PREMIUM_FEATURE=1
|
||||
IZAT_FEATURE_MASK=0xf0
|
||||
|
|
|
@ -22,6 +22,6 @@
|
|||
|
||||
# Log level
|
||||
# EL_LOG_OFF = 0, EL_ERROR = 1, EL_WARNING = 2, EL_INFO = 3, EL_DEBUG = 4, EL_VERBOSE = 5, EL_LOG_ALL = 100
|
||||
LOWI_LOG_LEVEL = 2
|
||||
LOWI_LOG_LEVEL = 3
|
||||
LOWI_USE_LOWI_LP = 0
|
||||
|
||||
|
|
|
@ -230,10 +230,17 @@ PRODUCT_PACKAGES += \
|
|||
# GPS Config
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(COMMON_PATH)/gps/etc/apdr.conf:$(TARGET_COPY_OUT_VENDOR)/etc/apdr.conf \
|
||||
$(COMMON_PATH)/gps/etc/flp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/flp.conf \
|
||||
$(COMMON_PATH)/gps/etc/gps.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gps.conf \
|
||||
$(COMMON_PATH)/gps/etc/izat.conf:$(TARGET_COPY_OUT_VENDOR)/etc/izat.conf \
|
||||
$(COMMON_PATH)/gps/etc/lowi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/lowi.conf \
|
||||
$(COMMON_PATH)/gps/etc/sap.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sap.conf \
|
||||
$(COMMON_PATH)/gps/etc/xtwifi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/xtwifi.conf
|
||||
$(COMMON_PATH)/gps/etc/xtwifi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/xtwifi.conf \
|
||||
$(COMMON_PATH)/gps/etc/gnss_antenna_info.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss_antenna_info.conf \
|
||||
$(COMMON_PATH)/gps/etc/seccomp_policy/gnss@2.0-base.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/gnss@2.0-base.policy \
|
||||
$(COMMON_PATH)/gps/etc/seccomp_policy/gnss@2.0-xtra-daemon.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/gnss@2.0-xtra-daemon.policy \
|
||||
$(COMMON_PATH)/gps/etc/seccomp_policy/gnss@2.0-xtwifi-client.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/gnss@2.0-xtwifi-client.policy \
|
||||
$(COMMON_PATH)/gps/etc/seccomp_policy/gnss@2.0-xtwifi-inet-agent.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/gnss@2.0-xtwifi-inet-agent.policy
|
||||
|
||||
# Healthd
|
||||
PRODUCT_PACKAGES += \
|
||||
|
|
Loading…
Reference in a new issue