Skip to content

Commit

Permalink
pw_bluetooth_sapphire: Support ISO Channel FIDL Protocol in Drivers
Browse files Browse the repository at this point in the history
Implements FIDL ISO channel support in the virtual driver. This fixes
the issue during HCI initialization in integration tests where the
emulator crashes since isochronous channels weren't supported.

Other changes include: adding ISO channel handling for the bt-hci
passthrough and intel drivers, updating Banjo API name to be consistent
with FIDL.

Fixed: b/328457492, b/328459391
Test: fx test //src/connectivity/bluetooth
Manual Test: Texted with fxr/991355, paired and streamed audio to
Nelson DUT from iOS device
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1002652
API-Review: Marie Janssen <[email protected]>
GitOrigin-RevId: 5fdfa1b03e42d68e3a7dab361fc034e24f11e770
Change-Id: Id1677ee7d300be1889d7a287f6f4c966765ca349

Change-Id: I249561f58922d91b783ccc5ebbf2845bd39fbe72
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/221267
Commit-Queue: Auto-Submit <[email protected]>
Presubmit-Verified: CQ Bot Account <[email protected]>
Pigweed-Auto-Submit: Faraaz Sareshwala <[email protected]>
Pigweed-Auto-Submit: Jason Graffius <[email protected]>
Reviewed-by: Ben Lawson <[email protected]>
Lint: Lint 🤖 <[email protected]>
  • Loading branch information
Lulu Wang authored and CQ Bot Account committed Jul 10, 2024
1 parent 1fc9620 commit 4e95e9d
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,17 @@ struct ACLDataHeader {
uint16_t data_total_length;
} __attribute__((packed));

struct ISODataHeader {
// The first 16-bits contain the following fields, in order:
// - 12-bits: Connection Handle
// - 2-bits: Packet Boundary Flags
// - 1-bit: Timestamp Flag
uint16_t handle_and_flags;

// Length of data following the header.
uint16_t data_total_length;
} __attribute__((packed));

struct SynchronousDataHeader {
// The first 16-bits contain the following fields, in order:
// - 12-bits: Connection Handle
Expand Down

0 comments on commit 4e95e9d

Please sign in to comment.