OSDN Git Service

Set the A2DP media channel as a high priority L2CAP link
authorBen YoungTae Kim <ytkim@codeaurora.org>
Tue, 20 Jun 2017 13:56:08 +0000 (19:26 +0530)
committerPavlin Radoslavov <pavlin@google.com>
Wed, 28 Jun 2017 17:53:46 +0000 (10:53 -0700)
commit78444b92460f722d936d9d335efd5bae677354d5
treef2ea83c00e9aa016d319b5db336c1e31909b6d58
parent1fb2b0651e722964c908caf3b03fa0216790ec29
Set the A2DP media channel as a high priority L2CAP link

Use dynamic ACL buffer allocation for high priority links:
1. Ensure dedicated ACL buffers for high priority links
2. Adjust buffer allocation if the priority of the link changes

Test: Manually tested with 4 HID devices and A2DP streaming scenario
Bug: 30787081
Change-Id: Id3c4a76e360aee322e9f8073bd399807e7987990
(cherry picked from commit 624ba681a63fa5ecf778b0b019735359654c6dd0)
bta/av/bta_av_aact.cc
stack/l2cap/l2c_utils.cc