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