2 * Driver interface list
3 * Copyright (c) 2004-2005, Jouni Malinen <j@w1.fi>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
9 * Alternatively, this software may be distributed under the terms of BSD
12 * See README and COPYING for more details.
18 #ifdef CONFIG_DRIVER_WEXT
19 extern struct wpa_driver_ops wpa_driver_wext_ops
; /* driver_wext.c */
20 #endif /* CONFIG_DRIVER_WEXT */
21 #ifdef CONFIG_DRIVER_NL80211
22 extern struct wpa_driver_ops wpa_driver_nl80211_ops
; /* driver_nl80211.c */
23 #endif /* CONFIG_DRIVER_NL80211 */
24 #ifdef CONFIG_DRIVER_HOSTAP
25 extern struct wpa_driver_ops wpa_driver_hostap_ops
; /* driver_hostap.c */
26 #endif /* CONFIG_DRIVER_HOSTAP */
27 #ifdef CONFIG_DRIVER_HERMES
28 extern struct wpa_driver_ops wpa_driver_hermes_ops
; /* driver_hermes.c */
29 #endif /* CONFIG_DRIVER_HERMES */
30 #ifdef CONFIG_DRIVER_MADWIFI
31 extern struct wpa_driver_ops wpa_driver_madwifi_ops
; /* driver_madwifi.c */
32 #endif /* CONFIG_DRIVER_MADWIFI */
33 #ifdef CONFIG_DRIVER_ATMEL
34 extern struct wpa_driver_ops wpa_driver_atmel_ops
; /* driver_atmel.c */
35 #endif /* CONFIG_DRIVER_ATMEL */
36 #ifdef CONFIG_DRIVER_NDISWRAPPER
37 /* driver_ndiswrapper.c */
38 extern struct wpa_driver_ops wpa_driver_ndiswrapper_ops
;
39 #endif /* CONFIG_DRIVER_NDISWRAPPER */
40 #ifdef CONFIG_DRIVER_BROADCOM
41 extern struct wpa_driver_ops wpa_driver_broadcom_ops
; /* driver_broadcom.c */
42 #endif /* CONFIG_DRIVER_BROADCOM */
43 #ifdef CONFIG_DRIVER_IPW
44 extern struct wpa_driver_ops wpa_driver_ipw_ops
; /* driver_ipw.c */
45 #endif /* CONFIG_DRIVER_IPW */
46 #ifdef CONFIG_DRIVER_BSD
47 extern struct wpa_driver_ops wpa_driver_bsd_ops
; /* driver_bsd.c */
48 #endif /* CONFIG_DRIVER_BSD */
49 #ifdef CONFIG_DRIVER_NDIS
50 extern struct wpa_driver_ops wpa_driver_ndis_ops
; /* driver_ndis.c */
51 #endif /* CONFIG_DRIVER_NDIS */
52 #ifdef CONFIG_DRIVER_WIRED
53 extern struct wpa_driver_ops wpa_driver_wired_ops
; /* driver_wired.c */
54 #endif /* CONFIG_DRIVER_WIRED */
55 #ifdef CONFIG_DRIVER_TEST
56 extern struct wpa_driver_ops wpa_driver_test_ops
; /* driver_test.c */
57 #endif /* CONFIG_DRIVER_TEST */
58 #ifdef CONFIG_DRIVER_RALINK
59 extern struct wpa_driver_ops wpa_driver_ralink_ops
; /* driver_ralink.c */
60 #endif /* CONFIG_DRIVER_RALINK */
61 #ifdef CONFIG_DRIVER_OSX
62 extern struct wpa_driver_ops wpa_driver_osx_ops
; /* driver_osx.m */
63 #endif /* CONFIG_DRIVER_OSX */
64 #ifdef CONFIG_DRIVER_IPHONE
65 extern struct wpa_driver_ops wpa_driver_iphone_ops
; /* driver_iphone.m */
66 #endif /* CONFIG_DRIVER_IPHONE */
67 #ifdef CONFIG_DRIVER_SANA2
68 extern struct wpa_driver_ops wpa_driver_sana2_ops
; /* driver_sana2.c */
69 #endif /* CONFIG_DRIVER_SANA2 */
70 #ifdef CONFIG_DRIVER_ROBOSWITCH
71 /* driver_roboswitch.c */
72 extern struct wpa_driver_ops wpa_driver_roboswitch_ops
;
73 #endif /* CONFIG_DRIVER_ROBOSWITCH */
74 #ifdef CONFIG_DRIVER_ATHEROS
75 extern struct wpa_driver_ops wpa_driver_atheros_ops
; /* driver_atheros.c */
76 #endif /* CONFIG_DRIVER_ATHEROS */
77 #ifdef CONFIG_DRIVER_NONE
78 extern struct wpa_driver_ops wpa_driver_none_ops
; /* driver_none.c */
79 #endif /* CONFIG_DRIVER_NONE */
82 struct wpa_driver_ops
*wpa_drivers
[] =
84 #ifdef CONFIG_DRIVER_WEXT
86 #endif /* CONFIG_DRIVER_WEXT */
87 #ifdef CONFIG_DRIVER_NL80211
88 &wpa_driver_nl80211_ops
,
89 #endif /* CONFIG_DRIVER_NL80211 */
90 #ifdef CONFIG_DRIVER_HOSTAP
91 &wpa_driver_hostap_ops
,
92 #endif /* CONFIG_DRIVER_HOSTAP */
93 #ifdef CONFIG_DRIVER_HERMES
94 &wpa_driver_hermes_ops
,
95 #endif /* CONFIG_DRIVER_HERMES */
96 #ifdef CONFIG_DRIVER_MADWIFI
97 &wpa_driver_madwifi_ops
,
98 #endif /* CONFIG_DRIVER_MADWIFI */
99 #ifdef CONFIG_DRIVER_ATMEL
100 &wpa_driver_atmel_ops
,
101 #endif /* CONFIG_DRIVER_ATMEL */
102 #ifdef CONFIG_DRIVER_NDISWRAPPER
103 &wpa_driver_ndiswrapper_ops
,
104 #endif /* CONFIG_DRIVER_NDISWRAPPER */
105 #ifdef CONFIG_DRIVER_BROADCOM
106 &wpa_driver_broadcom_ops
,
107 #endif /* CONFIG_DRIVER_BROADCOM */
108 #ifdef CONFIG_DRIVER_IPW
110 #endif /* CONFIG_DRIVER_IPW */
111 #ifdef CONFIG_DRIVER_BSD
113 #endif /* CONFIG_DRIVER_BSD */
114 #ifdef CONFIG_DRIVER_NDIS
115 &wpa_driver_ndis_ops
,
116 #endif /* CONFIG_DRIVER_NDIS */
117 #ifdef CONFIG_DRIVER_WIRED
118 &wpa_driver_wired_ops
,
119 #endif /* CONFIG_DRIVER_WIRED */
120 #ifdef CONFIG_DRIVER_TEST
121 &wpa_driver_test_ops
,
122 #endif /* CONFIG_DRIVER_TEST */
123 #ifdef CONFIG_DRIVER_RALINK
124 &wpa_driver_ralink_ops
,
125 #endif /* CONFIG_DRIVER_RALINK */
126 #ifdef CONFIG_DRIVER_OSX
128 #endif /* CONFIG_DRIVER_OSX */
129 #ifdef CONFIG_DRIVER_IPHONE
130 &wpa_driver_iphone_ops
,
131 #endif /* CONFIG_DRIVER_IPHONE */
132 #ifdef CONFIG_DRIVER_SANA2
133 &wpa_driver_sana2_ops
,
134 #endif /* CONFIG_DRIVER_SANA2 */
135 #ifdef CONFIG_DRIVER_ROBOSWITCH
136 &wpa_driver_roboswitch_ops
,
137 #endif /* CONFIG_DRIVER_ROBOSWITCH */
138 #ifdef CONFIG_DRIVER_ATHEROS
139 &wpa_driver_atheros_ops
,
140 #endif /* CONFIG_DRIVER_ATHEROS */
141 #ifdef CONFIG_DRIVER_NONE
142 &wpa_driver_none_ops
,
143 #endif /* CONFIG_DRIVER_NONE */