commit | 828176bde643cbfe967ae2281627cda53efe61ef | [log] [tgz] |
---|---|---|
author | Lulu Wang <luluwang@google.com> | Tue Mar 28 18:16:14 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 28 18:16:14 2023 +0000 |
tree | a8583d67ee383d8ccf862e3a3a9fe1f535b2f0be | |
parent | 46e691cb85947cbbd3bb6aa9e61a8c448a1dd2dd [diff] |
[bt][l2cap] Queue ACL Data Packets in Logical Link Channels instead of AclDataChannel * Register and unregister logical link connections with AclDataChannel * L2CAP channels each have an outbound packet queue * LogicalLink polls for new packets to send when they become available * Use round robin scheduling to rotate through links and channels to send packets to AclDataChannel to avoid channel starvation * Update and add new unit tests Bug: 113050 Test: fx test //src/connectivity/bluetooth/core/bt-host Manual Testing: Setup and started A2DP source on test device, ran bt-le-peripheral --connect --name HELLO and bt-le-heart-rate-peripheral, used LightBlue app on iPhone to read/write characteristics to heart rate peripheral while audio was playing from device to Bose speaker Change-Id: I78d0de51ee3d1313e536b88289cd9afa921cc6d9 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/787760 Reviewed-by: Ben Lawson <benlawson@google.com> Commit-Queue: Lulu Wang <luluwang@google.com> Reviewed-by: Faraaz Sareshwala <fsareshwala@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.