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
12namespace wpa_supplicant {
13extern const char kBSSPropertyBSSID[];
Thieu Lee41a72d2012-02-06 20:46:51 +000014extern const char kBSSPropertyFrequency[];
Thieu Le1df7f4e2012-02-10 15:21:45 -080015extern const char kBSSPropertyIEs[];
mukesh agrawal6e277772011-09-29 15:04:23 -070016extern const char kBSSPropertyMode[];
Thieu Le1df7f4e2012-02-10 15:21:45 -080017extern const char kBSSPropertyRates[];
Thieu Lee41a72d2012-02-06 20:46:51 +000018extern const char kBSSPropertySSID[];
mukesh agrawal6e277772011-09-29 15:04:23 -070019extern const char kBSSPropertySignal[];
Gaurav Shah10109f22011-11-11 20:16:22 -080020extern const char kCaPath[];
mukesh agrawal15908392011-11-16 18:29:25 +000021extern const char kCurrentBSSNull[];
mukesh agrawal6e277772011-09-29 15:04:23 -070022extern const char kDBusAddr[];
23extern const char kDBusPath[];
Paul Stewart5581d072012-12-17 17:30:20 -080024extern const char kDebugLevelDebug[];
25extern const char kDebugLevelError[];
26extern const char kDebugLevelExcessive[];
27extern const char kDebugLevelInfo[];
28extern const char kDebugLevelMsgDump[];
29extern const char kDebugLevelWarning[];
mukesh agrawal6e277772011-09-29 15:04:23 -070030extern const char kDriverNL80211[];
Paul Stewartdb0f9172012-11-30 16:48:09 -080031extern const char kEAPParameterAlertUnknownCA[];
32extern const char kEAPParameterFailure[];
33extern const char kEAPParameterSuccess[];
34extern const char kEAPStatusAcceptProposedMethod[];
35extern const char kEAPStatusCompletion[];
36extern const char kEAPStatusLocalTLSAlert[];
Paul Stewart1369c2b2013-01-11 05:41:26 -080037extern const char kEAPStatusParameterNeeded[];
Paul Stewartdb0f9172012-11-30 16:48:09 -080038extern const char kEAPStatusRemoteCertificateVerification[];
39extern const char kEAPStatusRemoteTLSAlert[];
Paul Stewart1369c2b2013-01-11 05:41:26 -080040extern const char kEAPStatusStarted[];
Paul Stewart20550982012-04-16 12:16:11 -070041extern const char kEnginePKCS11[];
Ben Chan381fdcc2012-10-14 21:10:36 -070042extern const char kErrorNetworkUnknown[];
mukesh agrawal6e277772011-09-29 15:04:23 -070043extern const char kErrorInterfaceExists[];
Paul Stewart20550982012-04-16 12:16:11 -070044extern const char kInterfacePropertyConfigFile[];
mukesh agrawal15908392011-11-16 18:29:25 +000045extern const char kInterfacePropertyCurrentBSS[];
Paul Stewartbc6e7392012-05-24 07:07:48 -070046extern const char kInterfacePropertyDepth[];
Paul Stewart20550982012-04-16 12:16:11 -070047extern const char kInterfacePropertyDriver[];
48extern const char kInterfacePropertyName[];
mukesh agrawal7ec71312011-11-10 02:08:26 +000049extern const char kInterfacePropertyState[];
Paul Stewartbc6e7392012-05-24 07:07:48 -070050extern const char kInterfacePropertySubject[];
mukesh agrawal7ec71312011-11-10 02:08:26 +000051extern 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[];
mukesh agrawal6e277772011-09-29 15:04:23 -070060extern const char kKeyManagementMethodSuffixEAP[];
61extern const char kKeyManagementMethodSuffixPSK[];
62extern const char kKeyModeNone[];
mukesh agrawal4d0401c2012-01-06 16:05:31 -080063extern 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.
66extern const char kNetworkBgscanMethodNone[];
mukesh agrawal4d0401c2012-01-06 16:05:31 -080067extern const char kNetworkBgscanMethodSimple[];
mukesh agrawal6e277772011-09-29 15:04:23 -070068extern const char kNetworkModeInfrastructure[];
69extern const char kNetworkModeAdHoc[];
70extern const char kNetworkModeAccessPoint[];
mukesh agrawal4d0401c2012-01-06 16:05:31 -080071extern const char kNetworkPropertyBgscan[];
Gaurav Shah10109f22011-11-11 20:16:22 -080072extern 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[];
Paul Stewartbc6e7392012-05-24 07:07:48 -070087extern const char kNetworkPropertyEapSubjectMatch[];
Paul Stewart20550982012-04-16 12:16:11 -070088extern const char kNetworkPropertyEngine[];
89extern const char kNetworkPropertyEngineId[];
Paul Stewarte2d7c502012-07-16 16:35:10 -070090extern const char kNetworkPropertyFrequency[];
Paul Stewarta5e7d5f2013-01-09 18:06:15 -080091extern const char kNetworkPropertyIeee80211w[];
mukesh agrawal6e277772011-09-29 15:04:23 -070092extern const char kNetworkPropertyMode[];
93extern const char kNetworkPropertySSID[];
mukesh agrawal64896322011-12-01 01:13:10 +000094extern const char kNetworkPropertyScanSSID[];
95// TODO(quiche): Make the naming scheme more consistent, by adding the
96// object type to the property names below. (crosbug.com/23656)
Thieu Lef4cbda92011-11-10 23:41:24 +000097extern const char kPropertyAuthAlg[];
mukesh agrawal6e277772011-09-29 15:04:23 -070098extern const char kPropertyBSSID[];
mukesh agrawal6e277772011-09-29 15:04:23 -070099extern const char kPropertyMode[];
100extern const char kPropertyPreSharedKey[];
101extern const char kPropertyPrivacy[];
102extern const char kPropertyRSN[];
Paul Stewartced6a0b2011-11-08 15:32:04 -0800103extern const char kPropertyScanSSIDs[];
mukesh agrawal6e277772011-09-29 15:04:23 -0700104extern const char kPropertyScanType[];
105extern const char kPropertySecurityProtocol[];
106extern const char kPropertySignal[];
Thieu Lef4cbda92011-11-10 23:41:24 +0000107extern const char kPropertyWEPKey[];
108extern const char kPropertyWEPTxKeyIndex[];
mukesh agrawal6e277772011-09-29 15:04:23 -0700109extern const char kPropertyWPA[];
110extern const char kScanTypeActive[];
Thieu Lef4cbda92011-11-10 23:41:24 +0000111extern const char kSecurityAuthAlg[];
mukesh agrawal6e277772011-09-29 15:04:23 -0700112extern const char kSecurityMethodPropertyKeyManagement[];
113extern const char kSecurityModeRSN[];
114extern const char kSecurityModeWPA[];
115
Paul Stewart20550982012-04-16 12:16:11 -0700116extern const uint32_t kDefaultEngine;
Paul Stewarta5e7d5f2013-01-09 18:06:15 -0800117extern const uint32_t kNetworkIeee80211wDisabled;
118extern const uint32_t kNetworkIeee80211wEnabled;
119extern const uint32_t kNetworkIeee80211wRequired;
mukesh agrawal6e277772011-09-29 15:04:23 -0700120extern const uint32_t kNetworkModeInfrastructureInt;
121extern const uint32_t kNetworkModeAdHocInt;
122extern const uint32_t kNetworkModeAccessPointInt;
Paul Stewartced6a0b2011-11-08 15:32:04 -0800123extern const uint32_t kScanMaxSSIDsPerScan;
mukesh agrawal6e277772011-09-29 15:04:23 -0700124};
125
126} // namespace shill
127
128#endif // SHILL_WPA_SUPPLICANT_H