2008-02-27 20:34:43 -05:00
|
|
|
/*
|
|
|
|
* hostapd / driver interface list
|
|
|
|
* Copyright (c) 2007, Jouni Malinen <j@w1.fi>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* Alternatively, this software may be distributed under the terms of BSD
|
|
|
|
* license.
|
|
|
|
*
|
|
|
|
* See README and COPYING for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "includes.h"
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef CONFIG_DRIVER_HOSTAP
|
2009-03-26 14:35:49 -04:00
|
|
|
extern struct hapd_driver_ops wpa_driver_hostap_ops; /* driver_hostap.c */
|
2008-02-27 20:34:43 -05:00
|
|
|
#endif /* CONFIG_DRIVER_HOSTAP */
|
|
|
|
#ifdef CONFIG_DRIVER_NL80211
|
2009-03-26 14:35:49 -04:00
|
|
|
extern struct hapd_driver_ops wpa_driver_nl80211_ops; /* driver_nl80211.c */
|
2008-02-27 20:34:43 -05:00
|
|
|
#endif /* CONFIG_DRIVER_NL80211 */
|
|
|
|
#ifdef CONFIG_DRIVER_PRISM54
|
2009-03-26 14:35:49 -04:00
|
|
|
extern struct hapd_driver_ops wpa_driver_prism54_ops; /* driver_prism54.c */
|
2008-02-27 20:34:43 -05:00
|
|
|
#endif /* CONFIG_DRIVER_PRISM54 */
|
|
|
|
#ifdef CONFIG_DRIVER_MADWIFI
|
2009-03-26 14:35:49 -04:00
|
|
|
extern struct hapd_driver_ops wpa_driver_madwifi_ops; /* driver_madwifi.c */
|
2008-02-27 20:34:43 -05:00
|
|
|
#endif /* CONFIG_DRIVER_MADWIFI */
|
2009-02-19 09:27:07 -05:00
|
|
|
#ifdef CONFIG_DRIVER_ATHEROS
|
2009-03-26 14:35:49 -04:00
|
|
|
extern struct hapd_driver_ops wpa_driver_atheros_ops; /* driver_atheros.c */
|
2009-02-19 09:27:07 -05:00
|
|
|
#endif /* CONFIG_DRIVER_ATHEROS */
|
2008-02-27 20:34:43 -05:00
|
|
|
#ifdef CONFIG_DRIVER_BSD
|
2009-03-26 14:35:49 -04:00
|
|
|
extern struct hapd_driver_ops wpa_driver_bsd_ops; /* driver_bsd.c */
|
2008-02-27 20:34:43 -05:00
|
|
|
#endif /* CONFIG_DRIVER_BSD */
|
|
|
|
#ifdef CONFIG_DRIVER_WIRED
|
2009-03-26 14:35:49 -04:00
|
|
|
extern struct hapd_driver_ops wpa_driver_wired_ops; /* driver_wired.c */
|
2008-02-27 20:34:43 -05:00
|
|
|
#endif /* CONFIG_DRIVER_WIRED */
|
|
|
|
#ifdef CONFIG_DRIVER_TEST
|
2009-03-26 14:35:49 -04:00
|
|
|
extern struct hapd_driver_ops wpa_driver_test_ops; /* driver_test.c */
|
2008-02-27 20:34:43 -05:00
|
|
|
#endif /* CONFIG_DRIVER_TEST */
|
2008-10-01 07:07:55 -04:00
|
|
|
#ifdef CONFIG_DRIVER_NONE
|
2009-03-26 14:35:49 -04:00
|
|
|
extern struct hapd_driver_ops wpa_driver_none_ops; /* driver_none.c */
|
2008-10-01 07:07:55 -04:00
|
|
|
#endif /* CONFIG_DRIVER_NONE */
|
2008-02-27 20:34:43 -05:00
|
|
|
|
|
|
|
|
2009-03-26 14:35:49 -04:00
|
|
|
struct hapd_driver_ops *hostapd_drivers[] =
|
2008-02-27 20:34:43 -05:00
|
|
|
{
|
|
|
|
#ifdef CONFIG_DRIVER_HOSTAP
|
|
|
|
&wpa_driver_hostap_ops,
|
|
|
|
#endif /* CONFIG_DRIVER_HOSTAP */
|
|
|
|
#ifdef CONFIG_DRIVER_NL80211
|
|
|
|
&wpa_driver_nl80211_ops,
|
|
|
|
#endif /* CONFIG_DRIVER_NL80211 */
|
|
|
|
#ifdef CONFIG_DRIVER_PRISM54
|
|
|
|
&wpa_driver_prism54_ops,
|
|
|
|
#endif /* CONFIG_DRIVER_PRISM54 */
|
|
|
|
#ifdef CONFIG_DRIVER_MADWIFI
|
|
|
|
&wpa_driver_madwifi_ops,
|
|
|
|
#endif /* CONFIG_DRIVER_MADWIFI */
|
2009-02-19 09:27:07 -05:00
|
|
|
#ifdef CONFIG_DRIVER_ATHEROS
|
|
|
|
&wpa_driver_atheros_ops,
|
|
|
|
#endif /* CONFIG_DRIVER_ATHEROS */
|
2008-02-27 20:34:43 -05:00
|
|
|
#ifdef CONFIG_DRIVER_BSD
|
|
|
|
&wpa_driver_bsd_ops,
|
|
|
|
#endif /* CONFIG_DRIVER_BSD */
|
|
|
|
#ifdef CONFIG_DRIVER_WIRED
|
|
|
|
&wpa_driver_wired_ops,
|
|
|
|
#endif /* CONFIG_DRIVER_WIRED */
|
|
|
|
#ifdef CONFIG_DRIVER_TEST
|
|
|
|
&wpa_driver_test_ops,
|
|
|
|
#endif /* CONFIG_DRIVER_TEST */
|
2008-10-01 07:07:55 -04:00
|
|
|
#ifdef CONFIG_DRIVER_NONE
|
|
|
|
&wpa_driver_none_ops,
|
|
|
|
#endif /* CONFIG_DRIVER_NONE */
|
2008-02-27 20:34:43 -05:00
|
|
|
NULL
|
|
|
|
};
|