1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
4 *
5 * Contact Information: wlanfae <wlanfae@realtek.com>
6 */
7#ifndef __INC_QOS_TYPE_H
8#define __INC_QOS_TYPE_H
9
10struct qos_tsinfo {
11 u8 ts_id:4;
12 u8 ucDirection:2;
13};
14
15struct octet_string {
16 u8 *octet;
17 u16 Length;
18};
19
20#define AC0_BE 0
21#define AC1_BK 1
22#define AC2_VI 2
23#define AC3_VO 3
24
25enum direction_value {
26 DIR_UP = 0,
27 DIR_DOWN = 1,
28 DIR_DIRECT = 2,
29 DIR_BI_DIR = 3,
30};
31
32union aci_aifsn {
33 u8 charData;
34
35 struct {
36 u8 AIFSN:4;
37 u8 acm:1;
38 u8 ACI:2;
39 u8 Reserved:1;
40 } f;
41};
42
43#endif
44

source code of linux/drivers/staging/rtl8192e/rtl819x_Qos.h