[PATCH 1/2] mrf24j40: Avoid transmission while receiving a frame

2013-05-09 Thread David Hauweele
-by: David Hauweele --- drivers/net/ieee802154/mrf24j40.c | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/drivers/net/ieee802154/mrf24j40.c b/drivers/net/ieee802154/mrf24j40.c index ede3ce4..1e3ddf3 100644 --- a/drivers/net/ieee802154/mrf24j40.c +++ b

[PATCH 2/2] mrf24j40: Keep the interrupt line enabled

2013-05-09 Thread David Hauweele
Disabling the interrupt line could miss an IRQ and leave the line into a low state hence locking the driver. Signed-off-by: David Hauweele --- drivers/net/ieee802154/mrf24j40.c |7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/net/ieee802154/mrf24j40.c b

Re: [Linux-zigbee-devel] [PATCH 2/2] mrf24j40: Keep the interrupt line enabled

2013-05-16 Thread David Hauweele
e delayed until enable_irq() is called. In particular when CONFIG_HARDIRQS_SW_RESEND is set. David 2013/5/14 Alan Ott : > On 5/9/13 11:19 AM, David Hauweele wrote: >> >> Disabling the interrupt line could miss an IRQ and leave the line into a >> low state hence locking the drive

[PATCH 1/1] 6lowpan: Fix fragmentation with link-local compressed addresses

2013-05-19 Thread David Hauweele
copies the control block from the first fragment into the newly allocated skb to keep a trace of the link-layer addresses in case of a link-local compressed address. Signed-off-by: David Hauweele --- net/ieee802154/6lowpan.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/net

Re: [PATCH 1/1] 6lowpan: Fix fragmentation with link-local compressed addresses

2013-05-19 Thread David Hauweele
Hello, There is a patch which fixes link-local address uncompression: http://permalink.gmane.org/gmane.linux.network.zigbee.devel/1717 I came across a similar solution but didn't submit it as another patch already existed. This patch instead focus on fragmented packet with link-local address com

Re: [Linux-zigbee-devel] [PATCH 2/2] mrf24j40: Keep the interrupt line enabled

2013-05-21 Thread David Hauweele
2013/5/20 Alan Ott : > On 05/16/2013 05:34 PM, David Hauweele wrote: >> I have seen the interrupt line going low forever with heavy traffic. > > Hi David, > > I've been doing some testing today and I can reproduce your issue if I > ping -f both ways simultaneously (af

Re: [PATCH beta 1] 0/3] Fix race conditions in mrf24j40 interrupts

2013-05-22 Thread David Hauweele
s now and it seems to work well. David 2013/5/22 Alan Ott : > On 05/21/2013 10:01 PM, Alan Ott wrote: >> David Hauweele noticed that the mrf24j40 would hang arbitrarily after some >> period of heavy traffic. Two race conditions were discovered, and the >> driver was changed

Re: [PATCH beta 1] 0/3] Fix race conditions in mrf24j40 interrupts

2013-05-23 Thread David Hauweele
2013/5/23 Alan Ott : > On 5/22/13 4:32 PM, David Hauweele wrote: >> >> I cannot use level-triggered interrupts with GPIO on the RPi, so I >> cannot test this specific patch. > > > Is there another interrupt line you can tie into which does support > level-trig