Commit graph

23 commits

Author SHA1 Message Date
Edwin Tung
95b9601e73 [DO NOT MERGE][R4O6] gps: update gps driver 129.20.23.535937
Disable SUPL OTDOA for VZW
Fix SUPL Earlyfix issue while OTDOA disabled

Bug: 230818100

Verify test: 231297970

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestCases

Change-Id: I6ebabb9d53028a05950d7d00c34ffdf33fb8ff2f
Merged-In: Ibf8e8ccf361fb5b0a58ef97c45f581fc50ab2788
(cherry picked from commit 346895302a)
Merged-In: I6ebabb9d53028a05950d7d00c34ffdf33fb8ff2f
2022-05-06 18:46:49 +00:00
Edwin Tung
f1a2063e14 [DO NOT MERGE] gps: update gps driver 129.20.23.529475
Add NFW IPC between AP and CP
Fix NI control plane issue
Ignore RTI in cold start
Fix OnChip logging issue

Bug: 216098015
Bug: 221337679
Bug: 219856838
Bug: 213009701

Verify test: 224635609

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestRunner

Change-Id: I89fcf1f61fce350201e6b433895289d3a3912c61
2022-03-30 11:33:18 +00:00
Edwin Tung
a4f6715b0f [DO NOT MERGE] gps: update gps driver 129.20.23.528101
Rescale DBH accuracy and add timestamp
Pick newest FLP location for LPPe DBH
Not to request DBH location for the non-emergency NI
Keep reqporting PPS in duty-cycle
Release SUPL wakelock while framework restart
Fix NI AGPS accuracy and hot start accuracy issue
Fix cts testRequestFlush issue
Fix gps crash issue
Fix re-calibration on the fly issue
Fix OnChip mode TTFF issue
Fix OnChip mode GnssStatus no el/az issue

Bug: 214399728
Bug: 211171235
Bug: 218586958
Bug: 215660420
Bug: 207804509
Bug: 208178903
Bug: 214551540
Bug: 213792299
Bug: 205770623
Bug: 205776935
Bug: 213009701
Bug: 218457536
Bug: 215660420
Bug: 215660420
Bug: 213388910
Bug: 218608516

Verify test: 220461118

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestRunner

Change-Id: Iadc3a43a581103e4540bcc3acc63fa5d3e8de8fd
Merged-In: I939183a899c23af7d0fb59dcd86012aa10b50b62
2022-03-02 10:32:59 +00:00
Edwin Tung
623a33b4d4 [DO NOT MERGE] gps: update gps driver 129.20.23.528152
Added CpLppeE911PreferredAccuracyMeter (default=10) xml attribute
to force Control Plane singleshot accuracy

Bug: 215660420

Verify test: 220990700

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestRunner

Change-Id: I7a0b6ffe079c10a1ca380feb7ba6bf2fd9498050
Merged-In: I943fa1e906d8b0b80b6395accd71c68f97f7ed43
2022-02-24 15:13:17 +00:00
Edwin Tung
42d7768c12 [DO NOT MERGE] gps: update gps driver 129.20.23.524633
Fixed null pointer dereferencing while injectNLPError
Added SuplUseFwCellInfo (default:true) xml attribute
Fixed to block MDT location request when it is not granted by carrier location application

Bug: 210070896
Bug: 211381328
Bug: 210935899

Verify test: 214386315

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestRunner

Change-Id: If597efa6bfc9d0a606a12bf09babb32e1ee3d3b4
2022-01-14 09:16:54 +00:00
Edwin Tung
954576cc19 [DO NOT MERGE] gps: update gps driver 129.20.23.523968
Request DBH while capability transaction.
Report location info without waiting for DBH.
Use gps location as DBH while timeout.
KDDI NI requires noPreference for suplPrefMethod.

Bug: 206754082
Bug: 207721798

Verify test: 212326933

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestRunner

Change-Id: I235ea87c683051879ce160d0d41917328ca58e37
Merged-In: I235ea87c683051879ce160d0d41917328ca58e37
2021-12-29 07:44:49 +00:00
Edwin Tung
187392eab8 [DO NOT MERGE] gps: update gps driver 129.20.23.522768
Fix power mode abnormally turned off by setPositionMode
Fix GPS crashing issue
Fix location lagging during driving
Auto switch constellation for on-chip mode

Bug: 207436894
Bug: 206074009
Bug: 204136420
Bug: 201591644
Verify test: 209775831

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestRunner

Change-Id: I8562af321a6238009127345a591d8bb1f6197fc2
2021-12-10 05:51:39 +00:00
Edwin Tung
e5036ffd10 [DO NOT MERGE] gps: update gps driver 129.20.23.521367
Improve stopping conditions for urban driving
Fix GTS issues
Improve Spirent AGPS drive accuracy
Add PRs and PRRs log
Fix SUPL over WIFI issue
Integrate SatPvt URE fix
Fix SB Lab issue

Bug: 200942298
Bug: 204963837
Bug: 202366378
Bug: 202250827
Bug: 203615018
Bug: 205653853
Bug: 198384193

Sanity Test: 207330491
Test: build pass

Change-Id: If5720611a734d7d76780b22781e8650b779f27f4
2021-11-23 00:37:27 +00:00
Edwin Tung
28f628e17c [DO NOT MERGE] gps: update gps driver 129.20.23.518574
Report agnss position even no NLP location
Fix to delete RTO too when delete all aiding received
Add mutex to protect malloc/free
Fix for the bug of power mode logging in ONCHIP_NMEA
Reporting PLMN (MCC+MNC) of SIM and Network
Fix GPS outage when OnChip/Host switching
Fix LPPe UBP issue
Fix gpsd crash issue

Bug: 202366527
Bug: 199818363
Bug: 199048681
Bug: 201582435
Bug: 199114573
Bug: 197716902
Bug: 195383842
Bug: 200107911
Bug: 203068978

Sanity Test: 203854792
Test: build pass

Change-Id: I27f314a4b2b5a82e27186a170f10b1041b7d0650
2021-10-27 14:09:08 +00:00
Edwin Tung
16e8a27f52 gps: update gps driver 129.20.23.513912
Fixed a bug of missing ref location in ME switching
Fixed to report velocity type correctly
Increased PGLOR,6,PWR nmea sentence buffer and GLL will print the error log if the sentence is longer than expected
Added a ring buffer for malloc/free debugging with dump
Fixed ESW patch download issue

Bug: 197716902
Bug: 197711819
Bug: 197620911
Bug: 196499748
Bug: 197916943

Sanity Test: 198605012
Test: build pass

Change-Id: I06e25376c194058404e5d65e463086d3d1e2f1d9
2021-09-02 21:02:27 +08:00
Edwin Tung
09ea2fd293 gps: update gps driver 129.20.23.512827
Set minimum interval 1000ms for CHRE request
Fix position gap in scheduling request
URA value should not be divided by sqrt of 2 regardless of position source
Enable SvPvt logic even the period is less than 1s
Fixed Native crash: Additional check before using gyro mean as VDR measurement.

Bug: 196499748
Bug: 196927451
Bug: 197141478
Bug: 196851941
Bug: 197061041

Sanity Test: 197583040
Test: build pass

Change-Id: I1409f75e50a7b8402c967957fa4148823d22caea
2021-08-25 09:08:11 +00:00
Edwin Tung
e4f95dfa9c gps: update gps driver 129.20.23.511689
Reduce warmstandby timeout to 15 sec
Add OnChipGpsCarrierType
Disable OnChip notification
Refine RF path loss
Changed to send SUPLEND when interrupted by another NI SUPL
Fixed the replay mismatch issue by modifying LTE filter configuration
Fix incorrectly set period of CP periodic request
Fixed empty provideLocationInformation-r9 when running NI SUPL MSB
Fixed Bias track issue from US
Remove time of flight adjustment for Google SvPvt support
Satellite PVT Info API for google support

Bug: 193222014
Bug: 196013847
Bug: 195895395
Bug: 195066618
Bug: 195723263
Bug: 195638041
Bug: 182438827
Bug: 194637097

Sanity Test: 196184169
Test: build pass

Change-Id: I55b75a827734b9e1ef27c73674dd6c570e14d8e4
2021-08-13 10:16:45 +00:00
Edwin Tung
25b2c66ba9 gps: update gps driver 129.20.23.511166
Reset VDR instead of assert when sensor misalignment is detected
Updated the heading process noise logic
Fixed the issue of unintentional COLD start trigger
Fixed the late acquisition by 1 sec due to missing sat aiding
Fix "libgps  : proxy__gps_start, CP Cold Start is running, skip gps_start"
Change in scheduling capability to treat less than 1000ms interval as 1000ms
and ignore accuracy mask
Relax the magnitude check of L5 bias to write to NVMEM
Added CpLppeHighAcc3DPosInAgnssProvideLoc (default:false) to combine a_gnss
and lppe ProvideLocationInformation
Change LogJava to retry connection to log service
Aiding B2a from B1I measurement was fixed
Fixed not to make assistance data request for CP
Change to allow IgnoreRomAlm to work.
Change the searching strategies.
Cange to use previous SIM card's IMSI
More adjustment for the LTE filter Bias
Added xml attribute OnDemandTimeCapability
SW change for the altitude
Implemented robustness for position loss after position request restarts
Fix SUPL OTDOA capability issue

Bug: 195607949
Bug: 193609637
Bug: 195489111
Bug: 194752965
Bug: 194728243
Bug: 194633864
Bug: 194309353
Bug: 194133982
Bug: 193477020
Bug: 193374889
Bug: 193114467
Bug: 192630262
Bug: 192047043
Bug: 191340913
Bug: 189412038
Bug: 193476205
Bug: 194974278

Sanity Test: 195599028
Test: build pass

Change-Id: I2d0367eb8e736c7e349609532d04d891cd51621e
2021-08-07 03:53:24 +00:00
Edwin Tung
dea270f4b4 gps: update gps driver 129.20.23.509086
Correct the LTO error msg for RTO case
Fix Control Plane issue
Fix a bug of causing a race condition in LogJava.
Fixed CTS GnssMeasurementValuesTest CTS issue
Aiding B2a from B1I measurement was fixed.
Improve satellite acquisition at lower signal levels
Adjust Bias for LTE filter

Bug: 193425221
Bug: 193379101
Bug: 192800862
Bug: 193749870
Bug: 193589742
Bug: 194133982
Bug: 193114467
Bug: 192047043

Sanity test: 194276682
Test: build pass

Change-Id: I728a0e0058beaca6a7fe75e43dab20ab5e955937
2021-07-22 17:28:52 +00:00
Edwin Tung
bdc2208318 gps: update gps driver 129.20.23.508330
Improvement first fix performance by having more satellites available
Fix velocityMeasure support in GNSS-ProvideCapabilities of CP LPP PDU
Fix a bog that UE keeps using e-SLP for SUPL SI session after E911 NI session
Fix an abnormal CN0 reporting issue when periodic tracking is triggered by the AutoTimeSyncGroupDelay=true
Fixed gpsd process blocked issue while closing GnssMeasurementInterface
Fix follows
- UE keeps using e-SLP for SUPL SI session after E911 NI session
- UE receives SUPLEND with status code of posMethodMismatch from SLP

Bug: 192047043
Bug: 190780462
Bug: 191934165
Bug: 191649245
Bug: 192908561
Bug: 191864550
Bug: 191934165

Sanity test: 193736498
Test: build pass

Change-Id: Ia44b215947884cfc466aa964eae4bbef58621d39
2021-07-16 00:44:03 +00:00
Edwin Tung
4e3b80d9fc gps: update gps driver 129.20.23.506213
Fix time_ns is zero issue with Host Periodic request.
Implement GNSS PAL close()
Increase syncin req's timeout if autoTimeSyncGroupDelay calibrating is ongoing
Reduce spinning time on Ifc:active command
Fix a race condition when stopping sensors scanning thread
Update L1/L5 bias

Bug: 191807159
Bug: 191298215
Bug: 191109136
Bug: 189412038
Bug: 189063063
BUg: 191413681

Sanity test: 192061672
Test: build pass

Change-Id: Ie14a141f4fae91a5cb90460f30ad59bc28bd8cfa
2021-06-29 03:03:40 +00:00
Edwin Tung
3bbde56bae gps: update gps driver 129.20.23.504156
Integrated CHPP- chpp-20210524-39bf8f5.zip
Adjust the noise table for GPS
False L5 SNR removed by adding valid peak check to L5 CN0
Fixed for SyncIn request to time out within 3 seconds
Support multiple measurement requests
Estimated better accuracy uncertainty in GLNS Only fix
Request UTC time from framework even if the request type is BREADCRUMB
Fixed Reset checking timer for default value of CpResetInvalidateSec to properly work

Bug: 188843280
Bug: 189793458
Bug: 188857474
Bug: 188127870
Bug: 188737899
Bug: 185200717
Bug: 184770261
Bug: 185884684

Sanity test: 190960119
Test: build pass

Change-Id: I969b3ce240583d726f28e93da76c74f1c369a505
2021-06-16 01:52:00 +00:00
Edwin Tung
1c01fa3785 gps: update gps driver 128.20.23.501503
Integrate chpp-20210325-f908420
Added SuplNiEnable (default true) to control SUPL NI
Added google LTO license key
Fixed SUPL PDU encoding error caused by structure alignment mistmatch between gpsd and gnss
Removed A-Glonass capability from ProvideCapapbilties while running LPP CP
Protection for nullptr access while receiving CAMPING_ON_LTE status from RIL
Reduced cellInfo waiting timeout from 1.3 to 1.1 sec
Add “basebandCn0” in onchip PVT
Do not stop warmstandby timers with PE2PE_WAIT_FOR_USER_TIMEOUT after receiving assist
Fix a bug to check whether there were any valid measurements which causs GPSD crash.
Added support for SatellitePVT
Keep the received acquisition assistances even after the E911 came in during the Breadcrumb req running
Add a validity check before stopping the CW combo mode test

Bug: 179616840
Bug: 187914357
Bug: 187760198
Bug: 187673164
Bug: 187011439
Bug: 187008705
Bug: 186731449
Bug: 186499722
Bug: 186490245
Bug: 186378531
Bug: 184906297
Bug: 181831996
Bug: 178148552

Sanity Test: 189009358
Test: build pass

Change-Id: Ief497c17b7d8a2e1aa232cd892d58adff689a911
2021-05-25 08:52:24 +00:00
Edwin Tung
d7678e177c gps: update gps driver 127.20.23.498766
Implement PPS feature
Fix CW multiband issue
Add EarlyFix support to LPP
Added RILC_REQ_GPS_IS_CAMPING_ON_LTE to query network type
Handle RILD error response

Bug: 175086879
Bug: 178148552
Bug: 180696639
Bug: 185198553
Bug: 187008705

Sanity Test: 186827776
Test: build pass

Change-Id: Iaf6493af23dc1f701ae288b707c266a09822e6cf
2021-05-04 06:33:24 +00:00
Edwin Tung
335ea2773b gps: update gps driver 127.20.23.497356
Fixed issue that SUPL version is reverted back to 2.0.0
Fixed the long TTFF of warm starts with the LTE filter engaged
Fix wrong context detection issue
Fix a bug in power data callback
Improve SPA packet overrun issue in BBD

Bug: 176464615
Bug: 185203717
Bug: 184247641
Bug: 184922200
Bug: 180985871

Sanity Test: 186403144
Test: build pass

Change-Id: I9aef1697010128ab51502acd6f193440c6deb408
2021-04-28 08:33:44 +00:00
Edwin Tung
2c8bc95925 gps: update gps driver 126.20.23.494818
New CHPP Drop Integration.
Fix GLONASS CW test and SPA Tool notch filter.
Add B13 filter.
Fix seperated acquisition assistance issue.
Fix SPI MISO behavior.
Fix NI SUPL and concurrency issue
Support new RIL IPC.

Bug: 183119165
Bug: 183345035
Bug: 182336981
Bug: 181836637
Bug: 181835445
Bug: 181835089
Bug: 179616840
Bug: 179510763
Bug: 179105790
BUg: 176464615
Bug: 173981528

Sanity Test: 184116743
Test: build pass
Change-Id: I5a054d6784b9d37faa696f8d25f3a6cfeaf98e1a

Change-Id: Iac2afddd167bf1a649da84a4895181e7e6716467
2021-03-31 18:33:13 +00:00
Edwin Tung
b197596149 gps: update gps driver 125.20.23.491687
Implemented A-GNSS capability in the US and Outside US.
Fix on-chip mode TTFF issue
Fix CMAS concurrency issue

Bug: 169307779
Bug: 179691042
Bug: 181001401
Bug: 171887253
Bug: 178079823

Sanity Test: 182243021
Test: build pass

Change-Id: I927095ac504cc613e506e39dfc42b3f84269f567
2021-03-11 14:39:34 +08:00
Robin Peng
c2b5ca99e3 Move slider into gs101 and <device>
from: 026342771c6642980cb4653b1ec4d857a5d8be54

Bug: 167996145
Change-Id: I2ebf7f019afed1cbe9b60dcd82581bd3a52fe109
2021-03-06 16:31:12 +08:00