summaryrefslogtreecommitdiffstats
path: root/contrib/wpa_supplicant/driver_ndis.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/wpa_supplicant/driver_ndis.h')
-rw-r--r--contrib/wpa_supplicant/driver_ndis.h29
1 files changed, 26 insertions, 3 deletions
diff --git a/contrib/wpa_supplicant/driver_ndis.h b/contrib/wpa_supplicant/driver_ndis.h
index 7906fdc..cdce4ba 100644
--- a/contrib/wpa_supplicant/driver_ndis.h
+++ b/contrib/wpa_supplicant/driver_ndis.h
@@ -1,6 +1,6 @@
/*
* WPA Supplicant - Windows/NDIS driver interface
- * Copyright (c) 2004-2005, Jouni Malinen <jkmaline@cc.hut.fi>
+ * Copyright (c) 2004-2006, Jouni Malinen <j@w1.fi>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
@@ -15,6 +15,14 @@
#ifndef DRIVER_NDIS_H
#define DRIVER_NDIS_H
+#ifdef CONFIG_NDIS_EVENTS_INTEGRATED
+struct ndis_events_data;
+struct ndis_events_data * ndis_events_init(HANDLE *read_pipe, HANDLE *event,
+ const char *ifname,
+ const char *desc);
+void ndis_events_deinit(struct ndis_events_data *events);
+#endif /* CONFIG_NDIS_EVENTS_INTEGRATED */
+
struct ndis_pmkid_entry {
struct ndis_pmkid_entry *next;
u8 bssid[ETH_ALEN];
@@ -23,9 +31,18 @@ struct ndis_pmkid_entry {
struct wpa_driver_ndis_data {
void *ctx;
- char ifname[100];
+ char ifname[100]; /* GUID: {7EE3EFE5-C165-472F-986D-F6FBEDFE8C8D} */
+#ifdef _WIN32_WCE
+ TCHAR *adapter_name;
+ HANDLE event_queue; /* NDISUIO notifier MsgQueue */
+ HANDLE connected_event; /* WpaSupplicantConnected event */
+#endif /* _WIN32_WCE */
u8 own_addr[ETH_ALEN];
+#ifdef CONFIG_USE_NDISUIO
+ HANDLE ndisuio;
+#else /* CONFIG_USE_NDISUIO */
LPADAPTER adapter;
+#endif /* CONFIG_USE_NDISUIO */
u8 bssid[ETH_ALEN];
int has_capability;
@@ -33,9 +50,15 @@ struct wpa_driver_ndis_data {
int radio_enabled;
struct wpa_driver_capa capa;
struct ndis_pmkid_entry *pmkid;
- int event_sock;
char *adapter_desc;
int wired;
+ int mode;
+ int wzc_disabled;
+ int oid_bssid_set;
+#ifdef CONFIG_NDIS_EVENTS_INTEGRATED
+ HANDLE events_pipe, event_avail;
+ struct ndis_events_data *events;
+#endif /* CONFIG_NDIS_EVENTS_INTEGRATED */
};
#endif /* DRIVER_NDIS_H */
OpenPOWER on IntegriCloud