$search
00001 /* 00002 * Driver interface list 00003 * Copyright (c) 2004-2005, Jouni Malinen <j@w1.fi> 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License version 2 as 00007 * published by the Free Software Foundation. 00008 * 00009 * Alternatively, this software may be distributed under the terms of BSD 00010 * license. 00011 * 00012 * See README and COPYING for more details. 00013 */ 00014 00015 #include "includes.h" 00016 00017 00018 #ifdef CONFIG_DRIVER_WEXT 00019 extern struct wpa_driver_ops wpa_driver_wext_ops; /* driver_wext.c */ 00020 #endif /* CONFIG_DRIVER_WEXT */ 00021 #ifdef CONFIG_DRIVER_NL80211 00022 extern struct wpa_driver_ops wpa_driver_nl80211_ops; /* driver_nl80211.c */ 00023 #endif /* CONFIG_DRIVER_NL80211 */ 00024 #ifdef CONFIG_DRIVER_HOSTAP 00025 extern struct wpa_driver_ops wpa_driver_hostap_ops; /* driver_hostap.c */ 00026 #endif /* CONFIG_DRIVER_HOSTAP */ 00027 #ifdef CONFIG_DRIVER_HERMES 00028 extern struct wpa_driver_ops wpa_driver_hermes_ops; /* driver_hermes.c */ 00029 #endif /* CONFIG_DRIVER_HERMES */ 00030 #ifdef CONFIG_DRIVER_MADWIFI 00031 extern struct wpa_driver_ops wpa_driver_madwifi_ops; /* driver_madwifi.c */ 00032 #endif /* CONFIG_DRIVER_MADWIFI */ 00033 #ifdef CONFIG_DRIVER_ATMEL 00034 extern struct wpa_driver_ops wpa_driver_atmel_ops; /* driver_atmel.c */ 00035 #endif /* CONFIG_DRIVER_ATMEL */ 00036 #ifdef CONFIG_DRIVER_NDISWRAPPER 00037 /* driver_ndiswrapper.c */ 00038 extern struct wpa_driver_ops wpa_driver_ndiswrapper_ops; 00039 #endif /* CONFIG_DRIVER_NDISWRAPPER */ 00040 #ifdef CONFIG_DRIVER_BROADCOM 00041 extern struct wpa_driver_ops wpa_driver_broadcom_ops; /* driver_broadcom.c */ 00042 #endif /* CONFIG_DRIVER_BROADCOM */ 00043 #ifdef CONFIG_DRIVER_IPW 00044 extern struct wpa_driver_ops wpa_driver_ipw_ops; /* driver_ipw.c */ 00045 #endif /* CONFIG_DRIVER_IPW */ 00046 #ifdef CONFIG_DRIVER_BSD 00047 extern struct wpa_driver_ops wpa_driver_bsd_ops; /* driver_bsd.c */ 00048 #endif /* CONFIG_DRIVER_BSD */ 00049 #ifdef CONFIG_DRIVER_NDIS 00050 extern struct wpa_driver_ops wpa_driver_ndis_ops; /* driver_ndis.c */ 00051 #endif /* CONFIG_DRIVER_NDIS */ 00052 #ifdef CONFIG_DRIVER_WIRED 00053 extern struct wpa_driver_ops wpa_driver_wired_ops; /* driver_wired.c */ 00054 #endif /* CONFIG_DRIVER_WIRED */ 00055 #ifdef CONFIG_DRIVER_TEST 00056 extern struct wpa_driver_ops wpa_driver_test_ops; /* driver_test.c */ 00057 #endif /* CONFIG_DRIVER_TEST */ 00058 #ifdef CONFIG_DRIVER_RALINK 00059 extern struct wpa_driver_ops wpa_driver_ralink_ops; /* driver_ralink.c */ 00060 #endif /* CONFIG_DRIVER_RALINK */ 00061 #ifdef CONFIG_DRIVER_OSX 00062 extern struct wpa_driver_ops wpa_driver_osx_ops; /* driver_osx.m */ 00063 #endif /* CONFIG_DRIVER_OSX */ 00064 #ifdef CONFIG_DRIVER_IPHONE 00065 extern struct wpa_driver_ops wpa_driver_iphone_ops; /* driver_iphone.m */ 00066 #endif /* CONFIG_DRIVER_IPHONE */ 00067 #ifdef CONFIG_DRIVER_ROBOSWITCH 00068 /* driver_roboswitch.c */ 00069 extern struct wpa_driver_ops wpa_driver_roboswitch_ops; 00070 #endif /* CONFIG_DRIVER_ROBOSWITCH */ 00071 #ifdef CONFIG_DRIVER_ATHEROS 00072 extern struct wpa_driver_ops wpa_driver_atheros_ops; /* driver_atheros.c */ 00073 #endif /* CONFIG_DRIVER_ATHEROS */ 00074 #ifdef CONFIG_DRIVER_NONE 00075 extern struct wpa_driver_ops wpa_driver_none_ops; /* driver_none.c */ 00076 #endif /* CONFIG_DRIVER_NONE */ 00077 00078 00079 struct wpa_driver_ops *wpa_drivers[] = 00080 { 00081 #ifdef CONFIG_DRIVER_WEXT 00082 &wpa_driver_wext_ops, 00083 #endif /* CONFIG_DRIVER_WEXT */ 00084 #ifdef CONFIG_DRIVER_NL80211 00085 &wpa_driver_nl80211_ops, 00086 #endif /* CONFIG_DRIVER_NL80211 */ 00087 #ifdef CONFIG_DRIVER_HOSTAP 00088 &wpa_driver_hostap_ops, 00089 #endif /* CONFIG_DRIVER_HOSTAP */ 00090 #ifdef CONFIG_DRIVER_HERMES 00091 &wpa_driver_hermes_ops, 00092 #endif /* CONFIG_DRIVER_HERMES */ 00093 #ifdef CONFIG_DRIVER_MADWIFI 00094 &wpa_driver_madwifi_ops, 00095 #endif /* CONFIG_DRIVER_MADWIFI */ 00096 #ifdef CONFIG_DRIVER_ATMEL 00097 &wpa_driver_atmel_ops, 00098 #endif /* CONFIG_DRIVER_ATMEL */ 00099 #ifdef CONFIG_DRIVER_NDISWRAPPER 00100 &wpa_driver_ndiswrapper_ops, 00101 #endif /* CONFIG_DRIVER_NDISWRAPPER */ 00102 #ifdef CONFIG_DRIVER_BROADCOM 00103 &wpa_driver_broadcom_ops, 00104 #endif /* CONFIG_DRIVER_BROADCOM */ 00105 #ifdef CONFIG_DRIVER_IPW 00106 &wpa_driver_ipw_ops, 00107 #endif /* CONFIG_DRIVER_IPW */ 00108 #ifdef CONFIG_DRIVER_BSD 00109 &wpa_driver_bsd_ops, 00110 #endif /* CONFIG_DRIVER_BSD */ 00111 #ifdef CONFIG_DRIVER_NDIS 00112 &wpa_driver_ndis_ops, 00113 #endif /* CONFIG_DRIVER_NDIS */ 00114 #ifdef CONFIG_DRIVER_WIRED 00115 &wpa_driver_wired_ops, 00116 #endif /* CONFIG_DRIVER_WIRED */ 00117 #ifdef CONFIG_DRIVER_TEST 00118 &wpa_driver_test_ops, 00119 #endif /* CONFIG_DRIVER_TEST */ 00120 #ifdef CONFIG_DRIVER_RALINK 00121 &wpa_driver_ralink_ops, 00122 #endif /* CONFIG_DRIVER_RALINK */ 00123 #ifdef CONFIG_DRIVER_OSX 00124 &wpa_driver_osx_ops, 00125 #endif /* CONFIG_DRIVER_OSX */ 00126 #ifdef CONFIG_DRIVER_IPHONE 00127 &wpa_driver_iphone_ops, 00128 #endif /* CONFIG_DRIVER_IPHONE */ 00129 #ifdef CONFIG_DRIVER_ROBOSWITCH 00130 &wpa_driver_roboswitch_ops, 00131 #endif /* CONFIG_DRIVER_ROBOSWITCH */ 00132 #ifdef CONFIG_DRIVER_ATHEROS 00133 &wpa_driver_atheros_ops, 00134 #endif /* CONFIG_DRIVER_ATHEROS */ 00135 #ifdef CONFIG_DRIVER_NONE 00136 &wpa_driver_none_ops, 00137 #endif /* CONFIG_DRIVER_NONE */ 00138 NULL 00139 };