2 * WPA Supplicant / 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_PRISM54
28 extern struct wpa_driver_ops wpa_driver_prism54_ops
; /* driver_prism54.c */
29 #endif /* CONFIG_DRIVER_PRISM54 */
30 #ifdef CONFIG_DRIVER_HERMES
31 extern struct wpa_driver_ops wpa_driver_hermes_ops
; /* driver_hermes.c */
32 #endif /* CONFIG_DRIVER_HERMES */
33 #ifdef CONFIG_DRIVER_MADWIFI
34 extern struct wpa_driver_ops wpa_driver_madwifi_ops
; /* driver_madwifi.c */
35 #endif /* CONFIG_DRIVER_MADWIFI */
36 #ifdef CONFIG_DRIVER_ATMEL
37 extern struct wpa_driver_ops wpa_driver_atmel_ops
; /* driver_atmel.c */
38 #endif /* CONFIG_DRIVER_ATMEL */
39 #ifdef CONFIG_DRIVER_NDISWRAPPER
40 /* driver_ndiswrapper.c */
41 extern struct wpa_driver_ops wpa_driver_ndiswrapper_ops
;
42 #endif /* CONFIG_DRIVER_NDISWRAPPER */
43 #ifdef CONFIG_DRIVER_BROADCOM
44 extern struct wpa_driver_ops wpa_driver_broadcom_ops
; /* driver_broadcom.c */
45 #endif /* CONFIG_DRIVER_BROADCOM */
46 #ifdef CONFIG_DRIVER_IPW
47 extern struct wpa_driver_ops wpa_driver_ipw_ops
; /* driver_ipw.c */
48 #endif /* CONFIG_DRIVER_IPW */
49 #ifdef CONFIG_DRIVER_BSD
50 extern struct wpa_driver_ops wpa_driver_bsd_ops
; /* driver_bsd.c */
51 #endif /* CONFIG_DRIVER_BSD */
52 #ifdef CONFIG_DRIVER_NDIS
53 extern struct wpa_driver_ops wpa_driver_ndis_ops
; /* driver_ndis.c */
54 #endif /* CONFIG_DRIVER_NDIS */
55 #ifdef CONFIG_DRIVER_WIRED
56 extern struct wpa_driver_ops wpa_driver_wired_ops
; /* driver_wired.c */
57 #endif /* CONFIG_DRIVER_WIRED */
58 #ifdef CONFIG_DRIVER_TEST
59 extern struct wpa_driver_ops wpa_driver_test_ops
; /* driver_test.c */
60 #endif /* CONFIG_DRIVER_TEST */
61 #ifdef CONFIG_DRIVER_RALINK
62 extern struct wpa_driver_ops wpa_driver_ralink_ops
; /* driver_ralink.c */
63 #endif /* CONFIG_DRIVER_RALINK */
64 #ifdef CONFIG_DRIVER_OSX
65 extern struct wpa_driver_ops wpa_driver_osx_ops
; /* driver_osx.m */
66 #endif /* CONFIG_DRIVER_OSX */
67 #ifdef CONFIG_DRIVER_PS3
68 extern struct wpa_driver_ops wpa_driver_ps3_ops
; /* driver_ps3.c */
69 #endif /* CONFIG_DRIVER_PS3 */
70 #ifdef CONFIG_DRIVER_IPHONE
71 extern struct wpa_driver_ops wpa_driver_iphone_ops
; /* driver_iphone.m */
72 #endif /* CONFIG_DRIVER_IPHONE */
75 struct wpa_driver_ops
*wpa_supplicant_drivers
[] =
77 #ifdef CONFIG_DRIVER_WEXT
79 #endif /* CONFIG_DRIVER_WEXT */
80 #ifdef CONFIG_DRIVER_NL80211
81 &wpa_driver_nl80211_ops
,
82 #endif /* CONFIG_DRIVER_NL80211 */
83 #ifdef CONFIG_DRIVER_HOSTAP
84 &wpa_driver_hostap_ops
,
85 #endif /* CONFIG_DRIVER_HOSTAP */
86 #ifdef CONFIG_DRIVER_PRISM54
87 &wpa_driver_prism54_ops
,
88 #endif /* CONFIG_DRIVER_PRISM54 */
89 #ifdef CONFIG_DRIVER_HERMES
90 &wpa_driver_hermes_ops
,
91 #endif /* CONFIG_DRIVER_HERMES */
92 #ifdef CONFIG_DRIVER_MADWIFI
93 &wpa_driver_madwifi_ops
,
94 #endif /* CONFIG_DRIVER_MADWIFI */
95 #ifdef CONFIG_DRIVER_ATMEL
96 &wpa_driver_atmel_ops
,
97 #endif /* CONFIG_DRIVER_ATMEL */
98 #ifdef CONFIG_DRIVER_NDISWRAPPER
99 &wpa_driver_ndiswrapper_ops
,
100 #endif /* CONFIG_DRIVER_NDISWRAPPER */
101 #ifdef CONFIG_DRIVER_BROADCOM
102 &wpa_driver_broadcom_ops
,
103 #endif /* CONFIG_DRIVER_BROADCOM */
104 #ifdef CONFIG_DRIVER_IPW
106 #endif /* CONFIG_DRIVER_IPW */
107 #ifdef CONFIG_DRIVER_BSD
109 #endif /* CONFIG_DRIVER_BSD */
110 #ifdef CONFIG_DRIVER_NDIS
111 &wpa_driver_ndis_ops
,
112 #endif /* CONFIG_DRIVER_NDIS */
113 #ifdef CONFIG_DRIVER_WIRED
114 &wpa_driver_wired_ops
,
115 #endif /* CONFIG_DRIVER_WIRED */
116 #ifdef CONFIG_DRIVER_TEST
117 &wpa_driver_test_ops
,
118 #endif /* CONFIG_DRIVER_TEST */
119 #ifdef CONFIG_DRIVER_RALINK
120 &wpa_driver_ralink_ops
,
121 #endif /* CONFIG_DRIVER_RALINK */
122 #ifdef CONFIG_DRIVER_OSX
124 #endif /* CONFIG_DRIVER_OSX */
125 #ifdef CONFIG_DRIVER_PS3
127 #endif /* CONFIG_DRIVER_PS3 */
128 #ifdef CONFIG_DRIVER_IPHONE
129 &wpa_driver_iphone_ops
,
130 #endif /* CONFIG_DRIVER_IPHONE */