zephyr/subsys/bluetooth
Pavel Vasilyev 14b4e30cdf bluetooth: host: Deprecated BT_CONN_TX_MAX
After https://github.com/zephyrproject-rtos/zephyr/pull/72090,
`conn_tx_alloc` no longer blocks, and each buffer always has a
corresponding `bt_conn_tx` object. This eliminates the need to configure
the number of `bt_conn_tx` objects via `CONFIG_BT_CONN_TX_MAX`, since
every buffer now carries its own context even when no callback is used.

This commit deprecates `CONFIG_BT_CONN_TX_MAX` as it is no longer
necessary. Instead, `CONFIG_BT_BUF_ACL_TX_COUNT` is used to allocate
`bt_conn_tx` objects for outgoing ACL data. ZLL already uses
`CONFIG_BT_BUF_ACL_TX_COUNT` to configure the number of outgoing ACL
packets. With this change, modifying the packet count will automatically
adjust the number of corresponding contexts, preventing both context
starvatoin and underutilization.

This approach also aligns with ISO, where the number of `bt_conn_tx`
objects for outgoing ISOdata matches `CONFIG_BT_ISO_TX_BUF_COUNT`.

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
2025-05-12 14:54:26 +02:00
..
audio Bluetooth: Audio: Rename ctx type prohibited to none 2025-05-08 01:58:01 +02:00
common bluetooth: host: Increase default cmd buffer size to 255 if using CS 2025-05-07 10:29:59 +02:00
controller Bluetooth: Controller: Fix LOW_LAT_ULL implementation for ISO support 2025-05-09 10:42:28 +02:00
crypto Bluetooth: crypto: add select PSA_WANT_ALG_ECB_NO_PADDING 2025-01-15 22:57:20 +01:00
host bluetooth: host: Deprecated BT_CONN_TX_MAX 2025-05-12 14:54:26 +02:00
lib
mesh bluetooth: mesh: keep scanner enabled if lpn has been disabled 2025-04-25 14:05:27 +02:00
services bluetooth: rename _bt_gatt_ccc and clarify usage 2025-04-17 17:24:19 +02:00
CMakeLists.txt Bluetooth: Controller: Replace BT_CTLR with HAS_BT_CTLR 2024-12-03 10:16:44 +01:00
Kconfig bluetooth: host: Remove experimental flag from LE Connection Subrating 2025-03-17 13:57:03 +01:00
Kconfig.adv Bluetooth: Host: Remove experimental label from PAwR 2025-03-14 17:56:18 +01:00
Kconfig.logging Bluetooth: AVRCP: Implemation of AVRCP. 2024-11-18 13:19:07 -05:00