2016-08-15 12:01:06 +02:00
|
|
|
if BLUETOOTH_CONTROLLER
|
|
|
|
|
|
|
|
comment "BLE Controller configuration"
|
|
|
|
|
|
|
|
config BLUETOOTH_CONTROLLER_RX_BUFFERS
|
|
|
|
prompt "Number of Rx buffers"
|
|
|
|
int
|
|
|
|
default 1
|
2016-11-11 13:18:20 +02:00
|
|
|
default 6 if BLUETOOTH_HCI_RAW
|
2016-08-15 12:01:06 +02:00
|
|
|
range 1 10
|
|
|
|
help
|
2016-11-09 11:37:04 +02:00
|
|
|
Set the number of Rx PDUs to be buffered in the controller.
|
2016-08-15 12:01:06 +02:00
|
|
|
|
|
|
|
config BLUETOOTH_CONTROLLER_TX_BUFFERS
|
|
|
|
prompt "Number of Tx buffers"
|
|
|
|
int
|
|
|
|
default 1
|
2016-11-11 13:18:20 +02:00
|
|
|
default 7 if BLUETOOTH_HCI_RAW
|
2016-08-15 12:01:06 +02:00
|
|
|
range 1 10
|
|
|
|
help
|
2016-11-09 11:37:04 +02:00
|
|
|
Set the number of Tx PDUs to be queued for transmission
|
|
|
|
in the controller.
|
2016-08-15 12:01:06 +02:00
|
|
|
|
2016-09-01 21:34:56 +02:00
|
|
|
config BLUETOOTH_CONTROLLER_RX_STACK_SIZE
|
2016-11-11 10:02:49 +02:00
|
|
|
int "Size of the receiving thread stack"
|
2016-12-30 12:01:05 +01:00
|
|
|
default 512
|
|
|
|
range 512 65536
|
2016-09-01 21:34:56 +02:00
|
|
|
help
|
2016-11-11 10:02:49 +02:00
|
|
|
Size of the receiving thread stack. This is the context from
|
2016-09-01 21:34:56 +02:00
|
|
|
which all radio messages are encoded into HCI events or data
|
2016-11-11 10:02:49 +02:00
|
|
|
before passing it to Bluetooth receiving thread.
|
2016-09-01 21:34:56 +02:00
|
|
|
|
2016-12-28 05:34:37 +01:00
|
|
|
comment "BLE Controller features"
|
|
|
|
|
|
|
|
config BLUETOOTH_CONTROLLER_LE_PING
|
|
|
|
bool "LE Ping"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Enable support for Bluetooth v4.1 LE Ping feature in the Controller.
|
|
|
|
|
2016-12-28 06:35:05 +01:00
|
|
|
config BLUETOOTH_CONTROLLER_DATA_LENGTH
|
|
|
|
bool "Data Length Update"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Enable support for Bluetooth v4.2 LE Data Length Update procedure in
|
|
|
|
the Controller.
|
|
|
|
|
|
|
|
config BLUETOOTH_CONTROLLER_DATA_LENGTH_MAX
|
|
|
|
prompt "Maximum data length supported"
|
|
|
|
depends on BLUETOOTH_CONTROLLER_DATA_LENGTH
|
|
|
|
int
|
|
|
|
default 27
|
|
|
|
range 27 251
|
|
|
|
help
|
|
|
|
Set the maximum data length of PDU supported in the Controller.
|
|
|
|
|
2016-12-27 19:23:32 +01:00
|
|
|
comment "BLE Controller debug configuration"
|
|
|
|
|
2016-10-31 11:39:12 +01:00
|
|
|
config BLUETOOTH_CONTROLLER_ASSERT_HANDLER
|
|
|
|
bool "Bluetooth Controller Assertion Handler"
|
2016-11-09 12:23:21 +02:00
|
|
|
depends on BLUETOOTH_HCI_RAW
|
2016-10-31 11:39:12 +01:00
|
|
|
help
|
|
|
|
This option enables an application-defined sink for the
|
|
|
|
controller assertion mechanism. This must be defined in
|
|
|
|
application code as void \"bt_controller_assert_handle(char \*, int)\"
|
|
|
|
and will be invoked whenever the controller code encounters
|
|
|
|
an unrecoverable error.
|
|
|
|
|
2016-12-27 19:23:32 +01:00
|
|
|
config BLUETOOTH_CONTROLLER_PROFILE_ISR
|
|
|
|
bool "Profile radio ISR"
|
|
|
|
help
|
|
|
|
Turn on measurement of radio ISR latency, CPU usage and generation of
|
|
|
|
controller event with these profiling data. The controller event
|
|
|
|
contains current, minimum and maximum ISR entry latencies; and
|
|
|
|
current, minimum and maximum ISR CPU use in micro-seconds.
|
2016-10-31 11:39:12 +01:00
|
|
|
|
2016-08-15 12:01:06 +02:00
|
|
|
endif # BLUETOOTH_CONTROLLER
|