From fa0473e51647a0ecc872e51dd3cb694ff44e118c Mon Sep 17 00:00:00 2001 From: Albert Tang Date: Tue, 23 Aug 2022 14:30:55 -0500 Subject: [PATCH] dre: Move GNSS files back to proprietary-files.txt They won't be edited, so don't store them locally. Change-Id: I4fb340553442e1ddaf09c9ea81743c0745999e1a --- device.mk | 8 +- gps/flp.conf | 60 -------- gps/gnss_antenna_info.conf | 134 ------------------ gps/izat.conf | 277 ------------------------------------- gps/lowi.conf | 27 ---- gps/sap.conf | 179 ------------------------ gps/xtwifi.conf | 78 ----------- proprietary-files.txt | 6 + 8 files changed, 7 insertions(+), 762 deletions(-) delete mode 100644 gps/flp.conf delete mode 100644 gps/gnss_antenna_info.conf delete mode 100644 gps/izat.conf delete mode 100644 gps/lowi.conf delete mode 100644 gps/sap.conf delete mode 100644 gps/xtwifi.conf diff --git a/device.mk b/device.mk index 77d801d..32f3129 100644 --- a/device.mk +++ b/device.mk @@ -233,13 +233,7 @@ PRODUCT_PACKAGES += \ android.hardware.gnss@2.1.vendor 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_ODM)/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 \ - $(LOCAL_PATH)/gps/sap.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sap.conf \ - $(LOCAL_PATH)/gps/xtwifi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/xtwifi.conf + $(LOCAL_PATH)/gps/gps.conf:$(TARGET_COPY_OUT_ODM)/etc/gps.conf PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml diff --git a/gps/flp.conf b/gps/flp.conf deleted file mode 100644 index 65d54d3..0000000 --- a/gps/flp.conf +++ /dev/null @@ -1,60 +0,0 @@ -################################### -##### FLP settings ##### -################################### - -################################### -# FLP BATCH 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 OUTDOOR TRIP BATCH SIZE -################################### -# The number of batched locations -# requested to modem for outdoor -# trip batching. 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 -# trip batch size defined as 600 as below. -OUTDOOR_TRIP_BATCH_SIZE=600 - -################################### -# 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 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=1 - -#################################### -# By default if network fixes are not sensor assisted -# these fixes must be dropped. This parameter adds an exception -# for targets where there is no PDR and we still want to -# report out network fixes -# 0: MUST NOT ALLOW NETWORK FIXES -# 1: ALLOW NETWORK FIXES -#################################### -ALLOW_NETWORK_FIXES = 0 diff --git a/gps/gnss_antenna_info.conf b/gps/gnss_antenna_info.conf deleted file mode 100644 index 79a2aef..0000000 --- a/gps/gnss_antenna_info.conf +++ /dev/null @@ -1,134 +0,0 @@ -################################### -##### 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 diff --git a/gps/izat.conf b/gps/izat.conf deleted file mode 100644 index e236d24..0000000 --- a/gps/izat.conf +++ /dev/null @@ -1,277 +0,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 -################################################## -WIFI_WAIT_TIMEOUT_SELECT = 0 - -################################################## -# Time interval of injecting SRN scan data to modem -# time in seconds. -# Note: recommended value is between 1-5 sec -################################################## -LPPE_SRN_DATA_SCAN_INJECT_TIME=2 - -################################ -# NLP Settings -################################ -# NLP_MODE 1: OSNLP Only, 2: QNP Only, 3: Combo, 4: QNP preferred -# For Automotive products, please use NLP_MODE = 4 only. -# NLP_TOLERANCE_TIME_FIRST: Time in ms used in Combo mode -# to determine how much Tolerance for first position -# NLP_TOLERANCE_TIME_AFTER: Time in ms used in Combo mode -# to determine how much Tolerance for positions after first -# NLP_THRESHOLD: Sets how many failures needed before -# switching preferred NLP in Combo mode -# 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. -# QNP preferred mode prefers QNP when there is EULA consent, -# otherwise OSNLP is used. -NLP_MODE = 1 -NLP_MODE_EMERGENCY = 2 -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 - -######################################### -# NLP PACKAGE SETTINGS -######################################### -# OSNLP_PACKAGE: name of default NLP package -OSNLP_PACKAGE = com.google.android.gms -# REGION_OSNLP_PACKAGE: -# This value will be used as alternative -# for particular region where default NLP is not functional. -#REGION_OSNLP_PACKAGE = - -################################### -# 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 - -##################################### -#GTP Opt-In app -##################################### - -#GTP privacy policy version url -#https support is required -GTP_PRIVACY_VERSION_URL = https://info.izatcloud.net/privacy/version.html - -#GTP privacy policy version download retry interval -#unit is second. default is 86400 -GTP_PRIVACY_RETRY_INTERVAL = 86400 - -##################################### -# IZAT PREMIUM FEATURE SETTINGS -##################################### -#Possible states of a feature: -#DISABLED -#BASIC -#PREMIUM - -#GTP_MODE valid modes: -# DISABLED -# LEGACY_WWAN -# SDK (WWAN not available for Modems before LocTech 10.0) -# SDK_WIFI (WWAN provided by legacy Modem) -GTP_MODE=DISABLED - -#GTP_WAA valid modes: -# DISABLED -# BASIC -GTP_WAA=DISABLED - -#SAP valid modes: -# DISABLED -# BASIC -# PREMIUM -# PREMIUM_ENV_AIDING -# MODEM_DEFAULT -SAP=PREMIUM - -#FREE_WIFI_SCAN_INJECT valid modes: -#DISABLED -#BASIC -FREE_WIFI_SCAN_INJECT=BASIC - -#SUPL_WIFI valid modes: -#DISABLED -#BASIC -SUPL_WIFI=BASIC - -#WIFI_SUPPLICANT_INFO valid modes: -#DISABLED -#BASIC -WIFI_SUPPLICANT_INFO=BASIC - -##################################### -# Location process launcher settings -##################################### - -# DO NOT MODIFY -# Modifying below attributes without -# caution can have serious implications. - -#Values for PROCESS_STATE: -# ENABLED -# DISABLED - -#Values for LOW_RAM_TARGETS: -# ENABLED -# DISABLED -# Property to enable/disable processes for low ram targets. Uses ro.config.low_ram property -# to identify low ram targets. - -#PROCESS_NAME -# Name of the executable file. - -#FEATURE MASKS: -# GTP-WIFI 0X03 -# GTP-MP-CELL 0xc00 -# GTP-WAA 0x100 -# 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' or 'all exclude' -> for All platforms -#3. 'all exclude XXXX' -> All platforms exclude XXXX. For example: all exclude msm8937 - -#Values for SOC_IDS can be: -#1. Any valid values obtained from soc_id node separated by single space. For example: 339 386 436 -## soc_id value can be obtained from any one of below node: -## - /sys/devices/soc0/soc_id -## - /sys/devices/system/soc/soc0/id -#2. 'all' or 'all exclude' -> for All soc id's -#3. 'all exclude XXXX' -> All soc id's exclude XXXX. For example: all exclude 339 386 - -#Values for BASEBAND can be: -#1. Any valid values obtained from ro.baseband separated by single space. For example: sglte sglte2 -#2. 'all' or 'all exclude' -> for all basebands -#3. 'all exclude XXXX' -> All basebands exclude XXXX. For example: all exclude sglte -PROCESS_NAME=lowi-server -PROCESS_ARGUMENT= -PROCESS_STATE=ENABLED -PROCESS_GROUPS=gps wifi inet oem_2901 -PREMIUM_FEATURE=0 -IZAT_FEATURE_MASK=0xf303 -PLATFORMS=all -SOC_IDS=all -BASEBAND=all -LOW_RAM_TARGETS=DISABLED -HARDWARE_TYPE=all -VENDOR_ENHANCED_PROCESS=0 - -PROCESS_NAME=xtwifi-inet-agent -PROCESS_ARGUMENT= -PROCESS_STATE=ENABLED -PROCESS_GROUPS=inet gps -PREMIUM_FEATURE=1 -IZAT_FEATURE_MASK=0xc03 -PLATFORMS=all -SOC_IDS=all exclude 386 436 -BASEBAND=all -LOW_RAM_TARGETS=DISABLED -HARDWARE_TYPE=all -VENDOR_ENHANCED_PROCESS=1 - -PROCESS_NAME=xtwifi-client -PROCESS_ARGUMENT= -PROCESS_STATE=ENABLED -PROCESS_GROUPS=wifi inet gps system oem_2904 -PREMIUM_FEATURE=1 -IZAT_FEATURE_MASK=0xd03 -PLATFORMS=all -SOC_IDS=all exclude 386 436 -BASEBAND=all -LOW_RAM_TARGETS=DISABLED -HARDWARE_TYPE=all -VENDOR_ENHANCED_PROCESS=1 - -PROCESS_NAME=slim_daemon -PROCESS_ARGUMENT= -PROCESS_STATE=DISABLED -PROCESS_GROUPS=gps oem_2901 can plugdev diag sensors -PREMIUM_FEATURE=1 -IZAT_FEATURE_MASK=0xf0 -PLATFORMS=all -SOC_IDS=all exclude 386 436 -BASEBAND=all -LOW_RAM_TARGETS=DISABLED -HARDWARE_TYPE=all -VENDOR_ENHANCED_PROCESS=1 - -PROCESS_NAME=xtra-daemon -PROCESS_ARGUMENT= -PROCESS_STATE=ENABLED -PROCESS_GROUPS=inet gps system -PREMIUM_FEATURE=0 -IZAT_FEATURE_MASK=0 -PLATFORMS=all -SOC_IDS=all -BASEBAND=all -LOW_RAM_TARGETS=ENABLED -HARDWARE_TYPE=all -VENDOR_ENHANCED_PROCESS=0 - -######################################## -# Engine Service which host DRE module # -# To enable DRE engine service, change # -# PROCESS_STATE=ENABLED # -######################################## -PROCESS_NAME=engine-service -PROCESS_ARGUMENT=DRE-INT libloc_epDr.so -PROCESS_STATE=DISABLED -PROCESS_GROUPS=gps diag inet qwes oem_2901 system -PREMIUM_FEATURE=0 -IZAT_FEATURE_MASK=0 -PLATFORMS=all -SOC_IDS=all -BASEBAND=all -LOW_RAM_TARGETS=DISABLED -HARDWARE_TYPE=all -VENDOR_ENHANCED_PROCESS=1 - -######################################## -# Engine Service which host PPE module # -# To enable PPE engine service, change # -# PROCESS_STATE=ENABLED # -# and update process arugements # -# with PPE library name # -#PROCESS_ARGUMENT=PPE libepsimulator.so# -######################################## -PROCESS_NAME=engine-service -PROCESS_ARGUMENT=PPE libepsimulator.so -PROCESS_STATE=DISABLED -PROCESS_GROUPS=gps diag inet qwes oem_2901 system -PREMIUM_FEATURE=0 -IZAT_FEATURE_MASK=0 -PLATFORMS=all -SOC_IDS=all -BASEBAND=all -LOW_RAM_TARGETS=DISABLED -HARDWARE_TYPE=all -VENDOR_ENHANCED_PROCESS=1 diff --git a/gps/lowi.conf b/gps/lowi.conf deleted file mode 100644 index 6d4de75..0000000 --- a/gps/lowi.conf +++ /dev/null @@ -1,27 +0,0 @@ -#*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====* -# -# LOWI Config file - default -# -# GENERAL DESCRIPTION -# This file contains the config params for LOWI -# -# Copyright (c) 2019 Qualcomm Technologies, Inc. -# All Rights Reserved. -# Confidential and Proprietary - Qualcomm Technologies, Inc. -# -# 2012-2013 Qualcomm Atheros, Inc. -# All Rights Reserved. -# Qualcomm Atheros Confidential and Proprietary. -# -# Export of this technology or software is regulated by the U.S. Government. -# Diversion contrary to U.S. law prohibited. -#=============================================================================*/ - -# X86 ONLY - UBUNTU: -# Copy this file in the same directory where the executable is - -# 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_USE_LOWI_LP = 0 - diff --git a/gps/sap.conf b/gps/sap.conf deleted file mode 100644 index e8d27b7..0000000 --- a/gps/sap.conf +++ /dev/null @@ -1,179 +0,0 @@ -################################ -# Sensor Settings -################################ -#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= -#RATE_RANDOM_WALK_SPECTRAL_DENSITY= -#VELOCITY_RANDOM_WALK_SPECTRAL_DENSITY= - -# 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 = 0 -# Sensor Sampling Rate Parameters for Low-Data Rate Filter (should be greater than 0) -# used in loc_eng_reinit -SENSOR_ACCEL_BATCHES_PER_SEC=2 -SENSOR_ACCEL_SAMPLES_PER_BATCH=5 -SENSOR_GYRO_BATCHES_PER_SEC=2 -SENSOR_GYRO_SAMPLES_PER_BATCH=5 -# Sensor Sampling Rate Parameters for High-Data Rate Filter (should be greater than 0) -SENSOR_ACCEL_BATCHES_PER_SEC_HIGH=4 -SENSOR_ACCEL_SAMPLES_PER_BATCH_HIGH=25 -SENSOR_GYRO_BATCHES_PER_SEC_HIGH=4 -SENSOR_GYRO_SAMPLES_PER_BATCH_HIGH=25 - -# Sensor Control Mode (0=AUTO, 1=FORCE_ON, 2=MODEM_DEFAULT) -# used in loc_eng_reinit -SENSOR_CONTROL_MODE=2 - -# Bit mask used to define which sensor algorithms are used. -# Setting each bit has the following definition: -# 0x1 - DISABLE_INS_POSITIONING_FILTER -# 0x0 - ENABLE_INS_POSITIONING_FILTER -SENSOR_ALGORITHM_CONFIG_MASK=0x0 - -#Vehicle Network Provider configuration - -#Service configuration strings -#The number before colon in VN_X items defines version of the format of the rest of the string -#VN_ACCEL_CFG=0:5 -#VN_GYRO_CFG=0:5.5 -#VN_ODOMETRY_CFG=0:2,4.5 - -################################################ -# QDR3 configurations # -################################################ -#VN_SPEED_CFG=1:131,5,8,1,2,3,1,1,9,2,14,2 -#VN_GEAR_CFG=1:422,20,4,0,4,1,9,0,1,2,3,4,5,6,7,8 -VN_SPEED_CFG=1:777,0,0,1,3,1,0.002778,0,40,8,32,8 -VN_GEAR_CFG=1:422,20,4,0,4,1,9,0,1,2,3,4,5,6,7,8 - -################################################ -# QDR2-Gyro configurations # -################################################ -#VN_GYRO_CFG=1:555,0,1,0,0,0,0,-6.5,6.6066,-6.5,-1.00,2,6.607,6.6068,0,0,16,0.0002,0,16,0.0002,0,16,0.0002 -#VN_SPEED_CFG=1:555,0,0,1,2,1,0.01,0,56,8,48,8 -#VN_GEAR_CFG=1:555,16,4,0,1,1,9,0,1,2,3,4,5,6,7,8 - -################################################ -# QDR2-DWT configurations # -################################################ -#VN_SPEED_CFG=1:555,22,1,2,1,1,1,0,8,8,23,1,2,0,1,0,8,8,23,1 -#VN_GEAR_CFG=1:555,12,4,16,14,16,8,1,2,3,4,5,6,7,8 -#VN_DWS_CFG=1:555,0,0,1,3,1,1,0,0,8,0,0,8,8,0,0,16,8,0,0,24,8,0,0 -#VN_GYRO_CFG=1:555,40,16,1.0,40,16,1.0,40,16,1.0 - -##################################################################################### -# VNW service batching configuration strings # -# VNW provider will initialize default type as Time based batching # -# Each service batch value is configured to be 100 # -# VN_ACCEL_CFG_BATCH_VALUE will be treated as time in Ms if VN_CFG_BATCH_TYPE # -# is set to time based batching # -# VN_ACCEL_CFG_BATCH_VALUE will be treated as sample count if VN_CFG_BATCH_TYPE # -# is set to count based batching # -# Uncomment and update batch time /sample count as per selected batching type # -##################################################################################### -# Batching type -# 1 - Time based (default) -# 2 - Count based -VN_CFG_BATCH_TYPE=1 - -#Vehicle Accel batching value, it can either accept time in milli seconds or sample count -#VN_ACCEL_CFG_BATCH_VALUE=100 - -#Vehicle Gyro batching value, it can either accept time in milli seconds or sample count -VN_GYRO_CFG_BATCH_VALUE=50 - -#Vehicle Odo batching value, it can either accept time in milli seconds or sample count -#VN_ODOMETRY_CFG_BATCH_VALUE=100 - -#Vehicle Speed batching value, it can either accept time in milli seconds or sample count -VN_SPEED_CFG_BATCH_VALUE=50 - -#Vehicle Gear batching value, it can either accept time in milli seconds or sample count -VN_GEAR_CFG_BATCH_VALUE=50 - -#Vehicle DWS batching value, it can either accept time in milli seconds or sample count -#VN_DWS_CFG_BATCH_VALUE=100 -#################################################################################### - -#Procesors clock ratio: AP and CAN bus microcontroller -################################################ -# QDR3 configurations # -################################################ -VN_PROC_CLOCK_RATIO=1.0 - -################################################ -# QDR2-DWT OR QDR2-Gyro configurations # -################################################ -#VN_PROC_CLOCK_RATIO = 1.0 - -# 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 - -# Sensor Batching Configuration -# 0 - Time based -# 1 - Fixed count based -# 2 - Variable count based -COUNT_BASED_BATCHING=1 -SYNC_ONCE=0 - -# Vehicle Network Data optimization -# Default value: 0 -# Value 0x40000 - Speed(bit 18 eSLIM_SERVICE_VEHICLE_SPEED) -# Value 0x80000 - Speed(bit 19 eSLIM_SERVICE_VEHICLE_DWS) -# Value 0x100000 - Speed(bit 20 eSLIM_SERVICE_VEHICLE_GEAR) -VN_ENABLE_DATA_OPTIMIZATION=0x100000 - -# Vehicle Network Data Routing time interval -# This is applicable only if VN_ENABLE_DATA_OPTIMIZATION value is set -# Default value: 5000 msec -VN_DATA_ROUTING_TIME_INTERVAL_MSEC=3000 - -#Sensor HAL Provider Configuration HAL Library name including path -################################################ -# # -# Configuration for BMI 160 Sensor # -# # -################################################ -#SENSOR_TYPE=2 -#SENSOR_HAL_LIB_PATH=/usr/lib/libbmi160sensors.so.1 - -################################################ -# # -# Configuration for ASM330 Sensor # -# # -################################################ -SENSOR_TYPE=1 -SENSOR_HAL_LIB_PATH=/usr/lib/libasm330sensors.so.1 - - -################################################ -# # -# Configuration for IAM20680 Sensor # -# # -################################################ -#SENSOR_TYPE=3 -#SENSOR_HAL_LIB_PATH=/usr/lib/libiam20680sensors.so.1 - - -################################################ -# # -# Configuration for SMI130 Sensor # -# # -################################################ -#SENSOR_TYPE=4 -#SENSOR_HAL_LIB_PATH=/usr/lib/libsmi130sensors.so.1 diff --git a/gps/xtwifi.conf b/gps/xtwifi.conf deleted file mode 100644 index 5d7df9e..0000000 --- a/gps/xtwifi.conf +++ /dev/null @@ -1,78 +0,0 @@ -#GTP AP Project client core config file -# -#GENERAL DESCRIPTION -#This is used by client core -# -#Copyright (c) 2012-2014 Qualcomm Atheros, Inc. -#All Rights Reserved. -#Qualcomm Atheros Confidential and Proprietary. -# -#Copyright (c) 2017 Qualcomm Technologies, Inc. -#All Rights Reserved. -#Confidential and Proprietary - Qualcomm Technologies, Inc. - -############################################################################## -# non-IOT devices configuration items # -# For non-IOT devices, configure below configuration items # -# according to the app note: 80-NK218-1 and remove the configuration items # -# in section of "IOT devices configuration items". # -############################################################################## - -# ASN URI v2 to be used by some GTP AP modules that -# need to run with ASN URI v2 protocol. -XT_SERVER_ROOT_URL = https://gtp1.izatcloud.net:443/uds/v2 - -# ASN URI v3 to be used by GTP AP modules that -# can support ASN URI v3 protocol. -XT_SERVER_ROOT_URL_V3 = https://gtp1.izatcloud.net:443/uds/v3 - -# size, in bytes, of the cache on device -SIZE_BYTE_TOTAL_CACHE = 5000000 - -############################################################################## -# IOT devices configuration items # -# For IOT devices, configure below configuration items # -# according to the app note and remove the configuration items in section of # -# "non-IOT devices configuration items". # -############################################################################## - -# ASN URI v3 to be used by GTP AP modules that -# can support ASN URI v3 protocol. -# XT_SERVER_ROOT_URL_V3 = https://gtpma1.izatcloud.net:443/uds/v3 - -# 3: Wi-Fi APDB injection via Izat SDK. GTP server is not accessed -# for any GTP requests, instead notification is sent to Izat SDK. -# WiFi crowdsourcing module is disabled. -# 4: Wi-Fi APDB injection via Izat SDK. GTP server is not accessed -# for any GTP requests, instead notification is sent to Izat SDK. -# WiFi crowdsourcing module is active, also accessed via Izat SDK. -# GTP_AP_MODE = 4 - -# 1: MP cell features relies on GTP AP for either download or upload -# 0: MP cell features does not rely on GTP AP -# GTP_AP_NEEDED_BY_MP_CELL = 1 - -############################################################################## -# Configuration items applicable to all devices # -############################################################################## - -# Log verbosity control for most of the GTP WiFi system, including native and -# Java componenets -# OFF = 0, ERROR = 1, WARNING = 2, INFO = 3, DEBUG = 4, VERBOSE = 5, ALL = 100 -DEBUG_GLOBAL_LOG_LEVEL = 2 - -# this is used at the server side to distinguish uploads from different maker/model -# default "Qualcomm" -OEM_ID_IN_REQUEST_TO_SERVER = "Qualcomm" - -# this is used at the server side to distinguish uploads from different maker/model -# default "UNKNOWN" -MODEL_ID_IN_REQUEST_TO_SERVER = "UNKNOWN" - -############################################################################## -# Qualcomm Network Location Provider config # -############################################################################## - -# Accuracy Threshold for NLP position. Position exceeds thsi threshold will be filtered out. -# Default is 25000 meters. -LARGE_ACCURACY_THRESHOLD_TO_FILTER_NLP_POSITION = 25000 diff --git a/proprietary-files.txt b/proprietary-files.txt index 0c01343..573c890 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -1044,6 +1044,8 @@ vendor/lib/hw/vulkan.adreno.so vendor/lib64/hw/vulkan.adreno.so # GNSS +odm/etc/izat.conf +odm/etc/sap.conf vendor/bin/hw/android.hardware.gnss@2.1-service-qti vendor/bin/loc_launcher vendor/bin/lowi-server @@ -1056,7 +1058,11 @@ vendor/etc/init/android.hardware.gnss@2.1-service-qti.rc -vendor/etc/vintf/manifest/android.hardware.gnss@2.1-service-qti.xml -vendor/etc/vintf/manifest/vendor.qti.gnss@4.0-service.xml vendor/etc/cacert_location.pem +vendor/etc/flp.conf +vendor/etc/gnss_antenna_info.conf +vendor/etc/lowi.conf vendor/etc/xtra_root_cert.pem +vendor/etc/xtwifi.conf vendor/lib64/hw/android.hardware.gnss@2.1-impl-qti.so vendor/lib64/hw/vendor.qti.gnss@4.0-impl.so vendor/lib64/libaoa.so