mukesh agrawal | 4d0401c | 2012-01-06 16:05:31 -0800 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium OS Authors. All rights reserved. |
mukesh agrawal | 6e27777 | 2011-09-29 15:04:23 -0700 | [diff] [blame] | 2 | // 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 | |
| 10 | namespace shill { |
| 11 | |
| 12 | namespace wpa_supplicant { |
| 13 | extern const char kBSSPropertyBSSID[]; |
Thieu Le | e41a72d | 2012-02-06 20:46:51 +0000 | [diff] [blame] | 14 | extern const char kBSSPropertyFrequency[]; |
Thieu Le | 1df7f4e | 2012-02-10 15:21:45 -0800 | [diff] [blame] | 15 | extern const char kBSSPropertyIEs[]; |
mukesh agrawal | 6e27777 | 2011-09-29 15:04:23 -0700 | [diff] [blame] | 16 | extern const char kBSSPropertyMode[]; |
Thieu Le | 1df7f4e | 2012-02-10 15:21:45 -0800 | [diff] [blame] | 17 | extern const char kBSSPropertyRates[]; |
Thieu Le | e41a72d | 2012-02-06 20:46:51 +0000 | [diff] [blame] | 18 | extern const char kBSSPropertySSID[]; |
mukesh agrawal | 6e27777 | 2011-09-29 15:04:23 -0700 | [diff] [blame] | 19 | extern const char kBSSPropertySignal[]; |
Gaurav Shah | 10109f2 | 2011-11-11 20:16:22 -0800 | [diff] [blame] | 20 | extern const char kCaPath[]; |
mukesh agrawal | 1590839 | 2011-11-16 18:29:25 +0000 | [diff] [blame] | 21 | extern const char kCurrentBSSNull[]; |
mukesh agrawal | 6e27777 | 2011-09-29 15:04:23 -0700 | [diff] [blame] | 22 | extern const char kDBusAddr[]; |
| 23 | extern const char kDBusPath[]; |
| 24 | extern const char kDriverNL80211[]; |
Paul Stewart | 2055098 | 2012-04-16 12:16:11 -0700 | [diff] [blame] | 25 | extern const char kEnginePKCS11[]; |
mukesh agrawal | 6e27777 | 2011-09-29 15:04:23 -0700 | [diff] [blame] | 26 | extern const char kErrorInterfaceExists[]; |
Paul Stewart | 2055098 | 2012-04-16 12:16:11 -0700 | [diff] [blame] | 27 | extern const char kInterfacePropertyConfigFile[]; |
mukesh agrawal | 1590839 | 2011-11-16 18:29:25 +0000 | [diff] [blame] | 28 | extern const char kInterfacePropertyCurrentBSS[]; |
Paul Stewart | bc6e739 | 2012-05-24 07:07:48 -0700 | [diff] [blame] | 29 | extern const char kInterfacePropertyDepth[]; |
Paul Stewart | 2055098 | 2012-04-16 12:16:11 -0700 | [diff] [blame] | 30 | extern const char kInterfacePropertyDriver[]; |
| 31 | extern const char kInterfacePropertyName[]; |
mukesh agrawal | 7ec7131 | 2011-11-10 02:08:26 +0000 | [diff] [blame] | 32 | extern const char kInterfacePropertyState[]; |
Paul Stewart | bc6e739 | 2012-05-24 07:07:48 -0700 | [diff] [blame] | 33 | extern const char kInterfacePropertySubject[]; |
mukesh agrawal | 7ec7131 | 2011-11-10 02:08:26 +0000 | [diff] [blame] | 34 | extern const char kInterfaceState4WayHandshake[]; |
| 35 | extern const char kInterfaceStateAssociated[]; |
| 36 | extern const char kInterfaceStateAssociating[]; |
| 37 | extern const char kInterfaceStateAuthenticating[]; |
| 38 | extern const char kInterfaceStateCompleted[]; |
| 39 | extern const char kInterfaceStateDisconnected[]; |
| 40 | extern const char kInterfaceStateGroupHandshake[]; |
| 41 | extern const char kInterfaceStateInactive[]; |
| 42 | extern const char kInterfaceStateScanning[]; |
mukesh agrawal | 6e27777 | 2011-09-29 15:04:23 -0700 | [diff] [blame] | 43 | extern const char kKeyManagementMethodSuffixEAP[]; |
| 44 | extern const char kKeyManagementMethodSuffixPSK[]; |
| 45 | extern const char kKeyModeNone[]; |
mukesh agrawal | 4d0401c | 2012-01-06 16:05:31 -0800 | [diff] [blame] | 46 | extern const char kNetworkBgscanMethodLearn[]; |
Christopher Wiley | a998df2 | 2012-07-11 15:14:55 -0700 | [diff] [blame] | 47 | // None is not a real method name, but we interpret 'none' as a request that |
| 48 | // no background scan parameter should be supplied to wpa_supplicant. |
| 49 | extern const char kNetworkBgscanMethodNone[]; |
mukesh agrawal | 4d0401c | 2012-01-06 16:05:31 -0800 | [diff] [blame] | 50 | extern const char kNetworkBgscanMethodSimple[]; |
mukesh agrawal | 6e27777 | 2011-09-29 15:04:23 -0700 | [diff] [blame] | 51 | extern const char kNetworkModeInfrastructure[]; |
| 52 | extern const char kNetworkModeAdHoc[]; |
| 53 | extern const char kNetworkModeAccessPoint[]; |
mukesh agrawal | 4d0401c | 2012-01-06 16:05:31 -0800 | [diff] [blame] | 54 | extern const char kNetworkPropertyBgscan[]; |
Gaurav Shah | 10109f2 | 2011-11-11 20:16:22 -0800 | [diff] [blame] | 55 | extern const char kNetworkPropertyCaPath[]; |
| 56 | extern const char kNetworkPropertyEapKeyManagement[]; |
| 57 | extern const char kNetworkPropertyEapIdentity[]; |
| 58 | extern const char kNetworkPropertyEapEap[]; |
| 59 | extern const char kNetworkPropertyEapInnerEap[]; |
| 60 | extern const char kNetworkPropertyEapAnonymousIdentity[]; |
| 61 | extern const char kNetworkPropertyEapClientCert[]; |
| 62 | extern const char kNetworkPropertyEapPrivateKey[]; |
| 63 | extern const char kNetworkPropertyEapPrivateKeyPassword[]; |
| 64 | extern const char kNetworkPropertyEapCaCert[]; |
| 65 | extern const char kNetworkPropertyEapCaPassword[]; |
| 66 | extern const char kNetworkPropertyEapCertId[]; |
| 67 | extern const char kNetworkPropertyEapKeyId[]; |
| 68 | extern const char kNetworkPropertyEapCaCertId[]; |
| 69 | extern const char kNetworkPropertyEapPin[]; |
Paul Stewart | bc6e739 | 2012-05-24 07:07:48 -0700 | [diff] [blame] | 70 | extern const char kNetworkPropertyEapSubjectMatch[]; |
Paul Stewart | 2055098 | 2012-04-16 12:16:11 -0700 | [diff] [blame] | 71 | extern const char kNetworkPropertyEngine[]; |
| 72 | extern const char kNetworkPropertyEngineId[]; |
Paul Stewart | e2d7c50 | 2012-07-16 16:35:10 -0700 | [diff] [blame] | 73 | extern const char kNetworkPropertyFrequency[]; |
mukesh agrawal | 6e27777 | 2011-09-29 15:04:23 -0700 | [diff] [blame] | 74 | extern const char kNetworkPropertyMode[]; |
| 75 | extern const char kNetworkPropertySSID[]; |
mukesh agrawal | 6489632 | 2011-12-01 01:13:10 +0000 | [diff] [blame] | 76 | extern const char kNetworkPropertyScanSSID[]; |
| 77 | // TODO(quiche): Make the naming scheme more consistent, by adding the |
| 78 | // object type to the property names below. (crosbug.com/23656) |
Thieu Le | f4cbda9 | 2011-11-10 23:41:24 +0000 | [diff] [blame] | 79 | extern const char kPropertyAuthAlg[]; |
mukesh agrawal | 6e27777 | 2011-09-29 15:04:23 -0700 | [diff] [blame] | 80 | extern const char kPropertyBSSID[]; |
mukesh agrawal | 6e27777 | 2011-09-29 15:04:23 -0700 | [diff] [blame] | 81 | extern const char kPropertyMode[]; |
| 82 | extern const char kPropertyPreSharedKey[]; |
| 83 | extern const char kPropertyPrivacy[]; |
| 84 | extern const char kPropertyRSN[]; |
Paul Stewart | ced6a0b | 2011-11-08 15:32:04 -0800 | [diff] [blame] | 85 | extern const char kPropertyScanSSIDs[]; |
mukesh agrawal | 6e27777 | 2011-09-29 15:04:23 -0700 | [diff] [blame] | 86 | extern const char kPropertyScanType[]; |
| 87 | extern const char kPropertySecurityProtocol[]; |
| 88 | extern const char kPropertySignal[]; |
Thieu Le | f4cbda9 | 2011-11-10 23:41:24 +0000 | [diff] [blame] | 89 | extern const char kPropertyWEPKey[]; |
| 90 | extern const char kPropertyWEPTxKeyIndex[]; |
mukesh agrawal | 6e27777 | 2011-09-29 15:04:23 -0700 | [diff] [blame] | 91 | extern const char kPropertyWPA[]; |
| 92 | extern const char kScanTypeActive[]; |
Thieu Le | f4cbda9 | 2011-11-10 23:41:24 +0000 | [diff] [blame] | 93 | extern const char kSecurityAuthAlg[]; |
mukesh agrawal | 6e27777 | 2011-09-29 15:04:23 -0700 | [diff] [blame] | 94 | extern const char kSecurityMethodPropertyKeyManagement[]; |
| 95 | extern const char kSecurityModeRSN[]; |
| 96 | extern const char kSecurityModeWPA[]; |
| 97 | |
Paul Stewart | 2055098 | 2012-04-16 12:16:11 -0700 | [diff] [blame] | 98 | extern const uint32_t kDefaultEngine; |
mukesh agrawal | 6e27777 | 2011-09-29 15:04:23 -0700 | [diff] [blame] | 99 | extern const uint32_t kNetworkModeInfrastructureInt; |
| 100 | extern const uint32_t kNetworkModeAdHocInt; |
| 101 | extern const uint32_t kNetworkModeAccessPointInt; |
Paul Stewart | ced6a0b | 2011-11-08 15:32:04 -0800 | [diff] [blame] | 102 | extern const uint32_t kScanMaxSSIDsPerScan; |
mukesh agrawal | 6e27777 | 2011-09-29 15:04:23 -0700 | [diff] [blame] | 103 | }; |
| 104 | |
| 105 | } // namespace shill |
| 106 | |
| 107 | #endif // SHILL_WPA_SUPPLICANT_H |