Commit graph

29 commits

Author SHA1 Message Date
Edwin Tung
55613900fe DO NOT MERGE gps: update gps driver 147.20.23.567385
- Modify E911 SUPL over wifi dummy mac address

Bug: 277139165

Verify test: b/277291116
Test: Supl over wifi pass
VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass

Change-Id: I79e5648af4525d236c38b07ca91a52b71b2ddf5e
2023-04-11 02:35:18 +00:00
Edwin Tung
ea09993d6e DO NOT MERGE gps: update gps driver 147.20.23.567384
- Modify E911 SUPL over wifi dummy mac address

Bug: 277139165

Verify test: b/277291116
Test: Supl over wifi pass
VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass

Change-Id: Ie0d68082e7103ad03a1028beab3f5d93d19cce10
2023-04-07 07:02:33 +00:00
Wayne Lin
7929423816 DO NOT MERGE gps: update gps driver 147.20.23.565105
- fix issues in SUPL over WiFi test
 - fix incorrect measurement reporting interval issue
 - fix optimistic speed accuracy issue

Bug: 264216987
Bug: 270094312
Bug: 262351380
Verify test: b/274396195
Test: VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass
Change-Id: I8c21af3fe8e7e1f0e1e3eba50ca4e1b4eddffb15
2023-03-22 10:32:55 +00:00
Edwin Tung
6286f63b55 DO NOT MERGE gps: update gps driver 147.20.23.565112
- Fix E911 SUPL over wifi issue

Bug: 270273494

Verify test: b/274084913
Test: Supl over wifi pass
VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass
Change-Id: Iedc1def99f610e3a88eb70cc2cbb713a6f78a01e

Change-Id: Ib9d8d53d8dfc81f51c3682875a7c00d819b3c507
2023-03-21 04:25:15 +00:00
Wayne Lin
44ef8a7579 DO NOT MERGE gps: update gps driver 147.20.23.562029
- gpsd segmentfault protect code
 - android.hardware.gnss@2.1-service-brcm segmentfault
 - AGC field is missing when requested deep indoor
 - TestGnssMeasurementIntervals_LocationOnAfterMeasurement fix
 - mismatch between bearing value and fixed location
 - location jumped in the office and the reported accuracy is
   much higher
 - Can't enter duty cycle mode
 - fix IGnssConfiguration setBlocklist issue

Bug: 260300008
Bug: 262632321
Bug: 266760732
Bug: 264597734
Bug: 266343909
Bug: 254357787
Bug: 262829108
Bug: 265106280
Verify test: b/269053586
Test: VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass
Change-Id: I67ed14362f9278fd5c60cf709bfa63a1912e457c
2023-02-20 02:43:47 +00:00
Wayne Lin
a4dc9b55bd DO NOT MERGE gps: update gps driver 147.20.23.557990
- Add more PLMNs for specificed carrier configuration
 - Add configuration to use full response time in SUPL NI session to
   benifit accuracy
 - Fix miscalculate TTFF and RSP problem due to unexpected stop command

Bug: 260996867
Bug: 260153806
Bug: 260795209

Verify test: b/262699352
Test: VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass

Change-Id: If9ccdfa44bc37e5ae8c73ccf96150f46b8723dc5
2022-12-19 08:40:14 +00:00
Wayne Lin
4a94625bce DO NOT MERGE gps: update gps driver 147.20.23.556285
- Fix no GPGSV information in CP LPP session
 - Implement SIT_IND_GPS_NFW_MODE to make modem request NFW status from gpsd
 - Fix the high EA issue caused by last known position
 - Use network PLMN to determine carrier configuration when SIM PLMN is
   not available

Bug: 248476067
Bug: 252972119
Bug: 243358812
Bug: 258355692

Verify test: b/260660381
Test: VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass

Change-Id: Ibe886b3559405bd7e8732aab9c023351c9629ee6
2022-12-01 08:53:42 +00:00
Wayne Lin
1d398c55be DO NOT MERGE gps: update gps driver 147.20.23.554803
- Fix GLONASS Notch Filter Center issue
 - Support RILC_UNSOL_GPS_LOCK_MODE to send GPS LOCK MODE to CP
 - Fix IGnssMeasurement#setCallback twice issue
 - Fix the issues related to LTE filter

Bug: 210132268
Bug: 241880444
Bug: 254195220
Bug: 254202512

Verify test: b/259015778
Test: VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass

Change-Id: I7c4c92b16a176c86c7239db3381cf246169ebbe1
2022-11-17 07:45:19 +00:00
Wayne Lin
190a5de57b gps: update gps driver 147.20.23.552120
- Fix OnChipAccMask setting is not working
 - Fix SUPL connection issue caused by incorrect DNS caching in gpsd
 - Fix ADR_STATE_HALF_CYCLE_RESOLVED is not set properly for GLONASS
 - Support new IPC sitIndGpsNfwData and sitIndApEmcState for modem location privacy feature.
   - sitIndGpsNfwData
Modem can report NFW data for CP non-AGNSS cases like E-CID/OTDOA to
gpsd
   - sitIndApEmcState
Modem can get emergency status from gpsd

Bug: 249908120
Bug: 247476666
Bug: 247733027
Bug: 230404480

Verify test: b/253951391
Test: VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass

Change-Id: I0982fdaea2cc26f2864c9611154606f8a3af6b3c
2022-10-18 06:26:47 +00:00
Wayne Lin
e3abb196ec gps: update gps driver 147.20.23.551041
Support new IPC sitIndGpsNfwData and sitIndApEmcState for modem location privacy feature.

 - sitIndGpsNfwData
Modem can report NFW data for CP non-AGNSS cases like E-CID/OTDOA to
gpsd
 - sitIndApEmcState
Modem can get emergency status from gpsd

Bug: 215260323
Bug: 229463130
Bug: 230404480

Verify test: b/251369354
Test: VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass

Change-Id: I2912a3c6f0d078a17b5426c22aceccc3a0408133
2022-10-11 13:39:24 +00:00
Wayne Lin
f7ffd91480 gps: update gps driver 147.20.23.550494
Add NAVIC factory test to improve the time of L5 CW test
Fix millisecond error in receivedSvTimeNanos and the corresponding pseudoranges
Add protection code when gpsd call sensor API
Fix invalid sensor availability status report in the PGLOR msg

Bug: 235192024
Bug: 236572839
Bug: 240389454
Bug: 244118456

Verify test: b/249001109
Test: VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass

Change-Id: I37ca4158e1f20f671e284ee55ced703400127b68
2022-10-06 05:13:32 +00:00
Wayne Lin
ce2ec891bb gps: update gps driver 143.20.23.547844
Fix biased position issue in subsequent periodic request
Fix LHD get stuck issue in PtsChreTestRunner#gnssRestartTest.
Change MSB to true in PVT SUPL posTechnology
Fix position bias issue in the foliage running test

Bug: 236200991
Bug: 240663862
Bug: 236206122
Bug: 233851633

Verify test: b/243323303
Test: VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass

Change-Id: Ib75eefceb6106523ae99b6b1770f42a3d8c63dc9
2022-08-30 05:11:51 +00:00
Edwin Tung
c73de44aea gps: update gps driver 143.20.23.545390
Fix SUPL SI/NI race condition issue

Bug: 211060538

Verify test: 239810703
Test: VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass

Change-Id: I81c7a4f0887fe1a42074cd0a9f933b8c3e33c136
2022-07-21 22:01:08 +08:00
Wayne Lin
c41bad1d27 gps: update gps driver 143.20.23.542941
Fix Gpsmeasurement regression issue
Fix gpsd crashing twice issue
Fix null pointer dereference in GlSuplDataBuffer::Write()
Fix incorrect TOW reported during AGPS CP session
Enable LTE B13 filter for TMO

Bug: 236926983
Bug: 235067448
Bug: 233199973
Bug: 232527714
Bug: 230811304

Verify test: b/237773787
Test: VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass

Change-Id: I4a464f70c3dbca75907c118e2f9cfdf10d988e7a
2022-07-04 03:48:17 +00:00
Wayne Lin
4903856a46 gps: update gps driver 143.20.23.540296
Disable OTDOA in Android TM and fix SUPL OTDOA B66 issue
Keep IGnssCallback when gps off to fix DBH issue
Fix measurement interval issue
Fix SI/NI SUPL connection timing issue
Fix RMN LCS-001-001-004 SUPL issue
Fix stale pps time issue
FIx cnpn job counting issue

Bug: 233568357
Bug: 233849643
Bug: 233839493
Bug: 231383525
Bug: 228575547
Bug: 231765172
Bug: 233982646

Verify test : 235766042
Test : VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass

Change-Id: I8092b47a8aeac9ff1440cffbe8fc07a1a12c833d
2022-06-14 14:02:36 +00:00
Wayne Lin
6602054528 gps: update gps driver 142.20.23.537976
Fix power duty-cycle issue
Fix gpsd crash issue
Fix gps start fail while running Astress
Fix measurement elapsedRealTime variation issue
Reduce NLP request
Improve warm start accuracy
Add additional PLMN codes for TMO
Fix no earlyfix while OTDOA disabled

Bug: 232035911
Bug: 232035671
Bug: 213264365
Bug: 230598202
Bug: 228395377
Bug: 221000024
Bug: 230811304
Bug: 230818100

Verify test : 233318251
Test : VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
PtsChreTestCases pass

Change-Id: I90123d3c828e77ed1d0584d9ab3b7f7a6ec5ca88
2022-05-26 06:40:00 +00:00
Wayne Lin
7f8710905f gps: update gps driver 142.20.23.534799
Migrate GNSS HIDL HAL to AIDL HAL
Add a gps.xml configuration parameter for CHRE/CHPP baud rate
Fix for PVT assertion at patch_pvt_engine_cbs line=0078
Additional field in SatellitePVT
Prevent the wrong common bias delta estimation
Prevent wrong unhealthy satellites selection
Fix LPPe UBP rounding error
Fix LPPe UBP error message
Fix on-chip assertion at glme_peif_impl.cpp line=0876
Fix low ADR rate issue
Provide tool to decode PRs and PRRs from gl logs
Fix GnssHalTest#TestGnssMeasurementCorrections/0_android_hardware_gnss_IGnss_default test fail
Fix gpsd doesn't release pressure sensor request after LPPe session end
Fix gpsd null pointer dereferencing issue
Fix gpsd cannot receive LTE band handover notification
Fixed the ordering of the GLNS satellites based on the ephemeris availability
Report AGC values by constellation and central frequency instead of inside each raw measurement

Bug: 213009701
Bug: 218580284
Bug: 223361838
Bug: 223593119
Bug: 224969521
Bug: 225278936
Bug: 225285619
Bug: 226112617
Bug: 226691677
Bug: 226805895
Bug: 228288159
Bug: 228301290
Bug: 228405504
Bug: 228791446
Bug: 229032461
Bug: 229038024

Verify test: 230286348
Test: VtsHalGnssTargetTest pass
CtsLocationGnssTestCases pass
GtsLocationTestCases pass
GNSS verify test pass

Change-Id: If2a4d21eefa20c934abbd21de363e1897775cb2e
2022-04-28 07:03:31 +00:00
Wayne Lin
91a91876a7 Revert "gps: update gps driver 140.20.23.532343"
This reverts commit 6ff778c951.

Reason for revert: The patch cause regression issue on b/228932000 and b/228935134, revert first.

Change-Id: Ibbe3dafd529aa6daf48854b5af2fd08b41deacf2
2022-04-13 03:37:12 +00:00
Wayne Lin
6ff778c951 gps: update gps driver 140.20.23.532343
Migrate GNSS HIDL HAL to AIDL HAL
Add a gps.xml configuration parameter for CHRE/CHPP baud rate
Fix for PVT assertion at patch_pvt_engine_cbs line=0078
Additional field in SatellitePVT
Prevent the wrong common bias delta estimation
Prevent wrong unhealthy satellites selection
Fix LPPe UBP rounding error
Fix LPPe UBP error message

Bug: 226691677
Bug: 218580284
Bug: 213009701
Bug: 226805895
Bug: 223361838
Bug: 226112617
Bug: 223593119
Bug: 225285619

Verify test: 228251092

Test: Build pass and GNSS verify test pass
Change-Id: I5daa4f9cbcbdda827ceaf73f24562085d2876315
2022-04-08 09:10:26 +00:00
Wayne Lin
ad680c7138 gps: update gps driver 129.20.23.529478
- Fix NI control plane issue
 - Add NFW IPC between AP and CP
 - Ignore RTI in cold start
 - Fix OnChip logging issue

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

Verify test: 224691558
Test: Build pass and GNSS verify test pass

Change-Id: Ice69000357d07ad95d2070c277bcc7848f9d8f5f
2022-03-17 05:37:54 +00:00
Wayne Lin
ec6aba8e3f gps: update gps driver 129.20.23.528102
- Rescale DBH accuracy and add timestamp
 - Enable runtime LTE filter control feature
 - 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: 213388910
Bug: 218608516

Verify test: 220724315
Test: build pass and GPS verify test pass

Change-Id: Id5f1680c9b935e8955991f87ee8c317b0a4d17aa
2022-03-01 04:20:23 +00:00
Wayne Lin
b7c088c089 gps: update gps driver 129.20.23.524634
- Fixed null pointer dereferencing while injectNLPError
 - Added SuplUseFwCellInfo (default:true) xml attribute so that it can disable framework
 - Fixed to block MDT location request when it is not granted by carrier location application

Bug: 210070896
Bug: 211381328
Bug: 210935899

Verify test: 214493833
Test: build pass and GPS verify test pass

Change-Id: Ie932ab779cb8ff8cbb15adbe83cabd9e7cca498f
2022-01-21 04:52:14 +00:00
Wayne Lin
bd65ddf6d6 gps: update gps driver 129.20.23.524049
- Changed to request DBH while LPP Capability transaction
 - Added CpLppeUseAgnssLocForEmptyDbh (default:false) to use agnss position for DBH when DBH is not available
 - CpLppeCancelDbhOnAgnssProvideLoc (default:false) to immediatelly report ProvideLocation when agnss position fix is made but DBH is not available
 - Set SUPL NI prefMethod as noPreference for KDDI
 - Fix MCC/MNC not storing issue
 - Fixed that GNSS noise floor scan fail
 - Fixed to use VisivilityControl queried isUserEmergencyFlag when requesting DBH location to framework
 - Include libsitril-gps-wifi.so for non-SITRIL project (ex, wifi project) to link with placeholder SITRIL symbols.

Bug: 204019829
Bug: 204843438
Bug: 206754082
Bug: 207721798
Bug: 209926163

Verify test: 212521041
Test: build pass and GPS verify test pass

Change-Id: I616a20bd58ee7e71c31f59ae9d12fc481ba8f9da
2022-01-06 07:52:38 +00:00
Wayne Lin
a1a31655f0 gps: update gps driver 129.20.23.522791
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: 209897730
Test: build pass and GNSS verify test pass

Change-Id: I85d894c59c9b03c3e2a5e8eed31a609146fc0b58
2021-12-16 01:20:30 +00:00
Wayne Lin
674c3e17a3 gps: update gps driver 129.20.23.521541
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

Verify Test: 207445643
Test: build pass and GNSS verify test pass

Change-Id: I7ed025c97c03898443e6cf459f017bd1f154e2ae
2021-12-09 02:27:06 +00:00
Jing Wang
e4d7cfdbf0 Revert "gps: update gps driver 129.20.23.518727"
This reverts commit 1c28b9b29f.

Bug: 204332282

Test: presubmit P27107402 boots fine on my device.

Signed-off-by: Jing Wang <jwangh@google.com>
Change-Id: Iea0e1a5eeff048659721981de0e81045a8dfa5f2
2021-10-28 04:37:45 +00:00
Wayne Lin
1c28b9b29f gps: update gps driver 129.20.23.518727
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
[GNSS] Enable CHPP for P22
Reporting PLMN (MCC+MNC) of SIM and Network
[O6] 5s GPS outage when OnChip/Host switching
5G E911 AGPS implementation
Please clarify gnss error message
[SQ1A] [O6] Native crash - AID_GPS - signal 6 (SIGABRT)../gpsd (BrcmGpsHalLogJava::Log)

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

Verify Test: 203751055
Test: build pass and GNSS verify test pass

Change-Id: I09c78b6a452f611a7d738d17e8e0d474fadb31a4
2021-10-27 03:20:09 +00:00
Wayne Lin
b8633e8cdd gps: refine gps module in gs201
- Update gps driver to 129.20.23.516938
 - Build gps module separably

Bug: 202919589
Test: build pass and standalone GPS pass
Change-Id: I451837f2e783ab2e8890e212eb7d3897c9854ca5
2021-10-14 04:07:11 +00:00
Aaron Ding
bb4beafe47 Create gs201 device folder baseline
clone from gs101 sha 9d1c97c2

Bug: 183183095
Change-Id: Ie7112bdf0aceb33c9e1956aa52e961b670582733
2021-05-19 13:35:26 +08:00