Home | History | Annotate | Download | only in drivers
      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 "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_BSD
     23 extern struct wpa_driver_ops wpa_driver_bsd_ops; /* driver_bsd.c */
     24 #endif /* CONFIG_DRIVER_BSD */
     25 #ifdef CONFIG_DRIVER_OPENBSD
     26 extern struct wpa_driver_ops wpa_driver_openbsd_ops; /* driver_openbsd.c */
     27 #endif /* CONFIG_DRIVER_OPENBSD */
     28 #ifdef CONFIG_DRIVER_NDIS
     29 extern struct wpa_driver_ops wpa_driver_ndis_ops; /* driver_ndis.c */
     30 #endif /* CONFIG_DRIVER_NDIS */
     31 #ifdef CONFIG_DRIVER_WIRED
     32 extern struct wpa_driver_ops wpa_driver_wired_ops; /* driver_wired.c */
     33 #endif /* CONFIG_DRIVER_WIRED */
     34 #ifdef CONFIG_DRIVER_MACSEC_QCA
     35  /* driver_macsec_qca.c */
     36 extern struct wpa_driver_ops wpa_driver_macsec_qca_ops;
     37 #endif /* CONFIG_DRIVER_MACSEC_QCA */
     38 #ifdef CONFIG_DRIVER_ROBOSWITCH
     39 /* driver_roboswitch.c */
     40 extern struct wpa_driver_ops wpa_driver_roboswitch_ops;
     41 #endif /* CONFIG_DRIVER_ROBOSWITCH */
     42 #ifdef CONFIG_DRIVER_ATHEROS
     43 extern struct wpa_driver_ops wpa_driver_atheros_ops; /* driver_atheros.c */
     44 #endif /* CONFIG_DRIVER_ATHEROS */
     45 #ifdef CONFIG_DRIVER_NONE
     46 extern struct wpa_driver_ops wpa_driver_none_ops; /* driver_none.c */
     47 #endif /* CONFIG_DRIVER_NONE */
     48 
     49 
     50 const struct wpa_driver_ops *const wpa_drivers[] =
     51 {
     52 #ifdef CONFIG_DRIVER_NL80211
     53 	&wpa_driver_nl80211_ops,
     54 #endif /* CONFIG_DRIVER_NL80211 */
     55 #ifdef CONFIG_DRIVER_WEXT
     56 	&wpa_driver_wext_ops,
     57 #endif /* CONFIG_DRIVER_WEXT */
     58 #ifdef CONFIG_DRIVER_HOSTAP
     59 	&wpa_driver_hostap_ops,
     60 #endif /* CONFIG_DRIVER_HOSTAP */
     61 #ifdef CONFIG_DRIVER_BSD
     62 	&wpa_driver_bsd_ops,
     63 #endif /* CONFIG_DRIVER_BSD */
     64 #ifdef CONFIG_DRIVER_OPENBSD
     65 	&wpa_driver_openbsd_ops,
     66 #endif /* CONFIG_DRIVER_OPENBSD */
     67 #ifdef CONFIG_DRIVER_NDIS
     68 	&wpa_driver_ndis_ops,
     69 #endif /* CONFIG_DRIVER_NDIS */
     70 #ifdef CONFIG_DRIVER_WIRED
     71 	&wpa_driver_wired_ops,
     72 #endif /* CONFIG_DRIVER_WIRED */
     73 #ifdef CONFIG_DRIVER_MACSEC_QCA
     74 	&wpa_driver_macsec_qca_ops,
     75 #endif /* CONFIG_DRIVER_MACSEC_QCA */
     76 #ifdef CONFIG_DRIVER_ROBOSWITCH
     77 	&wpa_driver_roboswitch_ops,
     78 #endif /* CONFIG_DRIVER_ROBOSWITCH */
     79 #ifdef CONFIG_DRIVER_ATHEROS
     80 	&wpa_driver_atheros_ops,
     81 #endif /* CONFIG_DRIVER_ATHEROS */
     82 #ifdef CONFIG_DRIVER_NONE
     83 	&wpa_driver_none_ops,
     84 #endif /* CONFIG_DRIVER_NONE */
     85 	NULL
     86 };
     87