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 34 struct iw_statistics *prism54_get_wireless_stats(struct net_device *); 35 void prism54_update_stats(islpci_private *); 36 37 void prism54_acl_init(struct islpci_acl *); 38 void prism54_acl_clean(struct islpci_acl *); 39 40 void prism54_process_trap(void *); 41 42 void prism54_wpa_ie_init(islpci_private *priv); 43 void prism54_wpa_ie_clean(islpci_private *priv); 44 void prism54_wpa_ie_add(islpci_private *priv, u8 *bssid, 45 u8 *wpa_ie, size_t wpa_ie_len); 46 size_t prism54_wpa_ie_get(islpci_private *priv, u8 *bssid, u8 *wpa_ie); 47 48 int prism54_set_mac_address(struct net_device *, void *); 49 50 int prism54_ioctl(struct net_device *, struct ifreq *, int); 51 int prism54_set_wpa(struct net_device *, struct iw_request_info *, 52 __u32 *, char *); 53 54 extern const struct iw_handler_def prism54_handler_def; 55 56 #endif /* _ISL_IOCTL_H */ 57