shill: Add support for saving wifi frequency in service object.
BUG=chromium-os:25882
TEST=Unit tests, network_WiFiManager (7/9)
Change-Id: Ia491ef6b240778781470d7ff820e23deb7aa28f0
Reviewed-on: https://gerrit.chromium.org/gerrit/15363
Commit-Ready: Thieu Le <thieule@chromium.org>
Reviewed-by: Thieu Le <thieule@chromium.org>
Tested-by: Thieu Le <thieule@chromium.org>
diff --git a/wifi_endpoint.h b/wifi_endpoint.h
index 9dd0ba8..de6addb 100644
--- a/wifi_endpoint.h
+++ b/wifi_endpoint.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -34,6 +34,7 @@
const std::string &bssid_string() const;
const std::string &bssid_hex() const;
int16_t signal_strength() const;
+ uint16 frequency() const;
const std::string &network_mode() const;
const std::string &security_mode() const;
@@ -75,6 +76,7 @@
std::string bssid_string_;
std::string bssid_hex_;
int16_t signal_strength_;
+ uint16 frequency_;
// network_mode_ and security_mode_ are represented as flimflam names
// (not necessarily the same as wpa_supplicant names)
std::string network_mode_;