-
Notifications
You must be signed in to change notification settings - Fork 8k
Open
Labels
area: Bluetootharea: Bluetooth Controllerarea: Bluetooth ISOBluetooth LE Isochronous ChannelsBluetooth LE Isochronous ChannelsbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bugLow impact/importance bug
Description
Describe the bug
When the bt_hci_evt_le_cis_established
is generated on the peripheral, the c_latency and p_latency fields are always set to 0.
Regression
- This is a regression.
Steps to reproduce
- Checkout tests: Bluetooth: ISO: Add validation of unicast info #81029
- Build and run https://github.com/zephyrproject-rtos/zephyr/blob/main/tests/bsim/bluetooth/host/iso/cis/tests_scripts/cis.sh
- See error
d_01: @00:00:01.157450 ERROR: (WEST_TOPDIR/zephyr/tests/bsim/bluetooth/host/iso/cis/src/cis_peripheral.c:132): Invalid transport latency 0x000000
Relevant log output
d_00: @00:00:00.002648 [00:00:00.002,624] <dbg> bt_iso: hci_le_set_cig_params: id 0, latency C to P 10, latency P to C 10, interval C to P 10000, interval P to C 10000, sca 0, packing 0, framing 0, num_cis 1
d_00: @00:00:00.002648 [00:00:00.002,624] <dbg> bt_iso: hci_le_set_cig_params: [0]: id 1, c_phy 2, c_sdu 200, c_rtn 2, p_phy 2, p_sdu 200, p_rtn 1
d_01: @00:00:00.104494 Connected to FD:9E:B2:48:47:39 (random)
d_00: @00:00:00.104491 Connected to EB:E9:0E:54:A6:09 (random)
d_00: @00:00:00.106311 [00:00:00.106,292] <dbg> bt_iso: bt_iso_chan_set_state_debug: chan 0x82492e0 iso 0x826a0c0 disconnected -> encryption pending
d_00: @00:00:00.106311 [00:00:00.106,292] <dbg> bt_iso: bt_iso_chan_connect: All channels are pending on security
d_00: @00:00:00.905997 [00:00:00.905,975] <dbg> bt_iso: bt_iso_chan_set_state_debug: chan 0x82492e0 iso 0x826a0c0 encryption pending -> disconnected
d_00: @00:00:00.905997 [00:00:00.905,975] <dbg> bt_iso: bt_iso_chan_set_state_debug: chan 0x82492e0 iso 0x826a0c0 disconnected -> connecting
d_01: @00:00:01.005943 [00:00:01.005,920] <dbg> bt_iso: hci_le_cis_req: acl_handle 0 cis_handle 1 cig_id 0 cis 0
d_01: @00:00:01.005943 [00:00:01.005,920] <dbg> bt_iso: iso_accept: 0x826a0c0
d_01: @00:00:01.005943 Incoming request from 0x825e7c0
d_01: @00:00:01.005943 [00:00:01.005,920] <dbg> bt_iso: bt_iso_chan_add: iso 0x826a0c0 chan 0x824a084
d_01: @00:00:01.005943 [00:00:01.005,920] <dbg> bt_iso: bt_iso_chan_set_state_debug: chan 0x824a084 iso 0x826a0c0 disconnected -> connecting
d_01: @00:00:01.157450 [00:00:01.157,440] <dbg> bt_iso: hci_le_cis_established: status 0x00 handle 1
d_01: @00:00:01.157450 [00:00:01.157,440] <dbg> bt_iso: store_cis_info: iso_chan 0x824a084 tx 0x8219458 rx 0x821945c
d_01: @00:00:01.157450 [00:00:01.157,440] <dbg> bt_iso: bt_iso_connected: 0x826a0c0
d_01: @00:00:01.157450 [00:00:01.157,440] <dbg> bt_iso: bt_iso_chan_set_state_debug: chan 0x824a084 iso 0x826a0c0 connecting -> connected
d_01: @00:00:01.157450 ISO Channel 0x824a084 connected
d_01: @00:00:01.157450 ERROR: (WEST_TOPDIR/zephyr/tests/bsim/bluetooth/host/iso/cis/src/cis_peripheral.c:132): Invalid transport latency 0x000000
Impact
Functional Limitation – Some features not working as expected, but system usable.
Environment
No response
Additional Context
No response
Metadata
Metadata
Assignees
Labels
area: Bluetootharea: Bluetooth Controllerarea: Bluetooth ISOBluetooth LE Isochronous ChannelsBluetooth LE Isochronous ChannelsbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bugLow impact/importance bug