Skip to content

Commit

Permalink
Bluetooth: Host: Deprecate BT_BUF_ACL_RX_COUNT symbol
Browse files Browse the repository at this point in the history
Because the number of ACL RX buffers must be at least the number of
maximum connections plus one, increasing `CONFIG_BT_MAX_CONN` could
inadvertently lead to a build failure if the number of ACL RX buffers is
not also increased. This dependency may not be obvious to users.

To address this issue, this commit deprecates the `CONFIG_BT_BUF_RX_COUNT`
Kconfig symbol and computes the value in `buf.h` using the new
`BT_BUF_RX_COUNT` define.

Additionally, to allow users to increase the number of ACL RX buffers,
this commit introduces the new `CONFIG_BT_BUF_RX_COUNT_EXTRA` Kconfig
symbol. The value of this symbol will be added to the computed value of
`BT_BUF_RX_COUNT`.

The configurations of tests and samples have been updated to reflect
these changes.

Signed-off-by: Théo Battrel <[email protected]>
  • Loading branch information
theob-pro committed Nov 22, 2024
1 parent 3364a35 commit d34ac1a
Show file tree
Hide file tree
Showing 26 changed files with 56 additions and 51 deletions.
5 changes: 5 additions & 0 deletions doc/releases/migration-guide-4.1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ Bluetooth Classic
Bluetooth Host
==============

* :kconfig:option:`CONFIG_BT_BUF_ACL_RX_COUNT` has been deprecated. The number of ACL RX buffers is
now computed internally and is equal to :kconfig:option:`CONFIG_BT_MAX_CONN` + 1. If an application
needs more buffers, it can use the new :kconfig:option:`CONFIG_BT_BUF_ACL_RX_COUNT_EXTRA` to add
additional ones.

Bluetooth Crypto
================

Expand Down
3 changes: 3 additions & 0 deletions doc/releases/release-notes-4.1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ Bluetooth

* Host

* :kconfig:option:`CONFIG_BT_BUF_ACL_RX_COUNT` has been deprecated and
:kconfig:option:`CONFIG_BT_BUF_ACL_RX_COUNT_EXTRA` has been added.

* HCI Drivers

Boards & SoC Support
Expand Down
28 changes: 27 additions & 1 deletion include/zephyr/bluetooth/buf.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,39 @@ struct bt_buf_data {
#define BT_BUF_ISO_RX_COUNT 0
#endif /* CONFIG_BT_ISO */

/* see Core Spec v6.0 vol.4 part E 7.4.5 */
#define BT_BUF_ACL_RX_COUNT_MAX 65535
#define BT_BUF_ACL_RX_COUNT_DEFAULT 6

#if defined(CONFIG_BT_CONN) && defined(CONFIG_BT_HCI_HOST)
/* The host needs more ACL buffers than maximum ACL links. This is because of
* the way we re-assemble ACL packets into L2CAP PDUs.
*
* We keep around the first buffer (that comes from the driver) to do
* re-assembly into, and if all links are re-assembling, there will be no buffer
* available for the HCI driver to allocate from.
*
* Fixing it properly involves a re-design of the HCI driver interface.
*
* TODO: When CONFIG_BT_BUF_ACL_RX_COUNT is removed,
* remove the MAX and only keep (CONFIG_BT_MAX_CONN + 1)
*/
#define BT_BUF_ACL_RX_COUNT (MAX(CONFIG_BT_BUF_ACL_RX_COUNT, (CONFIG_BT_MAX_CONN + 1)) + \
CONFIG_BT_BUF_ACL_RX_COUNT_EXTRA)
#else

Check notice on line 107 in include/zephyr/bluetooth/buf.h

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

You may want to run clang-format on this change

include/zephyr/bluetooth/buf.h:107 -#define BT_BUF_ACL_RX_COUNT_MAX 65535 +#define BT_BUF_ACL_RX_COUNT_MAX 65535 #define BT_BUF_ACL_RX_COUNT_DEFAULT 6 #if defined(CONFIG_BT_CONN) && defined(CONFIG_BT_HCI_HOST) - /* The host needs more ACL buffers than maximum ACL links. This is because of - * the way we re-assemble ACL packets into L2CAP PDUs. - * - * We keep around the first buffer (that comes from the driver) to do - * re-assembly into, and if all links are re-assembling, there will be no buffer - * available for the HCI driver to allocate from. - * - * Fixing it properly involves a re-design of the HCI driver interface. - * - * TODO: When CONFIG_BT_BUF_ACL_RX_COUNT is removed, - * remove the MAX and only keep (CONFIG_BT_MAX_CONN + 1) - */ -#define BT_BUF_ACL_RX_COUNT (MAX(CONFIG_BT_BUF_ACL_RX_COUNT, (CONFIG_BT_MAX_CONN + 1)) + \ - CONFIG_BT_BUF_ACL_RX_COUNT_EXTRA) +/* The host needs more ACL buffers than maximum ACL links. This is because of + * the way we re-assemble ACL packets into L2CAP PDUs. + * + * We keep around the first buffer (that comes from the driver) to do + * re-assembly into, and if all links are re-assembling, there will be no buffer + * available for the HCI driver to allocate from. + * + * Fixing it properly involves a re-design of the HCI driver interface. + * + * TODO: When CONFIG_BT_BUF_ACL_RX_COUNT is removed, + * remove the MAX and only keep (CONFIG_BT_MAX_CONN + 1) + */ +#define BT_BUF_ACL_RX_COUNT \ + (MAX(CONFIG_BT_BUF_ACL_RX_COUNT, (CONFIG_BT_MAX_CONN + 1)) + \ + CONFIG_BT_BUF_ACL_RX_COUNT_EXTRA)
#define BT_BUF_ACL_RX_COUNT 0
#endif /* CONFIG_BT_CONN && CONFIG_BT_HCI_HOST */

BUILD_ASSERT(BT_BUF_ACL_RX_COUNT <= BT_BUF_ACL_RX_COUNT_MAX,
"Maximum number of ACL RX buffer is 65535, reduce CONFIG_BT_BUF_ACL_RX_COUNT_EXTRA");

/** Data size needed for HCI ACL, HCI ISO or Event RX buffers */
#define BT_BUF_RX_SIZE (MAX(MAX(BT_BUF_ACL_RX_SIZE, BT_BUF_EVT_RX_SIZE), \
BT_BUF_ISO_RX_SIZE))

/** Buffer count needed for HCI ACL, HCI ISO or Event RX buffers */
#define BT_BUF_RX_COUNT (MAX(MAX(CONFIG_BT_BUF_EVT_RX_COUNT, \
CONFIG_BT_BUF_ACL_RX_COUNT), \
BT_BUF_ACL_RX_COUNT), \
BT_BUF_ISO_RX_COUNT))

Check notice on line 122 in include/zephyr/bluetooth/buf.h

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

You may want to run clang-format on this change

include/zephyr/bluetooth/buf.h:122 -#define BT_BUF_RX_COUNT (MAX(MAX(CONFIG_BT_BUF_EVT_RX_COUNT, \ - BT_BUF_ACL_RX_COUNT), \ - BT_BUF_ISO_RX_COUNT)) +#define BT_BUF_RX_COUNT \ + (MAX(MAX(CONFIG_BT_BUF_EVT_RX_COUNT, BT_BUF_ACL_RX_COUNT), BT_BUF_ISO_RX_COUNT))
/** Data size needed for HCI Command buffers. */
Expand Down
1 change: 0 additions & 1 deletion samples/bluetooth/central_hr/prj_minimal.conf
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ CONFIG_BT_CTLR_PHY_2M=n
# Reduce Bluetooth buffers
CONFIG_BT_BUF_EVT_DISCARDABLE_COUNT=1
CONFIG_BT_BUF_EVT_DISCARDABLE_SIZE=45
CONFIG_BT_BUF_ACL_RX_COUNT=2
CONFIG_BT_BUF_EVT_RX_COUNT=2

CONFIG_BT_L2CAP_TX_BUF_COUNT=2
Expand Down
1 change: 0 additions & 1 deletion samples/bluetooth/central_multilink/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ CONFIG_BT_AUTO_PHY_UPDATE=n
CONFIG_BT_PRIVACY=y

CONFIG_BT_MAX_CONN=62
CONFIG_BT_BUF_ACL_RX_COUNT=63

# CONFIG_BT_GATT_CLIENT=y

Expand Down
1 change: 0 additions & 1 deletion samples/bluetooth/hci_uart_async/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ CONFIG_BT_HCI_RAW_H4_ENABLE=y

# Controller configuration. Modify these for your application's needs.
CONFIG_BT_MAX_CONN=16
CONFIG_BT_BUF_ACL_RX_COUNT=17
CONFIG_BT_BUF_ACL_RX_SIZE=255
CONFIG_BT_BUF_CMD_TX_SIZE=255
CONFIG_BT_BUF_EVT_DISCARDABLE_SIZE=255
Expand Down
2 changes: 1 addition & 1 deletion samples/bluetooth/mesh/boards/bbc_microbit.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ CONFIG_BT_PERIPHERAL=n
CONFIG_BT_EXT_ADV=n
CONFIG_BT_RX_STACK_SIZE=1100
CONFIG_BT_BUF_EVT_RX_COUNT=3
CONFIG_BT_BUF_ACL_RX_COUNT=3
CONFIG_BT_BUF_ACL_RX_COUNT_EXTRA=1
CONFIG_BT_BUF_EVT_DISCARDABLE_COUNT=3

CONFIG_BT_CTLR_ADV_EXT=n
Expand Down
1 change: 0 additions & 1 deletion samples/bluetooth/peripheral_hr/prj_minimal.conf
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ CONFIG_BT_CTLR_PHY_2M=n
# Reduce Bluetooth buffers
CONFIG_BT_BUF_EVT_DISCARDABLE_COUNT=1
CONFIG_BT_BUF_EVT_DISCARDABLE_SIZE=45
CONFIG_BT_BUF_ACL_RX_COUNT=2
CONFIG_BT_BUF_EVT_RX_COUNT=2

CONFIG_BT_L2CAP_TX_BUF_COUNT=2
Expand Down
1 change: 0 additions & 1 deletion samples/bluetooth/peripheral_identity/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ CONFIG_BT_GAP_AUTO_UPDATE_CONN_PARAMS=n

CONFIG_BT_MAX_CONN=62
CONFIG_BT_ID_MAX=62
CONFIG_BT_BUF_ACL_RX_COUNT=63

# CONFIG_BT_SMP=y
# CONFIG_BT_MAX_PAIRED=62
13 changes: 12 additions & 1 deletion subsys/bluetooth/common/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,19 @@ config BT_BUF_ACL_RX_SIZE
In a Controller only build this will determine the maximum ACL size
that the Controller will send to the Host.

config BT_BUF_ACL_RX_COUNT_EXTRA
int "Number of extra incoming ACL data buffers"
default 0
range 0 65535
help
Number of incoming extra ACL data buffers sent from the Controller to
the Host.

By default, the number of incoming ACL data buffers is equal to
CONFIG_BT_MAX_CONN + 1.

config BT_BUF_ACL_RX_COUNT
int "Number of incoming ACL data buffers"
int "[DEPRECATED] Number of incoming ACL data buffers"
default 6
range 2 256
help
Expand Down
24 changes: 0 additions & 24 deletions subsys/bluetooth/common/dummy.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,27 +60,3 @@ BUILD_ASSERT(!IS_ENABLED(CONFIG_LOG_MODE_IMMEDIATE), "Immediate logging "
"on selected backend(s) not "
"supported with the software Link Layer");
#endif

#if defined(CONFIG_BT_CONN) && defined(CONFIG_BT_HCI_HOST)
/* The host needs more ACL buffers than maximum ACL links. This is because of
* the way we re-assemble ACL packets into L2CAP PDUs.
*
* We keep around the first buffer (that comes from the driver) to do
* re-assembly into, and if all links are re-assembling, there will be no buffer
* available for the HCI driver to allocate from.
*
* Fixing it properly involves a re-design of the HCI driver interface.
*/
#if defined(CONFIG_BT_HCI_ACL_FLOW_CONTROL)
BUILD_ASSERT(CONFIG_BT_BUF_ACL_RX_COUNT > CONFIG_BT_MAX_CONN);

#else /* !CONFIG_BT_HCI_ACL_FLOW_CONTROL */

/* BT_BUF_RX_COUNT is defined in include/zephyr/bluetooth/buf.h */
BUILD_ASSERT(BT_BUF_RX_COUNT > CONFIG_BT_MAX_CONN,
"BT_BUF_RX_COUNT needs to be greater than CONFIG_BT_MAX_CONN. "
"In order to do that, increase CONFIG_BT_BUF_ACL_RX_COUNT.");

#endif /* CONFIG_BT_HCI_ACL_FLOW_CONTROL */

#endif /* CONFIG_BT_CONN */
2 changes: 1 addition & 1 deletion subsys/bluetooth/host/buf.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ NET_BUF_POOL_FIXED_DEFINE(discardable_pool, CONFIG_BT_BUF_EVT_DISCARDABLE_COUNT,
sizeof(struct bt_buf_data), NULL);

#if defined(CONFIG_BT_HCI_ACL_FLOW_CONTROL)
NET_BUF_POOL_DEFINE(acl_in_pool, CONFIG_BT_BUF_ACL_RX_COUNT,
NET_BUF_POOL_DEFINE(acl_in_pool, BT_BUF_ACL_RX_COUNT,
BT_BUF_ACL_SIZE(CONFIG_BT_BUF_ACL_RX_SIZE),
sizeof(struct acl_data), bt_hci_host_num_completed_packets);

Check notice on line 45 in subsys/bluetooth/host/buf.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

You may want to run clang-format on this change

subsys/bluetooth/host/buf.c:45 -NET_BUF_POOL_DEFINE(acl_in_pool, BT_BUF_ACL_RX_COUNT, - BT_BUF_ACL_SIZE(CONFIG_BT_BUF_ACL_RX_SIZE), +NET_BUF_POOL_DEFINE(acl_in_pool, BT_BUF_ACL_RX_COUNT, BT_BUF_ACL_SIZE(CONFIG_BT_BUF_ACL_RX_SIZE),

Expand Down
2 changes: 1 addition & 1 deletion subsys/bluetooth/host/classic/rfcomm.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ LOG_MODULE_REGISTER(bt_rfcomm);
#define RFCOMM_MIN_MTU BT_RFCOMM_SIG_MIN_MTU
#define RFCOMM_DEFAULT_MTU 127

#define RFCOMM_MAX_CREDITS (CONFIG_BT_BUF_ACL_RX_COUNT - 1)
#define RFCOMM_MAX_CREDITS (BT_BUF_ACL_RX_COUNT - 1)
#define RFCOMM_CREDITS_THRESHOLD (RFCOMM_MAX_CREDITS / 2)

Check notice on line 41 in subsys/bluetooth/host/classic/rfcomm.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

You may want to run clang-format on this change

subsys/bluetooth/host/classic/rfcomm.c:41 -#define RFCOMM_MAX_CREDITS (BT_BUF_ACL_RX_COUNT - 1) +#define RFCOMM_MAX_CREDITS (BT_BUF_ACL_RX_COUNT - 1)
#define RFCOMM_DEFAULT_CREDIT RFCOMM_MAX_CREDITS

Expand Down
2 changes: 1 addition & 1 deletion subsys/bluetooth/host/hci_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2005,7 +2005,7 @@ static int set_flow_control(void)
hbs = net_buf_add(buf, sizeof(*hbs));
(void)memset(hbs, 0, sizeof(*hbs));
hbs->acl_mtu = sys_cpu_to_le16(CONFIG_BT_BUF_ACL_RX_SIZE);
hbs->acl_pkts = sys_cpu_to_le16(CONFIG_BT_BUF_ACL_RX_COUNT);
hbs->acl_pkts = sys_cpu_to_le16(BT_BUF_ACL_RX_COUNT);

err = bt_hci_cmd_send_sync(BT_HCI_OP_HOST_BUFFER_SIZE, buf, NULL);
if (err) {
Expand Down
2 changes: 1 addition & 1 deletion subsys/bluetooth/host/l2cap.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ LOG_MODULE_REGISTER(bt_l2cap, CONFIG_BT_L2CAP_LOG_LEVEL);
#define L2CAP_LE_MIN_MTU 23
#define L2CAP_ECRED_MIN_MTU 64

#define L2CAP_LE_MAX_CREDITS (CONFIG_BT_BUF_ACL_RX_COUNT - 1)
#define L2CAP_LE_MAX_CREDITS (BT_BUF_ACL_RX_COUNT - 1)

Check notice on line 47 in subsys/bluetooth/host/l2cap.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

You may want to run clang-format on this change

subsys/bluetooth/host/l2cap.c:47 -#define L2CAP_LE_MAX_CREDITS (BT_BUF_ACL_RX_COUNT - 1) +#define L2CAP_LE_MAX_CREDITS (BT_BUF_ACL_RX_COUNT - 1)
#define L2CAP_LE_CID_DYN_START 0x0040
#define L2CAP_LE_CID_DYN_END 0x007f
Expand Down
1 change: 0 additions & 1 deletion tests/bluetooth/tester/boards/frdm_rw612.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
CONFIG_BT_MAX_CONN=16
CONFIG_BT_BUF_ACL_RX_COUNT=17

# debug options
# CONFIG_UART_CONSOLE=y
Expand Down
1 change: 0 additions & 1 deletion tests/bluetooth/tester/boards/rd_rw612_bga.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
CONFIG_BT_MAX_CONN=16
CONFIG_BT_BUF_ACL_RX_COUNT=17

# debug options
# CONFIG_UART_CONSOLE=y
Expand Down
4 changes: 2 additions & 2 deletions tests/bsim/bluetooth/host/l2cap/einprogress/src/dut.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ LOG_MODULE_REGISTER(dut, LOG_LEVEL_INF);
* application. This allows us to notice if the stack has freed
* references that were ours.
*/
static atomic_t acl_pool_refs_held[CONFIG_BT_BUF_ACL_RX_COUNT];
static atomic_t acl_pool_refs_held[BT_BUF_ACL_RX_COUNT];

BUILD_ASSERT(IS_ENABLED(CONFIG_BT_TESTING));
BUILD_ASSERT(IS_ENABLED(CONFIG_BT_HCI_ACL_FLOW_CONTROL));
Expand All @@ -46,7 +46,7 @@ static void acl_pool_refs_held_add(struct net_buf *buf)
{
int buf_id = net_buf_id(buf);

__ASSERT_NO_MSG(0 <= buf_id && buf_id < CONFIG_BT_BUF_ACL_RX_COUNT);
__ASSERT_NO_MSG(0 <= buf_id && buf_id < BT_BUF_ACL_RX_COUNT);
atomic_inc(&acl_pool_refs_held[buf_id]);
}

Expand Down
2 changes: 1 addition & 1 deletion tests/bsim/bluetooth/host/l2cap/reassembly/dut/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ CONFIG_BT_GAP_AUTO_UPDATE_CONN_PARAMS=n
# RX buffer pool, it is a good idea to constrain said buffer
# pool.
CONFIG_BT_MAX_CONN=1
CONFIG_BT_BUF_ACL_RX_COUNT=6
CONFIG_BT_BUF_ACL_RX_COUNT_EXTRA=4
CONFIG_BT_BUF_EVT_RX_COUNT=6
1 change: 0 additions & 1 deletion tests/bsim/bluetooth/host/l2cap/stress/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ CONFIG_BT_CTLR_DATA_LENGTH_MAX=27
CONFIG_BT_CTLR_RX_BUFFERS=10

CONFIG_BT_MAX_CONN=10
CONFIG_BT_BUF_ACL_RX_COUNT=11

CONFIG_LOG=y
CONFIG_ASSERT=y
Expand Down
1 change: 0 additions & 1 deletion tests/bsim/bluetooth/host/l2cap/stress/prj_nofrag.conf
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ CONFIG_BT_CTLR_DATA_LENGTH_MAX=81
CONFIG_BT_CTLR_RX_BUFFERS=10

CONFIG_BT_MAX_CONN=10
CONFIG_BT_BUF_ACL_RX_COUNT=11

CONFIG_LOG=y
CONFIG_ASSERT=y
Expand Down
1 change: 0 additions & 1 deletion tests/bsim/bluetooth/host/l2cap/stress/prj_syswq.conf
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ CONFIG_BT_CTLR_DATA_LENGTH_MAX=27
CONFIG_BT_CTLR_RX_BUFFERS=10

CONFIG_BT_MAX_CONN=10
CONFIG_BT_BUF_ACL_RX_COUNT=11

CONFIG_LOG=y
CONFIG_ASSERT=y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ CONFIG_BT=y
CONFIG_LOG=y
CONFIG_BT_CENTRAL=y
CONFIG_BT_MAX_CONN=12
CONFIG_BT_BUF_ACL_RX_COUNT=13
CONFIG_BT_MAX_PAIRED=12
CONFIG_BT_SMP=y
CONFIG_BT_PRIVACY=y
Expand Down
4 changes: 0 additions & 4 deletions tests/bsim/bluetooth/host/misc/hfc_multilink/dut/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,5 @@ CONFIG_BT_AUTO_DATA_LEN_UPDATE=n
CONFIG_BT_GAP_AUTO_UPDATE_CONN_PARAMS=n

CONFIG_BT_MAX_CONN=3
CONFIG_BT_BUF_ACL_RX_COUNT=4

# This test will fail when CONFIG_BT_MAX_CONN == CONFIG_BT_BUF_ACL_RX_COUNT
# CONFIG_BT_BUF_ACL_RX_COUNT=3

CONFIG_BT_HCI_ACL_FLOW_CONTROL=y
2 changes: 1 addition & 1 deletion tests/bsim/bluetooth/host/misc/hfc_multilink/dut/src/dut.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ LOG_MODULE_REGISTER(dut, CONFIG_APP_LOG_LEVEL);
#define NUM_TESTERS CONFIG_BT_MAX_CONN

/* Build with the minimum possible amount of RX buffers */
BUILD_ASSERT(CONFIG_BT_BUF_ACL_RX_COUNT == (CONFIG_BT_MAX_CONN + 1));
BUILD_ASSERT(BT_BUF_ACL_RX_COUNT >= (CONFIG_BT_MAX_CONN + 1));

struct tester {
size_t sdu_count;
Expand Down
1 change: 0 additions & 1 deletion tests/bsim/bluetooth/ll/multiple_id/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ CONFIG_BT_AUTO_DATA_LEN_UPDATE=y

CONFIG_BT_MAX_CONN=250
CONFIG_BT_ID_MAX=250
CONFIG_BT_BUF_ACL_RX_COUNT=251

# L2CAP, ATT and SMP usage cause data transmission deadlock due to shortage
# of buffers when transactions crossover amongst the connections in the same
Expand Down

0 comments on commit d34ac1a

Please sign in to comment.