Skip to content

Commit c102a8e

Browse files
cvinayakcfriedt
authored andcommitted
Bluetooth: Controller: Add BT_HCI_VS_FATAL_ERROR_SUPPORT
Add BT_HCI_VS_FATAL_ERROR_SUPPORT Kconfig to allow out-of-tree Controllers to control Zephyr HCI Vendor- Specific Fatal Error event support. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent 36465ec commit c102a8e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

subsys/bluetooth/common/Kconfig

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,12 @@ config BT_HCI_VS
209209
Host and/or Controller. This enables Set Version Information,
210210
Supported Commands, Supported Features vendor commands.
211211

212+
config BT_HCI_VS_FATAL_ERROR_SUPPORT
213+
bool
214+
212215
config BT_HCI_VS_FATAL_ERROR
213216
bool "Allow vendor specific HCI event Zephyr Fatal Error"
214-
depends on BT_HCI_VS
217+
depends on BT_HCI_VS && BT_HCI_VS_FATAL_ERROR_SUPPORT
215218
help
216219
Enable emitting HCI Vendor-Specific events for system and Controller
217220
errors that are unrecoverable.

subsys/bluetooth/controller/Kconfig.ll_sw_split

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ config BT_LLL_VENDOR_NORDIC
1717
select EXPERIMENTAL if !ENTROPY_HAS_DRIVER
1818

1919
select BT_HAS_HCI_VS
20+
select BT_HCI_VS_FATAL_ERROR_SUPPORT
2021
select BT_CTLR_CRYPTO_SUPPORT
2122
select BT_CTLR_LE_ENC_SUPPORT if BT_CTLR_CRYPTO_SUPPORT && \
2223
!BT_CTLR_DATA_LENGTH_CLEAR && \

0 commit comments

Comments
 (0)