Commit graph

121 commits

Author SHA1 Message Date
Satheesh Jayakumar
9e74deb689 Ulp: Fixes an initialization bug for ULP call-backs
Changes that caches ULP call backs if ULP initialization
precedes AFW initialization.
CRs-Fixed: 477557

Change-Id: Ic2f9de538c5b63958b0bbba5790bf00b52474dc4
2013-05-10 11:32:55 -07:00
Linux Build Service Account
08f7f00ef5 Merge "Change data type of HEPE to float" 2013-05-09 15:14:27 -07:00
Linux Build Service Account
3bba831981 Merge "Cache data availability before gps is enabled" 2013-05-08 22:23:52 -07:00
Tushar Janefalkar
22538a7f38 Cache data availability before gps is enabled
This is so that data disable is not
sent to the modem by default if data
is enabled

Change-Id: I383443fc0321380c22382ba7d7f85dacf948853a
CRs-fixed: 460376
2013-05-08 18:02:22 -07:00
Linux Build Service Account
d58a6ac3a2 Merge "GPS HAL: expose altitude and speed uncertainty" 2013-05-08 05:12:49 -07:00
Linux Build Service Account
17031f28b1 Merge "MSB is not falling back to standlone." 2013-05-07 11:19:40 -07:00
Kevin Tang
0a760c9f3b GPS HAL: expose altitude and speed uncertainty
Expose altitude and speed uncertainty from GPS fix via extended
info.

Change-Id: I0a478aa25d4b0a98793c946ba5fb883520a4ce58
2013-05-06 18:40:33 -07:00
Ashwin Kumar
bd64ccd874 MSB is not falling back to standlone.
No support for SUPl,starting MSB it wouldn.t request a PD.
Disabled the MSA and MSB for this PL.
This fix is needed because this PL doesnot have a modem.

Change-Id: I8fa1145db07f681c0f6e733da253f06f01f7edd6
CRs-Fixed: 471589
2013-05-01 03:23:59 -07:00
Tushar Janefalkar
fc56628d06 Send data disable to modem during init
This is to avoid data being enabled
when data roaming is turned off.

Change-Id: If2c2f89669d872bfd4e8579f682d0c61904fe7c8
CRs-fixed: 460376
2013-04-30 11:17:12 -07:00
Dante Russo
0263b6f655 msm8610 bringup changes
allow gps components to build for msm8610

Change-Id: I6a718187305a2aa71b50eb6139353fea54f4ac1c
2013-04-23 09:13:23 -07:00
Satheesh Jayakumar
8dd8689be2 gps.conf: Removed the option to configure ulp on/off
Since the switch for ulp in gps.conf did not truly turn QCA
implementation for Fused Location Provider on/off this change
removes this redundant parameter from gps.conf

Change-Id: I677c42a00e6b0d156c2e4c3b65da13a55eb97279
CRs-Fixed: 461273
2013-04-09 14:33:42 -07:00
Kevin Tang
b2490777c1 removed exe bit of the file access mod
find . -type f -executable -exec chmod -x {} \;

Change-Id: Ib6e09bc4bf1d8e4cde63c1df0b15877bf42525b8
2013-04-05 11:12:28 -07:00
Tushar Janefalkar
a50977f5e2 Correction in checksum calculation for NMEA
The number of bytes to be written for
the checksum exceeded the buffer length.
This change corrects makes the correction.

Change-Id: If90c6f5b2006a013a096a767334deac1555553f1
CRs-fixed: 468553
2013-04-01 09:44:10 -07:00
Linux Build Service Account
013abecbba Merge "Split gps configuration file (change 1/2)" 2013-03-27 12:57:09 -07:00
Linux Build Service Account
7fcd1aba96 Merge "Add support for msm8226" 2013-03-25 13:16:10 -07:00
Dante Russo
fc5de6cc54 Add support for msm8226
Needed for gps binaries to build for msm8226

Change-Id: I3228dcee00de4ad61c542eeadeec6d44089c53d9
2013-03-21 08:35:16 -07:00
Tushar Janefalkar
50dd50cbb4 Read debug level from gps.conf
In order to control the logging levels
of location Hal irrespective of the
process calling it, a call to read
debug level from gps.conf is added

CRs-fixed: 461436
Change-Id: Id54083df36e3ee266c79c7b5178993dd5f3bdb78
2013-03-20 13:23:35 -07:00
Tushar Janefalkar
d2873a0baf Split gps configuration file (change 1/2)
gps.conf now split into
izat.conf: proprietary items
sap.conf : sensor assisted positioning items
gps.conf : items used in open source
           (gps.conf moved to open source)

CRs-fixed: 461129
Change-Id: I819230ee3bb13aad0b91f7d33bfb9e57b6d1abe1
2013-03-19 15:57:50 -07:00
Tushar Janefalkar
5049a47797 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.
This change is a re-cherry-pick from
change id - I98d5619d2e6e63711a9b56f0af2b3ddd27372871

Change-Id: I058d206c37245b44f1cf74d6065e7ce46f50baf7
CRs-Fixed: 418009
2013-03-18 15:49:52 -07:00
Tushar Janefalkar
842b4c3e68 Change data type of HEPE to float
This is to accomodate values of accuracy
that exceed 65535

CRs-fixed: 449184
Change-Id: Icc89c4bbb6975027083fd906bdc2d0ca40060431
2013-03-05 11:01:31 -08:00
Kevin Tang
356036e9f6 copy back supl es data to sm
SUPL ES added additional optional fields in the NI indiation. We
need to copy back these info as then came when we send back the
notification to modem. This change is to add that.

CRs-Fixed: 443946

Change-Id: Ib4a99441a03b2cb41b66d4c97253acbf118e4f05
2013-02-26 15:05:30 -08:00
Linux Build Service Account
87e24ecf53 Merge "gps: fix nmea altitude for rpc" 2013-02-20 21:35:49 -08:00
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
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
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