~ubuntu-branches/ubuntu/utopic/moonshot-gss-eap/utopic-backports

« back to all changes in this revision

Viewing changes to libeap/src/eap_common/eap_wsc_common.h

  • Committer: Package Import Robot
  • Author(s): Sam Hartman
  • Date: 2014-09-16 08:38:39 UTC
  • Revision ID: package-import@ubuntu.com-20140916083839-ipqco3thb1wcwvs0
Tags: upstream-0.9.2
ImportĀ upstreamĀ versionĀ 0.9.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * EAP-WSC definitions for Wi-Fi Protected Setup
 
3
 * Copyright (c) 2007, Jouni Malinen <j@w1.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 EAP_WSC_COMMON_H
 
16
#define EAP_WSC_COMMON_H
 
17
 
 
18
#ifdef __cplusplus
 
19
extern "C" {
 
20
#endif
 
21
 
 
22
#define EAP_VENDOR_TYPE_WSC 1
 
23
 
 
24
#define WSC_FLAGS_MF 0x01
 
25
#define WSC_FLAGS_LF 0x02
 
26
 
 
27
#define WSC_ID_REGISTRAR "WFA-SimpleConfig-Registrar-1-0"
 
28
#define WSC_ID_REGISTRAR_LEN 30
 
29
#define WSC_ID_ENROLLEE "WFA-SimpleConfig-Enrollee-1-0"
 
30
#define WSC_ID_ENROLLEE_LEN 29
 
31
 
 
32
#define WSC_FRAGMENT_SIZE 1400
 
33
 
 
34
 
 
35
struct wpabuf * eap_wsc_build_frag_ack(u8 id, u8 code);
 
36
 
 
37
#ifdef __cplusplus
 
38
}
 
39
#endif
 
40
 
 
41
#endif /* EAP_WSC_COMMON_H */