Re: [Linux-zigbee-devel] [PATCH] net/ieee802154/6lowpan: Fix initialization for fragment offset

2013-03-26 Thread Wolf-Bastian Pöttner
Hi! Am 27.03.2013 um 03:19 schrieb Tony Cheneau : > I sent my patchset yesterday to the netdev mailing list and it was > merged into net-next today. Given that you patch was based on one of my > changes, I added it to the corresponding patch. I hope you don't mind. Nope, perfectly fine with me.

Re: [Linux-zigbee-devel] [PATCH net-next 0/2] 6lowpan: fix minor issues introduced with the previous patch set

2013-03-26 Thread David Miller
From: Tony Cheneau Date: Wed, 27 Mar 2013 00:09:23 -0400 > Few minor issues were reported by Alexander Aring and Sergei Shtylyov on my > previous 6lowpan patch set (named "6lowpan: Some more bug fixes"). > Sadly, I didn't had time to address them before the code was merged into > net-next. These

Re: [Linux-zigbee-devel] ieee802154: Source addr fix for dgram and some small at86rf230 driver enhancements

2013-03-26 Thread David Miller
From: Stefan Schmidt Date: Tue, 26 Mar 2013 22:41:28 + > Hello. > > Second version. Changes since version 1: > - Obey 80 chars rules > - Switch logging mode to vdbg to avoid noise > - Remove uneeded might_sleep() > > Thanks Alan, Werner and Alex for the feedback. > > I feel these are ready

[Linux-zigbee-devel] [PATCH net-next 2/2] 6lowpan: use IEEE802154_ADDR_LEN instead of a magic number

2013-03-26 Thread Tony Cheneau
Signed-off-by: Tony Cheneau --- net/ieee802154/6lowpan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c index f4969d7..e1b4580 100644 --- a/net/ieee802154/6lowpan.c +++ b/net/ieee802154/6lowpan.c @@ -602,7 +602,7 @@ static i

[Linux-zigbee-devel] [PATCH net-next 0/2] 6lowpan: fix minor issues introduced with the previous patch set

2013-03-26 Thread Tony Cheneau
Few minor issues were reported by Alexander Aring and Sergei Shtylyov on my previous 6lowpan patch set (named "6lowpan: Some more bug fixes"). Sadly, I didn't had time to address them before the code was merged into net-next. These two (short) patches fix them. I'm sorry for the mess I caused. Re

[Linux-zigbee-devel] [PATCH net-next 1/2] 6lowpan: fix a small formatting issue

2013-03-26 Thread Tony Cheneau
This formatting issue was introduced with commit d4ac32365dcbfd341a87eae444c26679f889249a Signed-off-by: Tony Cheneau --- net/ieee802154/6lowpan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c index c9c3f3d..f4969d7 100644

Re: [Linux-zigbee-devel] [PATCH] net/ieee802154/6lowpan: Fix initialization for fragment offset

2013-03-26 Thread Tony Cheneau
Hi Wolf-Bastien, I sent my patchset yesterday to the netdev mailing list and it was merged into net-next today. Given that you patch was based on one of my changes, I added it to the corresponding patch. I hope you don't mind. Here is the link to the patch where I incorporated your fix: http://ma

[Linux-zigbee-devel] [PATCH 1/3] ieee802154/dgram: Pass source address in dgram_recvmsg

2013-03-26 Thread Stefan Schmidt
From: Stephen Röttger This patch lets dgram_recvmsg fill in the sockaddr struct in msg->msg_name with the source address of the packet. This is used by the userland functions recvmsg and recvfrom to get the senders address. [Stefan: Changed from old zigbee legacy tree to mainline] Signed-off-by

[Linux-zigbee-devel] [PATCH 2/3] ieee802154/at86rf230: Implement hardware address filter callback.

2013-03-26 Thread Stefan Schmidt
Implement the filter function to update short address, pan id and ieee address on change. Allowing for hardware address filtering needed for auto ACK. Signed-off-by: Stefan Schmidt --- drivers/net/ieee802154/at86rf230.c | 47 1 file changed, 47 insertions(+

[Linux-zigbee-devel] ieee802154: Source addr fix for dgram and some small at86rf230 driver enhancements

2013-03-26 Thread Stefan Schmidt
Hello. Second version. Changes since version 1: - Obey 80 chars rules - Switch logging mode to vdbg to avoid noise - Remove uneeded might_sleep() Thanks Alan, Werner and Alex for the feedback. I feel these are ready so I added DaveM and netdev to pick them up if they think the same. [PATCH 1/3]

[Linux-zigbee-devel] [PATCH 3/3] ieee802154/at86rf230: Fix register names for RX_AACK_ON and TX_ARET_ON

2013-03-26 Thread Stefan Schmidt
The register names have been wrong since the beginning but it only showed up now as they are actualy used for the upcoming auto ACK support. Signed-off-by: Stefan Schmidt --- drivers/net/ieee802154/at86rf230.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net

Re: [Linux-zigbee-devel] [PATCH 2/3] ieee802154/at86rf230: Implement hardware address filter callback.

2013-03-26 Thread Alexander Aring
Hi, On Tue, Mar 26, 2013 at 10:26:51PM +, Stefan Schmidt wrote: > Hello. > > On Mon, 2013-03-25 at 23:31, Alexander Aring wrote: > > > > On Sun, Mar 24, 2013 at 01:40:31PM +, Stefan Schmidt wrote: > > > Implement the filter function to update short address, pan id and ieee > > > address

Re: [Linux-zigbee-devel] [PATCH 2/3] ieee802154/at86rf230: Implement hardware address filter callback.

2013-03-26 Thread Stefan Schmidt
Hello. On Mon, 2013-03-25 at 23:31, Alexander Aring wrote: > > On Sun, Mar 24, 2013 at 01:40:31PM +, Stefan Schmidt wrote: > > Implement the filter function to update short address, pan id and ieee > > address on change. Allowing for hardware address filtering needed for > > auto ACK. > > >

Re: [Linux-zigbee-devel] [PATCH 2/3] ieee802154/at86rf230: Implement hardware address filter callback.

2013-03-26 Thread Stefan Schmidt
Hello. On Mon, 2013-03-25 at 17:49, Werner Almesberger wrote: > Stefan Schmidt wrote: > > I think the MSB and LSB comments can go easily. > > As another step towards reaching the 80 columns goal, you could > also consider getting rid of the & 0xff maskings. > > As far as I can tell, they don't h

Re: [Linux-zigbee-devel] [PATCH v2 net-next 00/12] 6lowpan: Some more bug fixes

2013-03-26 Thread David Miller
From: Tony Cheneau Date: Mon, 25 Mar 2013 23:59:20 -0400 > This patchset fixes serious bugs within the 6LoWPAN modules. I wrote a script > (available at [1]) to prove the issues are real. One can try and see that > without these patches, most of the test fail (e.g. packet dropped by the > receiv

Re: [Linux-zigbee-devel] [PATCH 2/3] ieee802154/at86rf230: Implement hardware address filter callback.

2013-03-26 Thread Alan Ott
On 03/25/2013 06:43 PM, Alexander Aring wrote: > Hi, > > On Mon, Mar 25, 2013 at 11:31:11PM +0100, Alexander Aring wrote: >> Hi, >> >> On Sun, Mar 24, 2013 at 01:40:31PM +, Stefan Schmidt wrote: >>> Implement the filter function to update short address, pan id and ieee >>> address on change. Al

Re: [Linux-zigbee-devel] [PATCH v2 net-next 05/12] 6lowpan: use short IEEE 802.15.4 addresses for broadcast destination

2013-03-26 Thread Alexander Aring
Hi Tony, On Mon, Mar 25, 2013 at 11:59:25PM -0400, Tony Cheneau wrote: > The IEEE 802.15.4 standard uses the 0x short address (2 bytes) for message > broadcasting. > > Signed-off-by: Tony Cheneau > --- > net/ieee802154/6lowpan.c | 23 +++ > 1 file changed, 15 insertions(

Re: [Linux-zigbee-devel] [PATCH v2 net-next 00/12] 6lowpan: Some more bug fixes

2013-03-26 Thread Alan Ott
On 03/25/2013 11:59 PM, Tony Cheneau wrote: > This patchset fixes serious bugs within the 6LoWPAN modules. I wrote a script > (available at [1]) to prove the issues are real. One can try and see that > without these patches, most of the test fail (e.g. packet dropped by the > receiver or node cras

Re: [Linux-zigbee-devel] Load mrf24j40 on beaglebone

2013-03-26 Thread João Paulo Bodanese
Hi Alan, There is a patch after March, 6th (commit 9bf23ea262), that removes the symbol spi1_pins_s0 from am335x-bone-common.dtsi The patch name is: 0115-am335x-bone-common-Remove-SPI-unused-pinmux-config.patch Now the command is working, and I can see the mrf24j40 print debug. One more step :)