1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
5 * Contact Information: wlanfae <wlanfae@realtek.com>
7 #ifndef __INC_QOS_TYPE_H
8 #define __INC_QOS_TYPE_H
10 #define BIT0 0x00000001
11 #define BIT1 0x00000002
12 #define BIT2 0x00000004
13 #define BIT3 0x00000008
14 #define BIT4 0x00000010
15 #define BIT5 0x00000020
16 #define BIT6 0x00000040
17 #define BIT7 0x00000080
18 #define BIT8 0x00000100
19 #define BIT9 0x00000200
20 #define BIT10 0x00000400
21 #define BIT11 0x00000800
22 #define BIT12 0x00001000
23 #define BIT13 0x00002000
24 #define BIT14 0x00004000
25 #define BIT15 0x00008000
26 #define BIT16 0x00010000
27 #define BIT17 0x00020000
28 #define BIT18 0x00040000
29 #define BIT19 0x00080000
30 #define BIT20 0x00100000
31 #define BIT21 0x00200000
32 #define BIT22 0x00400000
33 #define BIT23 0x00800000
34 #define BIT24 0x01000000
35 #define BIT25 0x02000000
36 #define BIT26 0x04000000
37 #define BIT27 0x08000000
38 #define BIT28 0x10000000
39 #define BIT29 0x20000000
40 #define BIT30 0x40000000
41 #define BIT31 0x80000000
53 u8 ucTSInfoAckPolicy:2;
63 union qos_tsinfo TSInfo;
77 u16 SurplusBandwidthAllowance;
93 enum direction_value {
101 eAcmWay0_SwAndHw = 0,
115 struct _TYPE_GENERAL {
125 u8 SrcAddr[ETH_ALEN];
126 u8 DstAddr[ETH_ALEN];
156 struct _TYPE2_8021Q {