Bluetooth: controller: Add Kconfig option for parameter checking
Added Kconfig option to conditionally compile in HCI command parameter validation code. When building a combined host plus controller application, only validations in the host at the top level close to the API caller is sufficient. The controller validations are included in controller only builds. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
eb42a24dc6
commit
ec1e66ebd8
1 changed files with 7 additions and 0 deletions
|
@ -704,6 +704,13 @@ config BT_CTLR_SW_SWITCH_SINGLE_TIMER
|
|||
PPI channels for the controller, resulting in 4 channels
|
||||
less left for other uses
|
||||
|
||||
config BT_CTLR_PARAM_CHECK
|
||||
bool "Enable HCI Command Parameter checking"
|
||||
default y if BT_HCI_RAW
|
||||
help
|
||||
Enable code checking HCI Command Parameters. This is not needed in
|
||||
combined host plus controller builds, saving some code space.
|
||||
|
||||
if BT_CONN
|
||||
|
||||
config BT_CTLR_FAST_ENC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue