Skip to content

Commit

Permalink
nimble/ll: Use retransmissions for BIG Create
Browse files Browse the repository at this point in the history
Controller now uses RTN parameter to include retransmissions in BIG
event. This applies only to IRC for now, pretransmissions are not
included.
  • Loading branch information
andrzej-kaczmarek committed Aug 1, 2024
1 parent 609f6a2 commit 7cf0ed9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions nimble/controller/src/ble_ll_iso_big.c
Original file line number Diff line number Diff line change
Expand Up @@ -1270,9 +1270,12 @@ ble_ll_iso_big_hci_create(const uint8_t *cmdbuf, uint8_t len)
bp.encrypted = cmd->encryption;
memcpy(bp.broadcast_code, cmd->broadcast_code, 16);

bp.nse = 1;
/* FIXME for now we only care about retransmissions, so set both NSE and IRC
* to RTN
*/
bp.nse = MIN(cmd->rtn, 0x0f);;
bp.bn = 1;
bp.irc = 1;
bp.irc = MIN(cmd->rtn, 0x0f);
bp.pto = 0;
bp.iso_interval = bp.sdu_interval / 1250;
bp.max_pdu = bp.max_sdu;
Expand Down

0 comments on commit 7cf0ed9

Please sign in to comment.