Merge commit 'origin/master' into next
[pandora-kernel.git] / include / net / ieee802154 / nl802154.h
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 IEEE802154_NL_H
22 #define IEEE802154_NL_H
23
24 struct net_device;
25 struct ieee802154_addr;
26
27 int ieee802154_nl_assoc_indic(struct net_device *dev,
28                 struct ieee802154_addr *addr, u8 cap);
29 int ieee802154_nl_assoc_confirm(struct net_device *dev,
30                 u16 short_addr, u8 status);
31 int ieee802154_nl_disassoc_indic(struct net_device *dev,
32                 struct ieee802154_addr *addr, u8 reason);
33 int ieee802154_nl_disassoc_confirm(struct net_device *dev,
34                 u8 status);
35 int ieee802154_nl_scan_confirm(struct net_device *dev,
36                 u8 status, u8 scan_type, u32 unscanned,
37                 u8 *edl/*, struct list_head *pan_desc_list */);
38 int ieee802154_nl_beacon_indic(struct net_device *dev, u16 panid,
39                 u16 coord_addr);
40
41 #endif