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:
parent
109c47639e
commit
e348fe494a
2 changed files with 5 additions and 2 deletions
|
@ -299,7 +299,9 @@ Bluetooth
|
||||||
|
|
||||||
* Made the new LLCP implementation the default one. Enable
|
* Made the new LLCP implementation the default one. Enable
|
||||||
:kconfig:option:`CONFIG_BT_LL_SW_LLCP_LEGACY` to revert back to the legacy
|
: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
|
* Marked Extended Advertising as stable, no longer experimental
|
||||||
* Added deinit() infrastructure in order to properly support disabling
|
* Added deinit() infrastructure in order to properly support disabling
|
||||||
Bluetooth support, including the controller
|
Bluetooth support, including the controller
|
||||||
|
|
|
@ -81,8 +81,9 @@ choice BT_LL_SW_LLCP_IMPL
|
||||||
Select the Bluetooth Low Energy Software Link Layer Control Procedure implementation.
|
Select the Bluetooth Low Energy Software Link Layer Control Procedure implementation.
|
||||||
|
|
||||||
config BT_LL_SW_LLCP_LEGACY
|
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
|
depends on !BT_CTLR_DF_CONN_CTE_RX && !BT_CTLR_DF_CONN_CTE_TX
|
||||||
|
select DEPRECATED
|
||||||
help
|
help
|
||||||
Use the Bluetooth Low Energy Software Link Layer Legacy Control Procedure implementation.
|
Use the Bluetooth Low Energy Software Link Layer Legacy Control Procedure implementation.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue