gps: Enable Pps function

Bug: 346665757
Test: b/346665757#comment7 boot-health-check-extra.
Test: Function verification at b/346665757#comment8.
Change-Id: I5aa9d13cab822ac1b30e1baee99d4627c40a0891
This commit is contained in:
Cheng Chang 2024-06-11 10:23:31 +00:00
parent a59083d697
commit 5f208452e1
3 changed files with 4 additions and 2 deletions

View file

@ -327,6 +327,8 @@ PRODUCT_SOONG_NAMESPACES += \
# Location # Location
PRODUCT_SOONG_NAMESPACES += device/google/comet/location PRODUCT_SOONG_NAMESPACES += device/google/comet/location
# For GPS property
PRODUCT_VENDOR_PROPERTIES += ro.vendor.gps.pps.enabled=true
$(call soong_config_set, gpssdk, buildtype, $(TARGET_BUILD_VARIANT)) $(call soong_config_set, gpssdk, buildtype, $(TARGET_BUILD_VARIANT))
PRODUCT_PACKAGES += gps.cfg PRODUCT_PACKAGES += gps.cfg

View file

@ -10,7 +10,7 @@ gnss_device_patch_file=/vendor/firmware/kepler.bin
allow_logging_if_disconnected=0 allow_logging_if_disconnected=0
ism_stream_enable=1 ism_stream_enable=1
caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK
Is1PPSTimeSyncEnable=0 Is1PPSTimeSyncEnable=1
MaxNtnRefLocAgeSecs=600 MaxNtnRefLocAgeSecs=600
GlueLayer_IsPlatformRefTimeEnable=1 GlueLayer_IsPlatformRefTimeEnable=1
chpp_betp_client=1 chpp_betp_client=1

View file

@ -27,7 +27,7 @@ ism_stream_enable=1
caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK
# Enable/Disable 1PPS Time Sync policy # Enable/Disable 1PPS Time Sync policy
Is1PPSTimeSyncEnable=0 Is1PPSTimeSyncEnable=1
MaxNtnRefLocAgeSecs=600 MaxNtnRefLocAgeSecs=600
# CHIP_CONFIG_IO_OPT_HOSTIO_VIA_SECONDARY + CHIP_CONFIG_IO_OPT_CPMB_MASK # CHIP_CONFIG_IO_OPT_HOSTIO_VIA_SECONDARY + CHIP_CONFIG_IO_OPT_CPMB_MASK