OSDN Git Service
zzy [Tue, 14 May 2013 20:25:21 +0000 (13:25 -0700)]
am
7cc4a7e9: am
ebef4763: Added available size check to fix zero byte data available issue
* commit '
7cc4a7e9c97eba4990af3c4cecb0b950f7eca204':
Added available size check to fix zero byte data available issue
zzy [Tue, 14 May 2013 20:23:29 +0000 (13:23 -0700)]
am
ebef4763: Added available size check to fix zero byte data available issue
* commit '
ebef4763b36b05370d13dfd27c4fcaa9095dbeff':
Added available size check to fix zero byte data available issue
zzy [Tue, 14 May 2013 00:34:41 +0000 (17:34 -0700)]
Added available size check to fix zero byte data available issue
Bug
8950703
rfcomm connection failed in case zero byte data available
Mattias Agren [Fri, 10 May 2013 22:16:50 +0000 (15:16 -0700)]
am
83ecfd88: am
5fd74f06: Stability fixes for a2dp hal control path
* commit '
83ecfd882bec4f5761c4114c571b170c5a9376db':
Stability fixes for a2dp hal control path
Mattias Agren [Fri, 10 May 2013 19:48:44 +0000 (12:48 -0700)]
am
5fd74f06: Stability fixes for a2dp hal control path
* commit '
5fd74f06caab4324d0ba69df86ad5170c072ec64':
Stability fixes for a2dp hal control path
Mattias Agren [Fri, 5 Apr 2013 17:04:35 +0000 (19:04 +0200)]
Stability fixes for a2dp hal control path
Ensure av statemachine is preventing a2dp hal to restart the stream
when not ready. This prevents ending up in a scenario where a2dp hal
locks up. Code cleanup.
bug
7002859
Change-Id: I3f3eeaab4ca185733b8b0042ed2cfa701f76a203
Matthew Xie [Fri, 10 May 2013 00:09:28 +0000 (17:09 -0700)]
am
e1405531: am
e915116a: Merge "Solve compilation problem when BLE/GATT/SMP features are false" into jb-mr2-dev
* commit '
e1405531f637a3851371a2a2c624ff3db5e074fa':
Solve compilation problem when BLE/GATT/SMP features are false
Matthew Xie [Thu, 9 May 2013 23:23:34 +0000 (16:23 -0700)]
am
e915116a: Merge "Solve compilation problem when BLE/GATT/SMP features are false" into jb-mr2-dev
* commit '
e915116a24142955edbc40a0e380b4828957c762':
Solve compilation problem when BLE/GATT/SMP features are false
YK Jeffrey Chao [Thu, 9 May 2013 21:19:58 +0000 (14:19 -0700)]
am
f71a3f66: am
67e4077c: New call-in/-back functions for Controller to do vendor-specific shutdown (1/2)
* commit '
f71a3f6695cf7f8c605c0ee5fb3623990c9d2e9b':
New call-in/-back functions for Controller to do vendor-specific shutdown (1/2)
Matthew Xie [Thu, 9 May 2013 21:10:48 +0000 (21:10 +0000)]
Merge "Solve compilation problem when BLE/GATT/SMP features are false" into jb-mr2-dev
YK Jeffrey Chao [Thu, 9 May 2013 19:46:32 +0000 (12:46 -0700)]
am
67e4077c: New call-in/-back functions for Controller to do vendor-specific shutdown (1/2)
* commit '
67e4077c23bb9cc045885ae01cc83b38faecb71b':
New call-in/-back functions for Controller to do vendor-specific shutdown (1/2)
YK Jeffrey Chao [Tue, 7 May 2013 23:28:52 +0000 (16:28 -0700)]
New call-in/-back functions for Controller to do vendor-specific shutdown (1/2)
A pair of asynchronous call-in and call-back API are added into the Host
Controller Vendor Lib interface (bt_vendor_lib.h). The caller calls this new
call-in function to inform the vendor module to perform vendor-specific
shutdown process (e.g. send HCI_RESET to BT Controller) before the caller calls
for interface cleanup() function. The vendor module is responsible for calling
call-back function to notify the caller completion of vendor-specific shutdown
process.
bug
7390787
Change-Id: I29e3c94ff78e17cdd7a06b44ae537e3b0ad1516d
Matthew Xie [Tue, 7 May 2013 03:51:02 +0000 (20:51 -0700)]
Solve compilation problem when BLE/GATT/SMP features are false
bug
8664724
Change-Id: I582846ccf4b8995f298d8db533488fceb7993ae3
Ganesh Ganapathi Batta [Wed, 8 May 2013 22:03:18 +0000 (15:03 -0700)]
am
ca6f7b39: am
ed049d78: Remove role adjustment logic from Conn busy/idle handler
* commit '
ca6f7b39b499811667f475d7e967b9e454ecb863':
Remove role adjustment logic from Conn busy/idle handler
Matthew Xie [Wed, 8 May 2013 22:03:13 +0000 (15:03 -0700)]
am
2731808c: am
88c66598: Merge "Fix a bug on jv and stack port handle conversion" into jb-mr2-dev
* commit '
2731808c048bb9f2d9f8a911971f018bfa2e243b':
Fix a bug on jv and stack port handle conversion
Ganesh Ganapathi Batta [Tue, 7 May 2013 22:10:08 +0000 (15:10 -0700)]
am
ed049d78: Remove role adjustment logic from Conn busy/idle handler
* commit '
ed049d78633d33d4fbb3178dacfa6edbb756ae45':
Remove role adjustment logic from Conn busy/idle handler
Ganesh Ganapathi Batta [Fri, 12 Apr 2013 18:57:50 +0000 (11:57 -0700)]
Remove role adjustment logic from Conn busy/idle handler
Each call into connection busy/idle handler should not result in
Role adjustments except for AV profiles.
Bug:
8322094
Change-Id: I1eba2c428e877772614052396315c6f0467d3378
Matthew Xie [Tue, 7 May 2013 21:30:48 +0000 (14:30 -0700)]
am
88c66598: Merge "Fix a bug on jv and stack port handle conversion" into jb-mr2-dev
* commit '
88c665988c7ae5e1a6dadd4df944b49cff1d1fca':
Fix a bug on jv and stack port handle conversion
Matthew Xie [Tue, 7 May 2013 21:28:22 +0000 (21:28 +0000)]
Merge "Fix a bug on jv and stack port handle conversion" into jb-mr2-dev
Matthew Xie [Mon, 6 May 2013 07:55:08 +0000 (00:55 -0700)]
Fix a bug on jv and stack port handle conversion
bug
8755557
Change-Id: Id639677aa4bc6322fed0eb1a842d1155cdcdd5fc
Kausik Sinnaswamy [Mon, 6 May 2013 23:20:37 +0000 (16:20 -0700)]
am
91409af5: am
95664a9a: Fix for SDP data structure leak during pairing
* commit '
91409af50ebd2e7590b8e2463e1d06ac13f00e18':
Fix for SDP data structure leak during pairing
Kausik Sinnaswamy [Mon, 6 May 2013 18:12:05 +0000 (11:12 -0700)]
am
95664a9a: Fix for SDP data structure leak during pairing
* commit '
95664a9acc57b5e51365454f26d2fac0f2e1ecd4':
Fix for SDP data structure leak during pairing
Kausik Sinnaswamy [Fri, 3 May 2013 09:32:50 +0000 (15:02 +0530)]
Fix for SDP data structure leak during pairing
During pairing, bluedroid initiates a SDP request to search services.
Upon SDP completion, some data structure buffers were not returned to
the pool resulting in leak.
Bug :
8797456
Change-Id: Ic512fd22ca6b8b748c5b92c02e24016fe785c0b1
Zhihai Xu [Wed, 1 May 2013 17:35:50 +0000 (10:35 -0700)]
am
53914252: am
2154e12e: BT problems in Acura MDX
* commit '
53914252237e0d07c94ff7e90f0bc0f85df15e56':
BT problems in Acura MDX
Zhihai Xu [Wed, 1 May 2013 17:33:02 +0000 (10:33 -0700)]
am
2154e12e: BT problems in Acura MDX
* commit '
2154e12efeec88780933d47b3c3686ff9f6fe84d':
BT problems in Acura MDX
Zhihai Xu [Wed, 1 May 2013 01:29:53 +0000 (18:29 -0700)]
BT problems in Acura MDX
problem2 unexpected beep from carkit during ringing.
The root cause is
the interval between the ring alert is 10 seconds. it is too long
for the carkit which trigger the beep from the carkit. After I
change the inteval to 5 seconds, no unexpected beep from the carkit.
issue
8720373
Change-Id: I6f1cc1faba27e61c80b31c63b6673436e003b117
Matthew Xie [Tue, 30 Apr 2013 15:54:25 +0000 (08:54 -0700)]
am
f431832b: am
b05c0190: Merge "LE: Fix shared ACL buffer allocation" into jb-mr2-dev
* commit '
f431832b9d03cf9fc44dfcb7a0d2848228007a05':
LE: Fix shared ACL buffer allocation
Andre Eisenbach [Tue, 30 Apr 2013 15:54:24 +0000 (08:54 -0700)]
am
9427be7e: am
2d41fe1c: LE: Disable L2CAP connection parameter update during pairing
* commit '
9427be7ee2996e46d0a4b52252ad17e1c2f149c7':
LE: Disable L2CAP connection parameter update during pairing
Matthew Xie [Mon, 29 Apr 2013 23:08:47 +0000 (16:08 -0700)]
am
b05c0190: Merge "LE: Fix shared ACL buffer allocation" into jb-mr2-dev
* commit '
b05c0190b55369618c968b27ea406f9660bfa4ed':
LE: Fix shared ACL buffer allocation
Andre Eisenbach [Mon, 29 Apr 2013 23:08:47 +0000 (16:08 -0700)]
am
2d41fe1c: LE: Disable L2CAP connection parameter update during pairing
* commit '
2d41fe1c5dbac701a074eec272545439168930a7':
LE: Disable L2CAP connection parameter update during pairing
Matthew Xie [Mon, 29 Apr 2013 23:06:32 +0000 (23:06 +0000)]
Merge "LE: Fix shared ACL buffer allocation" into jb-mr2-dev
Andre Eisenbach [Wed, 17 Apr 2013 03:22:58 +0000 (11:22 +0800)]
LE: Disable L2CAP connection parameter update during pairing
Some peripherals change the connection parameters during the pairing
procedure. Ideally when service discovery is started, connection
parameters are reset to default values. In instances where the
connection update fails, service discovery takes a very long time and
may result in a GATT application not receiving a connection status
update.
Disabling connection paramter update during service discovery ensures
a quick service discovery and improves interoperability.
Bug:
8714594
Change-Id: I2177e57bf250b99e314a1b020cd0fadbd480214e
Andre Eisenbach [Wed, 24 Apr 2013 23:02:04 +0000 (16:02 -0700)]
LE: Fix shared ACL buffer allocation
Allocate a static amount of LE buffers for chipsets that do not provide
separate ACL buffers for LE and BR/EDR.
Bug:
8714387
Change-Id: I74e954c0824ddfd89b50c14f6848db787f9b9bff
Priti Aghera [Wed, 24 Apr 2013 17:45:17 +0000 (10:45 -0700)]
am
f9020d0d: am
f8f30c2c: HDP fix for Single SDP record
* commit '
f9020d0de5c8ade5fab86b26979620aac4f67dc9':
HDP fix for Single SDP record
Priti Aghera [Wed, 24 Apr 2013 17:31:10 +0000 (10:31 -0700)]
am
f8f30c2c: HDP fix for Single SDP record
* commit '
f8f30c2cecf221b2c3983b72d5a849d799c39dd7':
HDP fix for Single SDP record
Priti Aghera [Tue, 2 Apr 2013 22:31:19 +0000 (15:31 -0700)]
HDP fix for Single SDP record
Modified stack code to support single SDP record
for each register app call.
bug
8656462
Change-Id: I92570243306d5c1ca8339042eba5733e43fdb72c
Matthew Xie [Thu, 18 Apr 2013 18:37:13 +0000 (11:37 -0700)]
am
c11b7d75: am
f5391070: Merge "LE (2/3): Add application ID to connection callback" into jb-mr2-dev
* commit '
c11b7d7598516783083970d17d52be0d1d75bcc4':
LE (2/3): Add application ID to connection callback
Matthew Xie [Thu, 18 Apr 2013 18:33:22 +0000 (11:33 -0700)]
am
f5391070: Merge "LE (2/3): Add application ID to connection callback" into jb-mr2-dev
* commit '
f5391070cbb1f3c66db34cef8501f2754cecc1e6':
LE (2/3): Add application ID to connection callback
Matthew Xie [Thu, 18 Apr 2013 18:31:27 +0000 (18:31 +0000)]
Merge "LE (2/3): Add application ID to connection callback" into jb-mr2-dev
Ganesh Ganapathi Batta [Thu, 18 Apr 2013 17:13:47 +0000 (10:13 -0700)]
am
0ad97e95: am
c9053e64: Proper management of controller ACL buffers.
* commit '
0ad97e95708b449b966d8dab4177181dbad6d6b9':
Proper management of controller ACL buffers.
Ganesh Ganapathi Batta [Thu, 18 Apr 2013 17:10:32 +0000 (10:10 -0700)]
am
c9053e64: Proper management of controller ACL buffers.
* commit '
c9053e64bd3383ea971582b4395fab9d5d614503':
Proper management of controller ACL buffers.
Ganesh Ganapathi Batta [Tue, 16 Apr 2013 18:57:07 +0000 (11:57 -0700)]
Proper management of controller ACL buffers.
Reclaim all the unacknowledged controller ACL buffers associated
with a L2CAP link when L2CAP control block is released.
Bug:
8589069
Change-Id: Icef1646041e73280a13dedc7a45564d032c59712
Zhihai Xu [Wed, 17 Apr 2013 18:21:21 +0000 (11:21 -0700)]
am
65d545e7: am
74b82639: Merge "Audio glitches while playing songs over MOTO S305 headset" into jb-mr2-dev
* commit '
65d545e78e2ba79074f54d0e31ecbe4cc349263e':
Audio glitches while playing songs over MOTO S305 headset
Zhihai Xu [Wed, 17 Apr 2013 18:18:17 +0000 (11:18 -0700)]
am
74b82639: Merge "Audio glitches while playing songs over MOTO S305 headset" into jb-mr2-dev
* commit '
74b826399b0ce0d13e8cea3e44c058495b3d6abc':
Audio glitches while playing songs over MOTO S305 headset
Zhihai Xu [Wed, 17 Apr 2013 18:13:40 +0000 (18:13 +0000)]
Merge "Audio glitches while playing songs over MOTO S305 headset" into jb-mr2-dev
YK Jeffrey Chao [Wed, 17 Apr 2013 17:43:41 +0000 (10:43 -0700)]
am
1f961c73: am
2e5a95d3: Change the log display API called in the BT PAN call-out functions
* commit '
1f961c73d2281c29c745d00fe773b9cec0035276':
Change the log display API called in the BT PAN call-out functions
YK Jeffrey Chao [Wed, 17 Apr 2013 17:16:52 +0000 (10:16 -0700)]
am
2e5a95d3: Change the log display API called in the BT PAN call-out functions
* commit '
2e5a95d39f6c131142610d10f395aeeea4df5acf':
Change the log display API called in the BT PAN call-out functions
Andre Eisenbach [Wed, 10 Apr 2013 18:20:36 +0000 (11:20 -0700)]
LE (2/3): Add application ID to connection callback
Bug:
8589393
Change-Id: Ib5c34ce1cddb0e32ad08ac3cbdeaa74cd8514f81
YK Jeffrey Chao [Tue, 16 Apr 2013 22:39:28 +0000 (15:39 -0700)]
Change the log display API called in the BT PAN call-out functions
Replace the ALOGD calls with BTIF_TRACE_DEBUG/API calls to control
log output through TRC_BTIF setting in bt_stack.conf at run-time.
bug
7893834
Change-Id: Ia24e87abc13272d61c0b1785685b71a8aabdb34e
Zhihai Xu [Wed, 17 Apr 2013 00:58:43 +0000 (17:58 -0700)]
Audio glitches while playing songs over MOTO S305 headset
The MOTO S305 doesn't support read remote extended features command.
The fix is we should always use ReadRemoteSupportedFeaturesCommand at first,
Only send ReadRemoteExtendedFeaturesCommand if extend features are supported
by remote device.
issue
8618753
Change-Id: Id6d9c0e712dc892bcfca20336d1290b9443213ac
Ganesh Ganapathi Batta [Tue, 16 Apr 2013 21:13:16 +0000 (14:13 -0700)]
am
52eb4f3d: am
33af35c4: Fix for Nyko playpad
* commit '
52eb4f3d971d59e8b5f015c870e92a15a591fd55':
Fix for Nyko playpad
Ganesh Ganapathi Batta [Tue, 16 Apr 2013 21:09:06 +0000 (14:09 -0700)]
am
33af35c4: Fix for Nyko playpad
* commit '
33af35c49731bc8e305c862c8e9f3e42a1ab0dc9':
Fix for Nyko playpad
Ganesh Ganapathi Batta [Tue, 9 Apr 2013 23:33:31 +0000 (16:33 -0700)]
Fix for Nyko playpad
Nyko playpad does not cmply with HID Device spec. NYKO gamepad
advertises as supporting virtual unplug but when virtual is sent
by host it responds with ERR_UNSUPPORTED_REQUEST. Modified BTIF
code to start a timer when VUP is issued and fire the timer if peer
does not respond.
Bug:
8055549
Change-Id: I90db956fb243f1a518b00424b103ebf9f0a1b7f0
The Android Open Source Project [Mon, 15 Apr 2013 17:49:00 +0000 (10:49 -0700)]
am
6da13cd2: Reconcile with jb-mr2-release - do not merge
* commit '
6da13cd23b31b43c9258be1413a4df3c7ce12776':
Make host side of Read Local/Remote Extended Features more reliable
The Android Open Source Project [Mon, 15 Apr 2013 17:46:01 +0000 (10:46 -0700)]
Reconcile with jb-mr2-release - do not merge
Change-Id: Ic568762f0902a0c814109a0f40938606e50f0dfe
Ganesh Ganapathi Batta [Thu, 11 Apr 2013 23:13:14 +0000 (16:13 -0700)]
Make host side of Read Local/Remote Extended Features more reliable
Issue Ext feature request only if the local controller supports
the command. Fall back to read remote feature command,
if the extended feature request fails
Bug:
8591628
Change-Id: I744d9845c04b30d2dca1fd491fea49616adbb2d7
Ganesh Ganapathi Batta [Fri, 12 Apr 2013 18:03:19 +0000 (11:03 -0700)]
am
9d140a9d: Make host side of Read Local/Remote Extended Features more reliable
* commit '
9d140a9dc432e457a0437920d5f84c22e3baea0d':
Make host side of Read Local/Remote Extended Features more reliable
Ganesh Ganapathi Batta [Thu, 11 Apr 2013 23:13:14 +0000 (16:13 -0700)]
Make host side of Read Local/Remote Extended Features more reliable
Issue Ext feature request only if the local controller supports
the command. Fall back to read remote feature command,
if the extended feature request fails
Bug:
8591628
Change-Id: I744d9845c04b30d2dca1fd491fea49616adbb2d7
Ying Wang [Wed, 10 Apr 2013 05:25:14 +0000 (22:25 -0700)]
am
2c7778fd: Merge "Add liblog" into jb-mr2-dev
* commit '
2c7778fd055025367f96dca357dcf46e6fcd46cb':
Add liblog
Ying Wang [Wed, 10 Apr 2013 05:13:33 +0000 (05:13 +0000)]
Merge "Add liblog" into jb-mr2-dev
Ying Wang [Wed, 10 Apr 2013 04:46:47 +0000 (21:46 -0700)]
Add liblog
Bug:
8580410
Change-Id: I3475705985b5db2cd3a640f8bc0ef173378edad2
Matthew Xie [Wed, 10 Apr 2013 00:25:32 +0000 (17:25 -0700)]
am
c2bb2c13: Read the extended feature after ACL channel creation
* commit '
c2bb2c13030b2b48b861eac31f4eb134975fa8c5':
Read the extended feature after ACL channel creation
Matthew Xie [Tue, 9 Apr 2013 18:26:08 +0000 (11:26 -0700)]
Read the extended feature after ACL channel creation
This problem was introduced by Bluetooth stack merge.
bug
8521185
Change-Id: I9191c639e96382a452cf0fe336d5a9ef5b5f0f4a
Ganesh Ganapathi Batta [Mon, 8 Apr 2013 19:55:37 +0000 (12:55 -0700)]
am
2f338f25: BT: JV rfcomm socket sniff support
* commit '
2f338f25530d2aaab7acf45701c271d10b81d96d':
BT: JV rfcomm socket sniff support
Ganesh Ganapathi Batta [Sun, 24 Mar 2013 02:11:59 +0000 (03:11 +0100)]
BT: JV rfcomm socket sniff support
Bug:
8322094
Change-Id: Ib472f39488b685ac396289e65c1da21fdfd93c4c
Ganesh Ganapathi Batta [Mon, 8 Apr 2013 19:17:12 +0000 (12:17 -0700)]
am
7ffe8967: Proper handling of HCI command status event
* commit '
7ffe8967a9774280b88655e28bda2206dc75af34':
Proper handling of HCI command status event
Matthew Xie [Mon, 8 Apr 2013 19:13:45 +0000 (12:13 -0700)]
am
e154aba5: Merge "Fix typo around BLE_INCLUDED inclusion bug
8566685" into jb-mr2-dev
* commit '
e154aba52b54dda214bf31ecc383159faf0a6f3f':
Fix typo around BLE_INCLUDED inclusion bug
8566685
Ganesh Ganapathi Batta [Fri, 5 Apr 2013 20:42:42 +0000 (13:42 -0700)]
Proper handling of HCI command status event
Loop through pending command Queue to find a match for
command status evt opcode
Bug:
8186156
Change-Id: Ic95ed3834695fb84a8c0617ec601896f044b0f3c
Matthew Xie [Mon, 8 Apr 2013 19:05:03 +0000 (19:05 +0000)]
Merge "Fix typo around BLE_INCLUDED inclusion bug
8566685" into jb-mr2-dev
Ganesh Ganapathi Batta [Mon, 8 Apr 2013 15:32:01 +0000 (08:32 -0700)]
Fix typo around BLE_INCLUDED inclusion
bug
8566685
Change-Id: I173fedb711c16e8adc3d0d7aaebd08bac6de9d02
Matthew Xie [Fri, 5 Apr 2013 21:37:54 +0000 (21:37 +0000)]
Merge "Save the HID info into storage while adding device"
Priti Aghera [Fri, 29 Mar 2013 00:27:12 +0000 (17:27 -0700)]
Save the HID info into storage while adding device
Previously HID device info was not saved immediately to NVRAM, thus
when device was rebooted sometimes the hid information was missing
from NVRAM, thus host does not identify the HID Device
bug
8192743
Change-Id: I7ca8b607399e141fa851242e83c1c6d3854384f8
Andre Eisenbach [Fri, 5 Apr 2013 00:34:32 +0000 (17:34 -0700)]
am
946c681e: Fix LE background connections not adding device to white-list.
* commit '
946c681e59451164b343b7ab9415aa73b0d176bc':
Fix LE background connections not adding device to white-list.
Andre Eisenbach [Thu, 4 Apr 2013 21:53:04 +0000 (14:53 -0700)]
Fix LE background connections not adding device to white-list.
Also changed maximum number of client applications to 32.
Change-Id: Id4697924b211330e231b36d7f89ca9d89b54117f
Andre Eisenbach [Wed, 3 Apr 2013 22:08:30 +0000 (15:08 -0700)]
am
4c433bea: LE: Avoid LE connection to a non-LE device
* commit '
4c433beabd1f81b17bb49fb9b57925caef8613a3':
LE: Avoid LE connection to a non-LE device
Andre Eisenbach [Wed, 3 Apr 2013 22:03:49 +0000 (15:03 -0700)]
am
0082e027: Fix LE buffer size for 0 length buffers
* commit '
0082e027d5ae3f45a3a613ed720c31e35f61d0eb':
Fix LE buffer size for 0 length buffers
Andre Eisenbach [Mon, 1 Apr 2013 17:27:47 +0000 (10:27 -0700)]
LE: Avoid LE connection to a non-LE device
During device inquiry, an LE connection to a non-LE device may be
triggered to discover the remote connection parameters. This fix adds
device type checking to prevent LE connections to non-LE devices.
Change-Id: I9e34642e7503b1c87a8eb06ec854843f7be263b2
Andre Eisenbach [Wed, 3 Apr 2013 20:56:05 +0000 (13:56 -0700)]
Fix LE buffer size for 0 length buffers
If the local chip reports 0 LE data buffers and 0 LE ACL data package
length, then the default ACL buffer length as returned byt the
Read_Buffer_Size command is to be used instead.
Change-Id: I953fabe426a98cc1b005d3b46c3e7f227c23a686
Ravi Nagarajan [Tue, 2 Apr 2013 18:19:01 +0000 (11:19 -0700)]
am
b88fc6cb: Add support for PLAY_POS_CHANGED
* commit '
b88fc6cb5636c4af17077502fe3313ffb32d93ee':
Add support for PLAY_POS_CHANGED
Ravi Nagarajan [Tue, 2 Apr 2013 14:11:14 +0000 (07:11 -0700)]
Add support for PLAY_POS_CHANGED
Enable PLAY_POS_CHANGED support in get capabilities
Change-Id: I8f41209fe5be5345826136f14434488524e7b1bb
Ravi Nagarajan [Tue, 2 Apr 2013 18:03:51 +0000 (11:03 -0700)]
am
841e5b50: Reject element attribute request if count is 0xff
* commit '
841e5b5092bcdbc1acffd6cf7255ec423fe15fdb':
Reject element attribute request if count is 0xff
Zhihai Xu [Tue, 2 Apr 2013 18:03:51 +0000 (11:03 -0700)]
am
3bfd7b73: need free the buffer to avoid memory leakage when send Avrcp packet
* commit '
3bfd7b73886c44505ba56894ee6f3c914eb54409':
need free the buffer to avoid memory leakage when send Avrcp packet
Zhihai Xu [Tue, 2 Apr 2013 18:03:51 +0000 (11:03 -0700)]
am
081d6e54: need send reject response to unsupported Avrcp 1.3 command
* commit '
081d6e548bed5a91c0ba9abda518c06a1b0ba7f5':
need send reject response to unsupported Avrcp 1.3 command
Ravi Nagarajan [Fri, 22 Mar 2013 11:16:57 +0000 (04:16 -0700)]
Reject element attribute request if count is 0xff
Updates from review. BTRC_MAX_ELEM_ATTR_SIZE set back to 7 and handled
invalid attribute count (oxff) in BTIF
Change-Id: Id2610c7882c4bc8aca04491d81b9b2c35f0682d0
Zhihai Xu [Sat, 30 Mar 2013 00:33:57 +0000 (17:33 -0700)]
need free the buffer to avoid memory leakage when send Avrcp packet
Change-Id: I08b66a2dc779fef1e79d74209058223dcc5e4396
Zhihai Xu [Sat, 30 Mar 2013 00:27:01 +0000 (17:27 -0700)]
need send reject response to unsupported Avrcp 1.3 command
Without this change, some carkit will stuch waiting for response and crash.
Change-Id: I710f69077e400830a9cedd540bef5d51dc468272
Andre Eisenbach [Tue, 26 Mar 2013 19:17:55 +0000 (12:17 -0700)]
am
3aa60544: Parse LMP features to enable LE support
* commit '
3aa60544585b5fb0f35c1165539a4a859fc0f25c':
Parse LMP features to enable LE support
Andre Eisenbach [Sat, 23 Mar 2013 01:00:51 +0000 (18:00 -0700)]
Parse LMP features to enable LE support
Only send LE commands if the local Bluetooth radio supports LE.
Improved remote feature parsing by reading extended features. Before
this change, only the first page of the features was parsed.
bug
8332905
Change-Id: I0b90771dcfc453efea157f463b9df006e0178609
Zhihai Xu [Thu, 21 Mar 2013 16:52:54 +0000 (16:52 +0000)]
am
1f9a190b: Merge "Initial version of Stack for AVRCP 1.3" into jb-mr2-dev
* commit '
1f9a190b457f6a0e8effd47998014cb724fdb085':
Initial version of Stack for AVRCP 1.3
Zhihai Xu [Thu, 21 Mar 2013 16:48:01 +0000 (16:48 +0000)]
Merge "Initial version of Stack for AVRCP 1.3" into jb-mr2-dev
Ravi Nagarajan [Wed, 6 Mar 2013 13:29:48 +0000 (05:29 -0800)]
Initial version of Stack for AVRCP 1.3
BTIF and stack changes for supporting AVRCP 1.3
Change-Id: Id02eb7b6a385683cedc41c62b6f829f5d7620bd4
Andre Eisenbach [Thu, 14 Mar 2013 19:56:35 +0000 (19:56 +0000)]
Andre Eisenbach [Wed, 13 Feb 2013 08:02:11 +0000 (17:02 +0900)]
LE fixes
- Null pointer exception check added.
An exception occurs at the memcpy in the bta_dm_gatt_disc_result.
User removed the battery on Ble device(Smart Nudge) during bonding
and connection. This exception occurs sometimes.
I used Broadcom LE Explorer to reproduce it.
- Fixed disconnect and encryption behaviour
Disconnect will now disconnect the physical link immediately when no
other application is interested in the device anymore. Also, the
connection to a remote device is now dropped if encryption fails.
- Deep copy buffers when transfering context
Certain BTA server event types require a deep copy of the request
data buffers when transfering context. Shallow copy of the pointers
involved may cause a crash when overlapping read and write requests
are received.
- 2nd encryption has not started
need to send encryption complete callback
when the encryption fail due to link drop without a complete event.
Otherwise BTA layer would not be able to clean up the status,
and no further encryption can be started.
Change-Id: If93e0a188e8779830c8991e4193b96dc95e23e5d
Andre Eisenbach [Wed, 13 Feb 2013 08:02:11 +0000 (17:02 +0900)]
LE fixes
- Null pointer exception check added.
An exception occurs at the memcpy in the bta_dm_gatt_disc_result.
User removed the battery on Ble device(Smart Nudge) during bonding
and connection. This exception occurs sometimes.
I used Broadcom LE Explorer to reproduce it.
- Fixed disconnect and encryption behaviour
Disconnect will now disconnect the physical link immediately when no
other application is interested in the device anymore. Also, the
connection to a remote device is now dropped if encryption fails.
- Deep copy buffers when transfering context
Certain BTA server event types require a deep copy of the request
data buffers when transfering context. Shallow copy of the pointers
involved may cause a crash when overlapping read and write requests
are received.
- 2nd encryption has not started
need to send encryption complete callback
when the encryption fail due to link drop without a complete event.
Otherwise BTA layer would not be able to clean up the status,
and no further encryption can be started.
Change-Id: If93e0a188e8779830c8991e4193b96dc95e23e5d
Conley Owens [Mon, 11 Mar 2013 21:16:53 +0000 (14:16 -0700)]
am
04c1c088: am
c30f9355: Merge "Remove bluedroid configuration warning"
* commit '
04c1c0883c0833f5cd1190446baa58d6c04018da':
Remove bluedroid configuration warning
Conley Owens [Mon, 11 Mar 2013 21:15:44 +0000 (14:15 -0700)]
am
c30f9355: Merge "Remove bluedroid configuration warning"
* commit '
c30f9355997082a7a3479e8b21f0440bb822c4ac':
Remove bluedroid configuration warning
Conley Owens [Mon, 11 Mar 2013 20:41:59 +0000 (20:41 +0000)]
Merge "Remove bluedroid configuration warning"
Conley Owens [Tue, 5 Mar 2013 23:42:03 +0000 (15:42 -0800)]
Remove bluedroid configuration warning
This warning is fired on every full-eng build. It seems excessive
given that there are very few other warning fired on a full-eng build
and 0 seems like a reasonable goal to shoot for.
Change-Id: I2fb2b5342dee35b3ed05343466309f6c335022ef
Nick Kralevich [Thu, 28 Feb 2013 23:18:44 +0000 (23:18 +0000)]
am
93a2edbf: am
6c1b8172: Merge "bluedroid: use correct header file."
* commit '
93a2edbfe42df2dbeb436e0a2a5278367f6d5381':
bluedroid: use correct header file.
Nick Kralevich [Thu, 28 Feb 2013 23:17:20 +0000 (15:17 -0800)]
am
6c1b8172: Merge "bluedroid: use correct header file."
* commit '
6c1b8172756dc99348bf87b8d19e44e88bb1c57e':
bluedroid: use correct header file.