zephyr/tests/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
..
addr Bluetooth: Controller: Replace BT_CTLR with HAS_BT_CTLR 2024-12-03 10:16:44 +01:00
adv
at lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
audio tests: Bluetooth: Audio: Fix includes 2025-05-01 13:42:37 +02:00
bluetooth Bluetooth: Controller: Replace BT_CTLR with HAS_BT_CTLR 2024-12-03 10:16:44 +01:00
bt_crypto test: Bluetooth: crypto: increase stack size for all the boards 2025-01-27 17:10:21 +01:00
bt_crypto_ccm Bluetooth: Controller: Replace BT_CTLR with HAS_BT_CTLR 2024-12-03 10:16:44 +01:00
buf tests: bluetooth: buf: Test the freed buf callback 2024-12-10 11:09:36 +01:00
classic tests: Bluetooth: Classic: Add dedicated test case for no_blobs 2025-04-22 09:58:47 +02:00
common/testlib Bluetooth: testlib: Fix includes (IWYU) 2025-04-18 10:40:31 +02:00
controller tests: Bluetooth: fix misspelling of brief in doxygen 2025-05-07 11:44:33 +02:00
df Bluetooth: Rename BLE to Bluetooth (LE) where applicable 2025-02-12 12:24:18 +01:00
gap Bluetooth: Host: Add conversion macros from ms to various units 2024-11-16 14:06:03 -05:00
gatt bluetooth: gatt: Add BT_GATT_CCC_WITH_WRITE_CB() 2025-04-11 16:17:42 +02:00
hci Bluetooth: Controller: Replace BT_CTLR with HAS_BT_CTLR 2024-12-03 10:16:44 +01:00
hci_codecs_info Bluetooth: Controller: Fix HCI command buffer allocation failure 2025-02-21 11:30:38 +00:00
hci_prop_evt Bluetooth: tests: Update to use new H:4 buffer encoding 2025-04-29 13:00:33 +02:00
hci_uart_async Bluetooth: tests: Update to use new H:4 buffer encoding 2025-04-29 13:00:33 +02:00
host bluetooth: host: Deprecated BT_CONN_TX_MAX 2025-05-12 14:54:26 +02:00
host_config_variants bluetooth: smp: Fix build warnings for central with OOB legacy only 2024-12-12 11:05:38 +01:00
host_long_adv_recv Bluetooth: tests: Update to use new H:4 buffer encoding 2025-04-29 13:00:33 +02:00
init Bluetooth: Host: Add support for Advertising Coding Selection 2025-02-08 10:09:41 +01:00
l2cap Bluetooth: Controller: Replace BT_CTLR with HAS_BT_CTLR 2024-12-03 10:16:44 +01:00
mesh tests: bt: add Mbed TLS headers to the build 2024-11-27 16:40:47 -05:00
mesh_shell Bluetooth: Mesh: use secure storage in ble mesh 2025-01-14 13:23:47 +01:00
qualification tests: Bluetooth: Mark generated qualification file as binaries 2025-03-05 19:05:09 +00:00
shell boards: shields: add nxp_m2_wifi_bt shield 2025-04-28 12:57:54 -05:00
smp boards native_posix: Remove twister support 2025-03-07 19:16:14 +01:00
tester tests: Bluetooth: Tester: Set controller ACL buffer size 2025-05-09 14:02:10 +02:00
uuid Bluetooth: Controller: Replace BT_CTLR with HAS_BT_CTLR 2024-12-03 10:16:44 +01:00