On Apr 9, 2013, at 9:22 AM 4/9/13, Ralph Droms (rdroms) <rdr...@cisco.com> 
wrote:

> 
> On Apr 9, 2013, at 9:12 AM 4/9/13, Christophe Aeschlimann 
> <c.aeschlim...@acn-group.ch>
> wrote:
> 
>> Hi Alex,
>> 
>> Le 09.04.2013 14:58, Alexander Aring a écrit :
>> 
>> [...]
>> 
>>> SLAC based addressing is currently broken. I wrote some fixed for it
>>> [1]. But Ralph Droms has a fix for this, too.
>> 
>> Yeah I tested Ralph Droms patches they seem to fix the problem here.
>> I'm going to test your patch as well. Thanks !
> 
> BTW, I'm looking for feedback on the SLAAC addressing patches I posted before 
> submitting them for inclusion in 6lowpan.c
> 
>> 
>>> The compress/uncompress part doesn't work correctly current.
>> 
>> Also if I try to ping with a big packet and I'm using a link local
>> address it seems the fragmentation fails. It works if I'm using normal
>> addresses.
>> 
>> Node 1 :
>> $ip -6 addr add dev lowpan0 fe80::1/64
>> $ip -6 addr add dev lowpan0 2001::1/64
>> 
>> Node 2 :
>> $ip -6 addr add dev lowpan0 fe80::2/64
>> $ip -6 addr add dev lowpan0 2001::2/64
>> 
>> Node 1 :
>> $ping6 fe80::2        => OK
>> $ping6 2001::2        => OK
>> $ping6 fe80::2 -s 100 => FAIL
>> $ping6 2001::2 -s 100 => OK
>> 
>> Someone can confirm that ?
> 
> Interesting.  Note that fragmentation in 6lowpan.c is not compliant with RFC 
> 4944, and won't interoperate at all with other 6LoWPAN implementations (e.g., 
> Contiki, XINU).  I posted a draft fix for outbound fragmentation and I 
> finishing development of a fix for inbound fragmentation.  An early version 
> of my fixes for fragmentation seemed to work OK for with link-local and 
> global addresses.

If you've applied my SLAAC addressing patches, the problem may be that the 
fragment reassembly code currently does not copy the MAC address from the 
received fragment into the reassembly frame, so the SLAAC uncompression code 
can't get the MAC address to form the link-local address.

- Ralph

> 
> - Ralph
> 
>> 
>> Best regards,
>> 
>> -- 
>> Christophe Aeschlimann
>> 
>> Embedded Software Engineer & IT Manager
>> ACN Advanced Communications Networks S.A.
>> 2000 - Neuchâtel, Switzerland
>> Tel. +41 32 724 74 31


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to