2008-02-28 02:34:43 +01:00
|
|
|
/*
|
2009-04-09 12:40:12 +02:00
|
|
|
* Driver interface list
|
2008-02-28 02:34:43 +01:00
|
|
|
* Copyright (c) 2004-2005, Jouni Malinen <j@w1.fi>
|
|
|
|
*
|
2012-02-11 15:46:35 +01:00
|
|
|
* This software may be distributed under the terms of the BSD license.
|
|
|
|
* See README for more details.
|
2008-02-28 02:34:43 +01:00
|
|
|
*/
|
|
|
|
|
2013-12-31 18:19:37 +01:00
|
|
|
#include "utils/includes.h"
|
|
|
|
#include "utils/common.h"
|
|
|
|
#include "driver.h"
|
2008-02-28 02:34:43 +01:00
|
|
|
|
|
|
|
#ifdef CONFIG_DRIVER_WEXT
|
|
|
|
extern struct wpa_driver_ops wpa_driver_wext_ops; /* driver_wext.c */
|
|
|
|
#endif /* CONFIG_DRIVER_WEXT */
|
2008-06-06 15:55:42 +02:00
|
|
|
#ifdef CONFIG_DRIVER_NL80211
|
|
|
|
extern struct wpa_driver_ops wpa_driver_nl80211_ops; /* driver_nl80211.c */
|
|
|
|
#endif /* CONFIG_DRIVER_NL80211 */
|
2008-02-28 02:34:43 +01:00
|
|
|
#ifdef CONFIG_DRIVER_HOSTAP
|
|
|
|
extern struct wpa_driver_ops wpa_driver_hostap_ops; /* driver_hostap.c */
|
|
|
|
#endif /* CONFIG_DRIVER_HOSTAP */
|
|
|
|
#ifdef CONFIG_DRIVER_BSD
|
|
|
|
extern struct wpa_driver_ops wpa_driver_bsd_ops; /* driver_bsd.c */
|
|
|
|
#endif /* CONFIG_DRIVER_BSD */
|
2013-02-03 20:16:29 +01:00
|
|
|
#ifdef CONFIG_DRIVER_OPENBSD
|
|
|
|
extern struct wpa_driver_ops wpa_driver_openbsd_ops; /* driver_openbsd.c */
|
|
|
|
#endif /* CONFIG_DRIVER_OPENBSD */
|
2008-02-28 02:34:43 +01:00
|
|
|
#ifdef CONFIG_DRIVER_NDIS
|
|
|
|
extern struct wpa_driver_ops wpa_driver_ndis_ops; /* driver_ndis.c */
|
|
|
|
#endif /* CONFIG_DRIVER_NDIS */
|
|
|
|
#ifdef CONFIG_DRIVER_WIRED
|
|
|
|
extern struct wpa_driver_ops wpa_driver_wired_ops; /* driver_wired.c */
|
|
|
|
#endif /* CONFIG_DRIVER_WIRED */
|
2014-03-25 20:39:02 +01:00
|
|
|
#ifdef CONFIG_DRIVER_MACSEC_QCA
|
|
|
|
/* driver_macsec_qca.c */
|
|
|
|
extern struct wpa_driver_ops wpa_driver_macsec_qca_ops;
|
|
|
|
#endif /* CONFIG_DRIVER_MACSEC_QCA */
|
2008-11-18 15:30:32 +01:00
|
|
|
#ifdef CONFIG_DRIVER_ROBOSWITCH
|
|
|
|
/* driver_roboswitch.c */
|
|
|
|
extern struct wpa_driver_ops wpa_driver_roboswitch_ops;
|
|
|
|
#endif /* CONFIG_DRIVER_ROBOSWITCH */
|
2009-04-09 12:40:12 +02:00
|
|
|
#ifdef CONFIG_DRIVER_ATHEROS
|
|
|
|
extern struct wpa_driver_ops wpa_driver_atheros_ops; /* driver_atheros.c */
|
|
|
|
#endif /* CONFIG_DRIVER_ATHEROS */
|
|
|
|
#ifdef CONFIG_DRIVER_NONE
|
|
|
|
extern struct wpa_driver_ops wpa_driver_none_ops; /* driver_none.c */
|
|
|
|
#endif /* CONFIG_DRIVER_NONE */
|
2008-02-28 02:34:43 +01:00
|
|
|
|
|
|
|
|
2015-04-24 09:19:53 +02:00
|
|
|
const struct wpa_driver_ops *const wpa_drivers[] =
|
2008-02-28 02:34:43 +01:00
|
|
|
{
|
2008-06-06 15:55:42 +02:00
|
|
|
#ifdef CONFIG_DRIVER_NL80211
|
|
|
|
&wpa_driver_nl80211_ops,
|
|
|
|
#endif /* CONFIG_DRIVER_NL80211 */
|
2013-04-29 15:55:44 +02:00
|
|
|
#ifdef CONFIG_DRIVER_WEXT
|
|
|
|
&wpa_driver_wext_ops,
|
|
|
|
#endif /* CONFIG_DRIVER_WEXT */
|
2008-02-28 02:34:43 +01:00
|
|
|
#ifdef CONFIG_DRIVER_HOSTAP
|
|
|
|
&wpa_driver_hostap_ops,
|
|
|
|
#endif /* CONFIG_DRIVER_HOSTAP */
|
|
|
|
#ifdef CONFIG_DRIVER_BSD
|
|
|
|
&wpa_driver_bsd_ops,
|
|
|
|
#endif /* CONFIG_DRIVER_BSD */
|
2013-02-03 20:16:29 +01:00
|
|
|
#ifdef CONFIG_DRIVER_OPENBSD
|
|
|
|
&wpa_driver_openbsd_ops,
|
|
|
|
#endif /* CONFIG_DRIVER_OPENBSD */
|
2008-02-28 02:34:43 +01:00
|
|
|
#ifdef CONFIG_DRIVER_NDIS
|
|
|
|
&wpa_driver_ndis_ops,
|
|
|
|
#endif /* CONFIG_DRIVER_NDIS */
|
|
|
|
#ifdef CONFIG_DRIVER_WIRED
|
|
|
|
&wpa_driver_wired_ops,
|
|
|
|
#endif /* CONFIG_DRIVER_WIRED */
|
2014-03-25 20:39:02 +01:00
|
|
|
#ifdef CONFIG_DRIVER_MACSEC_QCA
|
|
|
|
&wpa_driver_macsec_qca_ops,
|
|
|
|
#endif /* CONFIG_DRIVER_MACSEC_QCA */
|
2008-11-18 15:30:32 +01:00
|
|
|
#ifdef CONFIG_DRIVER_ROBOSWITCH
|
|
|
|
&wpa_driver_roboswitch_ops,
|
|
|
|
#endif /* CONFIG_DRIVER_ROBOSWITCH */
|
2009-04-09 12:40:12 +02:00
|
|
|
#ifdef CONFIG_DRIVER_ATHEROS
|
|
|
|
&wpa_driver_atheros_ops,
|
|
|
|
#endif /* CONFIG_DRIVER_ATHEROS */
|
|
|
|
#ifdef CONFIG_DRIVER_NONE
|
|
|
|
&wpa_driver_none_ops,
|
|
|
|
#endif /* CONFIG_DRIVER_NONE */
|
2008-02-28 02:34:43 +01:00
|
|
|
NULL
|
|
|
|
};
|