OSDN Git Service
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
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
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
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
Treehugger Robot [Sat, 27 May 2017 01:58:34 +0000 (01:58 +0000)]
Merge "HSP: Use peer_version during SCO setup"
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
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
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
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
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
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
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
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
Jakub Pawlowski [Fri, 26 May 2017 22:54:23 +0000 (15:54 -0700)]
Get rid of AMP_INCLUDED
Change-Id: I0f43061b150cfc61bb31cfc7a580592454cfbf9f
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
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
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
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
Jakub Pawlowski [Fri, 26 May 2017 21:36:51 +0000 (14:36 -0700)]
Get rid of GAP_CONN_INCLUDED
Change-Id: I2c0926c7c935b6efe1f0ea35a86ed89edb746096
Jakub Pawlowski [Thu, 25 May 2017 16:05:23 +0000 (09:05 -0700)]
BLE GAP simplification
Test: manual
Change-Id: I73120878aadf41e54f8eb1aae75e9f9bbb1df942
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
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
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
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
Jakub Pawlowski [Fri, 26 May 2017 19:19:51 +0000 (19:19 +0000)]
Remove dead code from GAP
am:
bd40666323
Change-Id: If144088be038a51592f8013373db1c96d40f5e02
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
Jakub Pawlowski [Fri, 26 May 2017 17:40:47 +0000 (17:40 +0000)]
Fix GATT Server disconnecting for no reason am:
ce54c40320
am:
6f2f9f6d1b
Change-Id: Id1c94f9bb7495ce4d17c20c0c7cc3354078cc572
Jakub Pawlowski [Fri, 26 May 2017 17:38:28 +0000 (17:38 +0000)]
Merge "Fix crashes when GAP operation is interrupted by disconnection" into oc-dev
am:
de75b705a2
Change-Id: Ied9fbf4102e59c823197c08b28e3e86b41755140
Jakub Pawlowski [Fri, 26 May 2017 17:38:13 +0000 (17:38 +0000)]
Fix GATT Server disconnecting for no reason
am:
ce54c40320
Change-Id: Ibe98ea2c93a6ce153d7d8a7458078248faba0a58
TreeHugger Robot [Fri, 26 May 2017 17:34:54 +0000 (17:34 +0000)]
Merge "Fix crashes when GAP operation is interrupted by disconnection" into oc-dev
Jakub Pawlowski [Fri, 26 May 2017 17:25:02 +0000 (10:25 -0700)]
Remove dead code from GAP
Test: none
Change-Id: I23badbf73420e4af26e6d84f7b04fcd56100b122
Jakub Pawlowski [Thu, 25 May 2017 16:09:12 +0000 (09:09 -0700)]
Fix GATT Server disconnecting for no reason
Connections created by GAP profile should be ephemeral, and not
interfere with the connection timeout.
When a device is bonded, listing services through DM would cause a
DM APP to create a connection, and later to disconnect. This causes
connection to timeout. In case a device was already connected, this
should not happen.
Bug:
34951749
Test: manual
Change-Id: Iad04fd9eed4c664f35131442e3f83a704497a067
(cherry picked from commit
16bb48b320cde54a1a06a525f4d9be1421689649)
Jakub Pawlowski [Thu, 25 May 2017 15:21:53 +0000 (08:21 -0700)]
Fix crashes when GAP operation is interrupted by disconnection
Also fixes potential issue while allocating control blocks.
Test: none
Bug:
38499153
Change-Id: I5101ac97476953cdfece45c3fa9b909e38b9d2dd
(cherry picked from commit
feec106412c54dbbfdb0e13d62d744f8fec6fd52)
Jack He [Thu, 25 May 2017 23:26:43 +0000 (23:26 +0000)]
MCAP: Add test interface for PTS test (2/2) am:
04442a41e9
am:
4aa6139ef5
Change-Id: I8628ad09495a4a41ea8d6722d8990b4787adcb74
Jack He [Thu, 25 May 2017 23:15:39 +0000 (23:15 +0000)]
MCAP: Add test interface for PTS test (2/2)
am:
04442a41e9
Change-Id: Ibb4be7e7e0b6be1f957445c5488242ae076eda0d
Jack He [Thu, 25 May 2017 22:52:49 +0000 (22:52 +0000)]
Merge "MCAP: Add a test tool for MCAP" am:
70e0eada0b am:
d2cb086e1b am:
d5f149de27
am:
55c04d08b8
Change-Id: I59e1385a23f3a3f2388a4310e7836aa6ba6ad3be
Jakub Pawlowski [Thu, 25 May 2017 22:52:18 +0000 (22:52 +0000)]
Fix GATT Server disconnecting for no reason am:
16bb48b320 am:
5fc17ef4b7 am:
ca082955cb
am:
563da18386
Change-Id: If5b95befa70e4321fd017c26094bbcd669956884
Jakub Pawlowski [Thu, 25 May 2017 22:52:00 +0000 (22:52 +0000)]
Revert "Fix GATT Server disconnecting for no reason" am:
63e8f19255 am:
5ba92b64da am:
afe64ccf2e
am:
7bab1f2fe4
Change-Id: Ic3c16ce19059e671beafbc9b4148381b9f6076bb
Jack He [Thu, 25 May 2017 22:48:56 +0000 (22:48 +0000)]
Merge "MCAP: Add a test tool for MCAP" am:
70e0eada0b am:
d2cb086e1b
am:
d5f149de27
Change-Id: Ic48246e50084b92e475fef337ef7398679c27220
Jack He [Thu, 25 May 2017 22:43:57 +0000 (22:43 +0000)]
Merge "MCAP: Add a test tool for MCAP" am:
70e0eada0b
am:
d2cb086e1b
Change-Id: Ifb6fa1a21bd30e00ea1616beec113601954ac17f
Jakub Pawlowski [Thu, 25 May 2017 22:39:33 +0000 (22:39 +0000)]
Fix GATT Server disconnecting for no reason am:
16bb48b320 am:
5fc17ef4b7
am:
ca082955cb
Change-Id: I90b37ec82dec17676a475631ddc4c551e503a839
Jack He [Thu, 25 May 2017 22:39:27 +0000 (22:39 +0000)]
Merge "MCAP: Add a test tool for MCAP"
am:
70e0eada0b
Change-Id: Idcd521156ce5fb4a087abcde02eaac92cd36c876
Jakub Pawlowski [Thu, 25 May 2017 22:39:27 +0000 (22:39 +0000)]
Revert "Fix GATT Server disconnecting for no reason" am:
63e8f19255 am:
5ba92b64da
am:
afe64ccf2e
Change-Id: Ib50bc8d7de4a74c601c0e75c4fe288b45c55b8cc
Jakub Pawlowski [Thu, 25 May 2017 22:34:58 +0000 (22:34 +0000)]
Fix GATT Server disconnecting for no reason am:
16bb48b320
am:
5fc17ef4b7
Change-Id: I4f2acc6268bd24e689d727cd97300e0ece66c732
Jakub Pawlowski [Thu, 25 May 2017 22:34:55 +0000 (22:34 +0000)]
Revert "Fix GATT Server disconnecting for no reason" am:
63e8f19255
am:
5ba92b64da
Change-Id: Ibb34c34a67623fba589a9e2a2599b00011c8d487
Treehugger Robot [Thu, 25 May 2017 22:32:19 +0000 (22:32 +0000)]
Merge "MCAP: Add a test tool for MCAP"
Jakub Pawlowski [Thu, 25 May 2017 22:30:29 +0000 (22:30 +0000)]
Fix GATT Server disconnecting for no reason
am:
16bb48b320
Change-Id: I6c511d6825620e87503fce76f7c70114f8fd87fc
Jakub Pawlowski [Thu, 25 May 2017 22:30:26 +0000 (22:30 +0000)]
Revert "Fix GATT Server disconnecting for no reason"
am:
63e8f19255
Change-Id: I6e717171f346ce5d7331f8ea13821e6b54bdb5d6
Jakub Pawlowski [Thu, 25 May 2017 21:33:18 +0000 (21:33 +0000)]
Fix crashes when GAP operation is interrupted by disconnection am:
feec106412 am:
99664212c1 am:
83466c0e38
am:
775c7f0541
Change-Id: I2ca708d0f61438c5b7064cdb5f74d7c04503c17b
Jakub Pawlowski [Thu, 25 May 2017 21:27:39 +0000 (21:27 +0000)]
Fix crashes when GAP operation is interrupted by disconnection am:
feec106412 am:
99664212c1
am:
83466c0e38
Change-Id: I8e809b78a471b2ec98f08a8d3e8cf457f83d5fb2
Jakub Pawlowski [Thu, 25 May 2017 21:22:39 +0000 (21:22 +0000)]
Fix crashes when GAP operation is interrupted by disconnection am:
feec106412
am:
99664212c1
Change-Id: Iede38cf945d63498158f7967eac3c20b8b4e331b
Jakub Pawlowski [Thu, 25 May 2017 21:18:09 +0000 (21:18 +0000)]
Fix crashes when GAP operation is interrupted by disconnection
am:
feec106412
Change-Id: I3e714e751e0110cbff1ad6459e5e51b1cd324e56
Jakub Pawlowski [Thu, 25 May 2017 16:09:12 +0000 (09:09 -0700)]
Fix GATT Server disconnecting for no reason
Connections created by GAP profile should be ephemeral, and not
interfere with the connection timeout.
When a device is bonded, listing services through DM would cause a
DM APP to create a connection, and later to disconnect. This causes
connection to timeout. In case a device was already connected, this
should not happen.
Bug:
34951749
Test: manual
Change-Id: Iad04fd9eed4c664f35131442e3f83a704497a067
Jakub Pawlowski [Thu, 25 May 2017 20:24:28 +0000 (13:24 -0700)]
Revert "Fix GATT Server disconnecting for no reason"
This reverts commit
b69edd55ffe953d4f71f4a948e3feb2243223980.
Jack He [Thu, 18 May 2017 05:26:05 +0000 (22:26 -0700)]
MCAP: Add a test tool for MCAP
* Add a command line tool for MCAP related tests
* This tool can access the Bluetooth stack via a command line program
* Type "help" to obtain a list of available console commands in this
Bluetooth
* Bluetooth must be disabled when this tool is running
Bug:
37867299
Test: make, PTS MCAP test
Change-Id: I106e6625ee8a29b7fdad88cdfeb99419054ef771
Jakub Pawlowski [Thu, 25 May 2017 15:21:53 +0000 (08:21 -0700)]
Fix crashes when GAP operation is interrupted by disconnection
Also fixes potential issue while allocating control blocks.
Test: none
Bug:
38499153
Change-Id: I5101ac97476953cdfece45c3fa9b909e38b9d2dd
Jakub Pawlowski [Thu, 25 May 2017 14:32:26 +0000 (14:32 +0000)]
Fix GATT Server disconnecting for no reason am:
b69edd55ff am:
96c6be22d9 am:
13b562a161
am:
0afb7647fa
Change-Id: I824b2897ffb4f20cb0191d9f1ec1668f30cdae59
Jakub Pawlowski [Thu, 25 May 2017 14:29:24 +0000 (14:29 +0000)]
Fix GATT Server disconnecting for no reason am:
b69edd55ff am:
96c6be22d9
am:
13b562a161
Change-Id: I60718b6a9fe94bf954623e53fc44cbd596d9771e
Jakub Pawlowski [Thu, 25 May 2017 14:25:23 +0000 (14:25 +0000)]
Fix GATT Server disconnecting for no reason am:
b69edd55ff
am:
96c6be22d9
Change-Id: I21a5025712598779f7d0501031aa7bf4690fd853
Jakub Pawlowski [Thu, 25 May 2017 14:21:53 +0000 (14:21 +0000)]
Fix GATT Server disconnecting for no reason
am:
b69edd55ff
Change-Id: I02d9ded4520eabb317b85a5a10888e9432c991cf
Jakub Pawlowski [Wed, 24 May 2017 23:15:21 +0000 (16:15 -0700)]
Fix GATT Server disconnecting for no reason
When two devices are bonded, even if the device is supposed to act just
as a GATT Server, service discovery is performed. Doing "read by type"
should not trigger connection timeout, or disconnection, as the server
should wait for the client to finish connection.
Please note that it does not GATT Client behaviour, as they manage the
connection timeout through L2CA_SendFixedChnlData called on each data
packet.
Bug:
34951749
Test: manual
Change-Id: If53cf63dc204238a60839497992c870b1b39aa60
Jack He [Sat, 13 May 2017 20:52:12 +0000 (13:52 -0700)]
MCAP: Add test interface for PTS test (2/2)
* PTS tests requires MCAP APIs to be called at protocol level
* This CL creates a test interface to enable the above functionality
Bug:
37867299
Test: make, no user visible effect
Change-Id: I15cc6cc613ce8f7c57564296e45077ab877c269b
(cherry picked from commit
722ce12babbd3d1e814f6e704860699a0b726e4f)
Jack He [Wed, 24 May 2017 20:56:33 +0000 (20:56 +0000)]
MCAP: Add test interface for PTS test (2/2) am:
722ce12bab am:
445f930bc8 am:
3ca7ae5d93
am:
39dfe498c5
Change-Id: I661dd71315a55a7cc7177aaee8a40f26d403bdad
Jack He [Wed, 24 May 2017 20:48:22 +0000 (20:48 +0000)]
MCAP: Add test interface for PTS test (2/2) am:
722ce12bab am:
445f930bc8
am:
3ca7ae5d93
Change-Id: I1b1d1a9824a0bf6bf4ed8ac373f21bbe73a8f44e
Jack He [Wed, 24 May 2017 20:45:47 +0000 (20:45 +0000)]
MCAP: Add test interface for PTS test (2/2) am:
722ce12bab
am:
445f930bc8
Change-Id: If205315f7e2dde0fd2bd99fb03793d5159399a1f
Jack He [Wed, 24 May 2017 20:42:46 +0000 (20:42 +0000)]
MCAP: Add test interface for PTS test (2/2)
am:
722ce12bab
Change-Id: Idf202cccd67609408beb0f7ca7b98b75b914abf8
Jack He [Wed, 24 May 2017 17:59:50 +0000 (17:59 +0000)]
MCAP: Fix bugs in MCAP stack am:
0f54d697b7
am:
b09bf245dc
Change-Id: Ifac21e8a6c3e602840cf338d078757ecf64f4d06
Jack He [Wed, 24 May 2017 17:50:16 +0000 (17:50 +0000)]
MCAP: Fix bugs in MCAP stack
am:
0f54d697b7
Change-Id: Ib8192ca8dee9e00f2190c1f3eda1ca7c76bfd055
Jack He [Thu, 18 May 2017 05:22:18 +0000 (22:22 -0700)]
MCAP: Fix bugs in MCAP stack
* Fix error response message for clock sync opcodes
* Fix error response message for CREATE_MDL opcode
* Fix logging in the MCAP stack
Bug:
37867299
Test: make, PTS MCAP test
Change-Id: I7a37ac04806bca20d732357f00b4761577b4be19
(cherry picked from commit
b3a8dc2ece90770b41f4bc0555fabb2742093176)
Jack He [Wed, 24 May 2017 00:58:23 +0000 (00:58 +0000)]
eSCO: Format changes to original vendor patch (4/5) am:
a43e1304c2
am:
814f26c54b
Change-Id: I2a81ab19b21dbcaa0670bdab1cc0d31f705d24a4
Jack He [Wed, 24 May 2017 00:58:19 +0000 (00:58 +0000)]
eSCO: Additional fix to get eSCO working for HFP and HSP (3/5) am:
a9152a2892
am:
1ef4273dba
Change-Id: I31723b6c185f52e5b7870828741d4d778504f808
Myles Watson [Wed, 24 May 2017 00:58:14 +0000 (00:58 +0000)]
eSCO: Remove BTM_WBS_INCLUDED from the stack (2/5) am:
5b9aaac278 -s ours
am:
b868b6810c
Change-Id: I98d6367834196c413386f89349e15cdf6c97e610
Mudumba Ananth [Wed, 24 May 2017 00:58:08 +0000 (00:58 +0000)]
eSCO: BT 4.1 Enhanced SCO command (1/5) am:
181863e6c2 -s ours
am:
1da9515947
Change-Id: I742627078888239138dcd15cc94203d826163192
Jack He [Wed, 24 May 2017 00:52:30 +0000 (00:52 +0000)]
eSCO: Format changes to original vendor patch (4/5)
am:
a43e1304c2
Change-Id: Idba6f8de605855aa29029ba0d110c43e47cf192a
Jack He [Wed, 24 May 2017 00:52:27 +0000 (00:52 +0000)]
eSCO: Additional fix to get eSCO working for HFP and HSP (3/5)
am:
a9152a2892
Change-Id: Ib55cde122d419a0e6c295d86bf44aa9a37fc41d3
Myles Watson [Wed, 24 May 2017 00:52:24 +0000 (00:52 +0000)]
eSCO: Remove BTM_WBS_INCLUDED from the stack (2/5)
am:
5b9aaac278 -s ours
Change-Id: Ic6b01448a10d59905aefb696123e3c30c98b99df
Mudumba Ananth [Wed, 24 May 2017 00:52:21 +0000 (00:52 +0000)]
eSCO: BT 4.1 Enhanced SCO command (1/5)
am:
181863e6c2 -s ours
Change-Id: Ifc5c70990697fdcedc2ff070f7e7d35e939512f0
Jack He [Tue, 23 May 2017 23:03:30 +0000 (23:03 +0000)]
MCAP: Fix bugs in MCAP stack am:
b3a8dc2ece am:
76c828952b am:
072b2734e4
am:
542d1e1e03
Change-Id: Ic092a8317b3284a513a90a9bab21a380b261e0ac
Jack He [Sat, 13 May 2017 20:52:12 +0000 (13:52 -0700)]
MCAP: Add test interface for PTS test (2/2)
* PTS tests requires MCAP APIs to be called at protocol level
* This CL creates a test interface to enable the above functionality
Bug:
37867299
Test: make, no user visible effect
Change-Id: I15cc6cc613ce8f7c57564296e45077ab877c269b
Jack He [Tue, 23 May 2017 22:55:59 +0000 (22:55 +0000)]
MCAP: Fix bugs in MCAP stack am:
b3a8dc2ece am:
76c828952b
am:
072b2734e4
Change-Id: Ic269878b285252c81cf0fb4d572497378805bc38
Jack He [Tue, 23 May 2017 22:53:34 +0000 (22:53 +0000)]
MCAP: Fix bugs in MCAP stack am:
b3a8dc2ece
am:
76c828952b
Change-Id: I82124c3cba4009b4f33d2188afd31e67cd6b98d8
Jack He [Tue, 23 May 2017 22:50:39 +0000 (22:50 +0000)]
MCAP: Fix bugs in MCAP stack
am:
b3a8dc2ece
Change-Id: I325234385a1b27cfdef45a785b09880b56570f93
Jack He [Thu, 18 May 2017 05:22:18 +0000 (22:22 -0700)]
MCAP: Fix bugs in MCAP stack
* Fix error response message for clock sync opcodes
* Fix error response message for CREATE_MDL opcode
* Fix logging in the MCAP stack
Bug:
37867299
Test: make, PTS MCAP test
Change-Id: I7a37ac04806bca20d732357f00b4761577b4be19
Jack He [Mon, 8 May 2017 00:27:47 +0000 (17:27 -0700)]
eSCO: Format changes to original vendor patch (4/5)
* Format changes to original vendor patch
* Re-order part of SCO creation code to improve readability
* Make log more concise and usefull
Bug:
19540029
Test: make, HFP PTS test, testplans/86884, testplans/87103
Change-Id: Ie0199519afb30f56568c04fef728fce44a172063
(cherry picked from commit
fe695a557a92053d4c44428ba08c0b8e945d4711)
Jack He [Mon, 8 May 2017 00:26:02 +0000 (17:26 -0700)]
eSCO: Additional fix to get eSCO working for HFP and HSP (3/5)
* Removed vendor specific call after codec negotiation and before eSCO
command is sent to Bluetooth chip
* Removed vendor specific call after a SCO connection is requested by
the peer
* Removed vendor specific save audio state methods
Bug:
19540029
Test: make, HFP PTS test, testplans/86884, testplans/87103
Change-Id: I899405a8eaa2f38ee0de04949c5288f9eefa74df
(cherry picked from commit
400ac497f45181d3c64f6a19687992de9b69b094)
Myles Watson [Fri, 10 Feb 2017 00:26:34 +0000 (16:26 -0800)]
eSCO: Remove BTM_WBS_INCLUDED from the stack (2/5)
All of our platforms support WBS.
Bug:
19540029
Test: make, HFP PTS test, testplans/86884, testplans/87103
Change-Id: I384d49f73935ebb35b17132e71c85174797c435e
(cherry picked from commit
3e634d6c1e83f053005c9abdbd89e662ad81c4d4)
Mudumba Ananth [Thu, 9 Feb 2017 17:05:48 +0000 (09:05 -0800)]
eSCO: BT 4.1 Enhanced SCO command (1/5)
Added support for BT 4.1 enhanced SCO feature on the stack.
This feature allows the stack to create a SCO connection with
remote device by using Hci_Enhanced_Setup_Synchronous_Connection
command after checking the controller (4.1) support for
enhanced SCO command.
Added the command parameters to use the command in both wide band
speech(WBS) and narrow band speech(NBS) scenarios.
Number of Broadcom vendor specific commands(VSCs)that are needed
to be sent to Broadcom controllers along with this command have
also been updated accordingly
NOTE: This change would also need a firmware patch for
the feature to work on Broadcom contollers which will
be delivered to Google in a separate change set.
Bug:
19540029
Test: make, HFP PTS test, testplans/86884, testplans/87103
Change-Id: I1014d81be5cbe91078a4484dd072ac3957bfdfe4
(cherry picked from commit
57f6508cf7b22788fa2e7a739cec241b785718fb)
Ajay Panicker [Mon, 22 May 2017 23:21:55 +0000 (23:21 +0000)]
Merge "Remove logspam when initializing logging for Bluetooth" into oc-dev am:
844269f438
am:
53e552f9d7
Change-Id: Id0d292635285ed25b53b740de10728fc5989f861
Ajay Panicker [Mon, 22 May 2017 23:21:28 +0000 (23:21 +0000)]
Remove logspam when adding GATT attributes am:
c2f4110f06
am:
06acccc051
Change-Id: I256ff87550a805b62d814d1a6f3e7a44e59dfc90
Ajay Panicker [Mon, 22 May 2017 23:13:41 +0000 (23:13 +0000)]
Merge "Remove logspam when initializing logging for Bluetooth" into oc-dev
am:
844269f438
Change-Id: Ia05bfd0fa7238dbad6b1c50edc4661fed36c3bad
Ajay Panicker [Mon, 22 May 2017 23:13:28 +0000 (23:13 +0000)]
Remove logspam when adding GATT attributes
am:
c2f4110f06
Change-Id: I186f6dc27a765ddda24af6a8c2a8b2a7c1cf7db7
Ajay Panicker [Mon, 22 May 2017 23:01:59 +0000 (23:01 +0000)]
Merge "Remove logspam when initializing logging for Bluetooth" am:
0e3621da9f am:
040a8c6a4e am:
1e70701ee3
am:
2a27fe5670
Change-Id: I38e36e1773e03b3ec97fe9aff58ec34647bea8a5
Ajay Panicker [Mon, 22 May 2017 23:01:40 +0000 (23:01 +0000)]
Remove logspam when adding GATT attributes am:
60177e01c4 am:
0c68aa7656 am:
4be48fe38a
am:
ec8de0f77f
Change-Id: I134eb38ae4ceac5327e7dbfb6eb09c139ede9426
TreeHugger Robot [Mon, 22 May 2017 22:54:35 +0000 (22:54 +0000)]
Merge "Remove logspam when initializing logging for Bluetooth" into oc-dev
Ajay Panicker [Mon, 22 May 2017 22:19:56 +0000 (22:19 +0000)]
Merge "Remove logspam when initializing logging for Bluetooth" am:
0e3621da9f am:
040a8c6a4e
am:
1e70701ee3
Change-Id: Ibadfa81f47b132a0beabf2fc31b7b8cc4aa8a6f0
Ajay Panicker [Mon, 22 May 2017 22:11:57 +0000 (22:11 +0000)]
Remove logspam when adding GATT attributes am:
60177e01c4 am:
0c68aa7656
am:
4be48fe38a
Change-Id: If5881fae94c5bc8df2160d2cab1bd34c02773bf5
Ajay Panicker [Mon, 22 May 2017 22:11:56 +0000 (22:11 +0000)]
Merge "Remove logspam when initializing logging for Bluetooth" am:
0e3621da9f
am:
040a8c6a4e
Change-Id: I8df73a5791ad79c9111d350efd6d38b9b20b9377
Ajay Panicker [Mon, 22 May 2017 22:03:56 +0000 (22:03 +0000)]
Merge "Remove logspam when initializing logging for Bluetooth"
am:
0e3621da9f
Change-Id: I37043759504c279eb9063df8dddfa35762843462
Ajay Panicker [Mon, 22 May 2017 22:03:56 +0000 (22:03 +0000)]
Remove logspam when adding GATT attributes am:
60177e01c4
am:
0c68aa7656
Change-Id: Iec79072ff63213b76330187af93e171beca133a8
Ajay Panicker [Mon, 22 May 2017 21:57:58 +0000 (21:57 +0000)]
Remove logspam when adding GATT attributes
am:
60177e01c4
Change-Id: I1f740dbf89ae5a2888a053d31d37d292748872e7