Commit graph

861 commits

Author SHA1 Message Date
Saurabh Srivastava
c01fcd784c Adding new target APQ-NoWGR handling
Adding handling for new ro.baseband value provided by target team
If the target does not have WGR (GPS Receiver), we return NULL
GPS and FLP interfaces.

CRs-Fixed: 1033674
Change-Id: I1561518c4f4b0c52ab934feb2fa43e9078c91d86
2016-07-29 11:45:28 +05:30
Linux Build Service Account
7124f9f705 Merge "Fixed SSR issue for GNSS Measurements" 2016-07-25 20:44:08 -07:00
Mike Cailean
4dd7e1c561 Fixed SSR issue for GNSS Measurements
Fixed SSR (sub-system reset) issue when
GNSS Measurements where not available
after an SSR.

Change-Id: Ie9ecc851fe53814f4a3e386b503b61bbca9d156d
CRs-fixed: 1036070
2016-07-25 10:13:02 -07:00
Mike Cailean
fae54f18a2 Added debug messages for SV Info
Added constellation field in the debug messages for SV Info

Change-Id: Ie02b1284cc5c24f526c82c52ff1ecda066655aac
CRs-fixed: 1013650
2016-07-25 09:38:13 -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
Linux Build Service Account
17e8653d96 Merge "LPPe feature support." 2016-06-21 00:41:28 -07:00
Linux Build Service Account
023ea00a29 Merge "Enable/disable PDN for emergency SUPL at runtime" 2016-06-21 00:41:22 -07:00
Kevin Tang
5ceb69dc42 Enable/disable PDN for emergency SUPL at runtime
This feature makes AGPS enable/disable PDN for
emergency SUPL according to new setting in
gps.conf when SIM is replaced at runtime

Change-Id: Idbc086b938ded02ba702ea080ded69e9b4761e46
CRs-fixed: 1026702
2016-06-20 10:37:36 -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
Kevin Tang
62743a2219 make Api ctor non public
to protect objs from falsely created, as a NULL
parameter for msgTask could eventually cause
crash.

Change-Id: Ie04fb388dab5f217f2fa520a5276dcffa5962e10
CRs-Fixed: 1026576
2016-06-14 16:27:28 -07:00
Kevin Tang
2fc8de7ad4 making SUPL ES run time configurable
SUPL ES gets updated as part of the sim specific
AGPS config hot swap update. We keep that lastest
SUPL ES and send that as part of the NI request,
to let NI handler to know the config status.

Change-Id: I566725d5db9b3abdbd9a423b86c10b819217f4f6
CRs-Fixed: 1024879
2016-06-14 16:27:28 -07:00
Ruifeng Xu
0aa6e3aee9 multiple XTRA downloaders could be triggered on boot up
Disable loc xtra apis to allow only one XTRA downloader
when other XTRA downloader is enabled.

Change-Id: I0183608f801cdc6a7d7db730d5d633e556c95386
CRs-fixed: 1022064
2016-06-13 12:05:33 -07:00
Harikrishnan Hariharan
93e8cad4f2 Fix GPS related KW P1 issues for MDM9x50.
Fix following GPS related KW P1 issues
for MDM9x50 - 16806885,16806886,16806887,
16806888.

Change-Id: I1f26fee30d7179883a48c3d067b4c90562e9e914
CRs-Fixed: 1025194
2016-06-08 00:29:38 -07:00
Naresh Munagala
aa8a474a74 Remove target specific logic for DR Fix
Automotove changes needs LE specific fixes
which is enabled by adding appropriate Makefiles

Change-Id: If814af411dd1c67d7a83b07f45813d57d5f96ca9
CRs-Fixed: 1017254
2016-06-02 05:49:43 -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
Saurabh Srivastava
059605367a Enabling CLANG compilation
Removing LOCAL_CLANG := false from makefiles.
Couple of instances got added back as part of
LE merge.

Change-Id: I7d18d573c1d12597914124e35cb024df3343f0db
CRs-Fixed: 1021759
2016-05-30 23:09:50 +05:30
Linux Build Service Account
e090bfde99 Merge "Move local gps/sap configuration to Context" into location.lnx.2.0-dev 2016-05-28 23:37:56 -07:00
Dante Russo
183e295b9b Move local gps/sap configuration to Context
gps/sap configuration is moved from a global
variable in loc eng to a static in ContextBase,
so that it is more accessible without having to
link with loc eng for access.

CRs-fixed: 1012772

Change-Id: I74bf456b44fab3a2db016ef4c4b4b3a2b8cde1b2
2016-05-27 15:56:43 -07:00
Harikrishnan Hariharan
05f58605e1 Return the correct length of nmea sentence.
Return the correct length of nmea sentence in the
function loc_eng_nmea_put_checksum(). The correct
length is length of NMEA string including ‘$’
character alongwith length of checksum.

Change-Id: I45a086190008df79a93b9386bc69d9c50e47c93b
CRs-Fixed: 1020044
2016-05-25 13:20:32 +05:30
Vamana Murthi
35877af173 Merge remote-tracking branch 'origin/location.lnx.1.0-rel.1.0' into HEAD
git merge upto CRT tag location.lnx.1.0-00036 to private_n_location.lnx

Change-Id: I922daaa9a8c2745095ec9d425192d3649657e76c
CRs-Fixed: 1015000
2016-05-12 18:11:31 -07:00
Linux Build Service Account
bc1348c515 Promotion of location.lnx.1.0-00036.
CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
992647   Ib886b96b2e95dafc151bead041e5fc3d6740c468   gps: include support to check hardware type property
1007417   Icc71de1fab3fd5967901c39a5c11eaea17b7766c   Default apn ip type to ipv4
1005413 1006831   I3a9e2219c1c9b4ca127a4b55f71b0a78a84cdd11   Use QMI_LOC_SET_NMEA_TYPES to set the NMEA sentences req

Change-Id: I9f01953ba3c18819c8a1a90dad18e350ddc93531
CRs-Fixed: 1007417, 1006831, 1005413, 992647
2016-05-06 00:17:15 -06:00
Linux Build Service Account
7bf29855bf Merge "XTRA Client 2.0" 2016-04-29 15:19:56 -07:00
Linux Build Service Account
83144d0f32 Merge "Use QMI_LOC_SET_NMEA_TYPES to set the NMEA sentences required." into location.lnx.1.0-dev.1.0 2016-04-29 14:38:14 -07:00
Harikrishnan Hariharan
2d9840bcee Use QMI_LOC_SET_NMEA_TYPES to set the NMEA
sentences required.

If NMEA_PROVIDER=1, HLOS needs to use the QMI type
QMI_LOC_SET_NMEA_TYPES to set the type of NMEA
sentences it needs. This will register for all
possible NMEA sentences and instructs modem to
send whatever it supports.

Change-Id: I3a9e2219c1c9b4ca127a4b55f71b0a78a84cdd11
CRs-Fixed: 1005413 1006831
2016-04-29 23:13:33 +05:30
Madhanraj Chelladurai
edc2a648b3 gps: include support to check hardware type property
automotive platform introduced a new android property called
ro.hardware.type to detect automotive platform for the
purpose of having automotive specific features.

Added changes in loc_target to detect auto platform.

Change-Id: Ib886b96b2e95dafc151bead041e5fc3d6740c468
CRs-Fixed: 992647
2016-04-27 23:43:17 -07:00
Linux Build Service Account
1fb9826d91 Merge "Default apn ip type to ipv4" into location.lnx.1.0-dev.1.0 2016-04-26 20:37:45 -07:00
Dante Russo
04e6ca93b9 Default apn ip type to ipv4
If a apn ip type is not found for a agps
data connection, default to using ipv4
instead of invalid.

CRs-fixed: 1007417

Change-Id: Icc71de1fab3fd5967901c39a5c11eaea17b7766c
2016-04-26 16:31:16 -07:00
Linux Build Service Account
9141f54c5a Promotion of location.lnx.1.0-00033.
CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1004488   Idc93f1ec9b1ccb548d3119e72ce0e3e797f2039f   fixing a LE compilation issue

Change-Id: Ife384c5b41002f8594d79627c67f6ec22d67bf12
CRs-Fixed: 1004488
2016-04-19 06:42:23 -07:00
Kevin Tang
f41f1960c4 fixing a LE compilation issue
missing include of a head file. A late check in for Android introduced
this. This blocks LE mainline switching to component model.

Change-Id: Idc93f1ec9b1ccb548d3119e72ce0e3e797f2039f
CRs-Fixed: 1004488
2016-04-17 12:42:19 -07:00
Kevin Tang
f97a97d0d1 fixed a copy paste error
should NULL check set_system_info_cb instead.

Change-Id: If3a4f4bdb3025d92c1fcd2af320fd370d51301aa
2016-04-16 23:41:45 -07:00
Linux Build Service Account
f5aa6dd063 Promotion of location.lnx.1.0-00031.
CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
999457   Id323dd058eddcf50d6fd9ec8908e9997b30c561b   Adding fix for KW warning

Change-Id: I8ccac5fc5e9aa5558e7311a80be7ba805d203ee8
CRs-Fixed: 999457
2016-04-16 09:39:18 -07:00
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
Mike Cailean
c3a4fba9b8 Support GnssMeasurement
Support the new GnssMeasurement and GnssClock
data structures for the new gps.h

Change-Id: I40e00711501432760c82d27fb82702b1bf57ebb6
2016-04-14 12:45:53 -07:00
Dante Russo
d30694acf6 Rename GnssSvStatus to QtiGnssSvStatus
Change-Id: Ieeeb03af37440214f4762d495d949b4ab59ed237
2016-04-14 12:28:28 -07:00
Linux Build Service Account
1c4e135463 Promotion of location.lnx.1.0-00029.
CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
935146   I9c3f970aa0f0ca0805fdc2e04aa809329b6a2676   Xtra client always reports carrier as 'unknown'
1002114   Id3d6e2c81eb6d5ee549236c591cc75ac32aa948b   gps: Remove dependency on libcutils.so
1002114   Id54e7b212b895c7a521e0252b7c99be8e295b0d9   loc-api: Fixing copyright
604905   I72285c7926814ec85dae64e6634f0c79ea5e6c51   Copy position mode to dummy ULP proxy
1002114   Iab9da5dbd2b0c779e18a6fe4615ad7e705800654   Correct print for xtra server urls.
1002114   I15a477d159375740047cd7386f8c8c5163fdaf87   Add LocApiProxyBase to context
595803   Iba5bbd00d535e7616c3a5de86641087a28e8ebfd   Add SGLTE target field in gps.conf
1002114   Iec0a96e7cdfe55ef5836c92a2ae1cce407f6cd5e   Revert "Merging m_master changes to oe_master".
476773   I8c05bb3ab6fdd3ec80d7fe3427160b2e29d7a0d0   loc_api_v02: Updating to loc api v02 idl Major:0x02, Min
1002114   If986fe059199dd752526dbe837fcf03b4b4d8002   remove link depedency to dsi_netctrl temporarily
420623   I7e05beadec76c3308448b9198fd23c8e8b97394d   Add buffer length check for XTRA data
1002114   Ifb0473f5d05c156f761c72e29f6592b443ee9cb3   loc-api: Making off-target garden-app build and run agai
554340   I029e5c3bbb9d8e89b220ca44e9704b5a1d1451ff   enhance ulp handshake
1002114   Id2415d80fa3cbdc124e0a3bdd2722db7f233ad53   Revert "Revert "Fix compilation issues for m_master merg
605814   I351426591f220075fa7a7cec776f4f86c837a3f6   loc-stub: Create a loc_stub library for stub func
600375   I7c21c5589259df4f1cb7ec2f850e708b2c4faa1a   Emergency SUPL
555829   I03ae100c4b7e65c95bac5841fcf00b27e2940741   Memset the xtra url to assure null termination
940557   I4cbde8d3c49ef4ac287d34a88ea25787b507cdbe   Add the support for geofence dwell
951144   I9bac4caa26e87741e5e82e16a8047af20ac8012b   Sub milli sec part in the relevant NMEA Strings
1002114   Ieffd21d0cb84d88d1304bb82bb5a54137cf967fd   loc-api: Exposing gps_get_hardware_interface to C code
995520   I7940429c369249ab9aa636fe9850c1281cf2dc01   Fix LA compilation issues after merge
975415   I602aa7c8a2db9682a1fe94b7ca892027281deec7   Fix compilation issues for m_master merge into oe_master
551808   I6fb7271ec0be5aec14e9d667c07e5b01b1736c1d   Check mAgpsEnabled for data call
975372   Ic241d4573bdf2e58c4e264e97bd41b56f882c791   make LocSharedLock::mRef ops atomic
951144   I9bac4caa26e87741e5e82e16a8047af20ac8012b   Sub milli sec part in the relevant NMEA Strings
605817   I677f658001329a10ef9b49bd963631a83fb4c85f   loc-pla: Create Platform Library Abstraction layer
533932   Icd626e3e7155d5c2ba871a343430e441924ce93c   Fix ATL handling
726800   Iec37624621d6eb4806eb8e13c807bb4e40584e39   Remove reduntant clearing of GpsLocation memory
605821   I54e1a9c742d1734ffa29e6864901119e0ee600c8   loc-hal:porting from ANDROID_LNX.LA.3.5.1_RB1.04.04.02.0
1002114   I7b540247b246ea4caf710247d2c58b55515dae7c   Revert "Fix compilation issues for m_master merge into o
881265   I3c895adc2ce1cef36032a25e3c6fd63e70350607   encode field separator characters
1002114   I94124bbbeb6d932a21fd6b1f5536d834f7185cd8   gps: Updating copyright.
1002114   Iab525a58ddb6a00e119afe19f4f51b07b7f428f2   Revert "Revert "Merging m_master changes to oe_master"."
1002114   I20960f1c087c9a6bf721ea3e25369590f5b2ce85   loc-api: Merging Makefiles of libloc_api_50001 and loc_a
538124   I716cf169de9dae164a141651af971793099a927d   Changes for liblbs_core
543639   I314fe6bc933e5201e1ac6c6632ee3b53240955b1   Add check for mAgpsEnabled
951152   I4a2bbd51da34e441f148275ec3c2c4fa9ece7599   Reduce TBF limit in GPS HAL
538143   I41be2121493c6a0b35a5726fd546eb0fa5e9b20c   Send status report msg through ULP
1002114   I32e750626704c5d0069723ee1ca949fda4a5505e   Add LocApi to get Zpp fix.
605821   I334ccf21f6e5d045d32c718cb060c67e167be733   Make off-target loc hal libraries built
643816   I803b26bce22f06910dcaa1ee057902b9381667bf   Migrating XTRA from gpsonextra.net to cloud based izatcl
599478   I106e50462ad810ca5baf452d7effc6459c135f6f   Fix for dsi_init failure

Change-Id: Id2616af95cef8449b9eb82ba7138520e5f186609
CRs-Fixed: 935146, 543639, 1002114, 600375, 605821, 940557, 975415, 881265, 951144, 951152, 995520, 599478, 554340, 533932, 538143, 538124, 726800, 595803, 551808, 605814, 605817, 420623, 643816, 975372, 476773, 604905, 555829
2016-04-13 06:08:45 -07:00
Linux Build Service Account
88e1de76b0 Merge "gps: include support to check hardware type property" 2016-04-12 16:22:39 -07:00
Saurabh Srivastava
5573c31749 Adding fix for KW warning
Fix for buffer overflow possibility for the thread name passed in to
pthread_setname_np() method.

Change-Id: Id323dd058eddcf50d6fd9ec8908e9997b30c561b
CRs-Fixed: 999457
2016-04-08 03:25:02 -07:00
Naresh Munagala
8f54f693ee Fix LA compilation issues after merge
Fixed compilation issues for LA after merging
oe_master with location.lnx.1.0-dev.1.0.

Change-Id: I7940429c369249ab9aa636fe9850c1281cf2dc01
CRs-Fixed: 995520
2016-04-06 09:48:43 -07:00
Kevin Tang
1fbe5b2ff4 Merge commit 'refs/changes/97/1557997/2' into HEAD
Change-Id: I89b9c1e262dcd249589b507449d0921d1aabf3e5
CRs-Fixed: 995520
2016-04-06 09:47:14 -07:00
Linux Build Service Account
0493bacf4e Promotion of location.lnx.1.0-00026.
CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
991345   Ieaad5dfa80b26b90e998618b3cbe1e590fc00839   gps: consider nsec while ranking the timer objects

Change-Id: I3af70f12f1cd2c1cad71b889c82d64c6c51ae65a
CRs-Fixed: 991345
2016-04-06 02:02:11 -07:00
Linux Build Service Account
9e38acda5f Merge 8ef6c3cc1a on remote branch
Change-Id: I467ec5a84fc2b471d6f68936cec88a44c82b6627
2016-04-05 02:47:36 -06:00
Madhanraj Chelladurai
4b345c82ac gps: include support to check hardware type property
automotive platform introduced a new android property called
ro.hardware.type to detect automotive platform for the
purpose of having automotive specific features.

Added changes in loc_target to detect auto platform.

Change-Id: Ib886b96b2e95dafc151bead041e5fc3d6740c468
CRs-Fixed: 992647
2016-04-05 10:39:55 +05:30
Linux Build Service Account
804a1ec944 Merge "gps: consider nsec while ranking the timer objects" 2016-03-31 10:49:08 -07:00
Madhanraj Chelladurai
c4c29c3ca7 gps: consider nsec while ranking the timer objects
We need to consider nsec as well while ranking timer objects

Change-Id: Ieaad5dfa80b26b90e998618b3cbe1e590fc00839
CRs-Fixed: 991345
2016-03-31 10:25:22 -07:00
Linux Build Service Account
8ef6c3cc1a Promotion of location.lnx.1.0-00025.
CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
978745   I7ab0e92c7ed4ce73be11909eefe0d570a1a0fc1e   Adding a new NMEA sentence : $GNGSA.
989476   I2eaba5a89e64088e3383b962dceaaa7e975e997a   Enabling CLANG compilation and fixing all resulting erro

Change-Id: I42005bade478892728a78b2613f41bb5b29980aa
CRs-Fixed: 989476, 978745
2016-03-28 23:38:02 -07:00
Naresh Munagala
70326c9146 Merge branch 'oe_master' into location.lnx-1
Change-Id: I08afb24e8b909ac173a14d741458df2ee023d960
CRs-Fixed: 995520
2016-03-28 14:51:47 +05:30
Linux Build Service Account
7908e78974 Merge "Enabling CLANG compilation and fixing all resulting errors" into location.lnx.1.0-dev.1.0 2016-03-24 19:04:28 -07:00
Madhanraj Chelladurai
14f0dc1b52 gps: consider nsec while ranking the timer objects
We need to consider nsec as well while ranking timer objects

Change-Id: Ieaad5dfa80b26b90e998618b3cbe1e590fc00839
CRs-Fixed: 991345
2016-03-18 10:56:42 +05:30
Saurabh Srivastava
217e754489 Enabling CLANG compilation and fixing all resulting errors
Removing statement to set LOCAL_CLANG flag explicity to
true. It will be true by default.

Change-Id: I2eaba5a89e64088e3383b962dceaaa7e975e997a
CRs-Fixed: 989476
2016-03-17 12:33:17 +05:30