Sync usage with man page.
[netbsd-mini2440.git] / dist / wpa / hostapd / drivers.c
blobe2b75f8ea9b0f6bddc9e6d3af84ad4407afe06a6
1 /*
2 * hostapd / driver interface list
3 * Copyright (c) 2007, Jouni Malinen <j@w1.fi>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
9 * Alternatively, this software may be distributed under the terms of BSD
10 * license.
12 * See README and COPYING for more details.
15 #include "includes.h"
18 #ifdef CONFIG_DRIVER_HOSTAP
19 extern struct wpa_driver_ops wpa_driver_hostap_ops; /* driver_hostap.c */
20 #endif /* CONFIG_DRIVER_HOSTAP */
21 #ifdef CONFIG_DRIVER_NL80211
22 extern struct wpa_driver_ops wpa_driver_nl80211_ops; /* driver_nl80211.c */
23 #endif /* CONFIG_DRIVER_NL80211 */
24 #ifdef CONFIG_DRIVER_PRISM54
25 extern struct wpa_driver_ops wpa_driver_prism54_ops; /* driver_prism54.c */
26 #endif /* CONFIG_DRIVER_PRISM54 */
27 #ifdef CONFIG_DRIVER_MADWIFI
28 extern struct wpa_driver_ops wpa_driver_madwifi_ops; /* driver_madwifi.c */
29 #endif /* CONFIG_DRIVER_MADWIFI */
30 #ifdef CONFIG_DRIVER_BSD
31 extern const struct wpa_driver_ops wpa_driver_bsd_ops; /* driver_bsd.c */
32 #endif /* CONFIG_DRIVER_BSD */
33 #ifdef CONFIG_DRIVER_WIRED
34 extern struct wpa_driver_ops wpa_driver_wired_ops; /* driver_wired.c */
35 #endif /* CONFIG_DRIVER_WIRED */
36 #ifdef CONFIG_DRIVER_TEST
37 extern struct wpa_driver_ops wpa_driver_test_ops; /* driver_test.c */
38 #endif /* CONFIG_DRIVER_TEST */
41 const struct wpa_driver_ops * const hostapd_drivers[] =
43 #ifdef CONFIG_DRIVER_HOSTAP
44 &wpa_driver_hostap_ops,
45 #endif /* CONFIG_DRIVER_HOSTAP */
46 #ifdef CONFIG_DRIVER_NL80211
47 &wpa_driver_nl80211_ops,
48 #endif /* CONFIG_DRIVER_NL80211 */
49 #ifdef CONFIG_DRIVER_PRISM54
50 &wpa_driver_prism54_ops,
51 #endif /* CONFIG_DRIVER_PRISM54 */
52 #ifdef CONFIG_DRIVER_MADWIFI
53 &wpa_driver_madwifi_ops,
54 #endif /* CONFIG_DRIVER_MADWIFI */
55 #ifdef CONFIG_DRIVER_BSD
56 &wpa_driver_bsd_ops,
57 #endif /* CONFIG_DRIVER_BSD */
58 #ifdef CONFIG_DRIVER_WIRED
59 &wpa_driver_wired_ops,
60 #endif /* CONFIG_DRIVER_WIRED */
61 #ifdef CONFIG_DRIVER_TEST
62 &wpa_driver_test_ops,
63 #endif /* CONFIG_DRIVER_TEST */
64 NULL