Skip to content

Bluetooth: Controller: ISO: ISO receive lost when using framed #84303

@Thalley

Description

@Thalley

Describe the bug
In a handful of cases we see that connected ISO SDUs are not received when using framing.

This is evident by some of the LE Audio tests using 441_1_1 and 441_2_1:

Image

To Reproduce

  1. Apply tests: Bluetooth: CAP and GMAP: Add TX/RX for AC tests #83539
  2. Run https://github.com/zephyrproject-rtos/zephyr/blob/main/tests/bsim/bluetooth/audio/compile.sh
  3. Run Execute_AC_1 441_1_1

Expected behavior
Expect the controller to properly handle TX and RX when using framing.

Impact
A subset of ISO/LE Audio won't work

Logs and console output

d_01: @00:00:03.945466  Waiting for data
d_01: @00:00:03.961964  [00:00:03.961,944] <inf> bap_stream_rx: [0|0]: Incoming audio on stream 0x8502100 len 0, flags 0x0C, seq_num 0 and ts 3967732
d_01: @00:00:03.961964  [00:00:03.961,944] <inf> bap_stream_rx: [0|1]: Incoming audio on stream 0x8502100 len 0, flags 0x0C, seq_num 0 and ts 3967732
d_00: @00:00:03.974931  [00:00:03.974,914] <inf> bap_stream_tx: Stream 0x8502220 sent 0 SDUs
d_01: @00:00:03.976963  [00:00:03.976,959] <inf> bap_stream_rx: [1|3]: Incoming audio on stream 0x8502100 len 0, flags 0x0C, seq_num 2 and ts 3975109
d_01: @00:00:03.976963 ERROR: (WEST_TOPDIR/zephyr/tests/bsim/bluetooth/audio/src/bap_stream_rx.c:66): ISO receive lost

Environment (please complete the following information):

Additional context
May relate to #83585

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions