diff --git a/device-caiman.mk b/device-caiman.mk index f918dacb..b2b2aa2d 100644 --- a/device-caiman.mk +++ b/device-caiman.mk @@ -278,6 +278,8 @@ PRODUCT_SOONG_NAMESPACES += \ PRODUCT_SOONG_NAMESPACES += device/google/caimito/location/caiman $(call soong_config_set, gpssdk, buildtype, $(TARGET_BUILD_VARIANT)) PRODUCT_PACKAGES += gps.cfg +# For GPS property +PRODUCT_VENDOR_PROPERTIES += ro.vendor.gps.pps.enabled=true # Display LBE PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1 diff --git a/device-komodo.mk b/device-komodo.mk index ff1dd660..619e79ca 100644 --- a/device-komodo.mk +++ b/device-komodo.mk @@ -293,6 +293,8 @@ PRODUCT_SOONG_NAMESPACES += \ PRODUCT_SOONG_NAMESPACES += device/google/caimito/location/komodo $(call soong_config_set, gpssdk, buildtype, $(TARGET_BUILD_VARIANT)) PRODUCT_PACKAGES += gps.cfg +# For GPS property +PRODUCT_VENDOR_PROPERTIES += ro.vendor.gps.pps.enabled=true # Display LBE PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1 diff --git a/device-ripcurrent24.mk b/device-ripcurrent24.mk index 1edcf058..062f26d3 100644 --- a/device-ripcurrent24.mk +++ b/device-ripcurrent24.mk @@ -220,6 +220,8 @@ PRODUCT_SOONG_NAMESPACES += vendor/google_devices/caimito/prebuilts PRODUCT_SOONG_NAMESPACES += device/google/caimito/location/ripcurrent24 $(call soong_config_set, gpssdk, buildtype, $(TARGET_BUILD_VARIANT)) PRODUCT_PACKAGES += gps.cfg +# For GPS property +PRODUCT_VENDOR_PROPERTIES += ro.vendor.gps.pps.enabled=true PRODUCT_VENDOR_PROPERTIES += \ vendor.disable.thermal.control=1 \ diff --git a/device-ripcurrentpro.mk b/device-ripcurrentpro.mk index 2ebe8dc3..43c4c1ab 100644 --- a/device-ripcurrentpro.mk +++ b/device-ripcurrentpro.mk @@ -222,6 +222,8 @@ PRODUCT_SOONG_NAMESPACES += vendor/google_devices/caimito/prebuilts PRODUCT_SOONG_NAMESPACES += device/google/caimito/location/ripcurrentpro $(call soong_config_set, gpssdk, buildtype, $(TARGET_BUILD_VARIANT)) PRODUCT_PACKAGES += gps.cfg +# For GPS property +PRODUCT_VENDOR_PROPERTIES += ro.vendor.gps.pps.enabled=true PRODUCT_VENDOR_PROPERTIES += \ persist.device_config.configuration.disable_rescue_party=true diff --git a/device-tokay.mk b/device-tokay.mk index 9d252269..ca1f0bc1 100644 --- a/device-tokay.mk +++ b/device-tokay.mk @@ -267,6 +267,8 @@ PRODUCT_SOONG_NAMESPACES += vendor/google_devices/caimito/prebuilts PRODUCT_SOONG_NAMESPACES += device/google/caimito/location/tokay $(call soong_config_set, gpssdk, buildtype, $(TARGET_BUILD_VARIANT)) PRODUCT_PACKAGES += gps.cfg +# For GPS property +PRODUCT_VENDOR_PROPERTIES += ro.vendor.gps.pps.enabled=true # Display LBE PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1 diff --git a/location/caiman/user/gps.cfg b/location/caiman/user/gps.cfg index e8713a6c..8b52c9f9 100644 --- a/location/caiman/user/gps.cfg +++ b/location/caiman/user/gps.cfg @@ -10,7 +10,7 @@ gnss_device_patch_file=/vendor/firmware/kepler.bin allow_logging_if_disconnected=0 ism_stream_enable=1 caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK -Is1PPSTimeSyncEnable=0 +Is1PPSTimeSyncEnable=1 MaxNtnRefLocAgeSecs=600 GlueLayer_IsPlatformRefTimeEnable=1 chpp_betp_client=1 diff --git a/location/caiman/userdebug/gps.cfg b/location/caiman/userdebug/gps.cfg index b0dd58cc..fdbeb786 100644 --- a/location/caiman/userdebug/gps.cfg +++ b/location/caiman/userdebug/gps.cfg @@ -27,7 +27,7 @@ ism_stream_enable=1 caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK # Enable/Disable 1PPS Time Sync policy -Is1PPSTimeSyncEnable=0 +Is1PPSTimeSyncEnable=1 MaxNtnRefLocAgeSecs=600 # CHIP_CONFIG_IO_OPT_HOSTIO_VIA_SECONDARY + CHIP_CONFIG_IO_OPT_CPMB_MASK diff --git a/location/komodo/user/gps.cfg b/location/komodo/user/gps.cfg index 3462a024..e11cdcd5 100644 --- a/location/komodo/user/gps.cfg +++ b/location/komodo/user/gps.cfg @@ -10,7 +10,7 @@ gnss_device_patch_file=/vendor/firmware/kepler.bin allow_logging_if_disconnected=0 ism_stream_enable=1 caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK -Is1PPSTimeSyncEnable=0 +Is1PPSTimeSyncEnable=1 MaxNtnRefLocAgeSecs=600 GlueLayer_IsPlatformRefTimeEnable=1 chpp_betp_client=1 diff --git a/location/komodo/userdebug/gps.cfg b/location/komodo/userdebug/gps.cfg index 25c6cc2a..765d8c10 100644 --- a/location/komodo/userdebug/gps.cfg +++ b/location/komodo/userdebug/gps.cfg @@ -27,7 +27,7 @@ ism_stream_enable=1 caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK # Enable/Disable 1PPS Time Sync policy -Is1PPSTimeSyncEnable=0 +Is1PPSTimeSyncEnable=1 MaxNtnRefLocAgeSecs=600 # CHIP_CONFIG_IO_OPT_HOSTIO_VIA_SECONDARY + CHIP_CONFIG_IO_OPT_CPMB_MASK diff --git a/location/ripcurrent24/user/gps.cfg b/location/ripcurrent24/user/gps.cfg index c28dcc9e..5ff3ffa1 100644 --- a/location/ripcurrent24/user/gps.cfg +++ b/location/ripcurrent24/user/gps.cfg @@ -10,7 +10,7 @@ gnss_device_patch_file=/vendor/firmware/kepler.bin allow_logging_if_disconnected=0 ism_stream_enable=1 caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK -Is1PPSTimeSyncEnable=0 +Is1PPSTimeSyncEnable=1 MaxNtnRefLocAgeSecs=600 GlueLayer_IsPlatformRefTimeEnable=1 chpp_betp_client=1 diff --git a/location/ripcurrent24/userdebug/gps.cfg b/location/ripcurrent24/userdebug/gps.cfg index ceced4e9..ff7530f5 100644 --- a/location/ripcurrent24/userdebug/gps.cfg +++ b/location/ripcurrent24/userdebug/gps.cfg @@ -27,7 +27,7 @@ ism_stream_enable=1 caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK # Enable/Disable 1PPS Time Sync policy -Is1PPSTimeSyncEnable=0 +Is1PPSTimeSyncEnable=1 MaxNtnRefLocAgeSecs=600 # CHIP_CONFIG_IO_OPT_HOSTIO_VIA_SECONDARY + CHIP_CONFIG_IO_OPT_CPMB_MASK diff --git a/location/ripcurrentpro/user/gps.cfg b/location/ripcurrentpro/user/gps.cfg index c28dcc9e..5ff3ffa1 100644 --- a/location/ripcurrentpro/user/gps.cfg +++ b/location/ripcurrentpro/user/gps.cfg @@ -10,7 +10,7 @@ gnss_device_patch_file=/vendor/firmware/kepler.bin allow_logging_if_disconnected=0 ism_stream_enable=1 caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK -Is1PPSTimeSyncEnable=0 +Is1PPSTimeSyncEnable=1 MaxNtnRefLocAgeSecs=600 GlueLayer_IsPlatformRefTimeEnable=1 chpp_betp_client=1 diff --git a/location/ripcurrentpro/userdebug/gps.cfg b/location/ripcurrentpro/userdebug/gps.cfg index ceced4e9..ff7530f5 100644 --- a/location/ripcurrentpro/userdebug/gps.cfg +++ b/location/ripcurrentpro/userdebug/gps.cfg @@ -27,7 +27,7 @@ ism_stream_enable=1 caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK # Enable/Disable 1PPS Time Sync policy -Is1PPSTimeSyncEnable=0 +Is1PPSTimeSyncEnable=1 MaxNtnRefLocAgeSecs=600 # CHIP_CONFIG_IO_OPT_HOSTIO_VIA_SECONDARY + CHIP_CONFIG_IO_OPT_CPMB_MASK diff --git a/location/tokay/user/gps.cfg b/location/tokay/user/gps.cfg index 1ab34a5e..6306de6b 100644 --- a/location/tokay/user/gps.cfg +++ b/location/tokay/user/gps.cfg @@ -10,7 +10,7 @@ gnss_device_patch_file=/vendor/firmware/kepler.bin allow_logging_if_disconnected=0 ism_stream_enable=1 caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK -Is1PPSTimeSyncEnable=0 +Is1PPSTimeSyncEnable=1 MaxNtnRefLocAgeSecs=600 GlueLayer_IsPlatformRefTimeEnable=1 chpp_betp_client=1 diff --git a/location/tokay/userdebug/gps.cfg b/location/tokay/userdebug/gps.cfg index 03281fb3..57936255 100644 --- a/location/tokay/userdebug/gps.cfg +++ b/location/tokay/userdebug/gps.cfg @@ -27,7 +27,7 @@ ism_stream_enable=1 caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK # Enable/Disable 1PPS Time Sync policy -Is1PPSTimeSyncEnable=0 +Is1PPSTimeSyncEnable=1 MaxNtnRefLocAgeSecs=600 # CHIP_CONFIG_IO_OPT_HOSTIO_VIA_SECONDARY + CHIP_CONFIG_IO_OPT_CPMB_MASK