Skip to content

Commit 05c85dd

Browse files
cvinayakcarlescufi
authored andcommitted
Bluetooth: Controller: Fix periodic advertising sync window
Fix periodic advertising sync window calculation to include the scheduling resolution margin, i.e. be double as with the event jitter value. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent 01aa800 commit 05c85dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

subsys/bluetooth/controller/ll_sw/ull_scan_aux.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -646,8 +646,8 @@ void ull_scan_aux_setup(memq_link_t *link, struct node_rx_hdr *rx)
646646
window_widening_us = SCA_DRIFT_500_PPM_US(aux_offset_us);
647647
}
648648

649-
lll_aux->window_size_us += (EVENT_TICKER_RES_MARGIN_US +
650-
((EVENT_JITTER_US + window_widening_us) << 1));
649+
lll_aux->window_size_us += ((EVENT_TICKER_RES_MARGIN_US + EVENT_JITTER_US +
650+
window_widening_us) << 1);
651651

652652
ready_delay_us = lll_radio_rx_ready_delay_get(lll_aux->phy,
653653
PHY_FLAGS_S8);

0 commit comments

Comments
 (0)