Skip to content

Commit fd15e89

Browse files
cvinayakcarlescufi
authored andcommitted
Bluetooth: Controller: Increase ull_sched ticker_next_slot_get retries
Increase retries for ull_sched use of ticker_next_slot_get. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent 008efec commit fd15e89

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

subsys/bluetooth/controller/ll_sw/ull_sched.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -423,10 +423,11 @@ static uint8_t after_match_slot_get(uint8_t user_id, uint32_t ticks_slot_abs,
423423
* found ticker to change. In this case the iterations have to be
424424
* restarted with the new reference ticks_anchor value.
425425
* Simultaneous continuous scanning on 1M and Coded PHY, alongwith
426-
* directed advertising and one other state/role could expire in quick
427-
* succession, hence have a retry count of 4.
426+
* directed advertising and N other state/role could expire in quick
427+
* succession, hence have a retry count of UINT8_MAX, which is possible
428+
* maximum implementation limit for ticker nodes.
428429
*/
429-
retry = 4U;
430+
retry = UINT8_MAX;
430431

431432
/* Initialize variable required for iterations to find a free slot */
432433
ticker_id = ticker_id_prev = TICKER_NULL;

0 commit comments

Comments
 (0)