Bluetooth: Controller: Ticker next slot get to return remainder value

Updated ticker implementation to return remainder value for
a ticker when enumerating active tickers with time
reservations.

This is required to find offsets and to use the remainder
value to correctly calculate auxiliary offsets to the
microsecond resolution.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2021-03-15 16:08:23 +05:30 committed by Carles Cufí
commit be7173a490
6 changed files with 44 additions and 11 deletions

View file

@ -198,7 +198,7 @@ config BT_CTLR_ADV_PDU_LINK
config BT_CTLR_ADV_PDU_BACK2BACK
bool "Back-to-back transmission of extended advertising trains"
depends on BT_CTLR_ADV_EXT && BT_BROADCASTER
depends on BT_BROADCASTER && BT_CTLR_ADV_EXT
select BT_CTLR_ADV_PDU_LINK
help
Enables transmission of AUX_CHAIN_IND in extended advertising train by
@ -707,6 +707,14 @@ config BT_TICKER_LOW_LAT
radio RX/TX. Enabling this option disables the ticker priority- and
'must expire' features.
config BT_TICKER_REMAINDER_GET
bool "Ticker Next Slot Get with Remainder"
default y if BT_BROADCASTER && BT_CTLR_ADV_EXT
help
This option enables ticker interface to iterate through active
ticker nodes, returning tick to expire and remainder from a reference
tick.
config BT_TICKER_LAZY_GET
bool "Ticker Next Slot Get with Lazy"
default y if BT_CTLR_ADV_PERIODIC