1 /* 2 * Driver interface list 3 * Copyright (c) 2004-2005, Jouni Malinen <j@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 "utils/includes.h" 10 #include "utils/common.h" 11 #include "driver.h" 12 13 #ifdef CONFIG_DRIVER_WEXT 14 extern struct wpa_driver_ops wpa_driver_wext_ops; /* driver_wext.c */ 15 #endif /* CONFIG_DRIVER_WEXT */ 16 #ifdef CONFIG_DRIVER_NL80211 17 extern struct wpa_driver_ops wpa_driver_nl80211_ops; /* driver_nl80211.c */ 18 #endif /* CONFIG_DRIVER_NL80211 */ 19 #ifdef CONFIG_DRIVER_HOSTAP 20 extern struct wpa_driver_ops wpa_driver_hostap_ops; /* driver_hostap.c */ 21 #endif /* CONFIG_DRIVER_HOSTAP */ 22 #ifdef CONFIG_DRIVER_MADWIFI 23 extern struct wpa_driver_ops wpa_driver_madwifi_ops; /* driver_madwifi.c */ 24 #endif /* CONFIG_DRIVER_MADWIFI */ 25 #ifdef CONFIG_DRIVER_BSD 26 extern struct wpa_driver_ops wpa_driver_bsd_ops; /* driver_bsd.c */ 27 #endif /* CONFIG_DRIVER_BSD */ 28 #ifdef CONFIG_DRIVER_OPENBSD 29 extern struct wpa_driver_ops wpa_driver_openbsd_ops; /* driver_openbsd.c */ 30 #endif /* CONFIG_DRIVER_OPENBSD */ 31 #ifdef CONFIG_DRIVER_NDIS 32 extern struct wpa_driver_ops wpa_driver_ndis_ops; /* driver_ndis.c */ 33 #endif /* CONFIG_DRIVER_NDIS */ 34 #ifdef CONFIG_DRIVER_WIRED 35 extern struct wpa_driver_ops wpa_driver_wired_ops; /* driver_wired.c */ 36 #endif /* CONFIG_DRIVER_WIRED */ 37 #ifdef CONFIG_DRIVER_TEST 38 extern struct wpa_driver_ops wpa_driver_test_ops; /* driver_test.c */ 39 #endif /* CONFIG_DRIVER_TEST */ 40 #ifdef CONFIG_DRIVER_ROBOSWITCH 41 /* driver_roboswitch.c */ 42 extern struct wpa_driver_ops wpa_driver_roboswitch_ops; 43 #endif /* CONFIG_DRIVER_ROBOSWITCH */ 44 #ifdef CONFIG_DRIVER_ATHEROS 45 extern struct wpa_driver_ops wpa_driver_atheros_ops; /* driver_atheros.c */ 46 #endif /* CONFIG_DRIVER_ATHEROS */ 47 #ifdef CONFIG_DRIVER_NONE 48 extern struct wpa_driver_ops wpa_driver_none_ops; /* driver_none.c */ 49 #endif /* CONFIG_DRIVER_NONE */ 50 51 52 struct wpa_driver_ops *wpa_drivers[] = 53 { 54 #ifdef CONFIG_DRIVER_NL80211 55 &wpa_driver_nl80211_ops, 56 #endif /* CONFIG_DRIVER_NL80211 */ 57 #ifdef CONFIG_DRIVER_WEXT 58 &wpa_driver_wext_ops, 59 #endif /* CONFIG_DRIVER_WEXT */ 60 #ifdef CONFIG_DRIVER_HOSTAP 61 &wpa_driver_hostap_ops, 62 #endif /* CONFIG_DRIVER_HOSTAP */ 63 #ifdef CONFIG_DRIVER_MADWIFI 64 &wpa_driver_madwifi_ops, 65 #endif /* CONFIG_DRIVER_MADWIFI */ 66 #ifdef CONFIG_DRIVER_BSD 67 &wpa_driver_bsd_ops, 68 #endif /* CONFIG_DRIVER_BSD */ 69 #ifdef CONFIG_DRIVER_OPENBSD 70 &wpa_driver_openbsd_ops, 71 #endif /* CONFIG_DRIVER_OPENBSD */ 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 */ 81 #ifdef CONFIG_DRIVER_ROBOSWITCH 82 &wpa_driver_roboswitch_ops, 83 #endif /* CONFIG_DRIVER_ROBOSWITCH */ 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 */ 90 NULL 91 }; 92