Skip to content

Commit

Permalink
bluetooth: controller: Revised ticker for improved conflict resolution
Browse files Browse the repository at this point in the history
Changed ticker behavior to resolve conflicts in ticker_worker instead of
in ticker_job. This allows better real-time slot allocation, as well as
allowing callbacks even if ticker node doesn't get air-time (for audio
stream housekeeping). A priority property now also allows prioritizing
one ticker node over others.
Compatibility mode enables lagacy ticker behavior if needed.

Signed-off-by: Morten Priess <mtpr@oticon.com>
  • Loading branch information
mtpr-ot authored and aescolar committed Aug 7, 2019
1 parent 303ef27 commit 3a9173a
Show file tree
Hide file tree
Showing 3 changed files with 457 additions and 25 deletions.
9 changes: 9 additions & 0 deletions subsys/bluetooth/controller/Kconfig
Expand Up @@ -651,6 +651,15 @@ config BT_MAYFLY_YIELD_AFTER_CALL
If set to 'n', all pending mayflies for callee are executed before If set to 'n', all pending mayflies for callee are executed before
yielding yielding


config BT_TICKER_COMPATIBILITY_MODE
bool "Ticker compatibility mode"
default y if SOC_SERIES_NRF51X
help
This option enables legacy ticker scheduling which defers overlapping
ticker node timeouts and thereby prevents ticker interrupts during
radio RX/TX. Enabling this option disables the ticker priority- and
'must expire' features.

config BT_CTLR_USER_EXT config BT_CTLR_USER_EXT
prompt "Enable proprietary extensions in Controller" prompt "Enable proprietary extensions in Controller"
depends on BT_LL_SW_SPLIT depends on BT_LL_SW_SPLIT
Expand Down

0 comments on commit 3a9173a

Please sign in to comment.