Lines Matching refs:wifi
5 #include "components/wifi/network_properties.h"
12 namespace wifi {
16 security(onc::wifi::kNone),
35 // For now, assume all WiFi services are connectable.
38 scoped_ptr<base::DictionaryValue> wifi(new base::DictionaryValue());
39 wifi->SetString(onc::wifi::kSecurity, security);
40 wifi->SetInteger(onc::wifi::kSignalStrength, signal_strength);
45 wifi->SetInteger(onc::wifi::kFrequency, frequency);
53 wifi->Set(onc::wifi::kFrequencyList, frequency_list.release());
55 wifi->SetString(onc::wifi::kBSSID, bssid);
56 wifi->SetString(onc::wifi::kSSID, ssid);
58 value->Set(onc::network_type::kWiFi, wifi.release());
72 const base::DictionaryValue* wifi = NULL;
74 // Get network type and make sure that it is WiFi (if specified).
80 if (value.GetDictionary(onc::network_type::kWiFi, &wifi)) {
84 wifi->GetString(onc::wifi::kSecurity, &security);
85 wifi->GetString(onc::wifi::kSSID, &ssid);
86 wifi->GetString(onc::wifi::kPassphrase, &password);
87 wifi->GetBoolean(onc::wifi::kAutoConnect, &auto_connect);
111 // network type sort order: ethernet < wifi < vpn < cellular.
121 } // namespace wifi