From 0f77dbcff0de3c995d66336e9e77a89eb9ce14f2 Mon Sep 17 00:00:00 2001 From: James Huang Date: Thu, 14 Mar 2024 16:41:12 +0800 Subject: [PATCH] gps: Update gps.cfg for GNSS FW 4.15.0.150.P1 Add ENABLE_CAPS_OTDOA=1 to enable OTDOA by default Remove below two value and set default by code: - Chip_Configuration_GNSSConstConstraintDef - LocTech_Constraints Bug: 329328103 Test: Do VTS/CTS and GNSS sanity test. Change-Id: Ie3fc504c558fa3760ac84702469c825db5634237 --- location/user/gps.cfg | 3 +-- location/userdebug/gps.cfg | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/location/user/gps.cfg b/location/user/gps.cfg index 33da69e..ea20559 100644 --- a/location/user/gps.cfg +++ b/location/user/gps.cfg @@ -21,8 +21,6 @@ ChipCfg_VDR_low_end_Time = 20 Chip_Configuration_AidingConfiguration=0x00020046 Chip_Configuration_RefClkControl=0x24 Chip_Configuration_DCXO_CrystalType=0x11 -Chip_Configuration_GNSSConstConstraintDef = 0x60BF -LocTech_Constraints = 0x60BF Chip_Configuration_RfMiscCtrl = 0x80008001 bdsUsedInUSPolicy=2 sbasUsedInUSPolicy=2 @@ -65,6 +63,7 @@ isUseUncalAccel=1 GNSS_CARRIER_CONFIG_BEGIN GNSS_CARRIER_ID=0 +ENABLE_CAPS_OTDOA=1 ENABLE_2G_CP_CAPS_MSA=1 ENABLE_2G_CP_CAPS_MSB=1 ENABLE_3G_CP_CAPS_MSA=1 diff --git a/location/userdebug/gps.cfg b/location/userdebug/gps.cfg index 3d631ad..074837c 100644 --- a/location/userdebug/gps.cfg +++ b/location/userdebug/gps.cfg @@ -90,9 +90,6 @@ Chip_Configuration_DCXO_CrystalType=0x11 # Range should be 2000 to 3100 #Chip_Configuration_DCXO_InflectionPoint=2855 -# L1 + L5 MCW -Chip_Configuration_GNSSConstConstraintDef = 0x60BF -LocTech_Constraints = 0x60BF Chip_Configuration_RfMiscCtrl = 0x80008001 ### 2C48 L1 only MCW ### @@ -198,6 +195,7 @@ isUseUncalAccel=1 GNSS_CARRIER_CONFIG_BEGIN # DEFAULT GNSS_CARRIER_ID=0 +ENABLE_CAPS_OTDOA=1 ENABLE_2G_CP_CAPS_MSA=1 ENABLE_2G_CP_CAPS_MSB=1 ENABLE_3G_CP_CAPS_MSA=1