Hi Alex,
On 06/27/2014 12:07 PM, Alexander Aring wrote:
> On Fri, Jun 27, 2014 at 09:47:54AM +0530, Varka Bhadram wrote:
>> On 06/27/2014 07:44 AM, gnuarmfuns wrote:
>>> Hi,
>>>
>>> I am developing IEEE 802.15.4 linux driver, I get the git repositories
>> >from sourceforge.net, but the code date i
Hi,
On Fri, Jun 27, 2014 at 01:41:33PM +0530, Varka Bhadram wrote:
> Hi Alex,
>
> On 06/27/2014 12:07 PM, Alexander Aring wrote:
> >On Fri, Jun 27, 2014 at 09:47:54AM +0530, Varka Bhadram wrote:
> >>On 06/27/2014 07:44 AM, gnuarmfuns wrote:
> >>>Hi,
> >>>
> >>>I am developing IEEE 802.15.4 linux
Hi,
This patch series is a rework of the at86rf230 driver. There are several
changes:
- Regmap support.
- Drop of irqworker. This is a workqueue which will scheduled by an irq to
handle synchronous spi handling. Instead using asynchronous spi handling,
so no scheduler is involved at irq hand
Signed-off-by: Alexander Aring
---
drivers/net/ieee802154/at86rf230.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ieee802154/at86rf230.c
b/drivers/net/ieee802154/at86rf230.c
index 00fbba2..981d2e5 100644
--- a/drivers/net/ieee802154/at86rf230.c
+++ b/drivers/net/ieee802154/at
This patch adds regmap support for the at86rf230 driver and drop the
lowlevel spi access functions and use the regmap access functions.
Signed-off-by: Alexander Aring
---
drivers/net/ieee802154/Kconfig | 1 +
drivers/net/ieee802154/at86rf230.c | 272 +++--
2
This patch drops the current lowlevel spi calls for the detect device
function instead we handle this via regmap. Also put the detection of
in a seperate function and set all device specific attributes while detection.
Signed-off-by: Alexander Aring
---
drivers/net/ieee802154/at86rf230.c | 183 +
Signed-off-by: Alexander Aring
---
drivers/net/ieee802154/at86rf230.c | 16 +++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ieee802154/at86rf230.c
b/drivers/net/ieee802154/at86rf230.c
index 36cc161..65c6811 100644
--- a/drivers/net/ieee802154/at86rf230.
There is no need to set this bit in start callback which could be
called more than once.
Signed-off-by: Alexander Aring
---
drivers/net/ieee802154/at86rf230.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/drivers/net/ieee802154/at86rf230.c
b/drivers/net/ieee802154
Signed-off-by: Alexander Aring
---
drivers/net/ieee802154/at86rf230.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ieee802154/at86rf230.c
b/drivers/net/ieee802154/at86rf230.c
index 65c6811..efaa3c0 100644
--- a/drivers/net/ieee802154/at86rf230.c
+++ b/dri
Signed-off-by: Alexander Aring
---
drivers/net/ieee802154/at86rf230.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ieee802154/at86rf230.c
b/drivers/net/ieee802154/at86rf230.c
index efaa3c0..00fbba2 100644
--- a/drivers/net/ieee802154/at86rf230.c
+++ b/driv
This patch removes the current synchron state change function and add a
new function for a state assert. Change the start and stop callbacks to
use this new synchron state change behaviour. It's a wrapper around the
async state change function.
Signed-off-by: Alexander Aring
---
drivers/net/ieee
This patch adds a new at86rf2xx_chip_data structure which holds device
specific attributes. Instead of runtime decisions "if (is212())" we set
callbacks/attributes while device detection.
Signed-off-by: Alexander Aring
---
drivers/net/ieee802154/at86rf230.c | 59 +++--
This patch is a complete reimplementation of transmit and receive
handling for the at86rf230 driver.
It solves also six bugs:
First:
The RX_SAFE_MODE is enabled and the transceiver doesn't leave the
receive state while the framebuffer isn't read by a CMD_FB command.
This is useful to read out th
This patch rework the irq_pol register setting for rising and falling
interrupt settings only. The default behaviour should be rising flag.
Also use IRQ_TYPE_* defines instead of IRQF_* defines. There is no
functionality change but irq_get_trigger_type returns IRQ_TYPE_* defines.
Signed-off-by: A
To set the CCA_ED_THRES register the calculation for at86rf23x is
different than for at86rf212. This patch adds a new callback for this
calculation in chip data struct.
Signed-off-by: Alexander Aring
---
drivers/net/ieee802154/at86rf230.c | 22 ++
1 file changed, 18 insertion
On 06/27/2014 03:49 PM, Alexander Aring wrote:
> Signed-off-by: Alexander Aring
> ---
> drivers/net/ieee802154/at86rf230.c | 6 +-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/net/ieee802154/at86rf230.c
> b/drivers/net/ieee802154/at86rf230.c
> index efaa3c0..00
This patch adds a new at86rf2xx_chip_data structure which holds device
specific attributes. Instead of runtime decisions "if (is212())" we set
callbacks/attributes while device detection.
Signed-off-by: Alexander Aring
---
drivers/net/ieee802154/at86rf230.c | 59 +++--
To set the CCA_ED_THRES register the calculation for at86rf23x is
different than for at86rf212. This patch adds a new callback for this
calculation in chip data struct.
Signed-off-by: Alexander Aring
---
drivers/net/ieee802154/at86rf230.c | 22 ++
1 file changed, 18 insertion
Hi,
This patch series is a rework of the at86rf230 driver. There are several
changes:
- Regmap support.
- Drop of irqworker. This is a workqueue which will scheduled by an irq to
handle synchronous spi handling. Instead using asynchronous spi handling,
so no scheduler is involved at irq hand
This patch adds new mac802154 hw flags for transmit power, csma and
listen before transmit (lbt). These flags indicates that the transceiver
supports these features. In ieee802154_register_device the callbacks are
setted by hw flags instead of checking of null.
This patch merges also all at86rf230
This patch adds regmap support for the at86rf230 driver and drop the
lowlevel spi access functions and use the regmap access functions.
Signed-off-by: Alexander Aring
---
drivers/net/ieee802154/Kconfig | 1 +
drivers/net/ieee802154/at86rf230.c | 272 +++--
2
This patch drops the current lowlevel spi calls for the detect device
function instead we handle this via regmap. Also put the detection of
in a seperate function and set all device specific attributes while detection.
Signed-off-by: Alexander Aring
---
drivers/net/ieee802154/at86rf230.c | 183 +
This patch rework the irq_pol register setting for rising and falling
interrupt settings only. The default behaviour should be rising flag.
Also use IRQ_TYPE_* defines instead of IRQF_* defines. There is no
functionality change but irq_get_trigger_type returns IRQ_TYPE_* defines.
Signed-off-by: A
There is no need to set this bit in start callback which could be
called more than once.
Signed-off-by: Alexander Aring
---
drivers/net/ieee802154/at86rf230.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/drivers/net/ieee802154/at86rf230.c
b/drivers/net/ieee802154
Signed-off-by: Alexander Aring
---
drivers/net/ieee802154/at86rf230.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ieee802154/at86rf230.c
b/drivers/net/ieee802154/at86rf230.c
index 15dd01f..f21d162 100644
--- a/drivers/net/ieee802154/at86rf230.c
+++ b/dri
Signed-off-by: Alexander Aring
---
drivers/net/ieee802154/at86rf230.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ieee802154/at86rf230.c
b/drivers/net/ieee802154/at86rf230.c
index f21d162..f6926ad 100644
--- a/drivers/net/ieee802154/at86rf230.c
+++ b/driv
This patch is a complete reimplementation of transmit and receive
handling for the at86rf230 driver.
It solves also six bugs:
First:
The RX_SAFE_MODE is enabled and the transceiver doesn't leave the
receive state while the framebuffer isn't read by a CMD_FB command.
This is useful to read out th
This patch removes the current synchron state change function and add a
new function for a state assert. Change the start and stop callbacks to
use this new synchron state change behaviour. It's a wrapper around the
async state change function.
Signed-off-by: Alexander Aring
---
drivers/net/ieee
Signed-off-by: Alexander Aring
---
drivers/net/ieee802154/at86rf230.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ieee802154/at86rf230.c
b/drivers/net/ieee802154/at86rf230.c
index f6926ad..eac345b 100644
--- a/drivers/net/ieee802154/at86rf230.c
+++ b/drivers/net/ieee802154/at
Signed-off-by: Alexander Aring
---
drivers/net/ieee802154/at86rf230.c | 16 +++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ieee802154/at86rf230.c
b/drivers/net/ieee802154/at86rf230.c
index 62a1b0a..15dd01f 100644
--- a/drivers/net/ieee802154/at86rf230.
sorry... usleep_range()
Original Message
Subject: Re: [Linux-zigbee-devel] [PATCH v2 net-next 11/12] at86rf230:
add sleep cycle timing
Date: Fri, 27 Jun 2014 16:14:54 +0530
From: Varka Bhadram
To: Alexander Aring
CC: linux-zigbee-devel
On 06/27/2014 03:49
Hi,
On Fri, Jun 27, 2014 at 04:14:54PM +0530, Varka Bhadram wrote:
> On 06/27/2014 03:49 PM, Alexander Aring wrote:
> >Signed-off-by: Alexander Aring
> >---
> > drivers/net/ieee802154/at86rf230.c | 6 +-
> > 1 file changed, 5 insertions(+), 1 deletion(-)
> >
> >diff --git a/drivers/net/ieee8
On 06/27/2014 04:23 PM, Alexander Aring wrote:
> Hi,
>
> On Fri, Jun 27, 2014 at 04:14:54PM +0530, Varka Bhadram wrote:
>> On 06/27/2014 03:49 PM, Alexander Aring wrote:
>>> Signed-off-by: Alexander Aring
>>> ---
>>> drivers/net/ieee802154/at86rf230.c | 6 +-
>>> 1 file changed, 5 insertion
On Fri, 27 Jun 2014 16:51:40 +0530
Varka Bhadram wrote:
> On 06/27/2014 04:23 PM, Alexander Aring wrote:
> > Hi,
> >
> > On Fri, Jun 27, 2014 at 04:14:54PM +0530, Varka Bhadram wrote:
> >> On 06/27/2014 03:49 PM, Alexander Aring wrote:
> >>> Signed-off-by: Alexander Aring
> >>> ---
> >>> drive
On Fri, Jun 27, 2014 at 04:51:40PM +0530, Varka Bhadram wrote:
> On 06/27/2014 04:23 PM, Alexander Aring wrote:
> >Hi,
> >
> >On Fri, Jun 27, 2014 at 04:14:54PM +0530, Varka Bhadram wrote:
> >>On 06/27/2014 03:49 PM, Alexander Aring wrote:
> >>>Signed-off-by: Alexander Aring
> >>>---
> >>> driver
On Fri, Jun 27, 2014 at 01:20:11PM +0200, Phoebe Buckheister wrote:
> On Fri, 27 Jun 2014 16:51:40 +0530
> Varka Bhadram wrote:
>
> > On 06/27/2014 04:23 PM, Alexander Aring wrote:
> > > Hi,
> > >
> > > On Fri, Jun 27, 2014 at 04:14:54PM +0530, Varka Bhadram wrote:
> > >> On 06/27/2014 03:49 PM,
Signed-off-by: Alexander Aring
---
drivers/net/ieee802154/at86rf230.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ieee802154/at86rf230.c
b/drivers/net/ieee802154/at86rf230.c
index c130026..c724fb7 100644
--- a/drivers/net/ieee802154/at86rf230.c
+++ b/dri
Hi Alex,
On 06/27/2014 04:16 PM, Alexander Aring wrote:
> +
> +static void
> +at86rf230_rx(struct at86rf230_local *lp,
> + const u8 *data, u8 len)
const u8 len ?
> +{
> + u8 lqi;
> + struct sk_buff *skb;
> + u8 rx_local_buf[AT86RF2XX_MAX_BUF];
memset() for rx_local_buf ?
On 06/27/2014 03:49 PM, Alexander Aring wrote:
> +
> +static void
> +at86rf230_rx(struct at86rf230_local *lp,
> + const u8 *data, u8 len)
> +{
> + u8 lqi;
> + struct sk_buff *skb;
> + u8 rx_local_buf[AT86RF2XX_MAX_BUF];
> +
> + memcpy(rx_local_buf, data, len);
> + enabl
Hi,
On 06/27/2014 03:49 PM, Alexander Aring wrote:
> +
> +static void
> +at86rf230_rx(struct at86rf230_local *lp,
> + const u8 *data, u8 len)
> +{
> + u8 lqi;
> + struct sk_buff *skb;
> + u8 rx_local_buf[AT86RF2XX_MAX_BUF];
> +
> + memcpy(rx_local_buf, data, len);
> +
On Fri, Jun 27, 2014 at 05:35:00PM +0530, Varka Bhadram wrote:
> Hi Alex,
>
>
> On 06/27/2014 04:16 PM, Alexander Aring wrote:
> > +
> > +static void
> > +at86rf230_rx(struct at86rf230_local *lp,
> > +const u8 *data, u8 len)
>
> const u8 len ?
>
len will be changed during runtime above
On Fri, Jun 27, 2014 at 05:44:50PM +0530, Varka Bhadram wrote:
> On 06/27/2014 03:49 PM, Alexander Aring wrote:
> >+
> >+static void
> >+at86rf230_rx(struct at86rf230_local *lp,
> >+ const u8 *data, u8 len)
> >+{
> >+u8 lqi;
> >+struct sk_buff *skb;
> >+u8 rx_local_buf[AT86RF2XX
On 06/27/2014 05:52 PM, Alexander Aring wrote:
> On Fri, Jun 27, 2014 at 05:35:00PM +0530, Varka Bhadram wrote:
>> Hi Alex,
>>
>>
>> On 06/27/2014 04:16 PM, Alexander Aring wrote:
>>> +
>>> +static void
>>> +at86rf230_rx(struct at86rf230_local *lp,
>>> +const u8 *data, u8 len)
>> const u8 l
On Fri, Jun 27, 2014 at 06:00:58PM +0530, Varka Bhadram wrote:
> On 06/27/2014 05:52 PM, Alexander Aring wrote:
> >On Fri, Jun 27, 2014 at 05:35:00PM +0530, Varka Bhadram wrote:
> >>Hi Alex,
> >>
> >>
> >>On 06/27/2014 04:16 PM, Alexander Aring wrote:
> >>>+
> >>>+static void
> >>>+at86rf230_rx(str
On 06/27/2014 06:07 PM, Alexander Aring wrote:
> On Fri, Jun 27, 2014 at 06:00:58PM +0530, Varka Bhadram wrote:
>> On 06/27/2014 05:52 PM, Alexander Aring wrote:
>>> On Fri, Jun 27, 2014 at 05:35:00PM +0530, Varka Bhadram wrote:
Hi Alex,
On 06/27/2014 04:16 PM, Alexander Aring w
On Fri, Jun 27, 2014 at 06:09:31PM +0530, Varka Bhadram wrote:
> On 06/27/2014 06:07 PM, Alexander Aring wrote:
> >On Fri, Jun 27, 2014 at 06:00:58PM +0530, Varka Bhadram wrote:
> >>On 06/27/2014 05:52 PM, Alexander Aring wrote:
> >>>On Fri, Jun 27, 2014 at 05:35:00PM +0530, Varka Bhadram wrote:
>
On Fri, Jun 27, 2014 at 09:37:25AM +0530, Varka Bhadram wrote:
> This patch fixed the coding style issues reported by checkpatch.pl
>
> following issues fixed:
> CHECK: Alignment should match open parenthesis
> WARNING: line over 80 characters
> CHECK: Blank lines aren't necessar
47 matches
Mail list logo