On 03/05/2013 10:48 AM, Wolf-Bastian Pöttner wrote: > finally I have 6lowpan running. However, acknowledgement of frames is not > working. When I enable address filtering in the at86rf230, I only receive > broadcast frames and no unicast frames anymore. > > The reason seems to be the addressing. I have setup my wpan0 device to use > this address: > ip link set wpan0 address a0:a0:a0:a0:a0:a0:a0:a0 > > The ieee802154 stack has put exactly this address into the call to > set_hw_addr_filt. The driver puts this in the hardware filter of the radio. > > For the 6lowpan address, I configure my address like so: > ip link set lowpan0 address a0:0:0:0:0:0:0:2 > > Now when I setup a 6lowpan link over the wpan0 device, I see packets (ICMP6 > Neighbour Solicitation) like this on a sniffer device: > IEEE 802.15.4 Data, Dst: a0:00:0000:00:0000:02, Src: b0:00:0000:00:0000:02 > Frame Control Field: Data (0xcc41) > Sequence Number: 45 > Destination PAN: 0x0780 > Destination: a0:00:0000:00:0000:02 (a0:00:00:00:00:00:00:02) > Extended Source: b0:00:0000:00:0000:02 (b0:00:00:00:00:00:00:02) > FCS: 0x14d3 (Correct) > 6LoWPAN > IPHC Header > Next header: ICMPv6 (0x3a) > Source: fe80::b000:0:0:2 (fe80::b000:0:0:2) > Destination: fe80::a000:0:0:2 (fe80::a000:0:0:2) > > That means: the stack is using my 6lowpan address as sender (and receiver) in > the IEEE 802.15.4 packets.
Looking closely at my captures, I see this as well. 6lowpan.c (line 611, after Tony's patches are applied), sets the IEEE addr as the IP addr. I guess I didn't see this because I typically run with promiscuous mode turned on in my driver. I can patch this up, or you can if you have time. > It this intended to be this way (I was unable to find anything about this in > the 6lowpan spec, so I suppose not)? If so, should we enforce it? If not, > what am I overlooking? Alan. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Linux-zigbee-devel mailing list Linux-zigbee-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel