Commit graph

98 commits

Author SHA1 Message Date
Linux Build Service Account
0fdee2ae26 Merge "Ulp: Adds interfacing b/w FusedLocationProv & ULP engine" 2013-02-08 02:23:05 -08:00
Linux Build Service Account
9ca042947c Merge "default fix accuracy too high" 2013-02-06 20:12:10 -08:00
Linux Build Service Account
5fda895124 Merge "loc api v02 update" 2013-02-06 20:12:10 -08:00
Satheesh Jayakumar
9f8bcc3b14 Ulp: Adds interfacing b/w FusedLocationProv & ULP engine
Changes for providing the plumbing from UlpService down
to the native UlpEngine.
Change-Id: I67e48fad47675d9fa9a3026763daa0f248369f60
CRs-Fixed: 443444
2013-01-29 17:24:01 -08:00
Amol Mahesh
e03abb4da8 LOC: Enable loc_eng_dmn_conn_loc_api_server for all targets
Enable loc_eng_dmn_conn_loc_api_server for all targets irrespective
of the ro.baseband property.

Change-Id: Ieb9e505f27d0fc7abf4a94bac64dee60cccc4302
2013-01-24 14:32:42 -08:00
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
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
Duy Truong
a987332d29 Update copyright to The Linux Foundation
Change-Id: I727bdeb29904eebf15b7ef8eb0070d69107537a8
2013-01-10 08:07:21 -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
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
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
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
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
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
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
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
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
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
Satheesh Jayakumar
502865cbdf BIT:Fixes a bug in the pipe ownership for BIT AGPS interface
Changes to assign the correct permissions for 'gps" group for
Rx path from HAL to BIT daemon

Change-Id: I6c5dc4ff0a1379a95888f4d98e88f0174a7a2a79
CRs-Fixed: 400339, 387672
2012-10-01 12:01:36 -07:00
Linux Build Service Account
de8ce86fe4 Merge "gps: report session begin/end on gps start/stop" 2012-10-01 10:33:13 -07:00
Linux Build Service Account
c16468cc8d Merge "QMI LOC bug fix on SGLTE OOS IND" 2012-09-28 16:05:58 -07:00
Dante Russo
5b98ce35cd gps: add support for apq8064 v2
The id for apq8064 v2 is 153 vs apq8064 v1
id of 109, so the id can be either in order
to conclude that the device is apq8064 so
that GSS can be launched.

Change-Id: I8126854f18ba30a1fe46992993185266e9d1db18
CRs-fixed: 405494
2012-09-28 15:31:11 -07:00
Kevin Tang
67754118ce ATL call crash fix
AgpsStatus added with a couple string fields for wifi
which are not NULL ended when they are not used. This
get passed to AFW JNI, and allow UTF8 string with the
open ended buffer with junks in it. It might cause
exception depending on the content of the garbadge.

CRs-Fixed: 405473

Change-Id: If762748a4c63fe1be59491b5d08dbadd479176b3
2012-09-28 14:46:43 -07:00
Dante Russo
dc7abf9a3d gps: report session begin/end on gps start/stop
Since modem does not consistently send
SESSON_END/ENGINE_OFF event, always report
SESSION_END on stop gps and SESSION_BEGIN on
start gps so that the icon is turned on/off
correctly.

CRs-fixed: 401664
Change-Id: Ib3954529056a653d7057aedb489be1ccee9eaf1d
2012-09-27 15:22:14 -07:00
Kevin Tang
0a28a39125 QMI LOC bug fix on SGLTE OOS IND
Change-Id: I4408beede3d05d6cfb1a9a5ead3a44a31b1263cf
2012-09-27 10:07:13 -07:00
Brian Muramatsu
586a62cda0 Merge "gps: report session begin/end on gps start/stop" into jb-mr1-dev 2012-09-26 18:41:16 -07:00
Mekala Natarajan
205590ae1b disabled agps state machine delete in cleanup
The current cleanup mismatches agps_init(), so that it the agps state
machines will get deleted in the cleanup but never get recreated next
time apgs_init() is called.

Bug 7216641

Change-Id: Iddba9fd0d90c790e658f14c42c8a25d22b8749c0
2012-09-26 17:21:33 -07:00
Ajay Dudani
56de3d4311 gps: report session begin/end on gps start/stop
Since modem does not consistently send
SESSON_END/ENGINE_OFF event, always report
SESSION_END on stop gps and SESSION_BEGIN on
start gps so that the icon is turned on/off
correctly.

Bug 7185242

Change-Id: Ib3954529056a653d7057aedb489be1ccee9eaf1d
2012-09-26 16:38:31 -07:00
Linux Build Service Account
40f4d0d40d Merge "LOC_API: Modify LOC_API to support MSAPU client." 2012-09-25 08:01:47 -07:00
Amol Mahesh
899ebaa3de LOC_API: Modify LOC_API to support MSAPU client.
Modify LOC_API to support MSAPU client which would also
request for the access to wifi network.

Change-Id: I74a5f83484953c52437855467b04c2a4c2ccfa27
2012-09-24 13:44:50 -07:00
Amol Mahesh
a03322f3a7 LOC_API: Add group permissions after creating the pipe.
Add the group permissions to the pipe after creation so
that it can be accessed by the group.

Change-Id: Ib42639ee8a46a498c4e246bc448fe8267fd5fa7d
2012-09-24 13:41:46 -07:00
Linux Build Service Account
7da07e83ff Merge "QMI LOC and Loc API update:" 2012-09-22 09:53:09 -07:00
Kevin Tang
af0b025a0a QMI LOC and Loc API update:
Inject motion data and Get NI Geofence List;
subsystem restart over QMUXD;
CR 368109
SGLTE CID / OOS / NI SUPL INIT

Change-Id: I3bd77e87de61c2c2565bbb151d661c717367c0ed
2012-09-20 19:05:59 -07:00
Linux Build Service Account
48cd8b423b Merge "gps: AP NMEA generation" 2012-09-19 13:33:15 -07:00
Linux Build Service Account
6947e9cb07 Merge "gps: launch GSS on bootup even if GPS is disabled" 2012-09-19 02:54:55 -07:00