On Tue, May 21, 2013 at 12:48:16PM +0200, Martin Hundebøll wrote:
These are the second revision of a few patches to remove the current fragmentation code and replace it with a new version that supports more packet types and more fragments per packet, thus allowing bigger payloads.
The patches are based on current master and are meant for the next big bump in compat number. Revision 3 is changed according to Antonios review.
Side note:
While testing aligned vs unaligned memory I saw that fragmentation raised ICMP latency (tested by means of ping) from 1msec to 20msecs.
Test has been done between two neighbouring nodes and one of them was configured as follows:
- mesh0 mtu = 1000 - bat0 mtu = 1500 - mesh0 is enslaved in bat0 - ping packet was 1408 bytes big
Conclusion is: fragmentation worked as expected (at least in this case :-)), so batman-adv should also be able to work over Bluetooth as well, but it is recommended to avoid it :D
Thanks a lot for your work Martin!
Cheers,