sm8350-common: Update gps configs from OOS 11.2.5.5
Change-Id: I041079a26ccfe243343854ae0bb8c9184c656d1b
This commit is contained in:
parent
5bf0dcf7fe
commit
bd25594773
4 changed files with 170 additions and 14 deletions
|
@ -299,6 +299,7 @@ PRODUCT_PACKAGES += \
|
|||
# GPS
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/gps/flp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/flp.conf \
|
||||
$(LOCAL_PATH)/gps/gnss_antenna_info.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss_antenna_info.conf \
|
||||
$(LOCAL_PATH)/gps/gps.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gps.conf \
|
||||
$(LOCAL_PATH)/gps/izat.conf:$(TARGET_COPY_OUT_VENDOR)/etc/izat.conf \
|
||||
$(LOCAL_PATH)/gps/lowi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/lowi.conf \
|
||||
|
|
134
gps/gnss_antenna_info.conf
Normal file
134
gps/gnss_antenna_info.conf
Normal file
|
@ -0,0 +1,134 @@
|
|||
###################################
|
||||
##### ANTENNA INFORMATION #####
|
||||
###################################
|
||||
|
||||
###################################
|
||||
# ANTENNA INFO VECTOR SIZE
|
||||
###################################
|
||||
# The number of antenna info
|
||||
# structures in the vector. Each
|
||||
# entry in this vector is a structure
|
||||
# with the following elements:
|
||||
#
|
||||
# - CARRIER_FREQUENCY
|
||||
# - PC_OFFSET
|
||||
# - PC_VARIATION_CORRECTION
|
||||
# - PC_VARIATION_CORRECTION_UNC
|
||||
# - SIGNAL_GAIN_CORRECTION
|
||||
# - SIGNAL_GAIN_CORRECTION_UNC
|
||||
#
|
||||
# Notes:
|
||||
# CARRIER_FREQUENCY
|
||||
# The carrier frequency in MHz.
|
||||
#
|
||||
# PC = PHASE CENTER
|
||||
# PC_OFFSET is a structure with six
|
||||
# elements: x, y, z and their associated uncertainties
|
||||
# Phase center offset (PCO) is defined with
|
||||
# respect to the origin of the Android sensor coordinate system, e.g.,
|
||||
# center of primary screen for mobiles
|
||||
#
|
||||
# PC_VARIATION_CORRECTION
|
||||
# 2D vectors representing the phase center variation (PCV) corrections,
|
||||
# in millimeters, at regularly spaced azimuthal angle (theta) and zenith angle
|
||||
# (phi). The PCV correction is added to the phase measurement to obtain the
|
||||
# corrected value.
|
||||
# The azimuthal angle, theta, is defined with respect to the X axis of the
|
||||
# Android sensor coordinate system, increasing toward the Y axis. The zenith
|
||||
# angle, phi, is defined with respect to the Z axis of the Android Sensor
|
||||
# coordinate system, increasing toward the X-Y plane.
|
||||
# Each row vector (outer vectors) represents a fixed theta. The first row
|
||||
# corresponds to a theta angle of 0 degrees. The last row corresponds to a
|
||||
# theta angle of (360 - deltaTheta) degrees, where deltaTheta is the regular
|
||||
# spacing between azimuthal angles, i.e., deltaTheta = 360 / (number of rows).
|
||||
# The columns (inner vectors) represent fixed zenith angles, beginning at 0
|
||||
# degrees and ending at 180 degrees. They are separated by deltaPhi, the regular
|
||||
# spacing between zenith angles, i.e., deltaPhi = 180 / (number of columns - 1).
|
||||
#
|
||||
# PC_VARIATION_CORRECTION_UNC
|
||||
# 2D vectors of 1-sigma uncertainty in millimeters associated with the PCV
|
||||
# correction values.
|
||||
#
|
||||
# SIGNAL_GAIN_CORRECTION
|
||||
# 2D vectors representing the signal gain corrections at regularly spaced
|
||||
# azimuthal angle (theta) and zenith angle (phi). The values are calculated or
|
||||
# measured at the antenna feed point without considering the radio and receiver
|
||||
# noise figure and path loss contribution, in dBi, i.e., decibel over isotropic
|
||||
# antenna with the same total power. The signal gain correction is added the
|
||||
# signal gain measurement to obtain the corrected value.
|
||||
# The azimuthal angle, theta, is defined with respect to the X axis of the
|
||||
# Android sensor coordinate system, increasing toward the Y axis. The zenith
|
||||
# angle, phi, is defined with respect to the Z axis of the Android Sensor
|
||||
# coordinate system, increasing toward the X-Y plane.
|
||||
# Each row vector (outer vectors) represents a fixed theta. The first row
|
||||
# corresponds to a theta angle of 0 degrees. The last row corresponds to a
|
||||
# theta angle of (360 - deltaTheta) degrees, where deltaTheta is the regular
|
||||
# spacing between azimuthal angles, i.e., deltaTheta = 360 / (number of rows).
|
||||
# The columns (inner vectors) represent fixed zenith angles, beginning at 0
|
||||
# degrees and ending at 180 degrees. They are separated by deltaPhi, the regular
|
||||
# spacing between zenith angles, i.e., deltaPhi = 180 / (number of columns - 1).
|
||||
#
|
||||
# SIGNAL_GAIN_CORRECTION_UNC
|
||||
# 2D vectors of 1-sigma uncertainty in dBi associated with the signal
|
||||
# gain correction values.
|
||||
#
|
||||
# The number of rows and columns could be the same for PC variation correction
|
||||
# and signal gain corrections, or could be different
|
||||
# If the former then NUMBER_OF_ROWS_ and NUMBER_OF_COLUMNS_ are specified once
|
||||
# only, if the latter then NUMBER_OF_ROWS_ and NUMBER_OF_COLUMNS_ represent
|
||||
# the number of rows/columns for PC variation correction and
|
||||
# NUMBER_OF_ROWS_SGC_ and NUMBER_OF_COLUMNS_SGC_ represent the number of
|
||||
# rows/columns for signal gain corrections
|
||||
|
||||
ANTENNA_INFO_VECTOR_SIZE = 2
|
||||
|
||||
CARRIER_FREQUENCY_0 = 1575.42
|
||||
|
||||
PC_OFFSET_0 = 1.2 0.1 3.4 0.2 5.6 0.3
|
||||
|
||||
NUMBER_OF_ROWS_0 = 3
|
||||
NUMBER_OF_COLUMNS_0 = 4
|
||||
|
||||
PC_VARIATION_CORRECTION_0_ROW_0 = 11.22 33.44 55.66 77.88
|
||||
PC_VARIATION_CORRECTION_0_ROW_1 = 10.2 30.4 50.6 70.8
|
||||
PC_VARIATION_CORRECTION_0_ROW_2 = 12.2 34.4 56.6 78.8
|
||||
|
||||
PC_VARIATION_CORRECTION_UNC_0_ROW_0 = 0.1 0.2 0.3 0.4
|
||||
PC_VARIATION_CORRECTION_UNC_0_ROW_1 = 1.1 1.2 1.3 1.4
|
||||
PC_VARIATION_CORRECTION_UNC_0_ROW_2 = 2.1 2.2 2.3 2.4
|
||||
|
||||
SIGNAL_GAIN_CORRECTION_0_ROW_0 = 9.8 8.7 7.6 6.5
|
||||
SIGNAL_GAIN_CORRECTION_0_ROW_1 = 5.4 4.3 3.2 2.1
|
||||
SIGNAL_GAIN_CORRECTION_0_ROW_2 = 1.3 2.4 3.5 4.6
|
||||
|
||||
SIGNAL_GAIN_CORRECTION_UNC_0_ROW_0 = 0.11 0.22 0.33 0.44
|
||||
SIGNAL_GAIN_CORRECTION_UNC_0_ROW_1 = 0.55 0.66 0.77 0.88
|
||||
SIGNAL_GAIN_CORRECTION_UNC_0_ROW_2 = 0.91 0.92 0.93 0.94
|
||||
|
||||
|
||||
CARRIER_FREQUENCY_1 = 1227.6
|
||||
|
||||
PC_OFFSET_1 = 3.4 0.2 5.6 0.3 1.2 0.1
|
||||
|
||||
NUMBER_OF_ROWS_1 = 4
|
||||
NUMBER_OF_COLUMNS_1 = 2
|
||||
NUMBER_OF_ROWS_SGC_1 = 3
|
||||
NUMBER_OF_COLUMNS_SGC_1 = 4
|
||||
|
||||
PC_VARIATION_CORRECTION_1_ROW_0 = 55.66 77.88
|
||||
PC_VARIATION_CORRECTION_1_ROW_1 = 11.22 33.44
|
||||
PC_VARIATION_CORRECTION_1_ROW_2 = 56.6 78.8
|
||||
PC_VARIATION_CORRECTION_1_ROW_3 = 12.2 34.4
|
||||
|
||||
PC_VARIATION_CORRECTION_UNC_1_ROW_0 = 0.3 0.4
|
||||
PC_VARIATION_CORRECTION_UNC_1_ROW_1 = 1.1 1.2
|
||||
PC_VARIATION_CORRECTION_UNC_1_ROW_2 = 2.1 2.2
|
||||
PC_VARIATION_CORRECTION_UNC_1_ROW_3 = 0.1 0.2
|
||||
|
||||
SIGNAL_GAIN_CORRECTION_1_ROW_0 = 7.6 6.5 5.4 4.3
|
||||
SIGNAL_GAIN_CORRECTION_1_ROW_1 = 1.3 2.4 9.8 8.7
|
||||
SIGNAL_GAIN_CORRECTION_1_ROW_2 = 1.4 2.5 3.6 4.7
|
||||
|
||||
SIGNAL_GAIN_CORRECTION_UNC_1_ROW_0 = 0.91 0.92 0.55 0.66
|
||||
SIGNAL_GAIN_CORRECTION_UNC_1_ROW_1 = 0.11 0.22 0.93 0.94
|
||||
SIGNAL_GAIN_CORRECTION_UNC_1_ROW_2 = 0.95 0.96 0.33 0.44
|
41
gps/gps.conf
41
gps/gps.conf
|
@ -27,8 +27,8 @@ DEBUG_LEVEL = 2
|
|||
# Intermediate position report, 1=enable, 0=disable
|
||||
INTERMEDIATE_POS=0
|
||||
|
||||
# supl version 2.0
|
||||
SUPL_VER=0x20000
|
||||
# supl version 2.04
|
||||
SUPL_VER=0x20004
|
||||
|
||||
# Emergency SUPL, 1=enable, 0=disable
|
||||
#SUPL_ES=1
|
||||
|
@ -92,7 +92,7 @@ SUPL_PORT=7275
|
|||
# 0x2: LPP Control Plane
|
||||
# 0x4: LPP User Plane for NR5G
|
||||
# 0x8: LPP Control Plane for NR5G
|
||||
LPP_PROFILE = 3
|
||||
LPP_PROFILE = 0xf
|
||||
|
||||
####################################
|
||||
#Datum Type
|
||||
|
@ -158,7 +158,7 @@ A_GLONASS_POS_PROTOCOL_SELECT = 0
|
|||
# 0x2: WLAN AP Measurements for LPPe CP
|
||||
# 0x4: SRN AP measurement for CP
|
||||
# 0x8: Sensor Barometer Measurement LPPe CP
|
||||
LPPE_CP_TECHNOLOGY = 0
|
||||
LPPE_CP_TECHNOLOGY = 0xb
|
||||
|
||||
##################################################
|
||||
# Select technology for LPPe User Plane
|
||||
|
@ -167,7 +167,7 @@ LPPE_CP_TECHNOLOGY = 0
|
|||
# 0x2: WLAN AP Measurements for LPPe UP
|
||||
# 0x4: SRN AP measurement for UP
|
||||
# 0x8: Sensor Barometer Measurement LPPe UP
|
||||
#LPPE_UP_TECHNOLOGY = 0
|
||||
#LPPE_UP_TECHNOLOGY = 0xb
|
||||
|
||||
##################################################
|
||||
# AGPS_CONFIG_INJECT
|
||||
|
@ -313,6 +313,11 @@ MODEM_TYPE = 1
|
|||
# in nfwNotifyCb callback
|
||||
PROXY_APP_PACKAGE_NAME = com.oneplus.carrierlocation
|
||||
|
||||
####################################
|
||||
# SUPL NI DENY ON NFW LOCKED
|
||||
####################################
|
||||
NI_SUPL_DENY_ON_NFW_LOCKED = 1
|
||||
|
||||
#####################################
|
||||
# CP_MTLR_ES
|
||||
#####################################
|
||||
|
@ -324,8 +329,9 @@ CP_MTLR_ES=0
|
|||
##################################################
|
||||
# 0 : Enable QTI GNSS (default)
|
||||
# 1 : Enable QCSR SS5
|
||||
# This setting use to select between QTI GNSS
|
||||
# and QCSR SS5 hardware receiver.
|
||||
# 2 : Enable PDS API
|
||||
# This setting use to select between QTI GNSS,
|
||||
# QCSR SS5 hardware receiver, and PDS API.
|
||||
# By default QTI GNSS receiver is enabled.
|
||||
# GNSS_DEPLOYMENT = 0
|
||||
|
||||
|
@ -367,14 +373,27 @@ BUFFER_DIAG_LOGGING = 1
|
|||
# CDFW_INJECT_DATA_INTERVAL = 600000 //10 mins
|
||||
# CDFW_RTCM_MESSAGE_INTERVAL = 1000 //1 second
|
||||
#
|
||||
# CDFW only honors CDFW remote API calls from CDFW_USERS
|
||||
# Supported options for CDFW_USERS = intOne cv2x garden
|
||||
#
|
||||
# If multiple sources coexist on a PL,
|
||||
# the prorioty sequence can be set by the integer number.
|
||||
# PRIORITY_1 is higher than PRIORITY_2, for example,
|
||||
# CDFW_SOURCE_PRIORITY_1 = INTERNAL_1 RTCM
|
||||
# CDFW_SOURCE_PRIORITY_2 = CV2X RTCM
|
||||
##################################################
|
||||
CDFW_USERS = intOne
|
||||
|
||||
##################################################
|
||||
# RF LOSS
|
||||
# The loss in 0.1 dbHz from the C/N0 at the antenna port
|
||||
# These values must be configured by OEM if not
|
||||
# supported in QMI LOC message
|
||||
# There is one entry for each signal type
|
||||
##################################################
|
||||
RF_LOSS_GPS = 0
|
||||
RF_LOSS_GPS_L5 = 0
|
||||
RF_LOSS_GLO_LEFT = 0
|
||||
RF_LOSS_GLO_CENTER = 0
|
||||
RF_LOSS_GLO_RIGHT = 0
|
||||
RF_LOSS_BDS = 0
|
||||
RF_LOSS_BDS_B2A = 0
|
||||
RF_LOSS_GAL = 0
|
||||
RF_LOSS_GAL_E5 = 0
|
||||
RF_LOSS_NAVIC = 0
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*
|
||||
#
|
||||
# LOWI Config file - default
|
||||
# LOWI Config file - lahaina
|
||||
#
|
||||
# GENERAL DESCRIPTION
|
||||
# This file contains the config params for LOWI
|
||||
|
@ -22,6 +22,8 @@
|
|||
|
||||
# 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 = 3
|
||||
LOWI_LOG_LEVEL = 2
|
||||
LOWI_USE_LOWI_LP = 0
|
||||
|
||||
LOWI_HE_RTT_SUPPORT = 1
|
||||
LOWI_USE_NLMSG_FOR_CAPS = 1
|
||||
LOWI_RTT_WEIGHTED_MEAN = 1
|
||||
|
|
Loading…
Reference in a new issue