From ce3131de5b3be4883d582cd5b1dffc22647e94b9 Mon Sep 17 00:00:00 2001 From: James Huang Date: Sun, 31 Mar 2024 21:07:10 +0800 Subject: [PATCH] gps: Update FW 4.15.1_2_P1 + config change Reuqest ref time/location in factory cold start Allowed age can be set in the CFG file. Up to 600. (defualt is 0) Bug: 328349939 Test: VTS/CTS and GNSS sanity test b/332100288 Change-Id: I5bf823de12f4e2ded3ba730fb5c5fef2840ecb3f --- location/caiman/user/gps.cfg | 2 ++ location/caiman/userdebug/gps.cfg | 2 ++ location/komodo/user/gps.cfg | 2 ++ location/komodo/userdebug/gps.cfg | 2 ++ location/ripcurrent24/user/gps.cfg | 2 ++ location/ripcurrent24/userdebug/gps.cfg | 2 ++ location/ripcurrentpro/user/gps.cfg | 2 ++ location/ripcurrentpro/userdebug/gps.cfg | 2 ++ location/tokay/user/gps.cfg | 2 ++ location/tokay/userdebug/gps.cfg | 2 ++ 10 files changed, 20 insertions(+) diff --git a/location/caiman/user/gps.cfg b/location/caiman/user/gps.cfg index 6e9441e8..418af00f 100644 --- a/location/caiman/user/gps.cfg +++ b/location/caiman/user/gps.cfg @@ -9,6 +9,8 @@ gnss_device_patch_address=0 gnss_device_patch_file=/vendor/firmware/kepler.bin ism_stream_enable=1 caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK +MaxNtnRefLocAgeSecs=600 +GlueLayer_IsPlatformRefTimeEnable=1 chpp_betp_client=1 gnss_device_data_port_chpp_spi_device=/dev/gnss_ipc gnss_device_data_port_chpp_present=1 diff --git a/location/caiman/userdebug/gps.cfg b/location/caiman/userdebug/gps.cfg index 3ca3bff2..f096fea5 100644 --- a/location/caiman/userdebug/gps.cfg +++ b/location/caiman/userdebug/gps.cfg @@ -24,6 +24,7 @@ gnss_device_patch_file=/vendor/firmware/kepler.bin ism_stream_enable=1 caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK +MaxNtnRefLocAgeSecs=600 # CHIP_CONFIG_IO_OPT_HOSTIO_VIA_SECONDARY + CHIP_CONFIG_IO_OPT_CPMB_MASK #Chip_Configuration_Io_Options=0x9 # enable DEBUG sync msg @@ -33,6 +34,7 @@ caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK #Chip_Configuration_cpdbgsync=1 # Chip_Configuration_TrackerDebugMode = 0x10 +GlueLayer_IsPlatformRefTimeEnable=1 # enables CHPP for SPI port # uncomment the *chpp* lines below (and comment gnss_device-data_port_kepslim_present above) to use SPI+CHPP diff --git a/location/komodo/user/gps.cfg b/location/komodo/user/gps.cfg index cddf466e..a9b1b66e 100644 --- a/location/komodo/user/gps.cfg +++ b/location/komodo/user/gps.cfg @@ -9,6 +9,8 @@ gnss_device_patch_address=0 gnss_device_patch_file=/vendor/firmware/kepler.bin ism_stream_enable=1 caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK +MaxNtnRefLocAgeSecs=600 +GlueLayer_IsPlatformRefTimeEnable=1 chpp_betp_client=1 gnss_device_data_port_chpp_spi_device=/dev/gnss_ipc gnss_device_data_port_chpp_present=1 diff --git a/location/komodo/userdebug/gps.cfg b/location/komodo/userdebug/gps.cfg index 9263e87d..db8de3d0 100644 --- a/location/komodo/userdebug/gps.cfg +++ b/location/komodo/userdebug/gps.cfg @@ -24,6 +24,7 @@ gnss_device_patch_file=/vendor/firmware/kepler.bin ism_stream_enable=1 caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK +MaxNtnRefLocAgeSecs=600 # CHIP_CONFIG_IO_OPT_HOSTIO_VIA_SECONDARY + CHIP_CONFIG_IO_OPT_CPMB_MASK #Chip_Configuration_Io_Options=0x9 # enable DEBUG sync msg @@ -33,6 +34,7 @@ caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK #Chip_Configuration_cpdbgsync=1 # Chip_Configuration_TrackerDebugMode = 0x10 +GlueLayer_IsPlatformRefTimeEnable=1 # enables CHPP for SPI port # uncomment the *chpp* lines below (and comment gnss_device-data_port_kepslim_present above) to use SPI+CHPP diff --git a/location/ripcurrent24/user/gps.cfg b/location/ripcurrent24/user/gps.cfg index 734c4595..6ac5fedd 100644 --- a/location/ripcurrent24/user/gps.cfg +++ b/location/ripcurrent24/user/gps.cfg @@ -9,6 +9,8 @@ gnss_device_patch_address=0 gnss_device_patch_file=/vendor/firmware/kepler.bin ism_stream_enable=1 caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK +MaxNtnRefLocAgeSecs=600 +GlueLayer_IsPlatformRefTimeEnable=1 chpp_betp_client=1 gnss_device_data_port_chpp_spi_device=/dev/gnss_ipc gnss_device_data_port_chpp_present=1 diff --git a/location/ripcurrent24/userdebug/gps.cfg b/location/ripcurrent24/userdebug/gps.cfg index 9c9718fd..258b500b 100644 --- a/location/ripcurrent24/userdebug/gps.cfg +++ b/location/ripcurrent24/userdebug/gps.cfg @@ -24,6 +24,7 @@ gnss_device_patch_file=/vendor/firmware/kepler.bin ism_stream_enable=1 caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK +MaxNtnRefLocAgeSecs=600 # CHIP_CONFIG_IO_OPT_HOSTIO_VIA_SECONDARY + CHIP_CONFIG_IO_OPT_CPMB_MASK #Chip_Configuration_Io_Options=0x9 # enable DEBUG sync msg @@ -33,6 +34,7 @@ caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK #Chip_Configuration_cpdbgsync=1 # Chip_Configuration_TrackerDebugMode = 0x10 +GlueLayer_IsPlatformRefTimeEnable=1 # enables CHPP for SPI port # uncomment the *chpp* lines below (and comment gnss_device-data_port_kepslim_present above) to use SPI+CHPP diff --git a/location/ripcurrentpro/user/gps.cfg b/location/ripcurrentpro/user/gps.cfg index b0a5897a..17b8fc58 100644 --- a/location/ripcurrentpro/user/gps.cfg +++ b/location/ripcurrentpro/user/gps.cfg @@ -9,6 +9,8 @@ gnss_device_patch_address=0 gnss_device_patch_file=/vendor/firmware/kepler.bin ism_stream_enable=1 caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK +MaxNtnRefLocAgeSecs=600 +GlueLayer_IsPlatformRefTimeEnable=1 chpp_betp_client=1 gnss_device_data_port_chpp_spi_device=/dev/gnss_ipc gnss_device_data_port_chpp_present=1 diff --git a/location/ripcurrentpro/userdebug/gps.cfg b/location/ripcurrentpro/userdebug/gps.cfg index 9c9718fd..258b500b 100644 --- a/location/ripcurrentpro/userdebug/gps.cfg +++ b/location/ripcurrentpro/userdebug/gps.cfg @@ -24,6 +24,7 @@ gnss_device_patch_file=/vendor/firmware/kepler.bin ism_stream_enable=1 caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK +MaxNtnRefLocAgeSecs=600 # CHIP_CONFIG_IO_OPT_HOSTIO_VIA_SECONDARY + CHIP_CONFIG_IO_OPT_CPMB_MASK #Chip_Configuration_Io_Options=0x9 # enable DEBUG sync msg @@ -33,6 +34,7 @@ caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK #Chip_Configuration_cpdbgsync=1 # Chip_Configuration_TrackerDebugMode = 0x10 +GlueLayer_IsPlatformRefTimeEnable=1 # enables CHPP for SPI port # uncomment the *chpp* lines below (and comment gnss_device-data_port_kepslim_present above) to use SPI+CHPP diff --git a/location/tokay/user/gps.cfg b/location/tokay/user/gps.cfg index 8752ed7b..6241e570 100644 --- a/location/tokay/user/gps.cfg +++ b/location/tokay/user/gps.cfg @@ -9,6 +9,8 @@ gnss_device_patch_address=0 gnss_device_patch_file=/vendor/firmware/kepler.bin ism_stream_enable=1 caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK +MaxNtnRefLocAgeSecs=600 +GlueLayer_IsPlatformRefTimeEnable=1 chpp_betp_client=1 gnss_device_data_port_chpp_spi_device=/dev/gnss_ipc gnss_device_data_port_chpp_present=1 diff --git a/location/tokay/userdebug/gps.cfg b/location/tokay/userdebug/gps.cfg index 30ca83e0..f54be954 100644 --- a/location/tokay/userdebug/gps.cfg +++ b/location/tokay/userdebug/gps.cfg @@ -24,6 +24,7 @@ gnss_device_patch_file=/vendor/firmware/kepler.bin ism_stream_enable=1 caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK +MaxNtnRefLocAgeSecs=600 # CHIP_CONFIG_IO_OPT_HOSTIO_VIA_SECONDARY + CHIP_CONFIG_IO_OPT_CPMB_MASK #Chip_Configuration_Io_Options=0x9 # enable DEBUG sync msg @@ -33,6 +34,7 @@ caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK #Chip_Configuration_cpdbgsync=1 # Chip_Configuration_TrackerDebugMode = 0x10 +GlueLayer_IsPlatformRefTimeEnable=1 # enables CHPP for SPI port # uncomment the *chpp* lines below (and comment gnss_device-data_port_kepslim_present above) to use SPI+CHPP