[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>
29 files changed
tree: a8583d67ee383d8ccf862e3a3a9fe1f535b2f0be
  1. boards/
  2. build/
  3. bundles/
  4. docs/
  5. examples/
  6. products/
  7. scripts/
  8. sdk/
  9. src/
  10. third_party/
  11. tools/
  12. zircon/
  13. .clang-format
  14. .clang-tidy
  15. .editorconfig
  16. .git-blame-ignore-revs
  17. .gitattributes
  18. .gitignore
  19. .gitmodules
  20. .gn
  21. .ignore
  22. .style.yapf
  23. analysis_options.yaml
  24. AUTHORS
  25. BUILD.gn
  26. CODE_OF_CONDUCT.md
  27. CONTRIBUTING.md
  28. fuchsia.code-workspace
  29. LICENSE
  30. OWNERS
  31. PATENTS
  32. pyrightconfig.json
  33. README.md
  34. rustfmt.toml
README.md

Fuchsia

What is Fuchsia?

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.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See fuchsia.dev.