zephyr/tests/net/ieee802154
Tomasz Bursztyka ca7b3b3703 net/ieee802154: Switch fragmentation support to new net_pkt API
- differentiating actual "fragment" to buffer element from a net_pkt
- instead of copying data (and thus allocating buffer) let's just take
the fragment buffer and put it into result packet.
- fixing compilation issue in relevant test

It's more efficient that way, as we use already allocated fragment
buffer instead of reallocating/deallocating after each fragment
reception.

A possible optimization would be to calculate the actual size + header
difference if only the actual size is close to the target size.
It would avoid to get a dry run of the header decompression for each
fragment received. The difficulty being in finding the sweet spot when
it is relevant to calculate the header difference.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2019-02-23 07:44:59 -05:00
..
crypto cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
fragment net/ieee802154: Switch fragmentation support to new net_pkt API 2019-02-23 07:44:59 -05:00
l2 cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00