Merge ../scsi-rc-fixes-2.6
[linux-2.6] / include / net / ieee80211softmac_wx.h
1 /*
2  * This file contains the prototypes for the wireless extension
3  * handlers that the softmac API provides. Include this file to
4  * use the wx handlers, you can assign these directly.
5  *
6  * Copyright (c) 2005 Johannes Berg <johannes@sipsolutions.net>
7  *                    Joseph Jezak <josejx@gentoo.org>
8  *                    Larry Finger <Larry.Finger@lwfinger.net>
9  *                    Danny van Dyk <kugelfang@gentoo.org>
10  *                    Michael Buesch <mbuesch@freenet.de>
11  *
12  * This program is free software; you can redistribute it and/or modify it
13  * under the terms of version 2 of the GNU General Public License as
14  * published by the Free Software Foundation.
15  *
16  * This program is distributed in the hope that it will be useful, but WITHOUT
17  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
19  * more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
24  *
25  * The full GNU General Public License is included in this distribution in the
26  * file called COPYING.
27  */
28
29 #ifndef _IEEE80211SOFTMAC_WX_H
30 #define _IEEE80211SOFTMAC_WX_H
31
32 #include <net/ieee80211softmac.h>
33 #include <net/iw_handler.h>
34
35 extern int
36 ieee80211softmac_wx_trigger_scan(struct net_device *net_dev,
37                                  struct iw_request_info *info,
38                                  union iwreq_data *data,
39                                  char *extra);
40
41 extern int
42 ieee80211softmac_wx_get_scan_results(struct net_device *net_dev,
43                                      struct iw_request_info *info,
44                                      union iwreq_data *data,
45                                      char *extra);
46
47 extern int
48 ieee80211softmac_wx_set_essid(struct net_device *net_dev,
49                               struct iw_request_info *info,
50                               union iwreq_data *data,
51                               char *extra);
52
53 extern int
54 ieee80211softmac_wx_get_essid(struct net_device *net_dev,
55                               struct iw_request_info *info,
56                               union iwreq_data *data,
57                               char *extra);
58
59 extern int
60 ieee80211softmac_wx_set_rate(struct net_device *net_dev,
61                              struct iw_request_info *info,
62                              union iwreq_data *data,
63                              char *extra);
64
65 extern int
66 ieee80211softmac_wx_get_rate(struct net_device *net_dev,
67                              struct iw_request_info *info,
68                              union iwreq_data *data,
69                              char *extra);
70
71 extern int
72 ieee80211softmac_wx_get_wap(struct net_device *net_dev,
73                               struct iw_request_info *info,
74                               union iwreq_data *data,
75                               char *extra);
76
77 extern int
78 ieee80211softmac_wx_set_wap(struct net_device *net_dev,
79                               struct iw_request_info *info,
80                               union iwreq_data *data,
81                               char *extra);
82
83 extern int
84 ieee80211softmac_wx_set_genie(struct net_device *dev,
85                               struct iw_request_info *info,
86                               union iwreq_data *wrqu,
87                               char *extra);
88
89 extern int
90 ieee80211softmac_wx_get_genie(struct net_device *dev,
91                               struct iw_request_info *info,
92                               union iwreq_data *wrqu,
93                               char *extra);
94 extern int
95 ieee80211softmac_wx_set_mlme(struct net_device *dev,
96                              struct iw_request_info *info,
97                              union iwreq_data *wrqu,
98                              char *extra);
99 #endif /* _IEEE80211SOFTMAC_WX */