Commit graph

4554 commits

Author SHA1 Message Date
Linux Build Service Account
6f3a9ac910 Merge "Send status report msg through ULP" 2013-10-28 07:15:09 -07:00
Linux Build Service Account
43b17ee404 Merge "Check mAgpsEnabled for data call" 2013-10-27 11:01:19 -07:00
Linux Build Service Account
c12010fdf0 Merge "enhance ulp handshake" 2013-10-27 11:01:14 -07:00
Linux Build Service Account
0561631818 Merge "Send status report msg through ULP" 2013-10-24 21:38:13 -07:00
Valeri Atamaniouk
3b4d23e9cc apq8084: qca1530 configuration handling is added.
Provide function for qca1530 detection. Rename 'get_target' to
'loc_get_target'. Fix loc_get_target state detection to avoid double
detection. Fix few minor code defects.

Change-Id: I3daaff99598771742572aab407475474fad41e93
2013-10-25 06:47:17 +03:00
Linux Build Service Account
54012b3e1b Merge "Check mAgpsEnabled for data call" 2013-10-24 18:06:21 -07:00
Tushar Janefalkar
41d3c44644 Send status report msg through ULP
In order to preserve the ordering of
position reports and status reports from
the GPS engine, status reports are sent
through the ULP too

CRS-Fixed: 538143

Change-Id: I41be2121493c6a0b35a5726fd546eb0fa5e9b20c
2013-10-24 16:42:32 -07:00
Tushar Janefalkar
412275d48c Check mAgpsEnabled for data call
Check AGPS flag to ensure the request
is handled by the right adapter

Change-Id: I6fb7271ec0be5aec14e9d667c07e5b01b1736c1d
CRs-fixed: 551808
2013-10-23 11:06:48 -07:00
Tushar Janefalkar
82159c5002 Check mAgpsEnabled for data call
Check AGPS flag to ensure the request
is handled by the right adapter

Change-Id: I6fb7271ec0be5aec14e9d667c07e5b01b1736c1d
CRs-fixed: 551808
2013-10-23 10:58:06 -07:00
Linux Build Service Account
5ef02d7c6d Merge "enhance ulp handshake" 2013-10-21 23:55:46 -07:00
Linux Build Service Account
e585cc23fe Merge "Null check for malloc allocation" 2013-10-21 18:36:34 -07:00
Kevin Tang
351cb70668 enhance ulp handshake
send ULP the position mode if it is valid when ULP handle
is first received. This helps handling a race condition
where ULP handshake happens when a GPS session is about
to happen or already happening.

Change-Id: I029e5c3bbb9d8e89b220ca44e9704b5a1d1451ff
CRs-Fixed: 554340
2013-10-21 17:41:55 -07:00
Kevin Tang
7546fd88b9 enhance ulp handshake
send ULP the position mode if it is valid when ULP handle
is first received. This helps handling a race condition
where ULP handshake happens when a GPS session is about
to happen or already happening.

Change-Id: I029e5c3bbb9d8e89b220ca44e9704b5a1d1451ff
CRs-Fixed: 554340
2013-10-21 13:36:28 -07:00
Linux Build Service Account
1f94c20487 Merge "Null check for malloc allocation" 2013-10-20 00:13:23 -07:00
Linux Build Service Account
c57d41e9db Merge "Changes to add new bit mask to support wifi ap info injection" 2013-10-17 20:21:17 -07:00
Tushar Janefalkar
efdc209caf Null check for malloc allocation
Add NULL check after memory allocation

Change-Id: Id5dc6d2e5b13aa7979067ab22963df96b32e49c5
CRs-fixed: 561182
2013-10-16 16:54:06 -07:00
hsankara
7d6ed07fad Changes to add new bit mask to support wifi ap info injection
Changes to add a new bit mask for supporting wifi ap info injection
to modem

Change-Id: I7b94fcdbb9cda7996af73811636e270da7f8df7e
2013-10-16 10:46:24 -07:00
Linux Build Service Account
db74b5e449 Merge "Changes for liblbs_core" 2013-10-07 05:40:39 -07:00
Linux Build Service Account
883cf34d05 Merge "Add LocApi to get Zpp fix." 2013-10-05 00:14:09 -07:00
Linux Build Service Account
a2c9e282b2 Merge "Correct print for xtra server urls." 2013-10-05 00:12:45 -07:00
Kevin Tang
dc020ef751 Correct print for xtra server urls.
The offset calculation on the 2nd and 3rd server urls
were wrong. The are off by 1 and 2 bytes respectively.

Change-Id: Iab9da5dbd2b0c779e18a6fe4615ad7e705800654
2013-10-04 19:01:15 -07:00
Kevin Tang
c7b006cecc Correct print for xtra server urls.
The offset calculation on the 2nd and 3rd server urls
were wrong. The are off by 1 and 2 bytes respectively.

Change-Id: Iab9da5dbd2b0c779e18a6fe4615ad7e705800654
2013-10-04 18:59:00 -07:00
Tushar Janefalkar
e0e4cde06b Send status report msg through ULP
In order to preserve the ordering of
position reports and status reports from
the GPS engine, status reports are sent
through the ULP too

CRS-Fixed: 538143

Change-Id: I41be2121493c6a0b35a5726fd546eb0fa5e9b20c
2013-10-04 10:51:55 -07:00
Linux Build Service Account
49c1805764 Merge "Changes for liblbs_core" 2013-10-02 10:52:47 -07:00
Tushar Janefalkar
969604adfd Changes for liblbs_core
Added new module liblbs_core to make
LocApiV02 independent of pre-built binaries.
This patch provies the necessary changes to
support the new module
CRs-fixed: 538124

Change-Id: I716cf169de9dae164a141651af971793099a927d
2013-09-27 08:49:24 -07:00
Linux Build Service Account
cf6ce2b51d Merge "Add check for mAgpsEnabled" 2013-09-26 09:31:58 -07:00
Linux Build Service Account
9db35ba756 Merge "Add check for mAgpsEnabled" 2013-09-25 19:54:46 -07:00
Tushar Janefalkar
4dbc22bd57 Changes for liblbs_core
Added new module liblbs_core to make
LocApiV02 independent of pre-built binaries.
This patch provies the necessary changes to
support the new module
CRs-fixed: 538124

Change-Id: I716cf169de9dae164a141651af971793099a927d
2013-09-25 11:08:29 -07:00
Tushar Janefalkar
c66c2fc5f6 Add check for mAgpsEnabled
requestSuplES did not have
the check for mAgpsEnabled

Change-Id: I314fe6bc933e5201e1ac6c6632ee3b53240955b1
CRs-fixed: 543639
2013-09-23 16:57:18 -07:00
Tushar Janefalkar
eb726cbd2e Add check for mAgpsEnabled
requestSuplES did not have
the check for mAgpsEnabled

Change-Id: I314fe6bc933e5201e1ac6c6632ee3b53240955b1
CRs-fixed: 543639
2013-09-23 16:56:04 -07:00
Kevin Tang
2daacc4905 Add LocApi to get Zpp fix.
Added get zpp fix API so that different other features can
make use of this feature in the AP space.

Change-Id: I32e750626704c5d0069723ee1ca949fda4a5505e
2013-09-20 12:00:09 -07:00
Linux Build Service Account
7b0be28423 Merge "Add LocApi to get Zpp fix." 2013-09-18 02:37:49 -07:00
Kevin Tang
81c423125c Add LocApi to get Zpp fix.
Added get zpp fix API so that different other features can
make use of this feature in the AP space.

Change-Id: I32e750626704c5d0069723ee1ca949fda4a5505e
2013-09-17 10:47:44 -07:00
Linux Build Service Account
b70967945d Merge "Fix ATL handling" 2013-09-13 12:41:35 -07:00
Dante Russo
73573ef752 Fix ATL handling
Always register for ATL events reguardless of hw target
or MSA/MSB capabilities. For APQ target, do not handle
certain types of ATL events that it doen't support.
For APQ target, use only position mode of Standalone.

CRs-fixed: 533932
Change-Id: Icd626e3e7155d5c2ba871a343430e441924ce93c
2013-09-12 09:33:03 -07:00
Linux Build Service Account
e6ded1777c Merge "Missing check to build inside libloc_core" 2013-09-11 21:59:14 -07:00
Dante Russo
311e38bcfe Missing check to build inside libloc_core
BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE needs to be
checked inside all gps hal module makefiles.
libloc_core was missing this check.

Change-Id: Ica508bcd2dc0747e354f43d7d87af5b2b06d1437
2013-09-11 15:15:34 -07:00
Linux Build Service Account
ba4766e448 Merge "Fix ATL handling" 2013-09-11 02:45:03 -07:00
Dante Russo
530086a52d Fix ATL handling
Always register for ATL events reguardless of hw target
or MSA/MSB capabilities. For APQ target, do not handle
certain types of ATL events that it doen't support.
For APQ target, use only position mode of Standalone.

CRs-fixed: 533932
Change-Id: Icd626e3e7155d5c2ba871a343430e441924ce93c
2013-09-10 15:57:08 -07:00
Linux Build Service Account
8946fedf67 Merge "Fixes a bug in the reporting for MSA sessions" 2013-09-09 23:13:11 -07:00
Satheesh Jayakumar
b7b7fb9230 Fixes a bug in the reporting for MSA sessions
Changes to ensure that positions reported with TECH_MASK_HYBRID
are also updated to the location clients.
CRs-Fixed: 537773

Change-Id: I09c7d440369d8fc37abd069fbefc2c7e23414ab1
2013-09-09 16:45:35 -07:00
Linux Build Service Account
3453226028 Merge "Bug fixed in AGPS checks" 2013-09-06 11:09:06 -07:00
Linux Build Service Account
5e3119dca0 Merge "Adding check of on_demand_time for inject time" 2013-09-05 22:12:11 -07:00
Linux Build Service Account
a7e56b7346 Merge "Avoid multiple xtra download after booting" 2013-09-05 22:11:28 -07:00
Linux Build Service Account
2bd4f4e7f5 Merge "Small fixes to conditionally launch the BIT Interface thread" 2013-09-05 22:11:15 -07:00
Jiafei Wen
9f6259f0bc Avoid multiple xtra download after booting
To avoid multiple xtra data auto-downloading, the change
delete the 3 xtra URL in gps.conf used by
GpsLocationProvider. Meanwhile, GPS HAL become to
allow GLP send Xtra data to modem.

CRs: 537744

Change-Id: I27f3122f4ecd1d4da4323e9c59bd0358f3d635f2
2013-09-05 11:15:54 -07:00
Tushar Janefalkar
a75c8b33d5 Bug fixed in AGPS checks
Fixed conditional check from
MSA|MSA to MSA|MSB. Bug was
introduced in commit 782431a
CRs-Fixed: 533849

Change-Id: I7931563e08c5c875b49cc9ada2969a34373a2890
2013-09-05 09:39:49 -07:00
Satheesh Jayakumar
ef7a8694d7 Small fixes to conditionally launch the BIT Interface thread
Changes to launch the BIT service request handler thread only if
AggpsExt is present. Small formatting fixes for pritining the IP
address.

Change-Id: Iaf3b9bd6d967ba35b04b591750784c5f221ee539
2013-09-04 09:29:10 -07:00
Jiafei Wen
50fa10247a Adding check of on_demand_time for inject time
Before injecting time, check the gps ON_DEMAND_TIME
capability. if it is disabled, it will not sent time
inject command.

Change-Id: Ie51cf1f65e086bdb49d6159051c3d66700b25d78
2013-09-03 11:31:24 -07:00
Linux Build Service Account
82a61b65d6 Merge "Fixes a bug in sessionCheck() for all adapters" 2013-08-30 13:11:13 -07:00