xref: /freebsd/contrib/wpa/src/drivers/drivers.c (revision f7c32ed617858bcd22f8d1b03199099d50125721)
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_LINUX
38 	&wpa_driver_macsec_linux_ops,
39 #endif /* CONFIG_DRIVER_MACSEC_LINUX */
40 #ifdef CONFIG_DRIVER_MACSEC_QCA
41 	&wpa_driver_macsec_qca_ops,
42 #endif /* CONFIG_DRIVER_MACSEC_QCA */
43 #ifdef CONFIG_DRIVER_ROBOSWITCH
44 	&wpa_driver_roboswitch_ops,
45 #endif /* CONFIG_DRIVER_ROBOSWITCH */
46 #ifdef CONFIG_DRIVER_ATHEROS
47 	&wpa_driver_atheros_ops,
48 #endif /* CONFIG_DRIVER_ATHEROS */
49 #ifdef CONFIG_DRIVER_NONE
50 	&wpa_driver_none_ops,
51 #endif /* CONFIG_DRIVER_NONE */
52 	NULL
53 };
54