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 <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2023-03-15 15:31:24 +05:30 committed by Carles Cufí
parent ca44b34994
commit 947ef4c96b

View file

@ -271,7 +271,7 @@ uint8_t ll_big_create(uint8_t big_handle, uint8_t adv_handle, uint8_t num_bis,
phy, lll_adv_iso->phy_flags) +
EVENT_MSS_US;
ctrl_spacing = PDU_BIS_US(sizeof(struct pdu_big_ctrl), encryption, phy,
lll_adv_iso->phy_flags) + EVENT_IFS_US;
lll_adv_iso->phy_flags);
latency_packing = lll_adv_iso->sub_interval * lll_adv_iso->nse *
lll_adv_iso->num_bis;
event_spacing = latency_packing + ctrl_spacing +
@ -916,8 +916,7 @@ static uint32_t adv_iso_start(struct ll_adv_iso_set *adv_iso,
lll_iso->phy_flags) +
EVENT_MSS_US;
ctrl_spacing = PDU_BIS_US(sizeof(struct pdu_big_ctrl), lll_iso->enc,
lll_iso->phy, lll_iso->phy_flags) +
EVENT_IFS_US;
lll_iso->phy, lll_iso->phy_flags);
slot_us = (pdu_spacing * lll_iso->nse * lll_iso->num_bis) +
ctrl_spacing;
slot_us += EVENT_OVERHEAD_START_US + EVENT_OVERHEAD_END_US;