Disconnect hostapd from building in base
[dragonfly.git] / contrib / hostapd / src / drivers / drivers.c
CommitLineData
a875087d 1/*
4781064b 2 * Driver interface list
a875087d
JL
3 * Copyright (c) 2004-2005, Jouni Malinen <j@w1.fi>
4 *
4781064b
JM
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
a875087d
JL
7 */
8
4781064b
JM
9#include "utils/includes.h"
10#include "utils/common.h"
11#include "driver.h"
a875087d
JL
12
13#ifdef CONFIG_DRIVER_WEXT
14extern struct wpa_driver_ops wpa_driver_wext_ops; /* driver_wext.c */
15#endif /* CONFIG_DRIVER_WEXT */
16#ifdef CONFIG_DRIVER_NL80211
17extern struct wpa_driver_ops wpa_driver_nl80211_ops; /* driver_nl80211.c */
18#endif /* CONFIG_DRIVER_NL80211 */
19#ifdef CONFIG_DRIVER_HOSTAP
20extern struct wpa_driver_ops wpa_driver_hostap_ops; /* driver_hostap.c */
21#endif /* CONFIG_DRIVER_HOSTAP */
a875087d
JL
22#ifdef CONFIG_DRIVER_MADWIFI
23extern struct wpa_driver_ops wpa_driver_madwifi_ops; /* driver_madwifi.c */
24#endif /* CONFIG_DRIVER_MADWIFI */
a875087d
JL
25#ifdef CONFIG_DRIVER_BSD
26extern struct wpa_driver_ops wpa_driver_bsd_ops; /* driver_bsd.c */
27#endif /* CONFIG_DRIVER_BSD */
4781064b
JM
28#ifdef CONFIG_DRIVER_OPENBSD
29extern struct wpa_driver_ops wpa_driver_openbsd_ops; /* driver_openbsd.c */
30#endif /* CONFIG_DRIVER_OPENBSD */
a875087d
JL
31#ifdef CONFIG_DRIVER_NDIS
32extern struct wpa_driver_ops wpa_driver_ndis_ops; /* driver_ndis.c */
33#endif /* CONFIG_DRIVER_NDIS */
34#ifdef CONFIG_DRIVER_WIRED
35extern struct wpa_driver_ops wpa_driver_wired_ops; /* driver_wired.c */
36#endif /* CONFIG_DRIVER_WIRED */
37#ifdef CONFIG_DRIVER_TEST
38extern struct wpa_driver_ops wpa_driver_test_ops; /* driver_test.c */
39#endif /* CONFIG_DRIVER_TEST */
a875087d
JL
40#ifdef CONFIG_DRIVER_ROBOSWITCH
41/* driver_roboswitch.c */
42extern struct wpa_driver_ops wpa_driver_roboswitch_ops;
43#endif /* CONFIG_DRIVER_ROBOSWITCH */
4781064b
JM
44#ifdef CONFIG_DRIVER_ATHEROS
45extern struct wpa_driver_ops wpa_driver_atheros_ops; /* driver_atheros.c */
46#endif /* CONFIG_DRIVER_ATHEROS */
47#ifdef CONFIG_DRIVER_NONE
48extern struct wpa_driver_ops wpa_driver_none_ops; /* driver_none.c */
49#endif /* CONFIG_DRIVER_NONE */
a875087d
JL
50
51
4781064b 52struct wpa_driver_ops *wpa_drivers[] =
a875087d 53{
a875087d
JL
54#ifdef CONFIG_DRIVER_NL80211
55 &wpa_driver_nl80211_ops,
56#endif /* CONFIG_DRIVER_NL80211 */
4781064b
JM
57#ifdef CONFIG_DRIVER_WEXT
58 &wpa_driver_wext_ops,
59#endif /* CONFIG_DRIVER_WEXT */
a875087d
JL
60#ifdef CONFIG_DRIVER_HOSTAP
61 &wpa_driver_hostap_ops,
62#endif /* CONFIG_DRIVER_HOSTAP */
a875087d
JL
63#ifdef CONFIG_DRIVER_MADWIFI
64 &wpa_driver_madwifi_ops,
65#endif /* CONFIG_DRIVER_MADWIFI */
a875087d
JL
66#ifdef CONFIG_DRIVER_BSD
67 &wpa_driver_bsd_ops,
68#endif /* CONFIG_DRIVER_BSD */
4781064b
JM
69#ifdef CONFIG_DRIVER_OPENBSD
70 &wpa_driver_openbsd_ops,
71#endif /* CONFIG_DRIVER_OPENBSD */
a875087d
JL
72#ifdef CONFIG_DRIVER_NDIS
73 &wpa_driver_ndis_ops,
74#endif /* CONFIG_DRIVER_NDIS */
75#ifdef CONFIG_DRIVER_WIRED
76 &wpa_driver_wired_ops,
77#endif /* CONFIG_DRIVER_WIRED */
78#ifdef CONFIG_DRIVER_TEST
79 &wpa_driver_test_ops,
80#endif /* CONFIG_DRIVER_TEST */
a875087d
JL
81#ifdef CONFIG_DRIVER_ROBOSWITCH
82 &wpa_driver_roboswitch_ops,
83#endif /* CONFIG_DRIVER_ROBOSWITCH */
4781064b
JM
84#ifdef CONFIG_DRIVER_ATHEROS
85 &wpa_driver_atheros_ops,
86#endif /* CONFIG_DRIVER_ATHEROS */
87#ifdef CONFIG_DRIVER_NONE
88 &wpa_driver_none_ops,
89#endif /* CONFIG_DRIVER_NONE */
a875087d
JL
90 NULL
91};