wpa_supplicant / hostapd 2.0

driver_ndis.h

Go to the documentation of this file.
00001 
00010 #ifndef DRIVER_NDIS_H
00011 #define DRIVER_NDIS_H
00012 
00013 #ifdef CONFIG_NDIS_EVENTS_INTEGRATED
00014 struct ndis_events_data;
00015 struct ndis_events_data * ndis_events_init(HANDLE *read_pipe, HANDLE *event,
00016                                            const char *ifname,
00017                                            const char *desc);
00018 void ndis_events_deinit(struct ndis_events_data *events);
00019 #endif /* CONFIG_NDIS_EVENTS_INTEGRATED */
00020 
00021 struct ndis_pmkid_entry {
00022         struct ndis_pmkid_entry *next;
00023         u8 bssid[ETH_ALEN];
00024         u8 pmkid[16];
00025 };
00026 
00027 struct wpa_driver_ndis_data {
00028         void *ctx;
00029         char ifname[100]; /* GUID: {7EE3EFE5-C165-472F-986D-F6FBEDFE8C8D} */
00030 #ifdef _WIN32_WCE
00031         TCHAR *adapter_name;
00032         HANDLE event_queue; /* NDISUIO notifier MsgQueue */
00033         HANDLE connected_event; /* WpaSupplicantConnected event */
00034 #endif /* _WIN32_WCE */
00035         u8 own_addr[ETH_ALEN];
00036 #ifdef CONFIG_USE_NDISUIO
00037         HANDLE ndisuio;
00038 #else /* CONFIG_USE_NDISUIO */
00039         LPADAPTER adapter;
00040 #endif /* CONFIG_USE_NDISUIO */
00041         u8 bssid[ETH_ALEN];
00042 
00043         int has_capability;
00044         int no_of_pmkid;
00045         int radio_enabled;
00046         struct wpa_driver_capa capa;
00047         struct ndis_pmkid_entry *pmkid;
00048         char *adapter_desc;
00049         int wired;
00050         int native80211;
00051         int mode;
00052         int wzc_disabled;
00053         int oid_bssid_set;
00054 #ifdef CONFIG_NDIS_EVENTS_INTEGRATED
00055         HANDLE events_pipe, event_avail;
00056         struct ndis_events_data *events;
00057 #endif /* CONFIG_NDIS_EVENTS_INTEGRATED */
00058 };
00059 
00060 #endif /* DRIVER_NDIS_H */
00061 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines