Skip to content

Commit e348fe4

Browse files
cvinayakcarlescufi
authored andcommitted
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 <[email protected]>
1 parent 109c476 commit e348fe4

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

doc/releases/release-notes-3.2.rst

+3-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,9 @@ Bluetooth
299299

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

subsys/bluetooth/controller/Kconfig.ll_sw_split

+2-1
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,9 @@ choice BT_LL_SW_LLCP_IMPL
8181
Select the Bluetooth Low Energy Software Link Layer Control Procedure implementation.
8282

8383
config BT_LL_SW_LLCP_LEGACY
84-
bool "Legacy implementation"
84+
bool "Legacy implementation (DEPRECATED)"
8585
depends on !BT_CTLR_DF_CONN_CTE_RX && !BT_CTLR_DF_CONN_CTE_TX
86+
select DEPRECATED
8687
help
8788
Use the Bluetooth Low Energy Software Link Layer Legacy Control Procedure implementation.
8889

0 commit comments

Comments
 (0)