diff options
author | alex.bluesman.smirnov@gmail.com <alex.bluesman.smirnov@gmail.com> | 2012-06-25 19:24:48 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-27 00:06:11 -0400 |
commit | 32bad7e30f113a8a5cebe4704bf6519ab4383e1b (patch) | |
tree | bc1a806c90bddeda6956ed84f5d76b1206853d04 /include/linux/nl802154.h | |
parent | 5ac24979dcb3418a295e11823c1f2506df1d9926 (diff) |
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>
Diffstat (limited to 'include/linux/nl802154.h')
-rw-r--r-- | include/linux/nl802154.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/include/linux/nl802154.h b/include/linux/nl802154.h index 5a3db3aa5f17..fd4f2d1cdf6c 100644 --- a/include/linux/nl802154.h +++ b/include/linux/nl802154.h | |||
@@ -130,18 +130,8 @@ enum { | |||
130 | enum { | 130 | enum { |
131 | __IEEE802154_DEV_INVALID = -1, | 131 | __IEEE802154_DEV_INVALID = -1, |
132 | 132 | ||
133 | /* TODO: | 133 | IEEE802154_DEV_WPAN, |
134 | * Nowadays three device types supported by this stack at linux-zigbee | 134 | IEEE802154_DEV_MONITOR, |
135 | * project: WPAN = 0, MONITOR = 1 and SMAC = 2. | ||
136 | * | ||
137 | * Since this stack implementation exists many years, it's definitely | ||
138 | * bad idea to change the assigned values due to they are already used | ||
139 | * by third-party userspace software like: iz-tools, wireshark... | ||
140 | * | ||
141 | * Currently only monitor device is added and initialized by '1' for | ||
142 | * compatibility. | ||
143 | */ | ||
144 | IEEE802154_DEV_MONITOR = 1, | ||
145 | 135 | ||
146 | __IEEE802154_DEV_MAX, | 136 | __IEEE802154_DEV_MAX, |
147 | }; | 137 | }; |