Skip to content

Commit

Permalink
Bluetooth: controller: Moved advanced settings in Kconfig
Browse files Browse the repository at this point in the history
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 30, 2019
1 parent 8844b7f commit eb73a32
Showing 1 changed file with 33 additions and 32 deletions.
65 changes: 33 additions & 32 deletions subsys/bluetooth/controller/Kconfig
Expand Up @@ -614,6 +614,39 @@ config BT_CTLR_SCAN_INDICATION
help help
Generate events indicating on air scanner events. 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 endmenu


comment "BLE Controller hardware configuration" comment "BLE Controller hardware configuration"
Expand Down Expand Up @@ -713,36 +746,4 @@ config BT_CTLR_DEBUG_PINS
when debugging with a logic analyzer or profiling certain sections of when debugging with a logic analyzer or profiling certain sections of
the code. 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 endif # BT_CTLR

0 comments on commit eb73a32

Please sign in to comment.