OSDN Git Service

Add rtl8821ce driver version 5.5.2
[android-x86/external-kernel-drivers.git] / rtl8821ce / hal / halmac / halmac_tx_desc_ie_chip.h
1 /******************************************************************************
2  *
3  * Copyright(c) 2016 - 2018 Realtek Corporation. All rights reserved.
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of version 2 of the GNU General Public License as
7  * published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12  * more details.
13  *
14  ******************************************************************************/
15
16 #ifndef _HALMAC_TX_DESC_IE_CHIP_H_
17 #define _HALMAC_TX_DESC_IE_CHIP_H_
18 #if (HALMAC_8814B_SUPPORT)
19
20 #define IE0_GET_TX_DESC_IE_END_8814B(txdesc_ie)                                \
21         IE0_GET_TX_DESC_IE_END(txdesc_ie)
22 #define IE0_SET_TX_DESC_IE_END_8814B(txdesc_ie, value)                         \
23         IE0_SET_TX_DESC_IE_END(txdesc_ie, value)
24 #define IE0_GET_TX_DESC_IE_UP_8814B(txdesc_ie) IE0_GET_TX_DESC_IE_UP(txdesc_ie)
25 #define IE0_SET_TX_DESC_IE_UP_8814B(txdesc_ie, value)                          \
26         IE0_SET_TX_DESC_IE_UP(txdesc_ie, value)
27 #define IE0_GET_TX_DESC_IE_NUM_8814B(txdesc_ie)                                \
28         IE0_GET_TX_DESC_IE_NUM(txdesc_ie)
29 #define IE0_SET_TX_DESC_IE_NUM_8814B(txdesc_ie, value)                         \
30         IE0_SET_TX_DESC_IE_NUM(txdesc_ie, value)
31 #define IE0_GET_TX_DESC_ARFR_TABLE_SEL_8814B(txdesc_ie)                        \
32         IE0_GET_TX_DESC_ARFR_TABLE_SEL(txdesc_ie)
33 #define IE0_SET_TX_DESC_ARFR_TABLE_SEL_8814B(txdesc_ie, value)                 \
34         IE0_SET_TX_DESC_ARFR_TABLE_SEL(txdesc_ie, value)
35 #define IE0_GET_TX_DESC_ARFR_HT_EN_8814B(txdesc_ie)                            \
36         IE0_GET_TX_DESC_ARFR_HT_EN(txdesc_ie)
37 #define IE0_SET_TX_DESC_ARFR_HT_EN_8814B(txdesc_ie, value)                     \
38         IE0_SET_TX_DESC_ARFR_HT_EN(txdesc_ie, value)
39 #define IE0_GET_TX_DESC_ARFR_OFDM_EN_8814B(txdesc_ie)                          \
40         IE0_GET_TX_DESC_ARFR_OFDM_EN(txdesc_ie)
41 #define IE0_SET_TX_DESC_ARFR_OFDM_EN_8814B(txdesc_ie, value)                   \
42         IE0_SET_TX_DESC_ARFR_OFDM_EN(txdesc_ie, value)
43 #define IE0_GET_TX_DESC_ARFR_CCK_EN_8814B(txdesc_ie)                           \
44         IE0_GET_TX_DESC_ARFR_CCK_EN(txdesc_ie)
45 #define IE0_SET_TX_DESC_ARFR_CCK_EN_8814B(txdesc_ie, value)                    \
46         IE0_SET_TX_DESC_ARFR_CCK_EN(txdesc_ie, value)
47 #define IE0_GET_TX_DESC_HW_RTS_EN_8814B(txdesc_ie)                             \
48         IE0_GET_TX_DESC_HW_RTS_EN(txdesc_ie)
49 #define IE0_SET_TX_DESC_HW_RTS_EN_8814B(txdesc_ie, value)                      \
50         IE0_SET_TX_DESC_HW_RTS_EN(txdesc_ie, value)
51 #define IE0_GET_TX_DESC_RTS_EN_8814B(txdesc_ie)                                \
52         IE0_GET_TX_DESC_RTS_EN(txdesc_ie)
53 #define IE0_SET_TX_DESC_RTS_EN_8814B(txdesc_ie, value)                         \
54         IE0_SET_TX_DESC_RTS_EN(txdesc_ie, value)
55 #define IE0_GET_TX_DESC_CTS2SELF_8814B(txdesc_ie)                              \
56         IE0_GET_TX_DESC_CTS2SELF(txdesc_ie)
57 #define IE0_SET_TX_DESC_CTS2SELF_8814B(txdesc_ie, value)                       \
58         IE0_SET_TX_DESC_CTS2SELF(txdesc_ie, value)
59 #define IE0_GET_TX_DESC_RTY_LMT_EN_8814B(txdesc_ie)                            \
60         IE0_GET_TX_DESC_RTY_LMT_EN(txdesc_ie)
61 #define IE0_SET_TX_DESC_RTY_LMT_EN_8814B(txdesc_ie, value)                     \
62         IE0_SET_TX_DESC_RTY_LMT_EN(txdesc_ie, value)
63 #define IE0_GET_TX_DESC_RTS_SHORT_8814B(txdesc_ie)                             \
64         IE0_GET_TX_DESC_RTS_SHORT(txdesc_ie)
65 #define IE0_SET_TX_DESC_RTS_SHORT_8814B(txdesc_ie, value)                      \
66         IE0_SET_TX_DESC_RTS_SHORT(txdesc_ie, value)
67 #define IE0_GET_TX_DESC_DISDATAFB_8814B(txdesc_ie)                             \
68         IE0_GET_TX_DESC_DISDATAFB(txdesc_ie)
69 #define IE0_SET_TX_DESC_DISDATAFB_8814B(txdesc_ie, value)                      \
70         IE0_SET_TX_DESC_DISDATAFB(txdesc_ie, value)
71 #define IE0_GET_TX_DESC_DISRTSFB_8814B(txdesc_ie)                              \
72         IE0_GET_TX_DESC_DISRTSFB(txdesc_ie)
73 #define IE0_SET_TX_DESC_DISRTSFB_8814B(txdesc_ie, value)                       \
74         IE0_SET_TX_DESC_DISRTSFB(txdesc_ie, value)
75 #define IE0_GET_TX_DESC_DATA_SHORT_8814B(txdesc_ie)                            \
76         IE0_GET_TX_DESC_DATA_SHORT(txdesc_ie)
77 #define IE0_SET_TX_DESC_DATA_SHORT_8814B(txdesc_ie, value)                     \
78         IE0_SET_TX_DESC_DATA_SHORT(txdesc_ie, value)
79 #define IE0_GET_TX_DESC_TRY_RATE_8814B(txdesc_ie)                              \
80         IE0_GET_TX_DESC_TRY_RATE(txdesc_ie)
81 #define IE0_SET_TX_DESC_TRY_RATE_8814B(txdesc_ie, value)                       \
82         IE0_SET_TX_DESC_TRY_RATE(txdesc_ie, value)
83 #define IE0_GET_TX_DESC_USERATE_8814B(txdesc_ie)                               \
84         IE0_GET_TX_DESC_USERATE(txdesc_ie)
85 #define IE0_SET_TX_DESC_USERATE_8814B(txdesc_ie, value)                        \
86         IE0_SET_TX_DESC_USERATE(txdesc_ie, value)
87 #define IE0_GET_TX_DESC_RTS_RTY_LOWEST_RATE_8814B(txdesc_ie)                   \
88         IE0_GET_TX_DESC_RTS_RTY_LOWEST_RATE(txdesc_ie)
89 #define IE0_SET_TX_DESC_RTS_RTY_LOWEST_RATE_8814B(txdesc_ie, value)            \
90         IE0_SET_TX_DESC_RTS_RTY_LOWEST_RATE(txdesc_ie, value)
91 #define IE0_GET_TX_DESC_DATA_RTY_LOWEST_RATE_8814B(txdesc_ie)                  \
92         IE0_GET_TX_DESC_DATA_RTY_LOWEST_RATE(txdesc_ie)
93 #define IE0_SET_TX_DESC_DATA_RTY_LOWEST_RATE_8814B(txdesc_ie, value)           \
94         IE0_SET_TX_DESC_DATA_RTY_LOWEST_RATE(txdesc_ie, value)
95 #define IE0_GET_TX_DESC_RTS_DATA_RTY_LMT_8814B(txdesc_ie)                      \
96         IE0_GET_TX_DESC_RTS_DATA_RTY_LMT(txdesc_ie)
97 #define IE0_SET_TX_DESC_RTS_DATA_RTY_LMT_8814B(txdesc_ie, value)               \
98         IE0_SET_TX_DESC_RTS_DATA_RTY_LMT(txdesc_ie, value)
99 #define IE0_GET_TX_DESC_DATA_BW_8814B(txdesc_ie)                               \
100         IE0_GET_TX_DESC_DATA_BW(txdesc_ie)
101 #define IE0_SET_TX_DESC_DATA_BW_8814B(txdesc_ie, value)                        \
102         IE0_SET_TX_DESC_DATA_BW(txdesc_ie, value)
103 #define IE0_GET_TX_DESC_RTSRATE_8814B(txdesc_ie)                               \
104         IE0_GET_TX_DESC_RTSRATE(txdesc_ie)
105 #define IE0_SET_TX_DESC_RTSRATE_8814B(txdesc_ie, value)                        \
106         IE0_SET_TX_DESC_RTSRATE(txdesc_ie, value)
107 #define IE0_GET_TX_DESC_DATARATE_8814B(txdesc_ie)                              \
108         IE0_GET_TX_DESC_DATARATE(txdesc_ie)
109 #define IE0_SET_TX_DESC_DATARATE_8814B(txdesc_ie, value)                       \
110         IE0_SET_TX_DESC_DATARATE(txdesc_ie, value)
111 #define IE1_GET_TX_DESC_IE_END_8814B(txdesc_ie)                                \
112         IE1_GET_TX_DESC_IE_END(txdesc_ie)
113 #define IE1_SET_TX_DESC_IE_END_8814B(txdesc_ie, value)                         \
114         IE1_SET_TX_DESC_IE_END(txdesc_ie, value)
115 #define IE1_GET_TX_DESC_IE_UP_8814B(txdesc_ie) IE1_GET_TX_DESC_IE_UP(txdesc_ie)
116 #define IE1_SET_TX_DESC_IE_UP_8814B(txdesc_ie, value)                          \
117         IE1_SET_TX_DESC_IE_UP(txdesc_ie, value)
118 #define IE1_GET_TX_DESC_IE_NUM_8814B(txdesc_ie)                                \
119         IE1_GET_TX_DESC_IE_NUM(txdesc_ie)
120 #define IE1_SET_TX_DESC_IE_NUM_8814B(txdesc_ie, value)                         \
121         IE1_SET_TX_DESC_IE_NUM(txdesc_ie, value)
122 #define IE1_GET_TX_DESC_AMPDU_DENSITY_8814B(txdesc_ie)                         \
123         IE1_GET_TX_DESC_AMPDU_DENSITY(txdesc_ie)
124 #define IE1_SET_TX_DESC_AMPDU_DENSITY_8814B(txdesc_ie, value)                  \
125         IE1_SET_TX_DESC_AMPDU_DENSITY(txdesc_ie, value)
126 #define IE1_GET_TX_DESC_MAX_AGG_NUM_8814B(txdesc_ie)                           \
127         IE1_GET_TX_DESC_MAX_AGG_NUM(txdesc_ie)
128 #define IE1_SET_TX_DESC_MAX_AGG_NUM_8814B(txdesc_ie, value)                    \
129         IE1_SET_TX_DESC_MAX_AGG_NUM(txdesc_ie, value)
130 #define IE1_GET_TX_DESC_SECTYPE_8814B(txdesc_ie)                               \
131         IE1_GET_TX_DESC_SECTYPE(txdesc_ie)
132 #define IE1_SET_TX_DESC_SECTYPE_8814B(txdesc_ie, value)                        \
133         IE1_SET_TX_DESC_SECTYPE(txdesc_ie, value)
134 #define IE1_GET_TX_DESC_MOREFRAG_8814B(txdesc_ie)                              \
135         IE1_GET_TX_DESC_MOREFRAG(txdesc_ie)
136 #define IE1_SET_TX_DESC_MOREFRAG_8814B(txdesc_ie, value)                       \
137         IE1_SET_TX_DESC_MOREFRAG(txdesc_ie, value)
138 #define IE1_GET_TX_DESC_NOACM_8814B(txdesc_ie) IE1_GET_TX_DESC_NOACM(txdesc_ie)
139 #define IE1_SET_TX_DESC_NOACM_8814B(txdesc_ie, value)                          \
140         IE1_SET_TX_DESC_NOACM(txdesc_ie, value)
141 #define IE1_GET_TX_DESC_BCNPKT_TSF_CTRL_8814B(txdesc_ie)                       \
142         IE1_GET_TX_DESC_BCNPKT_TSF_CTRL(txdesc_ie)
143 #define IE1_SET_TX_DESC_BCNPKT_TSF_CTRL_8814B(txdesc_ie, value)                \
144         IE1_SET_TX_DESC_BCNPKT_TSF_CTRL(txdesc_ie, value)
145 #define IE1_GET_TX_DESC_NAVUSEHDR_8814B(txdesc_ie)                             \
146         IE1_GET_TX_DESC_NAVUSEHDR(txdesc_ie)
147 #define IE1_SET_TX_DESC_NAVUSEHDR_8814B(txdesc_ie, value)                      \
148         IE1_SET_TX_DESC_NAVUSEHDR(txdesc_ie, value)
149 #define IE1_GET_TX_DESC_HTC_8814B(txdesc_ie) IE1_GET_TX_DESC_HTC(txdesc_ie)
150 #define IE1_SET_TX_DESC_HTC_8814B(txdesc_ie, value)                            \
151         IE1_SET_TX_DESC_HTC(txdesc_ie, value)
152 #define IE1_GET_TX_DESC_BMC_8814B(txdesc_ie) IE1_GET_TX_DESC_BMC(txdesc_ie)
153 #define IE1_SET_TX_DESC_BMC_8814B(txdesc_ie, value)                            \
154         IE1_SET_TX_DESC_BMC(txdesc_ie, value)
155 #define IE1_GET_TX_DESC_TX_PKT_AFTER_PIFS_8814B(txdesc_ie)                     \
156         IE1_GET_TX_DESC_TX_PKT_AFTER_PIFS(txdesc_ie)
157 #define IE1_SET_TX_DESC_TX_PKT_AFTER_PIFS_8814B(txdesc_ie, value)              \
158         IE1_SET_TX_DESC_TX_PKT_AFTER_PIFS(txdesc_ie, value)
159 #define IE1_GET_TX_DESC_USE_MAX_TIME_EN_8814B(txdesc_ie)                       \
160         IE1_GET_TX_DESC_USE_MAX_TIME_EN(txdesc_ie)
161 #define IE1_SET_TX_DESC_USE_MAX_TIME_EN_8814B(txdesc_ie, value)                \
162         IE1_SET_TX_DESC_USE_MAX_TIME_EN(txdesc_ie, value)
163 #define IE1_GET_TX_DESC_HW_SSN_SEL_8814B(txdesc_ie)                            \
164         IE1_GET_TX_DESC_HW_SSN_SEL(txdesc_ie)
165 #define IE1_SET_TX_DESC_HW_SSN_SEL_8814B(txdesc_ie, value)                     \
166         IE1_SET_TX_DESC_HW_SSN_SEL(txdesc_ie, value)
167 #define IE1_GET_TX_DESC_DISQSELSEQ_8814B(txdesc_ie)                            \
168         IE1_GET_TX_DESC_DISQSELSEQ(txdesc_ie)
169 #define IE1_SET_TX_DESC_DISQSELSEQ_8814B(txdesc_ie, value)                     \
170         IE1_SET_TX_DESC_DISQSELSEQ(txdesc_ie, value)
171 #define IE1_GET_TX_DESC_EN_HWSEQ_8814B(txdesc_ie)                              \
172         IE1_GET_TX_DESC_EN_HWSEQ(txdesc_ie)
173 #define IE1_SET_TX_DESC_EN_HWSEQ_8814B(txdesc_ie, value)                       \
174         IE1_SET_TX_DESC_EN_HWSEQ(txdesc_ie, value)
175 #define IE1_GET_TX_DESC_EN_HWEXSEQ_8814B(txdesc_ie)                            \
176         IE1_GET_TX_DESC_EN_HWEXSEQ(txdesc_ie)
177 #define IE1_SET_TX_DESC_EN_HWEXSEQ_8814B(txdesc_ie, value)                     \
178         IE1_SET_TX_DESC_EN_HWEXSEQ(txdesc_ie, value)
179 #define IE1_GET_TX_DESC_EN_DESC_ID_8814B(txdesc_ie)                            \
180         IE1_GET_TX_DESC_EN_DESC_ID(txdesc_ie)
181 #define IE1_SET_TX_DESC_EN_DESC_ID_8814B(txdesc_ie, value)                     \
182         IE1_SET_TX_DESC_EN_DESC_ID(txdesc_ie, value)
183 #define IE1_GET_TX_DESC_AMPDU_MAX_TIME_8814B(txdesc_ie)                        \
184         IE1_GET_TX_DESC_AMPDU_MAX_TIME(txdesc_ie)
185 #define IE1_SET_TX_DESC_AMPDU_MAX_TIME_8814B(txdesc_ie, value)                 \
186         IE1_SET_TX_DESC_AMPDU_MAX_TIME(txdesc_ie, value)
187 #define IE1_GET_TX_DESC_P_AID_8814B(txdesc_ie) IE1_GET_TX_DESC_P_AID(txdesc_ie)
188 #define IE1_SET_TX_DESC_P_AID_8814B(txdesc_ie, value)                          \
189         IE1_SET_TX_DESC_P_AID(txdesc_ie, value)
190 #define IE1_GET_TX_DESC_MOREDATA_8814B(txdesc_ie)                              \
191         IE1_GET_TX_DESC_MOREDATA(txdesc_ie)
192 #define IE1_SET_TX_DESC_MOREDATA_8814B(txdesc_ie, value)                       \
193         IE1_SET_TX_DESC_MOREDATA(txdesc_ie, value)
194 #define IE1_GET_TX_DESC_SW_SEQ_8814B(txdesc_ie)                                \
195         IE1_GET_TX_DESC_SW_SEQ(txdesc_ie)
196 #define IE1_SET_TX_DESC_SW_SEQ_8814B(txdesc_ie, value)                         \
197         IE1_SET_TX_DESC_SW_SEQ(txdesc_ie, value)
198 #define IE2_GET_TX_DESC_IE_END_8814B(txdesc_ie)                                \
199         IE2_GET_TX_DESC_IE_END(txdesc_ie)
200 #define IE2_SET_TX_DESC_IE_END_8814B(txdesc_ie, value)                         \
201         IE2_SET_TX_DESC_IE_END(txdesc_ie, value)
202 #define IE2_GET_TX_DESC_IE_UP_8814B(txdesc_ie) IE2_GET_TX_DESC_IE_UP(txdesc_ie)
203 #define IE2_SET_TX_DESC_IE_UP_8814B(txdesc_ie, value)                          \
204         IE2_SET_TX_DESC_IE_UP(txdesc_ie, value)
205 #define IE2_GET_TX_DESC_IE_NUM_8814B(txdesc_ie)                                \
206         IE2_GET_TX_DESC_IE_NUM(txdesc_ie)
207 #define IE2_SET_TX_DESC_IE_NUM_8814B(txdesc_ie, value)                         \
208         IE2_SET_TX_DESC_IE_NUM(txdesc_ie, value)
209 #define IE2_GET_TX_DESC_ADDR_CAM_8814B(txdesc_ie)                              \
210         IE2_GET_TX_DESC_ADDR_CAM(txdesc_ie)
211 #define IE2_SET_TX_DESC_ADDR_CAM_8814B(txdesc_ie, value)                       \
212         IE2_SET_TX_DESC_ADDR_CAM(txdesc_ie, value)
213 #define IE2_GET_TX_DESC_MULTIPLE_PORT_8814B(txdesc_ie)                         \
214         IE2_GET_TX_DESC_MULTIPLE_PORT(txdesc_ie)
215 #define IE2_SET_TX_DESC_MULTIPLE_PORT_8814B(txdesc_ie, value)                  \
216         IE2_SET_TX_DESC_MULTIPLE_PORT(txdesc_ie, value)
217 #define IE2_GET_TX_DESC_RAW_8814B(txdesc_ie) IE2_GET_TX_DESC_RAW(txdesc_ie)
218 #define IE2_SET_TX_DESC_RAW_8814B(txdesc_ie, value)                            \
219         IE2_SET_TX_DESC_RAW(txdesc_ie, value)
220 #define IE2_GET_TX_DESC_RDG_EN_8814B(txdesc_ie)                                \
221         IE2_GET_TX_DESC_RDG_EN(txdesc_ie)
222 #define IE2_SET_TX_DESC_RDG_EN_8814B(txdesc_ie, value)                         \
223         IE2_SET_TX_DESC_RDG_EN(txdesc_ie, value)
224 #define IE2_GET_TX_DESC_SPECIAL_CW_8814B(txdesc_ie)                            \
225         IE2_GET_TX_DESC_SPECIAL_CW(txdesc_ie)
226 #define IE2_SET_TX_DESC_SPECIAL_CW_8814B(txdesc_ie, value)                     \
227         IE2_SET_TX_DESC_SPECIAL_CW(txdesc_ie, value)
228 #define IE2_GET_TX_DESC_POLLUTED_8814B(txdesc_ie)                              \
229         IE2_GET_TX_DESC_POLLUTED(txdesc_ie)
230 #define IE2_SET_TX_DESC_POLLUTED_8814B(txdesc_ie, value)                       \
231         IE2_SET_TX_DESC_POLLUTED(txdesc_ie, value)
232 #define IE2_GET_TX_DESC_BT_NULL_8814B(txdesc_ie)                               \
233         IE2_GET_TX_DESC_BT_NULL(txdesc_ie)
234 #define IE2_SET_TX_DESC_BT_NULL_8814B(txdesc_ie, value)                        \
235         IE2_SET_TX_DESC_BT_NULL(txdesc_ie, value)
236 #define IE2_GET_TX_DESC_NULL_1_8814B(txdesc_ie)                                \
237         IE2_GET_TX_DESC_NULL_1(txdesc_ie)
238 #define IE2_SET_TX_DESC_NULL_1_8814B(txdesc_ie, value)                         \
239         IE2_SET_TX_DESC_NULL_1(txdesc_ie, value)
240 #define IE2_GET_TX_DESC_NULL_0_8814B(txdesc_ie)                                \
241         IE2_GET_TX_DESC_NULL_0(txdesc_ie)
242 #define IE2_SET_TX_DESC_NULL_0_8814B(txdesc_ie, value)                         \
243         IE2_SET_TX_DESC_NULL_0(txdesc_ie, value)
244 #define IE2_GET_TX_DESC_TRI_FRAME_8814B(txdesc_ie)                             \
245         IE2_GET_TX_DESC_TRI_FRAME(txdesc_ie)
246 #define IE2_SET_TX_DESC_TRI_FRAME_8814B(txdesc_ie, value)                      \
247         IE2_SET_TX_DESC_TRI_FRAME(txdesc_ie, value)
248 #define IE2_GET_TX_DESC_SPE_RPT_8814B(txdesc_ie)                               \
249         IE2_GET_TX_DESC_SPE_RPT(txdesc_ie)
250 #define IE2_SET_TX_DESC_SPE_RPT_8814B(txdesc_ie, value)                        \
251         IE2_SET_TX_DESC_SPE_RPT(txdesc_ie, value)
252 #define IE2_GET_TX_DESC_FTM_EN_8814B(txdesc_ie)                                \
253         IE2_GET_TX_DESC_FTM_EN(txdesc_ie)
254 #define IE2_SET_TX_DESC_FTM_EN_8814B(txdesc_ie, value)                         \
255         IE2_SET_TX_DESC_FTM_EN(txdesc_ie, value)
256 #define IE2_GET_TX_DESC_MBSSID_8814B(txdesc_ie)                                \
257         IE2_GET_TX_DESC_MBSSID(txdesc_ie)
258 #define IE2_SET_TX_DESC_MBSSID_8814B(txdesc_ie, value)                         \
259         IE2_SET_TX_DESC_MBSSID(txdesc_ie, value)
260 #define IE2_GET_TX_DESC_GROUP_BIT_IE_OFFSET_8814B(txdesc_ie)                   \
261         IE2_GET_TX_DESC_GROUP_BIT_IE_OFFSET(txdesc_ie)
262 #define IE2_SET_TX_DESC_GROUP_BIT_IE_OFFSET_8814B(txdesc_ie, value)            \
263         IE2_SET_TX_DESC_GROUP_BIT_IE_OFFSET(txdesc_ie, value)
264 #define IE2_GET_TX_DESC_RDG_NAV_EXT_8814B(txdesc_ie)                           \
265         IE2_GET_TX_DESC_RDG_NAV_EXT(txdesc_ie)
266 #define IE2_SET_TX_DESC_RDG_NAV_EXT_8814B(txdesc_ie, value)                    \
267         IE2_SET_TX_DESC_RDG_NAV_EXT(txdesc_ie, value)
268 #define IE2_GET_TX_DESC_DROP_ID_8814B(txdesc_ie)                               \
269         IE2_GET_TX_DESC_DROP_ID(txdesc_ie)
270 #define IE2_SET_TX_DESC_DROP_ID_8814B(txdesc_ie, value)                        \
271         IE2_SET_TX_DESC_DROP_ID(txdesc_ie, value)
272 #define IE2_GET_TX_DESC_SW_DEFINE_8814B(txdesc_ie)                             \
273         IE2_GET_TX_DESC_SW_DEFINE(txdesc_ie)
274 #define IE2_SET_TX_DESC_SW_DEFINE_8814B(txdesc_ie, value)                      \
275         IE2_SET_TX_DESC_SW_DEFINE(txdesc_ie, value)
276 #define IE3_GET_TX_DESC_IE_END_8814B(txdesc_ie)                                \
277         IE3_GET_TX_DESC_IE_END(txdesc_ie)
278 #define IE3_SET_TX_DESC_IE_END_8814B(txdesc_ie, value)                         \
279         IE3_SET_TX_DESC_IE_END(txdesc_ie, value)
280 #define IE3_GET_TX_DESC_IE_UP_8814B(txdesc_ie) IE3_GET_TX_DESC_IE_UP(txdesc_ie)
281 #define IE3_SET_TX_DESC_IE_UP_8814B(txdesc_ie, value)                          \
282         IE3_SET_TX_DESC_IE_UP(txdesc_ie, value)
283 #define IE3_GET_TX_DESC_IE_NUM_8814B(txdesc_ie)                                \
284         IE3_GET_TX_DESC_IE_NUM(txdesc_ie)
285 #define IE3_SET_TX_DESC_IE_NUM_8814B(txdesc_ie, value)                         \
286         IE3_SET_TX_DESC_IE_NUM(txdesc_ie, value)
287 #define IE3_GET_TX_DESC_DATA_SC_8814B(txdesc_ie)                               \
288         IE3_GET_TX_DESC_DATA_SC(txdesc_ie)
289 #define IE3_SET_TX_DESC_DATA_SC_8814B(txdesc_ie, value)                        \
290         IE3_SET_TX_DESC_DATA_SC(txdesc_ie, value)
291 #define IE3_GET_TX_DESC_SIGNALING_TA_PKT_SC_8814B(txdesc_ie)                   \
292         IE3_GET_TX_DESC_SIGNALING_TA_PKT_SC(txdesc_ie)
293 #define IE3_SET_TX_DESC_SIGNALING_TA_PKT_SC_8814B(txdesc_ie, value)            \
294         IE3_SET_TX_DESC_SIGNALING_TA_PKT_SC(txdesc_ie, value)
295 #define IE3_GET_TX_DESC_CTRL_CNT_8814B(txdesc_ie)                              \
296         IE3_GET_TX_DESC_CTRL_CNT(txdesc_ie)
297 #define IE3_SET_TX_DESC_CTRL_CNT_8814B(txdesc_ie, value)                       \
298         IE3_SET_TX_DESC_CTRL_CNT(txdesc_ie, value)
299 #define IE3_GET_TX_DESC_CTRL_CNT_VALID_8814B(txdesc_ie)                        \
300         IE3_GET_TX_DESC_CTRL_CNT_VALID(txdesc_ie)
301 #define IE3_SET_TX_DESC_CTRL_CNT_VALID_8814B(txdesc_ie, value)                 \
302         IE3_SET_TX_DESC_CTRL_CNT_VALID(txdesc_ie, value)
303 #define IE3_GET_TX_DESC_SIGNALING_TA_PKT_EN_8814B(txdesc_ie)                   \
304         IE3_GET_TX_DESC_SIGNALING_TA_PKT_EN(txdesc_ie)
305 #define IE3_SET_TX_DESC_SIGNALING_TA_PKT_EN_8814B(txdesc_ie, value)            \
306         IE3_SET_TX_DESC_SIGNALING_TA_PKT_EN(txdesc_ie, value)
307 #define IE3_GET_TX_DESC_G_ID_8814B(txdesc_ie) IE3_GET_TX_DESC_G_ID(txdesc_ie)
308 #define IE3_SET_TX_DESC_G_ID_8814B(txdesc_ie, value)                           \
309         IE3_SET_TX_DESC_G_ID(txdesc_ie, value)
310 #define IE3_GET_TX_DESC_SND_TARGET_8814B(txdesc_ie)                            \
311         IE3_GET_TX_DESC_SND_TARGET(txdesc_ie)
312 #define IE3_SET_TX_DESC_SND_TARGET_8814B(txdesc_ie, value)                     \
313         IE3_SET_TX_DESC_SND_TARGET(txdesc_ie, value)
314 #define IE3_GET_TX_DESC_CCA_RTS_8814B(txdesc_ie)                               \
315         IE3_GET_TX_DESC_CCA_RTS(txdesc_ie)
316 #define IE3_SET_TX_DESC_CCA_RTS_8814B(txdesc_ie, value)                        \
317         IE3_SET_TX_DESC_CCA_RTS(txdesc_ie, value)
318 #define IE3_GET_TX_DESC_SND_PKT_SEL_8814B(txdesc_ie)                           \
319         IE3_GET_TX_DESC_SND_PKT_SEL(txdesc_ie)
320 #define IE3_SET_TX_DESC_SND_PKT_SEL_8814B(txdesc_ie, value)                    \
321         IE3_SET_TX_DESC_SND_PKT_SEL(txdesc_ie, value)
322 #define IE3_GET_TX_DESC_NDPA_8814B(txdesc_ie) IE3_GET_TX_DESC_NDPA(txdesc_ie)
323 #define IE3_SET_TX_DESC_NDPA_8814B(txdesc_ie, value)                           \
324         IE3_SET_TX_DESC_NDPA(txdesc_ie, value)
325 #define IE3_GET_TX_DESC_MU_DATARATE_8814B(txdesc_ie)                           \
326         IE3_GET_TX_DESC_MU_DATARATE(txdesc_ie)
327 #define IE3_SET_TX_DESC_MU_DATARATE_8814B(txdesc_ie, value)                    \
328         IE3_SET_TX_DESC_MU_DATARATE(txdesc_ie, value)
329 #define IE4_GET_TX_DESC_IE_END_8814B(txdesc_ie)                                \
330         IE4_GET_TX_DESC_IE_END(txdesc_ie)
331 #define IE4_SET_TX_DESC_IE_END_8814B(txdesc_ie, value)                         \
332         IE4_SET_TX_DESC_IE_END(txdesc_ie, value)
333 #define IE4_GET_TX_DESC_IE_UP_8814B(txdesc_ie) IE4_GET_TX_DESC_IE_UP(txdesc_ie)
334 #define IE4_SET_TX_DESC_IE_UP_8814B(txdesc_ie, value)                          \
335         IE4_SET_TX_DESC_IE_UP(txdesc_ie, value)
336 #define IE4_GET_TX_DESC_IE_NUM_8814B(txdesc_ie)                                \
337         IE4_GET_TX_DESC_IE_NUM(txdesc_ie)
338 #define IE4_SET_TX_DESC_IE_NUM_8814B(txdesc_ie, value)                         \
339         IE4_SET_TX_DESC_IE_NUM(txdesc_ie, value)
340 #define IE4_GET_TX_DESC_VCS_STBC_8814B(txdesc_ie)                              \
341         IE4_GET_TX_DESC_VCS_STBC(txdesc_ie)
342 #define IE4_SET_TX_DESC_VCS_STBC_8814B(txdesc_ie, value)                       \
343         IE4_SET_TX_DESC_VCS_STBC(txdesc_ie, value)
344 #define IE4_GET_TX_DESC_DATA_STBC_8814B(txdesc_ie)                             \
345         IE4_GET_TX_DESC_DATA_STBC(txdesc_ie)
346 #define IE4_SET_TX_DESC_DATA_STBC_8814B(txdesc_ie, value)                      \
347         IE4_SET_TX_DESC_DATA_STBC(txdesc_ie, value)
348 #define IE4_GET_TX_DESC_DATA_LDPC_8814B(txdesc_ie)                             \
349         IE4_GET_TX_DESC_DATA_LDPC(txdesc_ie)
350 #define IE4_SET_TX_DESC_DATA_LDPC_8814B(txdesc_ie, value)                      \
351         IE4_SET_TX_DESC_DATA_LDPC(txdesc_ie, value)
352 #define IE4_GET_TX_DESC_GF_8814B(txdesc_ie) IE4_GET_TX_DESC_GF(txdesc_ie)
353 #define IE4_SET_TX_DESC_GF_8814B(txdesc_ie, value)                             \
354         IE4_SET_TX_DESC_GF(txdesc_ie, value)
355 #define IE4_GET_TX_DESC_LSIG_TXOP_EN_8814B(txdesc_ie)                          \
356         IE4_GET_TX_DESC_LSIG_TXOP_EN(txdesc_ie)
357 #define IE4_SET_TX_DESC_LSIG_TXOP_EN_8814B(txdesc_ie, value)                   \
358         IE4_SET_TX_DESC_LSIG_TXOP_EN(txdesc_ie, value)
359 #define IE4_GET_TX_DESC_PATH_MAPA_8814B(txdesc_ie)                             \
360         IE4_GET_TX_DESC_PATH_MAPA(txdesc_ie)
361 #define IE4_SET_TX_DESC_PATH_MAPA_8814B(txdesc_ie, value)                      \
362         IE4_SET_TX_DESC_PATH_MAPA(txdesc_ie, value)
363 #define IE4_GET_TX_DESC_PATH_MAPB_8814B(txdesc_ie)                             \
364         IE4_GET_TX_DESC_PATH_MAPB(txdesc_ie)
365 #define IE4_SET_TX_DESC_PATH_MAPB_8814B(txdesc_ie, value)                      \
366         IE4_SET_TX_DESC_PATH_MAPB(txdesc_ie, value)
367 #define IE4_GET_TX_DESC_PATH_MAPC_8814B(txdesc_ie)                             \
368         IE4_GET_TX_DESC_PATH_MAPC(txdesc_ie)
369 #define IE4_SET_TX_DESC_PATH_MAPC_8814B(txdesc_ie, value)                      \
370         IE4_SET_TX_DESC_PATH_MAPC(txdesc_ie, value)
371 #define IE4_GET_TX_DESC_PATH_MAPD_8814B(txdesc_ie)                             \
372         IE4_GET_TX_DESC_PATH_MAPD(txdesc_ie)
373 #define IE4_SET_TX_DESC_PATH_MAPD_8814B(txdesc_ie, value)                      \
374         IE4_SET_TX_DESC_PATH_MAPD(txdesc_ie, value)
375 #define IE4_GET_TX_DESC_ANTSEL_A_8814B(txdesc_ie)                              \
376         IE4_GET_TX_DESC_ANTSEL_A(txdesc_ie)
377 #define IE4_SET_TX_DESC_ANTSEL_A_8814B(txdesc_ie, value)                       \
378         IE4_SET_TX_DESC_ANTSEL_A(txdesc_ie, value)
379 #define IE4_GET_TX_DESC_ANTSEL_B_8814B(txdesc_ie)                              \
380         IE4_GET_TX_DESC_ANTSEL_B(txdesc_ie)
381 #define IE4_SET_TX_DESC_ANTSEL_B_8814B(txdesc_ie, value)                       \
382         IE4_SET_TX_DESC_ANTSEL_B(txdesc_ie, value)
383 #define IE4_GET_TX_DESC_ANTSEL_C_8814B(txdesc_ie)                              \
384         IE4_GET_TX_DESC_ANTSEL_C(txdesc_ie)
385 #define IE4_SET_TX_DESC_ANTSEL_C_8814B(txdesc_ie, value)                       \
386         IE4_SET_TX_DESC_ANTSEL_C(txdesc_ie, value)
387 #define IE4_GET_TX_DESC_ANTSEL_D_8814B(txdesc_ie)                              \
388         IE4_GET_TX_DESC_ANTSEL_D(txdesc_ie)
389 #define IE4_SET_TX_DESC_ANTSEL_D_8814B(txdesc_ie, value)                       \
390         IE4_SET_TX_DESC_ANTSEL_D(txdesc_ie, value)
391 #define IE4_GET_TX_DESC_NTX_PATH_EN_8814B(txdesc_ie)                           \
392         IE4_GET_TX_DESC_NTX_PATH_EN(txdesc_ie)
393 #define IE4_SET_TX_DESC_NTX_PATH_EN_8814B(txdesc_ie, value)                    \
394         IE4_SET_TX_DESC_NTX_PATH_EN(txdesc_ie, value)
395 #define IE4_GET_TX_DESC_ANTLSEL_EN_8814B(txdesc_ie)                            \
396         IE4_GET_TX_DESC_ANTLSEL_EN(txdesc_ie)
397 #define IE4_SET_TX_DESC_ANTLSEL_EN_8814B(txdesc_ie, value)                     \
398         IE4_SET_TX_DESC_ANTLSEL_EN(txdesc_ie, value)
399 #define IE4_GET_TX_DESC_TXPWR_OFSET_TYPE_8814B(txdesc_ie)                      \
400         IE4_GET_TX_DESC_TXPWR_OFSET_TYPE(txdesc_ie)
401 #define IE4_SET_TX_DESC_TXPWR_OFSET_TYPE_8814B(txdesc_ie, value)               \
402         IE4_SET_TX_DESC_TXPWR_OFSET_TYPE(txdesc_ie, value)
403 #define IE5_GET_TX_DESC_IE_END_8814B(txdesc_ie)                                \
404         IE5_GET_TX_DESC_IE_END(txdesc_ie)
405 #define IE5_SET_TX_DESC_IE_END_8814B(txdesc_ie, value)                         \
406         IE5_SET_TX_DESC_IE_END(txdesc_ie, value)
407 #define IE5_GET_TX_DESC_IE_UP_8814B(txdesc_ie) IE5_GET_TX_DESC_IE_UP(txdesc_ie)
408 #define IE5_SET_TX_DESC_IE_UP_8814B(txdesc_ie, value)                          \
409         IE5_SET_TX_DESC_IE_UP(txdesc_ie, value)
410 #define IE5_GET_TX_DESC_IE_NUM_8814B(txdesc_ie)                                \
411         IE5_GET_TX_DESC_IE_NUM(txdesc_ie)
412 #define IE5_SET_TX_DESC_IE_NUM_8814B(txdesc_ie, value)                         \
413         IE5_SET_TX_DESC_IE_NUM(txdesc_ie, value)
414 #define IE5_GET_TX_DESC_LEN1_L_8814B(txdesc_ie)                                \
415         IE5_GET_TX_DESC_LEN1_L(txdesc_ie)
416 #define IE5_SET_TX_DESC_LEN1_L_8814B(txdesc_ie, value)                         \
417         IE5_SET_TX_DESC_LEN1_L(txdesc_ie, value)
418 #define IE5_GET_TX_DESC_LEN0_8814B(txdesc_ie) IE5_GET_TX_DESC_LEN0(txdesc_ie)
419 #define IE5_SET_TX_DESC_LEN0_8814B(txdesc_ie, value)                           \
420         IE5_SET_TX_DESC_LEN0(txdesc_ie, value)
421 #define IE5_GET_TX_DESC_PKT_NUM_8814B(txdesc_ie)                               \
422         IE5_GET_TX_DESC_PKT_NUM(txdesc_ie)
423 #define IE5_SET_TX_DESC_PKT_NUM_8814B(txdesc_ie, value)                        \
424         IE5_SET_TX_DESC_PKT_NUM(txdesc_ie, value)
425 #define IE5_GET_TX_DESC_LEN3_8814B(txdesc_ie) IE5_GET_TX_DESC_LEN3(txdesc_ie)
426 #define IE5_SET_TX_DESC_LEN3_8814B(txdesc_ie, value)                           \
427         IE5_SET_TX_DESC_LEN3(txdesc_ie, value)
428 #define IE5_GET_TX_DESC_LEN2_8814B(txdesc_ie) IE5_GET_TX_DESC_LEN2(txdesc_ie)
429 #define IE5_SET_TX_DESC_LEN2_8814B(txdesc_ie, value)                           \
430         IE5_SET_TX_DESC_LEN2(txdesc_ie, value)
431 #define IE5_GET_TX_DESC_LEN1_H_8814B(txdesc_ie)                                \
432         IE5_GET_TX_DESC_LEN1_H(txdesc_ie)
433 #define IE5_SET_TX_DESC_LEN1_H_8814B(txdesc_ie, value)                         \
434         IE5_SET_TX_DESC_LEN1_H(txdesc_ie, value)
435
436 #endif
437
438 #endif