Bluetooth: host: remove CONFIG_BT_RECV_BLOCKING

This config selects a variant of the HCI driver interface that spills
out host internals unto the drivers and even the Zephyr controller. It
will now be removed in favor of driver interfaces that hide the
internals of the host.

The new default is `CONFIG_BT_RECV_WORKQ_BT`.

Any references to the removed kconfig are refactored out.

Any out-of-tree driver using the removed interface can be easily adapted
by copying the following implementations into the driver as private
functions:

 - `hci_driver.h:BT_HCI_EVT_FLAG_RECV_PRIO`
 - `hci_driver.h:BT_HCI_EVT_FLAG_RECV`
 - `hci_driver.h:bt_hci_evt_get_flags`
 - `hci_raw.c:bt_recv_prio`

In combination these symbols function as a interface adapter. These
symbols will be removed in this PR in subsequent commits.

Signed-off-by: Aleksander Wasaznik <aleksander.wasaznik@nordicsemi.no>
This commit is contained in:
Aleksander Wasaznik 2024-03-20 14:44:07 +01:00 committed by David Leach
commit b91728619c
10 changed files with 9 additions and 94 deletions

View file

@ -32,9 +32,6 @@ CONFIG_ASSERT_ON_ERRORS=y
CONFIG_BT_RECV_WORKQ_BT=y
# CONFIG_BT_RECV_WORKQ_SYS=y
# errors out getting event flags in hci_core.c
# CONFIG_BT_RECV_BLOCKING=y
# TODO: remove when test is stable
CONFIG_BT_AUTO_PHY_UPDATE=n
CONFIG_BT_AUTO_DATA_LEN_UPDATE=n