2 * WPA Supplicant - Windows/NDIS driver interface
3 * Copyright (c) 2004-2006, Jouni Malinen <j@w1.fi>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
9 * Alternatively, this software may be distributed under the terms of BSD
12 * See README and COPYING for more details.
18 #ifdef CONFIG_NDIS_EVENTS_INTEGRATED
19 struct ndis_events_data
;
20 struct ndis_events_data
* ndis_events_init(HANDLE
*read_pipe
, HANDLE
*event
,
23 void ndis_events_deinit(struct ndis_events_data
*events
);
24 #endif /* CONFIG_NDIS_EVENTS_INTEGRATED */
26 struct ndis_pmkid_entry
{
27 struct ndis_pmkid_entry
*next
;
32 struct wpa_driver_ndis_data
{
34 char ifname
[100]; /* GUID: {7EE3EFE5-C165-472F-986D-F6FBEDFE8C8D} */
37 HANDLE event_queue
; /* NDISUIO notifier MsgQueue */
38 HANDLE connected_event
; /* WpaSupplicantConnected event */
39 #endif /* _WIN32_WCE */
40 u8 own_addr
[ETH_ALEN
];
41 #ifdef CONFIG_USE_NDISUIO
43 #else /* CONFIG_USE_NDISUIO */
45 #endif /* CONFIG_USE_NDISUIO */
51 struct wpa_driver_capa capa
;
52 struct ndis_pmkid_entry
*pmkid
;
59 #ifdef CONFIG_NDIS_EVENTS_INTEGRATED
60 HANDLE events_pipe
, event_avail
;
61 struct ndis_events_data
*events
;
62 #endif /* CONFIG_NDIS_EVENTS_INTEGRATED */
65 #endif /* DRIVER_NDIS_H */