kconfig: bluetooth: experimental settings now uses select EXPERIMENTAL

With the introduction of `EXPERIMENTAL` and `WARN_EXPERIMENTAL` in
Zephyr all subsys/bluetooth and drivers/bluetooth/hci settings having
`[EXPERIMENTAL]` in their prompt has has been updated to include
`select EXPERIMENTAL` so that developers can enable warnings when
experimental features are enabled.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This commit is contained in:
Torsten Rasmussen 2021-10-15 14:14:16 +02:00 committed by Carles Cufí
commit 9a2be89557
10 changed files with 27 additions and 2 deletions

View file

@ -25,6 +25,7 @@ config BT_H5
bool "H:5 UART [EXPERIMENTAL]" bool "H:5 UART [EXPERIMENTAL]"
select UART_INTERRUPT_DRIVEN select UART_INTERRUPT_DRIVEN
select BT_UART select BT_UART
select EXPERIMENTAL
depends on SERIAL depends on SERIAL
help help
Bluetooth three-wire (H:5) UART driver. Implementation of HCI Bluetooth three-wire (H:5) UART driver. Implementation of HCI

View file

@ -16,6 +16,7 @@ config BT_LIM_ADV_TIMEOUT
config BT_EXT_ADV config BT_EXT_ADV
bool "Extended Advertising and Scanning support [EXPERIMENTAL]" bool "Extended Advertising and Scanning support [EXPERIMENTAL]"
select EXPERIMENTAL
help help
Select this to enable Extended Advertising API support. Select this to enable Extended Advertising API support.
This enables support for advertising with multiple advertising sets, This enables support for advertising with multiple advertising sets,
@ -45,6 +46,7 @@ config BT_EXT_ADV_MAX_ADV_SET
config BT_PER_ADV config BT_PER_ADV
bool "Periodic Advertising and Scanning support [EXPERIMENTAL]" bool "Periodic Advertising and Scanning support [EXPERIMENTAL]"
select EXPERIMENTAL
help help
Select this to enable Periodic Advertising API support. This allows Select this to enable Periodic Advertising API support. This allows
the device to send advertising data periodically at deterministic the device to send advertising data periodically at deterministic
@ -54,6 +56,7 @@ config BT_PER_ADV
config BT_PER_ADV_SYNC config BT_PER_ADV_SYNC
bool "Periodic advertising sync support [EXPERIMENTAL]" bool "Periodic advertising sync support [EXPERIMENTAL]"
depends on BT_OBSERVER depends on BT_OBSERVER
select EXPERIMENTAL
help help
Select this to enable Periodic Advertising Sync API support. Select this to enable Periodic Advertising Sync API support.
Syncing with a periodic advertiser allows the device to periodically Syncing with a periodic advertiser allows the device to periodically

View file

@ -12,6 +12,7 @@ config BT_ISO_UNICAST
bool "Bluetooth Isochronous Channel Unicast Support [EXPERIMENTAL]" bool "Bluetooth Isochronous Channel Unicast Support [EXPERIMENTAL]"
depends on BT_CONN depends on BT_CONN
select BT_ISO select BT_ISO
select EXPERIMENTAL
help help
This option enables support for Bluetooth Broadcast This option enables support for Bluetooth Broadcast
Isochronous channels. Isochronous channels.
@ -34,6 +35,7 @@ config BT_ISO_SYNC_RECEIVER
select BT_ISO_BROADCAST select BT_ISO_BROADCAST
select BT_OBSERVER select BT_OBSERVER
select BT_PER_ADV_SYNC select BT_PER_ADV_SYNC
select EXPERIMENTAL
help help
This option enables support for the Bluetooth Isochronous This option enables support for the Bluetooth Isochronous
Synchronized Receiver. Synchronized Receiver.

View file

@ -7,7 +7,8 @@
# #
menuconfig BT_AUDIO menuconfig BT_AUDIO
bool "Bluetooth Audio support [Experimental]" bool "Bluetooth Audio support [EXPERIMENTAL]"
select EXPERIMENTAL
help help
This option enables Bluetooth Audio support. The specific This option enables Bluetooth Audio support. The specific
features that are available may depend on other features features that are available may depend on other features

View file

@ -454,6 +454,7 @@ config BT_CTLR_ADV_EXT
config BT_CTLR_ADV_EXT config BT_CTLR_ADV_EXT
prompt "LE Advertising Extensions [EXPERIMENTAL]" if BT_LL_SW_SPLIT prompt "LE Advertising Extensions [EXPERIMENTAL]" if BT_LL_SW_SPLIT
select EXPERIMENTAL if BT_LL_SW_SPLIT
if BT_CTLR_ADV_EXT if BT_CTLR_ADV_EXT
@ -490,6 +491,7 @@ config BT_CTLR_ADV_PERIODIC
config BT_CTLR_ADV_PERIODIC config BT_CTLR_ADV_PERIODIC
bool "LE Periodic Advertising in Advertising State [EXPERIMENTAL]" if BT_LL_SW_SPLIT bool "LE Periodic Advertising in Advertising State [EXPERIMENTAL]" if BT_LL_SW_SPLIT
select EXPERIMENTAL if BT_LL_SW_SPLIT
config BT_CTLR_SYNC_PERIODIC config BT_CTLR_SYNC_PERIODIC
bool "LE Periodic Advertising in Synchronization State" if !BT_LL_SW_SPLIT bool "LE Periodic Advertising in Synchronization State" if !BT_LL_SW_SPLIT
@ -502,6 +504,7 @@ config BT_CTLR_SYNC_PERIODIC
config BT_CTLR_SYNC_PERIODIC config BT_CTLR_SYNC_PERIODIC
bool "LE Periodic Advertising in Synchronization State [EXPERIMENTAL]" if BT_LL_SW_SPLIT bool "LE Periodic Advertising in Synchronization State [EXPERIMENTAL]" if BT_LL_SW_SPLIT
select EXPERIMENTAL if BT_LL_SW_SPLIT
config BT_CTLR_SYNC_PERIODIC_ADV_LIST config BT_CTLR_SYNC_PERIODIC_ADV_LIST
bool "LE Periodic Advertiser List support" bool "LE Periodic Advertiser List support"
@ -538,6 +541,7 @@ config BT_CTLR_ADV_ISO
config BT_CTLR_ADV_ISO config BT_CTLR_ADV_ISO
bool "LE Broadcast Isochronous Channel advertising [EXPERIMENTAL]" if BT_LL_SW_SPLIT bool "LE Broadcast Isochronous Channel advertising [EXPERIMENTAL]" if BT_LL_SW_SPLIT
select EXPERIMENTAL if BT_LL_SW_SPLIT
config BT_CTLR_SYNC_ISO config BT_CTLR_SYNC_ISO
bool "LE Broadcast Isochronous Channel advertising sync" if !BT_LL_SW_SPLIT bool "LE Broadcast Isochronous Channel advertising sync" if !BT_LL_SW_SPLIT
@ -550,6 +554,7 @@ config BT_CTLR_SYNC_ISO
config BT_CTLR_SYNC_ISO config BT_CTLR_SYNC_ISO
bool "LE Broadcast Isochronous Channel advertising sync [EXPERIMENTAL]" if BT_LL_SW_SPLIT bool "LE Broadcast Isochronous Channel advertising sync [EXPERIMENTAL]" if BT_LL_SW_SPLIT
select EXPERIMENTAL if BT_LL_SW_SPLIT
config BT_CTLR_BROADCAST_ISO config BT_CTLR_BROADCAST_ISO
bool bool
@ -584,6 +589,7 @@ endif # BT_CTLR_ADV_EXT
config BT_CTLR_SET_HOST_FEATURE config BT_CTLR_SET_HOST_FEATURE
bool "LE Set Host Feature Command [EXPERIMENTAL]" bool "LE Set Host Feature Command [EXPERIMENTAL]"
select EXPERIMENTAL
help help
Enables optional LE Set Host Feature Command Enables optional LE Set Host Feature Command
@ -597,6 +603,7 @@ config BT_CTLR_CENTRAL_ISO
config BT_CTLR_CENTRAL_ISO config BT_CTLR_CENTRAL_ISO
bool "LE Connected Isochronous Stream Central [EXPERIMENTAL]" if BT_LL_SW_SPLIT bool "LE Connected Isochronous Stream Central [EXPERIMENTAL]" if BT_LL_SW_SPLIT
select BT_CTLR_SET_HOST_FEATURE select BT_CTLR_SET_HOST_FEATURE
select EXPERIMENTAL if BT_LL_SW_SPLIT
config BT_CTLR_PERIPHERAL_ISO config BT_CTLR_PERIPHERAL_ISO
bool "LE Connected Isochronous Stream Peripheral" if !BT_LL_SW_SPLIT bool "LE Connected Isochronous Stream Peripheral" if !BT_LL_SW_SPLIT
@ -608,6 +615,7 @@ config BT_CTLR_PERIPHERAL_ISO
config BT_CTLR_PERIPHERAL_ISO config BT_CTLR_PERIPHERAL_ISO
bool "LE Connected Isochronous Stream Peripheral [EXPERIMENTAL]" if BT_LL_SW_SPLIT bool "LE Connected Isochronous Stream Peripheral [EXPERIMENTAL]" if BT_LL_SW_SPLIT
select BT_CTLR_SET_HOST_FEATURE select BT_CTLR_SET_HOST_FEATURE
select EXPERIMENTAL if BT_LL_SW_SPLIT
config BT_CTLR_CONN_ISO config BT_CTLR_CONN_ISO
bool bool

View file

@ -30,8 +30,9 @@ config BT_CTLR_CTEINLINE_SUPPORT
bool bool
menuconfig BT_CTLR_DF menuconfig BT_CTLR_DF
bool "LE Direction Finding [Experimental]" bool "LE Direction Finding [EXPERIMENTAL]"
depends on BT_CTLR_DF_SUPPORT depends on BT_CTLR_DF_SUPPORT
select EXPERIMENTAL
help help
Enable support for Bluetooth 5.1 Direction Finding Enable support for Bluetooth 5.1 Direction Finding

View file

@ -551,6 +551,7 @@ config BT_ID_MAX
config BT_DF config BT_DF
bool "Enable Direction Finding support [EXPERIMENTAL]" bool "Enable Direction Finding support [EXPERIMENTAL]"
select EXPERIMENTAL
help help
Enable support for Bluetooth 5.1 Direction Finding. Enable support for Bluetooth 5.1 Direction Finding.
It will allow to: get information about antennae, configure It will allow to: get information about antennae, configure
@ -752,6 +753,7 @@ config BT_BREDR
select BT_CENTRAL select BT_CENTRAL
select BT_SMP select BT_SMP
select BT_L2CAP_DYNAMIC_CHANNEL select BT_L2CAP_DYNAMIC_CHANNEL
select EXPERIMENTAL
help help
This option enables Bluetooth BR/EDR support This option enables Bluetooth BR/EDR support
@ -766,6 +768,7 @@ config BT_MAX_SCO_CONN
config BT_RFCOMM config BT_RFCOMM
bool "Bluetooth RFCOMM protocol support [EXPERIMENTAL]" bool "Bluetooth RFCOMM protocol support [EXPERIMENTAL]"
select EXPERIMENTAL
help help
This option enables Bluetooth RFCOMM support This option enables Bluetooth RFCOMM support
@ -782,17 +785,20 @@ config BT_HFP_HF
bool "Bluetooth Handsfree profile HF Role support [EXPERIMENTAL]" bool "Bluetooth Handsfree profile HF Role support [EXPERIMENTAL]"
depends on PRINTK depends on PRINTK
select BT_RFCOMM select BT_RFCOMM
select EXPERIMENTAL
help help
This option enables Bluetooth HF support This option enables Bluetooth HF support
config BT_AVDTP config BT_AVDTP
bool "Bluetooth AVDTP protocol support [EXPERIMENTAL]" bool "Bluetooth AVDTP protocol support [EXPERIMENTAL]"
select EXPERIMENTAL
help help
This option enables Bluetooth AVDTP support This option enables Bluetooth AVDTP support
config BT_A2DP config BT_A2DP
bool "Bluetooth A2DP Profile [EXPERIMENTAL]" bool "Bluetooth A2DP Profile [EXPERIMENTAL]"
select BT_AVDTP select BT_AVDTP
select EXPERIMENTAL
help help
This option enables the A2DP profile This option enables the A2DP profile

View file

@ -27,6 +27,7 @@ config BT_ATT_PREPARE_COUNT
config BT_EATT config BT_EATT
bool "Enhanced ATT Bearers support [EXPERIMENTAL]" bool "Enhanced ATT Bearers support [EXPERIMENTAL]"
depends on BT_L2CAP_ECRED depends on BT_L2CAP_ECRED
select EXPERIMENTAL
help help
This option enables support for Enhanced ATT bearers support. When This option enables support for Enhanced ATT bearers support. When
enabled additional L2CAP channels can be connected as bearers enabling enabled additional L2CAP channels can be connected as bearers enabling

View file

@ -69,6 +69,7 @@ config BT_MESH_PROVISIONER
config BT_MESH_CDB config BT_MESH_CDB
bool "Mesh Configuration Database [EXPERIMENTAL]" bool "Mesh Configuration Database [EXPERIMENTAL]"
default y if BT_MESH_PROVISIONER default y if BT_MESH_PROVISIONER
select EXPERIMENTAL
if BT_MESH_CDB if BT_MESH_CDB

View file

@ -8,6 +8,7 @@ config BT_OTS
select BT_L2CAP_DYNAMIC_CHANNEL select BT_L2CAP_DYNAMIC_CHANNEL
select BT_GATT_DYNAMIC_DB select BT_GATT_DYNAMIC_DB
select BT_SMP select BT_SMP
select EXPERIMENTAL
help help
Enable Object Transfer Service. Enable Object Transfer Service.