Skip to content

Commit 947ef4c

Browse files
cvinayakcarlescufi
authored andcommitted
Bluetooth: Controller: Remove redundant EVENT_IFS_US in BIS timing
Remove redundant EVENT_IFS_US used in Control PDU timing calculation. The BIG radio event ends with Control Subevent and hence there is no need to add EVENT_IFS_US at the end of the BIG event. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent ca44b34 commit 947ef4c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

subsys/bluetooth/controller/ll_sw/ull_adv_iso.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ uint8_t ll_big_create(uint8_t big_handle, uint8_t adv_handle, uint8_t num_bis,
271271
phy, lll_adv_iso->phy_flags) +
272272
EVENT_MSS_US;
273273
ctrl_spacing = PDU_BIS_US(sizeof(struct pdu_big_ctrl), encryption, phy,
274-
lll_adv_iso->phy_flags) + EVENT_IFS_US;
274+
lll_adv_iso->phy_flags);
275275
latency_packing = lll_adv_iso->sub_interval * lll_adv_iso->nse *
276276
lll_adv_iso->num_bis;
277277
event_spacing = latency_packing + ctrl_spacing +
@@ -916,8 +916,7 @@ static uint32_t adv_iso_start(struct ll_adv_iso_set *adv_iso,
916916
lll_iso->phy_flags) +
917917
EVENT_MSS_US;
918918
ctrl_spacing = PDU_BIS_US(sizeof(struct pdu_big_ctrl), lll_iso->enc,
919-
lll_iso->phy, lll_iso->phy_flags) +
920-
EVENT_IFS_US;
919+
lll_iso->phy, lll_iso->phy_flags);
921920
slot_us = (pdu_spacing * lll_iso->nse * lll_iso->num_bis) +
922921
ctrl_spacing;
923922
slot_us += EVENT_OVERHEAD_START_US + EVENT_OVERHEAD_END_US;

0 commit comments

Comments
 (0)