sdm660-common: gps: add changes from clover for wifi only gps

Change-Id: I03caa72e72a59cbbd33c1ceae64921de0c1d4bdc
This commit is contained in:
Max Weffers 2020-05-27 14:27:40 +02:00 committed by OdSazib
parent b586e7cb27
commit 7d3f1b5120
No known key found for this signature in database
GPG key ID: CB336514F9F5CF69
2 changed files with 53 additions and 5 deletions

View file

@ -36,6 +36,14 @@ OUTDOOR_TRIP_BATCH_SIZE=600
# defaults to 20 seconds by the modem. # defaults to 20 seconds by the modem.
# BATCH_SESSION_TIMEOUT=20000 # BATCH_SESSION_TIMEOUT=20000
###################################
# FLP CAPABILITIES BIT MASK
###################################
# GEOFENCE = 0x01
# BATCHING = 0x02
# default = GEOFENCE | BATCHING
CAPABILITIES=0x03
################################### ###################################
# FLP BATCHING ACCURACY # FLP BATCHING ACCURACY
################################### ###################################
@ -49,6 +57,32 @@ OUTDOOR_TRIP_BATCH_SIZE=600
# High accuracy = 2 # High accuracy = 2
ACCURACY=1 ACCURACY=1
###################################
# 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
####################################
# By default APPS must support LB only if modem support
# LB 1.5 and above. This parameter adds an exception
# for targets where modem only supports LB 1.0.
# This might be useful for primarily outdoor devices.
# 0: MUST NOT ALLOW LB IF MODEM ONLY SUPPORTS
# LB 1.0
# 1: ALLOW LB IF MODEM ONLY SUPPORTS LB 1.0
####################################
ALLOW_LB_1_0 = 0
#################################### ####################################
# By default if network fixes are not sensor assisted # By default if network fixes are not sensor assisted
# these fixes must be dropped. This parameter adds an exception # these fixes must be dropped. This parameter adds an exception

View file

@ -1,3 +1,9 @@
#Uncommenting these urls would only enable
#the power up auto injection and force injection(test case).
#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
#Version check for XTRA #Version check for XTRA
#DISABLE = 0 #DISABLE = 0
#AUTO = 1 #AUTO = 1
@ -24,11 +30,18 @@ DEBUG_LEVEL = 3
# Intermediate position report, 1=enable, 0=disable # Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=0 INTERMEDIATE_POS=0
# 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 = 0
# supl version 1.0 # supl version 1.0
SUPL_VER=0x10000 SUPL_VER=0x10000
# Emergency SUPL, 1=enable, 0=disable # Emergency SUPL, 1=enable, 0=disable
#SUPL_ES=1 #SUPL_ES=0
#Choose PDN for Emergency SUPL #Choose PDN for Emergency SUPL
#1 - Use emergency PDN #1 - Use emergency PDN
@ -47,8 +60,9 @@ SUPL_VER=0x10000
# MSB = 0x02 # MSB = 0x02
# MSA = 0x04 # MSA = 0x04
# ON_DEMAND_TIME = 0x10 # ON_DEMAND_TIME = 0x10
# default = ON_DEMAND_TIME | MSA | MSB | SCHEDULING # GEOFENCE = 0x20
CAPABILITIES=0x17 # default = ON_DEMAND_TIME | MSA | MSB | SCHEDULING | GEOFENCE
CAPABILITIES=0x37
# Accuracy threshold for intermediate positions # Accuracy threshold for intermediate positions
# less accurate positions are ignored, 0 for passing all positions # less accurate positions are ignored, 0 for passing all positions
@ -142,7 +156,7 @@ A_GLONASS_POS_PROTOCOL_SELECT = 0
# 0x2: WLAN AP Measurements for LPPe CP # 0x2: WLAN AP Measurements for LPPe CP
# 0x4: SRN AP measurement for CP # 0x4: SRN AP measurement for CP
# 0x8: Sensor Barometer Measurement LPPe CP # 0x8: Sensor Barometer Measurement LPPe CP
#LPPE_CP_TECHNOLOGY = 0 LPPE_CP_TECHNOLOGY = 0
################################################## ##################################################
# Select technology for LPPe User Plane # Select technology for LPPe User Plane
@ -151,7 +165,7 @@ A_GLONASS_POS_PROTOCOL_SELECT = 0
# 0x2: WLAN AP Measurements for LPPe UP # 0x2: WLAN AP Measurements for LPPe UP
# 0x4: SRN AP measurement for UP # 0x4: SRN AP measurement for UP
# 0x8: Sensor Barometer Measurement LPPe UP # 0x8: Sensor Barometer Measurement LPPe UP
#LPPE_UP_TECHNOLOGY = 0 LPPE_UP_TECHNOLOGY = 0
################################################## ##################################################
# AGPS_CONFIG_INJECT # AGPS_CONFIG_INJECT