1 /*
2  *  Copyright (C) 2002 Intersil Americas Inc.
3  *            (C) 2003 Aurelien Alleaume <slts@free.fr>
4  *            (C) 2003 Luis R. Rodriguez <mcgrof@ruslug.rutgers.edu>
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 as published by
8  *  the Free Software Foundation; either version 2 of the License
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
16  *  along with this program; if not, write to the Free Software
17  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18  *
19  */
20 
21 #ifndef _ISL_IOCTL_H
22 #define _ISL_IOCTL_H
23 
24 #include "islpci_mgt.h"
25 #include "islpci_dev.h"
26 
27 #include <net/iw_handler.h>	/* New driver API */
28 
29 #define SUPPORTED_WIRELESS_EXT                  19
30 
31 void prism54_mib_init(islpci_private *);
32 
33 struct iw_statistics *prism54_get_wireless_stats(struct net_device *);
34 void prism54_update_stats(struct work_struct *);
35 
36 void prism54_acl_init(struct islpci_acl *);
37 void prism54_acl_clean(struct islpci_acl *);
38 
39 void prism54_process_trap(struct work_struct *);
40 
41 void prism54_wpa_bss_ie_init(islpci_private *priv);
42 void prism54_wpa_bss_ie_clean(islpci_private *priv);
43 
44 int prism54_set_mac_address(struct net_device *, void *);
45 
46 int prism54_ioctl(struct net_device *, struct ifreq *, int);
47 
48 extern const struct iw_handler_def prism54_handler_def;
49 
50 #endif				/* _ISL_IOCTL_H */
51