[Linux-zigbee-devel] [PATCH 2/2] ieee802154: 6lowpan: ensure of sending 1280 packets

2014-07-28 Thread Alexander Aring
This patch changes the 1281 MTU to 1280. Others stack have only a 1280 byte array for uncompressed 6LoWPAN packets, this avoid that these stacks have an overflow. Sending 1281 uncompressed 6LoWPAN packets isn't also rfc complaint. Signed-off-by: Alexander Aring --- net/ieee802154/6lowpan_rtnl.c

[Linux-zigbee-devel] [PATCH 1/2] ieee802154: 6lowpan: remove unused function

2014-07-28 Thread Alexander Aring
Signed-off-by: Alexander Aring --- net/ieee802154/6lowpan_rtnl.c | 8 1 file changed, 8 deletions(-) diff --git a/net/ieee802154/6lowpan_rtnl.c b/net/ieee802154/6lowpan_rtnl.c index 016b77e..509d7a6 100644 --- a/net/ieee802154/6lowpan_rtnl.c +++ b/net/ieee802154/6lowpan_rtnl.c @@ -77,14

Re: [Linux-zigbee-devel] [PATCH v3 linux-wpan] ieee802154: mac802154: Handle the reserved dest mode by dropping the packet.

2014-07-28 Thread Alexander Aring
On Thu, Jul 24, 2014 at 09:36:35AM +0100, Martin Townsend wrote: > Signed-off-by: Martin Townsend > --- > net/mac802154/wpan.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/net/mac802154/wpan.c b/net/mac802154/wpan.c > index 3c3069f..fc6a298 100644 > --- a/net/mac8

Re: [Linux-zigbee-devel] [PATCH linux-wpan-next] mac802154: cleanup in rx path

2014-07-28 Thread Alexander Aring
On Thu, Jul 24, 2014 at 03:02:21PM +0530, varkabhad...@gmail.com wrote: > From: Varka Bhadram > > This patch replace the sizeof(struct rx_work) with sizeof(*work) > and directly passing the skb in mac802154_subif_rx() > > Signed-off-by: Varka Bhadram > --- > net/mac802154/rx.c |5 ++--- >

Re: [Linux-zigbee-devel] [PATCH linux-wpan-next] mac802154: common error path

2014-07-28 Thread Alexander Aring
On Thu, Jul 24, 2014 at 03:23:20PM +0530, varkabhad...@gmail.com wrote: > From: Varka Bhadram > > By introducing label fail, making the common error path for > mac802154_llsec_decrypt() and packet type default case. > > Signed-off-by: Varka Bhadram > --- > net/mac802154/wpan.c | 10 ++---

Re: [Linux-zigbee-devel] [PATCH linux-wpan-next] ieee802154: fix indentation

2014-07-28 Thread Alexander Aring
On Fri, Jul 25, 2014 at 10:12:38AM +0530, varkabhad...@gmail.com wrote: > From: Varka Bhadram > > It fix the indentation for the switch case as per the kernel > coding styles. > > Signed-off-by: Varka Bhadram > --- > net/ieee802154/header_ops.c | 12 > 1 file changed, 8 insertio

Re: [Linux-zigbee-devel] [RFC linux-wpan-next 1/2] ieee802154: dgram: change dgram_sock defination

2014-07-28 Thread Alexander Aring
On Fri, Jul 25, 2014 at 12:38:56PM +0530, varkabhad...@gmail.com wrote: > From: Varka Bhadram > > This patch fix struct dgram_sock defination style. > > We are using bit fields in the struct dgram_sock but > every bit field of type 'unsigned int'. In this case > remaining bit fields are unused h

Re: [Linux-zigbee-devel] [PATCH linux-wpan-next] ieee802154: fix indentation

2014-07-28 Thread Varka Bhadram
Hi Alex, On 07/28/2014 01:56 PM, Alexander Aring wrote: > On Fri, Jul 25, 2014 at 10:12:38AM +0530, varkabhad...@gmail.com wrote: >> From: Varka Bhadram >> >> It fix the indentation for the switch case as per the kernel >> coding styles. >> >> Signed-off-by: Varka Bhadram >> --- >> net/ieee802

Re: [Linux-zigbee-devel] [PATCH linux-wpan-next] ieee802154: fix indentation

2014-07-28 Thread Alexander Aring
On Mon, Jul 28, 2014 at 02:01:15PM +0530, Varka Bhadram wrote: > Hi Alex, > > On 07/28/2014 01:56 PM, Alexander Aring wrote: > >On Fri, Jul 25, 2014 at 10:12:38AM +0530, varkabhad...@gmail.com wrote: > >>From: Varka Bhadram > >> > >>It fix the indentation for the switch case as per the kernel > >

Re: [Linux-zigbee-devel] [RFC linux-wpan-next 1/2] ieee802154: dgram: change dgram_sock defination

2014-07-28 Thread Varka Bhadram
Alex, On 07/28/2014 02:01 PM, Alexander Aring wrote: > On Fri, Jul 25, 2014 at 12:38:56PM +0530, varkabhad...@gmail.com wrote: >> From: Varka Bhadram >> >> This patch fix struct dgram_sock defination style. >> >> We are using bit fields in the struct dgram_sock but >> every bit field of type 'uns

Re: [Linux-zigbee-devel] [RFC linux-wpan-next 1/2] ieee802154: dgram: change dgram_sock defination

2014-07-28 Thread Alexander Aring
On Mon, Jul 28, 2014 at 02:16:44PM +0530, Varka Bhadram wrote: > Alex, > > On 07/28/2014 02:01 PM, Alexander Aring wrote: > >On Fri, Jul 25, 2014 at 12:38:56PM +0530, varkabhad...@gmail.com wrote: > >>From: Varka Bhadram > >> > >>This patch fix struct dgram_sock defination style. > >> > >>We are

Re: [Linux-zigbee-devel] [RFC linux-wpan-next 1/2] ieee802154: dgram: change dgram_sock defination

2014-07-28 Thread Varka Bhadram
On 07/28/2014 02:39 PM, Alexander Aring wrote: > On Mon, Jul 28, 2014 at 02:16:44PM +0530, Varka Bhadram wrote: >> Alex, >> >> On 07/28/2014 02:01 PM, Alexander Aring wrote: >>> On Fri, Jul 25, 2014 at 12:38:56PM +0530, varkabhad...@gmail.com wrote: From: Varka Bhadram This patch fi

Re: [Linux-zigbee-devel] [PATCH linux-wpan-next] ieee802154: fix indentation

2014-07-28 Thread Varka Bhadram
On 07/28/2014 02:11 PM, Alexander Aring wrote: > On Mon, Jul 28, 2014 at 02:01:15PM +0530, Varka Bhadram wrote: >> Hi Alex, >> >> On 07/28/2014 01:56 PM, Alexander Aring wrote: >>> On Fri, Jul 25, 2014 at 10:12:38AM +0530, varkabhad...@gmail.com wrote: From: Varka Bhadram It fix the

[Linux-zigbee-devel] [PATCH linux-wpan-next] mac802154: common tx error path

2014-07-28 Thread varkabhadram
From: Varka Bhadram This patch introduce the common error path on failure of Tx by inserting the label 'err_tx'. Signed-off-by: Varka Bhadram --- net/mac802154/tx.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/net/mac802154/tx.c b/net/mac802154/tx.c ind

[Linux-zigbee-devel] [RFC linux-wpan-next] 6lowpan: remove unused macros

2014-07-28 Thread varkabhadram
From: Varka Bhadram This patch removes the unused macros. Signed-off-by: Varka Bhadram --- include/net/6lowpan.h | 15 --- 1 file changed, 15 deletions(-) diff --git a/include/net/6lowpan.h b/include/net/6lowpan.h index 79b530f..06f997a 100644 --- a/include/net/6lowpan.h +++ b/i

[Linux-zigbee-devel] [PATCH linux-wpan-next] 6lowpan: remove unused macros

2014-07-28 Thread varkabhadram
From: Varka Bhadram This patch removes the unused macros. Signed-off-by: Varka Bhadram --- include/net/6lowpan.h | 15 --- 1 file changed, 15 deletions(-) diff --git a/include/net/6lowpan.h b/include/net/6lowpan.h index 79b530f..06f997a 100644 --- a/include/net/6lowpan.h +++ b/i

[Linux-zigbee-devel] [PATCH linux-wpan-next] 6lowpan: remove unused function

2014-07-28 Thread varkabhadram
From: Varka Bhadram This patch removes the unused function lowpan_fetch_skb_u16() Signed-off-by: Varka Bhadram --- include/net/6lowpan.h | 11 --- 1 file changed, 11 deletions(-) diff --git a/include/net/6lowpan.h b/include/net/6lowpan.h index 06f997a..b8efc64 100644 --- a/include/n

Re: [Linux-zigbee-devel] [PATCH linux-wpan-next] 6lowpan: remove unused macros

2014-07-28 Thread Alexander Aring
Hi Varka, On Mon, Jul 28, 2014 at 05:51:36PM +0530, varkabhad...@gmail.com wrote: > From: Varka Bhadram > > This patch removes the unused macros. > Can you fixup this patch with the "6lowpan: remove unused function" patch and CC also linux-blueto...@vger.kernel.org. This header is for the net

Re: [Linux-zigbee-devel] [PATCH linux-wpan-next] 6lowpan: remove unused macros

2014-07-28 Thread Alexander Aring
On Mon, Jul 28, 2014 at 02:58:34PM +0200, Alexander Aring wrote: > Hi Varka, > > On Mon, Jul 28, 2014 at 05:51:36PM +0530, varkabhad...@gmail.com wrote: > > From: Varka Bhadram > > > > This patch removes the unused macros. > > > > Can you fixup this patch with the "6lowpan: remove unused funct

[Linux-zigbee-devel] [PATCH bluetooth-next] MAINTAINERS: add 6lowpan header file

2014-07-28 Thread Alexander Aring
Since commit 68d96dcfc6c09b565d57897c127b61afbab74c6f ("MAINTAINERS: add net/6lowpan/ maintainer entry") we have a 6lowpan branch. This patch adds a forgotten file which should also be maintained by this branch. Signed-off-by: Alexander Aring --- Based on bluetooth-next, because 68d96dcfc6c09b565

Re: [Linux-zigbee-devel] [PATCH bluetooth-next] MAINTAINERS: add 6lowpan header file

2014-07-28 Thread Marcel Holtmann
Hi Alex, > Since commit 68d96dcfc6c09b565d57897c127b61afbab74c6f ("MAINTAINERS: add > net/6lowpan/ maintainer entry") we have a 6lowpan branch. This patch > adds a forgotten file which should also be maintained by this branch. > > Signed-off-by: Alexander Aring > --- > Based on bluetooth-next, b