hostapd: Update vendor branch to 0.6.10
[dragonfly.git] / contrib / hostapd / src / eap_common / eap_wsc_common.h
blobfdf61d317de60e2831d437b4fa3e97286c3840c6
1 /*
2 * EAP-WSC definitions for Wi-Fi Protected Setup
3 * Copyright (c) 2007, 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
10 * license.
12 * See README and COPYING for more details.
15 #ifndef EAP_WSC_COMMON_H
16 #define EAP_WSC_COMMON_H
18 #define EAP_VENDOR_TYPE_WSC 1
20 #define WSC_FLAGS_MF 0x01
21 #define WSC_FLAGS_LF 0x02
23 #define WSC_ID_REGISTRAR "WFA-SimpleConfig-Registrar-1-0"
24 #define WSC_ID_REGISTRAR_LEN 30
25 #define WSC_ID_ENROLLEE "WFA-SimpleConfig-Enrollee-1-0"
26 #define WSC_ID_ENROLLEE_LEN 29
28 #define WSC_FRAGMENT_SIZE 1400
31 struct wpabuf * eap_wsc_build_frag_ack(u8 id, u8 code);
33 #endif /* EAP_WSC_COMMON_H */