Commit graph

314 commits

Author SHA1 Message Date
Harikrishnan Hariharan
1de8a18031 Reinitialize dataservice client post SSR
On SSR invoke dsi_release() and dsi_init(Mode_SSR) to recover
data call functionality post SSR.

Change-Id: Ie784dad73ae8d6d91cf4cb87efe938af9015a7a2
CRs-Fixed: 1073101
2016-11-03 01:45:29 -07:00
Naresh Munagala
dcd5af2915 NMEA report indication to ULP
Enabled NMEA report indication to to ulp

Change-Id: Ia27fe0d805f53bf17c86f7c27eaaedd960101370
CRs-Fixed: 1055201
2016-09-21 10:28:28 +05:30
Harikrishnan Hariharan
0ac11fcd84 GTP WWAN should work even if MSA/MSB is not enabled
GTP WWAN should work even if MSA/MSB is not enabled in
capabilities. Removing wifi_nif we don't need it any
more.

Change-Id: I6736e5f4320d4c35bc5bbb8272b45e14f66988c3
CRs-Fixed: 1067691
2016-09-16 21:23:41 -07:00
Harikrishnan Hariharan
3493ce50e4 Fix race condition when GPS app is closed around an SSR event
Fix race condition to get avoid stuck in modem if GPS application
is closed right around a SSR event.This fix will prevent resume the
session once HAL loc_stop has been called.

Change-Id: I4e5c3f09c097b835d8a685a8b465eb86dd06cd7a
CRs-Fixed: 1058559
2016-08-30 05:32:50 -07:00
Linux Build Service Account
81d0cbb94d Merge "Generate GAL NMEA sentences at AP side" 2016-08-26 13:55:06 -07:00
Baili Feng
b707704985 Generate GAL NMEA sentences at AP side
Generate GAGSV sentence at AP side when
NMEA Provider is set to AP in gps.conf

Change-Id: I2cd436d61bab09386aaa813e85591e02f560b41e
CRs-fixed: 1051996
2016-08-25 14:22:28 +08:00
Linux Build Service Account
07440a9459 Merge "deprecate legacy NTP time download" 2016-08-12 01:41:48 -07:00
Linux Build Service Account
6b75bdb230 Merge "Add field for location clients to chose position sharing option" 2016-08-09 09:00:52 -07:00
Ruifeng Xu
a8fcfc76fd deprecate legacy NTP time download
deprecate boot up NTP time download
in legacy XTRA downloader

Change-Id: Ib7efe6b3c68677d60cdcc4efebfc04c4db39de32
CRs-fixed: 1034009
2016-08-08 16:37:38 -07:00
Baili Feng
f58ae31d1b Remove deprecated api LocEngExtPowerConfig
LocEngExtPowerConfig is no longer necessary.
Remove it from libloc_eng.

CRs-fixed: 1047042
Change-Id: I4a053e13a571f4a373899559d82e144f9bc82582
2016-08-04 10:40:00 +08:00
Mike Cailean
4dd7e1c561 Fixed SSR issue for GNSS Measurements
Fixed SSR (sub-system reset) issue when
GNSS Measurements where not available
after an SSR.

Change-Id: Ie9ecc851fe53814f4a3e386b503b61bbca9d156d
CRs-fixed: 1036070
2016-07-25 10:13:02 -07:00
Hema Iyer Sankaranarayanan
0ac496f962 Add field for location clients to chose position sharing option
Add new configuration for location clients to
specify whether position reports can be shared
with other existing clients

Change-Id: I44ade2e48124f992a04956ed8c34218e73face81
Crs-Fixed: 1038783
2016-07-12 13:40:41 -07:00
Bhavna Sharma
8e217e229d Merge remote-tracking branch 'quic/location.lnx.1.0-dev.1.0'
into location.lnx.2.0-dev

CRs-Fixed: 1038354

Change-Id: I87b3a7f33a0bb48783554bf5ecb0140695e40c9d
2016-07-08 12:04:07 -07:00
Kevin Tang
54794a45e6 AGPS config inject can be configured out
a parameter can be added to gps.conf so as to prevent carrier
dependent AGPS configs to be injected to modem. This is mainly
for test purposes.

Change-Id: Ia053bf523329fe7c1abf0696b9bffcc6a7d56a53
CRs-Fixed: 998059
2016-06-30 20:21:50 -07:00
Linux Build Service Account
17e8653d96 Merge "LPPe feature support." 2016-06-21 00:41:28 -07:00
Linux Build Service Account
023ea00a29 Merge "Enable/disable PDN for emergency SUPL at runtime" 2016-06-21 00:41:22 -07:00
Kevin Tang
5ceb69dc42 Enable/disable PDN for emergency SUPL at runtime
This feature makes AGPS enable/disable PDN for
emergency SUPL according to new setting in
gps.conf when SIM is replaced at runtime

Change-Id: Idbc086b938ded02ba702ea080ded69e9b4761e46
CRs-fixed: 1026702
2016-06-20 10:37:36 -07:00
Bhavna Sharma
310aa84028 LPPe feature support.
Add two new configuration parameters for LPPe, one
to configure technologies for LPPe in Control-Plane and one
to configure technologies for LPPe in User-Plane

Crs-Fixed: 974312

Change-Id: If664a6dc90a993171ca1221f074ecc1ecd06a106
2016-06-15 15:33:22 -07:00
Kevin Tang
2fc8de7ad4 making SUPL ES run time configurable
SUPL ES gets updated as part of the sim specific
AGPS config hot swap update. We keep that lastest
SUPL ES and send that as part of the NI request,
to let NI handler to know the config status.

Change-Id: I566725d5db9b3abdbd9a423b86c10b819217f4f6
CRs-Fixed: 1024879
2016-06-14 16:27:28 -07:00
Ruifeng Xu
0aa6e3aee9 multiple XTRA downloaders could be triggered on boot up
Disable loc xtra apis to allow only one XTRA downloader
when other XTRA downloader is enabled.

Change-Id: I0183608f801cdc6a7d7db730d5d633e556c95386
CRs-fixed: 1022064
2016-06-13 12:05:33 -07:00
Harikrishnan Hariharan
93e8cad4f2 Fix GPS related KW P1 issues for MDM9x50.
Fix following GPS related KW P1 issues
for MDM9x50 - 16806885,16806886,16806887,
16806888.

Change-Id: I1f26fee30d7179883a48c3d067b4c90562e9e914
CRs-Fixed: 1025194
2016-06-08 00:29:38 -07:00
Naresh Munagala
aa8a474a74 Remove target specific logic for DR Fix
Automotove changes needs LE specific fixes
which is enabled by adding appropriate Makefiles

Change-Id: If814af411dd1c67d7a83b07f45813d57d5f96ca9
CRs-Fixed: 1017254
2016-06-02 05:49:43 -07:00
Madhanraj Chelladurai
4c2156ec8a Merge branch 'quic/LA.AF.1.2.1' into location.lnx.1.0-dev
merge automotive specific changes from LA.AF.1.2.1 into
location development branch

Change-Id: I90a5e60c46bb5b1aafaf4cd9aaf2dcb79449f288
CRs-Fixed: 1017254
2016-06-02 15:33:03 +05:30
Linux Build Service Account
e090bfde99 Merge "Move local gps/sap configuration to Context" into location.lnx.2.0-dev 2016-05-28 23:37:56 -07:00
Dante Russo
183e295b9b Move local gps/sap configuration to Context
gps/sap configuration is moved from a global
variable in loc eng to a static in ContextBase,
so that it is more accessible without having to
link with loc eng for access.

CRs-fixed: 1012772

Change-Id: I74bf456b44fab3a2db016ef4c4b4b3a2b8cde1b2
2016-05-27 15:56:43 -07:00
Harikrishnan Hariharan
05f58605e1 Return the correct length of nmea sentence.
Return the correct length of nmea sentence in the
function loc_eng_nmea_put_checksum(). The correct
length is length of NMEA string including ‘$’
character alongwith length of checksum.

Change-Id: I45a086190008df79a93b9386bc69d9c50e47c93b
CRs-Fixed: 1020044
2016-05-25 13:20:32 +05:30
Vamana Murthi
35877af173 Merge remote-tracking branch 'origin/location.lnx.1.0-rel.1.0' into HEAD
git merge upto CRT tag location.lnx.1.0-00036 to private_n_location.lnx

Change-Id: I922daaa9a8c2745095ec9d425192d3649657e76c
CRs-Fixed: 1015000
2016-05-12 18:11:31 -07:00
Linux Build Service Account
7bf29855bf Merge "XTRA Client 2.0" 2016-04-29 15:19:56 -07:00
Linux Build Service Account
83144d0f32 Merge "Use QMI_LOC_SET_NMEA_TYPES to set the NMEA sentences required." into location.lnx.1.0-dev.1.0 2016-04-29 14:38:14 -07:00
Harikrishnan Hariharan
2d9840bcee Use QMI_LOC_SET_NMEA_TYPES to set the NMEA
sentences required.

If NMEA_PROVIDER=1, HLOS needs to use the QMI type
QMI_LOC_SET_NMEA_TYPES to set the type of NMEA
sentences it needs. This will register for all
possible NMEA sentences and instructs modem to
send whatever it supports.

Change-Id: I3a9e2219c1c9b4ca127a4b55f71b0a78a84cdd11
CRs-Fixed: 1005413 1006831
2016-04-29 23:13:33 +05:30
Dante Russo
04e6ca93b9 Default apn ip type to ipv4
If a apn ip type is not found for a agps
data connection, default to using ipv4
instead of invalid.

CRs-fixed: 1007417

Change-Id: Icc71de1fab3fd5967901c39a5c11eaea17b7766c
2016-04-26 16:31:16 -07:00
Kevin Tang
f97a97d0d1 fixed a copy paste error
should NULL check set_system_info_cb instead.

Change-Id: If3a4f4bdb3025d92c1fcd2af320fd370d51301aa
2016-04-16 23:41:45 -07:00
Ruifeng Xu
d4c4fbf56b XTRA Client 2.0
This project implemented XTRA "Enhancements" grouped as XTRA Client 2.0.
1. Added NTP_SERVER config into gps.conf
2. Removed XTRA Client 2.0 Phase 1 code changes
3. Disabled public api to delete aiding data in user build

CRs-fixed: 917950
Change-Id: I18b31da74c9fe0c24d0ced3770f099197ad32d9a
2016-04-15 16:10:34 -07:00
Mike Cailean
c3a4fba9b8 Support GnssMeasurement
Support the new GnssMeasurement and GnssClock
data structures for the new gps.h

Change-Id: I40e00711501432760c82d27fb82702b1bf57ebb6
2016-04-14 12:45:53 -07:00
Dante Russo
d30694acf6 Rename GnssSvStatus to QtiGnssSvStatus
Change-Id: Ieeeb03af37440214f4762d495d949b4ab59ed237
2016-04-14 12:28:28 -07:00
Naresh Munagala
8f54f693ee Fix LA compilation issues after merge
Fixed compilation issues for LA after merging
oe_master with location.lnx.1.0-dev.1.0.

Change-Id: I7940429c369249ab9aa636fe9850c1281cf2dc01
CRs-Fixed: 995520
2016-04-06 09:48:43 -07:00
Naresh Munagala
70326c9146 Merge branch 'oe_master' into location.lnx-1
Change-Id: I08afb24e8b909ac173a14d741458df2ee023d960
CRs-Fixed: 995520
2016-03-28 14:51:47 +05:30
Deven Patel
285d395703 Revert "Revert "Fix compilation issues for m_master merge into oe_master"."
This reverts commit fa7a874eb0

Change-Id: Id2415d80fa3cbdc124e0a3bdd2722db7f233ad53
2016-03-15 12:20:25 -07:00
Deven Patel
a376de4826 Revert "Revert "Merging m_master changes to oe_master"."
This reverts commit a29688ff34

Change-Id: Iab525a58ddb6a00e119afe19f4f51b07b7f428f2
2016-03-15 12:20:01 -07:00
Deven Patel
a29688ff34 Revert "Merging m_master changes to oe_master".
This reverts commit 1aeb6bad84

Change-Id: Iec0a96e7cdfe55ef5836c92a2ae1cce407f6cd5e
2016-03-07 10:55:20 -08:00
Deven Patel
fa7a874eb0 Revert "Fix compilation issues for m_master merge into oe_master".
This reverts commit ecb67363ee

Change-Id: I7b540247b246ea4caf710247d2c58b55515dae7c
2016-03-07 10:52:46 -08:00
Saurabh Srivastava
e83eaa3a9a Adding a new NMEA sentence : $GNGSA.
Currently only $GPGSA was being generated for GPS satellites.
This change adds $GNGSA for GLONASS satellites as well.

Change-Id: I7ab0e92c7ed4ce73be11909eefe0d570a1a0fc1e
CRs-Fixed: 978745
2016-03-04 03:52:32 -08:00
Saurabh Srivastava
1a2040c1fe Adding a new NMEA sentence : $GNGSA.
Currently only $GPGSA was being generated for GPS satellites.
This change adds $GNGSA for GLONASS satellites as well.

Change-Id: I7ab0e92c7ed4ce73be11909eefe0d570a1a0fc1e
CRs-Fixed: 978745
2016-03-04 15:12:35 +05:30
Kevin Tang
59af75a225 fixes SUPL_MODE
carrier specific SUPL_MODE is not updated upon sim card insert.
gpc_conf must be updated with the new value for config to be
updated.

Change-Id: I2a5f10fa7d27be9253e9ca6f34c0c886285d1b11
CRs-Fixed: 953942
2016-02-22 14:57:09 -08:00
Dante Russo
41961e47d5 Remove unneeded nmea_cb print
The nmea_cb print can cause excess logging

Change-Id: Ifb9bfe9b3afff224fd3cfe6ec718f3c3cbe45987
CRs-fixed: 974592
2016-02-10 16:34:24 -08:00
Kevin Tang
ecb67363ee Fix compilation issues for m_master merge into oe_master
Fixed compilation issues for M upgrade

Change-Id: I602aa7c8a2db9682a1fe94b7ca892027281deec7
2016-02-04 10:06:28 -08:00
Kevin Tang
1aeb6bad84 Merging m_master changes to oe_master
Merging LA m_master changes to oe_master

merge head - 89f41a9b16

Change-Id: I9010487f1d6f3d2e30a568b441bc5f9b719a0fb1
2016-02-04 10:03:40 -08:00
Kevin Tang
89f41a9b16 Sub milli sec part in the relevant NMEA Strings
NMEA Strings should introduce the sub milli sec part in the
relevant NMEA Strings for NHZ Sessions

Change-Id: I9bac4caa26e87741e5e82e16a8047af20ac8012b
CRs-Fixed: 951144
2016-01-30 06:56:14 -08:00
Linux Build Service Account
23bfc84541 Merge "Sub milli sec part in the relevant NMEA Strings" into location.lnx.1.0-dev.1.0 2016-01-14 17:36:30 -08:00
Ruifeng Xu
9b9d777c63 encode field separator characters
Replace all separator characters ('/','+','|','%') in the raw string
by their corresponding encodings (%2F","%2B","%7C", "%25")

Change-Id: I3c895adc2ce1cef36032a25e3c6fd63e70350607
CRs-fixed: 881265
2016-01-14 08:24:09 -08:00