zephyr/subsys/bluetooth
Jonathan Rico 7093538c42 Bluetooth: att: don't re-use the ATT buffer for confirmations
If the peer is a zephyr host, there is no problem, as the Zephyr
host limits sending parallel REQs and INDs.

But the spec allows sending those in parallel, and it may end up that
the re-used REQ buffer hasn't been destroyed when an indication comes.

Only re-use the buffer when enqueuing ATT responses.

This means that we may run out of buffers if the peer sends too many
indications and our application also sends a lot of commands/notifications.

The rationale for this is that having to handle a lot of requests is a
more plausible scenario (e.g. being discovered by multiple peers) than
handling lots of parallel indications.

Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>
2023-09-28 14:21:27 +03:00
..
audio bluetooth: audio: Add API to get VCP service ATT handles 2023-09-28 13:16:23 +02:00
common Bluetooth: Mesh: Updated ACL configuration settings 2023-06-17 08:06:16 -04:00
controller Bluetooth: Controller: Fix ULL_HIGH ticker operations count 2023-09-28 13:21:05 +02:00
crypto
host Bluetooth: att: don't re-use the ATT buffer for confirmations 2023-09-28 14:21:27 +03:00
lib Bluetooth: Host: Remove 'Experimental' flag of EAD 2023-07-28 17:48:16 +02:00
mesh Bluetooth: Mesh: refactor mandatory oob for mesh1d1 2023-09-27 15:48:08 +02:00
services Bluetooth: Host: Amend existing L2CAP accept callbacks 2023-09-14 14:36:34 +02:00
shell Bluetooth: Host: Amend existing L2CAP accept callbacks 2023-09-14 14:36:34 +02:00
CMakeLists.txt
Kconfig Bluetooth: Add missing dependency for PAST feature 2023-04-04 14:31:17 +02:00
Kconfig.adv Bluetooth: Host: Add support for PAwR Sync 2023-04-26 20:08:16 +02:00
Kconfig.iso Bluetooth: ISO: Add advanced unicast ISO parameters 2023-07-31 09:04:52 +00:00
Kconfig.logging Bluetooth: controller: Included kconfigs for ISO-AL logging 2023-09-18 14:35:42 +02:00