From bdb57d6d6fa8c043afd245cf25e7a8062e3833b9 Mon Sep 17 00:00:00 2001 From: James Huang Date: Sun, 31 Mar 2024 21:18:55 +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: If89de023f79759a311744fa0fddb2dfb948ac99b --- location/user/gps.cfg | 2 ++ location/userdebug/gps.cfg | 2 ++ 2 files changed, 4 insertions(+) diff --git a/location/user/gps.cfg b/location/user/gps.cfg index db6022c..abda3b0 100644 --- a/location/user/gps.cfg +++ b/location/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/userdebug/gps.cfg b/location/userdebug/gps.cfg index a9d2050..ad41688 100644 --- a/location/userdebug/gps.cfg +++ b/location/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