Skip to content
Permalink
Browse files

Bluetooth: controller: Moved advanced settings in Kconfig

Moved some user defined Kconfig constants to advanced
settings menu.

Signed-off-by: Asger Munk Nielsen <asmk@oticon.com>
  • Loading branch information...
asmk-ot authored and nashif committed May 28, 2019
1 parent 8844b7f commit eb73a32bc1109f72cffbbd3fc46c24f63341907e
Showing with 33 additions and 32 deletions.
  1. +33 −32 subsys/bluetooth/controller/Kconfig
@@ -614,6 +614,39 @@ config BT_CTLR_SCAN_INDICATION
help
Generate events indicating on air scanner events.

config BT_MAYFLY_YIELD_AFTER_CALL
bool "Yield from mayfly thread after first call"
default y
help
Only process one mayfly callback per invocation (legacy behavior).
If set to 'n', all pending mayflies for callee are executed before
yielding

config BT_CTLR_USER_EXT
prompt "Enable proprietary extensions in Controller"
bool
help
Catch-all for enabling proprietary event types in Controller behavior.

config BT_CTLR_USER_EVT_RANGE
int "Range of event contants reserved for proprietary event types"
depends on BT_CTLR_USER_EXT
default 5
range 0 10
help
Number of event types reserved for proprietary use. The range
is typically used when BT_CTLR_USER_EXT is in use.

config BT_RX_USER_PDU_LEN
int "Maximum supported proprietary PDU buffer length"
depends on BT_CTLR_USER_EXT
default 2
range 2 255
help
Maximum data size for each proprietary PDU. This size includes link layer
header and payload. It does not account for HCI event headers as these
PDUs are assumed to not go across HCI.

endmenu

comment "BLE Controller hardware configuration"
@@ -713,36 +746,4 @@ config BT_CTLR_DEBUG_PINS
when debugging with a logic analyzer or profiling certain sections of
the code.

config BT_MAYFLY_YIELD_AFTER_CALL
bool "Yield from mayfly thread after first call"
default y
help
Only process one mayfly callback per invocation (legacy behavior).
If set to 'n', all pending mayflies for callee are executed before
yielding

config BT_CTLR_USER_EXT
prompt "Enable proprietary extensions in Controller"
bool
help
Catch-all for enabling proprietary event types in Controller behavior.

config BT_CTLR_USER_EVT_RANGE
int "Range of event contants reserved for proprietary event types"
depends on BT_CTLR_USER_EXT
default 5
range 0 10
help
Number of event types reserved for proprietary use. The range
is typically used when BT_CTLR_USER_EXT is in use.

config BT_RX_USER_PDU_LEN
int "Maximum supported proprietary PDU buffer length"
default 2
range 2 255
help
Maximum data size for each proprietary PDU. This size includes link layer
header and payload. It does not account for HCI event headers as these
PDUs are assumed to not go across HCI.

endif # BT_CTLR

0 comments on commit eb73a32

Please sign in to comment.
You can’t perform that action at this time.