Commit graph

69 commits

Author SHA1 Message Date
Wei Chen
3a84bfac17 GPS NMEA: enhance gga fix qualtiy for sensor contributed fix
This enhancement will be enabled if CUSTOM_NMEA_GGA_FIX_QUALITY_ENABLED
is set to 1 in gps.conf.

PPP fix w/o sensor: fix quality will now be 59
PPP fix w sensor: fix quality will now be 69
RTK fixed fix w/ sensor: fix quality will now be 64
RTK float fix w/ sensor: 65
DGNSS and/or SBAS correction fix and w/ sensor: 62
GPS fix without correction but and w/ sensor: 61

Change-Id: I7bc1bb5504e023de40f271d97d31c602f27bd94e
CRs-fixed: 2537211
2019-10-22 11:55:12 -07:00
Dante Russo
2f8791ecd4 Update SSL cert path
Update to use SSL1.1 certificate path

CRs-Fixed: 2538925
Change-Id: I00d2566e4d1cb793aaf6b539dea2d8160387f6ba
2019-10-01 16:40:14 -07:00
Santoshkumar Zalake
2cae87f908 Change word in comments
CRs-Fixed: 2527266

Change-Id: If368406f561836a82f548ad99171a730256cbfdf
2019-09-13 15:56:46 +05:30
Santoshkumar Zalake
42e8ab0190 Add GNSS Deployment Support.
The GNSS Deployment is used to configure
GNSS Hardware using gps.conf file

CRs-Fixed: 2480150

Change-Id: Ia09d3165de0c2f80f23bef8c0431095b25d16ea2
2019-08-30 02:54:05 -07:00
Yingjie Wang
d3e6df06e2 Remove LPPe UP/CP config in gps.conf
LPPE_CP_TECHNOLOGY and LPPE_UP_TECHNOLOGY can be
configured per SIM so they should not be overriden
by gps.conf by default. Leave commented out for
testing purpose;
Add check before LPPe injection when engine up.

Change-Id: I1b9b33009ec45d0a14c2e50e29d0a9df636a6319
CRs-fixed: 2505512
2019-08-22 23:21:24 -07:00
Nilesh Gharde
f97d7aefe4 Removing GPS_LOCK conf. from gps.conf
To avoid confusion removing GPS_LOCK config.
OEM can still configure gps_lock in carrier
config.xml for Legacy devices that have
the Android P type behavior

CR's-Fixed: 2503505
Change-Id: I3e75c81f019dfda9eb5572acd9f6284503ff173e
2019-08-16 11:12:03 +05:30
Mike Cailean
aa95ca27f8 Process CP_MTLR in emergency in different conditions
Prcess CP_MTLR based on a new configuration item

Change-Id: I9351f574f0b1a4bad2b88f2627ab188ac1522e92
CRs-fixed: 2444954
2019-05-03 09:09:03 -07:00
qctecmdr
99db93452d Merge "Default value of SUPL_ES to enable" 2019-05-02 16:30:29 -07:00
Dante Russo
9d0d8e3c72 Default value of SUPL_ES to enable
SUPL_ES by default needs to be enabled,
since it is no longer set by AFW at runtime.

CRs-fixed: 2444734
Change-Id: I370a3e0f8ab6905b47629c4076f645b26ff8acc9
2019-04-25 15:27:40 -07:00
Mike Cailean
cd1031a520 Update proxyAppPackageName field in nfw notification
Change-Id: I993a6d9227b03626bc254675944df28cc578a6c7
CRs-fixed: 2437418
2019-04-23 15:01:14 -07:00
Ankur Sharma
e3240df27f Changing the CaPath for SSL certificates
Modifying the CaPath for SSL certs in
gps.conf to be used by xtra-daemon while
estalishing SSL connection for downloading
XTRA file.

Change-Id: Id360b21fdda8b539568cbd505c16e99ee1ad6816
CRs-Fixed: 2432184
2019-04-22 23:14:25 -07:00
Dante Russo
5c1e23cf02 Batching and Geofence moved to GNSS HAL
Addition of BatchingAdapter and GeofenceAdapter.
Deprecated Background LOC QMI Client and renamed
LocDualContext renamed to LocContext.
Moved some common Adapter functions into LocAdapterBase.
Added Distance Based Tracking logic into GnssAdapter.
Addition of flp.conf
Deprecated GEOFENCE capabilities configuration in
gps.conf

CRs-fixed: 2342200
Change-Id: I6b6257c4cf296e5a8c56bc0b149e4de77cf6cdf9
2019-03-27 14:54:49 -07:00
Hoss Zhou
3203504a28 PZ90 datum support
add a configuration DATUM_TYPE in gps.conf to configure
datum type. Default datum type is WGS84.

Change-Id: Ia8404aa5cf6d49741b9f487f8b086abd095f21ea
CRs-fixed: 2338883
2018-11-30 16:07:06 +08:00
Ankur Sharma
dca1724d17 Remove XTRA URLs from gps.conf
Remove default URL's for XTRA from gps.conf

CRs-Fixed:2355372

Change-Id: Iea1caa42e8cd4f84a0d37bb6bcd69655609d368d
2018-11-23 18:18:11 +05:30
Dante Russo
2bef34e8b2 FR47184: tunc constrained and position assisted time estimator
(1) Configure tunc constrained module on modem via gps.conf
(2) Configure position assisted time estimator and inject
    DRE position with additional info to modem
(3) Support get total energy consumption API by GNSS engine
    since device first bootup

Change-Id: I1e73057df090c1d356c55a498f06eed45839ca8f
CRs-fixed: 2276355
2018-09-26 14:17:30 -07:00
Mike Cailean
d12b82b4e4 Added optional MO SUPL SLP
Change-Id: I89c3e697b92dfe04d403c073e779906d21cefd69
CRs-fixed: 2259090
2018-06-26 18:31:01 -07:00
Mike Cailean
b150a53ee3 Handle updating the carrier configuration
Set GPS_LOCK for cases where the modem has
two SIMs

Change-Id: I2745b9469b2f755b0a24be2a7f4ae514c35a37cb
CRs-fixed: 2018029
2018-06-12 09:46:49 -07:00
Mike Cailean
745505e5be Vote for internal modem only
Vote for internal modem only in power vote
temporary fix until we process a .jsn file

Change-Id: I732f920a0c18976b0f1323501e0e5541b11d5887
CRs-fixed: 2247589
2018-06-06 11:14:40 -07:00
Naresh Munagala
453ea46352 configuration to ignore PPS pulse at start and after long outage
First PPS pulse is impacting on AP time uncertanity in QDR.
Made necessary changes to ignore first few PPS pulses at startup
and after long gnss RF outage. These parameters are controlled through
IGNORE_PPS_PULSE_COUNT and GNSS_OUTAGE_DURATION in gps.cof.

Change-Id: I19c7495d281b70c393844d02ca83642c2314ab96
CRs-Fixed: 2132152
2018-02-19 03:55:17 -08:00
Srivastava
2a9654103b Integrating AGPS call flow with LocNetIface
Using LocNetIface AGPS capability in case client
doesn't provide status callback to setup data call.
Also adding below APN and IP Type config parameters
to gps.conf :
INTERNET_APN
INTERNET_IP_TYPE
SUPL_APN
SUPL_IP_TYPE

CRs-Fixed: 2005565
Change-Id: If52963ed50625db379c958586813850746eb2c4e
2017-08-29 13:00:57 -07:00
Yingjie Wang
6a283495b5 Disable LPPe feature on SDM660 CRM build
Set the LPPE_UP_TECHNOLOGY and LPPE_CP_TECHNOLOGY as 0 in gps.conf
to disable LPPe feature as default.

Change-Id: I656cbf1ee9456189fd0ddbcbf7b70cc74a75656e
CRs-fixed: 2015517
2017-06-07 21:04:27 -07:00
Harikrishnan Hariharan
e581b62977 HLOS implementation for E911 LPPe BT/UBP feature
HLOS implementation for feature - E911 LPPe BT/UBP for
SUPL and LPP CP.

Change-Id: I6ec7a3ff8aaf91383832753af2d0e406938c3884
CRs-Fixed: 1088449
2017-03-30 14:46:54 +08:00
Linux Build Service Account
3ebb8c60ed Merge "update gps.conf" 2017-03-24 13:30:02 -07:00
Linux Build Service Account
bf3d1332f4 Merge "Add comments for automitive configuration param and meas status" 2017-03-21 01:39:57 -07:00
Saurabh Srivastava
b37098920f Moving conf files to /vendor/etc
Moving all vendor specific conf files to /vendor/etc instead of
current /etc folder

CRs-Fixed: 1099981
Change-Id: I4495d8527941959be0847c4722ea8b68ee6c87ee
2017-03-17 16:12:54 -07:00
Madhanraj Chelladurai
d35e7c34eb Add comments for automitive configuration param and meas status
Add comments for automotive configuration parameters and to
masurement status mask

Change-Id: Ia5e16e3044fa15ce15d6ce3c3534898cbd61ef03
CRs-Fixed: 1102724
2017-03-15 19:22:14 -07:00
Ruifeng Xu
3fe22406e1 update gps.conf
added XTRA CA path to gps.conf to support
https in XC2.0. assigned the default value.

Change-Id: Ie9216a98621762484ab98f9e8459b63223707448
2017-02-09 00:22:55 -08:00
Dante Russo
2110e55809 Remove USE_EMERGENCY_FOR_EMERGENCY_SUPL and SUPL_ES in gps.conf
These values can be configured per SIM so they should
not be overriden by gps.conf by default. They're left
commented out so that it can still be uncommented to
allowing overriding SIM configuration for testing
purposes

Change-Id: Id2f560d88294ab98441005bf54be799af9ed3f8b
CRs-fixed: 1075611
2016-10-09 03:11:52 -07:00
Bhavna Sharma
8e217e229d Merge remote-tracking branch 'quic/location.lnx.1.0-dev.1.0'
into location.lnx.2.0-dev

CRs-Fixed: 1038354

Change-Id: I87b3a7f33a0bb48783554bf5ecb0140695e40c9d
2016-07-08 12:04:07 -07:00
Kevin Tang
54794a45e6 AGPS config inject can be configured out
a parameter can be added to gps.conf so as to prevent carrier
dependent AGPS configs to be injected to modem. This is mainly
for test purposes.

Change-Id: Ia053bf523329fe7c1abf0696b9bffcc6a7d56a53
CRs-Fixed: 998059
2016-06-30 20:21:50 -07:00
Bhavna Sharma
310aa84028 LPPe feature support.
Add two new configuration parameters for LPPe, one
to configure technologies for LPPe in Control-Plane and one
to configure technologies for LPPe in User-Plane

Crs-Fixed: 974312

Change-Id: If664a6dc90a993171ca1221f074ecc1ecd06a106
2016-06-15 15:33:22 -07:00
Madhanraj Chelladurai
4c2156ec8a Merge branch 'quic/LA.AF.1.2.1' into location.lnx.1.0-dev
merge automotive specific changes from LA.AF.1.2.1 into
location development branch

Change-Id: I90a5e60c46bb5b1aafaf4cd9aaf2dcb79449f288
CRs-Fixed: 1017254
2016-06-02 15:33:03 +05:30
Ruifeng Xu
d4c4fbf56b XTRA Client 2.0
This project implemented XTRA "Enhancements" grouped as XTRA Client 2.0.
1. Added NTP_SERVER config into gps.conf
2. Removed XTRA Client 2.0 Phase 1 code changes
3. Disabled public api to delete aiding data in user build

CRs-fixed: 917950
Change-Id: I18b31da74c9fe0c24d0ced3770f099197ad32d9a
2016-04-15 16:10:34 -07:00
ethan.kim
05ee1cc69d Set SUPL_ES to 0 in gps.conf
Disabled checking for emergency to accept SUPL

CRs-fixed: 860504

Change-Id: Iad1605242daf8fa1d6bcce3e69caff7811d9843a
2015-12-16 15:53:49 +05:30
Kevin Tang
594daf9692 Add AP Coarse Timestamp Uncertainty configuration parameter
Change-Id: Ic93291d451704ced88bdf45df3cb9215acf6f2de
2015-10-21 00:20:07 -07:00
Qiang Chen
56a5a75a22 set LPP CP as default
LPP CPP E911 is required by
many carriers on LTE.

Change-Id: If0d3a3107652e114bfdf7fbb59fe648cb3ddd940
CRs-fixed: 919242
2015-10-09 10:47:42 -07:00
ethan.kim
eb925647d5 Set SUPL_ES to 0 in gps.conf
Disabled checking for emergency to accept SUPL

CRs-fixed: 860504

Change-Id: Iad1605242daf8fa1d6bcce3e69caff7811d9843a
2015-08-18 09:03:18 -07:00
Kevin Tang
0826e30db2 Disable ESUPL from configuration
ESUPL initialization path waits on data services to come-up
whichtakes approx. 10 sec adding to TTFF. The GSS in APQ will
not beused for Emergency services (for VoLTE) hence disabling
for APQautomitive

Change-Id: Ifc82abadcaa4a859d344251fac065c5e632c8c6f
2015-06-18 16:02:22 -07:00
Kevin Tang
1ca544cfb5 SUPL_MODE needs to be factored in for ULP
GpsLocationProvider gets SUPL_MODE, and passes is to
GPS HAL along with other configs upon sim hot swap.
GPS HAL needs to parse it out and factor in that
information in for ULP so that ULP can make correct
decision w.r.t. position mode when gnss positioning
is needed.

Change-Id: I1a14dd9d9e47b5d7ea072ae08ee99bbb7c69dbe0
CRs-Fixed: 749794
2014-11-12 19:02:58 -08:00
Kevin Tang
af2762ceca GPS_LOCK configuration support
GPS_LOCK is defined as a bit mask in the higher layer
defined in gps.conf. GPS HAL reads from gps.conf, yet
this can be reconfigured by gps.h defined new API to
a different value. The current value will be used at
cleanup() time, to optionally lock gps modem to the
configured mode.

This changs also sets SUPL URL to NULL if hostname
comes with set_server() API is a NULL string.

Also optimized configuration_update() implementation
so that no all items will go through the reconfigu
scan.

Also added SUPL_MODE as a parameter in gps.conf which
can be uncommented to over-write the value from config.xml.
This can be used for testing purposes

Bug: 16131208
Bug: 17288144

CRs-fixed: 736966
Change-Id: I12a89b12ff82b6efd7b5567d2fcd6a7e79414c71
2014-10-20 15:00:31 -07:00
Zhoulu Luo
94ca706b3c AU_LINUX_ANDROID_KK.04.04.04.010.182 based on quic/aosp/kk
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.11 (GNU/Linux)
 
 iEYEABECAAYFAlQsxwMACgkQoUgPZYCpAfG54gCdFhi4kcvtS8jo5rRwqMemDRJw
 JZAAoOcZBG/Y1bH/Kmd1+27OQJUOH/Yg
 =fi7/
 -----END PGP SIGNATURE-----

Merge tag 'AU_LINUX_ANDROID_KK.04.04.04.010.182' into HEAD

AU_LINUX_ANDROID_KK.04.04.04.010.182 based on quic/aosp/kk

Conflicts:
	loc_api/libloc_api_50001/loc_eng.h

Change-Id: I3a734e3bdc3347961f1bd4bf5499ec7ca9aecfbc
2014-10-02 14:42:00 -07:00
Tushar Janefalkar
a55881f51b Use regular ATL callflow for SUPL ES
Added a new gps.conf parameter which can
be used to decide whether or not to use
data services to bring up call using emergency
PDN or use default SUPL PDN

Change-Id: I604a1489e66339eb2c27019dafab640f7a15cd84
CRs-fixed: 685639
2014-09-22 16:49:57 -07:00
Zhoulu Luo
9fe51b7593 AU_LINUX_ANDROID_KK.04.04.04.010.161 based on quic/aosp/kk
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.11 (GNU/Linux)
 
 iEYEABECAAYFAlQYPVMACgkQoUgPZYCpAfFH4gCeMO6B2RcmkK4FiGKyMAGyby70
 q1kAoKNW3qC2PpZ2TR02ASrbkjfuyjJv
 =+Hrp
 -----END PGP SIGNATURE-----

Merge tag 'AU_LINUX_ANDROID_KK.04.04.04.010.161' into HEAD

AU_LINUX_ANDROID_KK.04.04.04.010.161 based on quic/aosp/kk

Conflicts:
	loc_api/libloc_api_50001/loc_eng.cpp
	loc_api/libloc_api_50001/loc_eng.h

Change-Id: Ib51f82aa83a2aa7ea63a10efffe5e7eef8a5d135
2014-09-18 12:26:41 -07:00
Pandari Sabhapathi
5cef7caea3 Migrating XTRA from gpsonextra.net to cloud based izatcloud.net
*Added logic to remove xtra1.gpsonextra.net from URLs
received from modem.
*Added logic to override modem URLs with those configured
in gps.conf
*Replaced all instances of xtra{1,2,3}.gpsonextra.net domain URLs
in gps.conf with xtrapath{1,2,3}.izatcloud.net URLs.
*Replaced all commented instances of xtra.bin in gps.conf with xtra2.bin.

CRs-fixed: 643816

Change-Id: I803b26bce22f06910dcaa1ee057902b9381667bf
2014-09-11 16:43:11 -07:00
Dante Russo
5cdfc25284 agps cert install api implementation
Implementation of the install agps certificate
API for installing certificates at runtime.

Change-Id: I49239b612381e81bd8a4c0a5773783572d4b2d9a
2014-08-06 11:45:10 -07:00
Tushar Janefalkar
c091f138ef Add support for XTRA_VERSION_CHECK QMI LOC msg
A new QMI LOC msg is introduced which injects into
the modem a value that determines whether or not
the version of XTRA is to be checked

Change-Id: I0ef579332d064713ce73d80e66dc8c6fef1c1638
CRs-fixed: 649860
2014-07-21 10:45:06 -07:00
Dante Russo
c7265bbe1d Revert "Avoid GPS build for MSM8916 64bit"
This reverts commit 0daddfd2fd.

Change-Id: I3138bb2d600618cfec5ec7588d5359b15a07cbad
2014-05-07 17:12:49 -07:00
Ashwin Kumar
0daddfd2fd Avoid GPS build for MSM8916 64bit
Avoid GPS compilation for MSM8916 64bit targets

CRs-fixed: 628263

Change-Id: I5fde20c25de005feb1c24017107858d4f19eed4f
2014-03-21 22:32:30 +05:30
Jiafei Wen
39bc6e266b Emergency SUPL
This change is for the new added emergency
SUPL session. Adding a new field in gps.conf
named SUPL_ES, which is for emergency supl NI.

CRs-fixed: 600375

Change-Id: I7c21c5589259df4f1cb7ec2f850e708b2c4faa1a
2014-02-03 15:48:04 -08:00
Jiafei Wen
db7d754cd0 Add SGLTE target field in gps.conf
This field is to indicate if the current
device is SGLTE target or not.

CRs-Fixed: 595803
Change-Id: Iba5bbd00d535e7616c3a5de86641087a28e8ebfd
2014-01-08 18:10:34 -08:00