On Mon, Mar 03, 2014 at 03:06:01PM +0100, Alexander Aring wrote: > Hi, > > This patch is fine. Increment and set of DSN value should be done by > mac802154 layer. > > But there is also a known issue with increment of DSN value while > 6lowpan fragmentation. > > On a fragmented packet 6lowpan calls dev_hard_header once, then many > times lowpan_fragment_xmit, depending on the number of fragments which > is needed. > > Each call of lowpan_fragment_xmit will have the same DSN value. Maybe we > should put the increment of DSN in "mac802154/tx.c" before calling xmit > callback from driver (Just an idea). What do you think about that? >
Or maybe we can move the dev_hard_header call in lowpan_fragment_xmit and lowpan_xmit if this is possible. But then we doesn't know the mac header length in lowpan_skb_fragmentation. Strange... - Alex ------------------------------------------------------------------------------ Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk _______________________________________________ Linux-zigbee-devel mailing list Linux-zigbee-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel