xref: /freebsd/contrib/wpa/src/eap_common/eap_wsc_common.h (revision 0b3105a37d7adcadcb720112fed4dc4e8040be99)
1 /*
2  * EAP-WSC definitions for Wi-Fi Protected Setup
3  * Copyright (c) 2007, Jouni Malinen <j@w1.fi>
4  *
5  * This software may be distributed under the terms of the BSD license.
6  * See README for more details.
7  */
8 
9 #ifndef EAP_WSC_COMMON_H
10 #define EAP_WSC_COMMON_H
11 
12 #define EAP_VENDOR_TYPE_WSC 1
13 
14 #define WSC_FLAGS_MF 0x01
15 #define WSC_FLAGS_LF 0x02
16 
17 #define WSC_ID_REGISTRAR "WFA-SimpleConfig-Registrar-1-0"
18 #define WSC_ID_REGISTRAR_LEN 30
19 #define WSC_ID_ENROLLEE "WFA-SimpleConfig-Enrollee-1-0"
20 #define WSC_ID_ENROLLEE_LEN 29
21 
22 #define WSC_FRAGMENT_SIZE 1400
23 
24 
25 struct wpabuf * eap_wsc_build_frag_ack(u8 id, u8 code);
26 
27 #endif /* EAP_WSC_COMMON_H */
28