Bluetooth: Controller: Warn LLCP Legacy implementation as DEPRECATED

Add in Kconfig, select DEPRECATED, to warn at build time
that the LLCP legacy implementation is deprecated and the
refactored LLCP enabled by BT_LL_SW_LLCP Kconfig option be
used instead (which is the default now).

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2022-09-23 16:31:00 +05:30 committed by Carles Cufí
commit e348fe494a
2 changed files with 5 additions and 2 deletions

View file

@ -299,7 +299,9 @@ Bluetooth
* Made the new LLCP implementation the default one. Enable
:kconfig:option:`CONFIG_BT_LL_SW_LLCP_LEGACY` to revert back to the legacy
implementation
implementation. :kconfig:option:`CONFIG_BT_LL_SW_LLCP_LEGACY` is marked
deprecated in favor of the new :kconfig:option:`CONFIG_BT_LL_SW_LLCP`, which
is the default now
* Marked Extended Advertising as stable, no longer experimental
* Added deinit() infrastructure in order to properly support disabling
Bluetooth support, including the controller

View file

@ -81,8 +81,9 @@ choice BT_LL_SW_LLCP_IMPL
Select the Bluetooth Low Energy Software Link Layer Control Procedure implementation.
config BT_LL_SW_LLCP_LEGACY
bool "Legacy implementation"
bool "Legacy implementation (DEPRECATED)"
depends on !BT_CTLR_DF_CONN_CTE_RX && !BT_CTLR_DF_CONN_CTE_TX
select DEPRECATED
help
Use the Bluetooth Low Energy Software Link Layer Legacy Control Procedure implementation.