xref: /freebsd/contrib/wpa/src/drivers/drivers.c (revision 1a498d2e689f9e8220e2ad64b018eb1f0d11127e)
1 /*
2  * Driver interface list
3  * Copyright (c) 2004-2005, Jouni Malinen <j@w1.fi>
4  *
5  * This software may be distributed under the terms of the BSD license.
6  * See README for more details.
7  */
8 
9 #include "utils/includes.h"
10 #include "utils/common.h"
11 #include "driver.h"
12 
13 
14 const struct wpa_driver_ops *const wpa_drivers[] =
15 {
16 #ifdef CONFIG_DRIVER_NL80211
17 	&wpa_driver_nl80211_ops,
18 #endif /* CONFIG_DRIVER_NL80211 */
19 #ifdef CONFIG_DRIVER_WEXT
20 	&wpa_driver_wext_ops,
21 #endif /* CONFIG_DRIVER_WEXT */
22 #ifdef CONFIG_DRIVER_HOSTAP
23 	&wpa_driver_hostap_ops,
24 #endif /* CONFIG_DRIVER_HOSTAP */
25 #ifdef CONFIG_DRIVER_BSD
26 	&wpa_driver_bsd_ops,
27 #endif /* CONFIG_DRIVER_BSD */
28 #ifdef CONFIG_DRIVER_OPENBSD
29 	&wpa_driver_openbsd_ops,
30 #endif /* CONFIG_DRIVER_OPENBSD */
31 #ifdef CONFIG_DRIVER_NDIS
32 	&wpa_driver_ndis_ops,
33 #endif /* CONFIG_DRIVER_NDIS */
34 #ifdef CONFIG_DRIVER_WIRED
35 	&wpa_driver_wired_ops,
36 #endif /* CONFIG_DRIVER_WIRED */
37 #ifdef CONFIG_DRIVER_MACSEC_QCA
38 	&wpa_driver_macsec_qca_ops,
39 #endif /* CONFIG_DRIVER_MACSEC_QCA */
40 #ifdef CONFIG_DRIVER_ROBOSWITCH
41 	&wpa_driver_roboswitch_ops,
42 #endif /* CONFIG_DRIVER_ROBOSWITCH */
43 #ifdef CONFIG_DRIVER_ATHEROS
44 	&wpa_driver_atheros_ops,
45 #endif /* CONFIG_DRIVER_ATHEROS */
46 #ifdef CONFIG_DRIVER_NONE
47 	&wpa_driver_none_ops,
48 #endif /* CONFIG_DRIVER_NONE */
49 	NULL
50 };
51