wlan_mlme/disconnect.rs
1// Copyright 2020 The Fuchsia Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5/// LocallyInitiated is true when a disconnect (deauth/disassoc) is initiated from
6/// within the device. If the disconnect is initiated remotely (i.e. by the AP if
7/// device is a client, or by the client if device is an AP) due to a deauth or
8/// disassoc frame, then LocallyInitiated is false.
9pub struct LocallyInitiated(pub bool);