This is an automated email from the ASF dual-hosted git repository. andk pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
The following commit(s) were added to refs/heads/master by this push: new 1cdbbe8a7 nimble/ll: Fix RTN handling in HCI BIG Create 1cdbbe8a7 is described below commit 1cdbbe8a79e4592db5d439f2b4ec8bce936287d2 Author: Andrzej Kaczmarek <andrzej.kaczma...@codecoup.pl> AuthorDate: Mon Sep 23 17:35:09 2024 +0200 nimble/ll: Fix RTN handling in HCI BIG Create RTN is number of retransmissions onlt so IRC=RTN+1. --- nimble/controller/src/ble_ll_iso_big.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nimble/controller/src/ble_ll_iso_big.c b/nimble/controller/src/ble_ll_iso_big.c index d4a492b29..b07e5c1d8 100644 --- a/nimble/controller/src/ble_ll_iso_big.c +++ b/nimble/controller/src/ble_ll_iso_big.c @@ -1302,9 +1302,9 @@ ble_ll_iso_big_hci_create(const uint8_t *cmdbuf, uint8_t len) /* FIXME for now we only care about retransmissions, so set both NSE and IRC * to RTN */ - bp.nse = MIN(cmd->rtn, 0x0f);; + bp.nse = MIN(cmd->rtn + 1, 0x0f);; bp.bn = 1; - bp.irc = MIN(cmd->rtn, 0x0f); + bp.irc = MIN(cmd->rtn + 1, 0x0f); bp.pto = 0; bp.iso_interval = bp.sdu_interval / 1250; bp.max_pdu = bp.max_sdu;