]> git.baikalelectronics.ru Git - kernel.git/commit
mac802154: add wpan device-class support
authoralex.bluesman.smirnov@gmail.com <alex.bluesman.smirnov@gmail.com>
Mon, 25 Jun 2012 23:24:48 +0000 (23:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Jun 2012 04:06:11 +0000 (21:06 -0700)
commit615a428d1aa0adada8b0a95cd250e71a9e5134a4
treebc1a806c90bddeda6956ed84f5d76b1206853d04
parentbc52e8d293af1c0d6be2ac0e5bba0d7b4d3ef90c
mac802154: add wpan device-class support

Every real 802.15.4 transceiver, which works with software MAC layer,
can be classified as a wpan device in this stack. So the wpan device
implementation provides missing link in datapath between the device
drivers and the Linux network queue.

According to the IEEE 802.15.4 standard each packet can be one of the
following types:
 - beacon
 - MAC layer command
 - ACK
 - data

This patch adds support for the data packet-type only, but this is
enough to perform data transmission and receiving over radio.

Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/nl802154.h
include/net/mac802154.h
net/mac802154/Makefile
net/mac802154/ieee802154_dev.c
net/mac802154/mac802154.h
net/mac802154/mac_cmd.c
net/mac802154/rx.c
net/mac802154/wpan.c [new file with mode: 0644]