Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nl802154.h
Go to the documentation of this file.
1 /*
2  * nl802154.h
3  *
4  * Copyright (C) 2007, 2008, 2009 Siemens AG
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2
8  * as published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program; if not, write to the Free Software Foundation, Inc.,
17  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18  *
19  */
20 
21 #ifndef NL802154_H
22 #define NL802154_H
23 
24 #define IEEE802154_NL_NAME "802.15.4 MAC"
25 #define IEEE802154_MCAST_COORD_NAME "coordinator"
26 #define IEEE802154_MCAST_BEACON_NAME "beacon"
27 
28 enum {
30 
33 
35 
39 
41 
45 
49 
53 
66 
69 
72 
74 };
75 
76 #define IEEE802154_ATTR_MAX (__IEEE802154_ATTR_MAX - 1)
77 
78 extern const struct nla_policy ieee802154_policy[];
79 
80 /* commands */
81 /* REQ should be responded with CONF
82  * and INDIC with RESP
83  */
84 enum {
86 
104 
113 
114  IEEE802154_GTS_REQ, /* Not supported yet */
115  IEEE802154_GTS_INDIC, /* Not supported yet */
116  IEEE802154_GTS_CONF, /* Not supported yet */
117  IEEE802154_RX_ENABLE_REQ, /* Not supported yet */
118  IEEE802154_RX_ENABLE_CONF, /* Not supported yet */
119 
124 
126 };
127 
128 #define IEEE802154_CMD_MAX (__IEEE802154_CMD_MAX - 1)
129 
130 enum {
132 
135 
137 };
138 
139 #endif