From 35b9d94fd109f3a976a8ae6068ffbcab9d24eeb0 Mon Sep 17 00:00:00 2001 From: Cheng Chang Date: Tue, 30 Apr 2024 02:30:35 +0000 Subject: [PATCH] gps: Enable GAAM and disable magnetometer Bug: 337715905 Test: Verified sensor service without magnetometer. Change-Id: Ie1a1d758c3f8a4d2b06795680f798e6c9f4286ce --- location/user/gps.cfg | 4 ++-- location/userdebug/gps.cfg | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/location/user/gps.cfg b/location/user/gps.cfg index 77f008c..2fd3edd 100644 --- a/location/user/gps.cfg +++ b/location/user/gps.cfg @@ -7,7 +7,7 @@ GlueLayer_EnableGnssCfgInterface=1 gnss_device_type=K042 gnss_device_patch_address=0 gnss_device_patch_file=/vendor/firmware/kepler.bin -ism_stream_enable=0 +ism_stream_enable=1 caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK MaxNtnRefLocAgeSecs=600 GlueLayer_IsPlatformRefTimeEnable=1 @@ -49,7 +49,7 @@ GlueLayer_isReqDBHFromFwRefLoc=1 GlueLayer_isReqUBPFromPressureSensor=1 GlueLayer_IsMemsEnable=1 GlueLayer_MeasCorrCap=7 -Chip_Configuration_mems_data_Configuration=0x7 +Chip_Configuration_mems_data_Configuration=0x5 Chip_Configuration_FeatureCfg_ANDRD_MEAS_CORR_ENABLE=1 CP_LocTech_PrimaryConst=0 CP_LocTech_Constraints=0x81 diff --git a/location/userdebug/gps.cfg b/location/userdebug/gps.cfg index 4b69545..c39b9d9 100644 --- a/location/userdebug/gps.cfg +++ b/location/userdebug/gps.cfg @@ -21,7 +21,7 @@ gnss_device_patch_address=0 gnss_device_patch_file=/vendor/firmware/kepler.bin # enable ism stream for GAAM -ism_stream_enable=0 +ism_stream_enable=1 caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK MaxNtnRefLocAgeSecs=600 @@ -175,7 +175,7 @@ GlueLayer_isReqDBHFromFwRefLoc=1 GlueLayer_isReqUBPFromPressureSensor=1 GlueLayer_IsMemsEnable=1 GlueLayer_MeasCorrCap=7 -Chip_Configuration_mems_data_Configuration=0x7 +Chip_Configuration_mems_data_Configuration=0x5 Chip_Configuration_FeatureCfg_ANDRD_MEAS_CORR_ENABLE=1 CP_LocTech_PrimaryConst=0 CP_LocTech_Constraints=0x81