diff options
author | alex.bluesman.smirnov@gmail.com <alex.bluesman.smirnov@gmail.com> | 2012-05-15 16:50:27 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-16 15:17:08 -0400 |
commit | 90c049b2c6ae26d1a4d526d660a976620eaa554a (patch) | |
tree | f13681c6d06def2dceb6dabfa1821eb153ce00f1 /include/linux | |
parent | ef2486f5538b886ad4f0d1ac0857b518291b48f7 (diff) |
ieee802154: interface type to be added
This stack implementation distinguishes several types of slave
interfaces. Another parameter to 'add_iface_' function is added
to clarify the interface type is going to be registered.
Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/nl802154.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/nl802154.h b/include/linux/nl802154.h index 33d9f5175109..2015ad248101 100644 --- a/include/linux/nl802154.h +++ b/include/linux/nl802154.h | |||
@@ -68,6 +68,7 @@ enum { | |||
68 | IEEE802154_ATTR_CHANNEL_PAGE_LIST, | 68 | IEEE802154_ATTR_CHANNEL_PAGE_LIST, |
69 | 69 | ||
70 | IEEE802154_ATTR_PHY_NAME, | 70 | IEEE802154_ATTR_PHY_NAME, |
71 | IEEE802154_ATTR_DEV_TYPE, | ||
71 | 72 | ||
72 | __IEEE802154_ATTR_MAX, | 73 | __IEEE802154_ATTR_MAX, |
73 | }; | 74 | }; |
@@ -126,4 +127,9 @@ enum { | |||
126 | 127 | ||
127 | #define IEEE802154_CMD_MAX (__IEEE802154_CMD_MAX - 1) | 128 | #define IEEE802154_CMD_MAX (__IEEE802154_CMD_MAX - 1) |
128 | 129 | ||
130 | enum { | ||
131 | __IEEE802154_DEV_INVALID = -1, | ||
132 | __IEEE802154_DEV_MAX, | ||
133 | }; | ||
134 | |||
129 | #endif | 135 | #endif |