Commit graph

50 commits

Author SHA1 Message Date
James Huang
262991dbfc gps: Update official release 4.15.3_7_241024_R1 config on P24
Add Chip_Configuration_ntn_option=2

bug: 369951938
Test: NTN test
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1830a99ad22195b5993d782ca99189f83b89c3a4)
Merged-In: Ieae21e4716d39c7e1b73ae6128032abcbcfa689a
Change-Id: Ieae21e4716d39c7e1b73ae6128032abcbcfa689a
2024-10-31 19:24:24 +00:00
James Huang
edc71a985c gps: Update L5 Path Delay Parameters for P24
Bug: 354606287
Test: Field test
Change-Id: I0601716cb52891a569de07c092a9f50760a6ceee
2024-09-16 08:28:16 +00:00
James Huang
4023711765 gps: Update official release 4.15.3_6_240905_R2 config
Add ENABLE_NLP_ALONG_WITH_UBP=0 in default carrier config
Add ChipCfg_Timemark_Option=1 to enable 1pps timemark output
Support follwoing cfg items to change sampling rate.
    AccelSamplingPeriodUs=10000
    MagnSamplingPeriodUs=10000
    GyroSamplingPeriodUs=10000
    PressSamplingPeriodUs=50000
    OrientationSamplingPeriodUs=10000
    StepCounterSamplingPeriodUs=1000000

Bug: 321229708
Bug: 355590184
Bug: 362556705
Test: CTS/VTS, basic validation test/stress test/SST/field test
Change-Id: I6a843679c21c01033d74658d7e28a4b2931b54f5
2024-09-11 11:49:46 +00:00
James Huang
2170782f0f gps: Remove ENABLE_CAPS_OTDOA to enable OTDOA in VZW network.
Bug: 361007684
Test: verify the cfg item aligned
Change-Id: Ibc60cbd1edb05640fefb433c44eaa8710e4f71f7
2024-09-10 09:27:48 +00:00
James Huang
4a7df44d58 gps: Update release 4.15.3_3_240815_R1 config
Enable GAL for E911 location for ATT by Set CP_LocTech_Constraints to 5

Bug: 316151601
Test: CTS/VTS, validation test/stress test
Change-Id: I91ae5a9bd35a51b9bfc3580582ef157580011f1c
2024-09-02 08:42:31 +00:00
James Huang
ee5c11ff24 gps: Update 4.15.1_19_240725_R1 config for P24
Update GnssPowerStats config

Bug: 300361503
Test: CTS/VTS, GNSS sanity test, stress test
Change-Id: Ifcd7075c57ae5fd3646bcab7ab29a0baf0d436b2
2024-07-20 10:24:41 +08:00
Treehugger Robot
ceaa9ffc20 Merge "gps: Enable Pps function" into main 2024-06-13 11:16:26 +00:00
Cheng Chang
a253fb00af gps: Enable Pps function
Bug: 346665757
Test: b/346665757#comment7 boot-health-check-extra.
Test: Function verification at b/346665757#comment8.
Change-Id: I145d2019f7eb18ecbbfd87ce638932729a1d9b31
2024-06-12 07:58:45 +00:00
James Huang
e04a91d1e1 gps: Disable Magnetometer sensor in gps.cfg for P24
Set Chip_Configuration_mems_data_Configuration=0x25

Bug: 346490557
Test: CTS/VTS, sanity test/Stress test/SST
Change-Id: I589dbc6de2dfa8c9d2c18996352baaf919bdbb6b
2024-06-11 17:24:07 +08:00
Lynn Yeh
fd3440ed6a Merge "gps: maintain one solution" into 24D1-dev 2024-06-11 02:25:19 +00:00
David Lin
46374be111 Merge "gps: Update official release 4.15.1_15_240610_R2 config for P24" into 24D1-dev am: 0057626845
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/27764315

Change-Id: I32c61c67148f142d7ce1ea2371223ad7fdbd4132
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-11 01:30:37 +00:00
James Huang
dc212069dc gps: Update official release 4.15.1_15_240610_R2 config for P24
Add allow_logging_if_disconnected=0

Bug: 344006818
Test: CTS/VTS, Sanity test/Stress Test/SST
Change-Id: Ifd803e0fe605440ccb7814211af686557f847c36
2024-06-10 22:57:01 +08:00
James Huang
2abafe2bda gps: Update release 4.15.1_13_240603_R2 config to enable PDR on P24 am: d30d3fc1b7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/27627760

Change-Id: Id30c7c570bb2e655743da8ac48428a329f984df4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 01:17:07 +00:00
Wayne Lin
7d1de62cb2 gps: maintain one solution
Bug: 315915958
Test: build pass and GPS function works
Change-Id: Ibe6f2ce01b95dea8fca53dda4833a81262ebc63a
Merged-In: Ibe6f2ce01b95dea8fca53dda4833a81262ebc63a
2024-06-05 07:06:07 +00:00
James Huang
d30d3fc1b7 gps: Update release 4.15.1_13_240603_R2 config to enable PDR on P24
Add NavOptions=0x2443 to enable PDR
Add Chip_Configuration_mems_data_Configuration=0x27 to support Step
counter and Magnetometer

Test: VTS/CTS, sanity test/Sress test/SST
Change-Id: I48dcd5f4f46e152e80571e09a290ff17d52ffaf9
2024-06-05 12:54:18 +08:00
Shinru Han
ff16e065b7 Merge "gps: maintain one solution" into main 2024-06-04 06:41:30 +00:00
Wayne Lin
b78ba022cb Revert "gps: Disable NFW lock"
Revert submission 27263809-disable-nfw-lock

Reason for revert: enable NFW after LOCSW-21052 is reverted in b/326439267 and fix test case failure in b/343511469

Reverted changes: /q/submissionid:27263809-disable-nfw-lock

Change-Id: Iffa05830a522e8a4e73a534c89dc8b3dec5dec87
2024-05-30 01:43:26 +00:00
James Huang
3bd895bc61 gps: Update official binary release 4.15.1_11_240527_R3 config for P24
Add isUseUncalMagn=0 to use Calibrated Magnetometer data (For PDR)

Test: CTS/VTS, GNSS sanity test/Stress test/SST
Change-Id: I1a842856aee9a0d3c4ce4e2b4aa514344acc8a4d
2024-05-29 23:09:46 +08:00
Treehugger Robot
08d57e2204 Merge "gps: Update GNSS official release 4.15.1_8_R2 + config for P24" into 24D1-dev 2024-05-17 13:27:19 +00:00
Shinru Han
4050ef7922 gps: Disable NFW lock
Disable NFW lock to prevent SUPL NI failure

Bug: 340374545
Test: b/340374545#comment15
Change-Id: I7404f71124e5d9500f5e0f8d6d3937bffe6fce91
2024-05-15 01:16:00 +00:00
James Huang
aa657a3bc7 gps: Update GNSS official release 4.15.1_8_R2 + config for P24
Add Chip_Configuration_FeatureCfg_SDL_BYASS = 1 to switch gnss restart behavior.

Bug: 338152369
Test: Verify CTS/VTS, sanity test, stress test, SST in b/340060035
Change-Id: Ibf1ad6a8803fea1719f20acdd9e6876822e7a8b8
2024-05-12 17:00:45 +08:00
James Huang
b3683e372e gps: Update gps: Update GNSS FW 4.15.1_7_P2_R3 + config for P24
Enable Navic (Chip_Configuration_GNSSConstConstraintDef = 0x60FF)
Disable 1PPS feature by default (Is1PPSTimeSyncEnable=0)

Bug: 336693604
Bug: 321020637
Test: Verify CTS/VTS, sanity test and SST in b/338492673
Change-Id: If23397117be814eec89195090a15e61b28240a10
2024-05-06 22:03:46 +08:00
Wayne Lin
32f9c20881 gps: maintain one solution
Bug: 315915958
Test: build pass and GPS function works
Change-Id: Ibe6f2ce01b95dea8fca53dda4833a81262ebc63a
2024-05-06 03:02:09 +00:00
Wayne Lin
b9548851c9 gps: disable AGPS L5
Bug: 336287475
Test: verify pass in b/336287475#comment25
Change-Id: Iffde98de5b7c8ea1e5218b87ff80d2ee31b065c0
2024-05-02 17:00:08 +00:00
Wayne Lin
5cd1a52d7d gps: disable requestRefLocCb to prevent incorrect cell info
Bug: 336760721
Test: verify pass in b/336760721#comment28
Change-Id: I4db133cbaa218d3a3a502c27264de5e4bae23bff
2024-05-02 22:15:32 +08:00
Cheng Chang
8150d89538 gps: Enable GAAM and disable magnetometer
Bug: 337715905
Test: Verified sensor service without magnetometer.
Change-Id: Ib0970f89fcb85b04d4f20e86a4896cb1c532527c
2024-04-30 02:41:25 +00:00
Cheng Chang
66b4d16914 gps: Disable AAM feature
Bug: 337715905
Test: Function verification at b/337735228
Change-Id: I957ac31df3cc807a31326447669b65558da135c8
2024-04-29 08:26:49 +00:00
Treehugger Robot
06a5da28a3 Merge "gps: Update GNSS FW 4.15.1_5_P4 with config change for P24" into 24D1-dev 2024-04-24 13:05:28 +00:00
James Huang
abf6f68528 gps: Update GNSS FW 4.15.1_5_P4 with config change for P24
Add Chip_Configuration_FeatureCfg_MTPL = 0 to disable MTPL

Bug: 336179125
Test: CTS/VTS, GNSS sanity test and SST in b/336424148
Change-Id: I56c9859a13dba388321b499d11e16cd4ec2bf56e
2024-04-24 12:01:10 +08:00
Shinru Han
a792368a2a Merge "Disable RILC_REQ_GPS_GNSS_LPP_PROFILE_SET" into 24D1-dev 2024-04-24 00:59:37 +00:00
Wayne Lin
d3a92eb85f gps: Update SUPL UT1 timer
set SUPL UT1 timer to 20 seconds to align ixit_timer_UT1 range

Bug: 334885271
Test: config works to set UT1 timer to 20 seconds
Change-Id: Ie11de2033067bc9655b4eb92e87be4ee34f41491
2024-04-22 08:02:33 +00:00
Shinru Han
8d92c04182 Disable RILC_REQ_GPS_GNSS_LPP_PROFILE_SET
Disabling RILC_REQ_GPS_GNSS_LPP_PROFILE_SET because this is not
needed and may cause CP reset after NTN to NT mode switch.

Test: NTN test
Bug: 333902499
Change-Id: I0d195c1dff3623d1b4a6560f0e0e7e6e8c3af904
2024-04-18 12:20:13 +00:00
James Huang
1933c7cedb gps: Update config to disable step counter for P24
Set Chip_Configuration_mems_data_Configuration=0x7 to disable step counter.

Bug: 335320817
Test: Verify no step counter was registed and no more GNSS crash
issue.

Change-Id: I328c94c7a02808d55909a8307c538ad7ba8529aa
2024-04-17 14:47:48 +08:00
James Huang
3563210826 gps: Updae gnss FW 4.15.1_4 + config for P24
Add CP_LocTech_Constraints to 0x81 to support AGPS L5
Remove L5 path delay to use Lassen's default one
Enable GNSS L5
Enable Soft dog to prevent gnss not recovering after modem_reset
Disable OTDOA due to VZW network fix isn't yet ready.

Bug: 333712582
Bug: 315713904
Bug: 332033831
Bug: 334697965
Test: VTS/CTS test and sanity/SST test b/333846456
Change-Id: Ib622bc5a83f8d0796dfe73b782ebc4985b47c378
2024-04-15 20:12:41 +08:00
James Huang
af9634ce76 gps: Update gnss config to disable L5 (L1 only)
Bug: 333317187
Test: Verify if device only accquires L1 only GNSS.
Change-Id: Ideb82c1a082c16338cbf2b97d8afbfef4169cda3
2024-04-08 15:38:37 +08:00
James Huang
ce3131de5b 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: I5bf823de12f4e2ded3ba730fb5c5fef2840ecb3f
2024-04-03 06:31:13 +08:00
James Huang
27d5a1a5c4 gps: Update FW 4.15.0.154 + config change.
- Add partial reset config control (default disable)
- Add GlueLayer_IsUseCustomGnssLib support (default remove)
- Add L5 Path Delay Parameters

Bug: 329176689
Bug: 323089817
Bug: 296352970
Test: VTS/CTS, basic sanity, SST and Field test
Change-Id: Ib0b7a333eb7c88af2ae4532a7f6b474bf41d85a5
2024-03-31 20:50:28 +08:00
James Huang
18d853c294 gps: Update FW 4.15.0.153 with gps.cfg change
Add Chip_Configuration_mems_data_Configuration=0x37

Bug: 330421581
Test: Do VTS/CTS and GNSS sanity test.
Change-Id: I5fd215f417476be20917fffbc18611236db5af97
2024-03-20 10:06:18 +08:00
James Huang
4df8efef7e gps: Update gps.cfg for GNSS FW 4.15.0.150.P1
Add ENABLE_CAPS_OTDOA=1 to enable OTDOA by default
Remove below two value and set default by code:
- Chip_Configuration_GNSSConstConstraintDef
- LocTech_Constraints

Bug: 329328103
Test: Do VTS/CTS and GNSS sanity test.
Change-Id: I8981604828a9a42bf619c57fd649e7391cd92f28
2024-03-14 16:31:35 +08:00
Wayne Lin
53b8325e10 gps: update GPS configurations
- disable debug during CHRE request
 - request SGEE from framework

Bug: 328858595
Bug: 328347965
Test: verify pass
Change-Id: Ib42ea2326872be3e93fc76c75bb2841bbbdc8fd7
2024-03-13 08:25:40 +08:00
Wayne Lin
be3111f3a2 gps: update GPS configurations
- enable GNSS FW DFVS
 - use uncalibrated Accel

Bug: 326437941
Bug: 326031975
Test: verify config pass
Change-Id: I6ea22569642816ea0dbce82be1a6ca4317bb38cc
Merged-In: I6ea22569642816ea0dbce82be1a6ca4317bb38cc
2024-03-13 08:10:41 +08:00
Wayne Lin
fab930f053 gps: update SUPL TLS version for SBM
Bug: 323097930
Test: confirm config and SUPL TLS version
Change-Id: Id63f4c92fa7dc9899c138d5ae2fce852f7cd0515
Merged-In: Id63f4c92fa7dc9899c138d5ae2fce852f7cd0515
2024-03-13 08:10:35 +08:00
James Huang
05267ee6c4 GPS : Update GNSS FW 4.15.0_147
Bug: 327304220
Test: Verify CTS/VTS and GNSS sanity test
Change-Id: I5e13faad368c5ddf6387399dd156ff869eb28830
2024-02-28 14:32:17 +08:00
James Huang
d700db672f gps: update gps version 4.15.0.145
Update IsUseEntireRespTime911 and isForceHighAccuracyMode
Update NmeaBitmask

Bug: 317851543
Bug: 326003464
Test: Verify CTS/VTS and GNSS basic sanity test
Change-Id: Ifa449c048439702b6f2655d798a94f62dced858a
2024-02-20 18:31:08 +08:00
James Huang
02d60bdb67 gps: update GNSS config
Update RF Frond-End Loss.
Update VDR End condition.

Bug: 323810816
Bug: 319343661
Test: Verify if setting correct
Change-Id: Id1e9cdbb80c815f4d7a744895b647851735c6c0a
2024-02-05 19:58:25 +08:00
Wayne Lin
e86fc09232 gps: update gps version 4.15.0_125
Update configurations

Bug: 317688858
Bug: 301683048
Bug: 319746124
Test: b/323099720
Change-Id: Iee6a3fe976212b996bc61909108c9bc11b8d1fce
2024-02-01 10:20:03 +08:00
Wayne Lin
e9aa5a1114 gps: refine iGNSS build system
Bug: 315915958
Test: build pass and GPS function works
Change-Id: I1e7aa6d0e705810d9c81f89453e11acaa54d9d3b
2024-01-19 22:19:59 +08:00
Wayne Lin
e0f86786bc gps: handle eng build
Bug: 321095268
Test: lunch && m anything with -eng
Change-Id: Ibaa426b661e291e429852f992df3526beeaec646
2024-01-19 03:28:10 +00:00
Wayne Lin
50c6474fac gps: refine gps build system
- remove override directive
 - separate gps configuration files for each device

Bug: 291186485
Test: build pass and configuration files are correct
Change-Id: I9414c1826d89f43944c9c191b2d34fbcd841a77b
2023-10-27 14:11:18 +00:00
Robin Peng
b5194d9b24 Migrate caimito devices into caimito folder from sha 31a6eb4c2ffbc
Bug: 291867277
Change-Id: Ia7d34e6ab34bdd03406391f98c58b04eb77671cd
2023-08-16 10:26:07 +00:00