From af9634ce7609d2a2374a62447db2b8e98648587a Mon Sep 17 00:00:00 2001 From: James Huang Date: Mon, 8 Apr 2024 14:35:00 +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: Ideb82c1a082c16338cbf2b97d8afbfef4169cda3 --- location/caiman/user/gps.cfg | 2 ++ location/caiman/userdebug/gps.cfg | 3 +++ location/komodo/user/gps.cfg | 2 ++ location/komodo/userdebug/gps.cfg | 3 +++ location/ripcurrent24/user/gps.cfg | 2 ++ location/ripcurrent24/userdebug/gps.cfg | 3 +++ location/ripcurrentpro/user/gps.cfg | 2 ++ location/ripcurrentpro/userdebug/gps.cfg | 3 +++ location/tokay/user/gps.cfg | 2 ++ location/tokay/userdebug/gps.cfg | 3 +++ 10 files changed, 25 insertions(+) diff --git a/location/caiman/user/gps.cfg b/location/caiman/user/gps.cfg index 418af00f..bfe420ff 100644 --- a/location/caiman/user/gps.cfg +++ b/location/caiman/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/caiman/userdebug/gps.cfg b/location/caiman/userdebug/gps.cfg index f096fea5..4c052202 100644 --- a/location/caiman/userdebug/gps.cfg +++ b/location/caiman/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 diff --git a/location/komodo/user/gps.cfg b/location/komodo/user/gps.cfg index a9b1b66e..47453d47 100644 --- a/location/komodo/user/gps.cfg +++ b/location/komodo/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/komodo/userdebug/gps.cfg b/location/komodo/userdebug/gps.cfg index db8de3d0..e407c8bf 100644 --- a/location/komodo/userdebug/gps.cfg +++ b/location/komodo/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 diff --git a/location/ripcurrent24/user/gps.cfg b/location/ripcurrent24/user/gps.cfg index 6ac5fedd..4ba5a9fd 100644 --- a/location/ripcurrent24/user/gps.cfg +++ b/location/ripcurrent24/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/ripcurrent24/userdebug/gps.cfg b/location/ripcurrent24/userdebug/gps.cfg index 258b500b..bdd06866 100644 --- a/location/ripcurrent24/userdebug/gps.cfg +++ b/location/ripcurrent24/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 diff --git a/location/ripcurrentpro/user/gps.cfg b/location/ripcurrentpro/user/gps.cfg index 17b8fc58..dd25c041 100644 --- a/location/ripcurrentpro/user/gps.cfg +++ b/location/ripcurrentpro/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/ripcurrentpro/userdebug/gps.cfg b/location/ripcurrentpro/userdebug/gps.cfg index 258b500b..bdd06866 100644 --- a/location/ripcurrentpro/userdebug/gps.cfg +++ b/location/ripcurrentpro/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 diff --git a/location/tokay/user/gps.cfg b/location/tokay/user/gps.cfg index 6241e570..c738a867 100644 --- a/location/tokay/user/gps.cfg +++ b/location/tokay/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/tokay/userdebug/gps.cfg b/location/tokay/userdebug/gps.cfg index f54be954..1ccf4135 100644 --- a/location/tokay/userdebug/gps.cfg +++ b/location/tokay/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