blob: bcfbfb9281d27c3e23dfc3de3619923c07304bd0 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
Linus Torvalds1da177e2005-04-16 15:20:36 -07002 * 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
Dan Williamseab411f2006-07-17 21:21:47 -040029#define SUPPORTED_WIRELESS_EXT 19
Linus Torvalds1da177e2005-04-16 15:20:36 -070030
31void prism54_mib_init(islpci_private *);
32
33struct iw_statistics *prism54_get_wireless_stats(struct net_device *);
David Howellsc4028952006-11-22 14:57:56 +000034void prism54_update_stats(struct work_struct *);
Linus Torvalds1da177e2005-04-16 15:20:36 -070035
36void prism54_acl_init(struct islpci_acl *);
37void prism54_acl_clean(struct islpci_acl *);
38
David Howellsc4028952006-11-22 14:57:56 +000039void prism54_process_trap(struct work_struct *);
Linus Torvalds1da177e2005-04-16 15:20:36 -070040
Dan Williamseab411f2006-07-17 21:21:47 -040041void prism54_wpa_bss_ie_init(islpci_private *priv);
42void prism54_wpa_bss_ie_clean(islpci_private *priv);
Linus Torvalds1da177e2005-04-16 15:20:36 -070043
44int prism54_set_mac_address(struct net_device *, void *);
45
46int prism54_ioctl(struct net_device *, struct ifreq *, int);
47
48extern const struct iw_handler_def prism54_handler_def;
49
50#endif /* _ISL_IOCTL_H */