kconfig: bluetooth: Let BT_HCI_VS be configurable from controller
This moves the vendor-specific HCI command/event configuration definitions out of bluetooth/common into bluetooth. This allows the controller itself to indicate its support for vendor-specific commands/events. Signed-off-by: Thomas Stenersen <thomas.stenersen@nordicsemi.no>
This commit is contained in:
parent
7516476386
commit
caa4f7baae
2 changed files with 8 additions and 0 deletions
|
@ -6,8 +6,15 @@
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
|
config BT_HAS_HCI_VS
|
||||||
|
bool
|
||||||
|
help
|
||||||
|
This option is set by the Bluetooth controller to indicate support
|
||||||
|
for the Zephyr HCI Vendor-Specific Commands and Event.
|
||||||
|
|
||||||
config BT_HCI_VS
|
config BT_HCI_VS
|
||||||
bool "Zephyr HCI Vendor-Specific Commands"
|
bool "Zephyr HCI Vendor-Specific Commands"
|
||||||
|
depends on BT_HAS_HCI_VS
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Enable support for the Zephyr HCI Vendor-Specific Commands in the
|
Enable support for the Zephyr HCI Vendor-Specific Commands in the
|
||||||
|
|
|
@ -23,6 +23,7 @@ choice BT_LL_CHOICE
|
||||||
config BT_LL_SW
|
config BT_LL_SW
|
||||||
bool "Software-based BLE Link Layer"
|
bool "Software-based BLE Link Layer"
|
||||||
select BT_RECV_IS_RX_THREAD
|
select BT_RECV_IS_RX_THREAD
|
||||||
|
select BT_HAS_HCI_VS
|
||||||
select ENTROPY_GENERATOR
|
select ENTROPY_GENERATOR
|
||||||
select ENTROPY_NRF5_RNG if SOC_COMPATIBLE_NRF
|
select ENTROPY_NRF5_RNG if SOC_COMPATIBLE_NRF
|
||||||
select ENTROPY_NRF5_BIAS_CORRECTION if SOC_COMPATIBLE_NRF
|
select ENTROPY_NRF5_BIAS_CORRECTION if SOC_COMPATIBLE_NRF
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue