mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-12 17:31:56 +00:00
- 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> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
ieee802154_fragment.c | ||
ieee802154_fragment.h | ||
ieee802154_frame.c | ||
ieee802154_frame.h | ||
ieee802154_mgmt_priv.h | ||
ieee802154_mgmt.c | ||
ieee802154_radio_aloha.c | ||
ieee802154_radio_csma_ca.c | ||
ieee802154_radio_utils.h | ||
ieee802154_security.c | ||
ieee802154_security.h | ||
ieee802154_shell.c | ||
ieee802154_utils.h | ||
ieee802154.c | ||
Kconfig | ||
Kconfig.radio |