[Linux-zigbee-devel] wpan-next: git pull conflict

2014-08-06 Thread Varka Bhadram
uto-merging drivers/net/wireless/ath/ath6kl/init.c Auto-merging drivers/net/wireless/ath/ath6kl/cfg80211.c Auto-merging MAINTAINERS Automatic merge failed; fix conflicts and then commit the result. -- Regards, Varka Bhad

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

2014-07-29 Thread Varka Bhadram
On 07/28/2014 02:54 PM, varkabhad...@gmail.com wrote: > 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 > --- > p

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: >>>

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: >>>>

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_so

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

Re: [Linux-zigbee-devel] [PATCH linux-wpan-next] mac802154: use dev_kfree_skb

2014-07-24 Thread Varka Bhadram
tion > comment is: > > Returns: 0 on success (and frees skb in this case) or 1 on failure (skb will > not be freed, and caller is responsible for either retrying later or freeing > skb). > > In this case the skb is not dropped, it's laying around and the caller can do >

Re: [Linux-zigbee-devel] [PATCH linux-wpan-next] mac802154: use dev_kfree_skb

2014-07-24 Thread Varka Bhadram
On Thursday 24 July 2014 10:04 PM, Alexander Aring wrote: On Thu, Jul 24, 2014 at 05:50:03PM +0530, Varka Bhadram wrote: Hi Alex, On 07/24/2014 05:40 PM, Alexander Aring wrote: Varka, On Thu, Jul 24, 2014 at 05:16:39PM +0530, varkabhad...@gmail.com wrote: From: Varka Bhadram This patch

Re: [Linux-zigbee-devel] [PATCH linux-wpan-next] mac802154: use dev_kfree_skb

2014-07-24 Thread Varka Bhadram
Hi Alex, On 07/24/2014 05:40 PM, Alexander Aring wrote: > Varka, > > On Thu, Jul 24, 2014 at 05:16:39PM +0530, varkabhad...@gmail.com wrote: >> From: Varka Bhadram >> >> This patch replace the kfree(skb) with dev_kfree_skb() which is > s/kfree(skb)/kfree_skb(skb) &

Re: [Linux-zigbee-devel] [PATCH v3 linux-wpan] ieee802154: 6lowpan: Ensure MTU of 1280 for 6lowpan.

2014-07-24 Thread Varka Bhadram
nt __net_init lowpan_frags_init_net(struct net > *net) > ieee802154_lowpan->frags.high_thresh = IPV6_FRAG_HIGH_THRESH; > ieee802154_lowpan->frags.low_thresh = IPV6_FRAG_LOW_THRESH; > ieee802154_lowpan->frags.timeout = IPV6_FRAG_TIMEOUT; > - ieee802154_lowpan-&g

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

2014-07-24 Thread Varka Bhadram
invalid dest mode\n"); > + spin_unlock_bh(&sdata->mib_lock); move pr_debug() out of critical section.. spin_unlock_bh(&sdata->mib_lock); pr_debug("invalid dest mode\n"); > + kfree_skb(skb); > + return NET_RX

Re: [Linux-zigbee-devel] [PATCH v2 linux-wpan] ieee802154: 6lowpan: Ensure MTU of 1280 for 6lowpan.

2014-07-20 Thread Varka Bhadram
t; ieee802154_lowpan->max_dsize) > + if (frag_info->d_size > IPV6_MIN_MTU) { > + netdev_warn(skb->dev, "datagram size exceeds IPv6 Min MTU"); > Missed terminating newline ('\n') :-) -- Regards, Varka Bhadram.

Re: [Linux-zigbee-devel] [RFC] 6lowpan: Refactor lowpan_rcv

2014-07-14 Thread Varka Bhadram
virt/kvm/vfio.c Pull is not possible because you have unmerged files. Please, fix them up in the work tree, and then use 'git add/rm ' as appropriate to mark resolution, or use 'git commit -a'. -- Regards, Varka Bhadram. -

Re: [Linux-zigbee-devel] [PATCH net-next 0/2] Introduce generic 6LoWPAN branch

2014-07-11 Thread Varka Bhadram
et/6lowpan/Kconfig > create mode 100644 net/6lowpan/Makefile > rename net/{ieee802154/6lowpan_iphc.c => 6lowpan/iphc.c} (100%) > Tested-by: Varka Bhadram -- Regards, Varka Bhadram. -- Open source busi

Re: [Linux-zigbee-devel] [PATCH net-next 1/2] ieee802154: removed unwanted header files

2014-07-08 Thread Varka Bhadram
real commit message, this one is way too terse and tells me > nothing. Explain why each header file was removed, and what the > justification is. Ok i will explain about the changes. I thinks i have to chan

[Linux-zigbee-devel] [PATCH net-next 0/2] cleanup for ieee802154 and mac802154

2014-07-08 Thread Varka Bhadram
This patch series remove the unwanted headerfiles for ieee802154 and mac802154 Varka Bhadram (2): ieee802154: removed unwanted header files mac802154: removed unwanted header files net/ieee802154/6lowpan_iphc.c |4 net/ieee802154/6lowpan_rtnl.c |7 --- net/ieee802154

[Linux-zigbee-devel] [PATCH net-next 1/2] ieee802154: removed unwanted header files

2014-07-08 Thread Varka Bhadram
Signed-off-by: Varka Bhadram --- net/ieee802154/6lowpan_iphc.c |4 net/ieee802154/6lowpan_rtnl.c |7 --- net/ieee802154/af_ieee802154.c | 11 --- net/ieee802154/dgram.c |6 -- net/ieee802154/header_ops.c|1 - net/ieee802154/netlink.c

[Linux-zigbee-devel] [PATCH net-next 2/2] mac802154: removed unwanted header files

2014-07-08 Thread Varka Bhadram
Signed-off-by: Varka Bhadram --- net/mac802154/ieee802154_dev.c |5 - net/mac802154/llsec.c |7 --- net/mac802154/llsec.h |4 net/mac802154/mac802154.h |2 -- net/mac802154/mac_cmd.c|3 --- net/mac802154/mib.c|2

Re: [Linux-zigbee-devel] Regarding regmap framework Linux

2014-07-05 Thread Varka Bhadram
Hi Alex, On Friday 04 July 2014 12:30 PM, Alexander Aring wrote: > Hi, > > On Fri, Jul 04, 2014 at 10:46:11AM +0530, Varka Bhadram wrote: >> Hi Alex, >> >> Recently you used the_ __regmap__ _ support for at86rf230 driver. >> > yes. > >> I want

[Linux-zigbee-devel] Regarding regmap framework Linux

2014-07-03 Thread Varka Bhadram
familiar with the framework ? Thanks in advance. -- Cheers Varka Bhadram -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community

Re: [Linux-zigbee-devel] Linux-Zigbee Wiki

2014-07-02 Thread Varka Bhadram
p://p.sf.net/sfu/Bonitasoft > ___ > Linux-zigbee-devel mailing list > Linux-zigbee-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel -- Varka Bhadram --

Re: [Linux-zigbee-devel] [PATCH net-next v3] 6lowpan: mac802154: fix coding style issues

2014-07-01 Thread Varka Bhadram
Hi Florian, On 07/02/2014 09:50 AM, Florian Fainelli wrote: > Hi, > > 2014-07-01 20:31 GMT-07:00 Varka Bhadram : >> This patch fixed the coding style issues reported by checkpatch.pl >> >> following issues fixed: >> CHECK: Alignment should match open

[Linux-zigbee-devel] [PATCH net-next v3] 6lowpan: mac802154: fix coding style issues

2014-07-01 Thread Varka Bhadram
etworking block comments don't use an empty /* line, use /* Comment... WARNING: Missing a blank line after declarations WARNING: networking block comments start with * on subsequent lines CHECK: braces {} should be used on all arms of this statement Signed-off-by: Vark

Re: [Linux-zigbee-devel] [PATCH v3 net-next 06/13] at86rf230: rework transmit and receive handling

2014-06-27 Thread Varka Bhadram
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, >>>> >>

Re: [Linux-zigbee-devel] [PATCH v3 net-next 06/13] at86rf230: rework transmit and receive handling

2014-06-27 Thread Varka Bhadram
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

[Linux-zigbee-devel] Fwd: Re: [PATCH v2 net-next 05/12] at86rf230: rework transmit and receive handling

2014-06-27 Thread Varka Bhadram
), rx_local_buf, len); > + > + /* We do not put CRC into the frame */ > + skb_trim(skb, len - 2); > + > + ieee802154_rx_irqsafe(lp->dev, skb, lqi); > +} > + -Varka Bhadram -- Open

Re: [Linux-zigbee-devel] [PATCH v2 net-next 05/12] at86rf230: rework transmit and receive handling

2014-06-27 Thread Varka Bhadram
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

Re: [Linux-zigbee-devel] [PATCH v3 net-next 06/13] at86rf230: rework transmit and receive handling

2014-06-27 Thread Varka Bhadram
llocate sk_buff\n"); > + return; > + } > + > + memcpy(skb_put(skb, len), rx_local_buf, len); > + > + /* We do not put CRC into the frame */ > + skb_trim(skb, len - 2); > + > + ieee802154_rx_irqsafe(lp->dev, skb, lqi); > +} >

Re: [Linux-zigbee-devel] [PATCH v2 net-next 11/12] at86rf230: add sleep cycle timing

2014-06-27 Thread Varka Bhadram
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/at86

[Linux-zigbee-devel] Fwd: Re: [PATCH v2 net-next 11/12] at86rf230: add sleep cycle timing

2014-06-27 Thread Varka Bhadram
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

Re: [Linux-zigbee-devel] [PATCH v2 net-next 11/12] at86rf230: add sleep cycle timing

2014-06-27 Thread Varka Bhadram
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

Re: [Linux-zigbee-devel] where can I get linux-zigbee-devel latest repositories?

2014-06-27 Thread Varka Bhadram
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 >>

Re: [Linux-zigbee-devel] where can I get linux-zigbee-devel latest repositories?

2014-06-26 Thread Varka Bhadram
net-next.git [2]:git://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git Regards, Varka Bhadram. Thanks for replying. Wang Sishan Hubei University of Automovtive Technology, China. 2014-6-26 -- Open source b

[Linux-zigbee-devel] [PATCH net-next v2] 6lowpan: mac802154: fix coding style issues

2014-06-26 Thread Varka Bhadram
etworking block comments don't use an empty /* line, use /* Comment... WARNING: Missing a blank line after declarations WARNING: networking block comments start with * on subsequent lines CHECK: braces {} should be used on all arms of this statement Signed-off-by: Var

Re: [Linux-zigbee-devel] [PATCH net-next] 6lowpan: ieee802154: fix coding style issues

2014-06-26 Thread Varka Bhadram
Hi Alex, I will send the series with 'v2' ...Thanks. Varka Bhadram On Thursday 26 June 2014 07:37 PM, Alexander Aring wrote: > Hi Varka, > > can you please resend the whole serie marked as v2? Then I will test it > and put a Tested-by on your seri

[Linux-zigbee-devel] [PATCH net-next] 6lowpan: ieee802154: fix coding style issues

2014-06-26 Thread Varka Bhadram
ions WARNING: networking block comments start with * on subsequent lines CHECK: braces {} should be used on all arms of this statement Signed-off-by: Varka Bhadram --- net/ieee802154/6lowpan_iphc.c | 113 ++-- net/ieee802154/6lowpan_rtnl.c | 16 ++

[Linux-zigbee-devel] [PATCH net-next 1/2] 6lowpan: fix coding style issues

2014-06-26 Thread Varka Bhadram
Signed-off-by: Varka Bhadram --- net/ieee802154/6lowpan_iphc.c | 113 ++-- net/ieee802154/6lowpan_rtnl.c | 16 +++--- net/ieee802154/af_ieee802154.c | 26 + net/ieee802154/dgram.c | 28 +- net/ieee802154/ieee802154.h|2

[Linux-zigbee-devel] [PATCH net-next 0/2] cleanup for 6lowpan and mac802514

2014-06-26 Thread Varka Bhadram
used on all arms of this statement Varka Bhadram (2): 6lowpan: fix coding style issues mac802154: fix coding style issues net/ieee802154/6lowpan_iphc.c | 113 ++-- net/ieee802154/6lowpan_rtnl.c | 16 +++--- net/ieee802154/af_ieee802154.c | 26 +

[Linux-zigbee-devel] [PATCH net-next 2/2] mac802154: fix coding style issues

2014-06-26 Thread Varka Bhadram
Signed-off-by: Varka Bhadram --- net/mac802154/ieee802154_dev.c |4 +++- net/mac802154/llsec.c |1 + net/mac802154/mib.c|7 --- net/mac802154/tx.c |1 + 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/net/mac802154

[Linux-zigbee-devel] [PATCH net-next v4 0/3] Driver for TI CC2520 Radio

2014-06-18 Thread Varka Bhadram
() Varka Bhadram (3): ieee802154: cc2520: adds driver for TI CC2520 radio ieee802154: cc2520: add driver to kernel build system devicetree: add device tree bindings for cc2520 driver .../devicetree/bindings/net/ieee802154/cc2520.txt | 29 + drivers/net/ieee802154/Kconfig

[Linux-zigbee-devel] [PATCH net-next v4 2/3] ieee802154: cc2520: add driver to kernel build system

2014-06-18 Thread Varka Bhadram
Signed-off-by: Varka Bhadram --- drivers/net/ieee802154/Kconfig | 11 +++ drivers/net/ieee802154/Makefile |1 + 2 files changed, 12 insertions(+) diff --git a/drivers/net/ieee802154/Kconfig b/drivers/net/ieee802154/Kconfig index 3e89bea..8b7ae51 100644 --- a/drivers/net

[Linux-zigbee-devel] [PATCH net-next v4 3/3] devicetree: add device tree bindings for cc2520 driver

2014-06-18 Thread Varka Bhadram
DT bindings for cc2520 radio driver Signed-off-by: Varka Bhadram --- .../devicetree/bindings/net/ieee802154/cc2520.txt | 29 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/ieee802154/cc2520.txt diff --git a/Documentation

[Linux-zigbee-devel] [PATCH net-next v4 1/3] ieee802154: cc2520: adds driver for TI CC2520 radio

2014-06-18 Thread Varka Bhadram
This patch adds the driver support for the cc2520 radio. Driver support: - Tx and Rx of IEEE-802.15.4 packets. - Energy Detection on channel. - Setting the Channel for the radio. [b/w 11 - 26 channels] - Start and Stop the radio. Signed-off-by: Varka Bhadram

[Linux-zigbee-devel] [PATCH net-next v3 2/3] ieee802154: cc2520: add driver to kernel build system

2014-06-18 Thread Varka Bhadram
Signed-off-by: Varka Bhadram --- drivers/net/ieee802154/Kconfig | 11 +++ drivers/net/ieee802154/Makefile |1 + 2 files changed, 12 insertions(+) diff --git a/drivers/net/ieee802154/Kconfig b/drivers/net/ieee802154/Kconfig index 3e89bea..680422f 100644 --- a/drivers/net

[Linux-zigbee-devel] [PATCH net-next v3 3/3] devicetree: add device tree bindings for cc2520 driver

2014-06-18 Thread Varka Bhadram
DT bindings for cc2520 radio driver Signed-off-by: Varka Bhadram --- .../devicetree/bindings/net/ieee802154/cc2520.txt | 29 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/ieee802154/cc2520.txt diff --git a/Documentation

[Linux-zigbee-devel] [PATCH net-next v3 1/3] ieee802154: cc2520: adds driver for TI CC2520 radio

2014-06-18 Thread Varka Bhadram
This patch adds the driver support for the cc2520 radio. Driver support: - Tx and Rx of IEEE-802.15.4 packets. - Energy Detection on channel. - Setting the Channel for the radio. [b/w 11 - 26 channels] - Start and Stop the radio. Signed-off-by: Varka Bhadram

[Linux-zigbee-devel] [PATCH net-next v3 0/3] Driver for TI CC2520 Radio.

2014-06-18 Thread Varka Bhadram
in the locking mechanism in Tx and SFD ISR. - proper checkings for GPIO pins. - avoids the memory leak for priv. - used devm_* APIs. - moved the code from header file to .c file - removed cc2520_unregister() Varka Bhadram (3): ieee802154: cc2520: adds driver

Re: [Linux-zigbee-devel] [PATCH net-next v2 1/3] ieee802154: cc2520: adds driver for TI CC2520 radio

2014-06-18 Thread Varka Bhadram
On 06/18/2014 03:25 PM, Mark Rutland wrote: > On Wed, Jun 18, 2014 at 10:26:16AM +0100, Varka Bhadram wrote: >> +static int cc2520_probe(struct spi_device *spi) >> +{ >> + struct cc2520_private *priv; >> + struct pinctrl *pinctrl; >> + s

Re: [Linux-zigbee-devel] [PATCH net-next v2 1/3] ieee802154: cc2520: adds driver for TI CC2520 radio

2014-06-18 Thread Varka Bhadram
On 06/18/2014 02:40 PM, Mark Rutland wrote: On Wed, Jun 18, 2014 at 06:16:03AM +0100, Varka Bhadram wrote: Driver support: - Tx and Rx of IEEE-802.15.4 packets. - Energy Detection on channel. - Setting the Channel for the radio. [b/w 11 - 26 channels] - Start

Re: [Linux-zigbee-devel] [PATCH net-next v2 3/3] devicetree: add devicetree bindings for cc2520 driver

2014-06-18 Thread Varka Bhadram
Hi, On 06/18/2014 02:35 PM, Mark Rutland wrote: > On Wed, Jun 18, 2014 at 06:16:05AM +0100, Varka Bhadram wrote: >> devicetree bindings for cc2520 radio driver. >> >> Signed-off-by: Varka Bhadram >> --- >> .../devicetree/bindings/

[Linux-zigbee-devel] [PATCH net-next v2 3/3] devicetree: add devicetree bindings for cc2520 driver

2014-06-17 Thread Varka Bhadram
devicetree bindings for cc2520 radio driver. Signed-off-by: Varka Bhadram --- .../devicetree/bindings/net/ieee802154/cc2520.txt | 26 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/ieee802154/cc2520.txt diff --git a

[Linux-zigbee-devel] [PATCH net-next v2 0/3] Driver fir TI CC2520 Radio

2014-06-17 Thread Varka Bhadram
This series adds the driver support for TI cc2520 radio. also devicetree bindings for the driver. changes since v1: - improverment in gpio setup - changed len pointer to len variable - Varka Bhadram (3): ieee802154: cc2520: adds driver for TI CC2520 radio ieee802154

[Linux-zigbee-devel] [PATCH net-next v2 2/3] ieee802154: cc2520: add driver to kernel build system

2014-06-17 Thread Varka Bhadram
Signed-off-by: Varka Bhadram --- drivers/net/ieee802154/Kconfig | 11 +++ drivers/net/ieee802154/Makefile |1 + 2 files changed, 12 insertions(+) diff --git a/drivers/net/ieee802154/Kconfig b/drivers/net/ieee802154/Kconfig index 3e89bea..680422f 100644 --- a/drivers/net

[Linux-zigbee-devel] [PATCH net-next v2 1/3] ieee802154: cc2520: adds driver for TI CC2520 radio

2014-06-17 Thread Varka Bhadram
Driver support: - Tx and Rx of IEEE-802.15.4 packets. - Energy Detection on channel. - Setting the Channel for the radio. [b/w 11 - 26 channels] - Start and Stop the radio. Signed-off-by: Varka Bhadram --- drivers/net/ieee802154/cc2520.c | 968

Re: [Linux-zigbee-devel] [PATCH net-next v1 1/3] ieee802154: cc2520: adds driver for TI CC2520 radio

2014-06-17 Thread Varka Bhadram
On June 17, 2014 at 3:21 PM Alexander Aring wrote: > Hi, > > On Tue, Jun 17, 2014 at 02:45:42PM +0530, Varka Bhadram wrote: > > On 06/17/2014 02:11 PM, Alexander Aring wrote: > > > > > > > > Hi Varka, > ... > > > >

[Linux-zigbee-devel] [PATCH net-next v1 3/3] devicetree: add device tree bindings for cc2520 driver

2014-06-17 Thread Varka Bhadram
This patch adds the devicetree bindings for cc2520 driver. Signed-off-by: Varka Bhadram --- .../devicetree/bindings/net/ieee802154/cc2520.txt | 26 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/ieee802154/cc2520.txt diff

[Linux-zigbee-devel] [PATCH net-next v1 1/3] ieee802154: cc2520: adds driver for TI CC2520 radio

2014-06-17 Thread Varka Bhadram
er up to +5 dBm - Excellent receiver sensitivity (-98 dBm) Signed-off-by: Varka Bhadram --- drivers/net/ieee802154/cc2520.c | 966 +++ include/linux/spi/cc2520.h | 26 ++ 2 files changed, 992 insertions(+) create mode 100644 drivers/net/ieee8

[Linux-zigbee-devel] [PATCH net-next v1 0/3] Driver for TI CC2520 radio

2014-06-17 Thread Varka Bhadram
. - used devm_* APIs. - moved the code from header file to .c file - removed cc2520_unregister() Varka Bhadram (3): ieee802154: cc2520: adds driver for TI CC2520 radio ieee802154: cc2520: add driver to kernel build system devicetree: add device tree bindings for cc2520 driver

[Linux-zigbee-devel] [PATCH net-next v1 2/3] ieee802154: cc2520: add driver to kernel build system

2014-06-17 Thread Varka Bhadram
This patch creates a hook into kernel build system for cc2520 radio. Signed-off-by: Varka Bhadram --- drivers/net/ieee802154/Kconfig | 11 +++ drivers/net/ieee802154/Makefile |1 + 2 files changed, 12 insertions(+) diff --git a/drivers/net/ieee802154/Kconfig b/drivers/net

Re: [Linux-zigbee-devel] [PATCH net-next 1/3] ieee802154: cc2520: driver for TI cc2520 radio

2014-06-16 Thread Varka Bhadram
Hi Alex, Thanks for the comments. I will create a patch for the required changes with Reported-by Alexander Aring <...> reply if this is okay for you. On 06/16/2014 01:08 PM, Alexander Aring wrote: > Hi Varka, > > On Mon, Jun 16, 2014 at 10:21:56AM +0530, Varka Bhadram wrot

[Linux-zigbee-devel] [PATCH net-next 2/3] ieee802154: cc2520: add driver to kernel build system

2014-06-15 Thread Varka Bhadram
Signed-off-by: Varka Bhadram --- drivers/net/ieee802154/Kconfig | 11 +++ drivers/net/ieee802154/Makefile |1 + 2 files changed, 12 insertions(+) diff --git a/drivers/net/ieee802154/Kconfig b/drivers/net/ieee802154/Kconfig index 3e89bea..680422f 100644 --- a/drivers/net

[Linux-zigbee-devel] [PATCH net-next 1/3] ieee802154: cc2520: driver for TI cc2520 radio

2014-06-15 Thread Varka Bhadram
Signed-off-by: Varka Bhadram --- drivers/net/ieee802154/cc2520.c | 805 +++ include/linux/spi/cc2520.h | 176 + 2 files changed, 981 insertions(+) create mode 100644 drivers/net/ieee802154/cc2520.c create mode 100644 include/linux/spi/cc2520

[Linux-zigbee-devel] [PATCH net-next 0/3] Driver for TI CC2520 Radio chip

2014-06-15 Thread Varka Bhadram
This patch series adds the support for cc2520 radio and provides device tree bindings for cc2520 Varka Bhadram (3): ieee802154: cc2520: driver for TI cc2520 radio ieee802154: cc2520: add driver to kernel build system devicetree: add devicetree bindings for cc2520 driver .../devicetree

[Linux-zigbee-devel] [PATCH net-next 3/3] devicetree: add devicetree bindings for cc2520 driver

2014-06-15 Thread Varka Bhadram
Signed-off-by: Varka Bhadram --- .../devicetree/bindings/net/ieee802154/cc2520.txt | 26 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/ieee802154/cc2520.txt diff --git a/Documentation/devicetree/bindings/net/ieee802154/cc2520

[Linux-zigbee-devel] [PATCH net-next] mrf24j40: separate h/w init and add checkings

2014-06-15 Thread Varka Bhadram
separate the mrf24j40 hardware initialisation from probe() and adds the sanity checkings. These checkings are required if somebody hasn't a right spi configuration the probe function should fail. So we have to return from there. Signed-off-by: Varka Bhadram --- drivers/net/ieee802154/mrf

Re: [Linux-zigbee-devel] [PATCH 15/16] at86rf2xx: remove unnecessary return

2014-06-12 Thread Varka Bhadram
If we got error before ieee802154_register_device(lp->dev) it will got to the label free_del. Without registering ieee802154 device you are freeing it. free_dev: ieee802154_free_device(lp->dev); I think you need to rework on this. Thanks. -Varka Bhadram. On Fri, Jun 13, 2

[Linux-zigbee-devel] [PATCH net-next] mrf24j40: separate h/w init and add checkings

2014-06-12 Thread Varka Bhadram
separate the mrf24j40 hardware initialisation from probe() and adds the sanity checkings. These checkings are required if somebody hasn't a right spi configuration the probe function should fail. So we have to return from there. Signed-off-by: Varka Bhadram --- drivers/net/ieee802154/mrf

Re: [Linux-zigbee-devel] [PATCH net-next] mrf24j40: separate h/w init and add checkings

2014-06-12 Thread Varka Bhadram
Hi David, Sorry for the noise. i will send the fixed patch. Thanks. -Varka Bhadram On Thu, Jun 12, 2014 at 11:35 PM, David Miller wrote: > From: David Miller > Date: Thu, 12 Jun 2014 11:03:24 -0700 (PDT) > >> From: Varka Bhadram >> Date: Thu, 12 Jun 2014 14:40:48 +053

[Linux-zigbee-devel] [PATCH net-next] mrf24j40: separate h/w init and add checkings

2014-06-12 Thread Varka Bhadram
separate the mrf24j40 hardware initialisation from probe() and adds the sanity checkings. These checkings are required if somebody hasn't a right spi configuration the probe function should fail. So we have to return from there. Signed-off-by: Varka Bhadram --- drivers/net/ieee802154/mrf

[Linux-zigbee-devel] [net-next PATCH] mrf24j40: add device managed APIs

2014-06-10 Thread Varka Bhadram
adds the device managed APIs so that no need worry about freeing the resources. Signed-off-by: Varka Bhadram --- drivers/net/ieee802154/mrf24j40.c | 33 + 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/drivers/net/ieee802154/mrf24j40.c b

[Linux-zigbee-devel] [PATCH net-next v3] mrf24j40: added device managed APIs

2014-05-29 Thread Varka Bhadram
changes since v2: 1. removed unwanted label implementation. When we use devm_* APIs ,probe() failed also the memory will be freed automatically. Thanks to Alex -Varka Bhadram Signed-off-by: Varka Bhadram --- drivers/net/ieee802154/mrf24j40.c | 30 -- 1 file

[Linux-zigbee-devel] [PATCH net-next v2] mrf24j40: add managed API's provided by device layer

2014-05-28 Thread Varka Bhadram
forgot to use devm_* for spi buff. sorry for that. -Varka Bhadram Signed-off-by: Varka Bhadram --- drivers/net/ieee802154/mrf24j40.c | 21 + 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/drivers/net/ieee802154/mrf24j40.c b/drivers/net/ieee802154/mrf24j40

[Linux-zigbee-devel] [PATCH net-next v1] mrf24j40: add managed API's provided by device layer

2014-05-28 Thread Varka Bhadram
Hi, Previous patch having bug in using managed API's. I fixed that. Regards, Varka Bhadram. Signed-off-by: Varka Bhadram --- drivers/net/ieee802154/mrf24j40.c | 21 + 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/drivers/net/ieee802154/mrf24

[Linux-zigbee-devel] [PATCH] mrf24j40: add managed API's provided by device layer

2014-05-28 Thread Varka Bhadram
This patch adds the managed APIs to the deriver code. By using this we need not to worry about freeing the memory and irq numbers. Thanks and Regards, Varka Bhadram Signed-off-by: Varka Bhadram --- drivers/net/ieee802154/mrf24j40.c | 22 ++ 1 file changed, 10 insertions

[Linux-zigbee-devel] Same seq.num[DSN] for every packet

2014-05-09 Thread Varka Bhadram
the problem? Thanks and Regards, Varka Bhadram. --- [ C-DAC is on facebook. Kindly follow us on the following url: https://www.facebook.com/CDACINDIA ] This e-mail is for the

[Linux-zigbee-devel] [PATCH net-next v1] fix completion work init

2014-05-09 Thread Varka Bhadram
Hi, This patch fix duplication of work completion initialization. -Varka Bhadram Signed-off-by: Varka Bhadram --- drivers/net/ieee802154/cc2520.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ieee802154/cc2520.c b/drivers/net/ieee802154/cc2520.c index 88c3044..51b97d5

[Linux-zigbee-devel] [PATCH net-next v1 1/3] Driver for TI CC2520 radio chip

2014-05-07 Thread Varka Bhadram
Signed-off-by: Varka Bhadram --- drivers/net/ieee802154/cc2520.c | 813 +++ include/linux/spi/cc2520.h | 176 + 2 files changed, 989 insertions(+) create mode 100644 drivers/net/ieee802154/cc2520.c create mode 100644 include/linux/spi/cc2520

[Linux-zigbee-devel] [PATCH net-next v1 2/3] Add CC2520 to Kernel Build System

2014-05-07 Thread Varka Bhadram
Signed-off-by: Varka Bhadram --- drivers/net/ieee802154/Kconfig | 11 +++ drivers/net/ieee802154/Makefile |1 + 2 files changed, 12 insertions(+) diff --git a/drivers/net/ieee802154/Kconfig b/drivers/net/ieee802154/Kconfig index 3e89bea..6e63303 100644 --- a/drivers/net

[Linux-zigbee-devel] [PATCH net-next v1 3/3] devicetree: device tree bindings for cc2520

2014-05-07 Thread Varka Bhadram
Signed-off-by: Varka Bhadram --- .../devicetree/bindings/net/ieee802154/cc2520.txt | 30 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/ieee802154/cc2520.txt diff --git a/Documentation/devicetree/bindings/net/ieee802154/cc2520

[Linux-zigbee-devel] [PATCH net-next v1 0/3] Driver for CC2520 IEEE-802.15.4 radio chip

2014-05-07 Thread Varka Bhadram
Hi, This patch series adds the driver support for cc2520. Please review the patches. If patch series is fine, i will send to the netdev. Thanks and Regards, Varka Bhadram. Varka Bhadram (3): Driver for TI CC2520 radio chip Add CC2520 to Kernel Build System devicetree: device tree bindings

[Linux-zigbee-devel] [PATCH net-next 2/3] Add CC2520 to Kernel Build System

2014-05-07 Thread Varka Bhadram
Signed-off-by: Varka Bhadram --- drivers/net/ieee802154/Kconfig | 11 +++ drivers/net/ieee802154/Makefile |1 + 2 files changed, 12 insertions(+) diff --git a/drivers/net/ieee802154/Kconfig b/drivers/net/ieee802154/Kconfig index 3e89bea..6e63303 100644 --- a/drivers/net

[Linux-zigbee-devel] [PATCH net-next 3/3] devicetree: device tree bindings for cc2520

2014-05-07 Thread Varka Bhadram
Signed-off-by: Varka Bhadram --- .../devicetree/bindings/net/ieee802154/cc2520.txt | 30 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/ieee802154/cc2520.txt diff --git a/Documentation/devicetree/bindings/net/ieee802154/cc2520

[Linux-zigbee-devel] [PATCH net-next 0/3] Driver for CC2520 IEEE-802.15.4 radio chip

2014-05-07 Thread Varka Bhadram
Hi, This patch series adds the driver support for cc2520. Please review the patches. If patch series is fine, i will send to the netdev. Thnks and Regards, Varka Bhadram. Varka Bhadram (3): Driver for TI CC2520 radio chip Add CC2520 to Kernel Build System devicetree: device tree bindings

[Linux-zigbee-devel] [PATCH net-next 1/3] Driver for TI CC2520 radio chip

2014-05-07 Thread Varka Bhadram
Signed-off-by: Varka Bhadram --- drivers/net/ieee802154/cc2520.c | 813 +++ include/linux/spi/cc2520.h | 176 + 2 files changed, 989 insertions(+) create mode 100644 drivers/net/ieee802154/cc2520.c create mode 100644 include/linux/spi/cc2520

Re: [Linux-zigbee-devel] Ping b/w Lowpan Nodes

2014-05-06 Thread Varka Bhadram
On 05/05/2014 01:28 PM, Alexander Aring wrote: > The linux side should be rfc complaint, we currently don't support such > things like stateless address compression but this is also not used in > contiki (I guess). > I think in linux kernel stateless address compression support is there. But state

Re: [Linux-zigbee-devel] Ping b/w Lowpan Nodes

2014-05-05 Thread Varka Bhadram
What is the status of LoWPAN layer in 3.12 kernel ? -Bhadram On 05/05/2014 06:04 PM, Alexander Aring wrote: > On Mon, May 05, 2014 at 02:07:56PM +0530, Varka Bhadram wrote: >> Hi, >> >> I am using beagleboneblack . Link [0] will explain the setup b/w the two >> linux

Re: [Linux-zigbee-devel] Ping b/w Lowpan Nodes

2014-05-05 Thread Varka Bhadram
Aring wrote: > Hi Varka, > > On Mon, May 05, 2014 at 01:05:45PM +0530, Varka Bhadram wrote: >> Hi Alex, >> >> I want to ping Linux node(cc2520) with the TinyOs node. I am using the linux >> kernel 3.8.13. >> > First about TinyOS: > > I don't know whi

[Linux-zigbee-devel] Ping b/w Lowpan Nodes

2014-05-05 Thread Varka Bhadram
Hi Alex, I want to ping Linux node(cc2520) with the TinyOs node. I am using the linux kernel 3.8.13. Please kindly tell me the requirements from the Linux side and the simple node side to ping properly? Thanks in advance. -Varka Bhadram

Re: [Linux-zigbee-devel] [PATCH] mrf24j40: seperate mrf24j40 h/w init and add checkings

2014-04-23 Thread Varka Bhadram
. Thanks and Regards, Varka Bhadram On 04/23/2014 07:30 PM, Alexander Aring wrote: > Hi Alan, > > On Wed, Apr 23, 2014 at 09:51:33AM -0400, Alan Ott wrote: >> On 04/23/2014 09:11 AM, Varka Bhadram wrote: >>> I followed the process that you mailed earlier, thnks for that. >>

[Linux-zigbee-devel] "ifconfig wpan0 up" problem with mrf24j40 radio

2014-04-02 Thread Varka Bhadram
4/0x5b8) from [] (SyS_ioctl+0x50/0x6c) What can be the reason. Any help ? Thanks in advance, -Varka Bhadram, C-DAC --- This e-mail is for the sole use of the intended recipie

Re: [Linux-zigbee-devel] at86rf230: Interrupt Handling

2014-03-28 Thread Varka Bhadram
Sorry for that. i am having an bad habit of forgotting cc. People from mailing list i am expecting the answer. Thanks alot.. -Varka Bhadram On March 28, 2014 at 12:07 PM Alexander Aring wrote: > Hi Varka, > > please take the mailinglist always in CC. There are also other people &g

Re: [Linux-zigbee-devel] at86rf230: DT and Non-DT support question

2014-03-27 Thread Varka Bhadram
evice_id, > > .driver = { > > /*.of_match_table = of_match_ptr(at86rf230_of_match),*/ > > .name = "at86rf230", > > .owner = THIS_MODULE, > > }, > > .probe = at86rf230_probe, > > .remove =

Re: [Linux-zigbee-devel] at86rf230: DT and Non-DT support question

2014-03-27 Thread Varka Bhadram
; vermagic: 3.14.0-rc8-01856-g8652599 mod_unload modversions ARMv6p2v8 > > and it should also work if we don't have CONFIG_OF enabled. Question is how many times the

[Linux-zigbee-devel] Fwd: Re: at86rf230: DT and Non-DT support question

2014-03-27 Thread Varka Bhadram
-- Original Message -- From: Varka Bhadram To: Alexander Aring Date: March 27, 2014 at 4:30 PM Subject: Re: at86rf230: DT and Non-DT support question > We also need a > > .id_table = at86rf230_ids, > > here. > > > . driver = { > > #ifdef

Re: [Linux-zigbee-devel] at86rf230: DT and Non-DT support question

2014-03-27 Thread Varka Bhadram
6rf230_of_match ), #endif . name = "at86rf230" , . owner = THIS_MODULE , }; . probe = at

Re: [Linux-zigbee-devel] at86rf230: DT and Non-DT support question

2014-03-27 Thread Varka Bhadram
nclude the #if #if IS_ENABLED(CONFIG_OF) for of_match_ptr(at86rf230_of_match) also. -Varka Bhadram CDAC-HYD --- This e-mail is for the sole use of the intended recipient(s) and

Re: [Linux-zigbee-devel] at86rf230: DT and Non-DT support question

2014-03-27 Thread Varka Bhadram
ported boards { "at86rf230" , 0 }, .. { }, }; MODULE_DEVICE_TABLE ( spi , at86rf230_ids ); #endif -Varka Bhadram, CDAC-HYD. On March 27, 2014 at 12:17 PM Alexander Aring wrote: > On Thu, Mar 27, 2014 at 10:55:57AM +0530, Varka Bhadram wrote: > > Hai, > >

[Linux-zigbee-devel] at86rf230: DT and Non-DT support question

2014-03-26 Thread Varka Bhadram
and we have to register our board . In this shall we provide the device ids for driver by using struct spi_device_id or based on name in struct spi_driver the driver will load ? So Is there any need to give spi ids and MODULE_DEVICE_TABLE() for Non-DT supported boards? Thanks in advance. -Varka

Re: [Linux-zigbee-devel] Simple-RPL installat​ ion​

2014-03-02 Thread Varka Bhadram
Hai Alex.. Can you give provide the rules for "how to crosscompile the simpleRPL and all depencies" ? Thanks and Regards, Bhadram On February 28, 2014 at 4:59 PM Alexander Aring wrote: > Hi, > > On Tue, Feb 25, 2014 at 09:59:52AM +0530, Varka Bhadram wrote: > > Ha

[Linux-zigbee-devel] Simple-RPL installat​ion​

2014-02-24 Thread Varka Bhadram
Hai.. I want to install the simple-RPL on BeagleBoneBlack which having CC2520 radio interfaced to it. How can i compile it and how can i put it on the target board (BeagleboneBlack). Thanks in advance Regards, Bhadram

  1   2   >