commit | 9b3f41de55cbccff1dec9008c775f6f8609ed4f1 | [log] [tgz] |
---|---|---|
author | Jonathan Rico <jonathan.rico@nordicsemi.no> | Fri Jun 07 11:18:19 2024 +0200 |
committer | Alberto Escolar <alberto.escolar.piedras@nordicsemi.no> | Wed Jun 12 18:51:34 2024 +0200 |
tree | a2bccff96a6acc7b129b8674daa23b09a2d4599d | |
parent | 5a7ef422bb1b39421c3a7a890b5e146b82b5f91c [diff] |
Bluetooth: host: don't pull data if no view bufs View buffers are now also a limited resource. Acquire them before attempting to pull data. `CONFIG_BT_CONN_FRAG_COUNT` should be tuned on a per-application basis to avoid this. A possible optimization, that was present before, is to not create a frag when the original buffer fits the controller's HCI size. I prefer deferring this optimization to a future patchset. Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>