Bluetooth: Fix enhance audio streaming chopping issue 07/137507/5
authorHyuk Lee <hyuk0512.lee@samsung.com>
Thu, 6 Jul 2017 07:26:01 +0000 (16:26 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 6 Jul 2017 07:51:56 +0000 (16:51 +0900)
commitf4ddcd874b721c15a7c35c1d662efa1841f6855e
tree2546f8072378bae905110e1bfb1c02f857ae6986
parent204f97319f98efb9b091d3d47116c0c3ec8b9dc3
Bluetooth: Fix enhance audio streaming chopping issue

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
couldn't be sent properly. It causes the A2DP chopping issue.
It is because HCI buffer is limited but another tx requests
occupy it and audio streaming packet delay is occurred. So this
patch reserves some HCI buffer for A2DP to guarantee A2DP QoS
better.

Change-Id: I9e2e1fc718cfa6b65dcd0e3aa4439ccce4da99a2
Signed-off-by: Seungyoun Ju <sy39.ju@samsung.com>
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
include/net/bluetooth/hci_core.h
include/net/bluetooth/mgmt_tizen.h
net/bluetooth/hci_conn.c
net/bluetooth/hci_core.c
net/bluetooth/hci_event.c
net/bluetooth/mgmt.c