[Linux-zigbee-devel] [PATCH net-next 0/4] 6lowpan: rework fragmentation handling

2013-11-05 Thread Alexander Aring
This patch series fix the 6lowpan fragmentation api according to rfc4944 and improves the payload length calculation. I drop the current 6lowpan fragmentation on receiving side which has several issues like race conditions while fragmentation. The current 6lowpan fragmentation isn't rfc4944 compa

[Linux-zigbee-devel] [PATCH net-next 3/4] net: add ieee802154_6lowpan namespace

2013-11-05 Thread Alexander Aring
This patch adds necessary ieee802154 6lowpan namespace to provide the inet_frag information. This is a initial support for handling 6lowpan fragmentation with the inet_frag api. Signed-off-by: Alexander Aring --- include/net/net_namespace.h| 4 include/net/netns/ieee802154_6low

[Linux-zigbee-devel] [PATCH net-next 4/4] 6lowpan: handling 6lowpan fragmentation via inet_frag api

2013-11-05 Thread Alexander Aring
This patch drops the current way of 6lowpan fragmentation on receiving side and replace it with a implementation which use the inet_frag api. The old fragmentation handling has some race conditions and isn't rfc4944 compatible. Signed-off-by: Alexander Aring --- net/ieee802154/6lowpan.c| 219

[Linux-zigbee-devel] [PATCH net-next 2/4] 6lowpan: fix fragmentation on sending side

2013-11-05 Thread Alexander Aring
This patch fix the fragmentation on sending side according to rfc4944. Also add improvement to use the full payload of a PDU which calculate the nearest divided to 8 payload length for the fragmentation datagram offset attribute. Signed-off-by: Alexander Aring --- net/ieee802154/6lowpan.c | 41

[Linux-zigbee-devel] [PATCH net-next 1/4] 6lowpan: add frag information struct

2013-11-05 Thread Alexander Aring
This patch adds a 6lowpan fragmentation struct into cb of skb which necessary to hold fragmentation informations. Signed-off-by: Alexander Aring --- include/net/ieee802154_netdev.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/net/ieee802154_netdev.h b/include/net/ieee802154

[Linux-zigbee-devel] Testing the MRF24J40 functionality on a custom cape

2013-11-05 Thread K F
Hello all, Some research colleagues and I have designed a BBone cape which, among other stuff, supports 802.15.4 communication (via the mrf24j40 chip). We are in the process of testing this specific functionality, but we get some errors I was hoping you could help me with. The steps we followed a