Commit graph

38 commits

Author SHA1 Message Date
Tushar Janefalkar
a021ad35de Update LOC API source and header files
Updated LOC API source and header files
since the new version had updated masks
that were required for loc eng

Change-Id: Ia0d57770a737ef6d05e881ac0512eb174e7c9fd1
2013-05-30 18:37:06 -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
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
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
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
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
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
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
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
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
c16468cc8d Merge "QMI LOC bug fix on SGLTE OOS IND" 2012-09-28 16:05:58 -07:00
Kevin Tang
0a28a39125 QMI LOC bug fix on SGLTE OOS IND
Change-Id: I4408beede3d05d6cfb1a9a5ead3a44a31b1263cf
2012-09-27 10:07:13 -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
Dante Russo
a3409617b6 gps: AP NMEA generation
Generate NMEA sentences on the AP

Change-Id: Ifc9e9263868ab4dec450bef35c53c441c881a072
2012-09-17 07:34:08 -07:00
Ajay Dudani
197fe088f7 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
Signed-off-by: Iliyan Malchev <malchev@google.com>
2012-09-15 13:44:20 -07:00
Ajay Dudani
ac8fa07a02 gps: control session state evt from HAL, not modem
Suppress the registering for QMI_LOC_EVENT_MASK_FIX_SESSION_STATE_V02
event from modem, that is normally responsible for generating
GPS_STATUS_SESSION_BEGIN and GPS_STATUS_SESSION_END, and instead
initiate these events from hal from when we get GPS_STATUS_ENGINE_ON
and GPS_STATUS_ENGINE_OFF.

Change-Id: I9d220bef7ee4f989a3982d888ed46279861f612d
2012-09-14 17:49:49 -07:00
Dante Russo
02d13cc646 gps: control session state evt from HAL, not modem
Suppress the registering for QMI_LOC_EVENT_MASK_FIX_SESSION_STATE_V02
event from modem, that is normally responsible for generating
GPS_STATUS_SESSION_BEGIN and GPS_STATUS_SESSION_END, and instead
initiate these events from hal from when we get GPS_STATUS_ENGINE_ON
and GPS_STATUS_ENGINE_OFF

Change-Id: I9d220bef7ee4f989a3982d888ed46279861f612d
CRs-fixed: 370904
2012-09-10 16:58:40 -07:00
Dante Russo
d3b220c611 gps: fix SSR issue
If service list check fails initially while the modem
is not up yet, the rc is not updated after client gets
signaled that the modem is now up.

Change-Id: I5fe05ddad7764874eda45521e9394bfbee0eb85f
CRs-fixed: 385158
2012-09-07 15:13:43 -07:00
Linux Build Service Account
0d9f485c56 Merge "build: Include path to TARGET_OUT_HEADERS in LOCAL_C_INCLUDES" into jb 2012-09-02 11:04:47 -07:00
Linux Build Service Account
5a1211b42f Merge "loc_api: Send position technology mask to ulp" into jb 2012-08-26 04:32:23 -07:00
Neethu Joseph
7ce61c42e2 loc_api: Send position technology mask to ulp
Sends the technology mask of the position report to ulp and blocks
the injected wifi fix from getting reported as final

Change-Id: I3a9b390d3d6d9be1a913731d6e8d8ee1d3ced686
2012-08-21 09:38:26 -07:00
Nagender Telkar
b1595d72cb build: Include path to TARGET_OUT_HEADERS in LOCAL_C_INCLUDES
Change-Id: I5cd48e37ef747a021329f8d166320ee88ef2fd3e
2012-08-18 21:48:19 -07:00
Dante Russo
72e3b852de loc_api_v02: Initialize the QMI notifier before looking for service
Looking for a service results in opening and closing the IPC Router
socket. This in turn involves IPC Router to trigger loading & unloading
the modem. Sometimes this causes the race condition between modem unload
and modem coming out of reset.

CRs-fixed: 384906
Change-Id: I61767d3eeab5867f64f94c5d4cdee4272de2dc44
2012-08-15 15:54:24 -07:00
Dante Russo
cd9e934abe gps: merge ics tip into jb
Merges the following change lists:
Ibdd65ec497ad6996c5d55ca907a995ed63b797cf
I75266b7102f8cd06db7b9bf038ee24c0dfbed822
I398704add524a807ddc088dfd28520dad7668784

Change-Id: I29275e65fc98568625eded942587c87b4ac8d1b9
2012-08-08 14:33:55 -07:00
Dante Russo
3088fe9117 gps: jb porting with qcom enhanced features
based from AU_LINUX_ANDROID_ICS.04.00.04.00.205

Change-Id: I0af1da1438a136e98b59110641ce5c7714da220b
2012-07-18 15:13:16 -07:00
Dante Russo
3c2630ef2a gps: initial merge to jb
based from AU_LINUX_ANDROID_ICS.04.00.01.00.007
with qcom enhanced features flagged out

Change-Id: I2bc03fe4447047fd7c9a7d000040dadb8bb34647
2012-07-12 21:58:21 -07:00
Ajay Dudani
f77c85bb51 gps: Initial implementation of msm gps hal
Change-Id: Icf126a0bbb9dec414144b9b405694e41777920d5
2012-07-09 15:43:56 -07:00