2 * hostapd / driver interface list
3 * Copyright (c) 2007, 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_HOSTAP
19 extern struct hapd_driver_ops wpa_driver_hostap_ops
; /* driver_hostap.c */
20 #endif /* CONFIG_DRIVER_HOSTAP */
21 #ifdef CONFIG_DRIVER_NL80211
22 extern struct hapd_driver_ops wpa_driver_nl80211_ops
; /* driver_nl80211.c */
23 #endif /* CONFIG_DRIVER_NL80211 */
24 #ifdef CONFIG_DRIVER_PRISM54
25 extern struct hapd_driver_ops wpa_driver_prism54_ops
; /* driver_prism54.c */
26 #endif /* CONFIG_DRIVER_PRISM54 */
27 #ifdef CONFIG_DRIVER_MADWIFI
28 extern struct hapd_driver_ops wpa_driver_madwifi_ops
; /* driver_madwifi.c */
29 #endif /* CONFIG_DRIVER_MADWIFI */
30 #ifdef CONFIG_DRIVER_ATHEROS
31 extern struct hapd_driver_ops wpa_driver_atheros_ops
; /* driver_atheros.c */
32 #endif /* CONFIG_DRIVER_ATHEROS */
33 #ifdef CONFIG_DRIVER_BSD
34 extern struct hapd_driver_ops wpa_driver_bsd_ops
; /* driver_bsd.c */
35 #endif /* CONFIG_DRIVER_BSD */
36 #ifdef CONFIG_DRIVER_WIRED
37 extern struct hapd_driver_ops wpa_driver_wired_ops
; /* driver_wired.c */
38 #endif /* CONFIG_DRIVER_WIRED */
39 #ifdef CONFIG_DRIVER_TEST
40 extern struct hapd_driver_ops wpa_driver_test_ops
; /* driver_test.c */
41 #endif /* CONFIG_DRIVER_TEST */
42 #ifdef CONFIG_DRIVER_NONE
43 extern struct hapd_driver_ops wpa_driver_none_ops
; /* driver_none.c */
44 #endif /* CONFIG_DRIVER_NONE */
47 struct hapd_driver_ops
*hostapd_drivers
[] =
49 #ifdef CONFIG_DRIVER_HOSTAP
50 &wpa_driver_hostap_ops
,
51 #endif /* CONFIG_DRIVER_HOSTAP */
52 #ifdef CONFIG_DRIVER_NL80211
53 &wpa_driver_nl80211_ops
,
54 #endif /* CONFIG_DRIVER_NL80211 */
55 #ifdef CONFIG_DRIVER_PRISM54
56 &wpa_driver_prism54_ops
,
57 #endif /* CONFIG_DRIVER_PRISM54 */
58 #ifdef CONFIG_DRIVER_MADWIFI
59 &wpa_driver_madwifi_ops
,
60 #endif /* CONFIG_DRIVER_MADWIFI */
61 #ifdef CONFIG_DRIVER_ATHEROS
62 &wpa_driver_atheros_ops
,
63 #endif /* CONFIG_DRIVER_ATHEROS */
64 #ifdef CONFIG_DRIVER_BSD
66 #endif /* CONFIG_DRIVER_BSD */
67 #ifdef CONFIG_DRIVER_WIRED
68 &wpa_driver_wired_ops
,
69 #endif /* CONFIG_DRIVER_WIRED */
70 #ifdef CONFIG_DRIVER_TEST
72 #endif /* CONFIG_DRIVER_TEST */
73 #ifdef CONFIG_DRIVER_NONE
75 #endif /* CONFIG_DRIVER_NONE */