patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / drivers / net / wireless / prism54 / isl_ioctl.h
1 /*
2  *  
3  *  Copyright (C) 2002 Intersil Americas Inc.
4  *            (C) 2003 Aurelien Alleaume <slts@free.fr>
5  *            (C) 2003 Luis R. Rodriguez <mcgrof@ruslug.rutgers.edu>
6  *
7  *  This program is free software; you can redistribute it and/or modify
8  *  it under the terms of the GNU General Public License as published by
9  *  the Free Software Foundation; either version 2 of the License
10  *
11  *  This program is distributed in the hope that it will be useful,
12  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  *  GNU General Public License for more details.
15  *
16  *  You should have received a copy of the GNU General Public License
17  *  along with this program; if not, write to the Free Software
18  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19  *
20  */
21
22 #ifndef _ISL_IOCTL_H
23 #define _ISL_IOCTL_H
24
25 #include "islpci_mgt.h"
26 #include "islpci_dev.h"
27
28 #include <net/iw_handler.h>     /* New driver API */
29
30 #define SUPPORTED_WIRELESS_EXT                  16
31
32 void prism54_mib_init(islpci_private *);
33 void prism54_mib_init_work(islpci_private *);
34
35 struct iw_statistics *prism54_get_wireless_stats(struct net_device *);
36 void prism54_update_stats(islpci_private *);
37
38 void prism54_acl_init(struct islpci_acl *);
39 void prism54_acl_clean(struct islpci_acl *);
40
41 void prism54_process_trap(void *);
42
43 void prism54_wpa_ie_init(islpci_private *priv);
44 void prism54_wpa_ie_clean(islpci_private *priv);
45 void prism54_wpa_ie_add(islpci_private *priv, u8 *bssid,
46                         u8 *wpa_ie, size_t wpa_ie_len);
47 size_t prism54_wpa_ie_get(islpci_private *priv, u8 *bssid, u8 *wpa_ie);
48
49 int prism54_set_mac_address(struct net_device *, void *);
50
51 int prism54_ioctl(struct net_device *, struct ifreq *, int);
52
53 extern const struct iw_handler_def prism54_handler_def;
54
55 #endif                          /* _ISL_IOCTL_H */