prism2wext.h

来自「Linux的无线局域网方案是一个Linux设备驱动程序和子系统 一揽子方案的用」· C头文件 代码 · 共 114 行

H
114
字号
/* prism2wext.h -*- linux-c -*- *     _     _   ___   _   _  _____  _   _   ___   __   _ *    | | _ | | / _ \ | | | || ____|| |_| | / _ \ |  \ | | *    | || || || /_\ || | | || ___| | ___ || /_\ ||   \| | *    | || || || ___ | \ | / | |___ | | | || ___ || |\   | * www.\_/ \_/ |_| |_|  \_/  |_____||_| |_||_| |_||_| \__|.de  * * Wireless Tools 10+ compatibility for linux-wlan-ng based on code * of wlancfg and orinoco_cs * * author:  Reyk Floeter <reyk@synack.de> * home:    https://www.wavehan.de/projekte/prism2/ * date:    10/04/2001 * version: 0.0.4 * * This application is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This application is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA * 02111 USA.  *//*================================================================*//* System Includes */#ifndef _PRISM2_WEXT_H#define _PRISM2_WEXT_H#define WAVEHAN 23#define WLAN_DBVAR prism2_debug#include <linux/config.h>#include <linux/version.h>#include <wlan/wlan_compat.h>#include <linux/module.h>#include <linux/kernel.h>#include <linux/sched.h>#include <linux/types.h>#include <linux/slab.h>#include <linux/netdevice.h>#include <linux/if_arp.h>#include <linux/string.h>#include <linux/delay.h>#include <asm/byteorder.h>#include <asm/uaccess.h>#include <asm/io.h>#if (WLAN_HOSTIF == WLAN_PCMCIA)#include <pcmcia/config.h>#include <pcmcia/k_compat.h>#include <pcmcia/version.h>#include <pcmcia/cs_types.h>#include <pcmcia/cs.h>#include <pcmcia/cistpl.h>#include <pcmcia/ds.h>#include <pcmcia/cisreg.h>#include <pcmcia/driver_ops.h>#elif ((WLAN_HOSTIF == WLAN_PLX) || (WLAN_HOSTIF == WLAN_PCI))#include <linux/pci.h>#elif (WLAN_HOSTIF == WLAN_USB)#include <linux/usb.h>#endif/*================================================================*//* Project Includes */#include <wlan/version.h>#include <wlan/p80211types.h>#include <wlan/p80211hdr.h>#include <wlan/p80211mgmt.h>#include <wlan/p80211conv.h>#include <wlan/p80211msg.h>#include <wlan/p80211netdev.h>#include <wlan/p80211req.h>#include <wlan/p80211metadef.h>#include <wlan/p80211metastruct.h>#include <prism2/hfa384x.h>#include <prism2/prism2mgmt.h>/* compatibility to wireless extensions */#if defined(__LINUX_WLAN__) && defined (__KERNEL__)#include <linux/wireless.h>#if WIRELESS_EXT > 10/** function prototypes =============== *//* called by /proc/net/wireless */iw_stats* prism2wext_get_wireless_stats(struct net_device *dev);/* wireless extensions' ioctls */ int prism2wext_support_ioctl(struct net_device *dev, struct iwreq *iwr, int cmd);/* used by the ioctls ----------------- *//* return a string value to user space */int prism2wext_get_string(hfa384x_t *hw, struct iw_point *erq, UINT16 rid, UINT16 len);/* determine a channel */int prism2wext_get_channel(struct iw_freq *iwf);/* ... */#endif#endif#endif /* _PRISM2_WEXT_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?