apmanager: support for WiFi devices and interfaces
Added DeviceInfo for enumerating WiFi devices (PHYs) and detecting
WiFi interfaces. Also Created a Device class for abstracting WiFi PHYs,
which will maintain the device's capabilities and manage interfaces
created on the device.
Integrate Device with Manager and Config to allow user to start
an AP service without providing interface information.
Next up, will focus on parsing HT/VHT capabilities for each band and
integrate it into ap configuration. Also adding shill support for
claim/release interface.
BUG=chromium:431763
TEST=unittest
Change-Id: I62f4251064483b57e264d1278fde68022a737aea
Reviewed-on: https://chromium-review.googlesource.com/231257
Reviewed-by: Peter Qiu <zqiu@chromium.org>
Commit-Queue: Peter Qiu <zqiu@chromium.org>
Tested-by: Peter Qiu <zqiu@chromium.org>
diff --git a/mock_device.cc b/mock_device.cc
new file mode 100644
index 0000000..c39de1b
--- /dev/null
+++ b/mock_device.cc
@@ -0,0 +1,13 @@
+// Copyright 2014 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.
+
+#include "apmanager/mock_device.h"
+
+namespace apmanager {
+
+MockDevice::MockDevice() : Device() {}
+
+MockDevice::~MockDevice() {}
+
+} // namespace apmanager