Bluetooth: controller: Scanning with unreserved window

Added a Kconfig option to enable scanner with unreserved
scan window when in continuous scan mode. This will permit
scanner to be always pre-empted by other roles, making it
the lowest in priority when it comes to using the radio.

Fixes #27414.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2020-09-07 13:54:30 +05:30 committed by Carles Cufí
commit 61b6534727
2 changed files with 16 additions and 4 deletions

View file

@ -413,6 +413,14 @@ config BT_CTLR_SCAN_INDICATION
help
Generate events indicating on air scanner events.
config BT_CTLR_SCAN_UNRESERVED
bool "Unreserved scan window"
depends on BT_OBSERVER
default y if BT_MESH
help
Scanner will not use time space reservation for scan window when in
continuous scan mode.
config BT_MAYFLY_YIELD_AFTER_CALL
bool "Yield from mayfly thread after first call"
default y