Commit graph

55 commits

Author SHA1 Message Date
Wei Chen
21b9c4e47e FR48381: Support leap second change event
Support leap second change event
(1) Info will be available in location api and location
    client api
(2) Engine hub aggregator will use the info to calculate
    UTC timestamp

Change-Id: Ie79c1a38301fa094134a4a31af424487758343f6
CRs-fixed: 2289457
2018-10-08 12:26:06 -07:00
Bhavna Sharma
5a8d171181 New additions for Ephemeris and Poly handling
1. Add new data structures to hold the Ephemeris reports.
2. Modifications to SV Poly structure to include delete flags.
3. Add SV_POLY bit to GnssAidingDataSvMask to support
delete commands from modem for poly and ephemeris per constellation.
4. Define LocApiBase and LocAdapter functions to report the
ephemeris content, request for complete valid ephemeris and
Poly content at any time and report delete commands from modem
on Ephemeris and Poly content.

CRs-Fixed: 2301149

Change-Id: If36e87c410c3204c94a6ed7db30f297edba95508
2018-10-02 09:26:43 -07:00
Hoss Zhou
48b4e04af7 support signal ID in NMEA
support GPS L5, GALILEO E5 and BDS B2 in NMEA.

Change-Id: I7302ec8dfabaf28832fc93206f70cd1942f48183
CRs-Fixed: 2307787
2018-09-07 11:10:26 +08:00
Bhavna Sharma
d2980eb906 GpsLocationExtended: Add heading rate support
Add heading rate for DRE engines to report heading rate

Change-Id: I3ea5921a0cac1b0f7efdaabc2e26d58295deda68
CRs-fixed: 2297348
2018-08-22 09:52:44 -07:00
Bhavna Sharma
2124941746 Add support for multiband data
CRs-Fixed: 2289264

Change-Id: I5339870e8be3247b445203dad39e6f8522a64575
2018-08-13 11:18:18 -07:00
Linux Build Service Account
19c10059bc Merge "Added FDCL_2 feature support bit" 2018-07-27 07:45:39 -07:00
Kevin Tang
6a12f3743f Added FDCL_2 feature support bit
Added FDCL_2 feature support bit

Change-Id: Icae2cf89f06f8d1d8d87c8115fe8efce9ccc566a
CRs-Fixed: 2191059
2018-07-25 16:40:28 -07:00
Bhavna Sharma
92e990faf8 Merge remote-tracking branch 'quic/location.lnx.3.0.c5' into
location.lnx.4.0

CRs-Fixed: 2282734

Change-Id: I5911f47d796591474eb19be527499daf758bff03
2018-07-23 13:11:31 -07:00
Bhavna Sharma
2900a1c570 body frame uncertainty parameters in position report
added uncertainty parameters for longAccel, latAccel, vertAccel,
yawRate and pitch.

Change-Id: I804dc0b370dd78402a6641f5a16e5ee7a53ff9a1
CRs-Fixed: 2262454
2018-07-17 14:54:53 -07:00
Bhavna Sharma
27114f21cc Changed to allow only locclient group to access
hal daemon

Move hal daemon socket creation to loc_client directory
Define uid/gid for locclient

CRs-Fixed: 2260194

Change-Id: Icaac885c19cd65b11254bb93b6a938b2d4595761
2018-07-11 16:53:14 -07:00
Linux Build Service Account
021821ce54 Merge "Added optional MO SUPL SLP" 2018-06-29 01:39:07 -07:00
Bhavna Sharma
ee8213f3ce Populate some more fields for end client.
These are the fields populated:

North, East, Up velocity and their uncertainties
North and East standard deviation
Gps Time, Leap Sec and time uncertainty
Gps Measurement usage info

CRs-Fixed: 2249350

Change-Id: I8936b1c47be25fdc792322592f8ea5466a3fa6fd
2018-06-27 13:50:31 -07:00
Mike Cailean
d12b82b4e4 Added optional MO SUPL SLP
Change-Id: I89c3e697b92dfe04d403c073e779906d21cefd69
CRs-fixed: 2259090
2018-06-26 18:31:01 -07:00
Naresh Munagala
02cddf0f26 GNSS hal: propagate position dynamics uncertainty
Support for uncertainty of positition dynamics, including
uncertainty of forward, sideward, upward accelation,
and uncertainty of heading and pitch

Change-Id: I33fbfd0344d4beb7eabaa629b0c0993fe368293b
CRs-fixed: 2263818
2018-06-21 10:44:51 +05:30
Linux Build Service Account
9676e39aa9 Merge "body frame uncertainty parameters in position report" 2018-06-19 09:53:38 -07:00
Bhavna Sharma
dc1e6f6f34 Changed to allow only locclient group to access
hal daemon

Move hal daemon socket creation to loc_client directory
Define uid/gid for locclient

CRs-Fixed: 2260194

Change-Id: Icaac885c19cd65b11254bb93b6a938b2d4595761
2018-06-18 19:20:13 -07:00
Bhavna Sharma
aac86a158a body frame uncertainty parameters in position report
added uncertainty parameters for longAccel, latAccel, vertAccel,
yawRate and pitch.

Change-Id: I804dc0b370dd78402a6641f5a16e5ee7a53ff9a1
CRs-Fixed: 2262454
2018-06-18 09:53:17 -07:00
Mike Cailean
7dfa87b244 Support Multiband feature
Add carrierFrequency to GNSS Measurements
reporting. Also, add AGC level from QMI LOC
message to GNSS measurements (as opposed to
adding it from NMEA debug messages).

CRs-fixed: 2186144

Change-Id: Ia3995ba9e09ef4c68e8922b7570f7af0eb50098a
2018-06-16 11:27:26 -07:00
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
Bhavna Sharma
6c80f04dba Populate some more fields for end client.
These are the fields populated:

North, East, Up velocity and their uncertainties
North and East standard deviation
Gps Time, Leap Sec and time uncertainty
Gps Measurement usage info

CRs-Fixed: 2249350

Change-Id: I8936b1c47be25fdc792322592f8ea5466a3fa6fd
2018-06-08 17:00:17 -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
Dante Russo
a93b10c677 Update location supported feature enum
Update location supported feature enumeration
to match MP (constellation enablement, agpm,
xtra integrity)

Change-Id: I8cad9d8e09ebed3d16a32f63172bc7b3619a8969
CRs-Fixed: 2118920
2018-06-01 10:39:05 -07:00
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
Katz Yamada
e807cc4aa1 fix: Incorrect path to ehub socket directory
Change-Id: I58b41c4a8de8b51c8a6effe989182ea5942cff6e
CRs-Fixed: 2196048
2018-05-04 09:31:28 -07:00
Linux Build Service Account
ded23bec43 Merge "GPS Adapter: GNSS adapter change to go with engine hub aggregator" 2018-05-04 08:46:23 -07:00
Linux Build Service Account
7379adf3e6 Merge "Add location client api sockets' strings" 2018-05-04 02:52:43 -07:00
Katz Yamada
f93ec50a05 fix: Incorrect path to ehub socket directory
Change-Id: I58b41c4a8de8b51c8a6effe989182ea5942cff6e
CRs-Fixed: 2196048
2018-04-25 11:12:15 -07:00
Bhavna Sharma
4c8f4e4e04 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-16 11:43:43 -07:00
Linux Build Service Account
30eb32573c Merge "Add location client api sockets' strings" 2018-04-14 14:31:59 -07:00
Katz Yamada
5ae3b52b9a Add location client api sockets' strings
Add location client api socket path string
definitions in utils/gps_extended_c.h.

CRs-Fixed: 2196048
Change-Id: Ie2eea05dfe440fa3a96b531fa4ba17605ab53431
2018-04-12 15:38:42 -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
Katz Yamada
47fa2c06fa Add location client api sockets' strings
Add location client api socket path string
definitions in utils/gps_extended_c.h.

CRs-Fixed: 2196048
Change-Id: Ie2eea05dfe440fa3a96b531fa4ba17605ab53431
2018-04-04 11:58:08 -07:00
Naresh Munagala
7f9ce9ddd0 Add additional parameters in gps extended file
Change-Id: I667b999dc164184d84aac0c5b6c1f3b2e9c761ea
CRs-Fixed: 2183994
2018-03-27 11:59:37 +05:30
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
Saurabh Srivastava
bb529c50e9 Moving location sockets from /data to /dev
Keeping sockets in /data/vendor/location prevents
unmounting of /data partition after build load.

CRs-Fixed: 2174503
Change-Id: Ib1b9f07bb25368ac7d1a32536e58c52dd2b2ad4e
2018-02-06 00:42:27 -08:00
Dante Russo
65e3760d6d Added FDCL reg mask bit and feature support bit
Also change the reg mask to 64 bit since we now
have more than 32 possible bits.

CRs-fixed: 2129134
Change-Id: I006f5fffac3d9dd2d96ca82d84f49bde96bc0f55
2018-01-09 18:05:42 -08:00
Ruifeng Xu
b0982b4476 add HAL socket
this patch contains the following changes:
1. added header and implemenation files of socket util apis
in libgps.utils; 2. updated XtraSystemStatusObserver to use
the new apis; 3. added HAL socket and new thread to listen to it.

Change-Id: If1f6b4b4d6ea2d03640f68e96f0286300404f42b
CRs-fixed: 2108635
2017-10-05 11:33:37 -07:00
Naresh Munagala
a5c7e2c53d extended gdop parameters in interface files
updated interface files with extended gdop parameters.

Change-Id: Ie31311125e66d26dab4f564be7120fae374b9d2c
CRs-Fixed: 2062856
2017-10-04 22:57:34 -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
Bhavna Sharma
686a5c54b0 Location API for Outdoor Trip Batching
Add / Modify Location API for
Outdoor Trip Batching feature.
Introduce a batch mode to differentiate
between routine and outdoor trip mode.

CRs-Fixed: 2041674

Change-Id: Ia8b2d34457b29c4fe754ab24287a6984ab9a96f5
2017-07-24 09:25:07 -07:00
Linux Build Service Account
619caa5b56 Merge "Disable set debug NMEA bit when unsupported" 2017-07-12 01:57:55 -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
Madhanraj Chelladurai
ea013420db Add QZSS constellation in Gnss_LocSvSystemEnumType
Add QZSS support in Loc SV constellation structure.

Change-Id: I58a989faa8ad4027d9f83fabccd700fa55333ce6
CRs-Fixed: 2053513
2017-07-05 22:25:37 -07:00
Naresh Munagala
f708deaec6 gps time population from GNSS
v2v needs gps time population in izat remote apis

Change-Id: Ibe340a3f834ebe27c552bd1ffe2f20d3b9f50450
CRs-Fixed: 2050993
2017-07-04 21:16:49 -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
Linux Build Service Account
8bf78f55ae Merge "Decouple position inject request from assist data" 2017-06-08 11:31:26 -07:00
Harikrishnan Hariharan
5969d0b2da Provide correct SV used_in_fix flag for QZSS
Mark QZSS SV used_in_fix based on the most recent position report

Change-Id: I166087fb62de45e1013ab29c01df3abfba7af12b
CRs-Fixed: 2043300
2017-05-27 23:41:18 +05:30