From 85c7febe7b8b4e94e3e7ef99f670d1f4273bcee3 Mon Sep 17 00:00:00 2001 From: James Huang Date: Tue, 11 Jun 2024 16:33:13 +0800 Subject: [PATCH] gps: Disable Magnetometer sensor in gps.cfg for CT3 Set Chip_Configuration_mems_data_Configuration=0x25 Bug: 346490557 Test: CTS/VTS, sanity test/Stress test/SST Change-Id: I57940f9eb38e2b0eaf2be6f81e02fb497ddfaa1d --- location/user/gps.cfg | 2 +- location/userdebug/gps.cfg | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/location/user/gps.cfg b/location/user/gps.cfg index b951644..3dafd4f 100644 --- a/location/user/gps.cfg +++ b/location/user/gps.cfg @@ -53,7 +53,7 @@ GlueLayer_isReqUBPFromPressureSensor=1 GlueLayer_IsRilCIDReqEnable=0 GlueLayer_IsMemsEnable=1 GlueLayer_MeasCorrCap=7 -Chip_Configuration_mems_data_Configuration=0x27 +Chip_Configuration_mems_data_Configuration=0x25 Chip_Configuration_FeatureCfg_ANDRD_MEAS_CORR_ENABLE=1 CP_LocTech_PrimaryConst=0 CP_LocTech_Constraints=1 diff --git a/location/userdebug/gps.cfg b/location/userdebug/gps.cfg index 766d289..9ec205a 100644 --- a/location/userdebug/gps.cfg +++ b/location/userdebug/gps.cfg @@ -182,7 +182,13 @@ GlueLayer_isReqUBPFromPressureSensor=1 GlueLayer_IsRilCIDReqEnable=0 GlueLayer_IsMemsEnable=1 GlueLayer_MeasCorrCap=7 -Chip_Configuration_mems_data_Configuration=0x27 + +# 0x0001: CHIP_CONFIG_MEMS_ACCEL_AVAILABLE +# 0x0002: CHIP_CONFIG_MEMS_MAGN_AVAILABLE +# 0x0004: CHIP_CONFIG_MEMS_GYRO_AVAILABLE +# 0x0010: CHIP_CONFIG_MEMS_ORIENTATION_AVAILABLE +# 0x0020: CHIP_CONFIG_MEMS_STEPCOUNTER_AVAILABLE +Chip_Configuration_mems_data_Configuration=0x25 Chip_Configuration_FeatureCfg_ANDRD_MEAS_CORR_ENABLE=1 CP_LocTech_PrimaryConst=0 CP_LocTech_Constraints=1