Commit graph

3937 commits

Author SHA1 Message Date
Kevin Tang
b52741ec45 default fix accuracy too high
the default fix accuracy is set to 1000m, too
high.  Now set to eQMI_LOC_ACCURACY_HIGH_V02

Change-Id: I5bdcd1d2da0a68ca55a5b9eb1f9de9ac12238e9a
2013-01-22 14:11:18 -08:00
Dante Russo
b7b14cb1c6 gps: fix nmea altitude for rpc
Change-Id: Ifcbde28717178b76bde03d02d3f9ffa8dae114fd
2013-01-21 18:00:45 -08:00
Kevin Tang
660f21b540 loc api v02 update
newer version to support dsds and RAT based
cell info injections

Change-Id: I490a928db7af37a266edbad1acba6e1f9f8aa186
2013-01-18 14:40:45 -08:00
Shruthi Krishna
48a3879727 Merge commit 'android-4.2.1_r1' into Upgrade_branch
* commit 'android-4.2.1_r1':
  disabled agps state machine delete in cleanup
  gps: report session begin/end on gps start/stop
2013-01-17 11:46:05 -08:00
Duy Truong
a987332d29 Update copyright to The Linux Foundation
Change-Id: I727bdeb29904eebf15b7ef8eb0070d69107537a8
2013-01-10 08:07:21 -08:00
Linux Build Service Account
7ac13574ff Merge "fix loc_api_v02 missing library" 2013-01-03 17:14:19 -08:00
Kevin Tang
2a148d2546 fix loc_api_v02 missing library
The check for qmi framework now uses a define flag which exists on all
but aosp builds.

Change-Id: Id669f62ccb39b5b3c410e7769350cfba5bf38159
2013-01-03 14:05:49 -08:00
Dante Russo
b86c1f8a06 gps: enable features IPV6 and DELEXT
This change requires android framework changes

Change-Id: I6c019ed7f852f7de53966e51a28c447540bdfb0a
2012-12-14 16:51:20 -08:00
Dante Russo
7118024952 Merge jb into jb_2.5
Features ULP, IPV6, DELEXT disabled

Conflicts:
	loc_api/Android.mk
	loc_api/libloc_api-rpc-50001/*
	loc_api/libloc_api_50001/*
	loc_api/loc_api_v02/*
	loc_api/ulp/inc/ulp.h
	utils/*

Change-Id: I846352d0addca89d4ffc3b114b774926b23e930d
2012-12-14 16:45:15 -08:00
The Android Open Source Project
11db31880d am f62a0fad: (-s ours) am c5a129e1: Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge
* commit 'f62a0fad06aa7e5c968e6bda086701753d508ba0':
2012-11-27 17:34:21 -08:00
The Android Open Source Project
f62a0fad06 am c5a129e1: Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge
* commit 'c5a129e11702e2878b3f17be1cfb27e841f7b9ce':
2012-11-27 11:39:20 -08:00
The Android Open Source Project
c5a129e117 Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge
Change-Id: Ifb0a30557854004e5a4c90944908a91d70ceb8c6
2012-11-27 07:33:48 -08:00
Linux Build Service Account
63b6b8f224 Merge "Utility to identify target HW" 2012-11-20 00:58:26 -08:00
Linux Build Service Account
3d02619c3e Merge "OTDOA support" 2012-11-20 00:58:22 -08:00
Linux Build Service Account
283899e1fe Merge "Loc_Api: Support A-GLONASS Position protocol" 2012-11-20 00:58:20 -08:00
Kevin Tang
e065604f30 OTDOA support
(must have CR 370306 as dependency)
CRs-Fixed: 402746

Change-Id: I505becab45f643b352e8ff3aeb242b15b623cb7b
2012-11-15 15:42:13 -08:00
Neethu Joseph
8e9cb23386 Loc_Api: Support A-GLONASS Position protocol
Support to read A-GLONASS Prosition protocol from gps.conf

Change-Id: If91d6754aaee73c1360728793f4cc2ef1f015fe7
CRs-fixed: 378515
2012-11-15 12:06:07 -08:00
Linux Build Service Account
6d7116dda4 Merge "gps: do not lock mutex during loc_ioctl" 2012-11-12 17:30:39 -08:00
Tushar Janefalkar
63c5ac48c7 Utility to identify target HW
Earlier this identification was done in loc.cpp
This change moves that to a separate utility.
Also included is a change to not return
a handle to the GPS interface if the target
is found to be MPQ8064.

CRs-Fixed: 418009
Change-Id: I98d5619d2e6e63711a9b56f0af2b3ddd27372871
2012-11-12 10:28:15 -08:00
Linux Build Service Account
a3403fa52c Merge "Loc api v02 support for QMI_LOC rev 2.17" 2012-11-11 17:53:28 -08:00
Anh Nguyen
a2b89ff92f Merge remote-tracking branch 'remotes/quic/partner-android/jb-mr1-dev' into mybranch
* remotes/quic/partner-android/jb-mr1-dev:
  chmod uga-x
  gps: fix for no gps signals after modem reset
2012-11-09 16:21:45 -08:00
Dante Russo
9fd717a6ae gps: do not lock mutex during loc_ioctl
Locking the slot mutext during a loc_ioctl call
can cause deadlock in some rare cases.

Change-Id: I09aa2ad7c67c326fee90447db960895d7f1fb149
CRs-fixed: 412208
2012-11-07 09:45:23 -08:00
Linux Build Service Account
686cee4f8a Merge "Add NULL checks for callbacks" 2012-11-05 18:46:58 -08:00
Tushar Janefalkar
e4f800932f Add NULL checks for callbacks
As a security measure, callbacks
are checked to make sure they are
not NULL pointers.

Change-Id: I391e1cc373e8098449303709d8d1b67d305fb633
CRs-Fixed: 404438
2012-11-05 10:20:16 -08:00
Nitin Singh
5f45c04c89 Loc api v02 support for QMI_LOC rev 2.17
changes to suuport pedometer and motion data control API

Change-Id: I56c87adaa1f717c76bf1ff6eb2d195c92acbd38d
2012-11-02 13:11:57 -07:00
The Android Open Source Project
40b45d7a94 am 16e52e06: (-s ours) Reconcile with jb-mr1-release - do not merge
* commit '16e52e065457fa480e0b684500bc1023ad40bc36':
2012-10-31 09:22:33 -07:00
The Android Open Source Project
16e52e0654 Reconcile with jb-mr1-release - do not merge
Change-Id: Ie52cdeb09f0af68d833ccb50e63d72ab5a5efea2
2012-10-31 09:17:34 -07:00
Iliyan Malchev
f0af7289cb am 8ba1fbee: am c74962df: chmod uga-x
* commit '8ba1fbeef87f451a06919b1d596b79ce09b3daa7':
  chmod uga-x
2012-10-29 17:15:55 -07:00
Iliyan Malchev
8ba1fbeef8 am c74962df: chmod uga-x
* commit 'c74962df0d30bdb176472a1775a794fd93b1cd7a':
  chmod uga-x
2012-10-29 14:31:34 -07:00
The Android Automerger
283486517d merge in jb-mr1-release history after reset to jb-mr1-dev 2012-10-29 11:20:06 -07:00
Iliyan Malchev
c74962df0d chmod uga-x
find -type f -perm +111 -name \*.[ch]\* -exec chmod uga-x {} \;

Bug: 7428209
Change-Id: I991e3fb62a46f4b4cd727ef4b6a4472b4015ce33
Signed-off-by: Iliyan Malchev <malchev@google.com>
2012-10-27 14:22:13 -07:00
The Android Automerger
6f1ee47d21 merge in jb-mr1-release history after reset to jb-mr1-dev 2012-10-19 06:59:46 -07:00
woojin.shin
6fa8714c3a am 22809b1a: am 9365bf1f: gps: fix for no gps signals after modem reset
* commit '22809b1a09d3b5817e2a31ecc5d1e2294f6f7dae':
  gps: fix for no gps signals after modem reset
2012-10-18 14:54:44 -07:00
woojin.shin
22809b1a09 am 9365bf1f: gps: fix for no gps signals after modem reset
* commit '9365bf1ffd633b65bad7f95af90dcbb53e41652b':
  gps: fix for no gps signals after modem reset
2012-10-18 14:52:12 -07:00
woojin.shin
9365bf1ffd gps: fix for no gps signals after modem reset
This fixes the problem that GPS doesn't work until reboot after modem reset.

Bug: 7216911
Change-Id: Ibfee6a28850490548da2e0ccaefdabe9b826b5e9
Signed-off-by: Iliyan Malchev <malchev@google.com>
2012-10-18 13:50:31 -07:00
Linux Build Service Account
353911d007 Merge "XTWiFi: disable coarse position injection when XTWiFi NLP is in use" 2012-10-17 21:52:33 -07:00
Kevin Tang
0529b2b9bb XTWiFi: disable coarse position injection when XTWiFi NLP is in use
Disable coarse position injection from GPS HAL when XTWiFi
Network Location Provider is in use. This is needed to avoid self
learning loop inside modem.

Change-Id: I0526317221d3490c41d0d8d901fbfa4d93e9a0b0
CRs-Fixed: 409409
2012-10-17 14:49:56 -07:00
Linux Build Service Account
f86ec94d37 Merge "Service modem's request for NTP time" 2012-10-15 18:34:52 -07:00
Linux Build Service Account
250adab993 Merge "Remove interpretation of LPP config parameter" 2012-10-12 12:56:10 -07:00
Tushar Janefalkar
d6c8792769 Remove interpretation of LPP config parameter
Instead of having a switch case that sets bits in the
lppconfig mask, the mask is assigned whatever value
was read from gps.conf. The advantage of this being
that if in the future additional bits are added in
lppconfig, there need not be a code change; only
comments in gps.conf have to be updated to inform the
correct value for those additional bits

CRs-Fixed: 406969

Change-Id: I979151b44cd85e98b59b4586fdd49e20a7d7c82b
2012-10-12 10:24:02 -07:00
Linux Build Service Account
020727f661 Merge "BIT:Fixes a bug in HAL for AGPS operation for SGLTE" 2012-10-11 20:43:44 -07:00
Tushar Janefalkar
2051ffae1f Service modem's request for NTP time
Previously, modem's request for NTP time was not supported.
This change enables that request to be serviced through the HAL
and current NTP time is injected into the modem

CRs-Fixed: 406357

Change-Id: I471f98cf57a276902d7991da48cf7244fe798318
2012-10-11 15:07:49 -07:00
Satheesh Jayakumar
0eaa3bab7e BIT:Fixes a bug in HAL for AGPS operation for SGLTE
Enhances HAL to launch the Daemon connection server
for SGLTE targets too.
CRs-Fixed: 409237

Change-Id: I70116eb1f96b8b4dbe39f57dfceb1ab02ef65e4d
2012-10-11 11:54:11 -07:00
Linux Build Service Account
b1c6ba1ffc Merge "dynamically build and load adapter libs" 2012-10-08 04:23:31 -07:00
Kevin Tang
a389eae611 dynamically build and load adapter libs
this is to support bringup efforts. This change will decouple
the dependencies between GPS HAL and proprietary QMI headers,
so that we can build HAL without any proprietary repos.

Change-Id: I7b836d09f4ac6b1a1bdb38f8d6a2bfb90bb5bf01
2012-10-05 18:37:05 -07:00
Linux Build Service Account
b6a9a0d446 Merge "ATL call crash fix" 2012-10-03 03:17:07 -07:00
Linux Build Service Account
3a6bfa4bc3 Merge "BIT:Fixes a bug in the pipe ownership for BIT AGPS interface" 2012-10-02 22:42:33 -07:00
Linux Build Service Account
8dba00b498 Merge "gps: add support for apq8064 v2" 2012-10-02 20:27:59 -07:00
The Android Open Source Project
d2d637cd6d am 6f441d38: (-s ours) Reconcile with jb-mr1-release - do not merge
* commit '6f441d38d863a64a463ae3c5ec188e7e2962b9e2':
  disabled agps state machine delete in cleanup
  gps: report session begin/end on gps start/stop
2012-10-02 09:24:27 -07:00
The Android Open Source Project
6f441d38d8 Reconcile with jb-mr1-release - do not merge
Change-Id: Ifbd9be57ffd54239f7d0b9271f262042394b938e
2012-10-02 09:18:57 -07:00