Skip to content

Commit facdbdb

Browse files
Tronilkartben
authored andcommitted
Bluetooth: Controller: Fix handling of odd SDU intervals in CIS central
Make sure iso_interval_us is in a multiple of 1.25 ms instead of directly assigning it the value of SDU interval Fixes EBQ failures in LL/CIS/CEN/BV-36-C and LL/CIS/CEN/BV-37-C Signed-off-by: Troels Nilsson <[email protected]>
1 parent be259d0 commit facdbdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/bluetooth/controller/ll_sw/ull_central_iso.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ uint8_t ll_cig_parameters_commit(uint8_t cig_id, uint16_t *handles)
231231
* handle the throughput. For unframed these must be divisible, if they're not,
232232
* framed mode must be forced.
233233
*/
234-
iso_interval_us = cig->c_sdu_interval;
234+
iso_interval_us = (cig->c_sdu_interval / ISO_INT_UNIT_US) * ISO_INT_UNIT_US;
235235

236236
if (iso_interval_us < ISO_INTERVAL_TO_US(BT_HCI_ISO_INTERVAL_MIN)) {
237237
/* ISO_Interval is below minimum (5 ms) */

0 commit comments

Comments
 (0)