Commit graph

34 commits

Author SHA1 Message Date
Mike Cailean
88688a85a3 SUPL connection enhancements
Adding enhancement to ATL messages to allow
sending bearer type and apn type mask values.

CRs-fixed: 2206014

Change-Id: I28f6583d842e82c9e26d40be55312f8aaf01193e
2018-06-11 14:13:04 -07:00
Kevin Tang
8cc52b448c changes to work without ULP module
Rework the module with ULP module being removed

Change-Id: I5ac81e8c1c734352b3087545b83f4812fa3e8aff
CRs-fixed: 2235309
2018-06-07 12:04:42 -07:00
Saurabh Srivastava
98edc19bea FR 48850 - Device based hybrid ODCPI
Adding support for sending ODCPI request
to framework via IGnss interface.

Change-Id: I97ab4f00505705fedc266998602499fd344baf31
CRs-Fixed: 2217664
2018-06-03 22:43:58 +05:30
Saurabh Srivastava
66c682f7d9 FR 45623 - AGPM 1.0
Adding AGPM FR changes to add power
modes support.

CRs-Fixed: 2195518
Change-Id: Ifd1da6194b58ad5590ea755e3f6b237c4b4db2ad
2018-06-02 23:48:20 -07:00
Saurabh Srivastava
eaf7e54b54 FR 45651 - GNSS SV/Constellation Control
Adding support for configuring GNSS SVs
and constellations to be used.

Change-Id: I47d5cd9d08ac9aaf633be2fe3b1bd152a2f4293b
CRs-Fixed: 2184871
2018-06-03 12:15:34 +05:30
Saurabh Srivastava
d462c0add3 FR 46082 - SUPL Network Setup Improvements
Adding enhancement to ATL messages to allow
sending bearer type and apn type mask values.

CRs-Fixed: 2209227
Change-Id: I09a294946610f26de4760a0fba6f13083f8752f3
2018-05-29 04:28:47 -07:00
Bhavna Sharma
f6b613a827 Addition of new LocApi thread
1. LocApiBase to create its own MsgTask thread to allow QMI calls
to be made asynchronously. It shall no longer share the adapter's thread.
2. Implementation of new LocApiResponse classes for generic response type
from LocApi layer to Adapter layers
3. GnssAdapter modified to handle the asynchronous nature of LocApi calls.

CRs-Fixed: 2218658

Change-Id: I6e401a89f16791ec144763ac5f070b7ee1dad931
2018-04-27 10:39:21 -07:00
Bhavna Sharma
e5c31f33c1 GPS Adapter: GNSS adapter change to go with engine hub aggregator
1: GNSS adapter change to block out position and SV report from
ULP when engine hub aggregator is used
2: Support unpropagated position report

Change-Id: Id0cacd87d3f3f8eec893d751b9f7a55a736a4023
CRs-fixed: 2210253
2018-04-12 13:24:57 -07:00
Kevin Tang
b47eea6b23 GPS GNSS adapter: connectivity support for engine hub
(1) allow engine hub to be able to receive connectivity
status update
(2) fix kw warning in LocIpc.h

Change-Id: I62ac534639003051a8992c143ff273d5ff66ee5a
CRs-fixed: 2198446
2018-03-07 10:19:24 -08:00
Yingjie Wang
af34b8d1ac Enhance LocationAPI structs to hold full position
Match the output of izat_remote_api clients with LocationAPI clients.
Fill GnssLocationInfoNotification with missing fields from
GpsLocationExtended and Location structure. And allow one single
callback to report complete position info. Meanwhile, remove fields
from UlpLocation that are no longer used.

CRs-fixed: 2169738
Change-Id: Ib5bd3dd9c065c4b3d6cad32b23167546ad950d06
2018-02-14 13:33:57 +08:00
Bhavna Sharma
5b2f224349 GPS: integrate GNSS engine hub with Gnss Adapter
Integrate GNSS engine hub with Gnss Adapter using dynamically
loadable .so file.

Change-Id: I0420a17628db96447c01b8821e54782f7d992aec
CRs-fixed: 2165862
2018-02-01 22:11:32 -08:00
Ruifeng Xu
35804b9131 new apis for control xtra throttle
added register and unregister apis of a callback
that listens to XTRA client throttle enablement commands.

Change-Id: Id50e7311516593018113203b5dfa700f0fdc037b
CRs-fixed: 2092629
2017-10-05 12:41:27 -07:00
Bhavna Sharma
39526894cf AGPS Init must complete in one message call
If AGPS initialization is split across multiple
messages on the msgTask, it causes other other
commands to seep in before the initialization can complete.
To avoid this the initialization must be completed in one message.
Also includes some cleanup on AGPS initializations.

CRs-Fixed: 2111399

Change-Id: Id61ceeb12d5781764b42ff9d1868884537ca8d90
2017-09-28 10:11:08 -07:00
Linux Build Service Account
1f8b3587f2 Merge "Set SUPL_HOST to modem on GnssAdapter init." 2017-09-22 18:37:26 -07:00
Harikrishnan Hariharan
0ebaba253f Set SUPL_HOST to modem on GnssAdapter init.
On init of GnssAdapter, SUPL_HOST and SUPL_PORT are set to
modem if the configs are set in gps.conf.

Change-Id: I079879adf31022cfbf0098da8dba3bb86feed069
CRs-Fixed: 2110547
2017-09-20 00:31:51 -07:00
Baili Feng
f69296ba9e Init default agps status callback in GnssAdapter
Call LocNetIfaceAgps_getStatusCb implemented in libloc_net_iface.so,
use the return function as default agps status callback.

Change-Id: I4d966a888e312c2d0fb1a6c9e30752294876e500
CRs-Fixed: 2064002
2017-09-12 14:16:28 +08:00
Linux Build Service Account
099f9405b1 Merge "Integrate XtraSysStatObs with SystemStatusObserver" 2017-09-07 20:35:04 -07:00
Harikrishnan Hariharan
ff8b31761c Integrate XtraSysStatObs with SystemStatusObserver
Use SystemStatusObserver to subscribe for dataitems in
XtraSystemStatusObserver.

Change-Id: Ib1828b9025c9c5bb5194a36014249472ed3f6f9e
CRs-Fixed: 2093290
2017-09-07 11:05:15 -07:00
Linux Build Service Account
094e07f5a9 Merge "Check status before decide report position or not" 2017-09-07 00:32:25 -07:00
Baili Feng
e0f49cdede Check status before decide report position or not
Check if inaccuracy exceeds our tolerance
only when status is LOC_POS_TECH_MASK_SATELLITE

Change-Id: If45f2d8f5347f5b8a7df944dfa5b8071f6c2380a
CRs-Fixed: 2104827
2017-09-06 11:26:27 +08:00
Yingjie Wang
cd3027e3a6 Filter the configs sent to modem on change basis
Filter setServer, setPositionMode and startTracking commands
sent to modem unless change happens and optimize out modem
traffic hence.

Change-Id: I389af9c11784848045d2d3d5d3c799675a4b24be
CRs-Fixed: 2093253
2017-09-01 16:48:32 +08:00
Vamana Murthi
1b6695633f XC 2.5 : additional changes
Add the XTRAsystemstatus observer to
pass the HAL init info to XTRA-Client

CRs-Fixed: 2093274
Change-Id: I893da1470d4fedafbc7545806ea97667acdf60d3
2017-08-15 14:36:57 -07:00
Harikrishnan Hariharan
ee2d6658cb Add DataItemObserver interface in SystemStatus
Add DataItemObserver interface in SystemStatus so
that clients can subscribe dataitem events from
SystemStatus. Also moving DateItem and its observer,
subscription classes into HAL

Simplify DataItem class implementation.

Change-Id: I7b2c3fc9dcf67dd6132bbcccda874e3f7ed6fa94
CRs-Fixed: 2041019 2072896
2017-08-11 13:51:48 -07:00
Kevin Tang
db3101c207 move getAgcInformation and setDefaultReport into GnssAdapter
They are currently in LocApiv02, which is incorrect. SystemStatus
shouldn't be referenced at this layer. And both of these two calls
are specific to GnssAdapter use cases too.

Change-Id: I7098e3963be163199a833a8fb6b12a100405f71e
CRs-Fixed: 2090442
2017-08-11 12:32:34 -07:00
Dante Russo
9ae216a6c0 Update capabilites when suplmode changes
Location capabilities can change when
suplmode is updated, but we need to send
the capabilites callback to all clients
with the new capabilities when suplmode
changes.

Change-Id: Ib7c9b5ef13259fe9305b3efbb03db3433ed26675
CRs-Fixed: 2079414
2017-07-31 15:57:37 -07:00
Katz Yamada
4971373d94 Disable set debug NMEA bit when unsupported
Avoid setting debug NMEA bit of QMI_LOC_SET_
NMEA_TYPES_REQ message when the feature is
unsupported.

Change-Id: I999654f627eac68042597ee51aff81e8588bfa9b
CRs-Fixed: 2072961
2017-07-11 11:18:17 -07:00
Saurabh Srivastava
15830de3b6 Adding priority flag for NI and AGPS callbacks
Adding priority flags while registering NI
handling callback and AGPS handling callback.
To ensure that both NI and AGPS are always
handled by our stack instead of Android
Framework stack.

CRs-Fixed: 2059476
Change-Id: I585328491a7f5d9099287924a03d7710f4e5fda9
2017-06-19 17:54:28 +05:30
Baili Feng
7b1d6ec5aa Update the latest LocationOptions to LocationAPI
Call locAPIUpdateTrackingOptions in gnssSetPositionMode.
Update tracking options should update the tracking
sessions so that the smallest interval options are
set.

Change-Id: I24cefe4fb711a160d0a72ab7592d8e673ea2dd97
CRs-fixed: 2048231
2017-06-08 18:00:13 -07:00
Naresh Munagala
06e6d68aee move nmea generation logic inside utils
NMEA generation logic needs to be reused across the
interface boundaries. Moved this logic inside utils.

Change-Id: Icb5c6fbc38b178c5edea468d26286e21749bfbfb
CRs-Fixed: 1098734
2017-03-29 18:22:08 +08:00
Linux Build Service Account
f9c8471eff Merge "Addition of vertical/speed/bearing accuracy feilds" 2017-03-24 06:31:24 -07:00
Dante Russo
af318504e2 Addition of vertical/speed/bearing accuracy feilds
Fill in the new feilds of vertical/speed/bearing accuracy
into hidl structure

CRs-fixed: 2021399
Change-Id: I409e2559e671e65c307758ee273c64f98f650c11
2017-03-22 17:39:50 -07:00
Katz Yamada
4ff6da4a8a SystemStatus - Add BugReport support
Add BugReport support in SystemStatus. It exposes getReport
interface to GnssDebug via GnssAdapter. GnssDebug generates
Gnss' BugReport information upon a request tiggered by Android
framework.

Change-Id: I681777da10c860ea15ee65b7860a5ce61a7798db
CRs-Fixed: 2016125
2017-03-21 21:42:32 -07:00
Saurabh Srivastava
5fecc1979b Adding ATL call flow to new Loc API interface
Re-designed the ATL call flow, to fit along with
updated Location API.

Change-Id: If22e672d1c233c55b6b52107be7169b3036d9a3e
CRs-fixed: 1112712
2017-02-28 16:59:38 -08:00
Dante Russo
c85c8ff673 LocationAPI implementation
Implementation of LocationAPI into gps hal
to be a common API that is called into by platform
specific APIs.

Change-Id: Ie5a7bd217d4ae2175ad49e6aca2fb6ecd4702f3b
CRs-fixed: 1112712
2017-02-28 16:47:50 -08:00