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 06:31:27 +0000 (23:31 -0700)
commit624ba681a63fa5ecf778b0b019735359654c6dd0
treec0f51bb3d48f3c363cb56e94dff6dceed69f816a
parent5e43c8035c6ac5067e78728688bb7e9b72b0dcfd
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
bta/av/bta_av_aact.cc
stack/l2cap/l2c_utils.cc