mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-07-24 20:14:06 +00:00
nimble/ll: Fix RTN handling in HCI BIG Create
RTN is number of retransmissions onlt so IRC=RTN+1.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user