mukesh agrawal | 6e27777 | 2011-09-29 15:04:23 -0700 | [diff] [blame] | 1 | // Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include "shill/wpa_supplicant.h" |
| 6 | |
| 7 | namespace shill { |
| 8 | |
| 9 | namespace wpa_supplicant { |
| 10 | const char kBSSPropertyBSSID[] = "BSSID"; |
| 11 | const char kBSSPropertySSID[] = "SSID"; |
| 12 | const char kBSSPropertyMode[] = "Mode"; |
| 13 | const char kBSSPropertySignal[] = "Signal"; |
| 14 | const char kDBusAddr[] = "fi.w1.wpa_supplicant1"; |
| 15 | const char kDBusPath[] = "/fi/w1/wpa_supplicant1"; |
| 16 | const char kDriverNL80211[] = "nl80211"; |
| 17 | const char kErrorInterfaceExists[] = "fi.w1.wpa_supplicant1.InterfaceExists"; |
| 18 | const char kKeyManagementMethodSuffixEAP[] = "-eap"; |
| 19 | const char kKeyManagementMethodSuffixPSK[] = "-psk"; |
| 20 | const char kKeyModeNone[] = "NONE"; |
| 21 | const char kNetworkModeInfrastructure[] = "infrastructure"; |
| 22 | const char kNetworkModeAdHoc[] = "ad-hoc"; |
| 23 | const char kNetworkModeAccessPoint[] = "ap"; |
| 24 | const char kNetworkPropertyMode[] = "mode"; |
| 25 | const char kNetworkPropertySSID[] = "ssid"; |
| 26 | const char kPropertyKeyManagement[] = "key_mgmt"; |
| 27 | const char kPropertyPreSharedKey[] = "psk"; |
| 28 | const char kPropertyPrivacy[] = "Privacy"; |
| 29 | const char kPropertyRSN[] = "RSN"; |
| 30 | const char kPropertyScanType[] = "Type"; |
| 31 | const char kPropertySecurityProtocol[] = "proto"; |
| 32 | const char kPropertyWPA[] = "WPA"; |
| 33 | const char kScanTypeActive[] = "active"; |
| 34 | const char kSecurityMethodPropertyKeyManagement[] = "KeyMgmt"; |
| 35 | const char kSecurityModeRSN[] = "RSN"; |
| 36 | const char kSecurityModeWPA[] = "WPA"; |
| 37 | |
| 38 | const uint32_t kNetworkModeInfrastructureInt = 0; |
| 39 | const uint32_t kNetworkModeAdHocInt = 1; |
| 40 | const uint32_t kNetworkModeAccessPointInt = 2; |
| 41 | }; |
| 42 | |
| 43 | } // namespace shill |