avdtp : Use kernel streaming mode 99/136499/1
authorSeungyoun Ju <sy39.ju@samsung.com>
Thu, 4 May 2017 10:21:10 +0000 (19:21 +0900)
committerSeungyoun Ju <sy39.ju@samsung.com>
Fri, 30 Jun 2017 04:12:19 +0000 (13:12 +0900)
commit658a751bc6462634cdcfd85f25d355deaf3d64a2
tree324d7523f4a35a5cafb9c0828917d16004e1b521
parenta04d3887f31247703972db989889849a594bfe1d
avdtp : Use kernel streaming mode

[Problem] If BT controller's buffer is occupied by another profile
 such as OPP or SPP, and it is blocked due to RF condition,
 A2DP packets for another device couldn't be sent properly.
 It causes the A2DP chopping issue because it does not have
 available buffer though RF is available.

[Cause & Measure] HCI buffer is limited but another tx requests occupy it.
 It causes audio sreaming packet delay.
 Because of this issue, streaming mode has been implemented in Kernel.
 This patch uses that feature as per avdtp state.

[Checking Method] Connect Bluetooth headset to DUT -> Play Music on DUT ->
 Install watchface on DUT or send some files from DUT to other remote device ->
 Observe BT audio quality

Change-Id: Ia00fa75b2ab6bd90f0373ad1605cabf5a5aa305e
lib/mgmt.h
profiles/audio/avdtp.c
src/adapter.c
src/adapter.h