Re-enable hardware UDP/TCP checksum calculation with pseudo header on
[dragonfly/port-amd64.git] / contrib / wpa_supplicant-0.4.9 / driver_ndis.h
blob7906fdc5b04ed0da87379ef79a9f035dee33b778
1 /*
2 * WPA Supplicant - Windows/NDIS driver interface
3 * Copyright (c) 2004-2005, Jouni Malinen <jkmaline@cc.hut.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
10 * license.
12 * See README and COPYING for more details.
15 #ifndef DRIVER_NDIS_H
16 #define DRIVER_NDIS_H
18 struct ndis_pmkid_entry {
19 struct ndis_pmkid_entry *next;
20 u8 bssid[ETH_ALEN];
21 u8 pmkid[16];
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];
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;
41 #endif /* DRIVER_NDIS_H */