zephyr/tests/bsim/bluetooth/host/misc
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
..
acl_tx_frag bluetooth: host: Deprecated BT_CONN_TX_MAX 2025-05-12 14:54:26 +02:00
conn_stress Bluetooth: Host: bsim: Refactor common files 2025-01-17 13:41:50 +01:00
disable Bluetooth: Host: More bsim refactoring 2025-02-12 09:40:07 +01:00
disconnect Bluetooth: tests: Update to use new H:4 buffer encoding 2025-04-29 13:00:33 +02:00
hfc tests: bsim: bluetooth: host: hfc: Run test for nRF5340 2025-04-11 06:32:58 +02:00
hfc_multilink Bluetooth: tests: Update to use new H:4 buffer encoding 2025-04-29 13:00:33 +02:00
sample_test Bluetooth: Host: More bsim refactoring 2025-02-12 09:40:07 +01:00
unregister_conn_cb Bluetooth: Host: More bsim refactoring 2025-02-12 09:40:07 +01:00