• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * WPA Supplicant / driver interface list
3  * Copyright (c) 2004-2005, Jouni Malinen <j@w1.fi>
4  *
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.
8  *
9  * Alternatively, this software may be distributed under the terms of BSD
10  * license.
11  *
12  * See README and COPYING for more details.
13  */
14 
15 #include "includes.h"
16 
17 
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_HOSTAP
22 extern struct wpa_driver_ops wpa_driver_hostap_ops; /* driver_hostap.c */
23 #endif /* CONFIG_DRIVER_HOSTAP */
24 #ifdef CONFIG_DRIVER_PRISM54
25 extern struct wpa_driver_ops wpa_driver_prism54_ops; /* driver_prism54.c */
26 #endif /* CONFIG_DRIVER_PRISM54 */
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_CUSTOM
59 extern struct wpa_driver_ops wpa_driver_custom_ops; /* driver_ti.c */
60 #endif /* CONFIG_DRIVER_CUSTOM */
61 
62 
63 struct wpa_driver_ops *wpa_supplicant_drivers[] =
64 {
65 #ifdef CONFIG_DRIVER_WEXT
66 	&wpa_driver_wext_ops,
67 #endif /* CONFIG_DRIVER_WEXT */
68 #ifdef CONFIG_DRIVER_HOSTAP
69 	&wpa_driver_hostap_ops,
70 #endif /* CONFIG_DRIVER_HOSTAP */
71 #ifdef CONFIG_DRIVER_PRISM54
72 	&wpa_driver_prism54_ops,
73 #endif /* CONFIG_DRIVER_PRISM54 */
74 #ifdef CONFIG_DRIVER_HERMES
75 	&wpa_driver_hermes_ops,
76 #endif /* CONFIG_DRIVER_HERMES */
77 #ifdef CONFIG_DRIVER_MADWIFI
78 	&wpa_driver_madwifi_ops,
79 #endif /* CONFIG_DRIVER_MADWIFI */
80 #ifdef CONFIG_DRIVER_ATMEL
81 	&wpa_driver_atmel_ops,
82 #endif /* CONFIG_DRIVER_ATMEL */
83 #ifdef CONFIG_DRIVER_NDISWRAPPER
84 	&wpa_driver_ndiswrapper_ops,
85 #endif /* CONFIG_DRIVER_NDISWRAPPER */
86 #ifdef CONFIG_DRIVER_BROADCOM
87 	&wpa_driver_broadcom_ops,
88 #endif /* CONFIG_DRIVER_BROADCOM */
89 #ifdef CONFIG_DRIVER_IPW
90 	&wpa_driver_ipw_ops,
91 #endif /* CONFIG_DRIVER_IPW */
92 #ifdef CONFIG_DRIVER_BSD
93 	&wpa_driver_bsd_ops,
94 #endif /* CONFIG_DRIVER_BSD */
95 #ifdef CONFIG_DRIVER_NDIS
96 	&wpa_driver_ndis_ops,
97 #endif /* CONFIG_DRIVER_NDIS */
98 #ifdef CONFIG_DRIVER_WIRED
99 	&wpa_driver_wired_ops,
100 #endif /* CONFIG_DRIVER_WIRED */
101 #ifdef CONFIG_DRIVER_TEST
102 	&wpa_driver_test_ops,
103 #endif /* CONFIG_DRIVER_TEST */
104 #ifdef CONFIG_DRIVER_CUSTOM
105 	&wpa_driver_custom_ops,
106 #endif /* CONFIG_DRIVER_CUSTOM */
107 	NULL
108 };
109