b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 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 | void (*wpa_supplicant_event)(void *ctx, enum wpa_event_type event, |
| 14 | union wpa_event_data *data); |
| 15 | void (*wpa_supplicant_event_global)(void *ctx, enum wpa_event_type event, |
| 16 | union wpa_event_data *data); |
| 17 | |
| 18 | const struct wpa_driver_ops *const wpa_drivers[] = |
| 19 | { |
| 20 | #ifdef CONFIG_DRIVER_NL80211 |
| 21 | &wpa_driver_nl80211_ops, |
| 22 | #endif /* CONFIG_DRIVER_NL80211 */ |
| 23 | #ifdef CONFIG_DRIVER_WEXT |
| 24 | &wpa_driver_wext_ops, |
| 25 | #endif /* CONFIG_DRIVER_WEXT */ |
| 26 | #ifdef CONFIG_DRIVER_HOSTAP |
| 27 | &wpa_driver_hostap_ops, |
| 28 | #endif /* CONFIG_DRIVER_HOSTAP */ |
| 29 | #ifdef CONFIG_DRIVER_BSD |
| 30 | &wpa_driver_bsd_ops, |
| 31 | #endif /* CONFIG_DRIVER_BSD */ |
| 32 | #ifdef CONFIG_DRIVER_OPENBSD |
| 33 | &wpa_driver_openbsd_ops, |
| 34 | #endif /* CONFIG_DRIVER_OPENBSD */ |
| 35 | #ifdef CONFIG_DRIVER_NDIS |
| 36 | &wpa_driver_ndis_ops, |
| 37 | #endif /* CONFIG_DRIVER_NDIS */ |
| 38 | #ifdef CONFIG_DRIVER_WIRED |
| 39 | &wpa_driver_wired_ops, |
| 40 | #endif /* CONFIG_DRIVER_WIRED */ |
| 41 | #ifdef CONFIG_DRIVER_MACSEC_LINUX |
| 42 | &wpa_driver_macsec_linux_ops, |
| 43 | #endif /* CONFIG_DRIVER_MACSEC_LINUX */ |
| 44 | #ifdef CONFIG_DRIVER_MACSEC_QCA |
| 45 | &wpa_driver_macsec_qca_ops, |
| 46 | #endif /* CONFIG_DRIVER_MACSEC_QCA */ |
| 47 | #ifdef CONFIG_DRIVER_ROBOSWITCH |
| 48 | &wpa_driver_roboswitch_ops, |
| 49 | #endif /* CONFIG_DRIVER_ROBOSWITCH */ |
| 50 | #ifdef CONFIG_DRIVER_ATHEROS |
| 51 | &wpa_driver_atheros_ops, |
| 52 | #endif /* CONFIG_DRIVER_ATHEROS */ |
| 53 | #ifdef CONFIG_DRIVER_NONE |
| 54 | &wpa_driver_none_ops, |
| 55 | #endif /* CONFIG_DRIVER_NONE */ |
| 56 | NULL |
| 57 | }; |