zephyr/modules/openthread/platform
Robert Lubos 387a66131e net: pkt: Introduce minimum length requirement to net_pkt_get_frag()
net_pkt_get_frag() and a few other functions did not specify the
allocated fragment length, incorrectly assuming that fixed-sized
buffers are always used.

In order to make the function work properly also with variable-sized
buffers, extend the function argument list with minimum expected
fragment length parameter. This allows to use net_buf_alloc_len()
allocator in variable buffer length configuration, as well as verify if
the fixed-sized buffer is large enough to satisfy the requirements
otherwise.

Update the existing codebase to provide the expected fragment length,
based on the context.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2022-11-19 07:39:32 -05:00
..
alarm.c net: openthread: priortize usec timer for openthread port. 2022-09-12 10:54:56 +00:00
CMakeLists.txt
crypto_psa.c net: openthread: implement PSA support for ECDSA API 2022-11-17 11:20:03 +01:00
diag.c
entropy.c devices: constify statically initialized device pointers 2022-08-19 11:51:26 +02:00
logging.c
memory.c
misc.c
openthread-core-zephyr-config.h net: openthread: add option for optimizing large packet transmission 2022-08-30 10:26:02 +02:00
platform-zephyr.h
platform.c
radio.c net: pkt: Introduce minimum length requirement to net_pkt_get_frag() 2022-11-19 07:39:32 -05:00
settings.c
shell.c
spi.c
uart.c