[riot-notifications] [RIOT-OS/RIOT] net/sixlowpan: Fixed calculation of fragment size (#10995)
notifications at github.com
Tue Feb 12 09:54:09 CET 2019
### Contribution description
Fragment size calculation previously failed for devices that are able to transmit bigger layer 2 PDUs that 802.15.4 devices. This commit fixes the issue.
### Testing procedure
Try running `ping6 -s 512 <ADDR>` with https://github.com/RIOT-OS/RIOT/pull/10340. This will fail, as maximum fragment size calculation does not work. Rebase PR https://github.com/RIOT-OS/RIOT/pull/10340 against this PR and it will work.
### Issues/PRs references
Bug found when testing 6LoWPAN fragmentation with the `cc110x`, which has a maximum layer two DPU of 253 bytes, which is higher than the usual 127-x bytes of 802.15.4 transceivers.
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* net/sixlowpan: Fixed calculation of fragment size
-- File Changes --
M sys/net/gnrc/network_layer/sixlowpan/frag/gnrc_sixlowpan_frag.c (2)
-- Patch Links --
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications