zephyr/drivers/bluetooth/controller/Kconfig
Vinayak Chettimada 7a0561a60f Bluetooth: Controller: Measure and use correct stack size
Use stack_analyse in the recv fiber to print actual stack
usage, use this as default in Kconfig option, and declare a
rx fiber stack of Kconfig supplied stack size.

Change-id: Id97ad2de4f7be3069f93271d60544f760abbf575
Signed-off-by: Vinayak Chettimada <vinayak.kariappa.chettimada@nordicsemi.no>
2016-09-07 08:17:26 +03:00

40 lines
922 B
Plaintext

if BLUETOOTH_CONTROLLER
comment "BLE Controller configuration"
config BLUETOOTH_CONTROLLER_DATA_LENGTH
prompt "Maximum data length supported"
int
default 27
range 27 251
help
Set the maximum data length of PDU supported in the stack.
config BLUETOOTH_CONTROLLER_RX_BUFFERS
prompt "Number of Rx buffers"
int
default 1
range 1 10
help
Set the number of Rx PDUs to be buffered in the controller.
config BLUETOOTH_CONTROLLER_TX_BUFFERS
prompt "Number of Tx buffers"
int
default 1
range 1 10
help
Set the number of Tx PDUs to be queued for transmission
in the controller.
config BLUETOOTH_CONTROLLER_RX_STACK_SIZE
int "Size of the receiving fiber stack"
default 256
range 256 65536
help
Size of the receiving fiber stack. This is the context from
which all radio messages are encoded into HCI events or data
before passing it to Bluetooth receiving fiber.
endif # BLUETOOTH_CONTROLLER