1 /******************************************************************************
3 * Copyright(c) 2016 Realtek Corporation.
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.
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
14 * The full GNU General Public License is included in this distribution in the
15 * file called LICENSE.
17 * Contact Information:
18 * wlanfae <wlanfae@realtek.com>
19 * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
20 * Hsinchu 300, Taiwan.
22 * Larry Finger <Larry.Finger@lwfinger.net>
24 *****************************************************************************/
25 #ifndef _HALMAC_TX_DESC_CHIP_H_
26 #define _HALMAC_TX_DESC_CHIP_H_
30 #define SET_TX_DESC_DISQSELSEQ_8822B(__tx_desc, __value) \
31 SET_TX_DESC_DISQSELSEQ(__tx_desc, __value)
32 #define GET_TX_DESC_DISQSELSEQ_8822B(__tx_desc) \
33 GET_TX_DESC_DISQSELSEQ(__tx_desc)
34 #define SET_TX_DESC_GF_8822B(__tx_desc, __value) \
35 SET_TX_DESC_GF(__tx_desc, __value)
36 #define GET_TX_DESC_GF_8822B(__tx_desc) GET_TX_DESC_GF(__tx_desc)
37 #define SET_TX_DESC_NO_ACM_8822B(__tx_desc, __value) \
38 SET_TX_DESC_NO_ACM(__tx_desc, __value)
39 #define GET_TX_DESC_NO_ACM_8822B(__tx_desc) GET_TX_DESC_NO_ACM(__tx_desc)
40 #define SET_TX_DESC_BCNPKT_TSF_CTRL_8822B(__tx_desc, __value) \
41 SET_TX_DESC_BCNPKT_TSF_CTRL(__tx_desc, __value)
42 #define GET_TX_DESC_BCNPKT_TSF_CTRL_8822B(__tx_desc) \
43 GET_TX_DESC_BCNPKT_TSF_CTRL(__tx_desc)
44 #define SET_TX_DESC_AMSDU_PAD_EN_8822B(__tx_desc, __value) \
45 SET_TX_DESC_AMSDU_PAD_EN(__tx_desc, __value)
46 #define GET_TX_DESC_AMSDU_PAD_EN_8822B(__tx_desc) \
47 GET_TX_DESC_AMSDU_PAD_EN(__tx_desc)
48 #define SET_TX_DESC_LS_8822B(__tx_desc, __value) \
49 SET_TX_DESC_LS(__tx_desc, __value)
50 #define GET_TX_DESC_LS_8822B(__tx_desc) GET_TX_DESC_LS(__tx_desc)
51 #define SET_TX_DESC_HTC_8822B(__tx_desc, __value) \
52 SET_TX_DESC_HTC(__tx_desc, __value)
53 #define GET_TX_DESC_HTC_8822B(__tx_desc) GET_TX_DESC_HTC(__tx_desc)
54 #define SET_TX_DESC_BMC_8822B(__tx_desc, __value) \
55 SET_TX_DESC_BMC(__tx_desc, __value)
56 #define GET_TX_DESC_BMC_8822B(__tx_desc) GET_TX_DESC_BMC(__tx_desc)
57 #define SET_TX_DESC_OFFSET_8822B(__tx_desc, __value) \
58 SET_TX_DESC_OFFSET(__tx_desc, __value)
59 #define GET_TX_DESC_OFFSET_8822B(__tx_desc) GET_TX_DESC_OFFSET(__tx_desc)
60 #define SET_TX_DESC_TXPKTSIZE_8822B(__tx_desc, __value) \
61 SET_TX_DESC_TXPKTSIZE(__tx_desc, __value)
62 #define GET_TX_DESC_TXPKTSIZE_8822B(__tx_desc) GET_TX_DESC_TXPKTSIZE(__tx_desc)
66 #define SET_TX_DESC_MOREDATA_8822B(__tx_desc, __value) \
67 SET_TX_DESC_MOREDATA(__tx_desc, __value)
68 #define GET_TX_DESC_MOREDATA_8822B(__tx_desc) GET_TX_DESC_MOREDATA(__tx_desc)
69 #define SET_TX_DESC_PKT_OFFSET_8822B(__tx_desc, __value) \
70 SET_TX_DESC_PKT_OFFSET(__tx_desc, __value)
71 #define GET_TX_DESC_PKT_OFFSET_8822B(__tx_desc) \
72 GET_TX_DESC_PKT_OFFSET(__tx_desc)
73 #define SET_TX_DESC_SEC_TYPE_8822B(__tx_desc, __value) \
74 SET_TX_DESC_SEC_TYPE(__tx_desc, __value)
75 #define GET_TX_DESC_SEC_TYPE_8822B(__tx_desc) GET_TX_DESC_SEC_TYPE(__tx_desc)
76 #define SET_TX_DESC_EN_DESC_ID_8822B(__tx_desc, __value) \
77 SET_TX_DESC_EN_DESC_ID(__tx_desc, __value)
78 #define GET_TX_DESC_EN_DESC_ID_8822B(__tx_desc) \
79 GET_TX_DESC_EN_DESC_ID(__tx_desc)
80 #define SET_TX_DESC_RATE_ID_8822B(__tx_desc, __value) \
81 SET_TX_DESC_RATE_ID(__tx_desc, __value)
82 #define GET_TX_DESC_RATE_ID_8822B(__tx_desc) GET_TX_DESC_RATE_ID(__tx_desc)
83 #define SET_TX_DESC_PIFS_8822B(__tx_desc, __value) \
84 SET_TX_DESC_PIFS(__tx_desc, __value)
85 #define GET_TX_DESC_PIFS_8822B(__tx_desc) GET_TX_DESC_PIFS(__tx_desc)
86 #define SET_TX_DESC_LSIG_TXOP_EN_8822B(__tx_desc, __value) \
87 SET_TX_DESC_LSIG_TXOP_EN(__tx_desc, __value)
88 #define GET_TX_DESC_LSIG_TXOP_EN_8822B(__tx_desc) \
89 GET_TX_DESC_LSIG_TXOP_EN(__tx_desc)
90 #define SET_TX_DESC_RD_NAV_EXT_8822B(__tx_desc, __value) \
91 SET_TX_DESC_RD_NAV_EXT(__tx_desc, __value)
92 #define GET_TX_DESC_RD_NAV_EXT_8822B(__tx_desc) \
93 GET_TX_DESC_RD_NAV_EXT(__tx_desc)
94 #define SET_TX_DESC_QSEL_8822B(__tx_desc, __value) \
95 SET_TX_DESC_QSEL(__tx_desc, __value)
96 #define GET_TX_DESC_QSEL_8822B(__tx_desc) GET_TX_DESC_QSEL(__tx_desc)
97 #define SET_TX_DESC_MACID_8822B(__tx_desc, __value) \
98 SET_TX_DESC_MACID(__tx_desc, __value)
99 #define GET_TX_DESC_MACID_8822B(__tx_desc) GET_TX_DESC_MACID(__tx_desc)
103 #define SET_TX_DESC_HW_AES_IV_8822B(__tx_desc, __value) \
104 SET_TX_DESC_HW_AES_IV(__tx_desc, __value)
105 #define GET_TX_DESC_HW_AES_IV_8822B(__tx_desc) GET_TX_DESC_HW_AES_IV(__tx_desc)
106 #define SET_TX_DESC_FTM_EN_8822B(__tx_desc, __value) \
107 SET_TX_DESC_FTM_EN(__tx_desc, __value)
108 #define GET_TX_DESC_FTM_EN_8822B(__tx_desc) GET_TX_DESC_FTM_EN(__tx_desc)
109 #define SET_TX_DESC_G_ID_8822B(__tx_desc, __value) \
110 SET_TX_DESC_G_ID(__tx_desc, __value)
111 #define GET_TX_DESC_G_ID_8822B(__tx_desc) GET_TX_DESC_G_ID(__tx_desc)
112 #define SET_TX_DESC_BT_NULL_8822B(__tx_desc, __value) \
113 SET_TX_DESC_BT_NULL(__tx_desc, __value)
114 #define GET_TX_DESC_BT_NULL_8822B(__tx_desc) GET_TX_DESC_BT_NULL(__tx_desc)
115 #define SET_TX_DESC_AMPDU_DENSITY_8822B(__tx_desc, __value) \
116 SET_TX_DESC_AMPDU_DENSITY(__tx_desc, __value)
117 #define GET_TX_DESC_AMPDU_DENSITY_8822B(__tx_desc) \
118 GET_TX_DESC_AMPDU_DENSITY(__tx_desc)
119 #define SET_TX_DESC_SPE_RPT_8822B(__tx_desc, __value) \
120 SET_TX_DESC_SPE_RPT(__tx_desc, __value)
121 #define GET_TX_DESC_SPE_RPT_8822B(__tx_desc) GET_TX_DESC_SPE_RPT(__tx_desc)
122 #define SET_TX_DESC_RAW_8822B(__tx_desc, __value) \
123 SET_TX_DESC_RAW(__tx_desc, __value)
124 #define GET_TX_DESC_RAW_8822B(__tx_desc) GET_TX_DESC_RAW(__tx_desc)
125 #define SET_TX_DESC_MOREFRAG_8822B(__tx_desc, __value) \
126 SET_TX_DESC_MOREFRAG(__tx_desc, __value)
127 #define GET_TX_DESC_MOREFRAG_8822B(__tx_desc) GET_TX_DESC_MOREFRAG(__tx_desc)
128 #define SET_TX_DESC_BK_8822B(__tx_desc, __value) \
129 SET_TX_DESC_BK(__tx_desc, __value)
130 #define GET_TX_DESC_BK_8822B(__tx_desc) GET_TX_DESC_BK(__tx_desc)
131 #define SET_TX_DESC_NULL_1_8822B(__tx_desc, __value) \
132 SET_TX_DESC_NULL_1(__tx_desc, __value)
133 #define GET_TX_DESC_NULL_1_8822B(__tx_desc) GET_TX_DESC_NULL_1(__tx_desc)
134 #define SET_TX_DESC_NULL_0_8822B(__tx_desc, __value) \
135 SET_TX_DESC_NULL_0(__tx_desc, __value)
136 #define GET_TX_DESC_NULL_0_8822B(__tx_desc) GET_TX_DESC_NULL_0(__tx_desc)
137 #define SET_TX_DESC_RDG_EN_8822B(__tx_desc, __value) \
138 SET_TX_DESC_RDG_EN(__tx_desc, __value)
139 #define GET_TX_DESC_RDG_EN_8822B(__tx_desc) GET_TX_DESC_RDG_EN(__tx_desc)
140 #define SET_TX_DESC_AGG_EN_8822B(__tx_desc, __value) \
141 SET_TX_DESC_AGG_EN(__tx_desc, __value)
142 #define GET_TX_DESC_AGG_EN_8822B(__tx_desc) GET_TX_DESC_AGG_EN(__tx_desc)
143 #define SET_TX_DESC_CCA_RTS_8822B(__tx_desc, __value) \
144 SET_TX_DESC_CCA_RTS(__tx_desc, __value)
145 #define GET_TX_DESC_CCA_RTS_8822B(__tx_desc) GET_TX_DESC_CCA_RTS(__tx_desc)
146 #define SET_TX_DESC_TRI_FRAME_8822B(__tx_desc, __value) \
147 SET_TX_DESC_TRI_FRAME(__tx_desc, __value)
148 #define GET_TX_DESC_TRI_FRAME_8822B(__tx_desc) GET_TX_DESC_TRI_FRAME(__tx_desc)
149 #define SET_TX_DESC_P_AID_8822B(__tx_desc, __value) \
150 SET_TX_DESC_P_AID(__tx_desc, __value)
151 #define GET_TX_DESC_P_AID_8822B(__tx_desc) GET_TX_DESC_P_AID(__tx_desc)
155 #define SET_TX_DESC_AMPDU_MAX_TIME_8822B(__tx_desc, __value) \
156 SET_TX_DESC_AMPDU_MAX_TIME(__tx_desc, __value)
157 #define GET_TX_DESC_AMPDU_MAX_TIME_8822B(__tx_desc) \
158 GET_TX_DESC_AMPDU_MAX_TIME(__tx_desc)
159 #define SET_TX_DESC_NDPA_8822B(__tx_desc, __value) \
160 SET_TX_DESC_NDPA(__tx_desc, __value)
161 #define GET_TX_DESC_NDPA_8822B(__tx_desc) GET_TX_DESC_NDPA(__tx_desc)
162 #define SET_TX_DESC_MAX_AGG_NUM_8822B(__tx_desc, __value) \
163 SET_TX_DESC_MAX_AGG_NUM(__tx_desc, __value)
164 #define GET_TX_DESC_MAX_AGG_NUM_8822B(__tx_desc) \
165 GET_TX_DESC_MAX_AGG_NUM(__tx_desc)
166 #define SET_TX_DESC_USE_MAX_TIME_EN_8822B(__tx_desc, __value) \
167 SET_TX_DESC_USE_MAX_TIME_EN(__tx_desc, __value)
168 #define GET_TX_DESC_USE_MAX_TIME_EN_8822B(__tx_desc) \
169 GET_TX_DESC_USE_MAX_TIME_EN(__tx_desc)
170 #define SET_TX_DESC_NAVUSEHDR_8822B(__tx_desc, __value) \
171 SET_TX_DESC_NAVUSEHDR(__tx_desc, __value)
172 #define GET_TX_DESC_NAVUSEHDR_8822B(__tx_desc) GET_TX_DESC_NAVUSEHDR(__tx_desc)
173 #define SET_TX_DESC_CHK_EN_8822B(__tx_desc, __value) \
174 SET_TX_DESC_CHK_EN(__tx_desc, __value)
175 #define GET_TX_DESC_CHK_EN_8822B(__tx_desc) GET_TX_DESC_CHK_EN(__tx_desc)
176 #define SET_TX_DESC_HW_RTS_EN_8822B(__tx_desc, __value) \
177 SET_TX_DESC_HW_RTS_EN(__tx_desc, __value)
178 #define GET_TX_DESC_HW_RTS_EN_8822B(__tx_desc) GET_TX_DESC_HW_RTS_EN(__tx_desc)
179 #define SET_TX_DESC_RTSEN_8822B(__tx_desc, __value) \
180 SET_TX_DESC_RTSEN(__tx_desc, __value)
181 #define GET_TX_DESC_RTSEN_8822B(__tx_desc) GET_TX_DESC_RTSEN(__tx_desc)
182 #define SET_TX_DESC_CTS2SELF_8822B(__tx_desc, __value) \
183 SET_TX_DESC_CTS2SELF(__tx_desc, __value)
184 #define GET_TX_DESC_CTS2SELF_8822B(__tx_desc) GET_TX_DESC_CTS2SELF(__tx_desc)
185 #define SET_TX_DESC_DISDATAFB_8822B(__tx_desc, __value) \
186 SET_TX_DESC_DISDATAFB(__tx_desc, __value)
187 #define GET_TX_DESC_DISDATAFB_8822B(__tx_desc) GET_TX_DESC_DISDATAFB(__tx_desc)
188 #define SET_TX_DESC_DISRTSFB_8822B(__tx_desc, __value) \
189 SET_TX_DESC_DISRTSFB(__tx_desc, __value)
190 #define GET_TX_DESC_DISRTSFB_8822B(__tx_desc) GET_TX_DESC_DISRTSFB(__tx_desc)
191 #define SET_TX_DESC_USE_RATE_8822B(__tx_desc, __value) \
192 SET_TX_DESC_USE_RATE(__tx_desc, __value)
193 #define GET_TX_DESC_USE_RATE_8822B(__tx_desc) GET_TX_DESC_USE_RATE(__tx_desc)
194 #define SET_TX_DESC_HW_SSN_SEL_8822B(__tx_desc, __value) \
195 SET_TX_DESC_HW_SSN_SEL(__tx_desc, __value)
196 #define GET_TX_DESC_HW_SSN_SEL_8822B(__tx_desc) \
197 GET_TX_DESC_HW_SSN_SEL(__tx_desc)
198 #define SET_TX_DESC_WHEADER_LEN_8822B(__tx_desc, __value) \
199 SET_TX_DESC_WHEADER_LEN(__tx_desc, __value)
200 #define GET_TX_DESC_WHEADER_LEN_8822B(__tx_desc) \
201 GET_TX_DESC_WHEADER_LEN(__tx_desc)
205 #define SET_TX_DESC_PCTS_MASK_IDX_8822B(__tx_desc, __value) \
206 SET_TX_DESC_PCTS_MASK_IDX(__tx_desc, __value)
207 #define GET_TX_DESC_PCTS_MASK_IDX_8822B(__tx_desc) \
208 GET_TX_DESC_PCTS_MASK_IDX(__tx_desc)
209 #define SET_TX_DESC_PCTS_EN_8822B(__tx_desc, __value) \
210 SET_TX_DESC_PCTS_EN(__tx_desc, __value)
211 #define GET_TX_DESC_PCTS_EN_8822B(__tx_desc) GET_TX_DESC_PCTS_EN(__tx_desc)
212 #define SET_TX_DESC_RTSRATE_8822B(__tx_desc, __value) \
213 SET_TX_DESC_RTSRATE(__tx_desc, __value)
214 #define GET_TX_DESC_RTSRATE_8822B(__tx_desc) GET_TX_DESC_RTSRATE(__tx_desc)
215 #define SET_TX_DESC_RTS_DATA_RTY_LMT_8822B(__tx_desc, __value) \
216 SET_TX_DESC_RTS_DATA_RTY_LMT(__tx_desc, __value)
217 #define GET_TX_DESC_RTS_DATA_RTY_LMT_8822B(__tx_desc) \
218 GET_TX_DESC_RTS_DATA_RTY_LMT(__tx_desc)
219 #define SET_TX_DESC_RTY_LMT_EN_8822B(__tx_desc, __value) \
220 SET_TX_DESC_RTY_LMT_EN(__tx_desc, __value)
221 #define GET_TX_DESC_RTY_LMT_EN_8822B(__tx_desc) \
222 GET_TX_DESC_RTY_LMT_EN(__tx_desc)
223 #define SET_TX_DESC_RTS_RTY_LOWEST_RATE_8822B(__tx_desc, __value) \
224 SET_TX_DESC_RTS_RTY_LOWEST_RATE(__tx_desc, __value)
225 #define GET_TX_DESC_RTS_RTY_LOWEST_RATE_8822B(__tx_desc) \
226 GET_TX_DESC_RTS_RTY_LOWEST_RATE(__tx_desc)
227 #define SET_TX_DESC_DATA_RTY_LOWEST_RATE_8822B(__tx_desc, __value) \
228 SET_TX_DESC_DATA_RTY_LOWEST_RATE(__tx_desc, __value)
229 #define GET_TX_DESC_DATA_RTY_LOWEST_RATE_8822B(__tx_desc) \
230 GET_TX_DESC_DATA_RTY_LOWEST_RATE(__tx_desc)
231 #define SET_TX_DESC_TRY_RATE_8822B(__tx_desc, __value) \
232 SET_TX_DESC_TRY_RATE(__tx_desc, __value)
233 #define GET_TX_DESC_TRY_RATE_8822B(__tx_desc) GET_TX_DESC_TRY_RATE(__tx_desc)
234 #define SET_TX_DESC_DATARATE_8822B(__tx_desc, __value) \
235 SET_TX_DESC_DATARATE(__tx_desc, __value)
236 #define GET_TX_DESC_DATARATE_8822B(__tx_desc) GET_TX_DESC_DATARATE(__tx_desc)
240 #define SET_TX_DESC_POLLUTED_8822B(__tx_desc, __value) \
241 SET_TX_DESC_POLLUTED(__tx_desc, __value)
242 #define GET_TX_DESC_POLLUTED_8822B(__tx_desc) GET_TX_DESC_POLLUTED(__tx_desc)
243 #define SET_TX_DESC_TXPWR_OFSET_8822B(__tx_desc, __value) \
244 SET_TX_DESC_TXPWR_OFSET(__tx_desc, __value)
245 #define GET_TX_DESC_TXPWR_OFSET_8822B(__tx_desc) \
246 GET_TX_DESC_TXPWR_OFSET(__tx_desc)
247 #define SET_TX_DESC_TX_ANT_8822B(__tx_desc, __value) \
248 SET_TX_DESC_TX_ANT(__tx_desc, __value)
249 #define GET_TX_DESC_TX_ANT_8822B(__tx_desc) GET_TX_DESC_TX_ANT(__tx_desc)
250 #define SET_TX_DESC_PORT_ID_8822B(__tx_desc, __value) \
251 SET_TX_DESC_PORT_ID(__tx_desc, __value)
252 #define GET_TX_DESC_PORT_ID_8822B(__tx_desc) GET_TX_DESC_PORT_ID(__tx_desc)
253 #define SET_TX_DESC_MULTIPLE_PORT_8822B(__tx_desc, __value) \
254 SET_TX_DESC_MULTIPLE_PORT(__tx_desc, __value)
255 #define GET_TX_DESC_MULTIPLE_PORT_8822B(__tx_desc) \
256 GET_TX_DESC_MULTIPLE_PORT(__tx_desc)
257 #define SET_TX_DESC_SIGNALING_TAPKT_EN_8822B(__tx_desc, __value) \
258 SET_TX_DESC_SIGNALING_TAPKT_EN(__tx_desc, __value)
259 #define GET_TX_DESC_SIGNALING_TAPKT_EN_8822B(__tx_desc) \
260 GET_TX_DESC_SIGNALING_TAPKT_EN(__tx_desc)
261 #define SET_TX_DESC_RTS_SC_8822B(__tx_desc, __value) \
262 SET_TX_DESC_RTS_SC(__tx_desc, __value)
263 #define GET_TX_DESC_RTS_SC_8822B(__tx_desc) GET_TX_DESC_RTS_SC(__tx_desc)
264 #define SET_TX_DESC_RTS_SHORT_8822B(__tx_desc, __value) \
265 SET_TX_DESC_RTS_SHORT(__tx_desc, __value)
266 #define GET_TX_DESC_RTS_SHORT_8822B(__tx_desc) GET_TX_DESC_RTS_SHORT(__tx_desc)
267 #define SET_TX_DESC_VCS_STBC_8822B(__tx_desc, __value) \
268 SET_TX_DESC_VCS_STBC(__tx_desc, __value)
269 #define GET_TX_DESC_VCS_STBC_8822B(__tx_desc) GET_TX_DESC_VCS_STBC(__tx_desc)
270 #define SET_TX_DESC_DATA_STBC_8822B(__tx_desc, __value) \
271 SET_TX_DESC_DATA_STBC(__tx_desc, __value)
272 #define GET_TX_DESC_DATA_STBC_8822B(__tx_desc) GET_TX_DESC_DATA_STBC(__tx_desc)
273 #define SET_TX_DESC_DATA_LDPC_8822B(__tx_desc, __value) \
274 SET_TX_DESC_DATA_LDPC(__tx_desc, __value)
275 #define GET_TX_DESC_DATA_LDPC_8822B(__tx_desc) GET_TX_DESC_DATA_LDPC(__tx_desc)
276 #define SET_TX_DESC_DATA_BW_8822B(__tx_desc, __value) \
277 SET_TX_DESC_DATA_BW(__tx_desc, __value)
278 #define GET_TX_DESC_DATA_BW_8822B(__tx_desc) GET_TX_DESC_DATA_BW(__tx_desc)
279 #define SET_TX_DESC_DATA_SHORT_8822B(__tx_desc, __value) \
280 SET_TX_DESC_DATA_SHORT(__tx_desc, __value)
281 #define GET_TX_DESC_DATA_SHORT_8822B(__tx_desc) \
282 GET_TX_DESC_DATA_SHORT(__tx_desc)
283 #define SET_TX_DESC_DATA_SC_8822B(__tx_desc, __value) \
284 SET_TX_DESC_DATA_SC(__tx_desc, __value)
285 #define GET_TX_DESC_DATA_SC_8822B(__tx_desc) GET_TX_DESC_DATA_SC(__tx_desc)
289 #define SET_TX_DESC_ANTSEL_D_8822B(__tx_desc, __value) \
290 SET_TX_DESC_ANTSEL_D(__tx_desc, __value)
291 #define GET_TX_DESC_ANTSEL_D_8822B(__tx_desc) GET_TX_DESC_ANTSEL_D(__tx_desc)
292 #define SET_TX_DESC_ANT_MAPD_8822B(__tx_desc, __value) \
293 SET_TX_DESC_ANT_MAPD(__tx_desc, __value)
294 #define GET_TX_DESC_ANT_MAPD_8822B(__tx_desc) GET_TX_DESC_ANT_MAPD(__tx_desc)
295 #define SET_TX_DESC_ANT_MAPC_8822B(__tx_desc, __value) \
296 SET_TX_DESC_ANT_MAPC(__tx_desc, __value)
297 #define GET_TX_DESC_ANT_MAPC_8822B(__tx_desc) GET_TX_DESC_ANT_MAPC(__tx_desc)
298 #define SET_TX_DESC_ANT_MAPB_8822B(__tx_desc, __value) \
299 SET_TX_DESC_ANT_MAPB(__tx_desc, __value)
300 #define GET_TX_DESC_ANT_MAPB_8822B(__tx_desc) GET_TX_DESC_ANT_MAPB(__tx_desc)
301 #define SET_TX_DESC_ANT_MAPA_8822B(__tx_desc, __value) \
302 SET_TX_DESC_ANT_MAPA(__tx_desc, __value)
303 #define GET_TX_DESC_ANT_MAPA_8822B(__tx_desc) GET_TX_DESC_ANT_MAPA(__tx_desc)
304 #define SET_TX_DESC_ANTSEL_C_8822B(__tx_desc, __value) \
305 SET_TX_DESC_ANTSEL_C(__tx_desc, __value)
306 #define GET_TX_DESC_ANTSEL_C_8822B(__tx_desc) GET_TX_DESC_ANTSEL_C(__tx_desc)
307 #define SET_TX_DESC_ANTSEL_B_8822B(__tx_desc, __value) \
308 SET_TX_DESC_ANTSEL_B(__tx_desc, __value)
309 #define GET_TX_DESC_ANTSEL_B_8822B(__tx_desc) GET_TX_DESC_ANTSEL_B(__tx_desc)
310 #define SET_TX_DESC_ANTSEL_A_8822B(__tx_desc, __value) \
311 SET_TX_DESC_ANTSEL_A(__tx_desc, __value)
312 #define GET_TX_DESC_ANTSEL_A_8822B(__tx_desc) GET_TX_DESC_ANTSEL_A(__tx_desc)
313 #define SET_TX_DESC_MBSSID_8822B(__tx_desc, __value) \
314 SET_TX_DESC_MBSSID(__tx_desc, __value)
315 #define GET_TX_DESC_MBSSID_8822B(__tx_desc) GET_TX_DESC_MBSSID(__tx_desc)
316 #define SET_TX_DESC_SW_DEFINE_8822B(__tx_desc, __value) \
317 SET_TX_DESC_SW_DEFINE(__tx_desc, __value)
318 #define GET_TX_DESC_SW_DEFINE_8822B(__tx_desc) GET_TX_DESC_SW_DEFINE(__tx_desc)
322 #define SET_TX_DESC_DMA_TXAGG_NUM_8822B(__tx_desc, __value) \
323 SET_TX_DESC_DMA_TXAGG_NUM(__tx_desc, __value)
324 #define GET_TX_DESC_DMA_TXAGG_NUM_8822B(__tx_desc) \
325 GET_TX_DESC_DMA_TXAGG_NUM(__tx_desc)
326 #define SET_TX_DESC_FINAL_DATA_RATE_8822B(__tx_desc, __value) \
327 SET_TX_DESC_FINAL_DATA_RATE(__tx_desc, __value)
328 #define GET_TX_DESC_FINAL_DATA_RATE_8822B(__tx_desc) \
329 GET_TX_DESC_FINAL_DATA_RATE(__tx_desc)
330 #define SET_TX_DESC_NTX_MAP_8822B(__tx_desc, __value) \
331 SET_TX_DESC_NTX_MAP(__tx_desc, __value)
332 #define GET_TX_DESC_NTX_MAP_8822B(__tx_desc) GET_TX_DESC_NTX_MAP(__tx_desc)
333 #define SET_TX_DESC_TX_BUFF_SIZE_8822B(__tx_desc, __value) \
334 SET_TX_DESC_TX_BUFF_SIZE(__tx_desc, __value)
335 #define GET_TX_DESC_TX_BUFF_SIZE_8822B(__tx_desc) \
336 GET_TX_DESC_TX_BUFF_SIZE(__tx_desc)
337 #define SET_TX_DESC_TXDESC_CHECKSUM_8822B(__tx_desc, __value) \
338 SET_TX_DESC_TXDESC_CHECKSUM(__tx_desc, __value)
339 #define GET_TX_DESC_TXDESC_CHECKSUM_8822B(__tx_desc) \
340 GET_TX_DESC_TXDESC_CHECKSUM(__tx_desc)
341 #define SET_TX_DESC_TIMESTAMP_8822B(__tx_desc, __value) \
342 SET_TX_DESC_TIMESTAMP(__tx_desc, __value)
343 #define GET_TX_DESC_TIMESTAMP_8822B(__tx_desc) GET_TX_DESC_TIMESTAMP(__tx_desc)
347 #define SET_TX_DESC_TXWIFI_CP_8822B(__tx_desc, __value) \
348 SET_TX_DESC_TXWIFI_CP(__tx_desc, __value)
349 #define GET_TX_DESC_TXWIFI_CP_8822B(__tx_desc) GET_TX_DESC_TXWIFI_CP(__tx_desc)
350 #define SET_TX_DESC_MAC_CP_8822B(__tx_desc, __value) \
351 SET_TX_DESC_MAC_CP(__tx_desc, __value)
352 #define GET_TX_DESC_MAC_CP_8822B(__tx_desc) GET_TX_DESC_MAC_CP(__tx_desc)
353 #define SET_TX_DESC_STW_PKTRE_DIS_8822B(__tx_desc, __value) \
354 SET_TX_DESC_STW_PKTRE_DIS(__tx_desc, __value)
355 #define GET_TX_DESC_STW_PKTRE_DIS_8822B(__tx_desc) \
356 GET_TX_DESC_STW_PKTRE_DIS(__tx_desc)
357 #define SET_TX_DESC_STW_RB_DIS_8822B(__tx_desc, __value) \
358 SET_TX_DESC_STW_RB_DIS(__tx_desc, __value)
359 #define GET_TX_DESC_STW_RB_DIS_8822B(__tx_desc) \
360 GET_TX_DESC_STW_RB_DIS(__tx_desc)
361 #define SET_TX_DESC_STW_RATE_DIS_8822B(__tx_desc, __value) \
362 SET_TX_DESC_STW_RATE_DIS(__tx_desc, __value)
363 #define GET_TX_DESC_STW_RATE_DIS_8822B(__tx_desc) \
364 GET_TX_DESC_STW_RATE_DIS(__tx_desc)
365 #define SET_TX_DESC_STW_ANT_DIS_8822B(__tx_desc, __value) \
366 SET_TX_DESC_STW_ANT_DIS(__tx_desc, __value)
367 #define GET_TX_DESC_STW_ANT_DIS_8822B(__tx_desc) \
368 GET_TX_DESC_STW_ANT_DIS(__tx_desc)
369 #define SET_TX_DESC_STW_EN_8822B(__tx_desc, __value) \
370 SET_TX_DESC_STW_EN(__tx_desc, __value)
371 #define GET_TX_DESC_STW_EN_8822B(__tx_desc) GET_TX_DESC_STW_EN(__tx_desc)
372 #define SET_TX_DESC_SMH_EN_8822B(__tx_desc, __value) \
373 SET_TX_DESC_SMH_EN(__tx_desc, __value)
374 #define GET_TX_DESC_SMH_EN_8822B(__tx_desc) GET_TX_DESC_SMH_EN(__tx_desc)
375 #define SET_TX_DESC_TAILPAGE_L_8822B(__tx_desc, __value) \
376 SET_TX_DESC_TAILPAGE_L(__tx_desc, __value)
377 #define GET_TX_DESC_TAILPAGE_L_8822B(__tx_desc) \
378 GET_TX_DESC_TAILPAGE_L(__tx_desc)
379 #define SET_TX_DESC_SDIO_DMASEQ_8822B(__tx_desc, __value) \
380 SET_TX_DESC_SDIO_DMASEQ(__tx_desc, __value)
381 #define GET_TX_DESC_SDIO_DMASEQ_8822B(__tx_desc) \
382 GET_TX_DESC_SDIO_DMASEQ(__tx_desc)
383 #define SET_TX_DESC_NEXTHEADPAGE_L_8822B(__tx_desc, __value) \
384 SET_TX_DESC_NEXTHEADPAGE_L(__tx_desc, __value)
385 #define GET_TX_DESC_NEXTHEADPAGE_L_8822B(__tx_desc) \
386 GET_TX_DESC_NEXTHEADPAGE_L(__tx_desc)
387 #define SET_TX_DESC_EN_HWSEQ_8822B(__tx_desc, __value) \
388 SET_TX_DESC_EN_HWSEQ(__tx_desc, __value)
389 #define GET_TX_DESC_EN_HWSEQ_8822B(__tx_desc) GET_TX_DESC_EN_HWSEQ(__tx_desc)
390 #define SET_TX_DESC_EN_HWEXSEQ_8822B(__tx_desc, __value) \
391 SET_TX_DESC_EN_HWEXSEQ(__tx_desc, __value)
392 #define GET_TX_DESC_EN_HWEXSEQ_8822B(__tx_desc) \
393 GET_TX_DESC_EN_HWEXSEQ(__tx_desc)
394 #define SET_TX_DESC_DATA_RC_8822B(__tx_desc, __value) \
395 SET_TX_DESC_DATA_RC(__tx_desc, __value)
396 #define GET_TX_DESC_DATA_RC_8822B(__tx_desc) GET_TX_DESC_DATA_RC(__tx_desc)
397 #define SET_TX_DESC_BAR_RTY_TH_8822B(__tx_desc, __value) \
398 SET_TX_DESC_BAR_RTY_TH(__tx_desc, __value)
399 #define GET_TX_DESC_BAR_RTY_TH_8822B(__tx_desc) \
400 GET_TX_DESC_BAR_RTY_TH(__tx_desc)
401 #define SET_TX_DESC_RTS_RC_8822B(__tx_desc, __value) \
402 SET_TX_DESC_RTS_RC(__tx_desc, __value)
403 #define GET_TX_DESC_RTS_RC_8822B(__tx_desc) GET_TX_DESC_RTS_RC(__tx_desc)
407 #define SET_TX_DESC_TAILPAGE_H_8822B(__tx_desc, __value) \
408 SET_TX_DESC_TAILPAGE_H(__tx_desc, __value)
409 #define GET_TX_DESC_TAILPAGE_H_8822B(__tx_desc) \
410 GET_TX_DESC_TAILPAGE_H(__tx_desc)
411 #define SET_TX_DESC_NEXTHEADPAGE_H_8822B(__tx_desc, __value) \
412 SET_TX_DESC_NEXTHEADPAGE_H(__tx_desc, __value)
413 #define GET_TX_DESC_NEXTHEADPAGE_H_8822B(__tx_desc) \
414 GET_TX_DESC_NEXTHEADPAGE_H(__tx_desc)
415 #define SET_TX_DESC_SW_SEQ_8822B(__tx_desc, __value) \
416 SET_TX_DESC_SW_SEQ(__tx_desc, __value)
417 #define GET_TX_DESC_SW_SEQ_8822B(__tx_desc) GET_TX_DESC_SW_SEQ(__tx_desc)
418 #define SET_TX_DESC_TXBF_PATH_8822B(__tx_desc, __value) \
419 SET_TX_DESC_TXBF_PATH(__tx_desc, __value)
420 #define GET_TX_DESC_TXBF_PATH_8822B(__tx_desc) GET_TX_DESC_TXBF_PATH(__tx_desc)
421 #define SET_TX_DESC_PADDING_LEN_8822B(__tx_desc, __value) \
422 SET_TX_DESC_PADDING_LEN(__tx_desc, __value)
423 #define GET_TX_DESC_PADDING_LEN_8822B(__tx_desc) \
424 GET_TX_DESC_PADDING_LEN(__tx_desc)
425 #define SET_TX_DESC_GROUP_BIT_IE_OFFSET_8822B(__tx_desc, __value) \
426 SET_TX_DESC_GROUP_BIT_IE_OFFSET(__tx_desc, __value)
427 #define GET_TX_DESC_GROUP_BIT_IE_OFFSET_8822B(__tx_desc) \
428 GET_TX_DESC_GROUP_BIT_IE_OFFSET(__tx_desc)
432 #define SET_TX_DESC_MU_DATARATE_8822B(__tx_desc, __value) \
433 SET_TX_DESC_MU_DATARATE(__tx_desc, __value)
434 #define GET_TX_DESC_MU_DATARATE_8822B(__tx_desc) \
435 GET_TX_DESC_MU_DATARATE(__tx_desc)
436 #define SET_TX_DESC_MU_RC_8822B(__tx_desc, __value) \
437 SET_TX_DESC_MU_RC(__tx_desc, __value)
438 #define GET_TX_DESC_MU_RC_8822B(__tx_desc) GET_TX_DESC_MU_RC(__tx_desc)
439 #define SET_TX_DESC_SND_PKT_SEL_8822B(__tx_desc, __value) \
440 SET_TX_DESC_SND_PKT_SEL(__tx_desc, __value)
441 #define GET_TX_DESC_SND_PKT_SEL_8822B(__tx_desc) \
442 GET_TX_DESC_SND_PKT_SEL(__tx_desc)