Hi guys, I currently working on the fragmentation part to work with contiki devices. There are some issues with the datagram_size so we need to do some work on the fragmentation and reassemble part.
I have a dirty fix for this which get this working, but I got some trouble with wireshark and nullpointing dereferences. I checked in the linux kernel how other protocols like ipv6 or ipv4 do a fragmentation and step over a fragmentation api inside the netapi which used by ipv6 and ipv4 protocols. This api is described in include/net/inet_frag.h and is used in net/ipv6/reassembly.c for example. So I think this is a good solution to use it in the 6lowpan stack, but with my experience we can't use the normal api for fragmentation, because the current architecture with a lowpan device on top of a wpan device. Each time we sending from a lowpan device we find the correct wpan netdev and replace the skb->dev (from lowpan device) with the wpan device. With this mechanismn the fragmentation api from net branch can't be use. I suppose the api can't handle the change from dev attribute in skb struct. I got the same issue with the wireshark capture problem on the lowpan device. So my questions are: 1 Is there some other "example" in the linux kernel which use the same architecture to replace the dev attribute in a skb? 2. Why we don't have only a wpan# device and drop the lowpan rtnl device? Okay we need to increase the mtu here to add some ipv6 addresses, but this is one of the smallest problem. We can still send mac802154 on SOCK_PACKET and ipv6 on SOCK_RAW, I suppose. 3. Why we have a list of slaves in the mac802154 implementation? To handle one device with different channels? I don't know how this could work with tx packets. I do some testing implementation to have only a wpan device without the lowpan device to check if it possible to do this in that way. - Alex ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Linux-zigbee-devel mailing list Linux-zigbee-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel