blob: 717d62afcbe13428512173f1ab21f7e6d8c535d4 [file] [log] [blame]
/*
* Copyright (C) 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package android.hardware.wifi;
/**
* Enum describing the fate of the TX packets.
*/
@VintfStability
@Backing(type="int")
enum WifiDebugTxPacketFate {
/**
* Sent over air and ACKed.
*/
ACKED,
/**
* Sent over air but not ACKed (normal for broadcast/multicast).
*/
SENT,
/**
* Queued within firmware, but not yet sent over air.
*/
FW_QUEUED,
/**
* Dropped by firmware as invalid (e.g. bad source address, bad checksum,
* or invalid for current state).
*/
FW_DROP_INVALID,
/**
* Dropped by firmware due to lack of buffer space.
*/
FW_DROP_NOBUFS,
/**
* Dropped by firmware for any other reason. Includes frames that were sent
* by driver to the firmware, but unaccounted for by firmware.
*/
FW_DROP_OTHER,
/**
* Queued within driver, not yet sent to firmware.
*/
DRV_QUEUED,
/**
* Dropped by driver as invalid (e.g. bad source address, or invalid for
* current state).
*/
DRV_DROP_INVALID,
/**
* Dropped by driver due to lack of buffer space.
*/
DRV_DROP_NOBUFS,
/**
* Dropped by driver for any other reason.
*/
DRV_DROP_OTHER,
}