Bluetooth: Controller: Replace BT_CTLR with HAS_BT_CTLR

Deprecate BT_CTLR, and add a new HAS_BT_CTLR as a virtual option which
specific users (like BT_LL_SW_SPLIT) select. This also means that we can
remove all places that were forcefully enabling the BT_CTLR option, and
instead we now depend on devicetree to get some local LL HCI driver
enabled which in turn also enables the HAS_BT_CTLR option.

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
This commit is contained in:
Johan Hedberg 2024-11-27 16:42:41 +02:00 committed by Benjamin Cabé
commit 8b02141ca7
205 changed files with 68 additions and 526 deletions

View file

@ -14,4 +14,4 @@ CONFIG_BT_DEVICE_NAME="bsim_test_split_hci_uart"
CONFIG_BT_L2CAP_TX_BUF_COUNT=6
CONFIG_BT_HCI=y
CONFIG_BT_CTLR=n
CONFIG_BT_LL_SW_SPLIT=n

View file

@ -11,8 +11,6 @@ CONFIG_BT_DEVICE_NAME="Test Database"
CONFIG_BT_DEVICE_APPEARANCE=833
CONFIG_BT_GATT_DYNAMIC_DB=y
CONFIG_BT_CTLR=y
CONFIG_BT_HCI_ACL_FLOW_CONTROL=y
CONFIG_BT_BUF_ACL_RX_SIZE=516
CONFIG_BT_L2CAP_TX_MTU=512

View file

@ -14,8 +14,6 @@ CONFIG_BT_BUF_ACL_RX_SIZE=60
CONFIG_BT_BUF_ACL_TX_SIZE=60
CONFIG_BT_BUF_CMD_TX_SIZE=255
CONFIG_BT_CTLR=y
CONFIG_BT_CTLR_CRYPTO=y
CONFIG_BT_CTLR_LE_ENC=y
CONFIG_BT_CTLR_PRIVACY=y

View file

@ -12,8 +12,6 @@ CONFIG_BT_BUF_ACL_RX_SIZE=60
CONFIG_BT_BUF_ACL_TX_SIZE=60
CONFIG_BT_BUF_CMD_TX_SIZE=255
CONFIG_BT_CTLR=y
CONFIG_BT_CTLR_CRYPTO=y
CONFIG_BT_CTLR_LE_ENC=y
CONFIG_BT_CTLR_PRIVACY=y