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

2014-06-29 Thread Alexander Smirnov
2014-06-29 21:03 GMT+04:00 Alexander Aring : > On Sun, Jun 29, 2014 at 07:00:32PM +0400, Alexander Smirnov wrote: > > Hi, > > > > > > > > Dmitry, can you please take a look into this or give me access to the > > > sourceforge project site?

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

2014-01-24 Thread Alexander Smirnov
2014/1/24 Christophe Aeschlimann > Hi, > > Le 24.01.2014 05:16, Varka Bhadram a écrit : > > hai... > > IEEE-802.15.4 devices that are there in the market right now are softmac > > devices ex: cc2420,cc2520. So it can only detect whether the channel is > > free or not. For example in case of cc252

Re: [Linux-zigbee-devel] [PATCH net-next 5/5] 6lowpan: remove unecessary break

2013-10-25 Thread Alexander Smirnov
> > > diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c >>> index e15b101..09350f1 100644 >>> --- a/net/ieee802154/6lowpan.c >>> +++ b/net/ieee802154/6lowpan.c >>> @@ -440,7 +440,6 @@ lowpan_uncompress_udp_header(**struct sk_buff *skb, >>> struct udphdr *uh) >>> default: >>>

Re: [Linux-zigbee-devel] [PATCH net-next 5/5] 6lowpan: remove unecessary break

2013-10-24 Thread Alexander Smirnov
> 25 окт. 2013 г., в 0:51, Alexander Aring написал(а): > > Signed-off-by: Alexander Aring > Reviewed-by: Werner Almesberger > --- > net/ieee802154/6lowpan.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c > index e15b101..09350f1 1006

Re: [Linux-zigbee-devel] ieee.802.15.4 devices

2013-09-23 Thread Alexander Smirnov
You are a member of this list for a long time and you've already seen how other engineers sent their patches (Alexander sent series several weeks ago). I really don't know what do you want from the community if you don't want to follow the rules. I would highly recommend you to start with git-s

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

2013-08-30 Thread Alexander Smirnov
Dear Tamas, Linux-zigbee is not a commercial project, no one pays to developers for their work. There are a couple of enthusiastic engineers who keep project alive by contributing (many thanks to they). But I doubt if somebody has clear development product plan. I guess there is only one reason w

Re: [Linux-zigbee-devel] [PATCH net-next 3/6] 6lowpan: introduce lowpan_fetch_skb function

2013-08-14 Thread Alexander Smirnov
On 08/14/2013 03:49 PM, Hannes Frederic Sowa wrote: > On Wed, Aug 14, 2013 at 01:01:45PM +0200, Alexander Aring wrote: >> This patch adds a helper function to parse the ipv6 header to a >> 6lowpan header in stream. >> >> This function checks first if we can pull data with a specific >> length from

Re: [Linux-zigbee-devel] [PATCHv2 net-next 0/6] 6lowpan: uncompress of addresses fix

2013-08-14 Thread Alexander Smirnov
On 08/14/2013 03:01 PM, Alexander Aring wrote: > The current implementation to uncompress addresses in a 6lowpan header > is completely broken. > > This patch series fixes the parsing of addresses in a 6lowpan header. > It contains a major rewrite of the uncompress address function to parse > the a

Re: [Linux-zigbee-devel] [PATCHv2 0/7] address uncompression fix

2013-08-09 Thread Alexander Smirnov
2013/8/9 Alexander Aring > Version 2 of "address uncompress fix" series. > Please review. > > v2: > - add patch "add function to uncompress multicast addr" > - fix length check in uncompression address functions > - handle error handling after branch in patch >"handle context based source

Re: [Linux-zigbee-devel] [PATCHv6 00/14] minor fixes

2013-07-25 Thread Alexander Smirnov
This series looks too much extended. The big part of patches really make no sense, why can't you fix all comment-related in one patch, all bit-handling in another, what's the idea to break this stuff in lots of small patches? 6lowpan is just one file in the kernel, and you are going to apply 14 pat

[Linux-zigbee-devel] Federated Conference On Computer Science And Information Systems

2013-05-20 Thread Alexander Smirnov
Dear Alan, due to you are a WSN expert, you probably will be interested in the following event: http://fedcsis.org/ Even if it's not interesting for you, could you please share this with your WSN contacts. Thank you, Alex --

Re: [Linux-zigbee-devel] [PATCH 6/6] 6lowpan: return the dev_queue_xmit() return value from lowpan_xmit()

2013-04-02 Thread Alexander Smirnov
2013/4/2 Alan Ott > dev_queue_xmit() will return a positive value if the packet could not be > queued, often because the real network device (in our case the mac802154 > wpan device) has its queue stopped. lowpan_xmit() should return that value > to the higher layer so the higher layer will retr

Re: [Linux-zigbee-devel] [PATCH 5/6] 6lowpan: handle dev_queue_xmit error code properly

2013-04-02 Thread Alexander Smirnov
2013/4/2 Alan Ott > dev_queue_xmit() can return positive error codes, so check for nonzero. > > Signed-off-by: Alan Ott > --- > net/ieee802154/6lowpan.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c > index e1b4580..

Re: [Linux-zigbee-devel] [PATCH 1/6] mac802154: Immediately retry sending failed packets

2013-04-02 Thread Alexander Smirnov
2013/4/2 Alan Ott > When ops->xmit() fails, immediately retry. Previously the packet was sent > to the back of the workqueue. > > Signed-off-by: Alan Ott > --- > net/mac802154/tx.c | 17 - > 1 file changed, 8 insertions(+), 9 deletions(-) > > diff --git a/net/mac802154/tx.c b/ne

Re: [Linux-zigbee-devel] [PATCH] ieee802154: pass destination address in dgram_sendmsg

2013-03-13 Thread Alexander Smirnov
Dear Wolf-Bastian, if you have several patches for the same topic - please send them once in one patch-set, do not annoy other developers by updating their mailbox once per 15 minutes. Alex 2013/3/13 Wolf-Bastian Pöttner : > This patch lets dgram_sendmsg determine the destination address > based

Re: [Linux-zigbee-devel] Where to pull latest source and patches.

2013-03-10 Thread Alexander Smirnov
Hi, Sent from iPhone 11.03.2013, в 2:53, Randy Graham написал(а): > Hello, > > I am new to 6lowpan and the list, so please forgive the rookie questions. You are welcome! > > Where do I download the latest source and patches ? Since last year all the changes/patches are sent directly to mainli

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

2012-10-24 Thread Alexander Smirnov
Hi, 2012/10/23 Tony Cheneau : > Hello, > > This patch serie fixes a few bugs within the 6lowpan modules and prepares the > integration of the serial driver that will be submitted in a subsequent patch > serie. > It should apply cleanly on the latest net-next. 1. The series is quite huge what mak

Re: [Linux-zigbee-devel] [PATCH v7 1/1] ieee802154: MRF24J40 driver

2012-09-05 Thread Alexander Smirnov
Dear colleagues, 2012/9/4 David Miller : > From: Alan Ott > Date: Sun, 2 Sep 2012 21:44:13 -0400 > >> Driver for the Microchip MRF24J40 802.15.4 WPAN module. I wan on vacation so had no possibility to review the code. Alan, thank you for the contribution! >> >> Signed-off-by: Alan Ott > > App

Re: [Linux-zigbee-devel] [PATCH] drivers/ieee802154/at231rf230: use module_spi_driver

2012-08-26 Thread Alexander Smirnov
Hi, thank you for the patch! For the future, please send such fixes to vanilla like I've done it now and add me in Cc. With best regards, Alex 2012/8/23 Devendra Naga : > the code under _init and _exit functions is similar to the > code of module_spi_driver macro, which is a wrapper to the modul

Re: [Linux-zigbee-devel] 802.15.4 Issues

2012-08-02 Thread Alexander Smirnov
> On 07/31/2012 12:04 PM, Alan Ott wrote: >> I'm trying to follow the directions at linux-wsn[1] and am not having >> much luck. Since I don't have the at91sam9g20ek board, I'm trying this >> on my desktop PC with an Econotag[2] (using the serial.c driver I pulled >> from [3]) and on a BeagleBone w

Re: [Linux-zigbee-devel] Getting started with the linux zigbee stack

2012-07-28 Thread Alexander Smirnov
Hi Christian, 27.07.2012, в 15:26, Christian Groeger написал(а): > Hi everyone, > > what do I need to do to get the IEEE802.15.4 and 6LoWPAN stack working on my > computer? I built the net-next kernel [1] with all the drivers compiled as > modules and the linux-zigbee userspace tools [2]. > E

Re: [Linux-zigbee-devel] Fwd: [PATCH v2 net-next 0/7] mac802154: basic wpan class-device support

2012-07-06 Thread Alexander Smirnov
Hi, > This is great news. Now that the driver infrastructure has been > committed, what are the next steps? I ask because I feel like there's > something about this community that I'm missing. Maybe the answers to > the following questions will help me understand: > > 1. Where is the repo that you

[Linux-zigbee-devel] Fwd: [PATCH v2 net-next 0/7] mac802154: basic wpan class-device support

2012-06-29 Thread Alexander Smirnov
Hi all, just FYI -- Forwarded message -- From: David Miller Date: 2012/6/27 Subject: Re: [PATCH v2 net-next 0/7] mac802154: basic wpan class-device support To: alex.bluesman.smir...@gmail.com Копия: net...@vger.kernel.org, dbarysh...@gmail.com From: Alexander Smirnov Date

Re: [Linux-zigbee-devel] [patch -next] 6lowpan: double unlock on an error path

2012-06-26 Thread Alexander Smirnov
                 if (lowpan_fetch_skb_u8(skb, &iphc0)) > -                               goto unlock_and_drop; > +                               goto drop; > >                        break; >                } Acked-by: Alexander Smirnov --

Re: [Linux-zigbee-devel] [PATCH v3] ieee802154: MRF24J40 driver

2012-06-17 Thread Alexander Smirnov
Hi Alan, just one comment at the moment: >>> +               dev_err(printdev(devrec), >>> +                       "SPI write Failed for short register 0x%hhx\n", >>> reg); >>> +               goto out; >> Hmmm, what does this goto mean? > > I could change the "out" labels if you prefer. Some ot

Re: [Linux-zigbee-devel] [PATCH v3] ieee802154: MRF24J40 driver

2012-06-14 Thread Alexander Smirnov
Hi, just several trivial notes: 2012/6/14 Alan Ott : > Driver for the Microchip MRF24J40 802.15.4 WPAN module. > > --- > > Changes in v3: >  changed MAX_SPEED logic. >  change all __u8 and __u16 to u8 and u16 >  make read_short_reg() return status and take value pointer as parameter. >  change re

Re: [Linux-zigbee-devel] [PATCH net-next 4/4] 6lowpan: len field is not stored and accessed properly

2012-06-12 Thread Alexander Smirnov
2012/6/11 Tony Cheneau : > Lenght field should be encoded (and accessed) the other way around. > As it is currently written, it could lead to interroperability issues. What kind of "interroperability issues" can occur? Please describe it in details, I can't read your mind. And again, can these pro

Re: [Linux-zigbee-devel] [PATCH net-next 3/4] 6lowpan: the two bytes of u16 tag needs to be stored/accessed the other way around

2012-06-12 Thread Alexander Smirnov
2012/6/11 Tony Cheneau : > Or else, tag values, as displayed with a trafic analyser, such a > Wireshark, are not properly displayed (e.g. 0x01 00 insted of 0x00 01, > and so on). --- >  net/ieee802154/6lowpan.c |    6 +++--- >  1 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/net/i

Re: [Linux-zigbee-devel] Bugfixes for 6lowpan

2012-06-06 Thread Alexander Smirnov
Hi Tony, your contribution is really significant, thanks for that. If you are going to continue working on 6lowpan for Linux, I want you to read (if you haven't done it yet) about netdev linux mail list. That's the main gateway for all the patches related to network topic. If you need some more d

Re: [Linux-zigbee-devel] Bug in 6lowpan 16-bit short address detection code

2012-05-21 Thread Alexander Smirnov
Hi Tony, thanks for your next finding! Unfortunately currently I'm sick, please give me a couple of days to get well and I'll test/check your patch. With best regards, Alexander 2012/5/21 Tony Cheneau : > Hello, > > Last week, I was analyzing some 6lowpan packet with Wireshark and got > notifie

[Linux-zigbee-devel] Fwd: [PATCH net-next v5 0/13] basic ieee802.15.4 mac support

2012-05-17 Thread Alexander Smirnov
From: Alexander Smirnov Date: Wed, 16 May 2012 10:50:18 +0400 > This is the 5-th version of patch series for IEEE 802.15.4 Medium Access > Control layer support. > > Changes since the last post: >  - All the comments were polished to the same style >  - Some new extra commen

[Linux-zigbee-devel] 6lowpan Contiki fixes

2012-05-14 Thread Alexander Smirnov
Hi Jon, I want to sync Linux 6lowpan implementation with Contiki one, so how can I derive latest 6lowpan fixes? Do you have any tracking system or may be just a list with bugs were fixed? Or 'git log' must be my favorite tool? :-) Thanks, Alex ---

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

2012-05-12 Thread Alexander Smirnov
Hi Tony, 2012/4/28 Tony Cheneau : > Hello, > > I believe the following patch should not have been applied and should > now be reverted. > The reason is because eth_mac_addr() is not functionally equivalent to > lowpan_set_address() that it replaces: > - lowpan_set_address() copies dev->addr_len by

Re: [Linux-zigbee-devel] Bug when setting the hop limit in 6lowpan.c

2012-04-27 Thread Alexander Smirnov
Hi Tony, 27 апреля 2012 г. 1:46 пользователь Tony Cheneau написал: > Hello, > > I'm reading the 6lowpan.c file and I find the following code very odd. > I believe a bug lies in it. I cannot test at the moment because the > serial driver I plan on using does not work with the 6lowpan stack. > > In

[Linux-zigbee-devel] [PATCH net-next 1/2] 6lowpan: move frame allocation code to a separate function

2012-04-26 Thread Alexander Smirnov
Separate frame allocation routine from data processing function. This makes code more human readable and easier for understanding. Signed-off-by: Alexander Smirnov --- net/ieee802154/6lowpan.c | 81 +++--- 1 files changed, 48 insertions(+), 33 deletions

[Linux-zigbee-devel] [PATCH net-next 2/2] 6lowpan: duplicate definition of IEEE802154_ALEN

2012-04-26 Thread Alexander Smirnov
The same macros is defined in 'include/net/af_ieee802154.h' and is called IEEE802154_ADDR_LEN. No need another one, so remove it. Signed-off-by: Alexander Smirnov --- net/ieee802154/6lowpan.c |4 ++-- net/ieee802154/6lowpan.h |3 --- 2 files changed, 2 insertions(+), 5

[Linux-zigbee-devel] [PATCH net-next 0/2][6lowpan] code improvements and refactorings

2012-04-26 Thread Alexander Smirnov
dev ..BRANCH.NOT.VERIFIED.. Alexander Smirnov (2): 6lowpan: move frame allocation code to a separate function 6lowpan: duplicate definition of IEEE802154_ALEN net/ieee802154/6lowpan.c | 85 +++--- net/ieee802154/6lowpan.h |3 -- 2 files changed,

[Linux-zigbee-devel] [PATCH net 1/3] 6lowpan: fix segmentation fault caused by mlme request

2012-04-26 Thread Alexander Smirnov
Add nescesary mlme callbacks to satisfy "iz list" request from user space. Due to 6lowpan device doesn't have its own phy, mlme implemented as a pipe to a real phy to which 6lowpan is attached. Signed-off-by: Alexander Smirnov --- net/ieee802154/6lowpan.c | 25 +

[Linux-zigbee-devel] [PATCH net 2/3] 6lowpan: clean up fragments list if module unloaded

2012-04-26 Thread Alexander Smirnov
Clean all the pending fragments and relative timers if 6lowpan link is going to be deleted. Signed-off-by: Alexander Smirnov --- net/ieee802154/6lowpan.c | 13 +++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c

[Linux-zigbee-devel] [PATCH net 0/3][6lowpan] fixes for 6lowpan

2012-04-26 Thread Alexander Smirnov
:03 -0400) are available in the git repository at: 6lowpan_dev ..BRANCH.NOT.VERIFIED.. Alexander Smirnov (3): 6lowpan: fix segmentation fault caused by mlme request 6lowpan: clean up fragments list if module unloaded 6lowpan: add missing spin_lock_init() net/ieee802154/6lowpa

[Linux-zigbee-devel] [PATCH net 3/3] 6lowpan: add missing spin_lock_init()

2012-04-26 Thread Alexander Smirnov
Add missing spin_lock_init() for frames list lock. Signed-off-by: Alexander Smirnov --- net/ieee802154/6lowpan.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c index a21ca6e..b570dbf 100644 --- a/net/ieee802154

[Linux-zigbee-devel] [PATCH 1/5] 6lowpan: fix segmentation fault caused by mlme request

2012-04-24 Thread Alexander Smirnov
Add nescesary mlme callbacks to satisfy "iz list" request from user space. Due to 6lowpan device doesn't have its own phy, mlme implemented as a pipe to real phy to which 6lowpan is attached. Signed-off-by: Alexander Smirnov --- net/ieee802154/6lowpan.c | 25 +++

[Linux-zigbee-devel] [PATCH 5/5] 6lowpan: add missing spin_lock_init()

2012-04-24 Thread Alexander Smirnov
Add missing spin_lock_init() for frames list lock. Signed-off-by: Alexander Smirnov --- net/ieee802154/6lowpan.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c index 8c1d212..32eb417 100644 --- a/net/ieee802154

[Linux-zigbee-devel] [PATCH 2/5] 6lowpan: move frame allocation code to a separate function

2012-04-24 Thread Alexander Smirnov
Separate frame allocation routine from data processing function. This makes code more human readable and easier to understand. Signed-off-by: Alexander Smirnov --- net/ieee802154/6lowpan.c | 81 +++--- 1 files changed, 48 insertions(+), 33 deletions

[Linux-zigbee-devel] [PATCH 4/5] 6lowpan: duplicate definition of IEEE802154_ALEN

2012-04-24 Thread Alexander Smirnov
The same macros is defined in 'include/net/af_ieee802154.h' and is called IEEE802154_ADDR_LEN. No need another one, so remove it. Signed-off-by: Alexander Smirnov --- net/ieee802154/6lowpan.c |4 ++-- net/ieee802154/6lowpan.h |3 --- 2 files changed, 2 insertions(+), 5

[Linux-zigbee-devel] [PATCH 3/5] 6lowpan: clean up fragments list if module unloaded

2012-04-24 Thread Alexander Smirnov
Clean all the pending fragments and timers if 6lowpan link is going to be deleted. Signed-off-by: Alexander Smirnov --- net/ieee802154/6lowpan.c | 13 +++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6lowpan.c index

[Linux-zigbee-devel] [PATCH 0/5][6lowpan] several fixes for 6lowpan

2012-04-24 Thread Alexander Smirnov
git repository at: git://local ..BRANCH.NOT.VERIFIED.. Alexander Smirnov (5): 6lowpan: fix segmentation fault caused by mlme request 6lowpan: move frame allocation code to a separate function 6lowpan: clean up fragments list if module unloaded 6lowpan: duplicate definition

Re: [Linux-zigbee-devel] iz list command not working correctly when a lowpan0 interface exists

2012-04-23 Thread Alexander Smirnov
Hi Tony, Thanks for your findings. I know this problem since last year. The reason is that 6lowpan device has 802154 type, but have no mlme implementation. So get_phy tries to execute undefined methods. The patch is ready, will send it to mainline this week with other fixes. Alex Отправлено

Re: [Linux-zigbee-devel] 6lowpan in Ethernet packets

2012-04-09 Thread Alexander Smirnov
еля 2012 г. 23:41 пользователь jonsm...@gmail.com написал: > On Mon, Apr 9, 2012 at 3:36 PM, Alexander Smirnov > wrote: >> Hi Jon, >> >> do you mean to send 6lowpan packets over Ethernet? > > Yes.  If it is simple to hook up it would provide an easy testbed for > pe

Re: [Linux-zigbee-devel] 6lowpan in Ethernet packets

2012-04-09 Thread Alexander Smirnov
Hi Jon, do you mean to send 6lowpan packets over Ethernet? Alex 2012/4/9, jonsm...@gmail.com : > Is there some simple way to hook the 6lowpan code up to the Ethernet > interface (private Ethertype maybe)? That would make an easy way to > test things on multiple machines (or VMs) without needing

Re: [Linux-zigbee-devel] [SPAM] Status of the 6LoWPAN module in the zigbee-linux kernel tree (devel branch)

2012-04-09 Thread Alexander Smirnov
Hi Tony, First of all I'm not sure that the 6LowPAN fully merged to linux-zigbee tree due to I worked with mainline kernel, so it may be a point. Moreover, have you red about 6lowpan in kernel documentation (Documentation folder in sources)? Here I put some notes how to bring up ipv6 interface.

Re: [Linux-zigbee-devel] 6lowpan code and Contiki source

2012-03-24 Thread Alexander Smirnov
Hi Jon, First of all thank you a lot for the hint! I'll take a look to the 6lowpan code in Contiki. With best regards, Alex пятница, 23 марта 2012 г. пользователь jonsm...@gmail.com < jonsm...@gmail.com> писал: > Is anyone watching the Contiki 6lowpan source for bug patches to the > 6lowpan code

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

2012-03-08 Thread Alexander Smirnov
Hi Jon, 5 марта 2012 г. 0:51 пользователь 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 fo

Re: [Linux-zigbee-devel] Hard MAC implementations

2012-03-04 Thread Alexander Smirnov
Hi Jon, It's definitely a good idea, but unfortunately I do not have appropriate hardware in my lab. :-( Witj best regards, Alexander Smirnov 4 марта 2012 г. 20:43 пользователь jonsm...@gmail.com написал: > Has anyone tried a doing a hard MAC implementation? A lot of people > h

[Linux-zigbee-devel] [PATCH 02/13] mac802154: allocation of ieee802154 device

2012-02-28 Thread Alexander Smirnov
Add interface for device drivers to allocate and register ieee802154 compatible device. This code is based on net/mac80211/main.c file Signed-off-by: Alexander Smirnov --- include/net/mac802154.h|6 ++ net/Kconfig|1 + net/Makefile |1

[Linux-zigbee-devel] [PATCH 09/13] ieee802154: interface type to be added

2012-02-28 Thread Alexander Smirnov
This stack implementation supports several types of slaves interfaces. Another parameter to 'add_iface_ function is added to clarify the interface type is going to be registered. Signed-off-by: Alexander Smirnov --- include/linux/nl802154.h |6 ++ include/net/wpan-phy.h |2 +-

[Linux-zigbee-devel] [PATCH 0/13 v3] basic IEEE 802.15.4 MAC support

2012-02-28 Thread Alexander Smirnov
life simple in checking device type scope (i.e. check that value obtained is correct device type). So, could you please review the following patches? With best regards, Alexander Smirnov -- The IEEE 802.15.4 Working Group focuses on the standardization of the bottom two layers of ISO/OSI

[Linux-zigbee-devel] [PATCH 07/13] mac802154: declare reduced mlme operations

2012-02-28 Thread Alexander Smirnov
Declare set of reduced MAC-commands interface. Signed-off-by: Alexander Smirnov --- net/mac802154/Makefile|2 +- net/mac802154/mac802154.h |2 ++ net/mac802154/mac_cmd.c | 44 3 files changed, 47 insertions(+), 1 deletions(-) create

[Linux-zigbee-devel] [PATCH 04/13] mac802154: TX data path

2012-02-28 Thread Alexander Smirnov
Main TX data path implementation between upper and physical layers. Signed-off-by: Alexander Smirnov --- net/mac802154/Makefile|2 +- net/mac802154/mac802154.h |5 ++ net/mac802154/tx.c| 113 + 3 files changed, 119 insertions

[Linux-zigbee-devel] [PATCH 01/13] mac802154: basic ieee802.15.4 device structures

2012-02-28 Thread Alexander Smirnov
commit which describes main data structures needed for ieee802.15.4 compatible devices representation in MAC layer and callbacks that the driver may, or in some cases, must handle, for example to transmit a frame Signed-off-by: Alexander Smirnov --- include/net/mac802154.h | 131

[Linux-zigbee-devel] [PATCH 03/13] mac802154: RX data path

2012-02-28 Thread Alexander Smirnov
Main RX data path implementation between physical and mac layers. Both contexts are supported: interrupt (data processed via worker) and non-interrupt (data processed directly). Signed-off-by: Alexander Smirnov --- include/net/ieee802154_netdev.h |2 + include/net/mac802154.h |4

[Linux-zigbee-devel] [PATCH 10/13] mac802154: slaves manipulation routine

2012-02-28 Thread Alexander Smirnov
This patch adds functionality for registration and removing slaves in the system. Signed-off-by: Alexander Smirnov --- net/mac802154/ieee802154_dev.c | 142 net/mac802154/mac802154.h |3 + 2 files changed, 145 insertions(+), 0 deletions

[Linux-zigbee-devel] [PATCH 06/13] mac802154: slave interfaces definition

2012-02-28 Thread Alexander Smirnov
Slaves represent typical network interfaces available from userspace. Each ieee802154 device/transceiver may have several slaves and able to be associated with several networks at the same time. So this patch adds structure for slaves definition. Signed-off-by: Alexander Smirnov --- net

[Linux-zigbee-devel] [PATCH 11/13] mac802154: monitor device support

2012-02-28 Thread Alexander Smirnov
Support for monitor device intended to capture all the network activity. This interface could be used by networks sniffers. Already supported by WireShark. Signed-off-by: Alexander Smirnov --- include/linux/if_arp.h |1 + include/linux/nl802154.h | 16 ++ include/net

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

2012-02-28 Thread Alexander Smirnov
Add support for IEEE 802.15.4 loopback driver - useful development and debugging tool. Signed-off-by: Alexander Smirnov --- drivers/ieee802154/Kconfig |8 ++ drivers/ieee802154/Makefile |1 + drivers/ieee802154/fakelb.c | 294 +++ 3 files

[Linux-zigbee-devel] [PATCH 05/13] mac802154: define reduced mlme operations

2012-02-28 Thread Alexander Smirnov
According IEEE 802.15.4 standard each node can be either full functionality device (FFD) or reduce functionality device (RFD). So 2 sets of operations are needed. This patch define RFD operations structure. Signed-off-by: Alexander Smirnov --- include/net/ieee802154_netdev.h | 24

[Linux-zigbee-devel] [PATCH 13/13] Documentation/networking/ieee802154: update MAC chapter

2012-02-28 Thread Alexander Smirnov
Update the documentation according to latest changes. Signed-off-by: Alexander Smirnov --- Documentation/networking/ieee802154.txt | 75 --- 1 files changed, 59 insertions(+), 16 deletions(-) diff --git a/Documentation/networking/ieee802154.txt b/Documentation

[Linux-zigbee-devel] [PATCH 08/13] mac802154: basic mib support

2012-02-28 Thread Alexander Smirnov
Basic support for IEEE 802.15.4 management information base. Currently setting of HW address is implemented only. Signed-off-by: Alexander Smirnov --- net/mac802154/Makefile|2 +- net/mac802154/mac802154.h |3 + net/mac802154/mib.c | 97

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

2012-02-27 Thread Alexander Smirnov
Hi Prajosh, 1. please NEVER send a private mails to Linux developers/maintainers, always add appropriate list to CC. In case of David Miller you SHOULD add net...@vger.kernel.org list. 2. Regarding review - every of us have main full-time work, please be patient and wait for the reply. 3. When

Re: [Linux-zigbee-devel] compilation error with lowpan-tools-0.2.2

2012-01-28 Thread Alexander Smirnov
Hello Satish, First of all thanks to Luca for the reply ;-) 2012/1/25 satish : > Thanks a lot for the quick reply, I looked at the code and commented out the > required lines just as you have done in the patch. I just wanted to confirm > anyways. > > I just had another doubt, though the wiki ment

Re: [Linux-zigbee-devel] Using mac802.15.4 with serial driver

2012-01-10 Thread Alexander Smirnov
in my previous mail...) > > I've now to work a bit more on my dongle serial driver as it still has got > the MAC encapsulation ... > > I tell you more soon > > Many thanks > > Pierre-emmanuel > > -Message d'origine- > De : Alexander Smirnov [mai

Re: [Linux-zigbee-devel] Using mac802.15.4 with serial driver

2012-01-10 Thread Alexander Smirnov
Hi, 2012/1/10 Pierre-Emmanuel Goudet : > Hi all, > > > > Me again, facing big blue … > > > > Ok I’m trying to find alone the problem, so one could be that I could not > find a way to set my PANID as asked in the > Documentation/Networking/ieee802154.txt file. Any idea to do that ? I initialized b

Re: [Linux-zigbee-devel] Back trying 6LowPan with serial driver

2012-01-10 Thread Alexander Smirnov
Hi Pierre-Emmanuel, Unfortunately this moment I have no serial transceiver near me. I work with ARM and at91rf230 radio connected via SPI only. So I can't provide a solution of this problem in a moment. Investigation is needed. With best regards, Alexander 2012/1/9 Pierre-Emmanuel Goudet : > Hi

Re: [Linux-zigbee-devel] Izattach problem

2012-01-05 Thread Alexander Smirnov
Hi Pierre-Emmanuel, am I right that you've tried linux-zigbee kernel? With best regards, Alexander 2012/1/5 Pierre-Emmanuel Goudet : > Hi all, > > > > Two weeks ago i could correctly attach my serial dongle. > > Now: > > # sudo izattach /dev/ttyUSB2 > > Socket: Address family not supported by pr

[Linux-zigbee-devel] [PATCH 14/14 v2] Documentation/networking/ieee802154: update MAC chapter

2011-12-26 Thread Alexander Smirnov
Update the documentation according to latest changes. Signed-off-by: Alexander Smirnov --- Documentation/networking/ieee802154.txt | 75 --- 1 files changed, 59 insertions(+), 16 deletions(-) diff --git a/Documentation/networking/ieee802154.txt b/Documentation

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

2011-12-26 Thread Alexander Smirnov
Add support for loopback driver. It's very useful tool for testing and development upper IEEE 802.15.4 layer. Signed-off-by: Alexander Smirnov --- drivers/ieee802154/Kconfig |8 ++ drivers/ieee802154/Makefile |1 + drivers/ieee802154/fakelb.c |

[Linux-zigbee-devel] [PATCH 12/14 v2] mac802154: monitor device support

2011-12-26 Thread Alexander Smirnov
Support for monitor device intended to capture all the network activity. This interface could be used by networks sniffers. Signed-off-by: Alexander Smirnov --- include/linux/if_arp.h |1 + include/linux/nl802154.h | 11 include/net/wpan-phy.h |3 + net

[Linux-zigbee-devel] [PATCH 11/14 v2] mac802154: slaves manipulation routine

2011-12-26 Thread Alexander Smirnov
This patch adds interface for registration and removing slaves in the system. Signed-off-by: Alexander Smirnov --- net/mac802154/ieee802154_dev.c | 141 net/mac802154/mac802154.h |3 + 2 files changed, 144 insertions(+), 0 deletions(-) diff

[Linux-zigbee-devel] [PATCH 10/14 v2] ieee802154: interface type to be added

2011-12-26 Thread Alexander Smirnov
This stack supports several types of slaves interfaces. Another parameter to 'add_iface_ function is added. Signed-off-by: Alexander Smirnov --- include/linux/nl802154.h |6 ++ include/net/wpan-phy.h |2 +- net/ieee802154/nl-phy.c |9 - 3 files changed, 15 inser

[Linux-zigbee-devel] [PATCH 09/14 v2] ieee802154: remove ieee802154 policy from globals

2011-12-26 Thread Alexander Smirnov
inition to more appropriate place. Signed-off-by: Alexander Smirnov --- include/linux/nl802154.h|2 -- net/ieee802154/ieee802154.h |2 ++ net/ieee802154/wpan-class.c |1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/linux/nl802154.h b/include/linux/nl802154.

[Linux-zigbee-devel] [PATCH 08/14 v2] mac802154: basic mib support

2011-12-26 Thread Alexander Smirnov
Basic support for IEEE 802.15.4 management information base. Currently setting of HW address is implemented only. Signed-off-by: Alexander Smirnov --- net/mac802154/Makefile|2 +- net/mac802154/mac802154.h |3 + net/mac802154/mib.c | 97

[Linux-zigbee-devel] [PATCH 07/14 v2] mac802154: reduced mlme operations

2011-12-26 Thread Alexander Smirnov
Initialize set of reduced operations. Signed-off-by: Alexander Smirnov --- net/mac802154/Makefile|2 +- net/mac802154/mac802154.h |2 ++ net/mac802154/mac_cmd.c | 43 +++ 3 files changed, 46 insertions(+), 1 deletions(-) create mode

[Linux-zigbee-devel] [PATCH 06/14 v2] mac802154: slave interfaces definition

2011-12-26 Thread Alexander Smirnov
Slaves represent typical network interfaces available from userspace. Each ieee802154 device/transceiver may have several slaves and able to be associated with several networks at the same time. Signed-off-by: Alexander Smirnov --- net/mac802154/mac802154.h | 25 + 1

[Linux-zigbee-devel] [PATCH 05/14 v2] mac802154: define reduced mlme operations

2011-12-26 Thread Alexander Smirnov
According IEEE 802.15.4 standard each node can be either full functionality device (FFD) or reduce functionality device (RFD). So 2 sets of operations are needed. This patch define RFD operations structure. Signed-off-by: Alexander Smirnov --- include/net/ieee802154_netdev.h | 24

[Linux-zigbee-devel] [PATCH 04/14 v2] mac802154: TX data path

2011-12-26 Thread Alexander Smirnov
Main TX data path implementation between upper and physical layers. Signed-off-by: Alexander Smirnov --- net/mac802154/Makefile|2 +- net/mac802154/mac802154.h |5 ++ net/mac802154/tx.c| 113 + 3 files changed, 119 insertions

[Linux-zigbee-devel] [PATCH 03/14 v2] mac802154: RX data path

2011-12-26 Thread Alexander Smirnov
Main RX data path implementation between physical and mac layers. Both contexts are supported: interrupt (data processed via worker) and non-interrupt (data processed directly). Signed-off-by: Alexander Smirnov --- include/net/ieee802154_netdev.h |2 + include/net/mac802154.h |4

[Linux-zigbee-devel] [PATCH 02/14 v2] mac802154: allocation of ieee802154 device

2011-12-26 Thread Alexander Smirnov
Interface for device drivers to allocate and register ieee802154 compatible devices. Signed-off-by: Alexander Smirnov --- include/net/mac802154.h|6 ++ net/Kconfig|1 + net/Makefile |1 + net/mac802154/Kconfig | 16 + net

[Linux-zigbee-devel] [PATCH 01/14 v2] mac802154: basic ieee802.15.4 device structures

2011-12-26 Thread Alexander Smirnov
commit which describes main data structures needed for ieee802.15.4 compatible devices representation in MAC layer and callbacks that the driver may, or in some cases, must handle, for example to transmit a frame Signed-off-by: Alexander Smirnov --- include/net/mac802154.h | 147

[Linux-zigbee-devel] [PATCH series v2] IEEE 802.15.4 MAC layer basic implementation

2011-12-26 Thread Alexander Smirnov
/kernel to_upstream Alexander Smirnov (14): mac802154: basic ieee802.15.4 device structures mac802154: allocation of ieee802154 device mac802154: RX data path mac802154: TX data path mac802154: define reduced mlme operations mac802154: slave interfaces definition mac802154: redu

[Linux-zigbee-devel] (no subject)

2011-12-26 Thread Alexander Smirnov
nce commit eb93992207dadb946a3b5cf4544957dc924a6f58: module_param: make bool parameters really bool (net & drivers/net) (2011-12-19 22:27:29 -0500) are available in the git repository at: git://linux-zigbee.git.sourceforge.net/gitroot/linux-zigbee/kernel to_upstream Alexander Smirnov (14): ma

[Linux-zigbee-devel] [PATCH series v2] IEEE 802.15.4 MAC layer basic implementation

2011-12-26 Thread Alexander Smirnov
dc924a6f58: module_param: make bool parameters really bool (net & drivers/net) (2011-12-19 22:27:29 -0500) are available in the git repository at: git://linux-zigbee.git.sourceforge.net/gitroot/linux-zigbee/kernel to_upstream Alexander Smirnov (14): mac802154: basic ieee802.15.4 dev

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

2011-12-23 Thread Alexander Smirnov
; Thanks > > -Message d'origine- > De : Alexander Smirnov [mailto:alex.bluesman.smir...@gmail.com] > Envoyé : vendredi 23 décembre 2011 09:14 > À : Pierre-Emmanuel Goudet > Cc : Dmitry Eremin-Solenikov; linux-zigbee-devel > Objet : Re: [Linux-zigbee-devel] Linux/Zigbee / 6

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

2011-12-23 Thread Alexander Smirnov
lem. With best regards, Alexander > > We're using a recent ubuntu 11.10 > > Thanks for your ideas or any other goods " steps to use" document ? > > Le 19 déc. 2011 à 11:36, "Alexander Smirnov" > a écrit : > >> Hi, >> >> 201

Re: [Linux-zigbee-devel] ifconfig wpan0 up triggers WARNING: at net/mac802154/main.c:38 mac802154_slave_open+0x78/0xc8

2011-12-23 Thread Alexander Smirnov
Hi Matt, could you please describe your kernel in details: - Where did you get it? - What is about mac layer in your kernel? - How did port driver, what the hacks were used? With best regards, Alexander 2011/12/21 Matt Wood : > > > -- Forwarded message -- > Hi folks, I'm new to

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

2011-12-22 Thread Alexander Smirnov
Hi, Mathieu, 2011/12/21 M Pouillot : > Hello all, > > > > I need to implement a 6lowpan linux driver for the CC2530 from TI. This 6LowPAN isn't a driver, it's an abstract hook which is independent of bottom layers. > transceiver purposes its own serial protocol to manage its Z-MAC (embedded > 80

[Linux-zigbee-devel] [PATCH 14/14] Documentation/networking/ieee802154: update MAC chapter

2011-12-19 Thread Alexander Smirnov
Update the documentation according to latest changes. Signed-off-by: Alexander Smirnov --- Documentation/networking/ieee802154.txt | 57 +++ 1 files changed, 50 insertions(+), 7 deletions(-) diff --git a/Documentation/networking/ieee802154.txt b/Documentation

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

2011-12-19 Thread Alexander Smirnov
From: Alexander Smirnov Add support for loopback driver. It's very useful tool for testing and development upper IEEE 802.15.4 layer. Signed-off-by: Alexander Smirnov --- drivers/ieee802154/Kconfig |8 ++ drivers/ieee802154/Makefile |1 + drivers/ieee802154/fakelb.c |

[Linux-zigbee-devel] [PATCH 12/14] mac802154: monitor device support

2011-12-19 Thread Alexander Smirnov
From: Alexander Smirnov Support for monitor device intended to capture all the network activity. This interface could be used by networks sniffers. Signed-off-by: Alexander Smirnov --- include/linux/if_arp.h |1 + include/linux/nl802154.h |1 + include/net/wpan-phy.h

[Linux-zigbee-devel] [PATCH 09/14] ieee802154: remove ieee802154 policy from globals

2011-12-19 Thread Alexander Smirnov
Move ieee802154 netlink policy array definition inside ieee802154 layer. Signed-off-by: Alexander Smirnov --- include/linux/nl802154.h|2 -- net/ieee802154/ieee802154.h |2 ++ net/ieee802154/wpan-class.c |1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a

[Linux-zigbee-devel] [PATCH 11/14] mac802154: slaves manipulation routine

2011-12-19 Thread Alexander Smirnov
From: Alexander Smirnov This patch adds interface for registration and removing slaves in the system. Signed-off-by: Alexander Smirnov --- include/net/mac802154.h|4 + net/mac802154/ieee802154_dev.c | 140 +++- net/mac802154/mac802154.h

  1   2   >