From 8b879fc372822b9bc48d8a30d5cebcadcc567a05 Mon Sep 17 00:00:00 2001 From: James Huang Date: Mon, 3 Jun 2024 11:39:51 +0800 Subject: [PATCH] gps: Update release 4.15.1_13_240603_R2 config to enable PDR on CT3 Add NavOptions=0x2443 to enable PDR Add Chip_Configuration_mems_data_Configuration=0x27 to support Step counter and Magnetometer Test: CTS/VTS, sanity test/stress test/SST Change-Id: I4d3df40021af7dbd3ad56ece815d921e6a798e35 --- location/user/gps.cfg | 3 ++- location/userdebug/gps.cfg | 9 ++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/location/user/gps.cfg b/location/user/gps.cfg index 03dc158..9f901b2 100644 --- a/location/user/gps.cfg +++ b/location/user/gps.cfg @@ -52,7 +52,7 @@ GlueLayer_isReqUBPFromPressureSensor=1 GlueLayer_IsRilCIDReqEnable=0 GlueLayer_IsMemsEnable=1 GlueLayer_MeasCorrCap=7 -Chip_Configuration_mems_data_Configuration=0x5 +Chip_Configuration_mems_data_Configuration=0x27 Chip_Configuration_FeatureCfg_ANDRD_MEAS_CORR_ENABLE=1 CP_LocTech_PrimaryConst=0 CP_LocTech_Constraints=1 @@ -70,6 +70,7 @@ isForceHighAccuracyMode=1 cp_partial_reset_disable=1 isUseUncalAccel=1 isUseUncalMagn=0 +NavOptions=0x2443 GNSS_CARRIER_CONFIG_BEGIN GNSS_CARRIER_ID=0 diff --git a/location/userdebug/gps.cfg b/location/userdebug/gps.cfg index ea11f2b..668609a 100644 --- a/location/userdebug/gps.cfg +++ b/location/userdebug/gps.cfg @@ -180,7 +180,7 @@ GlueLayer_isReqUBPFromPressureSensor=1 GlueLayer_IsRilCIDReqEnable=0 GlueLayer_IsMemsEnable=1 GlueLayer_MeasCorrCap=7 -Chip_Configuration_mems_data_Configuration=0x5 +Chip_Configuration_mems_data_Configuration=0x27 Chip_Configuration_FeatureCfg_ANDRD_MEAS_CORR_ENABLE=1 CP_LocTech_PrimaryConst=0 CP_LocTech_Constraints=1 @@ -211,6 +211,13 @@ cp_partial_reset_disable=1 isUseUncalAccel=1 isUseUncalMagn=0 +# 0x0001: Enable StaticNavMode +# 0x0002: Enable TunnelDetection +# 0x0040: Self-detection Algorithm works +# 0x0400: Enable MEMS S5 +# 0x2000: Enable MEMS PGMF (Pedestrian GNSS + MEMS Fusion) +NavOptions=0x2443 + GNSS_CARRIER_CONFIG_BEGIN # DEFAULT GNSS_CARRIER_ID=0