blob: 623e82a53b134a85cddec845f9a5605e17a1292e [file] [log] [blame]
mukesh agrawal4d0401c2012-01-06 16:05:31 -08001// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
mukesh agrawal6e277772011-09-29 15:04:23 -07002// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef SHILL_WPA_SUPPLICANT_H
6#define SHILL_WPA_SUPPLICANT_H
7
8#include <base/basictypes.h>
9
10namespace shill {
11
Dave Parker074bad62013-03-27 13:17:27 -070012namespace wpa_supplicant {
13extern const char kBSSPropertyBSSID[];
14extern const char kBSSPropertyFrequency[];
15extern const char kBSSPropertyIEs[];
16extern const char kBSSPropertyMode[];
17extern const char kBSSPropertyRates[];
18extern const char kBSSPropertySSID[];
19extern const char kBSSPropertySignal[];
20extern const char kCaPath[];
21extern const char kCurrentBSSNull[];
22extern const char kDBusAddr[];
23extern const char kDBusPath[];
24extern const char kDebugLevelDebug[];
25extern const char kDebugLevelError[];
26extern const char kDebugLevelExcessive[];
27extern const char kDebugLevelInfo[];
28extern const char kDebugLevelMsgDump[];
29extern const char kDebugLevelWarning[];
30extern const char kDriverNL80211[];
31extern const char kEAPParameterAlertUnknownCA[];
32extern const char kEAPParameterFailure[];
33extern const char kEAPParameterSuccess[];
34extern const char kEAPStatusAcceptProposedMethod[];
35extern const char kEAPStatusCompletion[];
36extern const char kEAPStatusLocalTLSAlert[];
37extern const char kEAPStatusParameterNeeded[];
38extern const char kEAPStatusRemoteCertificateVerification[];
39extern const char kEAPStatusRemoteTLSAlert[];
40extern const char kEAPStatusStarted[];
41extern const char kEnginePKCS11[];
42extern const char kErrorNetworkUnknown[];
43extern const char kErrorInterfaceExists[];
44extern const char kInterfacePropertyConfigFile[];
45extern const char kInterfacePropertyCurrentBSS[];
46extern const char kInterfacePropertyDepth[];
47extern const char kInterfacePropertyDriver[];
48extern const char kInterfacePropertyName[];
49extern const char kInterfacePropertyState[];
50extern const char kInterfacePropertySubject[];
51extern const char kInterfaceState4WayHandshake[];
52extern const char kInterfaceStateAssociated[];
53extern const char kInterfaceStateAssociating[];
54extern const char kInterfaceStateAuthenticating[];
55extern const char kInterfaceStateCompleted[];
56extern const char kInterfaceStateDisconnected[];
57extern const char kInterfaceStateGroupHandshake[];
58extern const char kInterfaceStateInactive[];
59extern const char kInterfaceStateScanning[];
60extern const char kKeyManagementMethodSuffixEAP[];
61extern const char kKeyManagementMethodSuffixPSK[];
62extern const char kKeyModeNone[];
63extern const char kNetworkBgscanMethodLearn[];
Christopher Wileya998df22012-07-11 15:14:55 -070064// None is not a real method name, but we interpret 'none' as a request that
65// no background scan parameter should be supplied to wpa_supplicant.
Dave Parker074bad62013-03-27 13:17:27 -070066extern const char kNetworkBgscanMethodNone[];
67extern const char kNetworkBgscanMethodSimple[];
68extern const char kNetworkModeInfrastructure[];
69extern const char kNetworkModeAdHoc[];
70extern const char kNetworkModeAccessPoint[];
71extern const char kNetworkPropertyBgscan[];
72extern const char kNetworkPropertyCaPath[];
73extern const char kNetworkPropertyEapKeyManagement[];
74extern const char kNetworkPropertyEapIdentity[];
75extern const char kNetworkPropertyEapEap[];
76extern const char kNetworkPropertyEapInnerEap[];
77extern const char kNetworkPropertyEapAnonymousIdentity[];
78extern const char kNetworkPropertyEapClientCert[];
79extern const char kNetworkPropertyEapPrivateKey[];
80extern const char kNetworkPropertyEapPrivateKeyPassword[];
81extern const char kNetworkPropertyEapCaCert[];
82extern const char kNetworkPropertyEapCaPassword[];
83extern const char kNetworkPropertyEapCertId[];
84extern const char kNetworkPropertyEapKeyId[];
85extern const char kNetworkPropertyEapCaCertId[];
86extern const char kNetworkPropertyEapPin[];
87extern const char kNetworkPropertyEapSubjectMatch[];
88extern const char kNetworkPropertyEngine[];
89extern const char kNetworkPropertyEngineId[];
90extern const char kNetworkPropertyFrequency[];
91extern const char kNetworkPropertyIeee80211w[];
92extern const char kNetworkPropertyMode[];
93extern const char kNetworkPropertySSID[];
94extern const char kNetworkPropertyScanSSID[];
mukesh agrawal64896322011-12-01 01:13:10 +000095// TODO(quiche): Make the naming scheme more consistent, by adding the
96// object type to the property names below. (crosbug.com/23656)
Dave Parker074bad62013-03-27 13:17:27 -070097extern const char kPropertyAuthAlg[];
98extern const char kPropertyBSSID[];
99extern const char kPropertyMode[];
100extern const char kPropertyPreSharedKey[];
101extern const char kPropertyPrivacy[];
102extern const char kPropertyRSN[];
103extern const char kPropertyScanSSIDs[];
104extern const char kPropertyScanType[];
105extern const char kPropertySecurityProtocol[];
106extern const char kPropertySignal[];
107extern const char kPropertyWEPKey[];
108extern const char kPropertyWEPTxKeyIndex[];
109extern const char kPropertyWPA[];
110extern const char kScanTypeActive[];
111extern const char kSecurityAuthAlg[];
112extern const char kSecurityMethodPropertyKeyManagement[];
113extern const char kSecurityModeRSN[];
114extern const char kSecurityModeWPA[];
mukesh agrawal6e277772011-09-29 15:04:23 -0700115
Dave Parker074bad62013-03-27 13:17:27 -0700116extern const uint32_t kDefaultEngine;
117extern const uint32_t kNetworkIeee80211wDisabled;
118extern const uint32_t kNetworkIeee80211wEnabled;
119extern const uint32_t kNetworkIeee80211wRequired;
120extern const uint32_t kNetworkModeInfrastructureInt;
121extern const uint32_t kNetworkModeAdHocInt;
122extern const uint32_t kNetworkModeAccessPointInt;
123extern const uint32_t kScanMaxSSIDsPerScan;
mukesh agrawal6e277772011-09-29 15:04:23 -0700124};
125
126} // namespace shill
127
128#endif // SHILL_WPA_SUPPLICANT_H