Skip to content
Commit 6ebce364 authored by Jonathan Rico's avatar Jonathan Rico Committed by Chris Friedt
Browse files

Bluetooth: host: l2cap: add alloc_seg callback



This callback allows use-cases where the SDU is much larger than the
l2cap MPS. The stack will then try to allocate using this callback if
specified, and fall-back on using the buffer's pool (previous
behavior).

This way one can define two buffer pools, one with a very large buffer
size, and one with a buffer size >= MPS, and the stack will allocate
from that instead.

Signed-off-by: default avatarJonathan Rico <jonathan.rico@nordicsemi.no>
(cherry picked from commit 77e1a9dc)
parent 80ab098d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment