Bluetooth: controller: Use ticker resolution margin in central

Use the vendor specific ticker resolution margin in the
central connection initiation offset calculation.

Related to commit 89ab68f242 ("bluetooth: controller:
Vendor specific ticker resolution margin").

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2021-02-12 16:46:16 +05:30 committed by Anas Nashif
commit 938fca2e08

View file

@ -677,7 +677,7 @@ void ull_master_setup(memq_link_t *link, struct node_rx_hdr *rx,
conn_interval_us = lll->interval * CONN_INT_UNIT_US;
conn_offset_us = ftr->radio_end_us;
conn_offset_us += HAL_TICKER_TICKS_TO_US(1);
conn_offset_us += EVENT_TICKER_RES_MARGIN_US;
conn_offset_us -= EVENT_OVERHEAD_START_US;
#if defined(CONFIG_BT_CTLR_PHY)