[Linux-zigbee-devel] How to build latest net-next kernel for Ubuntu or other distro.

2013-10-30 Thread Randy Graham
Hello, Is there a preferred desktop linux distro for testing net-next kernels on a amd64 desktop machine ? Ideally, I would like to run the latest net-next kernel on my Ubuntu 13.10 amd64 dev box. Are there any docs that show how to build a net-next kernel for use with Ubuntu or other preferred

Re: [Linux-zigbee-devel] [PATCH net-next 0/4] 6lowpan: cleanup header creation

2013-10-30 Thread David Miller
From: Alexander Aring Date: Wed, 30 Oct 2013 09:18:20 +0100 > This patch series cleanup the 6LoWPAN header creation and extend the use > of skb_*_header functions. > > Patch 2/4 fix issues of parsing the mac header. The ieee802.15.4 header > has a dynamic size which depends on frame control bits

Re: [Linux-zigbee-devel] [PATCH] mac802154: Use pr_err(...) rather than printk(KERN_ERR ...)

2013-10-30 Thread David Miller
From: Chen Weilong Date: Wed, 30 Oct 2013 15:28:07 +0800 > This change is inspired by checkpatch. > > Signed-off-by: Weilong Chen Applied to net-next, thanks. -- Android is increasing in popularity, but the open devel

[Linux-zigbee-devel] [PATCH net-next 1/4] 6lowpan: remove unnecessary set of headers

2013-10-30 Thread Alexander Aring
On receiving side we don't need to set any headers in skb because the 6LoWPAN layer do not access it. Currently these values will set twice after calling netif_rx. Signed-off-by: Alexander Aring Reviewed-by: Werner Almesberger --- net/ieee802154/6lowpan.c | 4 1 file changed, 4 deletions(-

[Linux-zigbee-devel] [PATCH net-next 3/4] 6lowpan: set 6lowpan network and transport header

2013-10-30 Thread Alexander Aring
This is necessary to access network header with the skb_network_header function instead of calculate the position with mac_len, etc. Do the same for the transport header, when we replace the IPv6 header with the 6LoWPAN header. Signed-off-by: Alexander Aring Acked-by: Werner Almesberger --- net

[Linux-zigbee-devel] [PATCH net-next 4/4] 6lowpan: cleanup skb copy data

2013-10-30 Thread Alexander Aring
This patch drops the direct memcpy on skb and uses the right skb memcpy functions. Also remove an unnecessary check if plen is non zero. Signed-off-by: Alexander Aring Reviewed-by: Werner Almesberger --- net/ieee802154/6lowpan.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-

[Linux-zigbee-devel] [PATCH net-next 2/4] 6lowpan: set and use mac_len for mac header length

2013-10-30 Thread Alexander Aring
Set the mac header length while creating the 802.15.4 mac header. Drop the function for recalculate mac header length in upper layers which was static and works for intra pan communication only. Signed-off-by: Alexander Aring Reviewed-by: Werner Almesberger --- net/ieee802154/6lowpan.c | 13 +-

[Linux-zigbee-devel] [PATCH net-next 0/4] 6lowpan: cleanup header creation

2013-10-30 Thread Alexander Aring
This patch series cleanup the 6LoWPAN header creation and extend the use of skb_*_header functions. Patch 2/4 fix issues of parsing the mac header. The ieee802.15.4 header has a dynamic size which depends on frame control bits. This patch replaces the static mac header len calculation with a dynam