Bluetooth: Controller: Fix ticks_slot_window use in Observer
Fix ticks_slot_window use in Observer, do not use for unreserved continuous scanning, and do not use when scanning on both 1M and Coded PHY simultaneously. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
67a2fc4293
commit
377e2a1f48
1 changed files with 8 additions and 0 deletions
|
@ -500,6 +500,10 @@ uint8_t ull_scan_enable(struct ll_scan_set *scan)
|
|||
* enabled.
|
||||
*/
|
||||
}
|
||||
|
||||
#if defined(CONFIG_BT_TICKER_EXT)
|
||||
ll_scan_ticker_ext[handle].ticks_slot_window = 0U;
|
||||
#endif /* CONFIG_BT_TICKER_EXT */
|
||||
}
|
||||
|
||||
/* 1M scan window starts without any offset */
|
||||
|
@ -559,6 +563,10 @@ uint8_t ull_scan_enable(struct ll_scan_set *scan)
|
|||
} else {
|
||||
ticks_offset = 0U;
|
||||
}
|
||||
|
||||
#if defined(CONFIG_BT_TICKER_EXT)
|
||||
ll_scan_ticker_ext[handle].ticks_slot_window = 0U;
|
||||
#endif /* CONFIG_BT_TICKER_EXT */
|
||||
} else {
|
||||
ticks_offset = 0U;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue