From e6baf5571636ac90c0f12dba6c1d74b5d410f224 Mon Sep 17 00:00:00 2001 From: James Huang Date: Mon, 8 Apr 2024 14:55:33 +0800 Subject: [PATCH] gps: Update gnss config to disable L5 (L1 only) Bug: 333317187 Test: Verify if device only accquires L1 only GNSS. Change-Id: I7885696ec5f9991176954d764fa4fdaaf5886fd6 --- location/user/gps.cfg | 2 ++ location/userdebug/gps.cfg | 3 +++ 2 files changed, 5 insertions(+) diff --git a/location/user/gps.cfg b/location/user/gps.cfg index abda3b0..f25a969 100644 --- a/location/user/gps.cfg +++ b/location/user/gps.cfg @@ -23,6 +23,8 @@ ChipCfg_VDR_low_end_Time = 20 Chip_Configuration_AidingConfiguration=0x00020046 Chip_Configuration_RefClkControl=0x24 Chip_Configuration_DCXO_CrystalType=0x11 +# L1 only, TODO: should remove below line to enable L5 back once b/329003269 fixed. +LocTech_Constraints = 0x603F Chip_Configuration_RfMiscCtrl = 0x80008001 bdsUsedInUSPolicy=2 sbasUsedInUSPolicy=2 diff --git a/location/userdebug/gps.cfg b/location/userdebug/gps.cfg index ad41688..87fbcd4 100644 --- a/location/userdebug/gps.cfg +++ b/location/userdebug/gps.cfg @@ -86,6 +86,9 @@ Chip_Configuration_RefClkControl=0x24 ## LOOK! S5400 ERD's uses NDK(2), Phones use Kyocera(1). Default set to phone (1) Chip_Configuration_DCXO_CrystalType=0x11 +# L1 only, TODO: should remove below line to enable L5 back once b/329003269 fixed. +LocTech_Constraints = 0x603F + ## Optionally specify DXCO Inflection point temperature, #### # This will override any default value or value in Crystal type #### # Value is degrees C x 100 E.g. 2855 = 28.55 deg C