diff --git a/drivers/bluetooth/hci/ipc.c b/drivers/bluetooth/hci/ipc.c index d25f7c8af103..d837b5b43ce1 100644 --- a/drivers/bluetooth/hci/ipc.c +++ b/drivers/bluetooth/hci/ipc.c @@ -18,6 +18,11 @@ #include LOG_MODULE_REGISTER(bt_hci_driver); +#if defined(CONFIG_BT_CONN) +BUILD_ASSERT(IS_ENABLED(CONFIG_BT_HCI_ACL_FLOW_CONTROL), + "IPC transport is not reliable without Controller-to-Host ACL flow control"); +#endif + #define DT_DRV_COMPAT zephyr_bt_hci_ipc #define IPC_BOUND_TIMEOUT_IN_MS K_MSEC(1000) diff --git a/samples/bluetooth/hci_ipc/src/main.c b/samples/bluetooth/hci_ipc/src/main.c index 4de71c85e345..d5e89167a6c1 100644 --- a/samples/bluetooth/hci_ipc/src/main.c +++ b/samples/bluetooth/hci_ipc/src/main.c @@ -29,6 +29,11 @@ LOG_MODULE_REGISTER(hci_ipc, CONFIG_BT_LOG_LEVEL); +#if defined(CONFIG_BT_CONN) +BUILD_ASSERT(IS_ENABLED(CONFIG_BT_HCI_ACL_FLOW_CONTROL), + "IPC transport is not reliable without Controller-to-Host ACL flow control"); +#endif + static struct ipc_ept hci_ept; static K_THREAD_STACK_DEFINE(tx_thread_stack, CONFIG_BT_HCI_TX_STACK_SIZE); diff --git a/samples/bluetooth/pbp_public_broadcast_sink/prj.conf b/samples/bluetooth/pbp_public_broadcast_sink/prj.conf index 1cc458a47988..b2054ce9be30 100644 --- a/samples/bluetooth/pbp_public_broadcast_sink/prj.conf +++ b/samples/bluetooth/pbp_public_broadcast_sink/prj.conf @@ -10,7 +10,6 @@ CONFIG_UTF8=y CONFIG_BT_SMP=y CONFIG_BT_KEYS_OVERWRITE_OLDEST=y CONFIG_BT_L2CAP_TX_BUF_COUNT=20 -CONFIG_BT_HCI_ACL_FLOW_CONTROL=n CONFIG_BT_AUDIO_CODEC_CAP_MAX_METADATA_SIZE=196 # CAP diff --git a/samples/bluetooth/pbp_public_broadcast_source/prj.conf b/samples/bluetooth/pbp_public_broadcast_source/prj.conf index 004e1832b64a..d7d6e9fe6676 100644 --- a/samples/bluetooth/pbp_public_broadcast_source/prj.conf +++ b/samples/bluetooth/pbp_public_broadcast_source/prj.conf @@ -10,7 +10,6 @@ CONFIG_BT_ISO_MAX_CHAN=2 CONFIG_BT_BAP_BROADCAST_SRC_STREAM_COUNT=2 CONFIG_BT_BAP_BROADCAST_SRC_SUBGROUP_COUNT=2 CONFIG_BT_ISO_TX_BUF_COUNT=4 -CONFIG_BT_HCI_ACL_FLOW_CONTROL=n # PBP support CONFIG_BT_PBP=y