zephyr/subsys/bluetooth/host
Jonathan Rico 9b3f41de55 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>
2024-06-12 18:51:34 +02:00
..
classic Bluetooth: host: use __maybe_unused for convenience variables 2024-06-12 18:51:34 +02:00
addr_internal.h
addr.c
adv.c Bluetooth: Host: Check max adv data len from ctrl 2024-04-29 11:02:02 +02:00
adv.h
aes_ccm.c
att_internal.h
att.c Bluetooth: L2CAP: Make bt_l2cap_send_pdu() 2024-06-12 18:51:34 +02:00
buf_view.h Bluetooth: host: Introduce "view" buffer concept 2024-06-12 18:51:34 +02:00
buf.c Bluetooth: L2CAP: remove seg_pool 2024-06-12 18:51:34 +02:00
CMakeLists.txt Bluetooth: Host: Move BR/EDR files to host/classic 2024-03-07 11:26:45 +02:00
conn_internal.h Bluetooth: L2CAP: remove seg_pool 2024-06-12 18:51:34 +02:00
conn.c Bluetooth: host: don't pull data if no view bufs 2024-06-12 18:51:34 +02:00
crypto.c
crypto.h
data.c
direction_internal.h
direction.c
ecc.c
ecc.h
gatt_internal.h
gatt.c Bluetooth: refactor add is_host_managed_ccc 2024-04-23 15:34:25 +02:00
hci_common.c
hci_core.c Bluetooth: host: use __maybe_unused for convenience variables 2024-06-12 18:51:34 +02:00
hci_core.h Bluetooth: host: remove TX thread 2024-06-12 18:51:34 +02:00
hci_ecc.c Bluetooth: host: Add support for new-style HCI drivers 2024-06-11 19:42:49 -04:00
hci_ecc.h
hci_raw_internal.h Bluetooth: host: Add support for new-style HCI drivers 2024-06-11 19:42:49 -04:00
hci_raw.c Bluetooth: host: hci_raw: Use existing H4 defines from hci_types.h 2024-06-11 19:42:49 -04:00
id.c Bluetooth: host: Update id.c to support id rst/del for CONFIG_BT_SMP=n 2024-05-31 09:55:06 -05:00
id.h
iso_internal.h Bluetooth: host: Change TX pattern (push -> pull) 2024-06-12 18:51:34 +02:00
iso.c Bluetooth: host: use __maybe_unused for convenience variables 2024-06-12 18:51:34 +02:00
Kconfig Bluetooth: host: Change TX pattern (push -> pull) 2024-06-12 18:51:34 +02:00
Kconfig.gatt
Kconfig.l2cap Bluetooth: L2CAP: remove CONFIG_BT_L2CAP_RESCHED_MS 2024-06-12 18:51:34 +02:00
keys.c Bluetooth: Host: Fix not clearing IDs and keys upon bt_disable() 2024-05-28 09:11:52 -07:00
keys.h Bluetooth: Host: Fix not clearing IDs and keys upon bt_disable() 2024-05-28 09:11:52 -07:00
l2cap_internal.h Bluetooth: L2CAP: Make bt_l2cap_send_pdu() 2024-06-12 18:51:34 +02:00
l2cap.c Bluetooth: host: use __maybe_unused for convenience variables 2024-06-12 18:51:34 +02:00
long_wq.c Bluetooth: host: tweak up the bluetooth thread names 2024-04-02 21:01:00 -04:00
long_wq.h
monitor.c Bluetooth: Rename BT_BREDR to BT_CLASSIC 2024-03-07 11:26:45 +02:00
monitor.h Bluetooth: Rename BT_BREDR to BT_CLASSIC 2024-03-07 11:26:45 +02:00
scan.c Bluetooth: Host: Fix auto-connect/sync establishment on Coded PHY 2024-05-03 14:44:31 +01:00
scan.h
settings.c
settings.h
smp_null.c Bluetooth: L2CAP: Make bt_l2cap_send_pdu() 2024-06-12 18:51:34 +02:00
smp.c Bluetooth: L2CAP: Make bt_l2cap_send_pdu() 2024-06-12 18:51:34 +02:00
smp.h
testing.c
testing.h
uuid.c