netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Eremin-Solenikov <dbaryshkov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	slapin-9cOl001CZnBAfugRpC6u6w@public.gmane.org,
	maxim.osipov-kv7WeFo6aLtBDgjK7y7TUQ@public.gmane.org,
	dmitry.baryshkov-kv7WeFo6aLtBDgjK7y7TUQ@public.gmane.org,
	oliver.fendt-kv7WeFo6aLtBDgjK7y7TUQ@public.gmane.org
Subject: [RFC][WIP] IEEE 802.15.4 implementation for Linux v1
Date: Mon,  1 Jun 2009 18:54:41 +0400	[thread overview]
Message-ID: <1243868091-5315-1-git-send-email-dbaryshkov@gmail.com> (raw)

Hi,

As a part of research activities the Embedded Systems - Open Platform Group
from Siemens Corporate Technology we are working on adding support for
the IEEE 802.15.4 Wireless Personal Area Networks to the Linux. Our current
implementation is neither certified nor even feature complete. However
we'd like to present current state of our patchset to the Linux developers
community to gain comments, fixes, ideas, etc. This is not yet a pull request,
but more like an RFC.

The project page is available at http://apps.sourceforge.net/trac/linux-zigbee
with source code of kernel part available from git at
http://zigbee-linux.git.sourceforge.net, mirrored for convenience at
git://git.kernel.org/pub/scm/linux/kernel/git/lumag/lowpan.git

The source code for userspace utils is available from git at
http://linux-zigbee.git.sourceforge.net/

Changes since previous RFC:
  * Split the code into socket family, netlink interface and separate
    MAC 802.15.4 implementation.
  * Add a sample driver for devices implementing mac level of IEEE 802.15.4
    on their own.
  * Major cleanup of public interfaces.
  * Drop our CRC implementation and use a variant of CRC-ITU-T one
  * Add preliminary version of AT86RF231 Atmel chip driver

The following changes since commit 59a3759d0fe8d969888c741bb33f4946e4d3750d:
  Linus Torvalds (1):
        Linux 2.6.30-rc7

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/lumag/lowpan.git for-review-v1

Darren Salt (1):
      crc-itu-t: add bit-reversed calculation

Dmitry Eremin-Solenikov (9):
      Add constants for the ieee 802.15.4/ZigBee stack
      net: add IEEE 802.15.4 socket family implementation
      net: add NL802154 interface for configuration of 802.15.4 devices
      ieee802154: add simple HardMAC driver sample
      mac802154: add a software MAC 802.15.4 implementation
      ieee802154: add virtual loopback driver
      tty_io: export tty_class
      ieee802154: add serial dongle driver
      ieee802154: add at86rf230/rf231 spi driver

 drivers/Makefile                       |    1 +
 drivers/char/tty_io.c                  |    1 +
 drivers/ieee802154/Kconfig             |   42 ++
 drivers/ieee802154/Makefile            |    6 +
 drivers/ieee802154/at86rf230.c         |  971 +++++++++++++++++++++++++++++++
 drivers/ieee802154/fakehard.c          |  253 ++++++++
 drivers/ieee802154/fakelb.c            |  335 +++++++++++
 drivers/ieee802154/serial.c            |  999 ++++++++++++++++++++++++++++++++
 drivers/net/Kconfig                    |    2 +
 include/linux/crc-itu-t.h              |   10 +
 include/linux/if.h                     |    2 +
 include/linux/if_arp.h                 |    2 +
 include/linux/if_ether.h               |    2 +
 include/linux/socket.h                 |    6 +-
 include/linux/spi/at86rf230.h          |   32 +
 include/linux/tty.h                    |    3 +-
 include/net/ieee802154/af_ieee802154.h |   60 ++
 include/net/ieee802154/mac802154.h     |   79 +++
 include/net/ieee802154/mac_def.h       |  158 +++++
 include/net/ieee802154/netdevice.h     |   84 +++
 include/net/ieee802154/nl802154.h      |  165 ++++++
 lib/crc-itu-t.c                        |   18 +
 net/Kconfig                            |    2 +
 net/Makefile                           |    2 +
 net/core/dev.c                         |    6 +-
 net/core/sock.c                        |    3 +
 net/ieee802154/Kconfig                 |   12 +
 net/ieee802154/Makefile                |    5 +
 net/ieee802154/af802154.h              |   35 ++
 net/ieee802154/af_ieee802154.c         |  356 ++++++++++++
 net/ieee802154/dgram.c                 |  373 ++++++++++++
 net/ieee802154/netlink.c               |  485 ++++++++++++++++
 net/ieee802154/raw.c                   |  250 ++++++++
 net/mac802154/Kconfig                  |   13 +
 net/mac802154/Makefile                 |    5 +
 net/mac802154/beacon.c                 |  242 ++++++++
 net/mac802154/beacon.h                 |   48 ++
 net/mac802154/beacon_hash.c            |  103 ++++
 net/mac802154/beacon_hash.h            |   40 ++
 net/mac802154/dev.c                    |  843 +++++++++++++++++++++++++++
 net/mac802154/mac802154.h              |   64 ++
 net/mac802154/mac_cmd.c                |  325 +++++++++++
 net/mac802154/main.c                   |   96 +++
 net/mac802154/mdev.c                   |  283 +++++++++
 net/mac802154/mib.h                    |   32 +
 net/mac802154/pib.c                    |   87 +++
 net/mac802154/pib.h                    |   35 ++
 net/mac802154/scan.c                   |  215 +++++++
 48 files changed, 7187 insertions(+), 4 deletions(-)
 create mode 100644 drivers/ieee802154/Kconfig
 create mode 100644 drivers/ieee802154/Makefile
 create mode 100644 drivers/ieee802154/at86rf230.c
 create mode 100644 drivers/ieee802154/fakehard.c
 create mode 100644 drivers/ieee802154/fakelb.c
 create mode 100644 drivers/ieee802154/serial.c
 create mode 100644 include/linux/spi/at86rf230.h
 create mode 100644 include/net/ieee802154/af_ieee802154.h
 create mode 100644 include/net/ieee802154/mac802154.h
 create mode 100644 include/net/ieee802154/mac_def.h
 create mode 100644 include/net/ieee802154/netdevice.h
 create mode 100644 include/net/ieee802154/nl802154.h
 create mode 100644 net/ieee802154/Kconfig
 create mode 100644 net/ieee802154/Makefile
 create mode 100644 net/ieee802154/af802154.h
 create mode 100644 net/ieee802154/af_ieee802154.c
 create mode 100644 net/ieee802154/dgram.c
 create mode 100644 net/ieee802154/netlink.c
 create mode 100644 net/ieee802154/raw.c
 create mode 100644 net/mac802154/Kconfig
 create mode 100644 net/mac802154/Makefile
 create mode 100644 net/mac802154/beacon.c
 create mode 100644 net/mac802154/beacon.h
 create mode 100644 net/mac802154/beacon_hash.c
 create mode 100644 net/mac802154/beacon_hash.h
 create mode 100644 net/mac802154/dev.c
 create mode 100644 net/mac802154/mac802154.h
 create mode 100644 net/mac802154/mac_cmd.c
 create mode 100644 net/mac802154/main.c
 create mode 100644 net/mac802154/mdev.c
 create mode 100644 net/mac802154/mib.h
 create mode 100644 net/mac802154/pib.c
 create mode 100644 net/mac802154/pib.h
 create mode 100644 net/mac802154/scan.c
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2009-06-01 14:54 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-01 14:54 Dmitry Eremin-Solenikov [this message]
2009-06-01 14:54 ` [PATCH 01/10] crc-itu-t: add bit-reversed calculation Dmitry Eremin-Solenikov
2009-06-01 14:54   ` [PATCH 02/10] Add constants for the ieee 802.15.4/ZigBee stack Dmitry Eremin-Solenikov
2009-06-01 14:54     ` [PATCH 03/10] net: add IEEE 802.15.4 socket family implementation Dmitry Eremin-Solenikov
     [not found]       ` <1243868091-5315-4-git-send-email-dbaryshkov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-06-01 14:54         ` [PATCH 04/10] net: add NL802154 interface for configuration of 802.15.4 devices Dmitry Eremin-Solenikov
2009-06-01 14:54           ` [PATCH 05/10] ieee802154: add simple HardMAC driver sample Dmitry Eremin-Solenikov
2009-06-01 14:54             ` [PATCH 06/10] mac802154: add a software MAC 802.15.4 implementation Dmitry Eremin-Solenikov
     [not found]               ` <1243868091-5315-7-git-send-email-dbaryshkov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-06-01 14:54                 ` [PATCH 07/10] ieee802154: add virtual loopback driver Dmitry Eremin-Solenikov
     [not found]                   ` <1243868091-5315-8-git-send-email-dbaryshkov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-06-01 14:54                     ` [PATCH 08/10] tty_io: export tty_class Dmitry Eremin-Solenikov
     [not found]                       ` <1243868091-5315-9-git-send-email-dbaryshkov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-06-01 14:54                         ` [PATCH 09/10] ieee802154: add serial dongle driver Dmitry Eremin-Solenikov
     [not found]                           ` <1243868091-5315-10-git-send-email-dbaryshkov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-06-01 14:54                             ` [PATCH 10/10] ieee802154: add at86rf230/rf231 spi driver Dmitry Eremin-Solenikov
     [not found]                               ` <1243868091-5315-11-git-send-email-dbaryshkov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-06-01 16:21                                 ` Gábor Stefanik
     [not found]                                   ` <69e28c910906010921r56cf7017gc858cb7ba819c385-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-06-01 20:33                                     ` Dmitry Eremin-Solenikov
     [not found]                                       ` <20090601203348.GC7143-nIupHZaCssqR2kOLt6zJ8ErlnG4Plg33XqFh9Ls21Oc@public.gmane.org>
2009-06-02  8:10                                         ` Holger Schurig
     [not found]                                           ` <200906021010.49613.hs4233-x6+DxXLjN1AJvtFkdXX2Hg4jNU5vUVPG@public.gmane.org>
2009-06-02  8:21                                             ` Marcel Holtmann
     [not found]                                               ` <1243930893.3192.62.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2009-06-02  8:29                                                 ` Ответ: " Dmitry Eremin-Solenikov
2009-06-02  8:36                                                   ` Marcel Holtmann
2009-06-02  8:46                                                     ` Florian Fainelli
2009-06-02  8:49                                                     ` Maxim Osipov
     [not found]                                                       ` <6097c490906020149j5d614064ied2a4bfebd13ddb0-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-06-02  9:15                                                         ` Holger Schurig
2009-06-02  9:29                                                       ` ?????: " Jonathan Cameron
     [not found]                                                         ` <4A24F106.5040704-KWPb1pKIrIJaa/9Udqfwiw@public.gmane.org>
2009-06-02 11:42                                                           ` Dmitry Eremin-Solenikov
     [not found]                                                     ` <1243931809.3192.68.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2009-06-02  8:52                                                       ` Ответ: " Sergey Lapin
2009-06-01 15:27                             ` [PATCH 09/10] ieee802154: add serial dongle driver Alan Cox
2009-06-01 20:29                               ` Dmitry Eremin-Solenikov
     [not found]                                 ` <20090601202946.GB7143-nIupHZaCssqR2kOLt6zJ8ErlnG4Plg33XqFh9Ls21Oc@public.gmane.org>
2009-06-01 21:52                                   ` Alan Cox
     [not found]                                     ` <20090601225205.1e7e8944-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org>
2009-06-02 14:43                                       ` Sergey Lapin
2009-06-01 15:07                         ` [PATCH 08/10] tty_io: export tty_class Alan Cox
2009-06-01 15:10                           ` Dmitry Eremin-Solenikov
2009-06-01 15:34                             ` Alan Cox
     [not found]                               ` <20090601163418.465be751-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org>
2009-06-02 14:22                                 ` Dmitry Eremin-Solenikov
2009-06-02 14:35                                   ` Alan Cox
2009-06-05 12:24                 ` [PATCH 06/10] mac802154: add a software MAC 802.15.4 implementation Pavel Machek
2009-06-04  0:32         ` [PATCH 03/10] net: add IEEE 802.15.4 socket family implementation Andrew Morton
     [not found]           ` <20090603173214.6d3997f7.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
2009-06-04 11:16             ` Dmitry Eremin-Solenikov
     [not found]               ` <20090604111634.GA28064-nIupHZaCssqR2kOLt6zJ8ErlnG4Plg33XqFh9Ls21Oc@public.gmane.org>
2009-06-04 13:46                 ` John W. Linville
     [not found]                   ` <20090604134455.GB2839-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org>
2009-06-04 14:10                     ` Dmitry Eremin-Solenikov
     [not found]                       ` <bc64b4640906040710p5c7c941fi3341599bc3157b79-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-06-04 14:15                         ` Johannes Berg
2009-06-04  0:05   ` [PATCH 01/10] crc-itu-t: add bit-reversed calculation Andrew Morton
2009-06-05  4:03 ` [RFC][WIP] IEEE 802.15.4 implementation for Linux v1 Jon Smirl
     [not found]   ` <9e4733910906042103q6c21886cia02d33cb278cef1e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-06-05  4:49     ` Dmitry Eremin-Solenikov
     [not found]       ` <bc64b4640906042149pb83911bk4e0397da11f9fde6-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-06-05 12:58         ` Jon Smirl
2009-06-13  3:21 ` Jon Smirl
     [not found]   ` <9e4733910906122021k4568df6rd80fb915b64ac12-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-06-13  5:37     ` Maxim Osipov
2009-06-13 12:39       ` Jon Smirl
2009-06-21  6:40     ` Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1243868091-5315-1-git-send-email-dbaryshkov@gmail.com \
    --to=dbaryshkov-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=dmitry.baryshkov-kv7WeFo6aLtBDgjK7y7TUQ@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=maxim.osipov-kv7WeFo6aLtBDgjK7y7TUQ@public.gmane.org \
    --cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=oliver.fendt-kv7WeFo6aLtBDgjK7y7TUQ@public.gmane.org \
    --cc=slapin-9cOl001CZnBAfugRpC6u6w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).