Commit graph

4876 commits

Author SHA1 Message Date
Tushar Janefalkar
c66c2fc5f6 Add check for mAgpsEnabled
requestSuplES did not have
the check for mAgpsEnabled

Change-Id: I314fe6bc933e5201e1ac6c6632ee3b53240955b1
CRs-fixed: 543639
2013-09-23 16:57:18 -07:00
Tushar Janefalkar
eb726cbd2e Add check for mAgpsEnabled
requestSuplES did not have
the check for mAgpsEnabled

Change-Id: I314fe6bc933e5201e1ac6c6632ee3b53240955b1
CRs-fixed: 543639
2013-09-23 16:56:04 -07:00
Kevin Tang
2daacc4905 Add LocApi to get Zpp fix.
Added get zpp fix API so that different other features can
make use of this feature in the AP space.

Change-Id: I32e750626704c5d0069723ee1ca949fda4a5505e
2013-09-20 12:00:09 -07:00
Linux Build Service Account
7b0be28423 Merge "Add LocApi to get Zpp fix." 2013-09-18 02:37:49 -07:00
Kevin Tang
81c423125c Add LocApi to get Zpp fix.
Added get zpp fix API so that different other features can
make use of this feature in the AP space.

Change-Id: I32e750626704c5d0069723ee1ca949fda4a5505e
2013-09-17 10:47:44 -07:00
Linux Build Service Account
b70967945d Merge "Fix ATL handling" 2013-09-13 12:41:35 -07:00
Dante Russo
73573ef752 Fix ATL handling
Always register for ATL events reguardless of hw target
or MSA/MSB capabilities. For APQ target, do not handle
certain types of ATL events that it doen't support.
For APQ target, use only position mode of Standalone.

CRs-fixed: 533932
Change-Id: Icd626e3e7155d5c2ba871a343430e441924ce93c
2013-09-12 09:33:03 -07:00
Linux Build Service Account
e6ded1777c Merge "Missing check to build inside libloc_core" 2013-09-11 21:59:14 -07:00
Dante Russo
311e38bcfe Missing check to build inside libloc_core
BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE needs to be
checked inside all gps hal module makefiles.
libloc_core was missing this check.

Change-Id: Ica508bcd2dc0747e354f43d7d87af5b2b06d1437
2013-09-11 15:15:34 -07:00
Linux Build Service Account
ba4766e448 Merge "Fix ATL handling" 2013-09-11 02:45:03 -07:00
Dante Russo
530086a52d Fix ATL handling
Always register for ATL events reguardless of hw target
or MSA/MSB capabilities. For APQ target, do not handle
certain types of ATL events that it doen't support.
For APQ target, use only position mode of Standalone.

CRs-fixed: 533932
Change-Id: Icd626e3e7155d5c2ba871a343430e441924ce93c
2013-09-10 15:57:08 -07:00
Linux Build Service Account
8946fedf67 Merge "Fixes a bug in the reporting for MSA sessions" 2013-09-09 23:13:11 -07:00
Satheesh Jayakumar
b7b7fb9230 Fixes a bug in the reporting for MSA sessions
Changes to ensure that positions reported with TECH_MASK_HYBRID
are also updated to the location clients.
CRs-Fixed: 537773

Change-Id: I09c7d440369d8fc37abd069fbefc2c7e23414ab1
2013-09-09 16:45:35 -07:00
Linux Build Service Account
3453226028 Merge "Bug fixed in AGPS checks" 2013-09-06 11:09:06 -07:00
Linux Build Service Account
5e3119dca0 Merge "Adding check of on_demand_time for inject time" 2013-09-05 22:12:11 -07:00
Linux Build Service Account
a7e56b7346 Merge "Avoid multiple xtra download after booting" 2013-09-05 22:11:28 -07:00
Linux Build Service Account
2bd4f4e7f5 Merge "Small fixes to conditionally launch the BIT Interface thread" 2013-09-05 22:11:15 -07:00
Jiafei Wen
9f6259f0bc Avoid multiple xtra download after booting
To avoid multiple xtra data auto-downloading, the change
delete the 3 xtra URL in gps.conf used by
GpsLocationProvider. Meanwhile, GPS HAL become to
allow GLP send Xtra data to modem.

CRs: 537744

Change-Id: I27f3122f4ecd1d4da4323e9c59bd0358f3d635f2
2013-09-05 11:15:54 -07:00
Tushar Janefalkar
a75c8b33d5 Bug fixed in AGPS checks
Fixed conditional check from
MSA|MSA to MSA|MSB. Bug was
introduced in commit 782431a
CRs-Fixed: 533849

Change-Id: I7931563e08c5c875b49cc9ada2969a34373a2890
2013-09-05 09:39:49 -07:00
Satheesh Jayakumar
ef7a8694d7 Small fixes to conditionally launch the BIT Interface thread
Changes to launch the BIT service request handler thread only if
AggpsExt is present. Small formatting fixes for pritining the IP
address.

Change-Id: Iaf3b9bd6d967ba35b04b591750784c5f221ee539
2013-09-04 09:29:10 -07:00
Jiafei Wen
50fa10247a Adding check of on_demand_time for inject time
Before injecting time, check the gps ON_DEMAND_TIME
capability. if it is disabled, it will not sent time
inject command.

Change-Id: Ie51cf1f65e086bdb49d6159051c3d66700b25d78
2013-09-03 11:31:24 -07:00
Linux Build Service Account
82a61b65d6 Merge "Fixes a bug in sessionCheck() for all adapters" 2013-08-30 13:11:13 -07:00
Satheesh Jayakumar
cdeaa6e0f6 Fixes a bug in sessionCheck() for all adapters
Changes to ensure the code breaks out of the adapter session
check loop once any one of them is in session.

Change-Id: I73b3a5f4954050abf5ce3d4c5a04245c894725f2
CRs-Fixed: 534811
2013-08-29 15:44:18 -07:00
Linux Build Service Account
b6ddfac888 Merge "Initialize DS client in the msg thread" 2013-08-29 08:07:52 -07:00
Tushar Janefalkar
e399053ebb Initialize DS client in the msg thread
In order to avoid a synchronous call
from Location Manager to the data layer,
the call to initialize the data client is
sent as a msg to the MsgTask so that it
gets handled in a separate thread
CRs-fixed: 535079
Change-Id: I3d7a72c32eb629572178c90dc4f55c3d74443332
2013-08-27 16:50:46 -07:00
Linux Build Service Account
b58cab8e26 Merge "Add API to read and write GPS lock values" 2013-08-27 12:53:45 -07:00
Linux Build Service Account
c9f7a83016 Merge "Removed the ability to configure XTRA server query" 2013-08-27 12:53:39 -07:00
Linux Build Service Account
c7a264e8fe Merge "Separated NMEA GSV for GPS and GLONASS" 2013-08-27 03:10:20 -07:00
Kevin Tang
05b385d8e0 Separated NMEA GSV for GPS and GLONASS
Generate GPGSV and GLGSV sentence separately
rather than combination according to satelite
prn number.

CRs-Fixed: 491156
Change-Id: Ie2bc60ae680a75cbe95702a7f842c1546a3a2f21
2013-08-26 19:09:43 -07:00
Satheesh Jayakumar
77ae63f106 Removed the ability to configure XTRA server query
Changes to gps.conf to remove the ability to enable XTRA server
query. This is because server info will be obtained from the
modem xtra data download request.
CRs-Fixed: 513543

Change-Id: Ia6a2b898e27dbac041064f69c534489102680050
2013-08-26 16:57:18 -07:00
Linux Build Service Account
b1e5bb90ac Merge "conditionally handle the XTRA download request" 2013-08-24 10:28:06 -07:00
Linux Build Service Account
b3a5168ac1 Merge "Fix for the crash that was caused when accessing UlpProxy" 2013-08-22 19:38:36 -07:00
Tushar Janefalkar
112751962e Add API to read and write GPS lock values
This change adds an interface to set and get
values for the GPS lock

Change-Id: I8c83b693fe4c3e6edc9cc5c8c5cbf8471e332c86
2013-08-22 18:28:02 -07:00
Satheesh Jayakumar
961d1bdae7 Fix for the crash that was caused when accessing UlpProxy
Changes to ensure that we dont free UlpProxy object
by mistake when loc_init is invoked twice.
CRs-Fixed: 532599
Change-Id: I0989368b67614181b3d834e61690211497663352
2013-08-21 17:54:22 -07:00
Linux Build Service Account
7d8ec9155e Merge "Remove ENABLE_WIPER parameter" 2013-08-21 03:48:11 -07:00
Linux Build Service Account
af92ecd030 Merge "Resolved On-Demand XTRA time injection issue" 2013-08-21 00:30:12 -07:00
Linux Build Service Account
c610c40055 Merge "Replace sysdev path" 2013-08-20 10:01:56 -07:00
Linux Build Service Account
aaf8825ad9 Merge "Remove ENABLE_WIPER parameter" 2013-08-20 06:42:41 -07:00
Ashwin Kumar
42211a946a Resolved On-Demand XTRA time injection issue
Resolved issue where XTRA data was being requested instead
of time during On-Demand time injection.
CRs-Fixed: 530415

Change-Id: Ibf057073dc4eddc011f5df5c13d60eb552eec8c9
2013-08-20 12:06:59 +05:30
Kevin Tang
3184198803 conditionally handle the XTRA download request
This may be a temporary fix to filter the reqeust here,
because this point the xtra data is already downloaded.
Next we should look at how to save the download itself.

Change-Id: I0efba22df3d8d330c03a157a07c7ee490a22027d
2013-08-19 13:57:20 -07:00
Satya Durga Srinivasu Prabhala
cb12f393d2 Replace sysdev path
sysdev gets deprecated in 3.10 Kernel. Hence, replacing
sysdev path with relevant path/s.

Change-Id: I8fbb1959ba4dfba34fdac6d271e59fd25237f899
2013-08-15 12:22:32 -07:00
Tushar Janefalkar
aa6fbdba9e Remove ENABLE_WIPER parameter
ENABLE_WIPER parameter is no longer
included in gps.conf and used in the
HAL code. So it is removed to avoid
confusion.
CRs-fixed: 520700

Change-Id: Ic0ffb762d7d27019407a9f5b4600d6ea9693b401
2013-08-13 15:53:43 -07:00
Linux Build Service Account
6e83f87256 Merge "Remove masks for Glonass" 2013-08-12 09:24:01 -07:00
Tushar Janefalkar
7d128bf31e Remove masks for Glonass
Masks for deleting aiding data
of Glonass satellites have been
moved to gps.h. Also added NAME_VAL
pairs for BDS

Change-Id: I6b5e427e3bac3936f98137ddc1c25cb35f324231
CRs-fixed: 498642
2013-08-12 03:12:40 -07:00
Linux Build Service Account
e3c48121c1 Merge "Return NULL AGPS interface on APQ target." 2013-08-11 23:10:22 -07:00
Linux Build Service Account
259c58fd27 Merge "removed ulp dependency." 2013-08-11 23:10:22 -07:00
Linux Build Service Account
f88f2d844e Merge "corresponding to izat_core and LBSAdapter changes." 2013-08-11 23:10:21 -07:00
Linux Build Service Account
d6db816507 Merge "Revert "Revert "Location Hal Design Level Change for FLP Requirement""." 2013-08-11 23:10:21 -07:00
Tushar Janefalkar
782431aff0 Return NULL AGPS interface on APQ target.
The AGPS interface will be returned
as null if MSA and MSB capabilities
are not set in gps config

Change-Id: I388654c9f527bfed128f431ccb8956e19be0f7f2
(cherry picked from commit 50891ecfe09b19a130b675ddc818ecf4ae31a3da)
2013-08-09 11:44:41 -07:00
Kevin Tang
61fedb4567 removed ulp dependency.
ULP will no longer be loaded and init'ed from loc eng
HAL. GPS HAL will look for ULP once it completes init
and waits for a msg back once it hears from ULP. This
is done with introduction of UlpProxy. Default proxy
is a no op proxy.

Change-Id: If0be0b5744f9de20f12c2f0b9704dea66aa454c0
(cherry picked from commit 2eb4ddcae94283df6c6be450c4c070ffd8ff9cd7)
2013-08-09 11:44:34 -07:00