| // Copyright 2018 The Fuchsia Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #pragma once |
| |
| #include <ddk/device.h> |
| #include <fuchsia/wlan/tap/cpp/fidl.h> |
| #include <lib/async/dispatcher.h> |
| #include <wlan/protocol/wlantap.h> |
| #include <zx/channel.h> |
| |
| namespace wlan { |
| |
| zx_status_t CreatePhy(zx_device_t* wlantapctl, zx::channel user_channel, |
| std::unique_ptr<::fuchsia::wlan::tap::WlantapPhyConfig> ioctl_in, |
| async_dispatcher_t* loop); |
| |
| } // namespace wlan |