zephyr/subsys/net/l2/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
..
CMakeLists.txt
ieee802154_fragment.c net/ieee802154: Switch fragmentation support to new net_pkt API 2019-02-23 07:44:59 -05:00
ieee802154_fragment.h net/ieee802154: Switch fragmentation support to new net_pkt API 2019-02-23 07:44:59 -05:00
ieee802154_frame.c net/ieee802154: Switch L2 to new net_pkt allocator 2019-02-23 07:44:59 -05:00
ieee802154_frame.h net/ieee802154: Switch L2 to new net_pkt allocator 2019-02-23 07:44:59 -05:00
ieee802154_mgmt_priv.h
ieee802154_mgmt.c net/ieee802154: Switch L2 to new net_pkt allocator 2019-02-23 07:44:59 -05:00
ieee802154_radio_aloha.c
ieee802154_radio_csma_ca.c
ieee802154_radio_utils.h net/ieee802154: Switch L2 to new net_pkt allocator 2019-02-23 07:44:59 -05:00
ieee802154_security.c
ieee802154_security.h
ieee802154_shell.c
ieee802154_utils.h net/ieee802154: Switch L2 to new net_pkt allocator 2019-02-23 07:44:59 -05:00
ieee802154.c net/ieee802154: Switch fragmentation support to new net_pkt API 2019-02-23 07:44:59 -05:00
Kconfig
Kconfig.radio