OSDN Git Service

android-x86/system-bt.git
7 years agoFix params of SetPeriodicAdvertisingParameters am: 0af739bcb4
Sunny Kapdi [Fri, 2 Jun 2017 01:17:33 +0000 (01:17 +0000)]
Fix params of SetPeriodicAdvertisingParameters am: 0af739bcb4
am: cb4fa74910

Change-Id: Iefa9f772b66513a081008825b47382d8f6907025

7 years agoFix params of SetPeriodicAdvertisingParameters
Sunny Kapdi [Fri, 2 Jun 2017 01:11:17 +0000 (01:11 +0000)]
Fix params of SetPeriodicAdvertisingParameters
am: 0af739bcb4

Change-Id: I9cda61113a2347ff778530cdabc254e14d367f52

7 years agoFix params of SetPeriodicAdvertisingParameters am: a85cb8ea67 am: 426325f728 am:...
Sunny Kapdi [Fri, 2 Jun 2017 00:35:09 +0000 (00:35 +0000)]
Fix params of SetPeriodicAdvertisingParameters am: a85cb8ea67 am: 426325f728 am: aa563f712e
am: ff65e5c7aa

Change-Id: I219ca26ccc088409127d9ffaa3cfab35aed9fce1

7 years agoFix params of SetPeriodicAdvertisingParameters am: a85cb8ea67 am: 426325f728
Sunny Kapdi [Fri, 2 Jun 2017 00:21:42 +0000 (00:21 +0000)]
Fix params of SetPeriodicAdvertisingParameters am: a85cb8ea67 am: 426325f728
am: aa563f712e

Change-Id: Ia3871cc56f482c4c30252b0bbb5d780d58774e9c

7 years agoFix params of SetPeriodicAdvertisingParameters am: a85cb8ea67
Sunny Kapdi [Fri, 2 Jun 2017 00:18:42 +0000 (00:18 +0000)]
Fix params of SetPeriodicAdvertisingParameters am: a85cb8ea67
am: 426325f728

Change-Id: Ia4f5af5a3f337123b872e6e2a94fcb21039cdd44

7 years agoFix params of SetPeriodicAdvertisingParameters
Sunny Kapdi [Fri, 2 Jun 2017 00:16:11 +0000 (00:16 +0000)]
Fix params of SetPeriodicAdvertisingParameters
am: a85cb8ea67

Change-Id: I56a6b3cb07bc22afbe485476ae9bc79b8e68c7a6

7 years agoFix params of SetPeriodicAdvertisingParameters
Sunny Kapdi [Thu, 1 Jun 2017 21:34:03 +0000 (14:34 -0700)]
Fix params of SetPeriodicAdvertisingParameters

Fix the sequence of SetPeriodicAdvertisingParameters
in the hci_cmd

Bug: 62268713
Change-Id: Ibdcd362458e9d7ee2f95106a2aefa76e1c264103

7 years agoMerge "GATT: Fixed typo while notifying connection update" into oc-dev am: 044e4c3de0
Avish Shah [Thu, 1 Jun 2017 22:42:48 +0000 (22:42 +0000)]
Merge "GATT: Fixed typo while notifying connection update" into oc-dev am: 044e4c3de0
am: a95bc5de74

Change-Id: I2fad95e3d2a389edeaf38c1bd09e704523c5b1f8

7 years agoMerge "GATT: Fixed typo while notifying connection update" into oc-dev
Avish Shah [Thu, 1 Jun 2017 22:39:02 +0000 (22:39 +0000)]
Merge "GATT: Fixed typo while notifying connection update" into oc-dev
am: 044e4c3de0

Change-Id: Idfa23fc3b466a57d1514a58ea6b18773a3fcfc49

7 years agoMerge "GATT: Fixed typo while notifying connection update" into oc-dev
TreeHugger Robot [Thu, 1 Jun 2017 22:36:18 +0000 (22:36 +0000)]
Merge "GATT: Fixed typo while notifying connection update" into oc-dev

7 years agoFix params of SetPeriodicAdvertisingParameters
Sunny Kapdi [Thu, 1 Jun 2017 21:34:03 +0000 (14:34 -0700)]
Fix params of SetPeriodicAdvertisingParameters

Fix the sequence of SetPeriodicAdvertisingParameters
in the hci_cmd

Bug: 62268713
Change-Id: Ibdcd362458e9d7ee2f95106a2aefa76e1c264103

7 years agoMerge changes I90a48db4,I8b9815a0 into oc-dev am: 4d92cda9c7
Myles Watson [Thu, 1 Jun 2017 21:00:10 +0000 (21:00 +0000)]
Merge changes I90a48db4,I8b9815a0 into oc-dev am: 4d92cda9c7
am: f97a090787

Change-Id: Iffc0917f7719cc5a82bda965332d00ebcc24122f

7 years agoMerge changes I90a48db4,I8b9815a0 into oc-dev
Myles Watson [Thu, 1 Jun 2017 20:56:44 +0000 (20:56 +0000)]
Merge changes I90a48db4,I8b9815a0 into oc-dev
am: 4d92cda9c7

Change-Id: I565e5ad59f8200393deeb359349b012c1cca9967

7 years agoGATT: Fixed typo while notifying connection update am: 44a1c7eafb am: 5b707312f9...
Avish Shah [Thu, 1 Jun 2017 20:56:25 +0000 (20:56 +0000)]
GATT: Fixed typo while notifying connection update am: 44a1c7eafb am: 5b707312f9 am: 3d3e8dd7bc
am: f5a1d5e286

Change-Id: I4f93329742763b787cc8a95a17824cc5ed38307e

7 years agoGATT: Fixed typo while notifying connection update am: 44a1c7eafb am: 5b707312f9
Avish Shah [Thu, 1 Jun 2017 20:50:55 +0000 (20:50 +0000)]
GATT: Fixed typo while notifying connection update am: 44a1c7eafb am: 5b707312f9
am: 3d3e8dd7bc

Change-Id: I0227edded7be640d427bee2a76f0803c2942ab9d

7 years agoMerge changes I90a48db4,I8b9815a0 into oc-dev
TreeHugger Robot [Thu, 1 Jun 2017 20:50:11 +0000 (20:50 +0000)]
Merge changes I90a48db4,I8b9815a0 into oc-dev

* changes:
  HCI: Improve timeout handling
  HCI: Get debug info from the firmware on timeout

7 years agoGATT: Fixed typo while notifying connection update am: 44a1c7eafb
Avish Shah [Thu, 1 Jun 2017 20:48:23 +0000 (20:48 +0000)]
GATT: Fixed typo while notifying connection update am: 44a1c7eafb
am: 5b707312f9

Change-Id: I82d5a6b6c5f7bc3a024d434555bb410113a470f7

7 years agoGATT: Fixed typo while notifying connection update
Avish Shah [Thu, 1 Jun 2017 20:46:28 +0000 (20:46 +0000)]
GATT: Fixed typo while notifying connection update
am: 44a1c7eafb

Change-Id: I70cc6c866889d4328153c5170b564e12ab6a4b6a

7 years agoGATT: Fixed typo while notifying connection update
Avish Shah [Wed, 31 May 2017 05:13:57 +0000 (10:43 +0530)]
GATT: Fixed typo while notifying connection update

Current conditions checks whether the app registered for
PHY_UPDATE instead it should check for CONN_UPDATE.

Bug: 62206018
Test: Manual
Change-Id: Ie9d068a24d13ea0b186b0ca874531aa4ffd1121f
(cherry picked from commit 44a1c7eafb2db9012c26dd622726655f19fbc0b7)

7 years agoGATT: Fixed typo while notifying connection update
Avish Shah [Wed, 31 May 2017 05:13:57 +0000 (10:43 +0530)]
GATT: Fixed typo while notifying connection update

Current conditions checks whether the app registered for
PHY_UPDATE instead it should check for CONN_UPDATE.

Bug: 62206018
Test: Manual
Change-Id: Ie9d068a24d13ea0b186b0ca874531aa4ffd1121f

7 years agoDO NOT MERGE ANYWHERE HOGP mouse connect failed during OPP TX am: dae59d3b83 -s...
Yamei Du [Thu, 1 Jun 2017 07:57:23 +0000 (07:57 +0000)]
DO NOT MERGE ANYWHERE HOGP mouse connect failed during OPP TX am: dae59d3b83  -s ours am: 0d0e9514ad  -s ours am: e6befb96a8  -s ours
am: 29d308097a  -s ours

Change-Id: I89dd5fcdf778ab9fd1721d89154faa51ce95842b

7 years agoDO NOT MERGE ANYWHERE HOGP mouse connect failed during OPP TX am: dae59d3b83 -s...
Yamei Du [Thu, 1 Jun 2017 07:57:13 +0000 (07:57 +0000)]
DO NOT MERGE ANYWHERE HOGP mouse connect failed during OPP TX am: dae59d3b83  -s ours am: 0d0e9514ad  -s ours am: 40d02aabb5  -s ours
am: 9f5bcf0440  -s ours

Change-Id: I6bd32bfcdc6c4d5dde5edfe71314d422f291dc27

7 years agoDO NOT MERGE ANYWHERE HOGP mouse connect failed during OPP TX am: dae59d3b83 -s...
Yamei Du [Thu, 1 Jun 2017 07:52:36 +0000 (07:52 +0000)]
DO NOT MERGE ANYWHERE HOGP mouse connect failed during OPP TX am: dae59d3b83  -s ours am: 0d0e9514ad  -s ours
am: e6befb96a8  -s ours

Change-Id: I61bf69bf501502d3adf7b2028e07d4da74d75768

7 years agoDO NOT MERGE ANYWHERE HOGP mouse connect failed during OPP TX am: dae59d3b83 -s...
Yamei Du [Thu, 1 Jun 2017 07:51:59 +0000 (07:51 +0000)]
DO NOT MERGE ANYWHERE HOGP mouse connect failed during OPP TX am: dae59d3b83  -s ours am: 0d0e9514ad  -s ours
am: 40d02aabb5  -s ours

Change-Id: I33cb779c17b49f2bdf5512d92d71950c71ee0754

7 years agoDO NOT MERGE ANYWHERE HOGP mouse connect failed during OPP TX am: dae59d3b83 -s...
Yamei Du [Thu, 1 Jun 2017 07:49:58 +0000 (07:49 +0000)]
DO NOT MERGE ANYWHERE HOGP mouse connect failed during OPP TX am: dae59d3b83  -s ours
am: 0d0e9514ad  -s ours

Change-Id: I37e10ab29d083a8d16e756caf3b094c188692d73

7 years agoDO NOT MERGE ANYWHERE HOGP mouse connect failed during OPP TX am: dae59d3b83 -s...
Yamei Du [Thu, 1 Jun 2017 07:49:58 +0000 (07:49 +0000)]
DO NOT MERGE ANYWHERE HOGP mouse connect failed during OPP TX am: dae59d3b83  -s ours
am: 0d0e9514ad  -s ours

Change-Id: I81f931fc749ae4a9f149b6ddb183c282209e8e0c

7 years agoDO NOT MERGE ANYWHERE HOGP mouse connect failed during OPP TX
Yamei Du [Thu, 1 Jun 2017 07:47:29 +0000 (07:47 +0000)]
DO NOT MERGE ANYWHERE HOGP mouse connect failed during OPP TX
am: dae59d3b83  -s ours

Change-Id: I2c48b9c67afda8ba35bfac258031de6909d1af12

7 years agoDO NOT MERGE ANYWHERE HOGP mouse connect failed during OPP TX
Yamei Du [Wed, 18 Nov 2015 09:28:07 +0000 (17:28 +0800)]
DO NOT MERGE ANYWHERE HOGP mouse connect failed during OPP TX

FW ACL buffer overflow.
One more ACL packet was sent to FW which is unexpected.

fix l2cap TX control defect.
Call fixed channel TX complete cb after packets is send to lower.

Bug: 26763700
Tested: manual
Change-Id: Iaba14a11c1583da2a72769ebd096e0baedf857c3
CR-Id: ALPS02404396

7 years agoMerge "HSP: Use peer_version during SCO setup" into oc-dev am: d6850928b0
Jack He [Wed, 31 May 2017 23:00:24 +0000 (23:00 +0000)]
Merge "HSP: Use peer_version during SCO setup" into oc-dev am: d6850928b0
am: 6e5c00cefe

Change-Id: I85d288e7681ecd8f8deff9d4dfc4f3b68166205c

7 years agoMerge "HSP: Use peer_version during SCO setup" into oc-dev
Jack He [Wed, 31 May 2017 22:58:24 +0000 (22:58 +0000)]
Merge "HSP: Use peer_version during SCO setup" into oc-dev
am: d6850928b0

Change-Id: I2f0b67f0b3e4af86e0e99ab496bee7b2badd8bff

7 years agoMerge "HSP: Use peer_version during SCO setup" into oc-dev
TreeHugger Robot [Wed, 31 May 2017 22:54:03 +0000 (22:54 +0000)]
Merge "HSP: Use peer_version during SCO setup" into oc-dev

7 years agoHCI: Improve timeout handling
Myles Watson [Wed, 24 May 2017 20:16:40 +0000 (13:16 -0700)]
HCI: Improve timeout handling

Remove pending commands before enqueueing new ones and log all
pending commands when there is a timeout.

Bug: 37298084
Test: set the timeout to 20ms
Change-Id: I90a48db46a78f75dd78e468ee2d5c948afc1850e
(cherry picked from commit 4788821a0b3c47645deacb3b0047addf192956e2)

7 years agoHCI: Get debug info from the firmware on timeout
Myles Watson [Tue, 9 May 2017 23:50:00 +0000 (16:50 -0700)]
HCI: Get debug info from the firmware on timeout

Bug: 37298084
Test: set the timeout to 20ms

Change-Id: I8b9815a03a15dcb6ce78c0692874b55cb4fc07bc
(cherry picked from commit 2bfb56a2a92c897c8c0648674c51197fa8fe7f0a)

7 years agoHCI: Improve timeout handling am: 4788821a0b am: 5540318111 am: e41a7509e6
Myles Watson [Wed, 31 May 2017 19:46:18 +0000 (19:46 +0000)]
HCI: Improve timeout handling am: 4788821a0b am: 5540318111 am: e41a7509e6
am: 1147b7443c

Change-Id: I17c0eead5613e8f7fad551e509605b4caddef749

7 years agoHCI: Get debug info from the firmware on timeout am: 2bfb56a2a9 am: ecb5b9bf3e am...
Myles Watson [Wed, 31 May 2017 19:46:04 +0000 (19:46 +0000)]
HCI: Get debug info from the firmware on timeout am: 2bfb56a2a9 am: ecb5b9bf3e am: e9a5b7563b
am: bb6cd314d4

Change-Id: Idd62eacff3d60e03d2effb81a228043b5335f3f1

7 years agoHCI: Improve timeout handling am: 4788821a0b am: 5540318111
Myles Watson [Wed, 31 May 2017 19:41:00 +0000 (19:41 +0000)]
HCI: Improve timeout handling am: 4788821a0b am: 5540318111
am: e41a7509e6

Change-Id: I9964c5a9db4dea8a2f037a2974d8605135b8d1f4

7 years agoHCI: Get debug info from the firmware on timeout am: 2bfb56a2a9 am: ecb5b9bf3e
Myles Watson [Wed, 31 May 2017 19:36:24 +0000 (19:36 +0000)]
HCI: Get debug info from the firmware on timeout am: 2bfb56a2a9 am: ecb5b9bf3e
am: e9a5b7563b

Change-Id: Ic676c5889b59e12d1661d5b1ee2ef4650510627a

7 years agoHCI: Improve timeout handling am: 4788821a0b
Myles Watson [Wed, 31 May 2017 19:36:23 +0000 (19:36 +0000)]
HCI: Improve timeout handling am: 4788821a0b
am: 5540318111

Change-Id: I657b24b17171291efb90afee0c6c17d3ea403c6b

7 years agoHCI: Improve timeout handling
Myles Watson [Wed, 31 May 2017 19:32:26 +0000 (19:32 +0000)]
HCI: Improve timeout handling
am: 4788821a0b

Change-Id: I62191cdfa16e25bccc634b2a63dad938e5addd5b

7 years agoHCI: Get debug info from the firmware on timeout am: 2bfb56a2a9
Myles Watson [Wed, 31 May 2017 19:32:26 +0000 (19:32 +0000)]
HCI: Get debug info from the firmware on timeout am: 2bfb56a2a9
am: ecb5b9bf3e

Change-Id: I5832ba3e1c04aa41cf7bfed792d5825748c8c0fd

7 years agoHCI: Get debug info from the firmware on timeout
Myles Watson [Wed, 31 May 2017 19:28:24 +0000 (19:28 +0000)]
HCI: Get debug info from the firmware on timeout
am: 2bfb56a2a9

Change-Id: Ib6853df8cf6f07707d5531719c10bd68d86211a1

7 years agoHCI: Improve timeout handling
Myles Watson [Wed, 24 May 2017 20:16:40 +0000 (13:16 -0700)]
HCI: Improve timeout handling

Remove pending commands before enqueueing new ones and log all
pending commands when there is a timeout.

Bug: 37298084
Test: set the timeout to 20ms
Change-Id: I90a48db46a78f75dd78e468ee2d5c948afc1850e

7 years agoHCI: Get debug info from the firmware on timeout
Myles Watson [Tue, 9 May 2017 23:50:00 +0000 (16:50 -0700)]
HCI: Get debug info from the firmware on timeout

Bug: 37298084
Test: set the timeout to 20ms

Change-Id: I8b9815a03a15dcb6ce78c0692874b55cb4fc07bc

7 years agoMerge "HFP: Enable in-band ringing by default (2/2)"
TreeHugger Robot [Wed, 31 May 2017 03:36:15 +0000 (03:36 +0000)]
Merge "HFP: Enable in-band ringing by default (2/2)"

7 years agoMerge "GATT: Interop fix for service changed indications" into oc-dev am: 3b5c89a70b
Myles Watson [Wed, 31 May 2017 02:03:48 +0000 (02:03 +0000)]
Merge "GATT: Interop fix for service changed indications" into oc-dev am: 3b5c89a70b
am: 1a5c8b2af4

Change-Id: I1a06fbef19d77b52fd61b7d385db32a8c5b0975f

7 years agoMerge "GATT: Interop fix for service changed indications" into oc-dev
Myles Watson [Wed, 31 May 2017 01:59:16 +0000 (01:59 +0000)]
Merge "GATT: Interop fix for service changed indications" into oc-dev
am: 3b5c89a70b

Change-Id: Iefdbe711a8ffbadd53e24c44697b9a1a4c0a3734

7 years agoMerge "GATT: Interop fix for service changed indications" into oc-dev
TreeHugger Robot [Wed, 31 May 2017 01:51:34 +0000 (01:51 +0000)]
Merge "GATT: Interop fix for service changed indications" into oc-dev

7 years agoMerge "DO NOT MERGE ANYWHERE Fix connect second BLE fail while BREDR coexist am:...
Ruina Liu [Wed, 31 May 2017 00:54:17 +0000 (00:54 +0000)]
Merge "DO NOT MERGE ANYWHERE Fix connect second BLE fail while BREDR coexist am: e90e72bb82  -s ours am: c139d021b2  -s ours am: 75f2b19b28  -s ours" into oc-dev-plus-aosp
am: 791ee1fb82  -s ours

Change-Id: Id0d22a37b0b9caf6c7bc456789c75022603a8e18

7 years agoDO NOT MERGE ANYWHERE Fix connect second BLE fail while BREDR coexist am: e90e72bb82...
Ruina Liu [Wed, 31 May 2017 00:54:05 +0000 (00:54 +0000)]
DO NOT MERGE ANYWHERE Fix connect second BLE fail while BREDR coexist am: e90e72bb82  -s ours am: c139d021b2  -s ours am: 26d7a28ed1  -s ours
am: 5ebab45ca5  -s ours

Change-Id: Iddf23919f509d0f51b27e2dd795b91cc9e55eb57

7 years agoMerge "DO NOT MERGE ANYWHERE Fix connect second BLE fail while BREDR coexist am:...
Android Build Merger (Role) [Wed, 31 May 2017 00:46:20 +0000 (00:46 +0000)]
Merge "DO NOT MERGE ANYWHERE Fix connect second BLE fail while BREDR coexist am: e90e72bb82  -s ours am: c139d021b2  -s ours am: 75f2b19b28  -s ours" into oc-dev-plus-aosp

7 years agoDO NOT MERGE ANYWHERE Fix connect second BLE fail while BREDR coexist am: e90e72bb82...
Ruina Liu [Wed, 31 May 2017 00:46:15 +0000 (00:46 +0000)]
DO NOT MERGE ANYWHERE Fix connect second BLE fail while BREDR coexist am: e90e72bb82  -s ours am: c139d021b2  -s ours
am: 75f2b19b28  -s ours

Change-Id: I037a7a68bd70a1e9bc2a84a8f6e22d0fd1458526

7 years agoDO NOT MERGE ANYWHERE Fix connect second BLE fail while BREDR coexist am: e90e72bb82...
Ruina Liu [Wed, 31 May 2017 00:46:10 +0000 (00:46 +0000)]
DO NOT MERGE ANYWHERE Fix connect second BLE fail while BREDR coexist am: e90e72bb82  -s ours am: c139d021b2  -s ours
am: 26d7a28ed1  -s ours

Change-Id: I6d75f421f9363291c894a61435f8ac1c5ae09f62

7 years agoDO NOT MERGE ANYWHERE Fix connect second BLE fail while BREDR coexist am: e90e72bb82...
Ruina Liu [Wed, 31 May 2017 00:42:10 +0000 (00:42 +0000)]
DO NOT MERGE ANYWHERE Fix connect second BLE fail while BREDR coexist am: e90e72bb82  -s ours
am: c139d021b2  -s ours

Change-Id: I5c70d7e288f401cfef7de9f93ed9ed8366ee7914

7 years agoDO NOT MERGE ANYWHERE Fix connect second BLE fail while BREDR coexist am: e90e72bb82...
Ruina Liu [Wed, 31 May 2017 00:42:09 +0000 (00:42 +0000)]
DO NOT MERGE ANYWHERE Fix connect second BLE fail while BREDR coexist am: e90e72bb82  -s ours
am: c139d021b2  -s ours

Change-Id: Iff016ad67d9c076a6a877d9f2f35e10971861620

7 years agoDO NOT MERGE ANYWHERE Fix connect second BLE fail while BREDR coexist
Ruina Liu [Wed, 31 May 2017 00:38:38 +0000 (00:38 +0000)]
DO NOT MERGE ANYWHERE Fix connect second BLE fail while BREDR coexist
am: e90e72bb82  -s ours

Change-Id: Iee3ecc2a5c6d81a4fc2e72e8e21cd0d898199624

7 years agoDO NOT MERGE ANYWHERE Fix connect second BLE fail while BREDR coexist
Ruina Liu [Thu, 24 Sep 2015 02:04:16 +0000 (10:04 +0800)]
DO NOT MERGE ANYWHERE Fix connect second BLE fail while BREDR coexist

In scenario where BREDR/BLE links coexist, and BLE
transport is doing round-robin but BREDR transport is
not use round-robin, when uplayer trigger to transmit
BLE data, the BREDR lcb_pool with smaller array index
will break the for loop firstly. This can block the
L2cap packets transmission of the following BLE lcb_pool
even though there is available BLE controller buffer.

If BLE_INCLUDE is TRUE, then BREDR/BLE links maybe
coexist, change break to continue statement, so the
data transmission will not be blocked by the other
transport type in round-robin case.

Change-Id: I7ca739dfbf02acd2e30527c16ca616a7bad70c51
CR-Id: ALPS02303646

7 years agoGet rid of unused tGATT_SCCB am: 8663a87ea0 am: 5f0437a072 am: dc0cc50dce
Jakub Pawlowski [Tue, 30 May 2017 22:57:53 +0000 (22:57 +0000)]
Get rid of unused tGATT_SCCB am: 8663a87ea0 am: 5f0437a072 am: dc0cc50dce
am: a831d9a6a5

Change-Id: I47ffd7176bb32a239bb7edd885571a9ad1b7f345

7 years agoGet rid of unused tGATT_SCCB am: 8663a87ea0 am: 5f0437a072
Jakub Pawlowski [Tue, 30 May 2017 22:54:22 +0000 (22:54 +0000)]
Get rid of unused tGATT_SCCB am: 8663a87ea0 am: 5f0437a072
am: dc0cc50dce

Change-Id: Iaecd25666e1dcf6cf49880507d717407aa60158c

7 years agoGet rid of unused tGATT_SCCB am: 8663a87ea0
Jakub Pawlowski [Tue, 30 May 2017 22:49:35 +0000 (22:49 +0000)]
Get rid of unused tGATT_SCCB am: 8663a87ea0
am: 5f0437a072

Change-Id: Ie76765b915100ba31447bbb4eb729aeac4a527ca

7 years agoGet rid of unused tGATT_SCCB
Jakub Pawlowski [Tue, 30 May 2017 22:41:17 +0000 (22:41 +0000)]
Get rid of unused tGATT_SCCB
am: 8663a87ea0

Change-Id: I0b87a463e12d0487f7e827eee581fa132a246fba

7 years agoHFP: Enable in-band ringing by default (2/2)
Jack He [Tue, 30 May 2017 22:15:21 +0000 (15:15 -0700)]
HFP: Enable in-band ringing by default (2/2)

Bug: 19171297
Test: make, make calls, HFP regression
Change-Id: I8ace78f7550c7d0856a0e0369b02b45deeb7d5c0

7 years agoMerge "Merge "DO NOT MERGE ANYWHERE Remove incorrect assert in btm_read_rssi_cb"...
Andre Eisenbach [Tue, 30 May 2017 21:19:52 +0000 (21:19 +0000)]
Merge "Merge "DO NOT MERGE ANYWHERE Remove incorrect assert in btm_read_rssi_cb" into cw-f-dev am: b044bae800  -s ours am: 310ce8b220  -s ours am: 1917615840  -s ours" into oc-dev-plus-aosp
am: d3c5f68ecc  -s ours

Change-Id: Ic40f5ad387a154204c821a12b53a324fcfca5bb0

7 years agoMerge "DO NOT MERGE ANYWHERE Remove incorrect assert in btm_read_rssi_cb" into cw...
Andre Eisenbach [Tue, 30 May 2017 21:19:37 +0000 (21:19 +0000)]
Merge "DO NOT MERGE ANYWHERE Remove incorrect assert in btm_read_rssi_cb" into cw-f-dev am: b044bae800  -s ours am: 310ce8b220  -s ours am: e5b1643eef  -s ours
am: 5b0feb85a1  -s ours

Change-Id: I2b40f4919f0329789d27875c5627a8ebe34bc2fb

7 years agoMerge "Merge "DO NOT MERGE ANYWHERE Remove incorrect assert in btm_read_rssi_cb"...
Android Build Merger (Role) [Tue, 30 May 2017 21:15:08 +0000 (21:15 +0000)]
Merge "Merge "DO NOT MERGE ANYWHERE Remove incorrect assert in btm_read_rssi_cb" into cw-f-dev am: b044bae800  -s ours am: 310ce8b220  -s ours am: 1917615840  -s ours" into oc-dev-plus-aosp

7 years agoMerge "DO NOT MERGE ANYWHERE Remove incorrect assert in btm_read_rssi_cb" into cw...
Andre Eisenbach [Tue, 30 May 2017 21:14:56 +0000 (21:14 +0000)]
Merge "DO NOT MERGE ANYWHERE Remove incorrect assert in btm_read_rssi_cb" into cw-f-dev am: b044bae800  -s ours am: 310ce8b220  -s ours
am: e5b1643eef  -s ours

Change-Id: If5e96750e5defb151af47695ffa32770aeeb2926

7 years agoMerge "DO NOT MERGE ANYWHERE Remove incorrect assert in btm_read_rssi_cb" into cw...
Andre Eisenbach [Tue, 30 May 2017 21:14:55 +0000 (21:14 +0000)]
Merge "DO NOT MERGE ANYWHERE Remove incorrect assert in btm_read_rssi_cb" into cw-f-dev am: b044bae800  -s ours am: 310ce8b220  -s ours
am: 1917615840  -s ours

Change-Id: I91ce7e6383929bec27e0acc2d9544e6478495f22

7 years agoMerge "DO NOT MERGE ANYWHERE Remove incorrect assert in btm_read_rssi_cb" into cw...
Andre Eisenbach [Tue, 30 May 2017 21:10:55 +0000 (21:10 +0000)]
Merge "DO NOT MERGE ANYWHERE Remove incorrect assert in btm_read_rssi_cb" into cw-f-dev am: b044bae800  -s ours
am: 310ce8b220  -s ours

Change-Id: Ic13bec3228eebc49d2cf82ecc6f2eee4156a31ef

7 years agoMerge "DO NOT MERGE ANYWHERE Remove incorrect assert in btm_read_rssi_cb" into cw...
Andre Eisenbach [Tue, 30 May 2017 21:10:55 +0000 (21:10 +0000)]
Merge "DO NOT MERGE ANYWHERE Remove incorrect assert in btm_read_rssi_cb" into cw-f-dev am: b044bae800  -s ours
am: 310ce8b220  -s ours

Change-Id: I7d82f8364fd0958ced81d4696dfc5fd8d7bb0955

7 years agoMerge "DO NOT MERGE ANYWHERE Remove incorrect assert in btm_read_rssi_cb" into cw...
Andre Eisenbach [Tue, 30 May 2017 21:06:25 +0000 (21:06 +0000)]
Merge "DO NOT MERGE ANYWHERE Remove incorrect assert in btm_read_rssi_cb" into cw-f-dev
am: b044bae800  -s ours

Change-Id: Ic7314f6710c10c670ea3a4a24b4865661ee1451e

7 years agoMerge "DO NOT MERGE ANYWHERE Remove incorrect assert in btm_read_rssi_cb" into cw...
TreeHugger Robot [Tue, 30 May 2017 21:00:28 +0000 (21:00 +0000)]
Merge "DO NOT MERGE ANYWHERE Remove incorrect assert in btm_read_rssi_cb" into cw-f-dev

7 years agoGet rid of unused tGATT_SCCB
Jakub Pawlowski [Sat, 27 May 2017 01:51:27 +0000 (18:51 -0700)]
Get rid of unused tGATT_SCCB

Test: compilation test
Change-Id: I32fee6a93442c8415f7d855c1e4802bceb6fe5ff

7 years agoDO NOT MERGE ANYWHERE Remove incorrect assert in btm_read_rssi_cb
Andre Eisenbach [Thu, 3 Nov 2016 21:53:49 +0000 (14:53 -0700)]
DO NOT MERGE ANYWHERE Remove incorrect assert in btm_read_rssi_cb

|data| may be NULL if the RSSI request times out.
See btm_read_rssi_timeout implementation for details.

Bug: 32587130
Test: manual
Change-Id: Ide9dee819e1db24a39c05b086cd4c0b558ca23ef

7 years agoHSP: Use peer_version during SCO setup
Jack He [Tue, 23 May 2017 02:23:04 +0000 (19:23 -0700)]
HSP: Use peer_version during SCO setup

* HSP profile should use peer_version obtained through SDP search to
  determine its behavior during SCO setup instead of a local version
  during initialization
* Added a WARNING message if SDP search failed to get remote HSP
  version, the default behavior is to use HSP 1.0
* Changed SDP search initialization to look for one UUID at a time
* See Bluetooth Erratum 3507

Test: make, HSP PTS test
Bug: 38210042
Change-Id: I67ce615a785b25a2e9304613a29d9be66a656c54
(cherry picked from commit a3745c645f3ab5b80a7325092bd6bb14accc265f)

7 years agoMerge "HSP: Use peer_version during SCO setup" am: 5519f0d619 am: f941095d46 am:...
Jack He [Sat, 27 May 2017 02:15:57 +0000 (02:15 +0000)]
Merge "HSP: Use peer_version during SCO setup" am: 5519f0d619 am: f941095d46 am: 0b4b111030
am: 82fda6393e

Change-Id: I4d8759698dbd2120b4ecd003a4fea793b9dad136

7 years agoMerge "HSP: Use peer_version during SCO setup" am: 5519f0d619 am: f941095d46
Jack He [Sat, 27 May 2017 02:07:21 +0000 (02:07 +0000)]
Merge "HSP: Use peer_version during SCO setup" am: 5519f0d619 am: f941095d46
am: 0b4b111030

Change-Id: Ied16a4e7ec67ae36f326b75a16adbccb003a94f9

7 years agoMerge "HSP: Use peer_version during SCO setup" am: 5519f0d619
Jack He [Sat, 27 May 2017 02:04:49 +0000 (02:04 +0000)]
Merge "HSP: Use peer_version during SCO setup" am: 5519f0d619
am: f941095d46

Change-Id: Iacc5db4f2fd1e24e279af8cbbc80b3a7a06458b9

7 years agoMerge "HSP: Use peer_version during SCO setup"
Jack He [Sat, 27 May 2017 02:02:19 +0000 (02:02 +0000)]
Merge "HSP: Use peer_version during SCO setup"
am: 5519f0d619

Change-Id: Ifd0d25560888922dfd6ae31a5ce2e51e3ace6899

7 years agoMerge "HSP: Use peer_version during SCO setup"
Treehugger Robot [Sat, 27 May 2017 01:58:34 +0000 (01:58 +0000)]
Merge "HSP: Use peer_version during SCO setup"

7 years agoMerge changes I0f43061b,I48c18401,I5073e800,I2c0926c7,I73120878 am: 10ef0e8527 am...
Jakub Pawlowski [Sat, 27 May 2017 01:13:53 +0000 (01:13 +0000)]
Merge changes I0f43061b,I48c18401,I5073e800,I2c0926c7,I73120878 am: 10ef0e8527 am: 64b6a9c12c am: 84d64d0d7b
am: 8cf4407051

Change-Id: Ib5e237525f16b21a94fa0c93e6cace218807ebc0

7 years agoMerge changes I0f43061b,I48c18401,I5073e800,I2c0926c7,I73120878 am: 10ef0e8527 am...
Jakub Pawlowski [Sat, 27 May 2017 01:00:15 +0000 (01:00 +0000)]
Merge changes I0f43061b,I48c18401,I5073e800,I2c0926c7,I73120878 am: 10ef0e8527 am: 64b6a9c12c
am: 84d64d0d7b

Change-Id: I76d4d2f75ead66e9fe79add732166be9ca6169b6

7 years agoMerge changes I0f43061b,I48c18401,I5073e800,I2c0926c7,I73120878 am: 10ef0e8527
Jakub Pawlowski [Sat, 27 May 2017 00:57:45 +0000 (00:57 +0000)]
Merge changes I0f43061b,I48c18401,I5073e800,I2c0926c7,I73120878 am: 10ef0e8527
am: 64b6a9c12c

Change-Id: I53f08acb54e483d1e943c1ba4868fc45dceab1f8

7 years agoMerge changes I0f43061b,I48c18401,I5073e800,I2c0926c7,I73120878
Jakub Pawlowski [Sat, 27 May 2017 00:55:17 +0000 (00:55 +0000)]
Merge changes I0f43061b,I48c18401,I5073e800,I2c0926c7,I73120878
am: 10ef0e8527

Change-Id: I19412f34ab531f4c38fc1c32686bbcaabb25cfe9

7 years agoMerge changes I0f43061b,I48c18401,I5073e800,I2c0926c7,I73120878
Treehugger Robot [Sat, 27 May 2017 00:50:22 +0000 (00:50 +0000)]
Merge changes I0f43061b,I48c18401,I5073e800,I2c0926c7,I73120878

* changes:
  Get rid of AMP_INCLUDED
  Get rid of GAP control block
  Get rid of GAP_TRACE_* logs
  Get rid of GAP_CONN_INCLUDED
  BLE GAP simplification

7 years agoGATT: Interop fix for service changed indications
Myles Watson [Fri, 26 May 2017 00:24:49 +0000 (17:24 -0700)]
GATT: Interop fix for service changed indications

The Pixel C Keyboard disconnects if it receives an indication
for which it hasn't registered.

Test: Add a GATT service with Pixel C connected
Bug: 34352677
Change-Id: I1f717db40b2ba9ec21feac5fd9e339c09f140d51
(cherry picked from commit 43c7f9f4775e589d8fd0604ef4717996696a0321)

7 years agoGATT: Interop fix for service changed indications am: 43c7f9f477 am: fb071c4783 am...
Myles Watson [Fri, 26 May 2017 23:38:18 +0000 (23:38 +0000)]
GATT: Interop fix for service changed indications am: 43c7f9f477 am: fb071c4783 am: 07c773e95d
am: 4dcd645c36

Change-Id: I80e72a2468a437ea71bfedad068d19174d6e376d

7 years agoGATT: Interop fix for service changed indications am: 43c7f9f477 am: fb071c4783
Myles Watson [Fri, 26 May 2017 23:25:45 +0000 (23:25 +0000)]
GATT: Interop fix for service changed indications am: 43c7f9f477 am: fb071c4783
am: 07c773e95d

Change-Id: I42ce7a473e0c53e69660fbdb9e409d18e1131e76

7 years agoGATT: Interop fix for service changed indications am: 43c7f9f477
Myles Watson [Fri, 26 May 2017 23:18:54 +0000 (23:18 +0000)]
GATT: Interop fix for service changed indications am: 43c7f9f477
am: fb071c4783

Change-Id: Icc33cdab9468411b415f5265659198c4b8c28384

7 years agoGet rid of AMP_INCLUDED
Jakub Pawlowski [Fri, 26 May 2017 22:54:23 +0000 (15:54 -0700)]
Get rid of AMP_INCLUDED

Change-Id: I0f43061b150cfc61bb31cfc7a580592454cfbf9f

7 years agoGet rid of GAP control block
Jakub Pawlowski [Fri, 26 May 2017 22:49:07 +0000 (15:49 -0700)]
Get rid of GAP control block

Instead of global GAP control block, use separate block for gap_conn.cc
and gap_ble.cc

Change-Id: I48c18401390300f80285ba5491e8d91ee63d55ef

7 years agoGet rid of GAP_TRACE_* logs
Jakub Pawlowski [Fri, 26 May 2017 22:16:15 +0000 (15:16 -0700)]
Get rid of GAP_TRACE_* logs

This is a step required for making GAP testable, and not dependent on
any global log structures.

Change-Id: I5073e800cf842864021328308feb59a409927b2b

7 years agoGATT: Interop fix for service changed indications
Myles Watson [Fri, 26 May 2017 23:14:13 +0000 (23:14 +0000)]
GATT: Interop fix for service changed indications
am: 43c7f9f477

Change-Id: Ie6017226118fa60f5d05034a2e04a4dcbd31828a

7 years agoGATT: Interop fix for service changed indications
Myles Watson [Fri, 26 May 2017 00:24:49 +0000 (17:24 -0700)]
GATT: Interop fix for service changed indications

The Pixel C Keyboard disconnects if it receives an indication
for which it hasn't registered.

Test: Add a GATT service with Pixel C connected
Bug: 34352677
Change-Id: I1f717db40b2ba9ec21feac5fd9e339c09f140d51

7 years agoGet rid of GAP_CONN_INCLUDED
Jakub Pawlowski [Fri, 26 May 2017 21:36:51 +0000 (14:36 -0700)]
Get rid of GAP_CONN_INCLUDED

Change-Id: I2c0926c7c935b6efe1f0ea35a86ed89edb746096

7 years agoBLE GAP simplification
Jakub Pawlowski [Thu, 25 May 2017 16:05:23 +0000 (09:05 -0700)]
BLE GAP simplification

Test: manual
Change-Id: I73120878aadf41e54f8eb1aae75e9f9bbb1df942

7 years agoHSP: Use peer_version during SCO setup
Jack He [Tue, 23 May 2017 02:23:04 +0000 (19:23 -0700)]
HSP: Use peer_version during SCO setup

* HSP profile should use peer_version obtained through SDP search to
  determine its behavior during SCO setup instead of a local version
  during initialization
* Added a WARNING message if SDP search failed to get remote HSP
  version, the default behavior is to use HSP 1.0
* Changed SDP search initialization to look for one UUID at a time
* See Bluetooth Erratum 3507

Test: make, HSP PTS test
Bug: 38210042
Change-Id: I67ce615a785b25a2e9304613a29d9be66a656c54

7 years agoRemove dead code from GAP am: bd40666323 am: af43d92665 am: b2d70eb00f
Jakub Pawlowski [Fri, 26 May 2017 19:26:46 +0000 (19:26 +0000)]
Remove dead code from GAP am: bd40666323 am: af43d92665 am: b2d70eb00f
am: f329f33849

Change-Id: I3c0fed1f4627b66406781b093e1fe64a272d7462

7 years agoRemove dead code from GAP am: bd40666323 am: af43d92665
Jakub Pawlowski [Fri, 26 May 2017 19:23:50 +0000 (19:23 +0000)]
Remove dead code from GAP am: bd40666323 am: af43d92665
am: b2d70eb00f

Change-Id: I42b0aa2f28bd19e7d5003ab985a61f8d509035ce

7 years agoRemove dead code from GAP am: bd40666323
Jakub Pawlowski [Fri, 26 May 2017 19:21:51 +0000 (19:21 +0000)]
Remove dead code from GAP am: bd40666323
am: af43d92665

Change-Id: I38006520ff90630b114419eeb82a662122772ff2

7 years agoRemove dead code from GAP
Jakub Pawlowski [Fri, 26 May 2017 19:19:51 +0000 (19:19 +0000)]
Remove dead code from GAP
am: bd40666323

Change-Id: If144088be038a51592f8013373db1c96d40f5e02

7 years agoMerge "Fix crashes when GAP operation is interrupted by disconnection" into oc-dev...
Jakub Pawlowski [Fri, 26 May 2017 17:41:01 +0000 (17:41 +0000)]
Merge "Fix crashes when GAP operation is interrupted by disconnection" into oc-dev am: de75b705a2
am: 10de591de5

Change-Id: Icf8c855ba18d4ba2ca9dfe24affa06feffe211d8