blob: 174022066ebc627d84834ecbb3fe9d1597fc44d5 [file] [log] [blame]
mukesh agrawal6e277772011-09-29 15:04:23 -07001// 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
7namespace shill {
8
9namespace wpa_supplicant {
10const char kBSSPropertyBSSID[] = "BSSID";
11const char kBSSPropertySSID[] = "SSID";
12const char kBSSPropertyMode[] = "Mode";
13const char kBSSPropertySignal[] = "Signal";
14const char kDBusAddr[] = "fi.w1.wpa_supplicant1";
15const char kDBusPath[] = "/fi/w1/wpa_supplicant1";
16const char kDriverNL80211[] = "nl80211";
17const char kErrorInterfaceExists[] = "fi.w1.wpa_supplicant1.InterfaceExists";
18const char kKeyManagementMethodSuffixEAP[] = "-eap";
19const char kKeyManagementMethodSuffixPSK[] = "-psk";
20const char kKeyModeNone[] = "NONE";
21const char kNetworkModeInfrastructure[] = "infrastructure";
22const char kNetworkModeAdHoc[] = "ad-hoc";
23const char kNetworkModeAccessPoint[] = "ap";
24const char kNetworkPropertyMode[] = "mode";
25const char kNetworkPropertySSID[] = "ssid";
26const char kPropertyKeyManagement[] = "key_mgmt";
27const char kPropertyPreSharedKey[] = "psk";
28const char kPropertyPrivacy[] = "Privacy";
29const char kPropertyRSN[] = "RSN";
30const char kPropertyScanType[] = "Type";
31const char kPropertySecurityProtocol[] = "proto";
32const char kPropertyWPA[] = "WPA";
33const char kScanTypeActive[] = "active";
34const char kSecurityMethodPropertyKeyManagement[] = "KeyMgmt";
35const char kSecurityModeRSN[] = "RSN";
36const char kSecurityModeWPA[] = "WPA";
37
38const uint32_t kNetworkModeInfrastructureInt = 0;
39const uint32_t kNetworkModeAdHocInt = 1;
40const uint32_t kNetworkModeAccessPointInt = 2;
41};
42
43} // namespace shill