From 8150d89538f30acba971cc65d9e43023cc366bd5 Mon Sep 17 00:00:00 2001 From: Cheng Chang Date: Tue, 30 Apr 2024 02:26:45 +0000 Subject: [PATCH] gps: Enable GAAM and disable magnetometer Bug: 337715905 Test: Verified sensor service without magnetometer. Change-Id: Ib0970f89fcb85b04d4f20e86a4896cb1c532527c --- location/caiman/user/gps.cfg | 4 ++-- location/caiman/userdebug/gps.cfg | 4 ++-- location/komodo/user/gps.cfg | 4 ++-- location/komodo/userdebug/gps.cfg | 4 ++-- location/ripcurrent24/user/gps.cfg | 4 ++-- location/ripcurrent24/userdebug/gps.cfg | 4 ++-- location/ripcurrentpro/user/gps.cfg | 4 ++-- location/ripcurrentpro/userdebug/gps.cfg | 4 ++-- location/tokay/user/gps.cfg | 4 ++-- location/tokay/userdebug/gps.cfg | 4 ++-- 10 files changed, 20 insertions(+), 20 deletions(-) diff --git a/location/caiman/user/gps.cfg b/location/caiman/user/gps.cfg index 29423671..e1fc4b7c 100644 --- a/location/caiman/user/gps.cfg +++ b/location/caiman/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/caiman/userdebug/gps.cfg b/location/caiman/userdebug/gps.cfg index b375022b..cf088039 100644 --- a/location/caiman/userdebug/gps.cfg +++ b/location/caiman/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 diff --git a/location/komodo/user/gps.cfg b/location/komodo/user/gps.cfg index 006415d8..af195e7b 100644 --- a/location/komodo/user/gps.cfg +++ b/location/komodo/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/komodo/userdebug/gps.cfg b/location/komodo/userdebug/gps.cfg index 095b4f9a..f69e4c28 100644 --- a/location/komodo/userdebug/gps.cfg +++ b/location/komodo/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 diff --git a/location/ripcurrent24/user/gps.cfg b/location/ripcurrent24/user/gps.cfg index b78870c6..0b4c3395 100644 --- a/location/ripcurrent24/user/gps.cfg +++ b/location/ripcurrent24/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 @@ -48,7 +48,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/ripcurrent24/userdebug/gps.cfg b/location/ripcurrent24/userdebug/gps.cfg index c4b45c80..5eb6fc8c 100644 --- a/location/ripcurrent24/userdebug/gps.cfg +++ b/location/ripcurrent24/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 @@ -174,7 +174,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/ripcurrentpro/user/gps.cfg b/location/ripcurrentpro/user/gps.cfg index b78870c6..0b4c3395 100644 --- a/location/ripcurrentpro/user/gps.cfg +++ b/location/ripcurrentpro/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 @@ -48,7 +48,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/ripcurrentpro/userdebug/gps.cfg b/location/ripcurrentpro/userdebug/gps.cfg index 0894531b..5eb6fc8c 100644 --- a/location/ripcurrentpro/userdebug/gps.cfg +++ b/location/ripcurrentpro/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 @@ -174,7 +174,7 @@ GlueLayer_isReqDBHFromFwRefLoc=1 GlueLayer_isReqUBPFromPressureSensor=1 GlueLayer_IsMemsEnable=1 GlueLayer_MeasCorrCap=7 -Chip_Configuration_mems_data_Configuration=0x37 +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/tokay/user/gps.cfg b/location/tokay/user/gps.cfg index 9364254a..a812d4a5 100644 --- a/location/tokay/user/gps.cfg +++ b/location/tokay/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/tokay/userdebug/gps.cfg b/location/tokay/userdebug/gps.cfg index 3630bcf7..99a6a637 100644 --- a/location/tokay/userdebug/gps.cfg +++ b/location/tokay/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