xref: /freebsd/contrib/wpa/src/drivers/drivers.c (revision 67350cb56a69468c118bd4ccf6e361b7ebfa9eb4)
139beb93cSSam Leffler /*
2e28a4053SRui Paulo  * Driver interface list
339beb93cSSam Leffler  * Copyright (c) 2004-2005, Jouni Malinen <j@w1.fi>
439beb93cSSam Leffler  *
5f05cddf9SRui Paulo  * This software may be distributed under the terms of the BSD license.
6f05cddf9SRui Paulo  * See README for more details.
739beb93cSSam Leffler  */
839beb93cSSam Leffler 
95b9c547cSRui Paulo #include "utils/includes.h"
105b9c547cSRui Paulo #include "utils/common.h"
115b9c547cSRui Paulo #include "driver.h"
1239beb93cSSam Leffler 
1339beb93cSSam Leffler 
14325151a3SRui Paulo const struct wpa_driver_ops *const wpa_drivers[] =
1539beb93cSSam Leffler {
1639beb93cSSam Leffler #ifdef CONFIG_DRIVER_NL80211
1739beb93cSSam Leffler 	&wpa_driver_nl80211_ops,
1839beb93cSSam Leffler #endif /* CONFIG_DRIVER_NL80211 */
195b9c547cSRui Paulo #ifdef CONFIG_DRIVER_WEXT
205b9c547cSRui Paulo 	&wpa_driver_wext_ops,
215b9c547cSRui Paulo #endif /* CONFIG_DRIVER_WEXT */
2239beb93cSSam Leffler #ifdef CONFIG_DRIVER_HOSTAP
2339beb93cSSam Leffler 	&wpa_driver_hostap_ops,
2439beb93cSSam Leffler #endif /* CONFIG_DRIVER_HOSTAP */
2539beb93cSSam Leffler #ifdef CONFIG_DRIVER_BSD
2639beb93cSSam Leffler 	&wpa_driver_bsd_ops,
2739beb93cSSam Leffler #endif /* CONFIG_DRIVER_BSD */
285b9c547cSRui Paulo #ifdef CONFIG_DRIVER_OPENBSD
295b9c547cSRui Paulo 	&wpa_driver_openbsd_ops,
305b9c547cSRui Paulo #endif /* CONFIG_DRIVER_OPENBSD */
3139beb93cSSam Leffler #ifdef CONFIG_DRIVER_NDIS
3239beb93cSSam Leffler 	&wpa_driver_ndis_ops,
3339beb93cSSam Leffler #endif /* CONFIG_DRIVER_NDIS */
3439beb93cSSam Leffler #ifdef CONFIG_DRIVER_WIRED
3539beb93cSSam Leffler 	&wpa_driver_wired_ops,
3639beb93cSSam Leffler #endif /* CONFIG_DRIVER_WIRED */
37*85732ac8SCy Schubert #ifdef CONFIG_DRIVER_MACSEC_LINUX
38*85732ac8SCy Schubert 	&wpa_driver_macsec_linux_ops,
39*85732ac8SCy Schubert #endif /* CONFIG_DRIVER_MACSEC_LINUX */
405b9c547cSRui Paulo #ifdef CONFIG_DRIVER_MACSEC_QCA
415b9c547cSRui Paulo 	&wpa_driver_macsec_qca_ops,
425b9c547cSRui Paulo #endif /* CONFIG_DRIVER_MACSEC_QCA */
4339beb93cSSam Leffler #ifdef CONFIG_DRIVER_ROBOSWITCH
4439beb93cSSam Leffler 	&wpa_driver_roboswitch_ops,
4539beb93cSSam Leffler #endif /* CONFIG_DRIVER_ROBOSWITCH */
46e28a4053SRui Paulo #ifdef CONFIG_DRIVER_ATHEROS
47e28a4053SRui Paulo 	&wpa_driver_atheros_ops,
48e28a4053SRui Paulo #endif /* CONFIG_DRIVER_ATHEROS */
49e28a4053SRui Paulo #ifdef CONFIG_DRIVER_NONE
50e28a4053SRui Paulo 	&wpa_driver_none_ops,
51e28a4053SRui Paulo #endif /* CONFIG_DRIVER_NONE */
5239beb93cSSam Leffler 	NULL
5339beb93cSSam Leffler };
54