drivers.c 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. #include "utils/includes.h"
  9. #include "utils/common.h"
  10. #include "driver.h"
  11. const struct wpa_driver_ops *const wpa_drivers[] =
  12. {
  13. #ifdef CONFIG_DRIVER_NL80211
  14. &wpa_driver_nl80211_ops,
  15. #endif /* CONFIG_DRIVER_NL80211 */
  16. #ifdef CONFIG_DRIVER_WEXT
  17. &wpa_driver_wext_ops,
  18. #endif /* CONFIG_DRIVER_WEXT */
  19. #ifdef CONFIG_DRIVER_HOSTAP
  20. &wpa_driver_hostap_ops,
  21. #endif /* CONFIG_DRIVER_HOSTAP */
  22. #ifdef CONFIG_DRIVER_BSD
  23. &wpa_driver_bsd_ops,
  24. #endif /* CONFIG_DRIVER_BSD */
  25. #ifdef CONFIG_DRIVER_OPENBSD
  26. &wpa_driver_openbsd_ops,
  27. #endif /* CONFIG_DRIVER_OPENBSD */
  28. #ifdef CONFIG_DRIVER_NDIS
  29. &wpa_driver_ndis_ops,
  30. #endif /* CONFIG_DRIVER_NDIS */
  31. #ifdef CONFIG_DRIVER_WIRED
  32. &wpa_driver_wired_ops,
  33. #endif /* CONFIG_DRIVER_WIRED */
  34. #ifdef CONFIG_DRIVER_MACSEC_QCA
  35. &wpa_driver_macsec_qca_ops,
  36. #endif /* CONFIG_DRIVER_MACSEC_QCA */
  37. #ifdef CONFIG_DRIVER_ROBOSWITCH
  38. &wpa_driver_roboswitch_ops,
  39. #endif /* CONFIG_DRIVER_ROBOSWITCH */
  40. #ifdef CONFIG_DRIVER_ATHEROS
  41. &wpa_driver_atheros_ops,
  42. #endif /* CONFIG_DRIVER_ATHEROS */
  43. #ifdef CONFIG_DRIVER_NONE
  44. &wpa_driver_none_ops,
  45. #endif /* CONFIG_DRIVER_NONE */
  46. NULL
  47. };