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)
commit32bad7e30f113a8a5cebe4704bf6519ab4383e1b
treebc1a806c90bddeda6956ed84f5d76b1206853d04
parent5ac24979dcb3418a295e11823c1f2506df1d9926
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]