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

2014-07-03 Thread Dmitry Eremin-Solenikov
Alexander, On Thu, Jul 3, 2014 at 1:24 PM, Alexander Aring wrote: > On Sun, Jun 29, 2014 at 01:28:50PM +0200, Thomas Kühnel wrote: >> Hi, >> >> What happened to the wiki at >> http://sourceforge.net/apps/trac/linux-zigbee/wiki/ ? >> Since 1 or 2 weeks ago it doesn't work anymore and just redirect

Re: [Linux-zigbee-devel] Simplifying the 802.15.4 stack

2014-03-11 Thread Dmitry Eremin-Solenikov
Helo, On Sat, Mar 8, 2014 at 8:58 PM, Phoebe Buckheister wrote: > On Fri, March 7, 2014 11:16 pm, Dmitry Eremin-Solenikov wrote: >> On Fri, Mar 7, 2014 at 4:16 PM, Phoebe Buckheister >> wrote: [skipped] >>> 3) the mac802154_priv slave list >>> >>> T

Re: [Linux-zigbee-devel] Simplifying the 802.15.4 stack

2014-03-07 Thread Dmitry Eremin-Solenikov
Hello, On Fri, Mar 7, 2014 at 4:16 PM, Phoebe Buckheister wrote: > Hi, > > the 802.15.4/6LoWPAN stack on Linux is pretty usable as it is now, much > due to the recent 6lowpan fixes by Alex. We can drive different radio > chips on different frequencies, IPv6 works well and we interoperate > just f

Re: [Linux-zigbee-devel] [PATCH 3/6] Support 100kbps QPSK/EU in at86rf230

2014-01-30 Thread Dmitry Eremin-Solenikov
On Thu, Jan 30, 2014 at 2:24 PM, Phoebe Buckheister wrote: > On Tue, 28 Jan 2014 23:43:13 +0400 > Dmitry Eremin-Solenikov wrote: >> Looks good. Let's beat patch #1 to the shape and merge them! > > I've locally made all the changes you requested. However, I can'

Re: [Linux-zigbee-devel] [PATCH 1/6] Add basic support for RF212 to at86rf230 driver

2014-01-29 Thread Dmitry Eremin-Solenikov
On Wed, Jan 29, 2014 at 6:07 PM, Phoebe Buckheister wrote: > On Tue, 28 Jan 2014 23:40:41 +0400 > Dmitry Eremin-Solenikov wrote: >> Never ever put spi transfer buffer onto the stack. It is not dma safe. >> Use kmalloc/kzalloc. > > Noted. The GFP_DMA flag just confuse

[Linux-zigbee-devel] FCS and IEEE802154_HW_OMIT_CKSUM

2014-01-29 Thread Dmitry Eremin-Solenikov
Hello colleagues, Right now there are two parallel threads onto this topic ongoing on the ML, so I decided to start a third one. Regarding handling of checksum, sizes, fields, etc. MAC frame (max 127 bytes) consists of header, payload and FCS (2 bytes). FCS is used to check that incoming frame

Re: [Linux-zigbee-devel] [PATCH 0/7] Support RF212 and extended features of that

2014-01-29 Thread Dmitry Eremin-Solenikov
On Wed, Jan 29, 2014 at 5:34 PM, Phoebe Buckheister wrote: > On Tue, 28 Jan 2014 23:23:17 +0400 > Dmitry Eremin-Solenikov wrote: >> Ok. You actually forced me to open the -2011 standard. >> Now I have the impression that LBT is a property of the channel band >> (let

Re: [Linux-zigbee-devel] mac802154 implementation details

2014-01-29 Thread Dmitry Eremin-Solenikov
Hello On Wed, Jan 29, 2014 at 3:53 PM, Varka Bhadram wrote: > hai... > > please clarify the below doubts.. > > 1. Is the mac layer (mac802154) is able to fragment the packets or not ? No. MAC layer is simple - either pass the packet that fits the hw limits, or drop it away. Fragmenting is next l

Re: [Linux-zigbee-devel] [PATCH 2/6] Add TX power control to wpan_phy

2014-01-28 Thread Dmitry Eremin-Solenikov
On 28/01/14 20:06, Phoebe Buckheister wrote: > The transmit_power field in struct wpan_phy is a field with two parts, > the lower six bits containing the signed TX power and the upper two bits > containing a tolerance indicator. This field is already used in some > places and carries the correct se

Re: [Linux-zigbee-devel] [PATCH 3/6] Support 100kbps QPSK/EU in at86rf230

2014-01-28 Thread Dmitry Eremin-Solenikov
On 28/01/14 20:06, Phoebe Buckheister wrote: > The standard assigns channel 0 on page 2 to be 100kbps QPSK in the > 868.3MHz band. Add support to the at86rf230 driver for this channel and > page, at the moment predicated only for the RF212 chip. > > Per the datasheet, configurations for page 0, ch

Re: [Linux-zigbee-devel] [PATCH 1/6] Add basic support for RF212 to at86rf230 driver

2014-01-28 Thread Dmitry Eremin-Solenikov
On 28/01/14 20:06, Phoebe Buckheister wrote: > Since the AT86RF2xy chips are mostly compatible, this is only a small > change to the actual driver code. The at86rf230 driver already supports the > RF212 in most places, only three small adjustments are required: > > * force the initial state after

Re: [Linux-zigbee-devel] [PATCH 4/7] Add support for listen-before-talk in wpan_phy

2014-01-28 Thread Dmitry Eremin-Solenikov
On Tue, Jan 28, 2014 at 9:49 PM, Alexander Aring wrote: > On Mon, Jan 27, 2014 at 10:31:03PM +0400, Dmitry Eremin-Solenikov wrote: >> On 27/01/14 20:03, Phoebe Buckheister wrote: >> > Listen-before-talk is an alternative to CSMA in uncoordinated networks >> >

Re: [Linux-zigbee-devel] [PATCH 0/7] Support RF212 and extended features of that

2014-01-28 Thread Dmitry Eremin-Solenikov
ister wrote: > On Tue, 28 Jan 2014 00:52:26 +0400 > Dmitry Eremin-Solenikov wrote: >> I have a question regarding LBT. Isn't it just another clear channel >> assessment mode? Not from the terms in the standard maybe, but from >> the logical point of view. Another type wo

Re: [Linux-zigbee-devel] [PATCH 4/7] Add support for listen-before-talk in wpan_phy

2014-01-28 Thread Dmitry Eremin-Solenikov
On Tue, Jan 28, 2014 at 6:19 PM, Phoebe Buckheister wrote: > On Mon, 27 Jan 2014 22:31:03 +0400 > Dmitry Eremin-Solenikov wrote: >> > + nla_put_u8(msg, IEEE802154_ATTR_LBT_ENABLED, phy->lbt)) >> >> nla_get/put_flag please. > > I had actually avoided

Re: [Linux-zigbee-devel] [PATCH 1/7] Add basic support for RF212 to at86rf230 driver

2014-01-28 Thread Dmitry Eremin-Solenikov
On Tue, Jan 28, 2014 at 4:38 PM, Phoebe Buckheister wrote: > On Mon, 27 Jan 2014 22:27:35 +0400 > Dmitry Eremin-Solenikov wrote: >> Since you will be adding lots of rf212-specific operations later, >> please duplicate _ops structure, so that you would have a set of rf230 >&

Re: [Linux-zigbee-devel] [PATCH 0/7] Support RF212 and extended features of that

2014-01-27 Thread Dmitry Eremin-Solenikov
On 27/01/14 20:03, Phoebe Buckheister wrote: > This patch set add support for the RF212 chip to the existing at86rf230 > driver, > and add various PHY parameters and netlink APIs to modify these parameters. > > Newly supported PHY parameters are: > * TX power control > * LBT mode for radios tha

Re: [Linux-zigbee-devel] [PATCH 7/7] Add support for autoack/retransmit of 802.15.4 frames

2014-01-27 Thread Dmitry Eremin-Solenikov
On 27/01/14 20:03, Phoebe Buckheister wrote: > Some RF chips allow automatic retransmissions of frames that are not > ACKed by the receiver within a specific timeframe, and automatically > sending such ACKs to senders that request them. Add two new fields to > struct wpan_phy that describe these tw

Re: [Linux-zigbee-devel] [PATCH 4/7] Add support for listen-before-talk in wpan_phy

2014-01-27 Thread Dmitry Eremin-Solenikov
On 27/01/14 20:03, Phoebe Buckheister wrote: > Listen-before-talk is an alternative to CSMA in uncoordinated networks > and prescribed by european regulations if one wants to have a device > with radio duty cycles above 10% (or less in some bands). Add a phy > property to enable/disable LBT in the

Re: [Linux-zigbee-devel] [PATCH 1/7] Add basic support for RF212 to at86rf230 driver

2014-01-27 Thread Dmitry Eremin-Solenikov
On 27/01/14 20:03, Phoebe Buckheister wrote: > Since the AT86RF2xy chips are mostly compatible, this is only a small > change. The at86rf230 driver already supports the RF212 in most places, > only three small adjustments are required: > > * force the initial state after P_ON to FORCE_TRX_OFF to

Re: [Linux-zigbee-devel] [PATCH 2/7] Add TX power control to wpan_phy

2014-01-27 Thread Dmitry Eremin-Solenikov
On 27/01/14 20:03, Phoebe Buckheister wrote: > The transmit_power field in struct wpan_phy is a field with two parts, > the lower six bits containing the signed TX power and the upper two bits > containing a tolerance indicator. This field is already used in some > places and carries the correct se

Re: [Linux-zigbee-devel] [PATCH 3/7] Support 100kbps QPSK/EU in at86rf230

2014-01-27 Thread Dmitry Eremin-Solenikov
On 27/01/14 20:03, Phoebe Buckheister wrote: > The standard assigns channel 0 on page 2 to be 100kbps QPSK in the > 868.3MHz band. Add support to the at86rf230 driver for this channel and > page, at the moment predicated only for the RF212 chip. I have the feeling that this be better split into

Re: [Linux-zigbee-devel] [PATCH 0/7] Support RF212 and extended features of that

2014-01-27 Thread Dmitry Eremin-Solenikov
On 27/01/14 20:03, Phoebe Buckheister wrote: > This patch set add support for the RF212 chip to the existing at86rf230 > driver, > and add various PHY parameters and netlink APIs to modify these parameters. > > Newly supported PHY parameters are: > * TX power control > * LBT mode for radios tha

Re: [Linux-zigbee-devel] Implementation of CSMA-CA ?

2014-01-24 Thread Dmitry Eremin-Solenikov
antics for it). > > > If i am wrong please correct me > > > Regards, > Bhadram > > > On January 23, 2014 at 4:15 PM Dmitry Eremin-Solenikov > wrote: >> Hello, >> >> On Thu, Jan 23, 2014 at 8:04 AM, Varka Bhadram wrote: >> > hai >>

Re: [Linux-zigbee-devel] Implementation of CSMA-CA ?

2014-01-24 Thread Dmitry Eremin-Solenikov
Hello, On Fri, Jan 24, 2014 at 3:02 AM, John Syn wrote: > On 1/23/14, 2:45 AM, "Dmitry Eremin-Solenikov" wrote: >>On Thu, Jan 23, 2014 at 8:04 AM, Varka Bhadram wrote: >>> Where is the CSMA-CA implementation ? Is it there in H/w (IEEE-802.15.4 >>> radio

Re: [Linux-zigbee-devel] Implementation of CSMA-CA ?

2014-01-23 Thread Dmitry Eremin-Solenikov
Hello, On Thu, Jan 23, 2014 at 8:04 AM, Varka Bhadram wrote: > hai > > Where is the CSMA-CA implementation ? Is it there in H/w (IEEE-802.15.4 > radio example:cc2520) itself or is it there at the mac802154 in linux ? CSMA/CA has so strict timing requirements (logical, you check that the cha

[Linux-zigbee-devel] Userspace tools release

2014-01-22 Thread Dmitry Eremin-Solenikov
Hello, Alexander Aring pinged me on IRC regarding releasing new version of lowpan-tools. In general I like the idea. Are there any other pending patches or issues that you would like to stick into the next release? If so, please speak up now. If not, I will release 0.3.1 somewhere next week (and

Re: [Linux-zigbee-devel] linux-next: Tree for Jan 14 (lowpan, 802.15.4)

2014-01-17 Thread Dmitry Eremin-Solenikov
Hello, On Fri, Jan 17, 2014 at 11:13 PM, Stephen Warren wrote: > On 01/14/2014 03:54 PM, Dmitry Eremin-Solenikov wrote: >> Hello, >> >> >> On Tue, Jan 14, 2014 at 9:49 PM, Randy Dunlap wrote: >>> >>> On 01/13/2014 09:51 PM, Stephen Rothwell wrote:

Re: [Linux-zigbee-devel] linux-next: Tree for Jan 14 (lowpan, 802.15.4)

2014-01-14 Thread Dmitry Eremin-Solenikov
le hack there. David, Marcel, could you please consider the attached patch. -- With best wishes Dmitry From 4c3db6d3c244decf434665c30c1bf75aad1f94b2 Mon Sep 17 00:00:00 2001 From: Dmitry Eremin-Solenikov Date: Wed, 15 Jan 2014 02:50:40 +0400 Subject: [PATCH] net: move 6lowpan compression code to se

Re: [Linux-zigbee-devel] Hardware support for 6LoWPAN

2013-08-30 Thread Dmitry Eremin-Solenikov
Hello, On Fri, Aug 30, 2013 at 5:21 PM, Werner Almesberger wrote: > Roncsák Tamás wrote: >> I would like to know whether AT86RF232B is supported? > > So far, it isnt't. It looks quite similar to the AT86RF230 family > (now grown to no less than four members), so it may not be overly > difficult t

Re: [Linux-zigbee-devel] [RFC] IEEE 802.15.4 serial protocol version 2 (for Econotags and others).

2013-06-10 Thread Dmitry Eremin-Solenikov
Hello, On Mon, Jun 10, 2013 at 11:18 PM, Tony Cheneau wrote: >>> It makes it extra easy to match a request to its response and to compute >>> the >>> response message in the case you don't even support the command (provided >>> that all your command have the same "header", such as "s2" and , >>>

Re: [Linux-zigbee-devel] [RFC] IEEE 802.15.4 serial protocol version 2 (for Econotags and others).

2013-06-08 Thread Dmitry Eremin-Solenikov
Hello, On Fri, Jun 7, 2013 at 12:31 AM, Tony Cheneau wrote: > > Thanks for your comments. They are especially appreciated since you designed > the version 1 of the protocol. Please see my comments inline. > > [...] > > >> Sometimes we had problems with synchronisation/recovery/etc. If a >> charac

Re: [Linux-zigbee-devel] [RFC] IEEE 802.15.4 serial protocol version 2 (for Econotags and others).

2013-06-06 Thread Dmitry Eremin-Solenikov
Hello, On Thu, Jun 6, 2013 at 2:02 AM, Tony Cheneau wrote: > Please don't hesitate to provide some feedback (preferably on the > linux-zigbee mailing list). Also I would suggest to include channel page in the set channel command. For most of the devices it should be 0 (so maybe we can have that

Re: [Linux-zigbee-devel] [RFC] IEEE 802.15.4 serial protocol version 2 (for Econotags and others).

2013-06-06 Thread Dmitry Eremin-Solenikov
Hello, On Thu, Jun 6, 2013 at 2:02 AM, Tony Cheneau wrote: > Hello everyone, > > I just uploaded a draft version of a version 2 of the serial protocol > that is used to command the Redbee Econotags with the "serial" driver on > Linux. You can find the text here [1]. The specification for the vers

Re: [Linux-zigbee-devel] Netfilter and 6LowPan

2013-04-25 Thread Dmitry Eremin-Solenikov
Hello, On Thu, Apr 25, 2013 at 6:47 PM, João Paulo Bodanese wrote: > Hi, > > I was doing a mistake. Now it's working ;) > BTW, I'm gonna implement a geographic routing protocol to my master thesis. > If anyone is interested, let me know. Yes, it is interesting. Just as a reminder: you can share

Re: [Linux-zigbee-devel] [PATCH] drivers/ieee802154/at86rf230: Add Automatic retransmit form the extended mode

2013-03-20 Thread Dmitry Eremin-Solenikov
Hello, On Wed, Mar 20, 2013 at 10:39 PM, Stefan Schmidt wrote: > Hello. > > On Wed, 2013-03-13 at 11:38, Alan Ott wrote: >> On 03/13/2013 03:45 AM, Wolf-Bastian Pöttner wrote: >> > Implement the filter function to update short address, pan id and ieee >> > address on change. Allowing for hardware

Re: [Linux-zigbee-devel] Status and Path Forward

2012-11-14 Thread Dmitry Eremin-Solenikov
Hello, On Wed, Nov 14, 2012 at 4:09 AM, Alan Ott wrote: > Hello, > > I'd like to get some clarification and start some discussion on what the > path forward is for the linux-zigbee project and team. Currently I see > our situation as follows: > > 1. linux-zigbee.sf.net (first website) > * Mai

Re: [Linux-zigbee-devel] Duplicated headers; empty ChangeLog/NEWS

2012-09-20 Thread Dmitry Eremin-Solenikov
Hello, On Mon, Sep 10, 2012 at 12:26 AM, Jan Engelhardt wrote: > Hi, > > > (I just packaged lowpan-tools for openSUSE. Besides the already-sent > two patches, the following is additional "fallout". Hope you > can answer :) :) > > lowpan-tools currently installs ieee802154.h and nl802154.h from

Re: [Linux-zigbee-devel] devel branch in linux-zigbee project doesn't compile in latest net-next

2012-03-20 Thread Dmitry Eremin-Solenikov
On 3/19/12, Prajosh Premdas wrote: > Hi All > > The code in devel branch in linux-zigbee project, I find doesnot > compile in latest net-next > > Reason : A lot of macros like NETIF_F_NO_CSUM is missing in net-next latest. > > If any body have a fixed copy of code could you please share it with me

Re: [Linux-zigbee-devel] lowpan-tools version 0.3 ?

2012-03-17 Thread Dmitry Eremin-Solenikov
Hello, On Fri, Mar 16, 2012 at 5:27 PM, Christophe Aeschlimann wrote: > Hi Dmitry, > > During the IRC meeting from Wednesday you said : > >> Another note, that might be interested to you: Please use current >> 0.3-git versions of lowpan-tools. 0.2 do not support some of the >> features of current

Re: [Linux-zigbee-devel] IRC meeting scheduling

2012-03-14 Thread Dmitry Eremin-Solenikov
Colleagues, On Thu, Mar 8, 2012 at 2:22 AM, Dmitry Eremin-Solenikov wrote: > On Sun, Mar 4, 2012 at 11:44 PM, Dmitry Eremin-Solenikov > wrote: >> I see an interest in an IRC meeting on the future of 802.15.4 for Linux, >> current plans of different implementors and interested

Re: [Linux-zigbee-devel] IRC meeting scheduling

2012-03-12 Thread Dmitry Eremin-Solenikov
On Mon, Mar 12, 2012 at 5:28 PM, Stefan Schmidt wrote: > Hello. > > On Thu, 2012-03-08 at 02:22, Dmitry Eremin-Solenikov wrote: >> On Sun, Mar 4, 2012 at 11:44 PM, Dmitry Eremin-Solenikov >> wrote: >> > I see an interest in an IRC meeting on the future of 802.15.4

Re: [Linux-zigbee-devel] IRC meeting scheduling

2012-03-07 Thread Dmitry Eremin-Solenikov
Guys, On Sun, Mar 4, 2012 at 11:44 PM, Dmitry Eremin-Solenikov wrote: > I see an interest in an IRC meeting on the future of 802.15.4 for Linux, > current plans of different implementors and interested people. I have registered a #linux-wpan channel on Freenode network. Please consider us

Re: [Linux-zigbee-devel] register net device during probe rather that add_iface

2012-03-06 Thread Dmitry Eremin-Solenikov
On Mon, Mar 5, 2012 at 1:39 AM, jonsm...@gmail.com wrote: > On Sun, Mar 4, 2012 at 4:08 PM, Dmitry Eremin-Solenikov > wrote: >> On Mon, Mar 5, 2012 at 1:02 AM, jonsm...@gmail.com >> wrote: >>> On Sun, Mar 4, 2012 at 3:51 PM, Dmitry Eremin-Solenikov >>> wrot

Re: [Linux-zigbee-devel] [PATCH 1/9] ieee802154: mlme reset for netlink interface

2012-03-05 Thread Dmitry Eremin-Solenikov
On 05/03/12 11:21, Felix Varghese wrote: > On 5 March 2012 00:31, Dmitry Eremin-Solenikov wrote: >> Hello, >> >> On Sun, Mar 4, 2012 at 9:05 PM, Felix Varghese wrote: >>> This is the terminology we tried to follow consistently >>> in the code. I

Re: [Linux-zigbee-devel] register net device during probe rather that add_iface

2012-03-04 Thread Dmitry Eremin-Solenikov
On Mon, Mar 5, 2012 at 1:02 AM, jonsm...@gmail.com wrote: > On Sun, Mar 4, 2012 at 3:51 PM, Dmitry Eremin-Solenikov > wrote: >> On Mon, Mar 5, 2012 at 12:47 AM, jonsm...@gmail.com >> wrote: >>> BTW, the 6lowpan support I did a long time ago was a port of the >>

Re: [Linux-zigbee-devel] register net device during probe rather that add_iface

2012-03-04 Thread Dmitry Eremin-Solenikov
On Mon, Mar 5, 2012 at 12:47 AM, jonsm...@gmail.com wrote: > BTW, the 6lowpan support I did a long time ago was a port of the > 6lowpan code out of Contiki and onto Linux. Did that code end up being > the basis for 6lowpan support in linux-zigbee? I got pulled onto > another project and lost track

[Linux-zigbee-devel] IRC meeting scheduling

2012-03-04 Thread Dmitry Eremin-Solenikov
Guys, I see an interest in an IRC meeting on the future of 802.15.4 for Linux, current plans of different implementors and interested people. I would like to invite all people interested in such meeting to fill the data in the table at https://sourceforge.net/apps/trac/linux-zigbee/wiki/IRCMeetup

Re: [Linux-zigbee-devel] [PATCH 1/9] ieee802154: mlme reset for netlink interface

2012-03-04 Thread Dmitry Eremin-Solenikov
On 04/03/12 23:19, Prajosh Premdas wrote: > On Mon, Mar 5, 2012 at 12:31 AM, Dmitry Eremin-Solenikov > wrote: >> Hello, >> >> On Sun, Mar 4, 2012 at 9:05 PM, Felix Varghese wrote: >>> On 3 March 2012 18:40, Dmitry Eremin-Solenikov wrote: >>>> Summary

Re: [Linux-zigbee-devel] register net device during probe rather that add_iface

2012-03-04 Thread Dmitry Eremin-Solenikov
John, On 04/03/12 21:38, jonsm...@gmail.com wrote: > On Sun, Mar 4, 2012 at 12:19 PM, Prajosh Premdas > wrote: >> On Sun, Mar 4, 2012 at 9:59 PM, Felix Varghese wrote: >> No. At this moment IEEE 802.15.4 does not qualify as a sane default, >> because MAC implementation is far from being

Re: [Linux-zigbee-devel] [PATCH 1/9] ieee802154: mlme reset for netlink interface

2012-03-04 Thread Dmitry Eremin-Solenikov
Hello, On Sun, Mar 4, 2012 at 9:05 PM, Felix Varghese wrote: > On 3 March 2012 18:40, Dmitry Eremin-Solenikov wrote: >> Summary on all the patchset below. >> >> Prajosh, Felix. Thanks for your work on IEEE 802.15.4 for Linux. Please >> don't find my mails as di

Re: [Linux-zigbee-devel] register net device during probe rather that add_iface

2012-03-03 Thread Dmitry Eremin-Solenikov
On Sat, Mar 3, 2012 at 10:49 PM, Mariano Alvira wrote: > On Sat, Mar 03, 2012 at 10:33:49PM +0400, Dmitry Eremin-Solenikov wrote: >> >> > >> > Most 802.15.4 transceivers in the market today provide a lot of >> > hardware acceleration, such as

Re: [Linux-zigbee-devel] register net device during probe rather that add_iface

2012-03-03 Thread Dmitry Eremin-Solenikov
Hello, On Sat, Mar 3, 2012 at 10:10 PM, Felix Varghese wrote: > On 3 March 2012 02:48, Dmitry Eremin-Solenikov wrote: >> On Fri, Mar 2, 2012 at 3:52 PM, Felix Varghese wrote: >>> Guys, I'd like to join the foray too :) >>> >>>> I'm sorry but y

Re: [Linux-zigbee-devel] [PATCH 5/9] mac802154: Header file changes for MAC PIB set/get implementation

2012-03-03 Thread Dmitry Eremin-Solenikov
On 24/02/12 13:02, Prajosh Premdas wrote: > From: Felix Varghese > > Adds structure definitions and function prototypes for implementing PIB > get and set primitives NAK. I have already commented about PIB get/set. Now about set_trx_state. If you care about direct radio access from MCU, you prob

Re: [Linux-zigbee-devel] [PATCH 1/9] ieee802154: mlme reset for netlink interface

2012-03-03 Thread Dmitry Eremin-Solenikov
copyrights. > * This program is free software; you can redistribute it and/or modify > * it under the terms of the GNU General Public License version 2 > * as published by the Free Software Foundation. > @@ -20,6 +18,8 @@ > * Sergey Lapin > * Dmitry Eremin-Solenikov > *

Re: [Linux-zigbee-devel] [PATCH 1/9] ieee802154: mlme reset for netlink interface

2012-03-03 Thread Dmitry Eremin-Solenikov
t 2007, 2008 Siemens AG > - * > * This program is free software; you can redistribute it and/or modify > * it under the terms of the GNU General Public License version 2 > * as published by the Free Software Foundation. > @@ -20,6 +18,8 @@ > * Sergey Lapin > *

Re: [Linux-zigbee-devel] [PATCH 5/9] mac802154: Header file changes for MAC PIB set/get implementation

2012-03-03 Thread Dmitry Eremin-Solenikov
On 24/02/12 13:02, Prajosh Premdas wrote: > -/* MIB callbacks */ > -void mac802154_dev_set_ieee_addr(struct net_device *dev); > +/* MLME_GET request and confirm function definitions */ > +extern int mlme_get_req(struct net_device *dev, u8 PIBattr); > +extern int internal_get_mac_pib(struct net_devi

Re: [Linux-zigbee-devel] [PATCH 2/9] ieee802154: added MAC PIB attribute ids

2012-03-03 Thread Dmitry Eremin-Solenikov
On 24/02/12 13:02, Prajosh Premdas wrote: > From: Felix Varghese > > Added #defines for MAC PIB attribute ids and default values for PIB attributes Unnecessary whitespace changes. Unused constants. Camel case. NAK. Please add constants together with code that will use them. > > Signed-off-by:

Re: [Linux-zigbee-devel] [PATCH 3/9] ieee802154: Header file changes for PIB get/set via NL

2012-03-03 Thread Dmitry Eremin-Solenikov
On 24/02/12 13:02, Prajosh Premdas wrote: > From: Felix Varghese > > Added function prototypes, structure definitions and netlink attributes for > supporting PIB get/set functionality First, why do you need PIB functionality? Except standard conformance, of course. Second, union containing all

Re: [Linux-zigbee-devel] register net device during probe rather that add_iface

2012-03-03 Thread Dmitry Eremin-Solenikov
two wpan devices". Consider retranslator example. For now the user is on his own in creating illogical combinations. > I hope you understood this problem. > > Once this is fixed i will discuss on the case#2 mlme functions like > association > > On Sat, Mar 3, 2012 at 2:

Re: [Linux-zigbee-devel] register net device during probe rather that add_iface

2012-03-02 Thread Dmitry Eremin-Solenikov
On Fri, Mar 2, 2012 at 3:52 PM, Felix Varghese wrote: > Guys, I'd like to join the foray too :) > >> I'm sorry but your suggestions make nearly no sense. The current design >> is targeted different applications and different types of interfaces which >> can be bound to each radio. > Ability to bin

Re: [Linux-zigbee-devel] register net device during probe rather that add_iface

2012-03-02 Thread Dmitry Eremin-Solenikov
Hello, On Fri, Mar 2, 2012 at 1:35 PM, Prajosh Premdas wrote: > Hi All > > I have been using the code and have been adding functionality for the mac > stack. I need certain inputs and have some doubts on the current code. I'm sorry but your suggestions make nearly no sense. The current design is

Re: [Linux-zigbee-devel] [PATCH 2/2] net/ieee802154/6lowpan.c: reuse eth_mac_addr()

2012-02-22 Thread Dmitry Eremin-Solenikov
-by: Danny Kukawka Acked-by: Dmitry Eremin-Solenikov -- With best wishes Dmitry -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing al

Re: [Linux-zigbee-devel] Zigbee-linux CC2530 implementation

2011-12-23 Thread Dmitry Eremin-Solenikov
Hello, On Wed, Dec 21, 2011 at 12:06 PM, M Pouillot wrote: > Hello all, > > > > I need to implement a 6lowpan linux driver for the CC2530 from TI. This > transceiver purposes its own serial protocol to manage its Z-MAC (embedded > 802.15.4 Mac layer).  I see Linux-Zigbee allows hardMAC (for trans

Re: [Linux-zigbee-devel] ieee802.15.4 documentation

2011-12-19 Thread Dmitry Eremin-Solenikov
Hello, On Sun, Dec 18, 2011 at 10:21 PM, Alexander Smirnov wrote: > Hi Dmitry, > > sorry that disturbing you again... I've updated documentation file in > kernel with ieee802154 details. > I've decided to attach whole file instead of patch, because I think it > looks more readable. > > Could you

Re: [Linux-zigbee-devel] [PATCH 13/13] drivers/ieee802154: IEEE 802.15.4 loopback driver

2011-12-16 Thread Dmitry Eremin-Solenikov
On Fri, Dec 16, 2011 at 7:23 PM, Alexander Smirnov wrote: > Hi, > > am I right that you suggest to leave platform device interface and > just drop sysfs interface? Yes > > Alex > > 2011/12/16 Dmitry Eremin-Solenikov : >> Hello, >> >> On Fri, Dec 16, 20

Re: [Linux-zigbee-devel] [PATCH 13/13] drivers/ieee802154: IEEE 802.15.4 loopback driver

2011-12-16 Thread Dmitry Eremin-Solenikov
* it under the terms of the GNU General Public License version 2 >> + * as published by the Free Software Foundation. >> + * >> + * This program is distributed in the hope that it will be useful, >> + * but WITHOUT ANY WARRANTY; without even the implied warranty of >>

Re: [Linux-zigbee-devel] Linux/Zigbee / 6LowPan state of the art ?

2011-12-16 Thread Dmitry Eremin-Solenikov
On Fri, Dec 16, 2011 at 6:57 PM, Alexander Smirnov wrote: > Hi, > > ohh, no. > > IIRC you need to copy just net/ieee802154/6lowpan.* from Dave Miller's > git to the same folder in zigbee-linux and fix Kconfig/Makefile. I'd say just blind copying is a bad idea. Please select 6lowpan patches that d

Re: [Linux-zigbee-devel] Evaluating ZigBee under Linux

2011-12-15 Thread Dmitry Eremin-Solenikov
On 12/14/2011 09:35 AM, Prajosh Premdas wrote: > the libnl version should be 1.1. In this particular libnl the iz tools > compile I've pushed an (compile-tested-only) port of lowpan-tools to libnl3. > > On Wed, Dec 14, 2011 at 6:08 AM, Peter Naulls > wrote: > > >

[Linux-zigbee-devel] Linux-Zigbee FAQ

2011-12-15 Thread Dmitry Eremin-Solenikov
Hello, I've put a short FAQ on this project: http://sourceforge.net/apps/trac/linux-zigbee/wiki/FAQ Could you please review it? All additions and corrections are welcome and very appreciated! -- With best wishes Dmitry ---

Re: [Linux-zigbee-devel] [PATCH series] IEEE802.15.4 basic MAC support

2011-12-15 Thread Dmitry Eremin-Solenikov
Hi, Alexander, On Wed, Dec 14, 2011 at 2:41 PM, Alexander Smirnov wrote: > Hi Dmitry, > > could you please review the following patch series. Currently I haven't > tested it on a board, I'm on vacation and have no HW near me, but will do > it soon. After testing I'd like to send this stuff to net

Re: [Linux-zigbee-devel] [MAC802154] DRAFT: IEEE 802.15.4 MAC layer basic implementation

2011-11-30 Thread Dmitry Eremin-Solenikov
Hello, On Wed, Nov 30, 2011 at 8:54 PM, Alexander Smirnov wrote: > 2011/11/30 Dmitry Eremin-Solenikov : >> On Wed, Nov 30, 2011 at 6:18 PM, Alexander Smirnov >> wrote: >> >> [skipped] >> >>> This stack has working implementation in 'linux-zigbee.

Re: [Linux-zigbee-devel] [PATCH 07/12] [IEEE802154] ieee802154: define simplified mlme interface

2011-11-30 Thread Dmitry Eremin-Solenikov
On Wed, Nov 30, 2011 at 6:25 PM, Alexander Smirnov wrote: > Define light-weight mlme interface. Could you please elaborate, why it is necessary? I created it for the sub-devices which didn't have full IEEE 802.15.4 MLME (like monitoring devices, SMAC or MiWi, or other proprietary protocols), but

Re: [Linux-zigbee-devel] [MAC802154] DRAFT: IEEE 802.15.4 MAC layer basic implementation

2011-11-30 Thread Dmitry Eremin-Solenikov
Hello colleagues, On Wed, Nov 30, 2011 at 6:18 PM, Alexander Smirnov wrote: [skipped] > This stack has working implementation in 'linux-zigbee.sourceforge.net' > project, but unfortunately all the development was freezed according to > unknown issue and it hasn't been merged to mailnline. > > C

Re: [Linux-zigbee-devel] [PATCH 06/12] [MAC802154] mac802154: MIB support

2011-11-30 Thread Dmitry Eremin-Solenikov
Hello, On Wed, Nov 30, 2011 at 6:25 PM, Alexander Smirnov wrote: > Support for IEEE 802.15.4 management information base, > routine like setting of HW address, PAN id, channel etc... > > Signed-off-by: Alexander Smirnov > --- >  include/linux/if.h        |    3 + >  net/mac802154/Makefile    |  

Re: [Linux-zigbee-devel] [PATCH 04/12] [MAC802154] mac802154: TX data path

2011-11-30 Thread Dmitry Eremin-Solenikov
Hello, On Wed, Nov 30, 2011 at 6:23 PM, Alexander Smirnov wrote: > Main TX data path implementation between upper and physical layers. > > Signed-off-by: Alexander Smirnov > --- >  net/mac802154/Makefile         |    2 +- >  net/mac802154/ieee802154_dev.c |    3 +- >  net/mac802154/tx.c        

Re: [Linux-zigbee-devel] [PATCH series][6LoWPAN][net-next]

2011-11-28 Thread Dmitry Eremin-Solenikov
Hello, colleagues, On Fri, Nov 25, 2011 at 2:46 PM, Anders Darander wrote: > On Thu, Nov 10, 2011 at 18:32, Alexander Smirnov > wrote: >> Hello all, >> >> The following patch series adds both major feature and minor fixes. >> Please find detailed description in each of the patches. >> >> Just to

[Linux-zigbee-devel] Z-Monitor

2011-11-11 Thread Dmitry Eremin-Solenikov
Hello, colleagues, I've stumbled upon the Z-Monitor http://www.z-monitor.org/ software (thanks to Akiba's blog). Does anybody have an experience with it? What do you think? -- With best wishes Dmitry -- RSA(R) Conferen

Re: [Linux-zigbee-devel] [PATCH 2/6] [6LoWPAN] disable debugging by default

2011-11-08 Thread Dmitry Eremin-Solenikov
On 11/2/11, Alexander Smirnov wrote: > This patch disables debug output enabled by default. > > Signed-off-by: Alexander Smirnov Acked-by: Dmitry Eremin-Solenikov -- With best wishes Dmitry -- RSA(R) Confer

Re: [Linux-zigbee-devel] [PATCH 3/6] [6LoWPAN] set proper netdev flags

2011-11-08 Thread Dmitry Eremin-Solenikov
On 11/2/11, Alexander Smirnov wrote: > This patch fixes settings for device initialization which makes possible to > use NDISC and TCP. > > Signed-off-by: Alexander Smirnov Acked-by: Dmitry Eremin-Solenikov -- With best w

Re: [Linux-zigbee-devel] [PATCH 4/6] [6LoWPAN] UDP header compression

2011-11-08 Thread Dmitry Eremin-Solenikov
On 11/2/11, Alexander Smirnov wrote: > This patch adds support for UDP header compression. > Derived from Contiki OS. >From my point of view, this code would also benefit from being refactored to a separate function. > > Signed-off-by: Alexander Smirnov > --- > net/ieee802154/6lowpan.c | 51

Re: [Linux-zigbee-devel] [PATCH 5/6] [6LoWPAN] UDP header decompression

2011-11-08 Thread Dmitry Eremin-Solenikov
On 11/2/11, Alexander Smirnov wrote: > This patch provides possibility to decompress UDP headers. > Derived from Contiki OS. This asks to go to a separate function. > > Signed-off-by: Alexander Smirnov > --- > net/ieee802154/6lowpan.c | 50 > +- >

Re: [Linux-zigbee-devel] [PATCH 6/6] [6LoWPAN] update documentation

2011-11-08 Thread Dmitry Eremin-Solenikov
On 11/2/11, Alexander Smirnov wrote: > This patch adds chapter to documentation which describes how to use > 6lowpan technology. > > Signed-off-by: Alexander Smirnov > --- > Documentation/networking/ieee802154.txt | 26 ++ > 1 files changed, 26 insertions(+), 0 deletion

Re: [Linux-zigbee-devel] [PATCH 3/3] [6LoWPAN] update documentation

2011-11-01 Thread Dmitry Eremin-Solenikov
On 10/27/2011 07:44 PM, Alexander Smirnov wrote: > This patch adds chapter to documentation whic describes how to use > 6lowpan technology. > > Signed-off-by: Alexander Smirnov Acked-by: Dmitry Eremin-Solenikov -- With best w

Re: [Linux-zigbee-devel] [PATCH 2/3] [6LoWPAN] add UDP header support

2011-11-01 Thread Dmitry Eremin-Solenikov
On 10/27/2011 07:42 PM, Alexander Smirnov wrote: > This patch adds support for compression/decompression of UDP header > of ipv6 datagram. Could you please try to prepare a separate patch, containing a split of lowpan_header_create and lowpan_process_data functions into pieces, where each part w

Re: [Linux-zigbee-devel] [PATCH 1/3] [6LoWPAN]: add support for fragmentation in 6lowpan networks.

2011-11-01 Thread Dmitry Eremin-Solenikov
Hello, Patches are mostly ok with me. On 10/27/2011 07:40 PM, Alexander Smirnov wrote: > This patch adds support for fragmentation. Now there are no > limitations on packet size. Currently fragments are identified > by tag only. > > Signed-off-by: Alexander Smirnov > --- > include/net/ieee80215

Re: [Linux-zigbee-devel] [6LoWPAN] patch series

2011-10-28 Thread Dmitry Eremin-Solenikov
Hi Alexander On 10/27/11, Alexander Smirnov wrote: > Hi Dmitry, > > please drop patches I sent to list 2 days ago. There were problems > with locking on fragments receive site. > > Could you please review the following patches only. > > P.S. And also please let me know if you can't do it in next

Re: [Linux-zigbee-devel] [IEEE802.15.4][6LoWPAN] draft for fragmentation support

2011-10-20 Thread Dmitry Eremin-Solenikov
On 10/20/2011 03:17 PM, Alexander Smirnov wrote: > Hello everybody, > > below is the patch which adds support for fragmentation in 6LoWPAN Thanks for the patch! > point to point networks. This activity needs because of difference > in MTU: 1280 ipv6 and 128 ieee802.15.4 127. > > This pat

Re: [Linux-zigbee-devel] [IEEE802.15.4][6LoWPAN] draft for fragmentation support

2011-10-20 Thread Dmitry Eremin-Solenikov
Hi, Alexander, colleagues, On 10/20/2011 04:50 PM, Alexander Smirnov wrote: > Hi Eric, > > thank you for the replies. And another question I forgot to ask: > > when I send fragments, I still have original skb buffer. What should I > do with it, is there any > "proper/good" ways to drop it? Because

Re: [Linux-zigbee-devel] [PATCH] Base support for 6LoWPAN implementation

2011-07-13 Thread Dmitry Eremin-Solenikov
Hello, On 05.07.2011 20:44, Alexander Smirnov wrote: > This patch provides base support for transmission of IPv6 packets as > well as the formation of IPv6 link-local addresses and statelessly > autoconfigured addresses on top of IEEE 802.15.4 networks. > > For more information please look at the

Re: [Linux-zigbee-devel] HW compatibility: XBP24-ASI-001J

2011-07-12 Thread Dmitry Eremin-Solenikov
Hello, On 7/11/11, Christian Gagneraud wrote: > Hi there, > > I know this module (Xbee-pro) is not on the list of compatible hardware > (on the wiki), but maybe other people are looking/have looked at it. > So I would like to know if this module is/will/might be compatible with > linux-zigbee. I

Re: [Linux-zigbee-devel] problem with izattach

2011-07-05 Thread Dmitry Eremin-Solenikov
error("ioctl: TIOCSETD"); > return 6; > } > > > > On Mon, Jul 4, 2011 at 6:59 AM, Dmitry Eremin-Solenikov > wrote: >> Hello, >> >> Ryan MacArthur wrote: >> >>> when i do izattach on /dev/ttyUSB1 (on a redbee e

Re: [Linux-zigbee-devel] problem with izattach

2011-07-04 Thread Dmitry Eremin-Solenikov
Hello, Ryan MacArthur wrote: > when i do izattach on /dev/ttyUSB1 (on a redbee econotag) i get this: > > ioctl:TIOCSETD: Invalid Argument Please check if the same error persists with the zigbee userpace git I've pushed several minutes ago. > > from your git I'm using: > > /linux-zigbee/kernel (

Re: [Linux-zigbee-devel] [PATCH] IPV6 compression over IEEE 802.15.4

2011-06-30 Thread Dmitry Eremin-Solenikov
Alexander Smirnov wrote: Global comments: 1) ./scripts/checkpatch.pl and sparse (make ... C=1) are your friends. 2) Please use single namespace. I see names w/o any prefix, names prefixed with uip, names prefixed with lowpan, etc. Please unify this. > This patch adds basic support for 6lowpan. P

Re: [Linux-zigbee-devel] [PATCH] at86rf230: check PHR of inbound packets and make sure frame fits into skb

2011-06-25 Thread Dmitry Eremin-Solenikov
On 6/25/11, Werner Almesberger wrote: > Dmitry Eremin-Solenikov wrote: >> Again, have you seen the problem with PHR in wild, or is just smart >> thought? > > Yes, I've seen it in real life, usually in the presence of background > WLAN traffic. The following thr

Re: [Linux-zigbee-devel] [PATCH] at86rf230: check PHR of inbound packets and make sure frame fits into skb

2011-06-25 Thread Dmitry Eremin-Solenikov
Hello, Werner, On 6/25/11, Werner Almesberger wrote: > The driver used PHR as the frame length without checking its format > or compatibility with the skb length. This patch adds a test to > reject invalid PHR values (MSB set) and it also rejects frames too > big to fit into the skb (which should

Re: [Linux-zigbee-devel] CC2420 driver fixes

2011-06-24 Thread Dmitry Eremin-Solenikov
On 24.06.2011 13:15, Stefan Schmidt wrote: > Hello. > > On Fri, 2011-06-24 at 12:31, Dmitry Eremin-Solenikov wrote: >> On 6/18/11, Stefan Schmidt wrote: >>> >>> As promised here are some fixes for the cc2420 driver. >>> >>> [PATCH 1/4] i

Re: [Linux-zigbee-devel] CC2420 driver fixes

2011-06-24 Thread Dmitry Eremin-Solenikov
On 6/18/11, Stefan Schmidt wrote: > Hello. > > As promised here are some fixes for the cc2420 driver. > > [PATCH 1/4] ieee802154/cc2420: Check for FCS bit and skip frames > > I don't think it makes sense to push any frmaes into the stack that have a > known > failed CRC check. > > [PATCH 2/4] ieee

Re: [Linux-zigbee-devel] [PATCH 2/2] at86rf230: initialize unused buffers in struct spi_transfer to NULL

2011-06-24 Thread Dmitry Eremin-Solenikov
Hello, On 6/24/11, Werner Almesberger wrote: > In unidirectional SPI transfer structures, only tx_buf or rx_buf > was initialized, leaving the other buffer undefined. This patch > initializes the unused buffer pointers to NULL. Are you sure about this? Becasue IIRC the C standard, in partial str

Re: [Linux-zigbee-devel] patchwork for this list

2011-06-21 Thread Dmitry Eremin-Solenikov
Hello, On 6/20/11, Stefan Schmidt wrote: > Hello. > > On Mon, 2011-06-20 at 17:50, Stefan Schmidt wrote: >> >> On Mon, 2011-06-20 at 19:27, Dmitry Eremin-Solenikov wrote: >> > >> > To ease somehow patch-related tasks, I've installed patchwork

Re: [Linux-zigbee-devel] [PATCH 1/4] at86rf230: fix compilation glitch in at86rf230_start

2011-06-21 Thread Dmitry Eremin-Solenikov
Werner Almesberger wrote: > at86rf230_start now directly accesses a register but didn't obtain > the "lp" pointer. > > Signed-off-by: Werner Almesberger Thanks, applied. -- With best wishes Dmitry -- EditLive Enter

  1   2   3   >