blob: 19d915816faeeebf02a667f893e678fe878798be [file] [log] [blame]
// 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.
#include <wlan/mlme/rust_utils.h>
namespace wlan {
SequenceManager NewSequenceManager() {
return SequenceManager(mlme_sequence_manager_new(), mlme_sequence_manager_delete);
}
ApStation NewApStation(mlme_device_ops_t device, mlme_buffer_provider_ops_t buf_provider,
wlan_scheduler_ops_t scheduler, common::MacAddr bssid) {
return ApStation(ap_sta_new(device, buf_provider, scheduler, &bssid.byte), ap_sta_delete);
}
} // namespace wlan