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

@ -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.