Change the kernel dev_t, representing a pointer to a specinfo structure,
[dragonfly.git] / contrib / wpa_supplicant-0.4.9 / driver_ndis.h
1 /*
2  * WPA Supplicant - Windows/NDIS driver interface
3  * Copyright (c) 2004-2005, Jouni Malinen <jkmaline@cc.hut.fi>
4  *
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.
8  *
9  * Alternatively, this software may be distributed under the terms of BSD
10  * license.
11  *
12  * See README and COPYING for more details.
13  */
14
15 #ifndef DRIVER_NDIS_H
16 #define DRIVER_NDIS_H
17
18 struct ndis_pmkid_entry {
19         struct ndis_pmkid_entry *next;
20         u8 bssid[ETH_ALEN];
21         u8 pmkid[16];
22 };
23
24 struct wpa_driver_ndis_data {
25         void *ctx;
26         char ifname[100];
27         u8 own_addr[ETH_ALEN];
28         LPADAPTER adapter;
29         u8 bssid[ETH_ALEN];
30
31         int has_capability;
32         int no_of_pmkid;
33         int radio_enabled;
34         struct wpa_driver_capa capa;
35         struct ndis_pmkid_entry *pmkid;
36         int event_sock;
37         char *adapter_desc;
38         int wired;
39 };
40
41 #endif /* DRIVER_NDIS_H */