1 /******************************************************************************
3 * Copyright(c) 2016 - 2018 Realtek Corporation. All rights reserved.
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 ******************************************************************************/
16 #ifndef _HALMAC_TX_DESC_CHIP_H_
17 #define _HALMAC_TX_DESC_CHIP_H_
18 #if (HALMAC_8814A_SUPPORT)
22 #define SET_TX_DESC_DISQSELSEQ_8814A(txdesc, value) \
23 SET_TX_DESC_DISQSELSEQ(txdesc, value)
24 #define GET_TX_DESC_DISQSELSEQ_8814A(txdesc) GET_TX_DESC_DISQSELSEQ(txdesc)
25 #define SET_TX_DESC_GF_8814A(txdesc, value) SET_TX_DESC_GF(txdesc, value)
26 #define GET_TX_DESC_GF_8814A(txdesc) GET_TX_DESC_GF(txdesc)
27 #define SET_TX_DESC_NO_ACM_8814A(txdesc, value) \
28 SET_TX_DESC_NO_ACM(txdesc, value)
29 #define GET_TX_DESC_NO_ACM_8814A(txdesc) GET_TX_DESC_NO_ACM(txdesc)
30 #define SET_TX_DESC_AMSDU_PAD_EN_8814A(txdesc, value) \
31 SET_TX_DESC_AMSDU_PAD_EN(txdesc, value)
32 #define GET_TX_DESC_AMSDU_PAD_EN_8814A(txdesc) GET_TX_DESC_AMSDU_PAD_EN(txdesc)
33 #define SET_TX_DESC_LS_8814A(txdesc, value) SET_TX_DESC_LS(txdesc, value)
34 #define GET_TX_DESC_LS_8814A(txdesc) GET_TX_DESC_LS(txdesc)
35 #define SET_TX_DESC_HTC_8814A(txdesc, value) SET_TX_DESC_HTC(txdesc, value)
36 #define GET_TX_DESC_HTC_8814A(txdesc) GET_TX_DESC_HTC(txdesc)
37 #define SET_TX_DESC_BMC_8814A(txdesc, value) SET_TX_DESC_BMC(txdesc, value)
38 #define GET_TX_DESC_BMC_8814A(txdesc) GET_TX_DESC_BMC(txdesc)
39 #define SET_TX_DESC_OFFSET_8814A(txdesc, value) \
40 SET_TX_DESC_OFFSET(txdesc, value)
41 #define GET_TX_DESC_OFFSET_8814A(txdesc) GET_TX_DESC_OFFSET(txdesc)
42 #define SET_TX_DESC_TXPKTSIZE_8814A(txdesc, value) \
43 SET_TX_DESC_TXPKTSIZE(txdesc, value)
44 #define GET_TX_DESC_TXPKTSIZE_8814A(txdesc) GET_TX_DESC_TXPKTSIZE(txdesc)
48 #define SET_TX_DESC_MOREDATA_8814A(txdesc, value) \
49 SET_TX_DESC_MOREDATA(txdesc, value)
50 #define GET_TX_DESC_MOREDATA_8814A(txdesc) GET_TX_DESC_MOREDATA(txdesc)
51 #define SET_TX_DESC_PKT_OFFSET_8814A(txdesc, value) \
52 SET_TX_DESC_PKT_OFFSET(txdesc, value)
53 #define GET_TX_DESC_PKT_OFFSET_8814A(txdesc) GET_TX_DESC_PKT_OFFSET(txdesc)
54 #define SET_TX_DESC_SEC_TYPE_8814A(txdesc, value) \
55 SET_TX_DESC_SEC_TYPE(txdesc, value)
56 #define GET_TX_DESC_SEC_TYPE_8814A(txdesc) GET_TX_DESC_SEC_TYPE(txdesc)
57 #define SET_TX_DESC_EN_DESC_ID_8814A(txdesc, value) \
58 SET_TX_DESC_EN_DESC_ID(txdesc, value)
59 #define GET_TX_DESC_EN_DESC_ID_8814A(txdesc) GET_TX_DESC_EN_DESC_ID(txdesc)
60 #define SET_TX_DESC_RATE_ID_8814A(txdesc, value) \
61 SET_TX_DESC_RATE_ID(txdesc, value)
62 #define GET_TX_DESC_RATE_ID_8814A(txdesc) GET_TX_DESC_RATE_ID(txdesc)
63 #define SET_TX_DESC_PIFS_8814A(txdesc, value) SET_TX_DESC_PIFS(txdesc, value)
64 #define GET_TX_DESC_PIFS_8814A(txdesc) GET_TX_DESC_PIFS(txdesc)
65 #define SET_TX_DESC_LSIG_TXOP_EN_8814A(txdesc, value) \
66 SET_TX_DESC_LSIG_TXOP_EN(txdesc, value)
67 #define GET_TX_DESC_LSIG_TXOP_EN_8814A(txdesc) GET_TX_DESC_LSIG_TXOP_EN(txdesc)
68 #define SET_TX_DESC_RD_NAV_EXT_8814A(txdesc, value) \
69 SET_TX_DESC_RD_NAV_EXT(txdesc, value)
70 #define GET_TX_DESC_RD_NAV_EXT_8814A(txdesc) GET_TX_DESC_RD_NAV_EXT(txdesc)
71 #define SET_TX_DESC_QSEL_8814A(txdesc, value) SET_TX_DESC_QSEL(txdesc, value)
72 #define GET_TX_DESC_QSEL_8814A(txdesc) GET_TX_DESC_QSEL(txdesc)
73 #define SET_TX_DESC_MACID_8814A(txdesc, value) SET_TX_DESC_MACID(txdesc, value)
74 #define GET_TX_DESC_MACID_8814A(txdesc) GET_TX_DESC_MACID(txdesc)
78 #define SET_TX_DESC_HW_AES_IV_8814A(txdesc, value) \
79 SET_TX_DESC_HW_AES_IV(txdesc, value)
80 #define GET_TX_DESC_HW_AES_IV_8814A(txdesc) GET_TX_DESC_HW_AES_IV(txdesc)
81 #define SET_TX_DESC_G_ID_8814A(txdesc, value) SET_TX_DESC_G_ID(txdesc, value)
82 #define GET_TX_DESC_G_ID_8814A(txdesc) GET_TX_DESC_G_ID(txdesc)
83 #define SET_TX_DESC_BT_NULL_8814A(txdesc, value) \
84 SET_TX_DESC_BT_NULL(txdesc, value)
85 #define GET_TX_DESC_BT_NULL_8814A(txdesc) GET_TX_DESC_BT_NULL(txdesc)
86 #define SET_TX_DESC_AMPDU_DENSITY_8814A(txdesc, value) \
87 SET_TX_DESC_AMPDU_DENSITY(txdesc, value)
88 #define GET_TX_DESC_AMPDU_DENSITY_8814A(txdesc) \
89 GET_TX_DESC_AMPDU_DENSITY(txdesc)
90 #define SET_TX_DESC_SPE_RPT_8814A(txdesc, value) \
91 SET_TX_DESC_SPE_RPT(txdesc, value)
92 #define GET_TX_DESC_SPE_RPT_8814A(txdesc) GET_TX_DESC_SPE_RPT(txdesc)
93 #define SET_TX_DESC_RAW_8814A(txdesc, value) SET_TX_DESC_RAW(txdesc, value)
94 #define GET_TX_DESC_RAW_8814A(txdesc) GET_TX_DESC_RAW(txdesc)
95 #define SET_TX_DESC_MOREFRAG_8814A(txdesc, value) \
96 SET_TX_DESC_MOREFRAG(txdesc, value)
97 #define GET_TX_DESC_MOREFRAG_8814A(txdesc) GET_TX_DESC_MOREFRAG(txdesc)
98 #define SET_TX_DESC_BK_8814A(txdesc, value) SET_TX_DESC_BK(txdesc, value)
99 #define GET_TX_DESC_BK_8814A(txdesc) GET_TX_DESC_BK(txdesc)
100 #define SET_TX_DESC_NULL_1_8814A(txdesc, value) \
101 SET_TX_DESC_NULL_1(txdesc, value)
102 #define GET_TX_DESC_NULL_1_8814A(txdesc) GET_TX_DESC_NULL_1(txdesc)
103 #define SET_TX_DESC_NULL_0_8814A(txdesc, value) \
104 SET_TX_DESC_NULL_0(txdesc, value)
105 #define GET_TX_DESC_NULL_0_8814A(txdesc) GET_TX_DESC_NULL_0(txdesc)
106 #define SET_TX_DESC_RDG_EN_8814A(txdesc, value) \
107 SET_TX_DESC_RDG_EN(txdesc, value)
108 #define GET_TX_DESC_RDG_EN_8814A(txdesc) GET_TX_DESC_RDG_EN(txdesc)
109 #define SET_TX_DESC_AGG_EN_8814A(txdesc, value) \
110 SET_TX_DESC_AGG_EN(txdesc, value)
111 #define GET_TX_DESC_AGG_EN_8814A(txdesc) GET_TX_DESC_AGG_EN(txdesc)
112 #define SET_TX_DESC_CCA_RTS_8814A(txdesc, value) \
113 SET_TX_DESC_CCA_RTS(txdesc, value)
114 #define GET_TX_DESC_CCA_RTS_8814A(txdesc) GET_TX_DESC_CCA_RTS(txdesc)
115 #define SET_TX_DESC_P_AID_8814A(txdesc, value) SET_TX_DESC_P_AID(txdesc, value)
116 #define GET_TX_DESC_P_AID_8814A(txdesc) GET_TX_DESC_P_AID(txdesc)
120 #define SET_TX_DESC_AMPDU_MAX_TIME_8814A(txdesc, value) \
121 SET_TX_DESC_AMPDU_MAX_TIME(txdesc, value)
122 #define GET_TX_DESC_AMPDU_MAX_TIME_8814A(txdesc) \
123 GET_TX_DESC_AMPDU_MAX_TIME(txdesc)
124 #define SET_TX_DESC_NDPA_8814A(txdesc, value) SET_TX_DESC_NDPA(txdesc, value)
125 #define GET_TX_DESC_NDPA_8814A(txdesc) GET_TX_DESC_NDPA(txdesc)
126 #define SET_TX_DESC_MAX_AGG_NUM_8814A(txdesc, value) \
127 SET_TX_DESC_MAX_AGG_NUM(txdesc, value)
128 #define GET_TX_DESC_MAX_AGG_NUM_8814A(txdesc) GET_TX_DESC_MAX_AGG_NUM(txdesc)
129 #define SET_TX_DESC_USE_MAX_TIME_EN_8814A(txdesc, value) \
130 SET_TX_DESC_USE_MAX_TIME_EN(txdesc, value)
131 #define GET_TX_DESC_USE_MAX_TIME_EN_8814A(txdesc) \
132 GET_TX_DESC_USE_MAX_TIME_EN(txdesc)
133 #define SET_TX_DESC_NAVUSEHDR_8814A(txdesc, value) \
134 SET_TX_DESC_NAVUSEHDR(txdesc, value)
135 #define GET_TX_DESC_NAVUSEHDR_8814A(txdesc) GET_TX_DESC_NAVUSEHDR(txdesc)
136 #define SET_TX_DESC_CHK_EN_8814A(txdesc, value) \
137 SET_TX_DESC_CHK_EN(txdesc, value)
138 #define GET_TX_DESC_CHK_EN_8814A(txdesc) GET_TX_DESC_CHK_EN(txdesc)
139 #define SET_TX_DESC_HW_RTS_EN_8814A(txdesc, value) \
140 SET_TX_DESC_HW_RTS_EN(txdesc, value)
141 #define GET_TX_DESC_HW_RTS_EN_8814A(txdesc) GET_TX_DESC_HW_RTS_EN(txdesc)
142 #define SET_TX_DESC_RTSEN_8814A(txdesc, value) SET_TX_DESC_RTSEN(txdesc, value)
143 #define GET_TX_DESC_RTSEN_8814A(txdesc) GET_TX_DESC_RTSEN(txdesc)
144 #define SET_TX_DESC_CTS2SELF_8814A(txdesc, value) \
145 SET_TX_DESC_CTS2SELF(txdesc, value)
146 #define GET_TX_DESC_CTS2SELF_8814A(txdesc) GET_TX_DESC_CTS2SELF(txdesc)
147 #define SET_TX_DESC_DISDATAFB_8814A(txdesc, value) \
148 SET_TX_DESC_DISDATAFB(txdesc, value)
149 #define GET_TX_DESC_DISDATAFB_8814A(txdesc) GET_TX_DESC_DISDATAFB(txdesc)
150 #define SET_TX_DESC_DISRTSFB_8814A(txdesc, value) \
151 SET_TX_DESC_DISRTSFB(txdesc, value)
152 #define GET_TX_DESC_DISRTSFB_8814A(txdesc) GET_TX_DESC_DISRTSFB(txdesc)
153 #define SET_TX_DESC_USE_RATE_8814A(txdesc, value) \
154 SET_TX_DESC_USE_RATE(txdesc, value)
155 #define GET_TX_DESC_USE_RATE_8814A(txdesc) GET_TX_DESC_USE_RATE(txdesc)
156 #define SET_TX_DESC_HW_SSN_SEL_8814A(txdesc, value) \
157 SET_TX_DESC_HW_SSN_SEL(txdesc, value)
158 #define GET_TX_DESC_HW_SSN_SEL_8814A(txdesc) GET_TX_DESC_HW_SSN_SEL(txdesc)
159 #define SET_TX_DESC_WHEADER_LEN_8814A(txdesc, value) \
160 SET_TX_DESC_WHEADER_LEN(txdesc, value)
161 #define GET_TX_DESC_WHEADER_LEN_8814A(txdesc) GET_TX_DESC_WHEADER_LEN(txdesc)
165 #define SET_TX_DESC_PCTS_MASK_IDX_8814A(txdesc, value) \
166 SET_TX_DESC_PCTS_MASK_IDX(txdesc, value)
167 #define GET_TX_DESC_PCTS_MASK_IDX_8814A(txdesc) \
168 GET_TX_DESC_PCTS_MASK_IDX(txdesc)
169 #define SET_TX_DESC_PCTS_EN_8814A(txdesc, value) \
170 SET_TX_DESC_PCTS_EN(txdesc, value)
171 #define GET_TX_DESC_PCTS_EN_8814A(txdesc) GET_TX_DESC_PCTS_EN(txdesc)
172 #define SET_TX_DESC_RTSRATE_8814A(txdesc, value) \
173 SET_TX_DESC_RTSRATE(txdesc, value)
174 #define GET_TX_DESC_RTSRATE_8814A(txdesc) GET_TX_DESC_RTSRATE(txdesc)
175 #define SET_TX_DESC_RTS_DATA_RTY_LMT_8814A(txdesc, value) \
176 SET_TX_DESC_RTS_DATA_RTY_LMT(txdesc, value)
177 #define GET_TX_DESC_RTS_DATA_RTY_LMT_8814A(txdesc) \
178 GET_TX_DESC_RTS_DATA_RTY_LMT(txdesc)
179 #define SET_TX_DESC_RTY_LMT_EN_8814A(txdesc, value) \
180 SET_TX_DESC_RTY_LMT_EN(txdesc, value)
181 #define GET_TX_DESC_RTY_LMT_EN_8814A(txdesc) GET_TX_DESC_RTY_LMT_EN(txdesc)
182 #define SET_TX_DESC_RTS_RTY_LOWEST_RATE_8814A(txdesc, value) \
183 SET_TX_DESC_RTS_RTY_LOWEST_RATE(txdesc, value)
184 #define GET_TX_DESC_RTS_RTY_LOWEST_RATE_8814A(txdesc) \
185 GET_TX_DESC_RTS_RTY_LOWEST_RATE(txdesc)
186 #define SET_TX_DESC_DATA_RTY_LOWEST_RATE_8814A(txdesc, value) \
187 SET_TX_DESC_DATA_RTY_LOWEST_RATE(txdesc, value)
188 #define GET_TX_DESC_DATA_RTY_LOWEST_RATE_8814A(txdesc) \
189 GET_TX_DESC_DATA_RTY_LOWEST_RATE(txdesc)
190 #define SET_TX_DESC_TRY_RATE_8814A(txdesc, value) \
191 SET_TX_DESC_TRY_RATE(txdesc, value)
192 #define GET_TX_DESC_TRY_RATE_8814A(txdesc) GET_TX_DESC_TRY_RATE(txdesc)
193 #define SET_TX_DESC_DATARATE_8814A(txdesc, value) \
194 SET_TX_DESC_DATARATE(txdesc, value)
195 #define GET_TX_DESC_DATARATE_8814A(txdesc) GET_TX_DESC_DATARATE(txdesc)
199 #define SET_TX_DESC_POLLUTED_8814A(txdesc, value) \
200 SET_TX_DESC_POLLUTED(txdesc, value)
201 #define GET_TX_DESC_POLLUTED_8814A(txdesc) GET_TX_DESC_POLLUTED(txdesc)
202 #define SET_TX_DESC_TXPWR_OFSET_8814A(txdesc, value) \
203 SET_TX_DESC_TXPWR_OFSET(txdesc, value)
204 #define GET_TX_DESC_TXPWR_OFSET_8814A(txdesc) GET_TX_DESC_TXPWR_OFSET(txdesc)
205 #define SET_TX_DESC_TX_ANT_8814A(txdesc, value) \
206 SET_TX_DESC_TX_ANT(txdesc, value)
207 #define GET_TX_DESC_TX_ANT_8814A(txdesc) GET_TX_DESC_TX_ANT(txdesc)
208 #define SET_TX_DESC_PORT_ID_8814A(txdesc, value) \
209 SET_TX_DESC_PORT_ID(txdesc, value)
210 #define GET_TX_DESC_PORT_ID_8814A(txdesc) GET_TX_DESC_PORT_ID(txdesc)
211 #define SET_TX_DESC_SIGNALING_TAPKT_EN_8814A(txdesc, value) \
212 SET_TX_DESC_SIGNALING_TAPKT_EN(txdesc, value)
213 #define GET_TX_DESC_SIGNALING_TAPKT_EN_8814A(txdesc) \
214 GET_TX_DESC_SIGNALING_TAPKT_EN(txdesc)
215 #define SET_TX_DESC_RTS_SC_8814A(txdesc, value) \
216 SET_TX_DESC_RTS_SC(txdesc, value)
217 #define GET_TX_DESC_RTS_SC_8814A(txdesc) GET_TX_DESC_RTS_SC(txdesc)
218 #define SET_TX_DESC_RTS_SHORT_8814A(txdesc, value) \
219 SET_TX_DESC_RTS_SHORT(txdesc, value)
220 #define GET_TX_DESC_RTS_SHORT_8814A(txdesc) GET_TX_DESC_RTS_SHORT(txdesc)
221 #define SET_TX_DESC_VCS_STBC_8814A(txdesc, value) \
222 SET_TX_DESC_VCS_STBC(txdesc, value)
223 #define GET_TX_DESC_VCS_STBC_8814A(txdesc) GET_TX_DESC_VCS_STBC(txdesc)
224 #define SET_TX_DESC_DATA_STBC_8814A(txdesc, value) \
225 SET_TX_DESC_DATA_STBC(txdesc, value)
226 #define GET_TX_DESC_DATA_STBC_8814A(txdesc) GET_TX_DESC_DATA_STBC(txdesc)
227 #define SET_TX_DESC_DATA_LDPC_8814A(txdesc, value) \
228 SET_TX_DESC_DATA_LDPC(txdesc, value)
229 #define GET_TX_DESC_DATA_LDPC_8814A(txdesc) GET_TX_DESC_DATA_LDPC(txdesc)
230 #define SET_TX_DESC_DATA_BW_8814A(txdesc, value) \
231 SET_TX_DESC_DATA_BW(txdesc, value)
232 #define GET_TX_DESC_DATA_BW_8814A(txdesc) GET_TX_DESC_DATA_BW(txdesc)
233 #define SET_TX_DESC_DATA_SHORT_8814A(txdesc, value) \
234 SET_TX_DESC_DATA_SHORT(txdesc, value)
235 #define GET_TX_DESC_DATA_SHORT_8814A(txdesc) GET_TX_DESC_DATA_SHORT(txdesc)
236 #define SET_TX_DESC_DATA_SC_8814A(txdesc, value) \
237 SET_TX_DESC_DATA_SC(txdesc, value)
238 #define GET_TX_DESC_DATA_SC_8814A(txdesc) GET_TX_DESC_DATA_SC(txdesc)
242 #define SET_TX_DESC_ANTSEL_D_8814A(txdesc, value) \
243 SET_TX_DESC_ANTSEL_D(txdesc, value)
244 #define GET_TX_DESC_ANTSEL_D_8814A(txdesc) GET_TX_DESC_ANTSEL_D(txdesc)
245 #define SET_TX_DESC_ANT_MAPD_8814A(txdesc, value) \
246 SET_TX_DESC_ANT_MAPD(txdesc, value)
247 #define GET_TX_DESC_ANT_MAPD_8814A(txdesc) GET_TX_DESC_ANT_MAPD(txdesc)
248 #define SET_TX_DESC_ANT_MAPC_8814A(txdesc, value) \
249 SET_TX_DESC_ANT_MAPC(txdesc, value)
250 #define GET_TX_DESC_ANT_MAPC_8814A(txdesc) GET_TX_DESC_ANT_MAPC(txdesc)
251 #define SET_TX_DESC_ANT_MAPB_8814A(txdesc, value) \
252 SET_TX_DESC_ANT_MAPB(txdesc, value)
253 #define GET_TX_DESC_ANT_MAPB_8814A(txdesc) GET_TX_DESC_ANT_MAPB(txdesc)
254 #define SET_TX_DESC_ANT_MAPA_8814A(txdesc, value) \
255 SET_TX_DESC_ANT_MAPA(txdesc, value)
256 #define GET_TX_DESC_ANT_MAPA_8814A(txdesc) GET_TX_DESC_ANT_MAPA(txdesc)
257 #define SET_TX_DESC_ANTSEL_C_8814A(txdesc, value) \
258 SET_TX_DESC_ANTSEL_C(txdesc, value)
259 #define GET_TX_DESC_ANTSEL_C_8814A(txdesc) GET_TX_DESC_ANTSEL_C(txdesc)
260 #define SET_TX_DESC_ANTSEL_B_8814A(txdesc, value) \
261 SET_TX_DESC_ANTSEL_B(txdesc, value)
262 #define GET_TX_DESC_ANTSEL_B_8814A(txdesc) GET_TX_DESC_ANTSEL_B(txdesc)
263 #define SET_TX_DESC_ANTSEL_A_8814A(txdesc, value) \
264 SET_TX_DESC_ANTSEL_A(txdesc, value)
265 #define GET_TX_DESC_ANTSEL_A_8814A(txdesc) GET_TX_DESC_ANTSEL_A(txdesc)
266 #define SET_TX_DESC_MBSSID_8814A(txdesc, value) \
267 SET_TX_DESC_MBSSID(txdesc, value)
268 #define GET_TX_DESC_MBSSID_8814A(txdesc) GET_TX_DESC_MBSSID(txdesc)
269 #define SET_TX_DESC_SW_DEFINE_8814A(txdesc, value) \
270 SET_TX_DESC_SW_DEFINE(txdesc, value)
271 #define GET_TX_DESC_SW_DEFINE_8814A(txdesc) GET_TX_DESC_SW_DEFINE(txdesc)
275 #define SET_TX_DESC_DMA_TXAGG_NUM_8814A(txdesc, value) \
276 SET_TX_DESC_DMA_TXAGG_NUM(txdesc, value)
277 #define GET_TX_DESC_DMA_TXAGG_NUM_8814A(txdesc) \
278 GET_TX_DESC_DMA_TXAGG_NUM(txdesc)
279 #define SET_TX_DESC_FINAL_DATA_RATE_8814A(txdesc, value) \
280 SET_TX_DESC_FINAL_DATA_RATE(txdesc, value)
281 #define GET_TX_DESC_FINAL_DATA_RATE_8814A(txdesc) \
282 GET_TX_DESC_FINAL_DATA_RATE(txdesc)
283 #define SET_TX_DESC_NTX_MAP_8814A(txdesc, value) \
284 SET_TX_DESC_NTX_MAP(txdesc, value)
285 #define GET_TX_DESC_NTX_MAP_8814A(txdesc) GET_TX_DESC_NTX_MAP(txdesc)
286 #define SET_TX_DESC_TX_BUFF_SIZE_8814A(txdesc, value) \
287 SET_TX_DESC_TX_BUFF_SIZE(txdesc, value)
288 #define GET_TX_DESC_TX_BUFF_SIZE_8814A(txdesc) GET_TX_DESC_TX_BUFF_SIZE(txdesc)
289 #define SET_TX_DESC_TXDESC_CHECKSUM_8814A(txdesc, value) \
290 SET_TX_DESC_TXDESC_CHECKSUM(txdesc, value)
291 #define GET_TX_DESC_TXDESC_CHECKSUM_8814A(txdesc) \
292 GET_TX_DESC_TXDESC_CHECKSUM(txdesc)
293 #define SET_TX_DESC_TIMESTAMP_8814A(txdesc, value) \
294 SET_TX_DESC_TIMESTAMP(txdesc, value)
295 #define GET_TX_DESC_TIMESTAMP_8814A(txdesc) GET_TX_DESC_TIMESTAMP(txdesc)
299 #define SET_TX_DESC_TXWIFI_CP_8814A(txdesc, value) \
300 SET_TX_DESC_TXWIFI_CP(txdesc, value)
301 #define GET_TX_DESC_TXWIFI_CP_8814A(txdesc) GET_TX_DESC_TXWIFI_CP(txdesc)
302 #define SET_TX_DESC_MAC_CP_8814A(txdesc, value) \
303 SET_TX_DESC_MAC_CP(txdesc, value)
304 #define GET_TX_DESC_MAC_CP_8814A(txdesc) GET_TX_DESC_MAC_CP(txdesc)
305 #define SET_TX_DESC_STW_PKTRE_DIS_8814A(txdesc, value) \
306 SET_TX_DESC_STW_PKTRE_DIS(txdesc, value)
307 #define GET_TX_DESC_STW_PKTRE_DIS_8814A(txdesc) \
308 GET_TX_DESC_STW_PKTRE_DIS(txdesc)
309 #define SET_TX_DESC_STW_RB_DIS_8814A(txdesc, value) \
310 SET_TX_DESC_STW_RB_DIS(txdesc, value)
311 #define GET_TX_DESC_STW_RB_DIS_8814A(txdesc) GET_TX_DESC_STW_RB_DIS(txdesc)
312 #define SET_TX_DESC_STW_RATE_DIS_8814A(txdesc, value) \
313 SET_TX_DESC_STW_RATE_DIS(txdesc, value)
314 #define GET_TX_DESC_STW_RATE_DIS_8814A(txdesc) GET_TX_DESC_STW_RATE_DIS(txdesc)
315 #define SET_TX_DESC_STW_ANT_DIS_8814A(txdesc, value) \
316 SET_TX_DESC_STW_ANT_DIS(txdesc, value)
317 #define GET_TX_DESC_STW_ANT_DIS_8814A(txdesc) GET_TX_DESC_STW_ANT_DIS(txdesc)
318 #define SET_TX_DESC_STW_EN_8814A(txdesc, value) \
319 SET_TX_DESC_STW_EN(txdesc, value)
320 #define GET_TX_DESC_STW_EN_8814A(txdesc) GET_TX_DESC_STW_EN(txdesc)
321 #define SET_TX_DESC_SMH_EN_8814A(txdesc, value) \
322 SET_TX_DESC_SMH_EN(txdesc, value)
323 #define GET_TX_DESC_SMH_EN_8814A(txdesc) GET_TX_DESC_SMH_EN(txdesc)
324 #define SET_TX_DESC_TAILPAGE_L_8814A(txdesc, value) \
325 SET_TX_DESC_TAILPAGE_L(txdesc, value)
326 #define GET_TX_DESC_TAILPAGE_L_8814A(txdesc) GET_TX_DESC_TAILPAGE_L(txdesc)
327 #define SET_TX_DESC_SDIO_DMASEQ_8814A(txdesc, value) \
328 SET_TX_DESC_SDIO_DMASEQ(txdesc, value)
329 #define GET_TX_DESC_SDIO_DMASEQ_8814A(txdesc) GET_TX_DESC_SDIO_DMASEQ(txdesc)
330 #define SET_TX_DESC_NEXTHEADPAGE_L_8814A(txdesc, value) \
331 SET_TX_DESC_NEXTHEADPAGE_L(txdesc, value)
332 #define GET_TX_DESC_NEXTHEADPAGE_L_8814A(txdesc) \
333 GET_TX_DESC_NEXTHEADPAGE_L(txdesc)
334 #define SET_TX_DESC_EN_HWSEQ_8814A(txdesc, value) \
335 SET_TX_DESC_EN_HWSEQ(txdesc, value)
336 #define GET_TX_DESC_EN_HWSEQ_8814A(txdesc) GET_TX_DESC_EN_HWSEQ(txdesc)
337 #define SET_TX_DESC_EN_HWEXSEQ_8814A(txdesc, value) \
338 SET_TX_DESC_EN_HWEXSEQ(txdesc, value)
339 #define GET_TX_DESC_EN_HWEXSEQ_8814A(txdesc) GET_TX_DESC_EN_HWEXSEQ(txdesc)
340 #define SET_TX_DESC_DATA_RC_8814A(txdesc, value) \
341 SET_TX_DESC_DATA_RC(txdesc, value)
342 #define GET_TX_DESC_DATA_RC_8814A(txdesc) GET_TX_DESC_DATA_RC(txdesc)
343 #define SET_TX_DESC_BAR_RTY_TH_8814A(txdesc, value) \
344 SET_TX_DESC_BAR_RTY_TH(txdesc, value)
345 #define GET_TX_DESC_BAR_RTY_TH_8814A(txdesc) GET_TX_DESC_BAR_RTY_TH(txdesc)
346 #define SET_TX_DESC_RTS_RC_8814A(txdesc, value) \
347 SET_TX_DESC_RTS_RC(txdesc, value)
348 #define GET_TX_DESC_RTS_RC_8814A(txdesc) GET_TX_DESC_RTS_RC(txdesc)
352 #define SET_TX_DESC_TAILPAGE_H_8814A(txdesc, value) \
353 SET_TX_DESC_TAILPAGE_H(txdesc, value)
354 #define GET_TX_DESC_TAILPAGE_H_8814A(txdesc) GET_TX_DESC_TAILPAGE_H(txdesc)
355 #define SET_TX_DESC_NEXTHEADPAGE_H_8814A(txdesc, value) \
356 SET_TX_DESC_NEXTHEADPAGE_H(txdesc, value)
357 #define GET_TX_DESC_NEXTHEADPAGE_H_8814A(txdesc) \
358 GET_TX_DESC_NEXTHEADPAGE_H(txdesc)
359 #define SET_TX_DESC_SW_SEQ_8814A(txdesc, value) \
360 SET_TX_DESC_SW_SEQ(txdesc, value)
361 #define GET_TX_DESC_SW_SEQ_8814A(txdesc) GET_TX_DESC_SW_SEQ(txdesc)
362 #define SET_TX_DESC_TXBF_PATH_8814A(txdesc, value) \
363 SET_TX_DESC_TXBF_PATH(txdesc, value)
364 #define GET_TX_DESC_TXBF_PATH_8814A(txdesc) GET_TX_DESC_TXBF_PATH(txdesc)
365 #define SET_TX_DESC_PADDING_LEN_8814A(txdesc, value) \
366 SET_TX_DESC_PADDING_LEN(txdesc, value)
367 #define GET_TX_DESC_PADDING_LEN_8814A(txdesc) GET_TX_DESC_PADDING_LEN(txdesc)
368 #define SET_TX_DESC_GROUP_BIT_IE_OFFSET_8814A(txdesc, value) \
369 SET_TX_DESC_GROUP_BIT_IE_OFFSET(txdesc, value)
370 #define GET_TX_DESC_GROUP_BIT_IE_OFFSET_8814A(txdesc) \
371 GET_TX_DESC_GROUP_BIT_IE_OFFSET(txdesc)
377 #if (HALMAC_8822B_SUPPORT)
381 #define SET_TX_DESC_DISQSELSEQ_8822B(txdesc, value) \
382 SET_TX_DESC_DISQSELSEQ(txdesc, value)
383 #define GET_TX_DESC_DISQSELSEQ_8822B(txdesc) GET_TX_DESC_DISQSELSEQ(txdesc)
384 #define SET_TX_DESC_GF_8822B(txdesc, value) SET_TX_DESC_GF(txdesc, value)
385 #define GET_TX_DESC_GF_8822B(txdesc) GET_TX_DESC_GF(txdesc)
386 #define SET_TX_DESC_NO_ACM_8822B(txdesc, value) \
387 SET_TX_DESC_NO_ACM(txdesc, value)
388 #define GET_TX_DESC_NO_ACM_8822B(txdesc) GET_TX_DESC_NO_ACM(txdesc)
389 #define SET_TX_DESC_BCNPKT_TSF_CTRL_8822B(txdesc, value) \
390 SET_TX_DESC_BCNPKT_TSF_CTRL(txdesc, value)
391 #define GET_TX_DESC_BCNPKT_TSF_CTRL_8822B(txdesc) \
392 GET_TX_DESC_BCNPKT_TSF_CTRL(txdesc)
393 #define SET_TX_DESC_AMSDU_PAD_EN_8822B(txdesc, value) \
394 SET_TX_DESC_AMSDU_PAD_EN(txdesc, value)
395 #define GET_TX_DESC_AMSDU_PAD_EN_8822B(txdesc) GET_TX_DESC_AMSDU_PAD_EN(txdesc)
396 #define SET_TX_DESC_LS_8822B(txdesc, value) SET_TX_DESC_LS(txdesc, value)
397 #define GET_TX_DESC_LS_8822B(txdesc) GET_TX_DESC_LS(txdesc)
398 #define SET_TX_DESC_HTC_8822B(txdesc, value) SET_TX_DESC_HTC(txdesc, value)
399 #define GET_TX_DESC_HTC_8822B(txdesc) GET_TX_DESC_HTC(txdesc)
400 #define SET_TX_DESC_BMC_8822B(txdesc, value) SET_TX_DESC_BMC(txdesc, value)
401 #define GET_TX_DESC_BMC_8822B(txdesc) GET_TX_DESC_BMC(txdesc)
402 #define SET_TX_DESC_OFFSET_8822B(txdesc, value) \
403 SET_TX_DESC_OFFSET(txdesc, value)
404 #define GET_TX_DESC_OFFSET_8822B(txdesc) GET_TX_DESC_OFFSET(txdesc)
405 #define SET_TX_DESC_TXPKTSIZE_8822B(txdesc, value) \
406 SET_TX_DESC_TXPKTSIZE(txdesc, value)
407 #define GET_TX_DESC_TXPKTSIZE_8822B(txdesc) GET_TX_DESC_TXPKTSIZE(txdesc)
411 #define SET_TX_DESC_MOREDATA_8822B(txdesc, value) \
412 SET_TX_DESC_MOREDATA(txdesc, value)
413 #define GET_TX_DESC_MOREDATA_8822B(txdesc) GET_TX_DESC_MOREDATA(txdesc)
414 #define SET_TX_DESC_PKT_OFFSET_8822B(txdesc, value) \
415 SET_TX_DESC_PKT_OFFSET(txdesc, value)
416 #define GET_TX_DESC_PKT_OFFSET_8822B(txdesc) GET_TX_DESC_PKT_OFFSET(txdesc)
417 #define SET_TX_DESC_SEC_TYPE_8822B(txdesc, value) \
418 SET_TX_DESC_SEC_TYPE(txdesc, value)
419 #define GET_TX_DESC_SEC_TYPE_8822B(txdesc) GET_TX_DESC_SEC_TYPE(txdesc)
420 #define SET_TX_DESC_EN_DESC_ID_8822B(txdesc, value) \
421 SET_TX_DESC_EN_DESC_ID(txdesc, value)
422 #define GET_TX_DESC_EN_DESC_ID_8822B(txdesc) GET_TX_DESC_EN_DESC_ID(txdesc)
423 #define SET_TX_DESC_RATE_ID_8822B(txdesc, value) \
424 SET_TX_DESC_RATE_ID(txdesc, value)
425 #define GET_TX_DESC_RATE_ID_8822B(txdesc) GET_TX_DESC_RATE_ID(txdesc)
426 #define SET_TX_DESC_PIFS_8822B(txdesc, value) SET_TX_DESC_PIFS(txdesc, value)
427 #define GET_TX_DESC_PIFS_8822B(txdesc) GET_TX_DESC_PIFS(txdesc)
428 #define SET_TX_DESC_LSIG_TXOP_EN_8822B(txdesc, value) \
429 SET_TX_DESC_LSIG_TXOP_EN(txdesc, value)
430 #define GET_TX_DESC_LSIG_TXOP_EN_8822B(txdesc) GET_TX_DESC_LSIG_TXOP_EN(txdesc)
431 #define SET_TX_DESC_RD_NAV_EXT_8822B(txdesc, value) \
432 SET_TX_DESC_RD_NAV_EXT(txdesc, value)
433 #define GET_TX_DESC_RD_NAV_EXT_8822B(txdesc) GET_TX_DESC_RD_NAV_EXT(txdesc)
434 #define SET_TX_DESC_QSEL_8822B(txdesc, value) SET_TX_DESC_QSEL(txdesc, value)
435 #define GET_TX_DESC_QSEL_8822B(txdesc) GET_TX_DESC_QSEL(txdesc)
436 #define SET_TX_DESC_MACID_8822B(txdesc, value) SET_TX_DESC_MACID(txdesc, value)
437 #define GET_TX_DESC_MACID_8822B(txdesc) GET_TX_DESC_MACID(txdesc)
441 #define SET_TX_DESC_HW_AES_IV_8822B(txdesc, value) \
442 SET_TX_DESC_HW_AES_IV(txdesc, value)
443 #define GET_TX_DESC_HW_AES_IV_8822B(txdesc) GET_TX_DESC_HW_AES_IV(txdesc)
444 #define SET_TX_DESC_FTM_EN_8822B(txdesc, value) \
445 SET_TX_DESC_FTM_EN(txdesc, value)
446 #define GET_TX_DESC_FTM_EN_8822B(txdesc) GET_TX_DESC_FTM_EN(txdesc)
447 #define SET_TX_DESC_G_ID_8822B(txdesc, value) SET_TX_DESC_G_ID(txdesc, value)
448 #define GET_TX_DESC_G_ID_8822B(txdesc) GET_TX_DESC_G_ID(txdesc)
449 #define SET_TX_DESC_BT_NULL_8822B(txdesc, value) \
450 SET_TX_DESC_BT_NULL(txdesc, value)
451 #define GET_TX_DESC_BT_NULL_8822B(txdesc) GET_TX_DESC_BT_NULL(txdesc)
452 #define SET_TX_DESC_AMPDU_DENSITY_8822B(txdesc, value) \
453 SET_TX_DESC_AMPDU_DENSITY(txdesc, value)
454 #define GET_TX_DESC_AMPDU_DENSITY_8822B(txdesc) \
455 GET_TX_DESC_AMPDU_DENSITY(txdesc)
456 #define SET_TX_DESC_SPE_RPT_8822B(txdesc, value) \
457 SET_TX_DESC_SPE_RPT(txdesc, value)
458 #define GET_TX_DESC_SPE_RPT_8822B(txdesc) GET_TX_DESC_SPE_RPT(txdesc)
459 #define SET_TX_DESC_RAW_8822B(txdesc, value) SET_TX_DESC_RAW(txdesc, value)
460 #define GET_TX_DESC_RAW_8822B(txdesc) GET_TX_DESC_RAW(txdesc)
461 #define SET_TX_DESC_MOREFRAG_8822B(txdesc, value) \
462 SET_TX_DESC_MOREFRAG(txdesc, value)
463 #define GET_TX_DESC_MOREFRAG_8822B(txdesc) GET_TX_DESC_MOREFRAG(txdesc)
464 #define SET_TX_DESC_BK_8822B(txdesc, value) SET_TX_DESC_BK(txdesc, value)
465 #define GET_TX_DESC_BK_8822B(txdesc) GET_TX_DESC_BK(txdesc)
466 #define SET_TX_DESC_NULL_1_8822B(txdesc, value) \
467 SET_TX_DESC_NULL_1(txdesc, value)
468 #define GET_TX_DESC_NULL_1_8822B(txdesc) GET_TX_DESC_NULL_1(txdesc)
469 #define SET_TX_DESC_NULL_0_8822B(txdesc, value) \
470 SET_TX_DESC_NULL_0(txdesc, value)
471 #define GET_TX_DESC_NULL_0_8822B(txdesc) GET_TX_DESC_NULL_0(txdesc)
472 #define SET_TX_DESC_RDG_EN_8822B(txdesc, value) \
473 SET_TX_DESC_RDG_EN(txdesc, value)
474 #define GET_TX_DESC_RDG_EN_8822B(txdesc) GET_TX_DESC_RDG_EN(txdesc)
475 #define SET_TX_DESC_AGG_EN_8822B(txdesc, value) \
476 SET_TX_DESC_AGG_EN(txdesc, value)
477 #define GET_TX_DESC_AGG_EN_8822B(txdesc) GET_TX_DESC_AGG_EN(txdesc)
478 #define SET_TX_DESC_CCA_RTS_8822B(txdesc, value) \
479 SET_TX_DESC_CCA_RTS(txdesc, value)
480 #define GET_TX_DESC_CCA_RTS_8822B(txdesc) GET_TX_DESC_CCA_RTS(txdesc)
481 #define SET_TX_DESC_TRI_FRAME_8822B(txdesc, value) \
482 SET_TX_DESC_TRI_FRAME(txdesc, value)
483 #define GET_TX_DESC_TRI_FRAME_8822B(txdesc) GET_TX_DESC_TRI_FRAME(txdesc)
484 #define SET_TX_DESC_P_AID_8822B(txdesc, value) SET_TX_DESC_P_AID(txdesc, value)
485 #define GET_TX_DESC_P_AID_8822B(txdesc) GET_TX_DESC_P_AID(txdesc)
489 #define SET_TX_DESC_AMPDU_MAX_TIME_8822B(txdesc, value) \
490 SET_TX_DESC_AMPDU_MAX_TIME(txdesc, value)
491 #define GET_TX_DESC_AMPDU_MAX_TIME_8822B(txdesc) \
492 GET_TX_DESC_AMPDU_MAX_TIME(txdesc)
493 #define SET_TX_DESC_NDPA_8822B(txdesc, value) SET_TX_DESC_NDPA(txdesc, value)
494 #define GET_TX_DESC_NDPA_8822B(txdesc) GET_TX_DESC_NDPA(txdesc)
495 #define SET_TX_DESC_MAX_AGG_NUM_8822B(txdesc, value) \
496 SET_TX_DESC_MAX_AGG_NUM(txdesc, value)
497 #define GET_TX_DESC_MAX_AGG_NUM_8822B(txdesc) GET_TX_DESC_MAX_AGG_NUM(txdesc)
498 #define SET_TX_DESC_USE_MAX_TIME_EN_8822B(txdesc, value) \
499 SET_TX_DESC_USE_MAX_TIME_EN(txdesc, value)
500 #define GET_TX_DESC_USE_MAX_TIME_EN_8822B(txdesc) \
501 GET_TX_DESC_USE_MAX_TIME_EN(txdesc)
502 #define SET_TX_DESC_NAVUSEHDR_8822B(txdesc, value) \
503 SET_TX_DESC_NAVUSEHDR(txdesc, value)
504 #define GET_TX_DESC_NAVUSEHDR_8822B(txdesc) GET_TX_DESC_NAVUSEHDR(txdesc)
505 #define SET_TX_DESC_CHK_EN_8822B(txdesc, value) \
506 SET_TX_DESC_CHK_EN(txdesc, value)
507 #define GET_TX_DESC_CHK_EN_8822B(txdesc) GET_TX_DESC_CHK_EN(txdesc)
508 #define SET_TX_DESC_HW_RTS_EN_8822B(txdesc, value) \
509 SET_TX_DESC_HW_RTS_EN(txdesc, value)
510 #define GET_TX_DESC_HW_RTS_EN_8822B(txdesc) GET_TX_DESC_HW_RTS_EN(txdesc)
511 #define SET_TX_DESC_RTSEN_8822B(txdesc, value) SET_TX_DESC_RTSEN(txdesc, value)
512 #define GET_TX_DESC_RTSEN_8822B(txdesc) GET_TX_DESC_RTSEN(txdesc)
513 #define SET_TX_DESC_CTS2SELF_8822B(txdesc, value) \
514 SET_TX_DESC_CTS2SELF(txdesc, value)
515 #define GET_TX_DESC_CTS2SELF_8822B(txdesc) GET_TX_DESC_CTS2SELF(txdesc)
516 #define SET_TX_DESC_DISDATAFB_8822B(txdesc, value) \
517 SET_TX_DESC_DISDATAFB(txdesc, value)
518 #define GET_TX_DESC_DISDATAFB_8822B(txdesc) GET_TX_DESC_DISDATAFB(txdesc)
519 #define SET_TX_DESC_DISRTSFB_8822B(txdesc, value) \
520 SET_TX_DESC_DISRTSFB(txdesc, value)
521 #define GET_TX_DESC_DISRTSFB_8822B(txdesc) GET_TX_DESC_DISRTSFB(txdesc)
522 #define SET_TX_DESC_USE_RATE_8822B(txdesc, value) \
523 SET_TX_DESC_USE_RATE(txdesc, value)
524 #define GET_TX_DESC_USE_RATE_8822B(txdesc) GET_TX_DESC_USE_RATE(txdesc)
525 #define SET_TX_DESC_HW_SSN_SEL_8822B(txdesc, value) \
526 SET_TX_DESC_HW_SSN_SEL(txdesc, value)
527 #define GET_TX_DESC_HW_SSN_SEL_8822B(txdesc) GET_TX_DESC_HW_SSN_SEL(txdesc)
528 #define SET_TX_DESC_WHEADER_LEN_8822B(txdesc, value) \
529 SET_TX_DESC_WHEADER_LEN(txdesc, value)
530 #define GET_TX_DESC_WHEADER_LEN_8822B(txdesc) GET_TX_DESC_WHEADER_LEN(txdesc)
534 #define SET_TX_DESC_PCTS_MASK_IDX_8822B(txdesc, value) \
535 SET_TX_DESC_PCTS_MASK_IDX(txdesc, value)
536 #define GET_TX_DESC_PCTS_MASK_IDX_8822B(txdesc) \
537 GET_TX_DESC_PCTS_MASK_IDX(txdesc)
538 #define SET_TX_DESC_PCTS_EN_8822B(txdesc, value) \
539 SET_TX_DESC_PCTS_EN(txdesc, value)
540 #define GET_TX_DESC_PCTS_EN_8822B(txdesc) GET_TX_DESC_PCTS_EN(txdesc)
541 #define SET_TX_DESC_RTSRATE_8822B(txdesc, value) \
542 SET_TX_DESC_RTSRATE(txdesc, value)
543 #define GET_TX_DESC_RTSRATE_8822B(txdesc) GET_TX_DESC_RTSRATE(txdesc)
544 #define SET_TX_DESC_RTS_DATA_RTY_LMT_8822B(txdesc, value) \
545 SET_TX_DESC_RTS_DATA_RTY_LMT(txdesc, value)
546 #define GET_TX_DESC_RTS_DATA_RTY_LMT_8822B(txdesc) \
547 GET_TX_DESC_RTS_DATA_RTY_LMT(txdesc)
548 #define SET_TX_DESC_RTY_LMT_EN_8822B(txdesc, value) \
549 SET_TX_DESC_RTY_LMT_EN(txdesc, value)
550 #define GET_TX_DESC_RTY_LMT_EN_8822B(txdesc) GET_TX_DESC_RTY_LMT_EN(txdesc)
551 #define SET_TX_DESC_RTS_RTY_LOWEST_RATE_8822B(txdesc, value) \
552 SET_TX_DESC_RTS_RTY_LOWEST_RATE(txdesc, value)
553 #define GET_TX_DESC_RTS_RTY_LOWEST_RATE_8822B(txdesc) \
554 GET_TX_DESC_RTS_RTY_LOWEST_RATE(txdesc)
555 #define SET_TX_DESC_DATA_RTY_LOWEST_RATE_8822B(txdesc, value) \
556 SET_TX_DESC_DATA_RTY_LOWEST_RATE(txdesc, value)
557 #define GET_TX_DESC_DATA_RTY_LOWEST_RATE_8822B(txdesc) \
558 GET_TX_DESC_DATA_RTY_LOWEST_RATE(txdesc)
559 #define SET_TX_DESC_TRY_RATE_8822B(txdesc, value) \
560 SET_TX_DESC_TRY_RATE(txdesc, value)
561 #define GET_TX_DESC_TRY_RATE_8822B(txdesc) GET_TX_DESC_TRY_RATE(txdesc)
562 #define SET_TX_DESC_DATARATE_8822B(txdesc, value) \
563 SET_TX_DESC_DATARATE(txdesc, value)
564 #define GET_TX_DESC_DATARATE_8822B(txdesc) GET_TX_DESC_DATARATE(txdesc)
568 #define SET_TX_DESC_POLLUTED_8822B(txdesc, value) \
569 SET_TX_DESC_POLLUTED(txdesc, value)
570 #define GET_TX_DESC_POLLUTED_8822B(txdesc) GET_TX_DESC_POLLUTED(txdesc)
571 #define SET_TX_DESC_TXPWR_OFSET_8822B(txdesc, value) \
572 SET_TX_DESC_TXPWR_OFSET(txdesc, value)
573 #define GET_TX_DESC_TXPWR_OFSET_8822B(txdesc) GET_TX_DESC_TXPWR_OFSET(txdesc)
574 #define SET_TX_DESC_TX_ANT_8822B(txdesc, value) \
575 SET_TX_DESC_TX_ANT(txdesc, value)
576 #define GET_TX_DESC_TX_ANT_8822B(txdesc) GET_TX_DESC_TX_ANT(txdesc)
577 #define SET_TX_DESC_PORT_ID_8822B(txdesc, value) \
578 SET_TX_DESC_PORT_ID(txdesc, value)
579 #define GET_TX_DESC_PORT_ID_8822B(txdesc) GET_TX_DESC_PORT_ID(txdesc)
580 #define SET_TX_DESC_MULTIPLE_PORT_8822B(txdesc, value) \
581 SET_TX_DESC_MULTIPLE_PORT(txdesc, value)
582 #define GET_TX_DESC_MULTIPLE_PORT_8822B(txdesc) \
583 GET_TX_DESC_MULTIPLE_PORT(txdesc)
584 #define SET_TX_DESC_SIGNALING_TAPKT_EN_8822B(txdesc, value) \
585 SET_TX_DESC_SIGNALING_TAPKT_EN(txdesc, value)
586 #define GET_TX_DESC_SIGNALING_TAPKT_EN_8822B(txdesc) \
587 GET_TX_DESC_SIGNALING_TAPKT_EN(txdesc)
588 #define SET_TX_DESC_SIGNALING_TA_PKT_SC_8822B(txdesc, value) \
589 SET_TX_DESC_SIGNALING_TA_PKT_SC(txdesc, value)
590 #define GET_TX_DESC_SIGNALING_TA_PKT_SC_8822B(txdesc) \
591 GET_TX_DESC_SIGNALING_TA_PKT_SC(txdesc)
592 #define SET_TX_DESC_RTS_SHORT_8822B(txdesc, value) \
593 SET_TX_DESC_RTS_SHORT(txdesc, value)
594 #define GET_TX_DESC_RTS_SHORT_8822B(txdesc) GET_TX_DESC_RTS_SHORT(txdesc)
595 #define SET_TX_DESC_VCS_STBC_8822B(txdesc, value) \
596 SET_TX_DESC_VCS_STBC(txdesc, value)
597 #define GET_TX_DESC_VCS_STBC_8822B(txdesc) GET_TX_DESC_VCS_STBC(txdesc)
598 #define SET_TX_DESC_DATA_STBC_8822B(txdesc, value) \
599 SET_TX_DESC_DATA_STBC(txdesc, value)
600 #define GET_TX_DESC_DATA_STBC_8822B(txdesc) GET_TX_DESC_DATA_STBC(txdesc)
601 #define SET_TX_DESC_DATA_LDPC_8822B(txdesc, value) \
602 SET_TX_DESC_DATA_LDPC(txdesc, value)
603 #define GET_TX_DESC_DATA_LDPC_8822B(txdesc) GET_TX_DESC_DATA_LDPC(txdesc)
604 #define SET_TX_DESC_DATA_BW_8822B(txdesc, value) \
605 SET_TX_DESC_DATA_BW(txdesc, value)
606 #define GET_TX_DESC_DATA_BW_8822B(txdesc) GET_TX_DESC_DATA_BW(txdesc)
607 #define SET_TX_DESC_DATA_SHORT_8822B(txdesc, value) \
608 SET_TX_DESC_DATA_SHORT(txdesc, value)
609 #define GET_TX_DESC_DATA_SHORT_8822B(txdesc) GET_TX_DESC_DATA_SHORT(txdesc)
610 #define SET_TX_DESC_DATA_SC_8822B(txdesc, value) \
611 SET_TX_DESC_DATA_SC(txdesc, value)
612 #define GET_TX_DESC_DATA_SC_8822B(txdesc) GET_TX_DESC_DATA_SC(txdesc)
616 #define SET_TX_DESC_ANTSEL_D_8822B(txdesc, value) \
617 SET_TX_DESC_ANTSEL_D(txdesc, value)
618 #define GET_TX_DESC_ANTSEL_D_8822B(txdesc) GET_TX_DESC_ANTSEL_D(txdesc)
619 #define SET_TX_DESC_ANT_MAPD_8822B(txdesc, value) \
620 SET_TX_DESC_ANT_MAPD(txdesc, value)
621 #define GET_TX_DESC_ANT_MAPD_8822B(txdesc) GET_TX_DESC_ANT_MAPD(txdesc)
622 #define SET_TX_DESC_ANT_MAPC_8822B(txdesc, value) \
623 SET_TX_DESC_ANT_MAPC(txdesc, value)
624 #define GET_TX_DESC_ANT_MAPC_8822B(txdesc) GET_TX_DESC_ANT_MAPC(txdesc)
625 #define SET_TX_DESC_ANT_MAPB_8822B(txdesc, value) \
626 SET_TX_DESC_ANT_MAPB(txdesc, value)
627 #define GET_TX_DESC_ANT_MAPB_8822B(txdesc) GET_TX_DESC_ANT_MAPB(txdesc)
628 #define SET_TX_DESC_ANT_MAPA_8822B(txdesc, value) \
629 SET_TX_DESC_ANT_MAPA(txdesc, value)
630 #define GET_TX_DESC_ANT_MAPA_8822B(txdesc) GET_TX_DESC_ANT_MAPA(txdesc)
631 #define SET_TX_DESC_ANTSEL_C_8822B(txdesc, value) \
632 SET_TX_DESC_ANTSEL_C(txdesc, value)
633 #define GET_TX_DESC_ANTSEL_C_8822B(txdesc) GET_TX_DESC_ANTSEL_C(txdesc)
634 #define SET_TX_DESC_ANTSEL_B_8822B(txdesc, value) \
635 SET_TX_DESC_ANTSEL_B(txdesc, value)
636 #define GET_TX_DESC_ANTSEL_B_8822B(txdesc) GET_TX_DESC_ANTSEL_B(txdesc)
637 #define SET_TX_DESC_ANTSEL_A_8822B(txdesc, value) \
638 SET_TX_DESC_ANTSEL_A(txdesc, value)
639 #define GET_TX_DESC_ANTSEL_A_8822B(txdesc) GET_TX_DESC_ANTSEL_A(txdesc)
640 #define SET_TX_DESC_MBSSID_8822B(txdesc, value) \
641 SET_TX_DESC_MBSSID(txdesc, value)
642 #define GET_TX_DESC_MBSSID_8822B(txdesc) GET_TX_DESC_MBSSID(txdesc)
643 #define SET_TX_DESC_SW_DEFINE_8822B(txdesc, value) \
644 SET_TX_DESC_SW_DEFINE(txdesc, value)
645 #define GET_TX_DESC_SW_DEFINE_8822B(txdesc) GET_TX_DESC_SW_DEFINE(txdesc)
649 #define SET_TX_DESC_DMA_TXAGG_NUM_8822B(txdesc, value) \
650 SET_TX_DESC_DMA_TXAGG_NUM(txdesc, value)
651 #define GET_TX_DESC_DMA_TXAGG_NUM_8822B(txdesc) \
652 GET_TX_DESC_DMA_TXAGG_NUM(txdesc)
653 #define SET_TX_DESC_FINAL_DATA_RATE_8822B(txdesc, value) \
654 SET_TX_DESC_FINAL_DATA_RATE(txdesc, value)
655 #define GET_TX_DESC_FINAL_DATA_RATE_8822B(txdesc) \
656 GET_TX_DESC_FINAL_DATA_RATE(txdesc)
657 #define SET_TX_DESC_NTX_MAP_8822B(txdesc, value) \
658 SET_TX_DESC_NTX_MAP(txdesc, value)
659 #define GET_TX_DESC_NTX_MAP_8822B(txdesc) GET_TX_DESC_NTX_MAP(txdesc)
660 #define SET_TX_DESC_TX_BUFF_SIZE_8822B(txdesc, value) \
661 SET_TX_DESC_TX_BUFF_SIZE(txdesc, value)
662 #define GET_TX_DESC_TX_BUFF_SIZE_8822B(txdesc) GET_TX_DESC_TX_BUFF_SIZE(txdesc)
663 #define SET_TX_DESC_TXDESC_CHECKSUM_8822B(txdesc, value) \
664 SET_TX_DESC_TXDESC_CHECKSUM(txdesc, value)
665 #define GET_TX_DESC_TXDESC_CHECKSUM_8822B(txdesc) \
666 GET_TX_DESC_TXDESC_CHECKSUM(txdesc)
667 #define SET_TX_DESC_TIMESTAMP_8822B(txdesc, value) \
668 SET_TX_DESC_TIMESTAMP(txdesc, value)
669 #define GET_TX_DESC_TIMESTAMP_8822B(txdesc) GET_TX_DESC_TIMESTAMP(txdesc)
673 #define SET_TX_DESC_TXWIFI_CP_8822B(txdesc, value) \
674 SET_TX_DESC_TXWIFI_CP(txdesc, value)
675 #define GET_TX_DESC_TXWIFI_CP_8822B(txdesc) GET_TX_DESC_TXWIFI_CP(txdesc)
676 #define SET_TX_DESC_MAC_CP_8822B(txdesc, value) \
677 SET_TX_DESC_MAC_CP(txdesc, value)
678 #define GET_TX_DESC_MAC_CP_8822B(txdesc) GET_TX_DESC_MAC_CP(txdesc)
679 #define SET_TX_DESC_STW_PKTRE_DIS_8822B(txdesc, value) \
680 SET_TX_DESC_STW_PKTRE_DIS(txdesc, value)
681 #define GET_TX_DESC_STW_PKTRE_DIS_8822B(txdesc) \
682 GET_TX_DESC_STW_PKTRE_DIS(txdesc)
683 #define SET_TX_DESC_STW_RB_DIS_8822B(txdesc, value) \
684 SET_TX_DESC_STW_RB_DIS(txdesc, value)
685 #define GET_TX_DESC_STW_RB_DIS_8822B(txdesc) GET_TX_DESC_STW_RB_DIS(txdesc)
686 #define SET_TX_DESC_STW_RATE_DIS_8822B(txdesc, value) \
687 SET_TX_DESC_STW_RATE_DIS(txdesc, value)
688 #define GET_TX_DESC_STW_RATE_DIS_8822B(txdesc) GET_TX_DESC_STW_RATE_DIS(txdesc)
689 #define SET_TX_DESC_STW_ANT_DIS_8822B(txdesc, value) \
690 SET_TX_DESC_STW_ANT_DIS(txdesc, value)
691 #define GET_TX_DESC_STW_ANT_DIS_8822B(txdesc) GET_TX_DESC_STW_ANT_DIS(txdesc)
692 #define SET_TX_DESC_STW_EN_8822B(txdesc, value) \
693 SET_TX_DESC_STW_EN(txdesc, value)
694 #define GET_TX_DESC_STW_EN_8822B(txdesc) GET_TX_DESC_STW_EN(txdesc)
695 #define SET_TX_DESC_SMH_EN_8822B(txdesc, value) \
696 SET_TX_DESC_SMH_EN(txdesc, value)
697 #define GET_TX_DESC_SMH_EN_8822B(txdesc) GET_TX_DESC_SMH_EN(txdesc)
698 #define SET_TX_DESC_TAILPAGE_L_8822B(txdesc, value) \
699 SET_TX_DESC_TAILPAGE_L(txdesc, value)
700 #define GET_TX_DESC_TAILPAGE_L_8822B(txdesc) GET_TX_DESC_TAILPAGE_L(txdesc)
701 #define SET_TX_DESC_SDIO_DMASEQ_8822B(txdesc, value) \
702 SET_TX_DESC_SDIO_DMASEQ(txdesc, value)
703 #define GET_TX_DESC_SDIO_DMASEQ_8822B(txdesc) GET_TX_DESC_SDIO_DMASEQ(txdesc)
704 #define SET_TX_DESC_NEXTHEADPAGE_L_8822B(txdesc, value) \
705 SET_TX_DESC_NEXTHEADPAGE_L(txdesc, value)
706 #define GET_TX_DESC_NEXTHEADPAGE_L_8822B(txdesc) \
707 GET_TX_DESC_NEXTHEADPAGE_L(txdesc)
708 #define SET_TX_DESC_EN_HWSEQ_8822B(txdesc, value) \
709 SET_TX_DESC_EN_HWSEQ(txdesc, value)
710 #define GET_TX_DESC_EN_HWSEQ_8822B(txdesc) GET_TX_DESC_EN_HWSEQ(txdesc)
711 #define SET_TX_DESC_EN_HWEXSEQ_8822B(txdesc, value) \
712 SET_TX_DESC_EN_HWEXSEQ(txdesc, value)
713 #define GET_TX_DESC_EN_HWEXSEQ_8822B(txdesc) GET_TX_DESC_EN_HWEXSEQ(txdesc)
714 #define SET_TX_DESC_DATA_RC_8822B(txdesc, value) \
715 SET_TX_DESC_DATA_RC(txdesc, value)
716 #define GET_TX_DESC_DATA_RC_8822B(txdesc) GET_TX_DESC_DATA_RC(txdesc)
717 #define SET_TX_DESC_BAR_RTY_TH_8822B(txdesc, value) \
718 SET_TX_DESC_BAR_RTY_TH(txdesc, value)
719 #define GET_TX_DESC_BAR_RTY_TH_8822B(txdesc) GET_TX_DESC_BAR_RTY_TH(txdesc)
720 #define SET_TX_DESC_RTS_RC_8822B(txdesc, value) \
721 SET_TX_DESC_RTS_RC(txdesc, value)
722 #define GET_TX_DESC_RTS_RC_8822B(txdesc) GET_TX_DESC_RTS_RC(txdesc)
726 #define SET_TX_DESC_TAILPAGE_H_8822B(txdesc, value) \
727 SET_TX_DESC_TAILPAGE_H(txdesc, value)
728 #define GET_TX_DESC_TAILPAGE_H_8822B(txdesc) GET_TX_DESC_TAILPAGE_H(txdesc)
729 #define SET_TX_DESC_NEXTHEADPAGE_H_8822B(txdesc, value) \
730 SET_TX_DESC_NEXTHEADPAGE_H(txdesc, value)
731 #define GET_TX_DESC_NEXTHEADPAGE_H_8822B(txdesc) \
732 GET_TX_DESC_NEXTHEADPAGE_H(txdesc)
733 #define SET_TX_DESC_SW_SEQ_8822B(txdesc, value) \
734 SET_TX_DESC_SW_SEQ(txdesc, value)
735 #define GET_TX_DESC_SW_SEQ_8822B(txdesc) GET_TX_DESC_SW_SEQ(txdesc)
736 #define SET_TX_DESC_TXBF_PATH_8822B(txdesc, value) \
737 SET_TX_DESC_TXBF_PATH(txdesc, value)
738 #define GET_TX_DESC_TXBF_PATH_8822B(txdesc) GET_TX_DESC_TXBF_PATH(txdesc)
739 #define SET_TX_DESC_PADDING_LEN_8822B(txdesc, value) \
740 SET_TX_DESC_PADDING_LEN(txdesc, value)
741 #define GET_TX_DESC_PADDING_LEN_8822B(txdesc) GET_TX_DESC_PADDING_LEN(txdesc)
742 #define SET_TX_DESC_GROUP_BIT_IE_OFFSET_8822B(txdesc, value) \
743 SET_TX_DESC_GROUP_BIT_IE_OFFSET(txdesc, value)
744 #define GET_TX_DESC_GROUP_BIT_IE_OFFSET_8822B(txdesc) \
745 GET_TX_DESC_GROUP_BIT_IE_OFFSET(txdesc)
749 #define SET_TX_DESC_MU_DATARATE_8822B(txdesc, value) \
750 SET_TX_DESC_MU_DATARATE(txdesc, value)
751 #define GET_TX_DESC_MU_DATARATE_8822B(txdesc) GET_TX_DESC_MU_DATARATE(txdesc)
752 #define SET_TX_DESC_MU_RC_8822B(txdesc, value) SET_TX_DESC_MU_RC(txdesc, value)
753 #define GET_TX_DESC_MU_RC_8822B(txdesc) GET_TX_DESC_MU_RC(txdesc)
754 #define SET_TX_DESC_SND_PKT_SEL_8822B(txdesc, value) \
755 SET_TX_DESC_SND_PKT_SEL(txdesc, value)
756 #define GET_TX_DESC_SND_PKT_SEL_8822B(txdesc) GET_TX_DESC_SND_PKT_SEL(txdesc)
760 #if (HALMAC_8197F_SUPPORT)
764 #define SET_TX_DESC_DISQSELSEQ_8197F(txdesc, value) \
765 SET_TX_DESC_DISQSELSEQ(txdesc, value)
766 #define GET_TX_DESC_DISQSELSEQ_8197F(txdesc) GET_TX_DESC_DISQSELSEQ(txdesc)
767 #define SET_TX_DESC_GF_8197F(txdesc, value) SET_TX_DESC_GF(txdesc, value)
768 #define GET_TX_DESC_GF_8197F(txdesc) GET_TX_DESC_GF(txdesc)
769 #define SET_TX_DESC_NO_ACM_8197F(txdesc, value) \
770 SET_TX_DESC_NO_ACM(txdesc, value)
771 #define GET_TX_DESC_NO_ACM_8197F(txdesc) GET_TX_DESC_NO_ACM(txdesc)
772 #define SET_TX_DESC_BCNPKT_TSF_CTRL_8197F(txdesc, value) \
773 SET_TX_DESC_BCNPKT_TSF_CTRL(txdesc, value)
774 #define GET_TX_DESC_BCNPKT_TSF_CTRL_8197F(txdesc) \
775 GET_TX_DESC_BCNPKT_TSF_CTRL(txdesc)
776 #define SET_TX_DESC_AMSDU_PAD_EN_8197F(txdesc, value) \
777 SET_TX_DESC_AMSDU_PAD_EN(txdesc, value)
778 #define GET_TX_DESC_AMSDU_PAD_EN_8197F(txdesc) GET_TX_DESC_AMSDU_PAD_EN(txdesc)
779 #define SET_TX_DESC_LS_8197F(txdesc, value) SET_TX_DESC_LS(txdesc, value)
780 #define GET_TX_DESC_LS_8197F(txdesc) GET_TX_DESC_LS(txdesc)
781 #define SET_TX_DESC_HTC_8197F(txdesc, value) SET_TX_DESC_HTC(txdesc, value)
782 #define GET_TX_DESC_HTC_8197F(txdesc) GET_TX_DESC_HTC(txdesc)
783 #define SET_TX_DESC_BMC_8197F(txdesc, value) SET_TX_DESC_BMC(txdesc, value)
784 #define GET_TX_DESC_BMC_8197F(txdesc) GET_TX_DESC_BMC(txdesc)
785 #define SET_TX_DESC_OFFSET_8197F(txdesc, value) \
786 SET_TX_DESC_OFFSET(txdesc, value)
787 #define GET_TX_DESC_OFFSET_8197F(txdesc) GET_TX_DESC_OFFSET(txdesc)
788 #define SET_TX_DESC_TXPKTSIZE_8197F(txdesc, value) \
789 SET_TX_DESC_TXPKTSIZE(txdesc, value)
790 #define GET_TX_DESC_TXPKTSIZE_8197F(txdesc) GET_TX_DESC_TXPKTSIZE(txdesc)
794 #define SET_TX_DESC_MOREDATA_8197F(txdesc, value) \
795 SET_TX_DESC_MOREDATA(txdesc, value)
796 #define GET_TX_DESC_MOREDATA_8197F(txdesc) GET_TX_DESC_MOREDATA(txdesc)
797 #define SET_TX_DESC_PKT_OFFSET_8197F(txdesc, value) \
798 SET_TX_DESC_PKT_OFFSET(txdesc, value)
799 #define GET_TX_DESC_PKT_OFFSET_8197F(txdesc) GET_TX_DESC_PKT_OFFSET(txdesc)
800 #define SET_TX_DESC_SEC_TYPE_8197F(txdesc, value) \
801 SET_TX_DESC_SEC_TYPE(txdesc, value)
802 #define GET_TX_DESC_SEC_TYPE_8197F(txdesc) GET_TX_DESC_SEC_TYPE(txdesc)
803 #define SET_TX_DESC_EN_DESC_ID_8197F(txdesc, value) \
804 SET_TX_DESC_EN_DESC_ID(txdesc, value)
805 #define GET_TX_DESC_EN_DESC_ID_8197F(txdesc) GET_TX_DESC_EN_DESC_ID(txdesc)
806 #define SET_TX_DESC_RATE_ID_8197F(txdesc, value) \
807 SET_TX_DESC_RATE_ID(txdesc, value)
808 #define GET_TX_DESC_RATE_ID_8197F(txdesc) GET_TX_DESC_RATE_ID(txdesc)
809 #define SET_TX_DESC_PIFS_8197F(txdesc, value) SET_TX_DESC_PIFS(txdesc, value)
810 #define GET_TX_DESC_PIFS_8197F(txdesc) GET_TX_DESC_PIFS(txdesc)
811 #define SET_TX_DESC_LSIG_TXOP_EN_8197F(txdesc, value) \
812 SET_TX_DESC_LSIG_TXOP_EN(txdesc, value)
813 #define GET_TX_DESC_LSIG_TXOP_EN_8197F(txdesc) GET_TX_DESC_LSIG_TXOP_EN(txdesc)
814 #define SET_TX_DESC_RD_NAV_EXT_8197F(txdesc, value) \
815 SET_TX_DESC_RD_NAV_EXT(txdesc, value)
816 #define GET_TX_DESC_RD_NAV_EXT_8197F(txdesc) GET_TX_DESC_RD_NAV_EXT(txdesc)
817 #define SET_TX_DESC_QSEL_8197F(txdesc, value) SET_TX_DESC_QSEL(txdesc, value)
818 #define GET_TX_DESC_QSEL_8197F(txdesc) GET_TX_DESC_QSEL(txdesc)
819 #define SET_TX_DESC_MACID_8197F(txdesc, value) SET_TX_DESC_MACID(txdesc, value)
820 #define GET_TX_DESC_MACID_8197F(txdesc) GET_TX_DESC_MACID(txdesc)
824 #define SET_TX_DESC_HW_AES_IV_8197F(txdesc, value) \
825 SET_TX_DESC_HW_AES_IV(txdesc, value)
826 #define GET_TX_DESC_HW_AES_IV_8197F(txdesc) GET_TX_DESC_HW_AES_IV(txdesc)
827 #define SET_TX_DESC_FTM_EN_8197F(txdesc, value) \
828 SET_TX_DESC_FTM_EN(txdesc, value)
829 #define GET_TX_DESC_FTM_EN_8197F(txdesc) GET_TX_DESC_FTM_EN(txdesc)
830 #define SET_TX_DESC_G_ID_8197F(txdesc, value) SET_TX_DESC_G_ID(txdesc, value)
831 #define GET_TX_DESC_G_ID_8197F(txdesc) GET_TX_DESC_G_ID(txdesc)
832 #define SET_TX_DESC_BT_NULL_8197F(txdesc, value) \
833 SET_TX_DESC_BT_NULL(txdesc, value)
834 #define GET_TX_DESC_BT_NULL_8197F(txdesc) GET_TX_DESC_BT_NULL(txdesc)
835 #define SET_TX_DESC_AMPDU_DENSITY_8197F(txdesc, value) \
836 SET_TX_DESC_AMPDU_DENSITY(txdesc, value)
837 #define GET_TX_DESC_AMPDU_DENSITY_8197F(txdesc) \
838 GET_TX_DESC_AMPDU_DENSITY(txdesc)
839 #define SET_TX_DESC_SPE_RPT_8197F(txdesc, value) \
840 SET_TX_DESC_SPE_RPT(txdesc, value)
841 #define GET_TX_DESC_SPE_RPT_8197F(txdesc) GET_TX_DESC_SPE_RPT(txdesc)
842 #define SET_TX_DESC_RAW_8197F(txdesc, value) SET_TX_DESC_RAW(txdesc, value)
843 #define GET_TX_DESC_RAW_8197F(txdesc) GET_TX_DESC_RAW(txdesc)
844 #define SET_TX_DESC_MOREFRAG_8197F(txdesc, value) \
845 SET_TX_DESC_MOREFRAG(txdesc, value)
846 #define GET_TX_DESC_MOREFRAG_8197F(txdesc) GET_TX_DESC_MOREFRAG(txdesc)
847 #define SET_TX_DESC_BK_8197F(txdesc, value) SET_TX_DESC_BK(txdesc, value)
848 #define GET_TX_DESC_BK_8197F(txdesc) GET_TX_DESC_BK(txdesc)
849 #define SET_TX_DESC_NULL_1_8197F(txdesc, value) \
850 SET_TX_DESC_NULL_1(txdesc, value)
851 #define GET_TX_DESC_NULL_1_8197F(txdesc) GET_TX_DESC_NULL_1(txdesc)
852 #define SET_TX_DESC_NULL_0_8197F(txdesc, value) \
853 SET_TX_DESC_NULL_0(txdesc, value)
854 #define GET_TX_DESC_NULL_0_8197F(txdesc) GET_TX_DESC_NULL_0(txdesc)
855 #define SET_TX_DESC_RDG_EN_8197F(txdesc, value) \
856 SET_TX_DESC_RDG_EN(txdesc, value)
857 #define GET_TX_DESC_RDG_EN_8197F(txdesc) GET_TX_DESC_RDG_EN(txdesc)
858 #define SET_TX_DESC_AGG_EN_8197F(txdesc, value) \
859 SET_TX_DESC_AGG_EN(txdesc, value)
860 #define GET_TX_DESC_AGG_EN_8197F(txdesc) GET_TX_DESC_AGG_EN(txdesc)
861 #define SET_TX_DESC_CCA_RTS_8197F(txdesc, value) \
862 SET_TX_DESC_CCA_RTS(txdesc, value)
863 #define GET_TX_DESC_CCA_RTS_8197F(txdesc) GET_TX_DESC_CCA_RTS(txdesc)
864 #define SET_TX_DESC_TRI_FRAME_8197F(txdesc, value) \
865 SET_TX_DESC_TRI_FRAME(txdesc, value)
866 #define GET_TX_DESC_TRI_FRAME_8197F(txdesc) GET_TX_DESC_TRI_FRAME(txdesc)
867 #define SET_TX_DESC_P_AID_8197F(txdesc, value) SET_TX_DESC_P_AID(txdesc, value)
868 #define GET_TX_DESC_P_AID_8197F(txdesc) GET_TX_DESC_P_AID(txdesc)
872 #define SET_TX_DESC_AMPDU_MAX_TIME_8197F(txdesc, value) \
873 SET_TX_DESC_AMPDU_MAX_TIME(txdesc, value)
874 #define GET_TX_DESC_AMPDU_MAX_TIME_8197F(txdesc) \
875 GET_TX_DESC_AMPDU_MAX_TIME(txdesc)
876 #define SET_TX_DESC_NDPA_8197F(txdesc, value) SET_TX_DESC_NDPA(txdesc, value)
877 #define GET_TX_DESC_NDPA_8197F(txdesc) GET_TX_DESC_NDPA(txdesc)
878 #define SET_TX_DESC_MAX_AGG_NUM_8197F(txdesc, value) \
879 SET_TX_DESC_MAX_AGG_NUM(txdesc, value)
880 #define GET_TX_DESC_MAX_AGG_NUM_8197F(txdesc) GET_TX_DESC_MAX_AGG_NUM(txdesc)
881 #define SET_TX_DESC_USE_MAX_TIME_EN_8197F(txdesc, value) \
882 SET_TX_DESC_USE_MAX_TIME_EN(txdesc, value)
883 #define GET_TX_DESC_USE_MAX_TIME_EN_8197F(txdesc) \
884 GET_TX_DESC_USE_MAX_TIME_EN(txdesc)
885 #define SET_TX_DESC_NAVUSEHDR_8197F(txdesc, value) \
886 SET_TX_DESC_NAVUSEHDR(txdesc, value)
887 #define GET_TX_DESC_NAVUSEHDR_8197F(txdesc) GET_TX_DESC_NAVUSEHDR(txdesc)
888 #define SET_TX_DESC_CHK_EN_8197F(txdesc, value) \
889 SET_TX_DESC_CHK_EN(txdesc, value)
890 #define GET_TX_DESC_CHK_EN_8197F(txdesc) GET_TX_DESC_CHK_EN(txdesc)
891 #define SET_TX_DESC_HW_RTS_EN_8197F(txdesc, value) \
892 SET_TX_DESC_HW_RTS_EN(txdesc, value)
893 #define GET_TX_DESC_HW_RTS_EN_8197F(txdesc) GET_TX_DESC_HW_RTS_EN(txdesc)
894 #define SET_TX_DESC_RTSEN_8197F(txdesc, value) SET_TX_DESC_RTSEN(txdesc, value)
895 #define GET_TX_DESC_RTSEN_8197F(txdesc) GET_TX_DESC_RTSEN(txdesc)
896 #define SET_TX_DESC_CTS2SELF_8197F(txdesc, value) \
897 SET_TX_DESC_CTS2SELF(txdesc, value)
898 #define GET_TX_DESC_CTS2SELF_8197F(txdesc) GET_TX_DESC_CTS2SELF(txdesc)
899 #define SET_TX_DESC_DISDATAFB_8197F(txdesc, value) \
900 SET_TX_DESC_DISDATAFB(txdesc, value)
901 #define GET_TX_DESC_DISDATAFB_8197F(txdesc) GET_TX_DESC_DISDATAFB(txdesc)
902 #define SET_TX_DESC_DISRTSFB_8197F(txdesc, value) \
903 SET_TX_DESC_DISRTSFB(txdesc, value)
904 #define GET_TX_DESC_DISRTSFB_8197F(txdesc) GET_TX_DESC_DISRTSFB(txdesc)
905 #define SET_TX_DESC_USE_RATE_8197F(txdesc, value) \
906 SET_TX_DESC_USE_RATE(txdesc, value)
907 #define GET_TX_DESC_USE_RATE_8197F(txdesc) GET_TX_DESC_USE_RATE(txdesc)
908 #define SET_TX_DESC_HW_SSN_SEL_8197F(txdesc, value) \
909 SET_TX_DESC_HW_SSN_SEL(txdesc, value)
910 #define GET_TX_DESC_HW_SSN_SEL_8197F(txdesc) GET_TX_DESC_HW_SSN_SEL(txdesc)
911 #define SET_TX_DESC_WHEADER_LEN_8197F(txdesc, value) \
912 SET_TX_DESC_WHEADER_LEN(txdesc, value)
913 #define GET_TX_DESC_WHEADER_LEN_8197F(txdesc) GET_TX_DESC_WHEADER_LEN(txdesc)
917 #define SET_TX_DESC_PCTS_MASK_IDX_8197F(txdesc, value) \
918 SET_TX_DESC_PCTS_MASK_IDX(txdesc, value)
919 #define GET_TX_DESC_PCTS_MASK_IDX_8197F(txdesc) \
920 GET_TX_DESC_PCTS_MASK_IDX(txdesc)
921 #define SET_TX_DESC_PCTS_EN_8197F(txdesc, value) \
922 SET_TX_DESC_PCTS_EN(txdesc, value)
923 #define GET_TX_DESC_PCTS_EN_8197F(txdesc) GET_TX_DESC_PCTS_EN(txdesc)
924 #define SET_TX_DESC_RTSRATE_8197F(txdesc, value) \
925 SET_TX_DESC_RTSRATE(txdesc, value)
926 #define GET_TX_DESC_RTSRATE_8197F(txdesc) GET_TX_DESC_RTSRATE(txdesc)
927 #define SET_TX_DESC_RTS_DATA_RTY_LMT_8197F(txdesc, value) \
928 SET_TX_DESC_RTS_DATA_RTY_LMT(txdesc, value)
929 #define GET_TX_DESC_RTS_DATA_RTY_LMT_8197F(txdesc) \
930 GET_TX_DESC_RTS_DATA_RTY_LMT(txdesc)
931 #define SET_TX_DESC_RTY_LMT_EN_8197F(txdesc, value) \
932 SET_TX_DESC_RTY_LMT_EN(txdesc, value)
933 #define GET_TX_DESC_RTY_LMT_EN_8197F(txdesc) GET_TX_DESC_RTY_LMT_EN(txdesc)
934 #define SET_TX_DESC_RTS_RTY_LOWEST_RATE_8197F(txdesc, value) \
935 SET_TX_DESC_RTS_RTY_LOWEST_RATE(txdesc, value)
936 #define GET_TX_DESC_RTS_RTY_LOWEST_RATE_8197F(txdesc) \
937 GET_TX_DESC_RTS_RTY_LOWEST_RATE(txdesc)
938 #define SET_TX_DESC_DATA_RTY_LOWEST_RATE_8197F(txdesc, value) \
939 SET_TX_DESC_DATA_RTY_LOWEST_RATE(txdesc, value)
940 #define GET_TX_DESC_DATA_RTY_LOWEST_RATE_8197F(txdesc) \
941 GET_TX_DESC_DATA_RTY_LOWEST_RATE(txdesc)
942 #define SET_TX_DESC_TRY_RATE_8197F(txdesc, value) \
943 SET_TX_DESC_TRY_RATE(txdesc, value)
944 #define GET_TX_DESC_TRY_RATE_8197F(txdesc) GET_TX_DESC_TRY_RATE(txdesc)
945 #define SET_TX_DESC_DATARATE_8197F(txdesc, value) \
946 SET_TX_DESC_DATARATE(txdesc, value)
947 #define GET_TX_DESC_DATARATE_8197F(txdesc) GET_TX_DESC_DATARATE(txdesc)
951 #define SET_TX_DESC_POLLUTED_8197F(txdesc, value) \
952 SET_TX_DESC_POLLUTED(txdesc, value)
953 #define GET_TX_DESC_POLLUTED_8197F(txdesc) GET_TX_DESC_POLLUTED(txdesc)
954 #define SET_TX_DESC_TXPWR_OFSET_8197F(txdesc, value) \
955 SET_TX_DESC_TXPWR_OFSET(txdesc, value)
956 #define GET_TX_DESC_TXPWR_OFSET_8197F(txdesc) GET_TX_DESC_TXPWR_OFSET(txdesc)
957 #define SET_TX_DESC_TX_ANT_8197F(txdesc, value) \
958 SET_TX_DESC_TX_ANT(txdesc, value)
959 #define GET_TX_DESC_TX_ANT_8197F(txdesc) GET_TX_DESC_TX_ANT(txdesc)
960 #define SET_TX_DESC_PORT_ID_8197F(txdesc, value) \
961 SET_TX_DESC_PORT_ID(txdesc, value)
962 #define GET_TX_DESC_PORT_ID_8197F(txdesc) GET_TX_DESC_PORT_ID(txdesc)
963 #define SET_TX_DESC_MULTIPLE_PORT_8197F(txdesc, value) \
964 SET_TX_DESC_MULTIPLE_PORT(txdesc, value)
965 #define GET_TX_DESC_MULTIPLE_PORT_8197F(txdesc) \
966 GET_TX_DESC_MULTIPLE_PORT(txdesc)
967 #define SET_TX_DESC_SIGNALING_TAPKT_EN_8197F(txdesc, value) \
968 SET_TX_DESC_SIGNALING_TAPKT_EN(txdesc, value)
969 #define GET_TX_DESC_SIGNALING_TAPKT_EN_8197F(txdesc) \
970 GET_TX_DESC_SIGNALING_TAPKT_EN(txdesc)
971 #define SET_TX_DESC_RTS_SC_8197F(txdesc, value) \
972 SET_TX_DESC_RTS_SC(txdesc, value)
973 #define GET_TX_DESC_RTS_SC_8197F(txdesc) GET_TX_DESC_RTS_SC(txdesc)
974 #define SET_TX_DESC_RTS_SHORT_8197F(txdesc, value) \
975 SET_TX_DESC_RTS_SHORT(txdesc, value)
976 #define GET_TX_DESC_RTS_SHORT_8197F(txdesc) GET_TX_DESC_RTS_SHORT(txdesc)
977 #define SET_TX_DESC_VCS_STBC_8197F(txdesc, value) \
978 SET_TX_DESC_VCS_STBC(txdesc, value)
979 #define GET_TX_DESC_VCS_STBC_8197F(txdesc) GET_TX_DESC_VCS_STBC(txdesc)
980 #define SET_TX_DESC_DATA_STBC_8197F(txdesc, value) \
981 SET_TX_DESC_DATA_STBC(txdesc, value)
982 #define GET_TX_DESC_DATA_STBC_8197F(txdesc) GET_TX_DESC_DATA_STBC(txdesc)
983 #define SET_TX_DESC_DATA_LDPC_8197F(txdesc, value) \
984 SET_TX_DESC_DATA_LDPC(txdesc, value)
985 #define GET_TX_DESC_DATA_LDPC_8197F(txdesc) GET_TX_DESC_DATA_LDPC(txdesc)
986 #define SET_TX_DESC_DATA_BW_8197F(txdesc, value) \
987 SET_TX_DESC_DATA_BW(txdesc, value)
988 #define GET_TX_DESC_DATA_BW_8197F(txdesc) GET_TX_DESC_DATA_BW(txdesc)
989 #define SET_TX_DESC_DATA_SHORT_8197F(txdesc, value) \
990 SET_TX_DESC_DATA_SHORT(txdesc, value)
991 #define GET_TX_DESC_DATA_SHORT_8197F(txdesc) GET_TX_DESC_DATA_SHORT(txdesc)
992 #define SET_TX_DESC_DATA_SC_8197F(txdesc, value) \
993 SET_TX_DESC_DATA_SC(txdesc, value)
994 #define GET_TX_DESC_DATA_SC_8197F(txdesc) GET_TX_DESC_DATA_SC(txdesc)
998 #define SET_TX_DESC_ANTSEL_D_8197F(txdesc, value) \
999 SET_TX_DESC_ANTSEL_D(txdesc, value)
1000 #define GET_TX_DESC_ANTSEL_D_8197F(txdesc) GET_TX_DESC_ANTSEL_D(txdesc)
1001 #define SET_TX_DESC_ANT_MAPD_8197F(txdesc, value) \
1002 SET_TX_DESC_ANT_MAPD(txdesc, value)
1003 #define GET_TX_DESC_ANT_MAPD_8197F(txdesc) GET_TX_DESC_ANT_MAPD(txdesc)
1004 #define SET_TX_DESC_ANT_MAPC_8197F(txdesc, value) \
1005 SET_TX_DESC_ANT_MAPC(txdesc, value)
1006 #define GET_TX_DESC_ANT_MAPC_8197F(txdesc) GET_TX_DESC_ANT_MAPC(txdesc)
1007 #define SET_TX_DESC_ANT_MAPB_8197F(txdesc, value) \
1008 SET_TX_DESC_ANT_MAPB(txdesc, value)
1009 #define GET_TX_DESC_ANT_MAPB_8197F(txdesc) GET_TX_DESC_ANT_MAPB(txdesc)
1010 #define SET_TX_DESC_ANT_MAPA_8197F(txdesc, value) \
1011 SET_TX_DESC_ANT_MAPA(txdesc, value)
1012 #define GET_TX_DESC_ANT_MAPA_8197F(txdesc) GET_TX_DESC_ANT_MAPA(txdesc)
1013 #define SET_TX_DESC_ANTSEL_C_8197F(txdesc, value) \
1014 SET_TX_DESC_ANTSEL_C(txdesc, value)
1015 #define GET_TX_DESC_ANTSEL_C_8197F(txdesc) GET_TX_DESC_ANTSEL_C(txdesc)
1016 #define SET_TX_DESC_ANTSEL_B_8197F(txdesc, value) \
1017 SET_TX_DESC_ANTSEL_B(txdesc, value)
1018 #define GET_TX_DESC_ANTSEL_B_8197F(txdesc) GET_TX_DESC_ANTSEL_B(txdesc)
1019 #define SET_TX_DESC_ANTSEL_A_8197F(txdesc, value) \
1020 SET_TX_DESC_ANTSEL_A(txdesc, value)
1021 #define GET_TX_DESC_ANTSEL_A_8197F(txdesc) GET_TX_DESC_ANTSEL_A(txdesc)
1022 #define SET_TX_DESC_MBSSID_8197F(txdesc, value) \
1023 SET_TX_DESC_MBSSID(txdesc, value)
1024 #define GET_TX_DESC_MBSSID_8197F(txdesc) GET_TX_DESC_MBSSID(txdesc)
1025 #define SET_TX_DESC_SW_DEFINE_8197F(txdesc, value) \
1026 SET_TX_DESC_SW_DEFINE(txdesc, value)
1027 #define GET_TX_DESC_SW_DEFINE_8197F(txdesc) GET_TX_DESC_SW_DEFINE(txdesc)
1031 #define SET_TX_DESC_DMA_TXAGG_NUM_8197F(txdesc, value) \
1032 SET_TX_DESC_DMA_TXAGG_NUM(txdesc, value)
1033 #define GET_TX_DESC_DMA_TXAGG_NUM_8197F(txdesc) \
1034 GET_TX_DESC_DMA_TXAGG_NUM(txdesc)
1035 #define SET_TX_DESC_FINAL_DATA_RATE_8197F(txdesc, value) \
1036 SET_TX_DESC_FINAL_DATA_RATE(txdesc, value)
1037 #define GET_TX_DESC_FINAL_DATA_RATE_8197F(txdesc) \
1038 GET_TX_DESC_FINAL_DATA_RATE(txdesc)
1039 #define SET_TX_DESC_NTX_MAP_8197F(txdesc, value) \
1040 SET_TX_DESC_NTX_MAP(txdesc, value)
1041 #define GET_TX_DESC_NTX_MAP_8197F(txdesc) GET_TX_DESC_NTX_MAP(txdesc)
1042 #define SET_TX_DESC_TX_BUFF_SIZE_8197F(txdesc, value) \
1043 SET_TX_DESC_TX_BUFF_SIZE(txdesc, value)
1044 #define GET_TX_DESC_TX_BUFF_SIZE_8197F(txdesc) GET_TX_DESC_TX_BUFF_SIZE(txdesc)
1045 #define SET_TX_DESC_TXDESC_CHECKSUM_8197F(txdesc, value) \
1046 SET_TX_DESC_TXDESC_CHECKSUM(txdesc, value)
1047 #define GET_TX_DESC_TXDESC_CHECKSUM_8197F(txdesc) \
1048 GET_TX_DESC_TXDESC_CHECKSUM(txdesc)
1049 #define SET_TX_DESC_TIMESTAMP_8197F(txdesc, value) \
1050 SET_TX_DESC_TIMESTAMP(txdesc, value)
1051 #define GET_TX_DESC_TIMESTAMP_8197F(txdesc) GET_TX_DESC_TIMESTAMP(txdesc)
1055 #define SET_TX_DESC_TXWIFI_CP_8197F(txdesc, value) \
1056 SET_TX_DESC_TXWIFI_CP(txdesc, value)
1057 #define GET_TX_DESC_TXWIFI_CP_8197F(txdesc) GET_TX_DESC_TXWIFI_CP(txdesc)
1058 #define SET_TX_DESC_MAC_CP_8197F(txdesc, value) \
1059 SET_TX_DESC_MAC_CP(txdesc, value)
1060 #define GET_TX_DESC_MAC_CP_8197F(txdesc) GET_TX_DESC_MAC_CP(txdesc)
1061 #define SET_TX_DESC_STW_PKTRE_DIS_8197F(txdesc, value) \
1062 SET_TX_DESC_STW_PKTRE_DIS(txdesc, value)
1063 #define GET_TX_DESC_STW_PKTRE_DIS_8197F(txdesc) \
1064 GET_TX_DESC_STW_PKTRE_DIS(txdesc)
1065 #define SET_TX_DESC_STW_RB_DIS_8197F(txdesc, value) \
1066 SET_TX_DESC_STW_RB_DIS(txdesc, value)
1067 #define GET_TX_DESC_STW_RB_DIS_8197F(txdesc) GET_TX_DESC_STW_RB_DIS(txdesc)
1068 #define SET_TX_DESC_STW_RATE_DIS_8197F(txdesc, value) \
1069 SET_TX_DESC_STW_RATE_DIS(txdesc, value)
1070 #define GET_TX_DESC_STW_RATE_DIS_8197F(txdesc) GET_TX_DESC_STW_RATE_DIS(txdesc)
1071 #define SET_TX_DESC_STW_ANT_DIS_8197F(txdesc, value) \
1072 SET_TX_DESC_STW_ANT_DIS(txdesc, value)
1073 #define GET_TX_DESC_STW_ANT_DIS_8197F(txdesc) GET_TX_DESC_STW_ANT_DIS(txdesc)
1074 #define SET_TX_DESC_STW_EN_8197F(txdesc, value) \
1075 SET_TX_DESC_STW_EN(txdesc, value)
1076 #define GET_TX_DESC_STW_EN_8197F(txdesc) GET_TX_DESC_STW_EN(txdesc)
1077 #define SET_TX_DESC_SMH_EN_8197F(txdesc, value) \
1078 SET_TX_DESC_SMH_EN(txdesc, value)
1079 #define GET_TX_DESC_SMH_EN_8197F(txdesc) GET_TX_DESC_SMH_EN(txdesc)
1080 #define SET_TX_DESC_TAILPAGE_L_8197F(txdesc, value) \
1081 SET_TX_DESC_TAILPAGE_L(txdesc, value)
1082 #define GET_TX_DESC_TAILPAGE_L_8197F(txdesc) GET_TX_DESC_TAILPAGE_L(txdesc)
1083 #define SET_TX_DESC_SDIO_DMASEQ_8197F(txdesc, value) \
1084 SET_TX_DESC_SDIO_DMASEQ(txdesc, value)
1085 #define GET_TX_DESC_SDIO_DMASEQ_8197F(txdesc) GET_TX_DESC_SDIO_DMASEQ(txdesc)
1086 #define SET_TX_DESC_NEXTHEADPAGE_L_8197F(txdesc, value) \
1087 SET_TX_DESC_NEXTHEADPAGE_L(txdesc, value)
1088 #define GET_TX_DESC_NEXTHEADPAGE_L_8197F(txdesc) \
1089 GET_TX_DESC_NEXTHEADPAGE_L(txdesc)
1090 #define SET_TX_DESC_EN_HWSEQ_8197F(txdesc, value) \
1091 SET_TX_DESC_EN_HWSEQ(txdesc, value)
1092 #define GET_TX_DESC_EN_HWSEQ_8197F(txdesc) GET_TX_DESC_EN_HWSEQ(txdesc)
1093 #define SET_TX_DESC_EN_HWEXSEQ_8197F(txdesc, value) \
1094 SET_TX_DESC_EN_HWEXSEQ(txdesc, value)
1095 #define GET_TX_DESC_EN_HWEXSEQ_8197F(txdesc) GET_TX_DESC_EN_HWEXSEQ(txdesc)
1096 #define SET_TX_DESC_DATA_RC_8197F(txdesc, value) \
1097 SET_TX_DESC_DATA_RC(txdesc, value)
1098 #define GET_TX_DESC_DATA_RC_8197F(txdesc) GET_TX_DESC_DATA_RC(txdesc)
1099 #define SET_TX_DESC_BAR_RTY_TH_8197F(txdesc, value) \
1100 SET_TX_DESC_BAR_RTY_TH(txdesc, value)
1101 #define GET_TX_DESC_BAR_RTY_TH_8197F(txdesc) GET_TX_DESC_BAR_RTY_TH(txdesc)
1102 #define SET_TX_DESC_RTS_RC_8197F(txdesc, value) \
1103 SET_TX_DESC_RTS_RC(txdesc, value)
1104 #define GET_TX_DESC_RTS_RC_8197F(txdesc) GET_TX_DESC_RTS_RC(txdesc)
1108 #define SET_TX_DESC_TAILPAGE_H_8197F(txdesc, value) \
1109 SET_TX_DESC_TAILPAGE_H(txdesc, value)
1110 #define GET_TX_DESC_TAILPAGE_H_8197F(txdesc) GET_TX_DESC_TAILPAGE_H(txdesc)
1111 #define SET_TX_DESC_NEXTHEADPAGE_H_8197F(txdesc, value) \
1112 SET_TX_DESC_NEXTHEADPAGE_H(txdesc, value)
1113 #define GET_TX_DESC_NEXTHEADPAGE_H_8197F(txdesc) \
1114 GET_TX_DESC_NEXTHEADPAGE_H(txdesc)
1115 #define SET_TX_DESC_SW_SEQ_8197F(txdesc, value) \
1116 SET_TX_DESC_SW_SEQ(txdesc, value)
1117 #define GET_TX_DESC_SW_SEQ_8197F(txdesc) GET_TX_DESC_SW_SEQ(txdesc)
1118 #define SET_TX_DESC_TXBF_PATH_8197F(txdesc, value) \
1119 SET_TX_DESC_TXBF_PATH(txdesc, value)
1120 #define GET_TX_DESC_TXBF_PATH_8197F(txdesc) GET_TX_DESC_TXBF_PATH(txdesc)
1121 #define SET_TX_DESC_PADDING_LEN_8197F(txdesc, value) \
1122 SET_TX_DESC_PADDING_LEN(txdesc, value)
1123 #define GET_TX_DESC_PADDING_LEN_8197F(txdesc) GET_TX_DESC_PADDING_LEN(txdesc)
1124 #define SET_TX_DESC_GROUP_BIT_IE_OFFSET_8197F(txdesc, value) \
1125 SET_TX_DESC_GROUP_BIT_IE_OFFSET(txdesc, value)
1126 #define GET_TX_DESC_GROUP_BIT_IE_OFFSET_8197F(txdesc) \
1127 GET_TX_DESC_GROUP_BIT_IE_OFFSET(txdesc)
1133 #if (HALMAC_8821C_SUPPORT)
1137 #define SET_TX_DESC_DISQSELSEQ_8821C(txdesc, value) \
1138 SET_TX_DESC_DISQSELSEQ(txdesc, value)
1139 #define GET_TX_DESC_DISQSELSEQ_8821C(txdesc) GET_TX_DESC_DISQSELSEQ(txdesc)
1140 #define SET_TX_DESC_GF_8821C(txdesc, value) SET_TX_DESC_GF(txdesc, value)
1141 #define GET_TX_DESC_GF_8821C(txdesc) GET_TX_DESC_GF(txdesc)
1142 #define SET_TX_DESC_NO_ACM_8821C(txdesc, value) \
1143 SET_TX_DESC_NO_ACM(txdesc, value)
1144 #define GET_TX_DESC_NO_ACM_8821C(txdesc) GET_TX_DESC_NO_ACM(txdesc)
1145 #define SET_TX_DESC_BCNPKT_TSF_CTRL_8821C(txdesc, value) \
1146 SET_TX_DESC_BCNPKT_TSF_CTRL(txdesc, value)
1147 #define GET_TX_DESC_BCNPKT_TSF_CTRL_8821C(txdesc) \
1148 GET_TX_DESC_BCNPKT_TSF_CTRL(txdesc)
1149 #define SET_TX_DESC_AMSDU_PAD_EN_8821C(txdesc, value) \
1150 SET_TX_DESC_AMSDU_PAD_EN(txdesc, value)
1151 #define GET_TX_DESC_AMSDU_PAD_EN_8821C(txdesc) GET_TX_DESC_AMSDU_PAD_EN(txdesc)
1152 #define SET_TX_DESC_LS_8821C(txdesc, value) SET_TX_DESC_LS(txdesc, value)
1153 #define GET_TX_DESC_LS_8821C(txdesc) GET_TX_DESC_LS(txdesc)
1154 #define SET_TX_DESC_HTC_8821C(txdesc, value) SET_TX_DESC_HTC(txdesc, value)
1155 #define GET_TX_DESC_HTC_8821C(txdesc) GET_TX_DESC_HTC(txdesc)
1156 #define SET_TX_DESC_BMC_8821C(txdesc, value) SET_TX_DESC_BMC(txdesc, value)
1157 #define GET_TX_DESC_BMC_8821C(txdesc) GET_TX_DESC_BMC(txdesc)
1158 #define SET_TX_DESC_OFFSET_8821C(txdesc, value) \
1159 SET_TX_DESC_OFFSET(txdesc, value)
1160 #define GET_TX_DESC_OFFSET_8821C(txdesc) GET_TX_DESC_OFFSET(txdesc)
1161 #define SET_TX_DESC_TXPKTSIZE_8821C(txdesc, value) \
1162 SET_TX_DESC_TXPKTSIZE(txdesc, value)
1163 #define GET_TX_DESC_TXPKTSIZE_8821C(txdesc) GET_TX_DESC_TXPKTSIZE(txdesc)
1167 #define SET_TX_DESC_MOREDATA_8821C(txdesc, value) \
1168 SET_TX_DESC_MOREDATA(txdesc, value)
1169 #define GET_TX_DESC_MOREDATA_8821C(txdesc) GET_TX_DESC_MOREDATA(txdesc)
1170 #define SET_TX_DESC_PKT_OFFSET_8821C(txdesc, value) \
1171 SET_TX_DESC_PKT_OFFSET(txdesc, value)
1172 #define GET_TX_DESC_PKT_OFFSET_8821C(txdesc) GET_TX_DESC_PKT_OFFSET(txdesc)
1173 #define SET_TX_DESC_SEC_TYPE_8821C(txdesc, value) \
1174 SET_TX_DESC_SEC_TYPE(txdesc, value)
1175 #define GET_TX_DESC_SEC_TYPE_8821C(txdesc) GET_TX_DESC_SEC_TYPE(txdesc)
1176 #define SET_TX_DESC_EN_DESC_ID_8821C(txdesc, value) \
1177 SET_TX_DESC_EN_DESC_ID(txdesc, value)
1178 #define GET_TX_DESC_EN_DESC_ID_8821C(txdesc) GET_TX_DESC_EN_DESC_ID(txdesc)
1179 #define SET_TX_DESC_RATE_ID_8821C(txdesc, value) \
1180 SET_TX_DESC_RATE_ID(txdesc, value)
1181 #define GET_TX_DESC_RATE_ID_8821C(txdesc) GET_TX_DESC_RATE_ID(txdesc)
1182 #define SET_TX_DESC_PIFS_8821C(txdesc, value) SET_TX_DESC_PIFS(txdesc, value)
1183 #define GET_TX_DESC_PIFS_8821C(txdesc) GET_TX_DESC_PIFS(txdesc)
1184 #define SET_TX_DESC_LSIG_TXOP_EN_8821C(txdesc, value) \
1185 SET_TX_DESC_LSIG_TXOP_EN(txdesc, value)
1186 #define GET_TX_DESC_LSIG_TXOP_EN_8821C(txdesc) GET_TX_DESC_LSIG_TXOP_EN(txdesc)
1187 #define SET_TX_DESC_RD_NAV_EXT_8821C(txdesc, value) \
1188 SET_TX_DESC_RD_NAV_EXT(txdesc, value)
1189 #define GET_TX_DESC_RD_NAV_EXT_8821C(txdesc) GET_TX_DESC_RD_NAV_EXT(txdesc)
1190 #define SET_TX_DESC_QSEL_8821C(txdesc, value) SET_TX_DESC_QSEL(txdesc, value)
1191 #define GET_TX_DESC_QSEL_8821C(txdesc) GET_TX_DESC_QSEL(txdesc)
1192 #define SET_TX_DESC_MACID_8821C(txdesc, value) SET_TX_DESC_MACID(txdesc, value)
1193 #define GET_TX_DESC_MACID_8821C(txdesc) GET_TX_DESC_MACID(txdesc)
1197 #define SET_TX_DESC_HW_AES_IV_8821C(txdesc, value) \
1198 SET_TX_DESC_HW_AES_IV(txdesc, value)
1199 #define GET_TX_DESC_HW_AES_IV_8821C(txdesc) GET_TX_DESC_HW_AES_IV(txdesc)
1200 #define SET_TX_DESC_FTM_EN_8821C(txdesc, value) \
1201 SET_TX_DESC_FTM_EN(txdesc, value)
1202 #define GET_TX_DESC_FTM_EN_8821C(txdesc) GET_TX_DESC_FTM_EN(txdesc)
1203 #define SET_TX_DESC_G_ID_8821C(txdesc, value) SET_TX_DESC_G_ID(txdesc, value)
1204 #define GET_TX_DESC_G_ID_8821C(txdesc) GET_TX_DESC_G_ID(txdesc)
1205 #define SET_TX_DESC_BT_NULL_8821C(txdesc, value) \
1206 SET_TX_DESC_BT_NULL(txdesc, value)
1207 #define GET_TX_DESC_BT_NULL_8821C(txdesc) GET_TX_DESC_BT_NULL(txdesc)
1208 #define SET_TX_DESC_AMPDU_DENSITY_8821C(txdesc, value) \
1209 SET_TX_DESC_AMPDU_DENSITY(txdesc, value)
1210 #define GET_TX_DESC_AMPDU_DENSITY_8821C(txdesc) \
1211 GET_TX_DESC_AMPDU_DENSITY(txdesc)
1212 #define SET_TX_DESC_SPE_RPT_8821C(txdesc, value) \
1213 SET_TX_DESC_SPE_RPT(txdesc, value)
1214 #define GET_TX_DESC_SPE_RPT_8821C(txdesc) GET_TX_DESC_SPE_RPT(txdesc)
1215 #define SET_TX_DESC_RAW_8821C(txdesc, value) SET_TX_DESC_RAW(txdesc, value)
1216 #define GET_TX_DESC_RAW_8821C(txdesc) GET_TX_DESC_RAW(txdesc)
1217 #define SET_TX_DESC_MOREFRAG_8821C(txdesc, value) \
1218 SET_TX_DESC_MOREFRAG(txdesc, value)
1219 #define GET_TX_DESC_MOREFRAG_8821C(txdesc) GET_TX_DESC_MOREFRAG(txdesc)
1220 #define SET_TX_DESC_BK_8821C(txdesc, value) SET_TX_DESC_BK(txdesc, value)
1221 #define GET_TX_DESC_BK_8821C(txdesc) GET_TX_DESC_BK(txdesc)
1222 #define SET_TX_DESC_NULL_1_8821C(txdesc, value) \
1223 SET_TX_DESC_NULL_1(txdesc, value)
1224 #define GET_TX_DESC_NULL_1_8821C(txdesc) GET_TX_DESC_NULL_1(txdesc)
1225 #define SET_TX_DESC_NULL_0_8821C(txdesc, value) \
1226 SET_TX_DESC_NULL_0(txdesc, value)
1227 #define GET_TX_DESC_NULL_0_8821C(txdesc) GET_TX_DESC_NULL_0(txdesc)
1228 #define SET_TX_DESC_RDG_EN_8821C(txdesc, value) \
1229 SET_TX_DESC_RDG_EN(txdesc, value)
1230 #define GET_TX_DESC_RDG_EN_8821C(txdesc) GET_TX_DESC_RDG_EN(txdesc)
1231 #define SET_TX_DESC_AGG_EN_8821C(txdesc, value) \
1232 SET_TX_DESC_AGG_EN(txdesc, value)
1233 #define GET_TX_DESC_AGG_EN_8821C(txdesc) GET_TX_DESC_AGG_EN(txdesc)
1234 #define SET_TX_DESC_CCA_RTS_8821C(txdesc, value) \
1235 SET_TX_DESC_CCA_RTS(txdesc, value)
1236 #define GET_TX_DESC_CCA_RTS_8821C(txdesc) GET_TX_DESC_CCA_RTS(txdesc)
1237 #define SET_TX_DESC_TRI_FRAME_8821C(txdesc, value) \
1238 SET_TX_DESC_TRI_FRAME(txdesc, value)
1239 #define GET_TX_DESC_TRI_FRAME_8821C(txdesc) GET_TX_DESC_TRI_FRAME(txdesc)
1240 #define SET_TX_DESC_P_AID_8821C(txdesc, value) SET_TX_DESC_P_AID(txdesc, value)
1241 #define GET_TX_DESC_P_AID_8821C(txdesc) GET_TX_DESC_P_AID(txdesc)
1245 #define SET_TX_DESC_AMPDU_MAX_TIME_8821C(txdesc, value) \
1246 SET_TX_DESC_AMPDU_MAX_TIME(txdesc, value)
1247 #define GET_TX_DESC_AMPDU_MAX_TIME_8821C(txdesc) \
1248 GET_TX_DESC_AMPDU_MAX_TIME(txdesc)
1249 #define SET_TX_DESC_NDPA_8821C(txdesc, value) SET_TX_DESC_NDPA(txdesc, value)
1250 #define GET_TX_DESC_NDPA_8821C(txdesc) GET_TX_DESC_NDPA(txdesc)
1251 #define SET_TX_DESC_MAX_AGG_NUM_8821C(txdesc, value) \
1252 SET_TX_DESC_MAX_AGG_NUM(txdesc, value)
1253 #define GET_TX_DESC_MAX_AGG_NUM_8821C(txdesc) GET_TX_DESC_MAX_AGG_NUM(txdesc)
1254 #define SET_TX_DESC_USE_MAX_TIME_EN_8821C(txdesc, value) \
1255 SET_TX_DESC_USE_MAX_TIME_EN(txdesc, value)
1256 #define GET_TX_DESC_USE_MAX_TIME_EN_8821C(txdesc) \
1257 GET_TX_DESC_USE_MAX_TIME_EN(txdesc)
1258 #define SET_TX_DESC_NAVUSEHDR_8821C(txdesc, value) \
1259 SET_TX_DESC_NAVUSEHDR(txdesc, value)
1260 #define GET_TX_DESC_NAVUSEHDR_8821C(txdesc) GET_TX_DESC_NAVUSEHDR(txdesc)
1261 #define SET_TX_DESC_CHK_EN_8821C(txdesc, value) \
1262 SET_TX_DESC_CHK_EN(txdesc, value)
1263 #define GET_TX_DESC_CHK_EN_8821C(txdesc) GET_TX_DESC_CHK_EN(txdesc)
1264 #define SET_TX_DESC_HW_RTS_EN_8821C(txdesc, value) \
1265 SET_TX_DESC_HW_RTS_EN(txdesc, value)
1266 #define GET_TX_DESC_HW_RTS_EN_8821C(txdesc) GET_TX_DESC_HW_RTS_EN(txdesc)
1267 #define SET_TX_DESC_RTSEN_8821C(txdesc, value) SET_TX_DESC_RTSEN(txdesc, value)
1268 #define GET_TX_DESC_RTSEN_8821C(txdesc) GET_TX_DESC_RTSEN(txdesc)
1269 #define SET_TX_DESC_CTS2SELF_8821C(txdesc, value) \
1270 SET_TX_DESC_CTS2SELF(txdesc, value)
1271 #define GET_TX_DESC_CTS2SELF_8821C(txdesc) GET_TX_DESC_CTS2SELF(txdesc)
1272 #define SET_TX_DESC_DISDATAFB_8821C(txdesc, value) \
1273 SET_TX_DESC_DISDATAFB(txdesc, value)
1274 #define GET_TX_DESC_DISDATAFB_8821C(txdesc) GET_TX_DESC_DISDATAFB(txdesc)
1275 #define SET_TX_DESC_DISRTSFB_8821C(txdesc, value) \
1276 SET_TX_DESC_DISRTSFB(txdesc, value)
1277 #define GET_TX_DESC_DISRTSFB_8821C(txdesc) GET_TX_DESC_DISRTSFB(txdesc)
1278 #define SET_TX_DESC_USE_RATE_8821C(txdesc, value) \
1279 SET_TX_DESC_USE_RATE(txdesc, value)
1280 #define GET_TX_DESC_USE_RATE_8821C(txdesc) GET_TX_DESC_USE_RATE(txdesc)
1281 #define SET_TX_DESC_HW_SSN_SEL_8821C(txdesc, value) \
1282 SET_TX_DESC_HW_SSN_SEL(txdesc, value)
1283 #define GET_TX_DESC_HW_SSN_SEL_8821C(txdesc) GET_TX_DESC_HW_SSN_SEL(txdesc)
1284 #define SET_TX_DESC_WHEADER_LEN_8821C(txdesc, value) \
1285 SET_TX_DESC_WHEADER_LEN(txdesc, value)
1286 #define GET_TX_DESC_WHEADER_LEN_8821C(txdesc) GET_TX_DESC_WHEADER_LEN(txdesc)
1290 #define SET_TX_DESC_PCTS_MASK_IDX_8821C(txdesc, value) \
1291 SET_TX_DESC_PCTS_MASK_IDX(txdesc, value)
1292 #define GET_TX_DESC_PCTS_MASK_IDX_8821C(txdesc) \
1293 GET_TX_DESC_PCTS_MASK_IDX(txdesc)
1294 #define SET_TX_DESC_PCTS_EN_8821C(txdesc, value) \
1295 SET_TX_DESC_PCTS_EN(txdesc, value)
1296 #define GET_TX_DESC_PCTS_EN_8821C(txdesc) GET_TX_DESC_PCTS_EN(txdesc)
1297 #define SET_TX_DESC_RTSRATE_8821C(txdesc, value) \
1298 SET_TX_DESC_RTSRATE(txdesc, value)
1299 #define GET_TX_DESC_RTSRATE_8821C(txdesc) GET_TX_DESC_RTSRATE(txdesc)
1300 #define SET_TX_DESC_RTS_DATA_RTY_LMT_8821C(txdesc, value) \
1301 SET_TX_DESC_RTS_DATA_RTY_LMT(txdesc, value)
1302 #define GET_TX_DESC_RTS_DATA_RTY_LMT_8821C(txdesc) \
1303 GET_TX_DESC_RTS_DATA_RTY_LMT(txdesc)
1304 #define SET_TX_DESC_RTY_LMT_EN_8821C(txdesc, value) \
1305 SET_TX_DESC_RTY_LMT_EN(txdesc, value)
1306 #define GET_TX_DESC_RTY_LMT_EN_8821C(txdesc) GET_TX_DESC_RTY_LMT_EN(txdesc)
1307 #define SET_TX_DESC_RTS_RTY_LOWEST_RATE_8821C(txdesc, value) \
1308 SET_TX_DESC_RTS_RTY_LOWEST_RATE(txdesc, value)
1309 #define GET_TX_DESC_RTS_RTY_LOWEST_RATE_8821C(txdesc) \
1310 GET_TX_DESC_RTS_RTY_LOWEST_RATE(txdesc)
1311 #define SET_TX_DESC_DATA_RTY_LOWEST_RATE_8821C(txdesc, value) \
1312 SET_TX_DESC_DATA_RTY_LOWEST_RATE(txdesc, value)
1313 #define GET_TX_DESC_DATA_RTY_LOWEST_RATE_8821C(txdesc) \
1314 GET_TX_DESC_DATA_RTY_LOWEST_RATE(txdesc)
1315 #define SET_TX_DESC_TRY_RATE_8821C(txdesc, value) \
1316 SET_TX_DESC_TRY_RATE(txdesc, value)
1317 #define GET_TX_DESC_TRY_RATE_8821C(txdesc) GET_TX_DESC_TRY_RATE(txdesc)
1318 #define SET_TX_DESC_DATARATE_8821C(txdesc, value) \
1319 SET_TX_DESC_DATARATE(txdesc, value)
1320 #define GET_TX_DESC_DATARATE_8821C(txdesc) GET_TX_DESC_DATARATE(txdesc)
1324 #define SET_TX_DESC_POLLUTED_8821C(txdesc, value) \
1325 SET_TX_DESC_POLLUTED(txdesc, value)
1326 #define GET_TX_DESC_POLLUTED_8821C(txdesc) GET_TX_DESC_POLLUTED(txdesc)
1327 #define SET_TX_DESC_TXPWR_OFSET_8821C(txdesc, value) \
1328 SET_TX_DESC_TXPWR_OFSET(txdesc, value)
1329 #define GET_TX_DESC_TXPWR_OFSET_8821C(txdesc) GET_TX_DESC_TXPWR_OFSET(txdesc)
1330 #define SET_TX_DESC_TX_ANT_8821C(txdesc, value) \
1331 SET_TX_DESC_TX_ANT(txdesc, value)
1332 #define GET_TX_DESC_TX_ANT_8821C(txdesc) GET_TX_DESC_TX_ANT(txdesc)
1333 #define SET_TX_DESC_PORT_ID_8821C(txdesc, value) \
1334 SET_TX_DESC_PORT_ID(txdesc, value)
1335 #define GET_TX_DESC_PORT_ID_8821C(txdesc) GET_TX_DESC_PORT_ID(txdesc)
1336 #define SET_TX_DESC_MULTIPLE_PORT_8821C(txdesc, value) \
1337 SET_TX_DESC_MULTIPLE_PORT(txdesc, value)
1338 #define GET_TX_DESC_MULTIPLE_PORT_8821C(txdesc) \
1339 GET_TX_DESC_MULTIPLE_PORT(txdesc)
1340 #define SET_TX_DESC_SIGNALING_TAPKT_EN_8821C(txdesc, value) \
1341 SET_TX_DESC_SIGNALING_TAPKT_EN(txdesc, value)
1342 #define GET_TX_DESC_SIGNALING_TAPKT_EN_8821C(txdesc) \
1343 GET_TX_DESC_SIGNALING_TAPKT_EN(txdesc)
1344 #define SET_TX_DESC_SIGNALING_TA_PKT_SC_8821C(txdesc, value) \
1345 SET_TX_DESC_SIGNALING_TA_PKT_SC(txdesc, value)
1346 #define GET_TX_DESC_SIGNALING_TA_PKT_SC_8821C(txdesc) \
1347 GET_TX_DESC_SIGNALING_TA_PKT_SC(txdesc)
1348 #define SET_TX_DESC_RTS_SHORT_8821C(txdesc, value) \
1349 SET_TX_DESC_RTS_SHORT(txdesc, value)
1350 #define GET_TX_DESC_RTS_SHORT_8821C(txdesc) GET_TX_DESC_RTS_SHORT(txdesc)
1351 #define SET_TX_DESC_VCS_STBC_8821C(txdesc, value) \
1352 SET_TX_DESC_VCS_STBC(txdesc, value)
1353 #define GET_TX_DESC_VCS_STBC_8821C(txdesc) GET_TX_DESC_VCS_STBC(txdesc)
1354 #define SET_TX_DESC_DATA_STBC_8821C(txdesc, value) \
1355 SET_TX_DESC_DATA_STBC(txdesc, value)
1356 #define GET_TX_DESC_DATA_STBC_8821C(txdesc) GET_TX_DESC_DATA_STBC(txdesc)
1357 #define SET_TX_DESC_DATA_LDPC_8821C(txdesc, value) \
1358 SET_TX_DESC_DATA_LDPC(txdesc, value)
1359 #define GET_TX_DESC_DATA_LDPC_8821C(txdesc) GET_TX_DESC_DATA_LDPC(txdesc)
1360 #define SET_TX_DESC_DATA_BW_8821C(txdesc, value) \
1361 SET_TX_DESC_DATA_BW(txdesc, value)
1362 #define GET_TX_DESC_DATA_BW_8821C(txdesc) GET_TX_DESC_DATA_BW(txdesc)
1363 #define SET_TX_DESC_DATA_SHORT_8821C(txdesc, value) \
1364 SET_TX_DESC_DATA_SHORT(txdesc, value)
1365 #define GET_TX_DESC_DATA_SHORT_8821C(txdesc) GET_TX_DESC_DATA_SHORT(txdesc)
1366 #define SET_TX_DESC_DATA_SC_8821C(txdesc, value) \
1367 SET_TX_DESC_DATA_SC(txdesc, value)
1368 #define GET_TX_DESC_DATA_SC_8821C(txdesc) GET_TX_DESC_DATA_SC(txdesc)
1372 #define SET_TX_DESC_ANTSEL_D_8821C(txdesc, value) \
1373 SET_TX_DESC_ANTSEL_D(txdesc, value)
1374 #define GET_TX_DESC_ANTSEL_D_8821C(txdesc) GET_TX_DESC_ANTSEL_D(txdesc)
1375 #define SET_TX_DESC_ANT_MAPD_8821C(txdesc, value) \
1376 SET_TX_DESC_ANT_MAPD(txdesc, value)
1377 #define GET_TX_DESC_ANT_MAPD_8821C(txdesc) GET_TX_DESC_ANT_MAPD(txdesc)
1378 #define SET_TX_DESC_ANT_MAPC_8821C(txdesc, value) \
1379 SET_TX_DESC_ANT_MAPC(txdesc, value)
1380 #define GET_TX_DESC_ANT_MAPC_8821C(txdesc) GET_TX_DESC_ANT_MAPC(txdesc)
1381 #define SET_TX_DESC_ANT_MAPB_8821C(txdesc, value) \
1382 SET_TX_DESC_ANT_MAPB(txdesc, value)
1383 #define GET_TX_DESC_ANT_MAPB_8821C(txdesc) GET_TX_DESC_ANT_MAPB(txdesc)
1384 #define SET_TX_DESC_ANT_MAPA_8821C(txdesc, value) \
1385 SET_TX_DESC_ANT_MAPA(txdesc, value)
1386 #define GET_TX_DESC_ANT_MAPA_8821C(txdesc) GET_TX_DESC_ANT_MAPA(txdesc)
1387 #define SET_TX_DESC_ANTSEL_C_8821C(txdesc, value) \
1388 SET_TX_DESC_ANTSEL_C(txdesc, value)
1389 #define GET_TX_DESC_ANTSEL_C_8821C(txdesc) GET_TX_DESC_ANTSEL_C(txdesc)
1390 #define SET_TX_DESC_ANTSEL_B_8821C(txdesc, value) \
1391 SET_TX_DESC_ANTSEL_B(txdesc, value)
1392 #define GET_TX_DESC_ANTSEL_B_8821C(txdesc) GET_TX_DESC_ANTSEL_B(txdesc)
1393 #define SET_TX_DESC_ANTSEL_A_8821C(txdesc, value) \
1394 SET_TX_DESC_ANTSEL_A(txdesc, value)
1395 #define GET_TX_DESC_ANTSEL_A_8821C(txdesc) GET_TX_DESC_ANTSEL_A(txdesc)
1396 #define SET_TX_DESC_MBSSID_8821C(txdesc, value) \
1397 SET_TX_DESC_MBSSID(txdesc, value)
1398 #define GET_TX_DESC_MBSSID_8821C(txdesc) GET_TX_DESC_MBSSID(txdesc)
1399 #define SET_TX_DESC_SW_DEFINE_8821C(txdesc, value) \
1400 SET_TX_DESC_SW_DEFINE(txdesc, value)
1401 #define GET_TX_DESC_SW_DEFINE_8821C(txdesc) GET_TX_DESC_SW_DEFINE(txdesc)
1405 #define SET_TX_DESC_DMA_TXAGG_NUM_8821C(txdesc, value) \
1406 SET_TX_DESC_DMA_TXAGG_NUM(txdesc, value)
1407 #define GET_TX_DESC_DMA_TXAGG_NUM_8821C(txdesc) \
1408 GET_TX_DESC_DMA_TXAGG_NUM(txdesc)
1409 #define SET_TX_DESC_FINAL_DATA_RATE_8821C(txdesc, value) \
1410 SET_TX_DESC_FINAL_DATA_RATE(txdesc, value)
1411 #define GET_TX_DESC_FINAL_DATA_RATE_8821C(txdesc) \
1412 GET_TX_DESC_FINAL_DATA_RATE(txdesc)
1413 #define SET_TX_DESC_NTX_MAP_8821C(txdesc, value) \
1414 SET_TX_DESC_NTX_MAP(txdesc, value)
1415 #define GET_TX_DESC_NTX_MAP_8821C(txdesc) GET_TX_DESC_NTX_MAP(txdesc)
1416 #define SET_TX_DESC_TX_BUFF_SIZE_8821C(txdesc, value) \
1417 SET_TX_DESC_TX_BUFF_SIZE(txdesc, value)
1418 #define GET_TX_DESC_TX_BUFF_SIZE_8821C(txdesc) GET_TX_DESC_TX_BUFF_SIZE(txdesc)
1419 #define SET_TX_DESC_TXDESC_CHECKSUM_8821C(txdesc, value) \
1420 SET_TX_DESC_TXDESC_CHECKSUM(txdesc, value)
1421 #define GET_TX_DESC_TXDESC_CHECKSUM_8821C(txdesc) \
1422 GET_TX_DESC_TXDESC_CHECKSUM(txdesc)
1423 #define SET_TX_DESC_TIMESTAMP_8821C(txdesc, value) \
1424 SET_TX_DESC_TIMESTAMP(txdesc, value)
1425 #define GET_TX_DESC_TIMESTAMP_8821C(txdesc) GET_TX_DESC_TIMESTAMP(txdesc)
1429 #define SET_TX_DESC_TXWIFI_CP_8821C(txdesc, value) \
1430 SET_TX_DESC_TXWIFI_CP(txdesc, value)
1431 #define GET_TX_DESC_TXWIFI_CP_8821C(txdesc) GET_TX_DESC_TXWIFI_CP(txdesc)
1432 #define SET_TX_DESC_MAC_CP_8821C(txdesc, value) \
1433 SET_TX_DESC_MAC_CP(txdesc, value)
1434 #define GET_TX_DESC_MAC_CP_8821C(txdesc) GET_TX_DESC_MAC_CP(txdesc)
1435 #define SET_TX_DESC_STW_PKTRE_DIS_8821C(txdesc, value) \
1436 SET_TX_DESC_STW_PKTRE_DIS(txdesc, value)
1437 #define GET_TX_DESC_STW_PKTRE_DIS_8821C(txdesc) \
1438 GET_TX_DESC_STW_PKTRE_DIS(txdesc)
1439 #define SET_TX_DESC_STW_RB_DIS_8821C(txdesc, value) \
1440 SET_TX_DESC_STW_RB_DIS(txdesc, value)
1441 #define GET_TX_DESC_STW_RB_DIS_8821C(txdesc) GET_TX_DESC_STW_RB_DIS(txdesc)
1442 #define SET_TX_DESC_STW_RATE_DIS_8821C(txdesc, value) \
1443 SET_TX_DESC_STW_RATE_DIS(txdesc, value)
1444 #define GET_TX_DESC_STW_RATE_DIS_8821C(txdesc) GET_TX_DESC_STW_RATE_DIS(txdesc)
1445 #define SET_TX_DESC_STW_ANT_DIS_8821C(txdesc, value) \
1446 SET_TX_DESC_STW_ANT_DIS(txdesc, value)
1447 #define GET_TX_DESC_STW_ANT_DIS_8821C(txdesc) GET_TX_DESC_STW_ANT_DIS(txdesc)
1448 #define SET_TX_DESC_STW_EN_8821C(txdesc, value) \
1449 SET_TX_DESC_STW_EN(txdesc, value)
1450 #define GET_TX_DESC_STW_EN_8821C(txdesc) GET_TX_DESC_STW_EN(txdesc)
1451 #define SET_TX_DESC_SMH_EN_8821C(txdesc, value) \
1452 SET_TX_DESC_SMH_EN(txdesc, value)
1453 #define GET_TX_DESC_SMH_EN_8821C(txdesc) GET_TX_DESC_SMH_EN(txdesc)
1454 #define SET_TX_DESC_TAILPAGE_L_8821C(txdesc, value) \
1455 SET_TX_DESC_TAILPAGE_L(txdesc, value)
1456 #define GET_TX_DESC_TAILPAGE_L_8821C(txdesc) GET_TX_DESC_TAILPAGE_L(txdesc)
1457 #define SET_TX_DESC_SDIO_DMASEQ_8821C(txdesc, value) \
1458 SET_TX_DESC_SDIO_DMASEQ(txdesc, value)
1459 #define GET_TX_DESC_SDIO_DMASEQ_8821C(txdesc) GET_TX_DESC_SDIO_DMASEQ(txdesc)
1460 #define SET_TX_DESC_NEXTHEADPAGE_L_8821C(txdesc, value) \
1461 SET_TX_DESC_NEXTHEADPAGE_L(txdesc, value)
1462 #define GET_TX_DESC_NEXTHEADPAGE_L_8821C(txdesc) \
1463 GET_TX_DESC_NEXTHEADPAGE_L(txdesc)
1464 #define SET_TX_DESC_EN_HWSEQ_8821C(txdesc, value) \
1465 SET_TX_DESC_EN_HWSEQ(txdesc, value)
1466 #define GET_TX_DESC_EN_HWSEQ_8821C(txdesc) GET_TX_DESC_EN_HWSEQ(txdesc)
1467 #define SET_TX_DESC_EN_HWEXSEQ_8821C(txdesc, value) \
1468 SET_TX_DESC_EN_HWEXSEQ(txdesc, value)
1469 #define GET_TX_DESC_EN_HWEXSEQ_8821C(txdesc) GET_TX_DESC_EN_HWEXSEQ(txdesc)
1470 #define SET_TX_DESC_DATA_RC_8821C(txdesc, value) \
1471 SET_TX_DESC_DATA_RC(txdesc, value)
1472 #define GET_TX_DESC_DATA_RC_8821C(txdesc) GET_TX_DESC_DATA_RC(txdesc)
1473 #define SET_TX_DESC_BAR_RTY_TH_8821C(txdesc, value) \
1474 SET_TX_DESC_BAR_RTY_TH(txdesc, value)
1475 #define GET_TX_DESC_BAR_RTY_TH_8821C(txdesc) GET_TX_DESC_BAR_RTY_TH(txdesc)
1476 #define SET_TX_DESC_RTS_RC_8821C(txdesc, value) \
1477 SET_TX_DESC_RTS_RC(txdesc, value)
1478 #define GET_TX_DESC_RTS_RC_8821C(txdesc) GET_TX_DESC_RTS_RC(txdesc)
1482 #define SET_TX_DESC_TAILPAGE_H_8821C(txdesc, value) \
1483 SET_TX_DESC_TAILPAGE_H(txdesc, value)
1484 #define GET_TX_DESC_TAILPAGE_H_8821C(txdesc) GET_TX_DESC_TAILPAGE_H(txdesc)
1485 #define SET_TX_DESC_NEXTHEADPAGE_H_8821C(txdesc, value) \
1486 SET_TX_DESC_NEXTHEADPAGE_H(txdesc, value)
1487 #define GET_TX_DESC_NEXTHEADPAGE_H_8821C(txdesc) \
1488 GET_TX_DESC_NEXTHEADPAGE_H(txdesc)
1489 #define SET_TX_DESC_SW_SEQ_8821C(txdesc, value) \
1490 SET_TX_DESC_SW_SEQ(txdesc, value)
1491 #define GET_TX_DESC_SW_SEQ_8821C(txdesc) GET_TX_DESC_SW_SEQ(txdesc)
1492 #define SET_TX_DESC_TXBF_PATH_8821C(txdesc, value) \
1493 SET_TX_DESC_TXBF_PATH(txdesc, value)
1494 #define GET_TX_DESC_TXBF_PATH_8821C(txdesc) GET_TX_DESC_TXBF_PATH(txdesc)
1495 #define SET_TX_DESC_PADDING_LEN_8821C(txdesc, value) \
1496 SET_TX_DESC_PADDING_LEN(txdesc, value)
1497 #define GET_TX_DESC_PADDING_LEN_8821C(txdesc) GET_TX_DESC_PADDING_LEN(txdesc)
1498 #define SET_TX_DESC_GROUP_BIT_IE_OFFSET_8821C(txdesc, value) \
1499 SET_TX_DESC_GROUP_BIT_IE_OFFSET(txdesc, value)
1500 #define GET_TX_DESC_GROUP_BIT_IE_OFFSET_8821C(txdesc) \
1501 GET_TX_DESC_GROUP_BIT_IE_OFFSET(txdesc)
1505 #define SET_TX_DESC_MU_DATARATE_8821C(txdesc, value) \
1506 SET_TX_DESC_MU_DATARATE(txdesc, value)
1507 #define GET_TX_DESC_MU_DATARATE_8821C(txdesc) GET_TX_DESC_MU_DATARATE(txdesc)
1508 #define SET_TX_DESC_MU_RC_8821C(txdesc, value) SET_TX_DESC_MU_RC(txdesc, value)
1509 #define GET_TX_DESC_MU_RC_8821C(txdesc) GET_TX_DESC_MU_RC(txdesc)
1510 #define SET_TX_DESC_SND_PKT_SEL_8821C(txdesc, value) \
1511 SET_TX_DESC_SND_PKT_SEL(txdesc, value)
1512 #define GET_TX_DESC_SND_PKT_SEL_8821C(txdesc) GET_TX_DESC_SND_PKT_SEL(txdesc)
1516 #if (HALMAC_8814B_SUPPORT)
1520 #define SET_TX_DESC_IE_END_BODY_8814B(txdesc, value) \
1521 SET_TX_DESC_IE_END_BODY(txdesc, value)
1522 #define GET_TX_DESC_IE_END_BODY_8814B(txdesc) GET_TX_DESC_IE_END_BODY(txdesc)
1523 #define SET_TX_DESC_AGG_EN_8814B(txdesc, value) \
1524 SET_TX_DESC_AGG_EN_V1(txdesc, value)
1525 #define GET_TX_DESC_AGG_EN_8814B(txdesc) GET_TX_DESC_AGG_EN_V1(txdesc)
1526 #define SET_TX_DESC_BK_8814B(txdesc, value) SET_TX_DESC_BK_V1(txdesc, value)
1527 #define GET_TX_DESC_BK_8814B(txdesc) GET_TX_DESC_BK_V1(txdesc)
1528 #define SET_TX_DESC_PKT_OFFSET_8814B(txdesc, value) \
1529 SET_TX_DESC_PKT_OFFSET_V1(txdesc, value)
1530 #define GET_TX_DESC_PKT_OFFSET_8814B(txdesc) GET_TX_DESC_PKT_OFFSET_V1(txdesc)
1531 #define SET_TX_DESC_OFFSET_8814B(txdesc, value) \
1532 SET_TX_DESC_OFFSET(txdesc, value)
1533 #define GET_TX_DESC_OFFSET_8814B(txdesc) GET_TX_DESC_OFFSET(txdesc)
1534 #define SET_TX_DESC_TXPKTSIZE_8814B(txdesc, value) \
1535 SET_TX_DESC_TXPKTSIZE(txdesc, value)
1536 #define GET_TX_DESC_TXPKTSIZE_8814B(txdesc) GET_TX_DESC_TXPKTSIZE(txdesc)
1540 #define SET_TX_DESC_AMSDU_8814B(txdesc, value) SET_TX_DESC_AMSDU(txdesc, value)
1541 #define GET_TX_DESC_AMSDU_8814B(txdesc) GET_TX_DESC_AMSDU(txdesc)
1542 #define SET_TX_DESC_HW_AES_IV_8814B(txdesc, value) \
1543 SET_TX_DESC_HW_AES_IV_V1(txdesc, value)
1544 #define GET_TX_DESC_HW_AES_IV_8814B(txdesc) GET_TX_DESC_HW_AES_IV_V1(txdesc)
1545 #define SET_TX_DESC_MHR_CP_8814B(txdesc, value) \
1546 SET_TX_DESC_MHR_CP(txdesc, value)
1547 #define GET_TX_DESC_MHR_CP_8814B(txdesc) GET_TX_DESC_MHR_CP(txdesc)
1548 #define SET_TX_DESC_SMH_EN_8814B(txdesc, value) \
1549 SET_TX_DESC_SMH_EN_V1(txdesc, value)
1550 #define GET_TX_DESC_SMH_EN_8814B(txdesc) GET_TX_DESC_SMH_EN_V1(txdesc)
1551 #define SET_TX_DESC_SMH_CAM_8814B(txdesc, value) \
1552 SET_TX_DESC_SMH_CAM(txdesc, value)
1553 #define GET_TX_DESC_SMH_CAM_8814B(txdesc) GET_TX_DESC_SMH_CAM(txdesc)
1554 #define SET_TX_DESC_EXT_EDCA_8814B(txdesc, value) \
1555 SET_TX_DESC_EXT_EDCA(txdesc, value)
1556 #define GET_TX_DESC_EXT_EDCA_8814B(txdesc) GET_TX_DESC_EXT_EDCA(txdesc)
1557 #define SET_TX_DESC_QSEL_8814B(txdesc, value) SET_TX_DESC_QSEL(txdesc, value)
1558 #define GET_TX_DESC_QSEL_8814B(txdesc) GET_TX_DESC_QSEL(txdesc)
1559 #define SET_TX_DESC_MACID_8814B(txdesc, value) \
1560 SET_TX_DESC_MACID_V1(txdesc, value)
1561 #define GET_TX_DESC_MACID_8814B(txdesc) GET_TX_DESC_MACID_V1(txdesc)
1565 #define SET_TX_DESC_CHK_EN_8814B(txdesc, value) \
1566 SET_TX_DESC_CHK_EN_V1(txdesc, value)
1567 #define GET_TX_DESC_CHK_EN_8814B(txdesc) GET_TX_DESC_CHK_EN_V1(txdesc)
1568 #define SET_TX_DESC_DMA_PRI_8814B(txdesc, value) \
1569 SET_TX_DESC_DMA_PRI(txdesc, value)
1570 #define GET_TX_DESC_DMA_PRI_8814B(txdesc) GET_TX_DESC_DMA_PRI(txdesc)
1571 #define SET_TX_DESC_MAX_AMSDU_MODE_8814B(txdesc, value) \
1572 SET_TX_DESC_MAX_AMSDU_MODE(txdesc, value)
1573 #define GET_TX_DESC_MAX_AMSDU_MODE_8814B(txdesc) \
1574 GET_TX_DESC_MAX_AMSDU_MODE(txdesc)
1575 #define SET_TX_DESC_DMA_TXAGG_NUM_8814B(txdesc, value) \
1576 SET_TX_DESC_DMA_TXAGG_NUM_V1(txdesc, value)
1577 #define GET_TX_DESC_DMA_TXAGG_NUM_8814B(txdesc) \
1578 GET_TX_DESC_DMA_TXAGG_NUM_V1(txdesc)
1579 #define SET_TX_DESC_TXDESC_CHECKSUM_8814B(txdesc, value) \
1580 SET_TX_DESC_TXDESC_CHECKSUM_V1(txdesc, value)
1581 #define GET_TX_DESC_TXDESC_CHECKSUM_8814B(txdesc) \
1582 GET_TX_DESC_TXDESC_CHECKSUM_V1(txdesc)
1586 #define SET_TX_DESC_OFFLOAD_SIZE_8814B(txdesc, value) \
1587 SET_TX_DESC_OFFLOAD_SIZE(txdesc, value)
1588 #define GET_TX_DESC_OFFLOAD_SIZE_8814B(txdesc) GET_TX_DESC_OFFLOAD_SIZE(txdesc)
1589 #define SET_TX_DESC_CHANNEL_DMA_8814B(txdesc, value) \
1590 SET_TX_DESC_CHANNEL_DMA(txdesc, value)
1591 #define GET_TX_DESC_CHANNEL_DMA_8814B(txdesc) GET_TX_DESC_CHANNEL_DMA(txdesc)
1592 #define SET_TX_DESC_IE_CNT_8814B(txdesc, value) \
1593 SET_TX_DESC_IE_CNT(txdesc, value)
1594 #define GET_TX_DESC_IE_CNT_8814B(txdesc) GET_TX_DESC_IE_CNT(txdesc)
1595 #define SET_TX_DESC_IE_CNT_EN_8814B(txdesc, value) \
1596 SET_TX_DESC_IE_CNT_EN(txdesc, value)
1597 #define GET_TX_DESC_IE_CNT_EN_8814B(txdesc) GET_TX_DESC_IE_CNT_EN(txdesc)
1598 #define SET_TX_DESC_WHEADER_LEN_8814B(txdesc, value) \
1599 SET_TX_DESC_WHEADER_LEN_V1(txdesc, value)
1600 #define GET_TX_DESC_WHEADER_LEN_8814B(txdesc) GET_TX_DESC_WHEADER_LEN_V1(txdesc)
1618 #if (HALMAC_8198F_SUPPORT)
1622 #define SET_TX_DESC_DISQSELSEQ_8198F(txdesc, value) \
1623 SET_TX_DESC_DISQSELSEQ(txdesc, value)
1624 #define GET_TX_DESC_DISQSELSEQ_8198F(txdesc) GET_TX_DESC_DISQSELSEQ(txdesc)
1625 #define SET_TX_DESC_GF_8198F(txdesc, value) SET_TX_DESC_GF(txdesc, value)
1626 #define GET_TX_DESC_GF_8198F(txdesc) GET_TX_DESC_GF(txdesc)
1627 #define SET_TX_DESC_NO_ACM_8198F(txdesc, value) \
1628 SET_TX_DESC_NO_ACM(txdesc, value)
1629 #define GET_TX_DESC_NO_ACM_8198F(txdesc) GET_TX_DESC_NO_ACM(txdesc)
1630 #define SET_TX_DESC_BCNPKT_TSF_CTRL_8198F(txdesc, value) \
1631 SET_TX_DESC_BCNPKT_TSF_CTRL(txdesc, value)
1632 #define GET_TX_DESC_BCNPKT_TSF_CTRL_8198F(txdesc) \
1633 GET_TX_DESC_BCNPKT_TSF_CTRL(txdesc)
1634 #define SET_TX_DESC_AMSDU_PAD_EN_8198F(txdesc, value) \
1635 SET_TX_DESC_AMSDU_PAD_EN(txdesc, value)
1636 #define GET_TX_DESC_AMSDU_PAD_EN_8198F(txdesc) GET_TX_DESC_AMSDU_PAD_EN(txdesc)
1637 #define SET_TX_DESC_LS_8198F(txdesc, value) SET_TX_DESC_LS(txdesc, value)
1638 #define GET_TX_DESC_LS_8198F(txdesc) GET_TX_DESC_LS(txdesc)
1639 #define SET_TX_DESC_HTC_8198F(txdesc, value) SET_TX_DESC_HTC(txdesc, value)
1640 #define GET_TX_DESC_HTC_8198F(txdesc) GET_TX_DESC_HTC(txdesc)
1641 #define SET_TX_DESC_BMC_8198F(txdesc, value) SET_TX_DESC_BMC(txdesc, value)
1642 #define GET_TX_DESC_BMC_8198F(txdesc) GET_TX_DESC_BMC(txdesc)
1643 #define SET_TX_DESC_OFFSET_8198F(txdesc, value) \
1644 SET_TX_DESC_OFFSET(txdesc, value)
1645 #define GET_TX_DESC_OFFSET_8198F(txdesc) GET_TX_DESC_OFFSET(txdesc)
1646 #define SET_TX_DESC_TXPKTSIZE_8198F(txdesc, value) \
1647 SET_TX_DESC_TXPKTSIZE(txdesc, value)
1648 #define GET_TX_DESC_TXPKTSIZE_8198F(txdesc) GET_TX_DESC_TXPKTSIZE(txdesc)
1652 #define SET_TX_DESC_HW_AES_IV_8198F(txdesc, value) \
1653 SET_TX_DESC_HW_AES_IV_V2(txdesc, value)
1654 #define GET_TX_DESC_HW_AES_IV_8198F(txdesc) GET_TX_DESC_HW_AES_IV_V2(txdesc)
1655 #define SET_TX_DESC_FTM_EN_8198F(txdesc, value) \
1656 SET_TX_DESC_FTM_EN_V1(txdesc, value)
1657 #define GET_TX_DESC_FTM_EN_8198F(txdesc) GET_TX_DESC_FTM_EN_V1(txdesc)
1658 #define SET_TX_DESC_MOREDATA_8198F(txdesc, value) \
1659 SET_TX_DESC_MOREDATA(txdesc, value)
1660 #define GET_TX_DESC_MOREDATA_8198F(txdesc) GET_TX_DESC_MOREDATA(txdesc)
1661 #define SET_TX_DESC_PKT_OFFSET_8198F(txdesc, value) \
1662 SET_TX_DESC_PKT_OFFSET(txdesc, value)
1663 #define GET_TX_DESC_PKT_OFFSET_8198F(txdesc) GET_TX_DESC_PKT_OFFSET(txdesc)
1664 #define SET_TX_DESC_SEC_TYPE_8198F(txdesc, value) \
1665 SET_TX_DESC_SEC_TYPE(txdesc, value)
1666 #define GET_TX_DESC_SEC_TYPE_8198F(txdesc) GET_TX_DESC_SEC_TYPE(txdesc)
1667 #define SET_TX_DESC_EN_DESC_ID_8198F(txdesc, value) \
1668 SET_TX_DESC_EN_DESC_ID(txdesc, value)
1669 #define GET_TX_DESC_EN_DESC_ID_8198F(txdesc) GET_TX_DESC_EN_DESC_ID(txdesc)
1670 #define SET_TX_DESC_RATE_ID_8198F(txdesc, value) \
1671 SET_TX_DESC_RATE_ID(txdesc, value)
1672 #define GET_TX_DESC_RATE_ID_8198F(txdesc) GET_TX_DESC_RATE_ID(txdesc)
1673 #define SET_TX_DESC_PIFS_8198F(txdesc, value) SET_TX_DESC_PIFS(txdesc, value)
1674 #define GET_TX_DESC_PIFS_8198F(txdesc) GET_TX_DESC_PIFS(txdesc)
1675 #define SET_TX_DESC_LSIG_TXOP_EN_8198F(txdesc, value) \
1676 SET_TX_DESC_LSIG_TXOP_EN(txdesc, value)
1677 #define GET_TX_DESC_LSIG_TXOP_EN_8198F(txdesc) GET_TX_DESC_LSIG_TXOP_EN(txdesc)
1678 #define SET_TX_DESC_RD_NAV_EXT_8198F(txdesc, value) \
1679 SET_TX_DESC_RD_NAV_EXT(txdesc, value)
1680 #define GET_TX_DESC_RD_NAV_EXT_8198F(txdesc) GET_TX_DESC_RD_NAV_EXT(txdesc)
1681 #define SET_TX_DESC_QSEL_8198F(txdesc, value) SET_TX_DESC_QSEL(txdesc, value)
1682 #define GET_TX_DESC_QSEL_8198F(txdesc) GET_TX_DESC_QSEL(txdesc)
1683 #define SET_TX_DESC_SPECIAL_CW_8198F(txdesc, value) \
1684 SET_TX_DESC_SPECIAL_CW(txdesc, value)
1685 #define GET_TX_DESC_SPECIAL_CW_8198F(txdesc) GET_TX_DESC_SPECIAL_CW(txdesc)
1686 #define SET_TX_DESC_MACID_8198F(txdesc, value) SET_TX_DESC_MACID(txdesc, value)
1687 #define GET_TX_DESC_MACID_8198F(txdesc) GET_TX_DESC_MACID(txdesc)
1691 #define SET_TX_DESC_ANTCEL_D_8198F(txdesc, value) \
1692 SET_TX_DESC_ANTCEL_D_V1(txdesc, value)
1693 #define GET_TX_DESC_ANTCEL_D_8198F(txdesc) GET_TX_DESC_ANTCEL_D_V1(txdesc)
1694 #define SET_TX_DESC_ANTSEL_C_8198F(txdesc, value) \
1695 SET_TX_DESC_ANTSEL_C_V1(txdesc, value)
1696 #define GET_TX_DESC_ANTSEL_C_8198F(txdesc) GET_TX_DESC_ANTSEL_C_V1(txdesc)
1697 #define SET_TX_DESC_BT_NULL_8198F(txdesc, value) \
1698 SET_TX_DESC_BT_NULL(txdesc, value)
1699 #define GET_TX_DESC_BT_NULL_8198F(txdesc) GET_TX_DESC_BT_NULL(txdesc)
1700 #define SET_TX_DESC_AMPDU_DENSITY_8198F(txdesc, value) \
1701 SET_TX_DESC_AMPDU_DENSITY(txdesc, value)
1702 #define GET_TX_DESC_AMPDU_DENSITY_8198F(txdesc) \
1703 GET_TX_DESC_AMPDU_DENSITY(txdesc)
1704 #define SET_TX_DESC_SPE_RPT_8198F(txdesc, value) \
1705 SET_TX_DESC_SPE_RPT(txdesc, value)
1706 #define GET_TX_DESC_SPE_RPT_8198F(txdesc) GET_TX_DESC_SPE_RPT(txdesc)
1707 #define SET_TX_DESC_RAW_8198F(txdesc, value) SET_TX_DESC_RAW(txdesc, value)
1708 #define GET_TX_DESC_RAW_8198F(txdesc) GET_TX_DESC_RAW(txdesc)
1709 #define SET_TX_DESC_MOREFRAG_8198F(txdesc, value) \
1710 SET_TX_DESC_MOREFRAG(txdesc, value)
1711 #define GET_TX_DESC_MOREFRAG_8198F(txdesc) GET_TX_DESC_MOREFRAG(txdesc)
1712 #define SET_TX_DESC_BK_8198F(txdesc, value) SET_TX_DESC_BK(txdesc, value)
1713 #define GET_TX_DESC_BK_8198F(txdesc) GET_TX_DESC_BK(txdesc)
1714 #define SET_TX_DESC_NULL_1_8198F(txdesc, value) \
1715 SET_TX_DESC_NULL_1(txdesc, value)
1716 #define GET_TX_DESC_NULL_1_8198F(txdesc) GET_TX_DESC_NULL_1(txdesc)
1717 #define SET_TX_DESC_NULL_0_8198F(txdesc, value) \
1718 SET_TX_DESC_NULL_0(txdesc, value)
1719 #define GET_TX_DESC_NULL_0_8198F(txdesc) GET_TX_DESC_NULL_0(txdesc)
1720 #define SET_TX_DESC_RDG_EN_8198F(txdesc, value) \
1721 SET_TX_DESC_RDG_EN(txdesc, value)
1722 #define GET_TX_DESC_RDG_EN_8198F(txdesc) GET_TX_DESC_RDG_EN(txdesc)
1723 #define SET_TX_DESC_AGG_EN_8198F(txdesc, value) \
1724 SET_TX_DESC_AGG_EN(txdesc, value)
1725 #define GET_TX_DESC_AGG_EN_8198F(txdesc) GET_TX_DESC_AGG_EN(txdesc)
1726 #define SET_TX_DESC_CCA_RTS_8198F(txdesc, value) \
1727 SET_TX_DESC_CCA_RTS(txdesc, value)
1728 #define GET_TX_DESC_CCA_RTS_8198F(txdesc) GET_TX_DESC_CCA_RTS(txdesc)
1729 #define SET_TX_DESC_TRI_FRAME_8198F(txdesc, value) \
1730 SET_TX_DESC_TRI_FRAME(txdesc, value)
1731 #define GET_TX_DESC_TRI_FRAME_8198F(txdesc) GET_TX_DESC_TRI_FRAME(txdesc)
1732 #define SET_TX_DESC_P_AID_8198F(txdesc, value) SET_TX_DESC_P_AID(txdesc, value)
1733 #define GET_TX_DESC_P_AID_8198F(txdesc) GET_TX_DESC_P_AID(txdesc)
1737 #define SET_TX_DESC_AMPDU_MAX_TIME_8198F(txdesc, value) \
1738 SET_TX_DESC_AMPDU_MAX_TIME(txdesc, value)
1739 #define GET_TX_DESC_AMPDU_MAX_TIME_8198F(txdesc) \
1740 GET_TX_DESC_AMPDU_MAX_TIME(txdesc)
1741 #define SET_TX_DESC_NDPA_8198F(txdesc, value) SET_TX_DESC_NDPA(txdesc, value)
1742 #define GET_TX_DESC_NDPA_8198F(txdesc) GET_TX_DESC_NDPA(txdesc)
1743 #define SET_TX_DESC_MAX_AGG_NUM_8198F(txdesc, value) \
1744 SET_TX_DESC_MAX_AGG_NUM(txdesc, value)
1745 #define GET_TX_DESC_MAX_AGG_NUM_8198F(txdesc) GET_TX_DESC_MAX_AGG_NUM(txdesc)
1746 #define SET_TX_DESC_USE_MAX_TIME_EN_8198F(txdesc, value) \
1747 SET_TX_DESC_USE_MAX_TIME_EN(txdesc, value)
1748 #define GET_TX_DESC_USE_MAX_TIME_EN_8198F(txdesc) \
1749 GET_TX_DESC_USE_MAX_TIME_EN(txdesc)
1750 #define SET_TX_DESC_NAVUSEHDR_8198F(txdesc, value) \
1751 SET_TX_DESC_NAVUSEHDR(txdesc, value)
1752 #define GET_TX_DESC_NAVUSEHDR_8198F(txdesc) GET_TX_DESC_NAVUSEHDR(txdesc)
1753 #define SET_TX_DESC_CHK_EN_8198F(txdesc, value) \
1754 SET_TX_DESC_CHK_EN(txdesc, value)
1755 #define GET_TX_DESC_CHK_EN_8198F(txdesc) GET_TX_DESC_CHK_EN(txdesc)
1756 #define SET_TX_DESC_HW_RTS_EN_8198F(txdesc, value) \
1757 SET_TX_DESC_HW_RTS_EN(txdesc, value)
1758 #define GET_TX_DESC_HW_RTS_EN_8198F(txdesc) GET_TX_DESC_HW_RTS_EN(txdesc)
1759 #define SET_TX_DESC_RTSEN_8198F(txdesc, value) SET_TX_DESC_RTSEN(txdesc, value)
1760 #define GET_TX_DESC_RTSEN_8198F(txdesc) GET_TX_DESC_RTSEN(txdesc)
1761 #define SET_TX_DESC_CTS2SELF_8198F(txdesc, value) \
1762 SET_TX_DESC_CTS2SELF(txdesc, value)
1763 #define GET_TX_DESC_CTS2SELF_8198F(txdesc) GET_TX_DESC_CTS2SELF(txdesc)
1764 #define SET_TX_DESC_DISDATAFB_8198F(txdesc, value) \
1765 SET_TX_DESC_DISDATAFB(txdesc, value)
1766 #define GET_TX_DESC_DISDATAFB_8198F(txdesc) GET_TX_DESC_DISDATAFB(txdesc)
1767 #define SET_TX_DESC_DISRTSFB_8198F(txdesc, value) \
1768 SET_TX_DESC_DISRTSFB(txdesc, value)
1769 #define GET_TX_DESC_DISRTSFB_8198F(txdesc) GET_TX_DESC_DISRTSFB(txdesc)
1770 #define SET_TX_DESC_USE_RATE_8198F(txdesc, value) \
1771 SET_TX_DESC_USE_RATE(txdesc, value)
1772 #define GET_TX_DESC_USE_RATE_8198F(txdesc) GET_TX_DESC_USE_RATE(txdesc)
1773 #define SET_TX_DESC_HW_SSN_SEL_8198F(txdesc, value) \
1774 SET_TX_DESC_HW_SSN_SEL(txdesc, value)
1775 #define GET_TX_DESC_HW_SSN_SEL_8198F(txdesc) GET_TX_DESC_HW_SSN_SEL(txdesc)
1776 #define SET_TX_DESC_WHEADER_LEN_8198F(txdesc, value) \
1777 SET_TX_DESC_WHEADER_LEN(txdesc, value)
1778 #define GET_TX_DESC_WHEADER_LEN_8198F(txdesc) GET_TX_DESC_WHEADER_LEN(txdesc)
1782 #define SET_TX_DESC_PCTS_MASK_IDX_8198F(txdesc, value) \
1783 SET_TX_DESC_PCTS_MASK_IDX(txdesc, value)
1784 #define GET_TX_DESC_PCTS_MASK_IDX_8198F(txdesc) \
1785 GET_TX_DESC_PCTS_MASK_IDX(txdesc)
1786 #define SET_TX_DESC_PCTS_EN_8198F(txdesc, value) \
1787 SET_TX_DESC_PCTS_EN(txdesc, value)
1788 #define GET_TX_DESC_PCTS_EN_8198F(txdesc) GET_TX_DESC_PCTS_EN(txdesc)
1789 #define SET_TX_DESC_RTSRATE_8198F(txdesc, value) \
1790 SET_TX_DESC_RTSRATE(txdesc, value)
1791 #define GET_TX_DESC_RTSRATE_8198F(txdesc) GET_TX_DESC_RTSRATE(txdesc)
1792 #define SET_TX_DESC_RTS_DATA_RTY_LMT_8198F(txdesc, value) \
1793 SET_TX_DESC_RTS_DATA_RTY_LMT(txdesc, value)
1794 #define GET_TX_DESC_RTS_DATA_RTY_LMT_8198F(txdesc) \
1795 GET_TX_DESC_RTS_DATA_RTY_LMT(txdesc)
1796 #define SET_TX_DESC_RTY_LMT_EN_8198F(txdesc, value) \
1797 SET_TX_DESC_RTY_LMT_EN(txdesc, value)
1798 #define GET_TX_DESC_RTY_LMT_EN_8198F(txdesc) GET_TX_DESC_RTY_LMT_EN(txdesc)
1799 #define SET_TX_DESC_RTS_RTY_LOWEST_RATE_8198F(txdesc, value) \
1800 SET_TX_DESC_RTS_RTY_LOWEST_RATE(txdesc, value)
1801 #define GET_TX_DESC_RTS_RTY_LOWEST_RATE_8198F(txdesc) \
1802 GET_TX_DESC_RTS_RTY_LOWEST_RATE(txdesc)
1803 #define SET_TX_DESC_DATA_RTY_LOWEST_RATE_8198F(txdesc, value) \
1804 SET_TX_DESC_DATA_RTY_LOWEST_RATE(txdesc, value)
1805 #define GET_TX_DESC_DATA_RTY_LOWEST_RATE_8198F(txdesc) \
1806 GET_TX_DESC_DATA_RTY_LOWEST_RATE(txdesc)
1807 #define SET_TX_DESC_TRY_RATE_8198F(txdesc, value) \
1808 SET_TX_DESC_TRY_RATE(txdesc, value)
1809 #define GET_TX_DESC_TRY_RATE_8198F(txdesc) GET_TX_DESC_TRY_RATE(txdesc)
1810 #define SET_TX_DESC_DATARATE_8198F(txdesc, value) \
1811 SET_TX_DESC_DATARATE(txdesc, value)
1812 #define GET_TX_DESC_DATARATE_8198F(txdesc) GET_TX_DESC_DATARATE(txdesc)
1816 #define SET_TX_DESC_POLLUTED_8198F(txdesc, value) \
1817 SET_TX_DESC_POLLUTED(txdesc, value)
1818 #define GET_TX_DESC_POLLUTED_8198F(txdesc) GET_TX_DESC_POLLUTED(txdesc)
1819 #define SET_TX_DESC_TXPWR_OFSET_8198F(txdesc, value) \
1820 SET_TX_DESC_TXPWR_OFSET(txdesc, value)
1821 #define GET_TX_DESC_TXPWR_OFSET_8198F(txdesc) GET_TX_DESC_TXPWR_OFSET(txdesc)
1822 #define SET_TX_DESC_DROP_ID_8198F(txdesc, value) \
1823 SET_TX_DESC_DROP_ID(txdesc, value)
1824 #define GET_TX_DESC_DROP_ID_8198F(txdesc) GET_TX_DESC_DROP_ID(txdesc)
1825 #define SET_TX_DESC_PORT_ID_8198F(txdesc, value) \
1826 SET_TX_DESC_PORT_ID(txdesc, value)
1827 #define GET_TX_DESC_PORT_ID_8198F(txdesc) GET_TX_DESC_PORT_ID(txdesc)
1828 #define SET_TX_DESC_MULTIPLE_PORT_8198F(txdesc, value) \
1829 SET_TX_DESC_MULTIPLE_PORT(txdesc, value)
1830 #define GET_TX_DESC_MULTIPLE_PORT_8198F(txdesc) \
1831 GET_TX_DESC_MULTIPLE_PORT(txdesc)
1832 #define SET_TX_DESC_SIGNALING_TAPKT_EN_8198F(txdesc, value) \
1833 SET_TX_DESC_SIGNALING_TAPKT_EN(txdesc, value)
1834 #define GET_TX_DESC_SIGNALING_TAPKT_EN_8198F(txdesc) \
1835 GET_TX_DESC_SIGNALING_TAPKT_EN(txdesc)
1836 #define SET_TX_DESC_RTS_SC_8198F(txdesc, value) \
1837 SET_TX_DESC_RTS_SC(txdesc, value)
1838 #define GET_TX_DESC_RTS_SC_8198F(txdesc) GET_TX_DESC_RTS_SC(txdesc)
1839 #define SET_TX_DESC_RTS_SHORT_8198F(txdesc, value) \
1840 SET_TX_DESC_RTS_SHORT(txdesc, value)
1841 #define GET_TX_DESC_RTS_SHORT_8198F(txdesc) GET_TX_DESC_RTS_SHORT(txdesc)
1842 #define SET_TX_DESC_VCS_STBC_8198F(txdesc, value) \
1843 SET_TX_DESC_VCS_STBC(txdesc, value)
1844 #define GET_TX_DESC_VCS_STBC_8198F(txdesc) GET_TX_DESC_VCS_STBC(txdesc)
1845 #define SET_TX_DESC_DATA_STBC_8198F(txdesc, value) \
1846 SET_TX_DESC_DATA_STBC(txdesc, value)
1847 #define GET_TX_DESC_DATA_STBC_8198F(txdesc) GET_TX_DESC_DATA_STBC(txdesc)
1848 #define SET_TX_DESC_DATA_LDPC_8198F(txdesc, value) \
1849 SET_TX_DESC_DATA_LDPC(txdesc, value)
1850 #define GET_TX_DESC_DATA_LDPC_8198F(txdesc) GET_TX_DESC_DATA_LDPC(txdesc)
1851 #define SET_TX_DESC_DATA_BW_8198F(txdesc, value) \
1852 SET_TX_DESC_DATA_BW(txdesc, value)
1853 #define GET_TX_DESC_DATA_BW_8198F(txdesc) GET_TX_DESC_DATA_BW(txdesc)
1854 #define SET_TX_DESC_DATA_SHORT_8198F(txdesc, value) \
1855 SET_TX_DESC_DATA_SHORT(txdesc, value)
1856 #define GET_TX_DESC_DATA_SHORT_8198F(txdesc) GET_TX_DESC_DATA_SHORT(txdesc)
1857 #define SET_TX_DESC_DATA_SC_8198F(txdesc, value) \
1858 SET_TX_DESC_DATA_SC(txdesc, value)
1859 #define GET_TX_DESC_DATA_SC_8198F(txdesc) GET_TX_DESC_DATA_SC(txdesc)
1863 #define SET_TX_DESC_ANT_MAPD_8198F(txdesc, value) \
1864 SET_TX_DESC_ANT_MAPD_V1(txdesc, value)
1865 #define GET_TX_DESC_ANT_MAPD_8198F(txdesc) GET_TX_DESC_ANT_MAPD_V1(txdesc)
1866 #define SET_TX_DESC_ANT_MAPC_8198F(txdesc, value) \
1867 SET_TX_DESC_ANT_MAPC_V1(txdesc, value)
1868 #define GET_TX_DESC_ANT_MAPC_8198F(txdesc) GET_TX_DESC_ANT_MAPC_V1(txdesc)
1869 #define SET_TX_DESC_ANT_MAPB_8198F(txdesc, value) \
1870 SET_TX_DESC_ANT_MAPB_V1(txdesc, value)
1871 #define GET_TX_DESC_ANT_MAPB_8198F(txdesc) GET_TX_DESC_ANT_MAPB_V1(txdesc)
1872 #define SET_TX_DESC_ANT_MAPA_8198F(txdesc, value) \
1873 SET_TX_DESC_ANT_MAPA_V1(txdesc, value)
1874 #define GET_TX_DESC_ANT_MAPA_8198F(txdesc) GET_TX_DESC_ANT_MAPA_V1(txdesc)
1875 #define SET_TX_DESC_ANTSEL_B_8198F(txdesc, value) \
1876 SET_TX_DESC_ANTSEL_B_V1(txdesc, value)
1877 #define GET_TX_DESC_ANTSEL_B_8198F(txdesc) GET_TX_DESC_ANTSEL_B_V1(txdesc)
1878 #define SET_TX_DESC_ANTSEL_A_8198F(txdesc, value) \
1879 SET_TX_DESC_ANTSEL_A_V1(txdesc, value)
1880 #define GET_TX_DESC_ANTSEL_A_8198F(txdesc) GET_TX_DESC_ANTSEL_A_V1(txdesc)
1881 #define SET_TX_DESC_MBSSID_8198F(txdesc, value) \
1882 SET_TX_DESC_MBSSID(txdesc, value)
1883 #define GET_TX_DESC_MBSSID_8198F(txdesc) GET_TX_DESC_MBSSID(txdesc)
1884 #define SET_TX_DESC_SWPS_SEQ_8198F(txdesc, value) \
1885 SET_TX_DESC_SWPS_SEQ(txdesc, value)
1886 #define GET_TX_DESC_SWPS_SEQ_8198F(txdesc) GET_TX_DESC_SWPS_SEQ(txdesc)
1890 #define SET_TX_DESC_DMA_TXAGG_NUM_8198F(txdesc, value) \
1891 SET_TX_DESC_DMA_TXAGG_NUM(txdesc, value)
1892 #define GET_TX_DESC_DMA_TXAGG_NUM_8198F(txdesc) \
1893 GET_TX_DESC_DMA_TXAGG_NUM(txdesc)
1894 #define SET_TX_DESC_FINAL_DATA_RATE_8198F(txdesc, value) \
1895 SET_TX_DESC_FINAL_DATA_RATE(txdesc, value)
1896 #define GET_TX_DESC_FINAL_DATA_RATE_8198F(txdesc) \
1897 GET_TX_DESC_FINAL_DATA_RATE(txdesc)
1898 #define SET_TX_DESC_NTX_MAP_8198F(txdesc, value) \
1899 SET_TX_DESC_NTX_MAP(txdesc, value)
1900 #define GET_TX_DESC_NTX_MAP_8198F(txdesc) GET_TX_DESC_NTX_MAP(txdesc)
1901 #define SET_TX_DESC_ANTSEL_EN_8198F(txdesc, value) \
1902 SET_TX_DESC_ANTSEL_EN(txdesc, value)
1903 #define GET_TX_DESC_ANTSEL_EN_8198F(txdesc) GET_TX_DESC_ANTSEL_EN(txdesc)
1904 #define SET_TX_DESC_MBSSID_EX_8198F(txdesc, value) \
1905 SET_TX_DESC_MBSSID_EX(txdesc, value)
1906 #define GET_TX_DESC_MBSSID_EX_8198F(txdesc) GET_TX_DESC_MBSSID_EX(txdesc)
1907 #define SET_TX_DESC_TX_BUFF_SIZE_8198F(txdesc, value) \
1908 SET_TX_DESC_TX_BUFF_SIZE(txdesc, value)
1909 #define GET_TX_DESC_TX_BUFF_SIZE_8198F(txdesc) GET_TX_DESC_TX_BUFF_SIZE(txdesc)
1910 #define SET_TX_DESC_TXDESC_CHECKSUM_8198F(txdesc, value) \
1911 SET_TX_DESC_TXDESC_CHECKSUM(txdesc, value)
1912 #define GET_TX_DESC_TXDESC_CHECKSUM_8198F(txdesc) \
1913 GET_TX_DESC_TXDESC_CHECKSUM(txdesc)
1914 #define SET_TX_DESC_TIMESTAMP_8198F(txdesc, value) \
1915 SET_TX_DESC_TIMESTAMP(txdesc, value)
1916 #define GET_TX_DESC_TIMESTAMP_8198F(txdesc) GET_TX_DESC_TIMESTAMP(txdesc)
1920 #define SET_TX_DESC_TXWIFI_CP_8198F(txdesc, value) \
1921 SET_TX_DESC_TXWIFI_CP(txdesc, value)
1922 #define GET_TX_DESC_TXWIFI_CP_8198F(txdesc) GET_TX_DESC_TXWIFI_CP(txdesc)
1923 #define SET_TX_DESC_MAC_CP_8198F(txdesc, value) \
1924 SET_TX_DESC_MAC_CP(txdesc, value)
1925 #define GET_TX_DESC_MAC_CP_8198F(txdesc) GET_TX_DESC_MAC_CP(txdesc)
1926 #define SET_TX_DESC_STW_PKTRE_DIS_8198F(txdesc, value) \
1927 SET_TX_DESC_STW_PKTRE_DIS(txdesc, value)
1928 #define GET_TX_DESC_STW_PKTRE_DIS_8198F(txdesc) \
1929 GET_TX_DESC_STW_PKTRE_DIS(txdesc)
1930 #define SET_TX_DESC_STW_RB_DIS_8198F(txdesc, value) \
1931 SET_TX_DESC_STW_RB_DIS(txdesc, value)
1932 #define GET_TX_DESC_STW_RB_DIS_8198F(txdesc) GET_TX_DESC_STW_RB_DIS(txdesc)
1933 #define SET_TX_DESC_STW_RATE_DIS_8198F(txdesc, value) \
1934 SET_TX_DESC_STW_RATE_DIS(txdesc, value)
1935 #define GET_TX_DESC_STW_RATE_DIS_8198F(txdesc) GET_TX_DESC_STW_RATE_DIS(txdesc)
1936 #define SET_TX_DESC_STW_ANT_DIS_8198F(txdesc, value) \
1937 SET_TX_DESC_STW_ANT_DIS(txdesc, value)
1938 #define GET_TX_DESC_STW_ANT_DIS_8198F(txdesc) GET_TX_DESC_STW_ANT_DIS(txdesc)
1939 #define SET_TX_DESC_STW_EN_8198F(txdesc, value) \
1940 SET_TX_DESC_STW_EN(txdesc, value)
1941 #define GET_TX_DESC_STW_EN_8198F(txdesc) GET_TX_DESC_STW_EN(txdesc)
1942 #define SET_TX_DESC_SMH_EN_8198F(txdesc, value) \
1943 SET_TX_DESC_SMH_EN(txdesc, value)
1944 #define GET_TX_DESC_SMH_EN_8198F(txdesc) GET_TX_DESC_SMH_EN(txdesc)
1945 #define SET_TX_DESC_TAILPAGE_L_8198F(txdesc, value) \
1946 SET_TX_DESC_TAILPAGE_L(txdesc, value)
1947 #define GET_TX_DESC_TAILPAGE_L_8198F(txdesc) GET_TX_DESC_TAILPAGE_L(txdesc)
1948 #define SET_TX_DESC_SDIO_DMASEQ_8198F(txdesc, value) \
1949 SET_TX_DESC_SDIO_DMASEQ(txdesc, value)
1950 #define GET_TX_DESC_SDIO_DMASEQ_8198F(txdesc) GET_TX_DESC_SDIO_DMASEQ(txdesc)
1951 #define SET_TX_DESC_NEXTHEADPAGE_L_8198F(txdesc, value) \
1952 SET_TX_DESC_NEXTHEADPAGE_L(txdesc, value)
1953 #define GET_TX_DESC_NEXTHEADPAGE_L_8198F(txdesc) \
1954 GET_TX_DESC_NEXTHEADPAGE_L(txdesc)
1955 #define SET_TX_DESC_EN_HWSEQ_8198F(txdesc, value) \
1956 SET_TX_DESC_EN_HWSEQ(txdesc, value)
1957 #define GET_TX_DESC_EN_HWSEQ_8198F(txdesc) GET_TX_DESC_EN_HWSEQ(txdesc)
1958 #define SET_TX_DESC_EN_HWEXSEQ_8198F(txdesc, value) \
1959 SET_TX_DESC_EN_HWEXSEQ(txdesc, value)
1960 #define GET_TX_DESC_EN_HWEXSEQ_8198F(txdesc) GET_TX_DESC_EN_HWEXSEQ(txdesc)
1961 #define SET_TX_DESC_DATA_RC_8198F(txdesc, value) \
1962 SET_TX_DESC_DATA_RC(txdesc, value)
1963 #define GET_TX_DESC_DATA_RC_8198F(txdesc) GET_TX_DESC_DATA_RC(txdesc)
1964 #define SET_TX_DESC_BAR_RTY_TH_8198F(txdesc, value) \
1965 SET_TX_DESC_BAR_RTY_TH(txdesc, value)
1966 #define GET_TX_DESC_BAR_RTY_TH_8198F(txdesc) GET_TX_DESC_BAR_RTY_TH(txdesc)
1967 #define SET_TX_DESC_RTS_RC_8198F(txdesc, value) \
1968 SET_TX_DESC_RTS_RC(txdesc, value)
1969 #define GET_TX_DESC_RTS_RC_8198F(txdesc) GET_TX_DESC_RTS_RC(txdesc)
1973 #define SET_TX_DESC_TAILPAGE_H_8198F(txdesc, value) \
1974 SET_TX_DESC_TAILPAGE_H(txdesc, value)
1975 #define GET_TX_DESC_TAILPAGE_H_8198F(txdesc) GET_TX_DESC_TAILPAGE_H(txdesc)
1976 #define SET_TX_DESC_NEXTHEADPAGE_H_8198F(txdesc, value) \
1977 SET_TX_DESC_NEXTHEADPAGE_H(txdesc, value)
1978 #define GET_TX_DESC_NEXTHEADPAGE_H_8198F(txdesc) \
1979 GET_TX_DESC_NEXTHEADPAGE_H(txdesc)
1980 #define SET_TX_DESC_SW_SEQ_8198F(txdesc, value) \
1981 SET_TX_DESC_SW_SEQ(txdesc, value)
1982 #define GET_TX_DESC_SW_SEQ_8198F(txdesc) GET_TX_DESC_SW_SEQ(txdesc)
1983 #define SET_TX_DESC_TXBF_PATH_8198F(txdesc, value) \
1984 SET_TX_DESC_TXBF_PATH(txdesc, value)
1985 #define GET_TX_DESC_TXBF_PATH_8198F(txdesc) GET_TX_DESC_TXBF_PATH(txdesc)
1986 #define SET_TX_DESC_PADDING_LEN_8198F(txdesc, value) \
1987 SET_TX_DESC_PADDING_LEN(txdesc, value)
1988 #define GET_TX_DESC_PADDING_LEN_8198F(txdesc) GET_TX_DESC_PADDING_LEN(txdesc)
1989 #define SET_TX_DESC_GROUP_BIT_IE_OFFSET_8198F(txdesc, value) \
1990 SET_TX_DESC_GROUP_BIT_IE_OFFSET(txdesc, value)
1991 #define GET_TX_DESC_GROUP_BIT_IE_OFFSET_8198F(txdesc) \
1992 GET_TX_DESC_GROUP_BIT_IE_OFFSET(txdesc)
1998 #if (HALMAC_8822C_SUPPORT)
2002 #define SET_TX_DESC_DISQSELSEQ_8822C(txdesc, value) \
2003 SET_TX_DESC_DISQSELSEQ(txdesc, value)
2004 #define GET_TX_DESC_DISQSELSEQ_8822C(txdesc) GET_TX_DESC_DISQSELSEQ(txdesc)
2005 #define SET_TX_DESC_GF_8822C(txdesc, value) SET_TX_DESC_GF(txdesc, value)
2006 #define GET_TX_DESC_GF_8822C(txdesc) GET_TX_DESC_GF(txdesc)
2007 #define SET_TX_DESC_NO_ACM_8822C(txdesc, value) \
2008 SET_TX_DESC_NO_ACM(txdesc, value)
2009 #define GET_TX_DESC_NO_ACM_8822C(txdesc) GET_TX_DESC_NO_ACM(txdesc)
2010 #define SET_TX_DESC_BCNPKT_TSF_CTRL_8822C(txdesc, value) \
2011 SET_TX_DESC_BCNPKT_TSF_CTRL(txdesc, value)
2012 #define GET_TX_DESC_BCNPKT_TSF_CTRL_8822C(txdesc) \
2013 GET_TX_DESC_BCNPKT_TSF_CTRL(txdesc)
2014 #define SET_TX_DESC_AMSDU_PAD_EN_8822C(txdesc, value) \
2015 SET_TX_DESC_AMSDU_PAD_EN(txdesc, value)
2016 #define GET_TX_DESC_AMSDU_PAD_EN_8822C(txdesc) GET_TX_DESC_AMSDU_PAD_EN(txdesc)
2017 #define SET_TX_DESC_LS_8822C(txdesc, value) SET_TX_DESC_LS(txdesc, value)
2018 #define GET_TX_DESC_LS_8822C(txdesc) GET_TX_DESC_LS(txdesc)
2019 #define SET_TX_DESC_HTC_8822C(txdesc, value) SET_TX_DESC_HTC(txdesc, value)
2020 #define GET_TX_DESC_HTC_8822C(txdesc) GET_TX_DESC_HTC(txdesc)
2021 #define SET_TX_DESC_BMC_8822C(txdesc, value) SET_TX_DESC_BMC(txdesc, value)
2022 #define GET_TX_DESC_BMC_8822C(txdesc) GET_TX_DESC_BMC(txdesc)
2023 #define SET_TX_DESC_OFFSET_8822C(txdesc, value) \
2024 SET_TX_DESC_OFFSET(txdesc, value)
2025 #define GET_TX_DESC_OFFSET_8822C(txdesc) GET_TX_DESC_OFFSET(txdesc)
2026 #define SET_TX_DESC_TXPKTSIZE_8822C(txdesc, value) \
2027 SET_TX_DESC_TXPKTSIZE(txdesc, value)
2028 #define GET_TX_DESC_TXPKTSIZE_8822C(txdesc) GET_TX_DESC_TXPKTSIZE(txdesc)
2032 #define SET_TX_DESC_MOREDATA_8822C(txdesc, value) \
2033 SET_TX_DESC_MOREDATA(txdesc, value)
2034 #define GET_TX_DESC_MOREDATA_8822C(txdesc) GET_TX_DESC_MOREDATA(txdesc)
2035 #define SET_TX_DESC_PKT_OFFSET_8822C(txdesc, value) \
2036 SET_TX_DESC_PKT_OFFSET(txdesc, value)
2037 #define GET_TX_DESC_PKT_OFFSET_8822C(txdesc) GET_TX_DESC_PKT_OFFSET(txdesc)
2038 #define SET_TX_DESC_SEC_TYPE_8822C(txdesc, value) \
2039 SET_TX_DESC_SEC_TYPE(txdesc, value)
2040 #define GET_TX_DESC_SEC_TYPE_8822C(txdesc) GET_TX_DESC_SEC_TYPE(txdesc)
2041 #define SET_TX_DESC_EN_DESC_ID_8822C(txdesc, value) \
2042 SET_TX_DESC_EN_DESC_ID(txdesc, value)
2043 #define GET_TX_DESC_EN_DESC_ID_8822C(txdesc) GET_TX_DESC_EN_DESC_ID(txdesc)
2044 #define SET_TX_DESC_RATE_ID_8822C(txdesc, value) \
2045 SET_TX_DESC_RATE_ID(txdesc, value)
2046 #define GET_TX_DESC_RATE_ID_8822C(txdesc) GET_TX_DESC_RATE_ID(txdesc)
2047 #define SET_TX_DESC_PIFS_8822C(txdesc, value) SET_TX_DESC_PIFS(txdesc, value)
2048 #define GET_TX_DESC_PIFS_8822C(txdesc) GET_TX_DESC_PIFS(txdesc)
2049 #define SET_TX_DESC_LSIG_TXOP_EN_8822C(txdesc, value) \
2050 SET_TX_DESC_LSIG_TXOP_EN(txdesc, value)
2051 #define GET_TX_DESC_LSIG_TXOP_EN_8822C(txdesc) GET_TX_DESC_LSIG_TXOP_EN(txdesc)
2052 #define SET_TX_DESC_RD_NAV_EXT_8822C(txdesc, value) \
2053 SET_TX_DESC_RD_NAV_EXT(txdesc, value)
2054 #define GET_TX_DESC_RD_NAV_EXT_8822C(txdesc) GET_TX_DESC_RD_NAV_EXT(txdesc)
2055 #define SET_TX_DESC_QSEL_8822C(txdesc, value) SET_TX_DESC_QSEL(txdesc, value)
2056 #define GET_TX_DESC_QSEL_8822C(txdesc) GET_TX_DESC_QSEL(txdesc)
2057 #define SET_TX_DESC_MACID_8822C(txdesc, value) SET_TX_DESC_MACID(txdesc, value)
2058 #define GET_TX_DESC_MACID_8822C(txdesc) GET_TX_DESC_MACID(txdesc)
2062 #define SET_TX_DESC_HW_AES_IV_8822C(txdesc, value) \
2063 SET_TX_DESC_HW_AES_IV(txdesc, value)
2064 #define GET_TX_DESC_HW_AES_IV_8822C(txdesc) GET_TX_DESC_HW_AES_IV(txdesc)
2065 #define SET_TX_DESC_FTM_EN_8822C(txdesc, value) \
2066 SET_TX_DESC_FTM_EN(txdesc, value)
2067 #define GET_TX_DESC_FTM_EN_8822C(txdesc) GET_TX_DESC_FTM_EN(txdesc)
2068 #define SET_TX_DESC_G_ID_8822C(txdesc, value) SET_TX_DESC_G_ID(txdesc, value)
2069 #define GET_TX_DESC_G_ID_8822C(txdesc) GET_TX_DESC_G_ID(txdesc)
2070 #define SET_TX_DESC_BT_NULL_8822C(txdesc, value) \
2071 SET_TX_DESC_BT_NULL(txdesc, value)
2072 #define GET_TX_DESC_BT_NULL_8822C(txdesc) GET_TX_DESC_BT_NULL(txdesc)
2073 #define SET_TX_DESC_AMPDU_DENSITY_8822C(txdesc, value) \
2074 SET_TX_DESC_AMPDU_DENSITY(txdesc, value)
2075 #define GET_TX_DESC_AMPDU_DENSITY_8822C(txdesc) \
2076 GET_TX_DESC_AMPDU_DENSITY(txdesc)
2077 #define SET_TX_DESC_SPE_RPT_8822C(txdesc, value) \
2078 SET_TX_DESC_SPE_RPT(txdesc, value)
2079 #define GET_TX_DESC_SPE_RPT_8822C(txdesc) GET_TX_DESC_SPE_RPT(txdesc)
2080 #define SET_TX_DESC_RAW_8822C(txdesc, value) SET_TX_DESC_RAW(txdesc, value)
2081 #define GET_TX_DESC_RAW_8822C(txdesc) GET_TX_DESC_RAW(txdesc)
2082 #define SET_TX_DESC_MOREFRAG_8822C(txdesc, value) \
2083 SET_TX_DESC_MOREFRAG(txdesc, value)
2084 #define GET_TX_DESC_MOREFRAG_8822C(txdesc) GET_TX_DESC_MOREFRAG(txdesc)
2085 #define SET_TX_DESC_BK_8822C(txdesc, value) SET_TX_DESC_BK(txdesc, value)
2086 #define GET_TX_DESC_BK_8822C(txdesc) GET_TX_DESC_BK(txdesc)
2087 #define SET_TX_DESC_NULL_1_8822C(txdesc, value) \
2088 SET_TX_DESC_NULL_1(txdesc, value)
2089 #define GET_TX_DESC_NULL_1_8822C(txdesc) GET_TX_DESC_NULL_1(txdesc)
2090 #define SET_TX_DESC_NULL_0_8822C(txdesc, value) \
2091 SET_TX_DESC_NULL_0(txdesc, value)
2092 #define GET_TX_DESC_NULL_0_8822C(txdesc) GET_TX_DESC_NULL_0(txdesc)
2093 #define SET_TX_DESC_RDG_EN_8822C(txdesc, value) \
2094 SET_TX_DESC_RDG_EN(txdesc, value)
2095 #define GET_TX_DESC_RDG_EN_8822C(txdesc) GET_TX_DESC_RDG_EN(txdesc)
2096 #define SET_TX_DESC_AGG_EN_8822C(txdesc, value) \
2097 SET_TX_DESC_AGG_EN(txdesc, value)
2098 #define GET_TX_DESC_AGG_EN_8822C(txdesc) GET_TX_DESC_AGG_EN(txdesc)
2099 #define SET_TX_DESC_CCA_RTS_8822C(txdesc, value) \
2100 SET_TX_DESC_CCA_RTS(txdesc, value)
2101 #define GET_TX_DESC_CCA_RTS_8822C(txdesc) GET_TX_DESC_CCA_RTS(txdesc)
2102 #define SET_TX_DESC_TRI_FRAME_8822C(txdesc, value) \
2103 SET_TX_DESC_TRI_FRAME(txdesc, value)
2104 #define GET_TX_DESC_TRI_FRAME_8822C(txdesc) GET_TX_DESC_TRI_FRAME(txdesc)
2105 #define SET_TX_DESC_P_AID_8822C(txdesc, value) SET_TX_DESC_P_AID(txdesc, value)
2106 #define GET_TX_DESC_P_AID_8822C(txdesc) GET_TX_DESC_P_AID(txdesc)
2110 #define SET_TX_DESC_AMPDU_MAX_TIME_8822C(txdesc, value) \
2111 SET_TX_DESC_AMPDU_MAX_TIME(txdesc, value)
2112 #define GET_TX_DESC_AMPDU_MAX_TIME_8822C(txdesc) \
2113 GET_TX_DESC_AMPDU_MAX_TIME(txdesc)
2114 #define SET_TX_DESC_NDPA_8822C(txdesc, value) SET_TX_DESC_NDPA(txdesc, value)
2115 #define GET_TX_DESC_NDPA_8822C(txdesc) GET_TX_DESC_NDPA(txdesc)
2116 #define SET_TX_DESC_MAX_AGG_NUM_8822C(txdesc, value) \
2117 SET_TX_DESC_MAX_AGG_NUM(txdesc, value)
2118 #define GET_TX_DESC_MAX_AGG_NUM_8822C(txdesc) GET_TX_DESC_MAX_AGG_NUM(txdesc)
2119 #define SET_TX_DESC_USE_MAX_TIME_EN_8822C(txdesc, value) \
2120 SET_TX_DESC_USE_MAX_TIME_EN(txdesc, value)
2121 #define GET_TX_DESC_USE_MAX_TIME_EN_8822C(txdesc) \
2122 GET_TX_DESC_USE_MAX_TIME_EN(txdesc)
2123 #define SET_TX_DESC_NAVUSEHDR_8822C(txdesc, value) \
2124 SET_TX_DESC_NAVUSEHDR(txdesc, value)
2125 #define GET_TX_DESC_NAVUSEHDR_8822C(txdesc) GET_TX_DESC_NAVUSEHDR(txdesc)
2126 #define SET_TX_DESC_CHK_EN_8822C(txdesc, value) \
2127 SET_TX_DESC_CHK_EN(txdesc, value)
2128 #define GET_TX_DESC_CHK_EN_8822C(txdesc) GET_TX_DESC_CHK_EN(txdesc)
2129 #define SET_TX_DESC_HW_RTS_EN_8822C(txdesc, value) \
2130 SET_TX_DESC_HW_RTS_EN(txdesc, value)
2131 #define GET_TX_DESC_HW_RTS_EN_8822C(txdesc) GET_TX_DESC_HW_RTS_EN(txdesc)
2132 #define SET_TX_DESC_RTSEN_8822C(txdesc, value) SET_TX_DESC_RTSEN(txdesc, value)
2133 #define GET_TX_DESC_RTSEN_8822C(txdesc) GET_TX_DESC_RTSEN(txdesc)
2134 #define SET_TX_DESC_CTS2SELF_8822C(txdesc, value) \
2135 SET_TX_DESC_CTS2SELF(txdesc, value)
2136 #define GET_TX_DESC_CTS2SELF_8822C(txdesc) GET_TX_DESC_CTS2SELF(txdesc)
2137 #define SET_TX_DESC_DISDATAFB_8822C(txdesc, value) \
2138 SET_TX_DESC_DISDATAFB(txdesc, value)
2139 #define GET_TX_DESC_DISDATAFB_8822C(txdesc) GET_TX_DESC_DISDATAFB(txdesc)
2140 #define SET_TX_DESC_DISRTSFB_8822C(txdesc, value) \
2141 SET_TX_DESC_DISRTSFB(txdesc, value)
2142 #define GET_TX_DESC_DISRTSFB_8822C(txdesc) GET_TX_DESC_DISRTSFB(txdesc)
2143 #define SET_TX_DESC_USE_RATE_8822C(txdesc, value) \
2144 SET_TX_DESC_USE_RATE(txdesc, value)
2145 #define GET_TX_DESC_USE_RATE_8822C(txdesc) GET_TX_DESC_USE_RATE(txdesc)
2146 #define SET_TX_DESC_HW_SSN_SEL_8822C(txdesc, value) \
2147 SET_TX_DESC_HW_SSN_SEL(txdesc, value)
2148 #define GET_TX_DESC_HW_SSN_SEL_8822C(txdesc) GET_TX_DESC_HW_SSN_SEL(txdesc)
2149 #define SET_TX_DESC_WHEADER_LEN_8822C(txdesc, value) \
2150 SET_TX_DESC_WHEADER_LEN(txdesc, value)
2151 #define GET_TX_DESC_WHEADER_LEN_8822C(txdesc) GET_TX_DESC_WHEADER_LEN(txdesc)
2155 #define SET_TX_DESC_PCTS_MASK_IDX_8822C(txdesc, value) \
2156 SET_TX_DESC_PCTS_MASK_IDX(txdesc, value)
2157 #define GET_TX_DESC_PCTS_MASK_IDX_8822C(txdesc) \
2158 GET_TX_DESC_PCTS_MASK_IDX(txdesc)
2159 #define SET_TX_DESC_PCTS_EN_8822C(txdesc, value) \
2160 SET_TX_DESC_PCTS_EN(txdesc, value)
2161 #define GET_TX_DESC_PCTS_EN_8822C(txdesc) GET_TX_DESC_PCTS_EN(txdesc)
2162 #define SET_TX_DESC_RTSRATE_8822C(txdesc, value) \
2163 SET_TX_DESC_RTSRATE(txdesc, value)
2164 #define GET_TX_DESC_RTSRATE_8822C(txdesc) GET_TX_DESC_RTSRATE(txdesc)
2165 #define SET_TX_DESC_RTS_DATA_RTY_LMT_8822C(txdesc, value) \
2166 SET_TX_DESC_RTS_DATA_RTY_LMT(txdesc, value)
2167 #define GET_TX_DESC_RTS_DATA_RTY_LMT_8822C(txdesc) \
2168 GET_TX_DESC_RTS_DATA_RTY_LMT(txdesc)
2169 #define SET_TX_DESC_RTY_LMT_EN_8822C(txdesc, value) \
2170 SET_TX_DESC_RTY_LMT_EN(txdesc, value)
2171 #define GET_TX_DESC_RTY_LMT_EN_8822C(txdesc) GET_TX_DESC_RTY_LMT_EN(txdesc)
2172 #define SET_TX_DESC_RTS_RTY_LOWEST_RATE_8822C(txdesc, value) \
2173 SET_TX_DESC_RTS_RTY_LOWEST_RATE(txdesc, value)
2174 #define GET_TX_DESC_RTS_RTY_LOWEST_RATE_8822C(txdesc) \
2175 GET_TX_DESC_RTS_RTY_LOWEST_RATE(txdesc)
2176 #define SET_TX_DESC_DATA_RTY_LOWEST_RATE_8822C(txdesc, value) \
2177 SET_TX_DESC_DATA_RTY_LOWEST_RATE(txdesc, value)
2178 #define GET_TX_DESC_DATA_RTY_LOWEST_RATE_8822C(txdesc) \
2179 GET_TX_DESC_DATA_RTY_LOWEST_RATE(txdesc)
2180 #define SET_TX_DESC_TRY_RATE_8822C(txdesc, value) \
2181 SET_TX_DESC_TRY_RATE(txdesc, value)
2182 #define GET_TX_DESC_TRY_RATE_8822C(txdesc) GET_TX_DESC_TRY_RATE(txdesc)
2183 #define SET_TX_DESC_DATARATE_8822C(txdesc, value) \
2184 SET_TX_DESC_DATARATE(txdesc, value)
2185 #define GET_TX_DESC_DATARATE_8822C(txdesc) GET_TX_DESC_DATARATE(txdesc)
2189 #define SET_TX_DESC_POLLUTED_8822C(txdesc, value) \
2190 SET_TX_DESC_POLLUTED(txdesc, value)
2191 #define GET_TX_DESC_POLLUTED_8822C(txdesc) GET_TX_DESC_POLLUTED(txdesc)
2192 #define SET_TX_DESC_ANTSEL_EN_8822C(txdesc, value) \
2193 SET_TX_DESC_ANTSEL_EN_V1(txdesc, value)
2194 #define GET_TX_DESC_ANTSEL_EN_8822C(txdesc) GET_TX_DESC_ANTSEL_EN_V1(txdesc)
2195 #define SET_TX_DESC_TXPWR_OFSET_TYPE_8822C(txdesc, value) \
2196 SET_TX_DESC_TXPWR_OFSET_TYPE(txdesc, value)
2197 #define GET_TX_DESC_TXPWR_OFSET_TYPE_8822C(txdesc) \
2198 GET_TX_DESC_TXPWR_OFSET_TYPE(txdesc)
2199 #define SET_TX_DESC_TX_ANT_8822C(txdesc, value) \
2200 SET_TX_DESC_TX_ANT(txdesc, value)
2201 #define GET_TX_DESC_TX_ANT_8822C(txdesc) GET_TX_DESC_TX_ANT(txdesc)
2202 #define SET_TX_DESC_PORT_ID_8822C(txdesc, value) \
2203 SET_TX_DESC_PORT_ID(txdesc, value)
2204 #define GET_TX_DESC_PORT_ID_8822C(txdesc) GET_TX_DESC_PORT_ID(txdesc)
2205 #define SET_TX_DESC_MULTIPLE_PORT_8822C(txdesc, value) \
2206 SET_TX_DESC_MULTIPLE_PORT(txdesc, value)
2207 #define GET_TX_DESC_MULTIPLE_PORT_8822C(txdesc) \
2208 GET_TX_DESC_MULTIPLE_PORT(txdesc)
2209 #define SET_TX_DESC_SIGNALING_TAPKT_EN_8822C(txdesc, value) \
2210 SET_TX_DESC_SIGNALING_TAPKT_EN(txdesc, value)
2211 #define GET_TX_DESC_SIGNALING_TAPKT_EN_8822C(txdesc) \
2212 GET_TX_DESC_SIGNALING_TAPKT_EN(txdesc)
2213 #define SET_TX_DESC_SIGNALING_TA_PKT_SC_8822C(txdesc, value) \
2214 SET_TX_DESC_SIGNALING_TA_PKT_SC(txdesc, value)
2215 #define GET_TX_DESC_SIGNALING_TA_PKT_SC_8822C(txdesc) \
2216 GET_TX_DESC_SIGNALING_TA_PKT_SC(txdesc)
2217 #define SET_TX_DESC_RTS_SHORT_8822C(txdesc, value) \
2218 SET_TX_DESC_RTS_SHORT(txdesc, value)
2219 #define GET_TX_DESC_RTS_SHORT_8822C(txdesc) GET_TX_DESC_RTS_SHORT(txdesc)
2220 #define SET_TX_DESC_VCS_STBC_8822C(txdesc, value) \
2221 SET_TX_DESC_VCS_STBC(txdesc, value)
2222 #define GET_TX_DESC_VCS_STBC_8822C(txdesc) GET_TX_DESC_VCS_STBC(txdesc)
2223 #define SET_TX_DESC_DATA_STBC_8822C(txdesc, value) \
2224 SET_TX_DESC_DATA_STBC(txdesc, value)
2225 #define GET_TX_DESC_DATA_STBC_8822C(txdesc) GET_TX_DESC_DATA_STBC(txdesc)
2226 #define SET_TX_DESC_DATA_LDPC_8822C(txdesc, value) \
2227 SET_TX_DESC_DATA_LDPC(txdesc, value)
2228 #define GET_TX_DESC_DATA_LDPC_8822C(txdesc) GET_TX_DESC_DATA_LDPC(txdesc)
2229 #define SET_TX_DESC_DATA_BW_8822C(txdesc, value) \
2230 SET_TX_DESC_DATA_BW(txdesc, value)
2231 #define GET_TX_DESC_DATA_BW_8822C(txdesc) GET_TX_DESC_DATA_BW(txdesc)
2232 #define SET_TX_DESC_DATA_SHORT_8822C(txdesc, value) \
2233 SET_TX_DESC_DATA_SHORT(txdesc, value)
2234 #define GET_TX_DESC_DATA_SHORT_8822C(txdesc) GET_TX_DESC_DATA_SHORT(txdesc)
2235 #define SET_TX_DESC_DATA_SC_8822C(txdesc, value) \
2236 SET_TX_DESC_DATA_SC(txdesc, value)
2237 #define GET_TX_DESC_DATA_SC_8822C(txdesc) GET_TX_DESC_DATA_SC(txdesc)
2241 #define SET_TX_DESC_ANTSEL_D_8822C(txdesc, value) \
2242 SET_TX_DESC_ANTSEL_D(txdesc, value)
2243 #define GET_TX_DESC_ANTSEL_D_8822C(txdesc) GET_TX_DESC_ANTSEL_D(txdesc)
2244 #define SET_TX_DESC_ANT_MAPD_8822C(txdesc, value) \
2245 SET_TX_DESC_ANT_MAPD(txdesc, value)
2246 #define GET_TX_DESC_ANT_MAPD_8822C(txdesc) GET_TX_DESC_ANT_MAPD(txdesc)
2247 #define SET_TX_DESC_ANT_MAPC_8822C(txdesc, value) \
2248 SET_TX_DESC_ANT_MAPC(txdesc, value)
2249 #define GET_TX_DESC_ANT_MAPC_8822C(txdesc) GET_TX_DESC_ANT_MAPC(txdesc)
2250 #define SET_TX_DESC_ANT_MAPB_8822C(txdesc, value) \
2251 SET_TX_DESC_ANT_MAPB(txdesc, value)
2252 #define GET_TX_DESC_ANT_MAPB_8822C(txdesc) GET_TX_DESC_ANT_MAPB(txdesc)
2253 #define SET_TX_DESC_ANT_MAPA_8822C(txdesc, value) \
2254 SET_TX_DESC_ANT_MAPA(txdesc, value)
2255 #define GET_TX_DESC_ANT_MAPA_8822C(txdesc) GET_TX_DESC_ANT_MAPA(txdesc)
2256 #define SET_TX_DESC_ANTSEL_C_8822C(txdesc, value) \
2257 SET_TX_DESC_ANTSEL_C(txdesc, value)
2258 #define GET_TX_DESC_ANTSEL_C_8822C(txdesc) GET_TX_DESC_ANTSEL_C(txdesc)
2259 #define SET_TX_DESC_ANTSEL_B_8822C(txdesc, value) \
2260 SET_TX_DESC_ANTSEL_B(txdesc, value)
2261 #define GET_TX_DESC_ANTSEL_B_8822C(txdesc) GET_TX_DESC_ANTSEL_B(txdesc)
2262 #define SET_TX_DESC_ANTSEL_A_8822C(txdesc, value) \
2263 SET_TX_DESC_ANTSEL_A(txdesc, value)
2264 #define GET_TX_DESC_ANTSEL_A_8822C(txdesc) GET_TX_DESC_ANTSEL_A(txdesc)
2265 #define SET_TX_DESC_MBSSID_8822C(txdesc, value) \
2266 SET_TX_DESC_MBSSID(txdesc, value)
2267 #define GET_TX_DESC_MBSSID_8822C(txdesc) GET_TX_DESC_MBSSID(txdesc)
2268 #define SET_TX_DESC_SW_DEFINE_8822C(txdesc, value) \
2269 SET_TX_DESC_SW_DEFINE(txdesc, value)
2270 #define GET_TX_DESC_SW_DEFINE_8822C(txdesc) GET_TX_DESC_SW_DEFINE(txdesc)
2274 #define SET_TX_DESC_DMA_TXAGG_NUM_8822C(txdesc, value) \
2275 SET_TX_DESC_DMA_TXAGG_NUM(txdesc, value)
2276 #define GET_TX_DESC_DMA_TXAGG_NUM_8822C(txdesc) \
2277 GET_TX_DESC_DMA_TXAGG_NUM(txdesc)
2278 #define SET_TX_DESC_FINAL_DATA_RATE_8822C(txdesc, value) \
2279 SET_TX_DESC_FINAL_DATA_RATE(txdesc, value)
2280 #define GET_TX_DESC_FINAL_DATA_RATE_8822C(txdesc) \
2281 GET_TX_DESC_FINAL_DATA_RATE(txdesc)
2282 #define SET_TX_DESC_NTX_MAP_8822C(txdesc, value) \
2283 SET_TX_DESC_NTX_MAP(txdesc, value)
2284 #define GET_TX_DESC_NTX_MAP_8822C(txdesc) GET_TX_DESC_NTX_MAP(txdesc)
2285 #define SET_TX_DESC_TX_BUFF_SIZE_8822C(txdesc, value) \
2286 SET_TX_DESC_TX_BUFF_SIZE(txdesc, value)
2287 #define GET_TX_DESC_TX_BUFF_SIZE_8822C(txdesc) GET_TX_DESC_TX_BUFF_SIZE(txdesc)
2288 #define SET_TX_DESC_TXDESC_CHECKSUM_8822C(txdesc, value) \
2289 SET_TX_DESC_TXDESC_CHECKSUM(txdesc, value)
2290 #define GET_TX_DESC_TXDESC_CHECKSUM_8822C(txdesc) \
2291 GET_TX_DESC_TXDESC_CHECKSUM(txdesc)
2292 #define SET_TX_DESC_TIMESTAMP_8822C(txdesc, value) \
2293 SET_TX_DESC_TIMESTAMP(txdesc, value)
2294 #define GET_TX_DESC_TIMESTAMP_8822C(txdesc) GET_TX_DESC_TIMESTAMP(txdesc)
2298 #define SET_TX_DESC_TXWIFI_CP_8822C(txdesc, value) \
2299 SET_TX_DESC_TXWIFI_CP(txdesc, value)
2300 #define GET_TX_DESC_TXWIFI_CP_8822C(txdesc) GET_TX_DESC_TXWIFI_CP(txdesc)
2301 #define SET_TX_DESC_MAC_CP_8822C(txdesc, value) \
2302 SET_TX_DESC_MAC_CP(txdesc, value)
2303 #define GET_TX_DESC_MAC_CP_8822C(txdesc) GET_TX_DESC_MAC_CP(txdesc)
2304 #define SET_TX_DESC_STW_PKTRE_DIS_8822C(txdesc, value) \
2305 SET_TX_DESC_STW_PKTRE_DIS(txdesc, value)
2306 #define GET_TX_DESC_STW_PKTRE_DIS_8822C(txdesc) \
2307 GET_TX_DESC_STW_PKTRE_DIS(txdesc)
2308 #define SET_TX_DESC_STW_RB_DIS_8822C(txdesc, value) \
2309 SET_TX_DESC_STW_RB_DIS(txdesc, value)
2310 #define GET_TX_DESC_STW_RB_DIS_8822C(txdesc) GET_TX_DESC_STW_RB_DIS(txdesc)
2311 #define SET_TX_DESC_STW_RATE_DIS_8822C(txdesc, value) \
2312 SET_TX_DESC_STW_RATE_DIS(txdesc, value)
2313 #define GET_TX_DESC_STW_RATE_DIS_8822C(txdesc) GET_TX_DESC_STW_RATE_DIS(txdesc)
2314 #define SET_TX_DESC_STW_ANT_DIS_8822C(txdesc, value) \
2315 SET_TX_DESC_STW_ANT_DIS(txdesc, value)
2316 #define GET_TX_DESC_STW_ANT_DIS_8822C(txdesc) GET_TX_DESC_STW_ANT_DIS(txdesc)
2317 #define SET_TX_DESC_STW_EN_8822C(txdesc, value) \
2318 SET_TX_DESC_STW_EN(txdesc, value)
2319 #define GET_TX_DESC_STW_EN_8822C(txdesc) GET_TX_DESC_STW_EN(txdesc)
2320 #define SET_TX_DESC_SMH_EN_8822C(txdesc, value) \
2321 SET_TX_DESC_SMH_EN(txdesc, value)
2322 #define GET_TX_DESC_SMH_EN_8822C(txdesc) GET_TX_DESC_SMH_EN(txdesc)
2323 #define SET_TX_DESC_TAILPAGE_L_8822C(txdesc, value) \
2324 SET_TX_DESC_TAILPAGE_L(txdesc, value)
2325 #define GET_TX_DESC_TAILPAGE_L_8822C(txdesc) GET_TX_DESC_TAILPAGE_L(txdesc)
2326 #define SET_TX_DESC_SDIO_DMASEQ_8822C(txdesc, value) \
2327 SET_TX_DESC_SDIO_DMASEQ(txdesc, value)
2328 #define GET_TX_DESC_SDIO_DMASEQ_8822C(txdesc) GET_TX_DESC_SDIO_DMASEQ(txdesc)
2329 #define SET_TX_DESC_NEXTHEADPAGE_L_8822C(txdesc, value) \
2330 SET_TX_DESC_NEXTHEADPAGE_L(txdesc, value)
2331 #define GET_TX_DESC_NEXTHEADPAGE_L_8822C(txdesc) \
2332 GET_TX_DESC_NEXTHEADPAGE_L(txdesc)
2333 #define SET_TX_DESC_EN_HWSEQ_8822C(txdesc, value) \
2334 SET_TX_DESC_EN_HWSEQ(txdesc, value)
2335 #define GET_TX_DESC_EN_HWSEQ_8822C(txdesc) GET_TX_DESC_EN_HWSEQ(txdesc)
2336 #define SET_TX_DESC_EN_HWEXSEQ_8822C(txdesc, value) \
2337 SET_TX_DESC_EN_HWEXSEQ(txdesc, value)
2338 #define GET_TX_DESC_EN_HWEXSEQ_8822C(txdesc) GET_TX_DESC_EN_HWEXSEQ(txdesc)
2339 #define SET_TX_DESC_DATA_RC_8822C(txdesc, value) \
2340 SET_TX_DESC_DATA_RC(txdesc, value)
2341 #define GET_TX_DESC_DATA_RC_8822C(txdesc) GET_TX_DESC_DATA_RC(txdesc)
2342 #define SET_TX_DESC_BAR_RTY_TH_8822C(txdesc, value) \
2343 SET_TX_DESC_BAR_RTY_TH(txdesc, value)
2344 #define GET_TX_DESC_BAR_RTY_TH_8822C(txdesc) GET_TX_DESC_BAR_RTY_TH(txdesc)
2345 #define SET_TX_DESC_RTS_RC_8822C(txdesc, value) \
2346 SET_TX_DESC_RTS_RC(txdesc, value)
2347 #define GET_TX_DESC_RTS_RC_8822C(txdesc) GET_TX_DESC_RTS_RC(txdesc)
2351 #define SET_TX_DESC_TAILPAGE_H_8822C(txdesc, value) \
2352 SET_TX_DESC_TAILPAGE_H(txdesc, value)
2353 #define GET_TX_DESC_TAILPAGE_H_8822C(txdesc) GET_TX_DESC_TAILPAGE_H(txdesc)
2354 #define SET_TX_DESC_NEXTHEADPAGE_H_8822C(txdesc, value) \
2355 SET_TX_DESC_NEXTHEADPAGE_H(txdesc, value)
2356 #define GET_TX_DESC_NEXTHEADPAGE_H_8822C(txdesc) \
2357 GET_TX_DESC_NEXTHEADPAGE_H(txdesc)
2358 #define SET_TX_DESC_SW_SEQ_8822C(txdesc, value) \
2359 SET_TX_DESC_SW_SEQ(txdesc, value)
2360 #define GET_TX_DESC_SW_SEQ_8822C(txdesc) GET_TX_DESC_SW_SEQ(txdesc)
2361 #define SET_TX_DESC_TXBF_PATH_8822C(txdesc, value) \
2362 SET_TX_DESC_TXBF_PATH(txdesc, value)
2363 #define GET_TX_DESC_TXBF_PATH_8822C(txdesc) GET_TX_DESC_TXBF_PATH(txdesc)
2364 #define SET_TX_DESC_PADDING_LEN_8822C(txdesc, value) \
2365 SET_TX_DESC_PADDING_LEN(txdesc, value)
2366 #define GET_TX_DESC_PADDING_LEN_8822C(txdesc) GET_TX_DESC_PADDING_LEN(txdesc)
2367 #define SET_TX_DESC_GROUP_BIT_IE_OFFSET_8822C(txdesc, value) \
2368 SET_TX_DESC_GROUP_BIT_IE_OFFSET(txdesc, value)
2369 #define GET_TX_DESC_GROUP_BIT_IE_OFFSET_8822C(txdesc) \
2370 GET_TX_DESC_GROUP_BIT_IE_OFFSET(txdesc)
2374 #define SET_TX_DESC_MU_DATARATE_8822C(txdesc, value) \
2375 SET_TX_DESC_MU_DATARATE(txdesc, value)
2376 #define GET_TX_DESC_MU_DATARATE_8822C(txdesc) GET_TX_DESC_MU_DATARATE(txdesc)
2377 #define SET_TX_DESC_MU_RC_8822C(txdesc, value) SET_TX_DESC_MU_RC(txdesc, value)
2378 #define GET_TX_DESC_MU_RC_8822C(txdesc) GET_TX_DESC_MU_RC(txdesc)
2379 #define SET_TX_DESC_SND_PKT_SEL_8822C(txdesc, value) \
2380 SET_TX_DESC_SND_PKT_SEL(txdesc, value)
2381 #define GET_TX_DESC_SND_PKT_SEL_8822C(txdesc) GET_TX_DESC_SND_PKT_SEL(txdesc)
2385 #if (HALMAC_8812F_SUPPORT)
2389 #define SET_TX_DESC_DISQSELSEQ_8812F(txdesc, value) \
2390 SET_TX_DESC_DISQSELSEQ(txdesc, value)
2391 #define GET_TX_DESC_DISQSELSEQ_8812F(txdesc) GET_TX_DESC_DISQSELSEQ(txdesc)
2392 #define SET_TX_DESC_GF_8812F(txdesc, value) SET_TX_DESC_GF(txdesc, value)
2393 #define GET_TX_DESC_GF_8812F(txdesc) GET_TX_DESC_GF(txdesc)
2394 #define SET_TX_DESC_NO_ACM_8812F(txdesc, value) \
2395 SET_TX_DESC_NO_ACM(txdesc, value)
2396 #define GET_TX_DESC_NO_ACM_8812F(txdesc) GET_TX_DESC_NO_ACM(txdesc)
2397 #define SET_TX_DESC_BCNPKT_TSF_CTRL_8812F(txdesc, value) \
2398 SET_TX_DESC_BCNPKT_TSF_CTRL(txdesc, value)
2399 #define GET_TX_DESC_BCNPKT_TSF_CTRL_8812F(txdesc) \
2400 GET_TX_DESC_BCNPKT_TSF_CTRL(txdesc)
2401 #define SET_TX_DESC_AMSDU_PAD_EN_8812F(txdesc, value) \
2402 SET_TX_DESC_AMSDU_PAD_EN(txdesc, value)
2403 #define GET_TX_DESC_AMSDU_PAD_EN_8812F(txdesc) GET_TX_DESC_AMSDU_PAD_EN(txdesc)
2404 #define SET_TX_DESC_LS_8812F(txdesc, value) SET_TX_DESC_LS(txdesc, value)
2405 #define GET_TX_DESC_LS_8812F(txdesc) GET_TX_DESC_LS(txdesc)
2406 #define SET_TX_DESC_HTC_8812F(txdesc, value) SET_TX_DESC_HTC(txdesc, value)
2407 #define GET_TX_DESC_HTC_8812F(txdesc) GET_TX_DESC_HTC(txdesc)
2408 #define SET_TX_DESC_BMC_8812F(txdesc, value) SET_TX_DESC_BMC(txdesc, value)
2409 #define GET_TX_DESC_BMC_8812F(txdesc) GET_TX_DESC_BMC(txdesc)
2410 #define SET_TX_DESC_OFFSET_8812F(txdesc, value) \
2411 SET_TX_DESC_OFFSET(txdesc, value)
2412 #define GET_TX_DESC_OFFSET_8812F(txdesc) GET_TX_DESC_OFFSET(txdesc)
2413 #define SET_TX_DESC_TXPKTSIZE_8812F(txdesc, value) \
2414 SET_TX_DESC_TXPKTSIZE(txdesc, value)
2415 #define GET_TX_DESC_TXPKTSIZE_8812F(txdesc) GET_TX_DESC_TXPKTSIZE(txdesc)
2419 #define SET_TX_DESC_MOREDATA_8812F(txdesc, value) \
2420 SET_TX_DESC_MOREDATA(txdesc, value)
2421 #define GET_TX_DESC_MOREDATA_8812F(txdesc) GET_TX_DESC_MOREDATA(txdesc)
2422 #define SET_TX_DESC_PKT_OFFSET_8812F(txdesc, value) \
2423 SET_TX_DESC_PKT_OFFSET(txdesc, value)
2424 #define GET_TX_DESC_PKT_OFFSET_8812F(txdesc) GET_TX_DESC_PKT_OFFSET(txdesc)
2425 #define SET_TX_DESC_SEC_TYPE_8812F(txdesc, value) \
2426 SET_TX_DESC_SEC_TYPE(txdesc, value)
2427 #define GET_TX_DESC_SEC_TYPE_8812F(txdesc) GET_TX_DESC_SEC_TYPE(txdesc)
2428 #define SET_TX_DESC_EN_DESC_ID_8812F(txdesc, value) \
2429 SET_TX_DESC_EN_DESC_ID(txdesc, value)
2430 #define GET_TX_DESC_EN_DESC_ID_8812F(txdesc) GET_TX_DESC_EN_DESC_ID(txdesc)
2431 #define SET_TX_DESC_RATE_ID_8812F(txdesc, value) \
2432 SET_TX_DESC_RATE_ID(txdesc, value)
2433 #define GET_TX_DESC_RATE_ID_8812F(txdesc) GET_TX_DESC_RATE_ID(txdesc)
2434 #define SET_TX_DESC_PIFS_8812F(txdesc, value) SET_TX_DESC_PIFS(txdesc, value)
2435 #define GET_TX_DESC_PIFS_8812F(txdesc) GET_TX_DESC_PIFS(txdesc)
2436 #define SET_TX_DESC_LSIG_TXOP_EN_8812F(txdesc, value) \
2437 SET_TX_DESC_LSIG_TXOP_EN(txdesc, value)
2438 #define GET_TX_DESC_LSIG_TXOP_EN_8812F(txdesc) GET_TX_DESC_LSIG_TXOP_EN(txdesc)
2439 #define SET_TX_DESC_RD_NAV_EXT_8812F(txdesc, value) \
2440 SET_TX_DESC_RD_NAV_EXT(txdesc, value)
2441 #define GET_TX_DESC_RD_NAV_EXT_8812F(txdesc) GET_TX_DESC_RD_NAV_EXT(txdesc)
2442 #define SET_TX_DESC_QSEL_8812F(txdesc, value) SET_TX_DESC_QSEL(txdesc, value)
2443 #define GET_TX_DESC_QSEL_8812F(txdesc) GET_TX_DESC_QSEL(txdesc)
2444 #define SET_TX_DESC_MACID_8812F(txdesc, value) SET_TX_DESC_MACID(txdesc, value)
2445 #define GET_TX_DESC_MACID_8812F(txdesc) GET_TX_DESC_MACID(txdesc)
2449 #define SET_TX_DESC_HW_AES_IV_8812F(txdesc, value) \
2450 SET_TX_DESC_HW_AES_IV(txdesc, value)
2451 #define GET_TX_DESC_HW_AES_IV_8812F(txdesc) GET_TX_DESC_HW_AES_IV(txdesc)
2452 #define SET_TX_DESC_FTM_EN_8812F(txdesc, value) \
2453 SET_TX_DESC_FTM_EN(txdesc, value)
2454 #define GET_TX_DESC_FTM_EN_8812F(txdesc) GET_TX_DESC_FTM_EN(txdesc)
2455 #define SET_TX_DESC_G_ID_8812F(txdesc, value) SET_TX_DESC_G_ID(txdesc, value)
2456 #define GET_TX_DESC_G_ID_8812F(txdesc) GET_TX_DESC_G_ID(txdesc)
2457 #define SET_TX_DESC_BT_NULL_8812F(txdesc, value) \
2458 SET_TX_DESC_BT_NULL(txdesc, value)
2459 #define GET_TX_DESC_BT_NULL_8812F(txdesc) GET_TX_DESC_BT_NULL(txdesc)
2460 #define SET_TX_DESC_AMPDU_DENSITY_8812F(txdesc, value) \
2461 SET_TX_DESC_AMPDU_DENSITY(txdesc, value)
2462 #define GET_TX_DESC_AMPDU_DENSITY_8812F(txdesc) \
2463 GET_TX_DESC_AMPDU_DENSITY(txdesc)
2464 #define SET_TX_DESC_SPE_RPT_8812F(txdesc, value) \
2465 SET_TX_DESC_SPE_RPT(txdesc, value)
2466 #define GET_TX_DESC_SPE_RPT_8812F(txdesc) GET_TX_DESC_SPE_RPT(txdesc)
2467 #define SET_TX_DESC_RAW_8812F(txdesc, value) SET_TX_DESC_RAW(txdesc, value)
2468 #define GET_TX_DESC_RAW_8812F(txdesc) GET_TX_DESC_RAW(txdesc)
2469 #define SET_TX_DESC_MOREFRAG_8812F(txdesc, value) \
2470 SET_TX_DESC_MOREFRAG(txdesc, value)
2471 #define GET_TX_DESC_MOREFRAG_8812F(txdesc) GET_TX_DESC_MOREFRAG(txdesc)
2472 #define SET_TX_DESC_BK_8812F(txdesc, value) SET_TX_DESC_BK(txdesc, value)
2473 #define GET_TX_DESC_BK_8812F(txdesc) GET_TX_DESC_BK(txdesc)
2474 #define SET_TX_DESC_NULL_1_8812F(txdesc, value) \
2475 SET_TX_DESC_NULL_1(txdesc, value)
2476 #define GET_TX_DESC_NULL_1_8812F(txdesc) GET_TX_DESC_NULL_1(txdesc)
2477 #define SET_TX_DESC_NULL_0_8812F(txdesc, value) \
2478 SET_TX_DESC_NULL_0(txdesc, value)
2479 #define GET_TX_DESC_NULL_0_8812F(txdesc) GET_TX_DESC_NULL_0(txdesc)
2480 #define SET_TX_DESC_RDG_EN_8812F(txdesc, value) \
2481 SET_TX_DESC_RDG_EN(txdesc, value)
2482 #define GET_TX_DESC_RDG_EN_8812F(txdesc) GET_TX_DESC_RDG_EN(txdesc)
2483 #define SET_TX_DESC_AGG_EN_8812F(txdesc, value) \
2484 SET_TX_DESC_AGG_EN(txdesc, value)
2485 #define GET_TX_DESC_AGG_EN_8812F(txdesc) GET_TX_DESC_AGG_EN(txdesc)
2486 #define SET_TX_DESC_CCA_RTS_8812F(txdesc, value) \
2487 SET_TX_DESC_CCA_RTS(txdesc, value)
2488 #define GET_TX_DESC_CCA_RTS_8812F(txdesc) GET_TX_DESC_CCA_RTS(txdesc)
2489 #define SET_TX_DESC_TRI_FRAME_8812F(txdesc, value) \
2490 SET_TX_DESC_TRI_FRAME(txdesc, value)
2491 #define GET_TX_DESC_TRI_FRAME_8812F(txdesc) GET_TX_DESC_TRI_FRAME(txdesc)
2492 #define SET_TX_DESC_P_AID_8812F(txdesc, value) SET_TX_DESC_P_AID(txdesc, value)
2493 #define GET_TX_DESC_P_AID_8812F(txdesc) GET_TX_DESC_P_AID(txdesc)
2497 #define SET_TX_DESC_AMPDU_MAX_TIME_8812F(txdesc, value) \
2498 SET_TX_DESC_AMPDU_MAX_TIME(txdesc, value)
2499 #define GET_TX_DESC_AMPDU_MAX_TIME_8812F(txdesc) \
2500 GET_TX_DESC_AMPDU_MAX_TIME(txdesc)
2501 #define SET_TX_DESC_NDPA_8812F(txdesc, value) SET_TX_DESC_NDPA(txdesc, value)
2502 #define GET_TX_DESC_NDPA_8812F(txdesc) GET_TX_DESC_NDPA(txdesc)
2503 #define SET_TX_DESC_MAX_AGG_NUM_8812F(txdesc, value) \
2504 SET_TX_DESC_MAX_AGG_NUM(txdesc, value)
2505 #define GET_TX_DESC_MAX_AGG_NUM_8812F(txdesc) GET_TX_DESC_MAX_AGG_NUM(txdesc)
2506 #define SET_TX_DESC_USE_MAX_TIME_EN_8812F(txdesc, value) \
2507 SET_TX_DESC_USE_MAX_TIME_EN(txdesc, value)
2508 #define GET_TX_DESC_USE_MAX_TIME_EN_8812F(txdesc) \
2509 GET_TX_DESC_USE_MAX_TIME_EN(txdesc)
2510 #define SET_TX_DESC_NAVUSEHDR_8812F(txdesc, value) \
2511 SET_TX_DESC_NAVUSEHDR(txdesc, value)
2512 #define GET_TX_DESC_NAVUSEHDR_8812F(txdesc) GET_TX_DESC_NAVUSEHDR(txdesc)
2513 #define SET_TX_DESC_CHK_EN_8812F(txdesc, value) \
2514 SET_TX_DESC_CHK_EN(txdesc, value)
2515 #define GET_TX_DESC_CHK_EN_8812F(txdesc) GET_TX_DESC_CHK_EN(txdesc)
2516 #define SET_TX_DESC_HW_RTS_EN_8812F(txdesc, value) \
2517 SET_TX_DESC_HW_RTS_EN(txdesc, value)
2518 #define GET_TX_DESC_HW_RTS_EN_8812F(txdesc) GET_TX_DESC_HW_RTS_EN(txdesc)
2519 #define SET_TX_DESC_RTSEN_8812F(txdesc, value) SET_TX_DESC_RTSEN(txdesc, value)
2520 #define GET_TX_DESC_RTSEN_8812F(txdesc) GET_TX_DESC_RTSEN(txdesc)
2521 #define SET_TX_DESC_CTS2SELF_8812F(txdesc, value) \
2522 SET_TX_DESC_CTS2SELF(txdesc, value)
2523 #define GET_TX_DESC_CTS2SELF_8812F(txdesc) GET_TX_DESC_CTS2SELF(txdesc)
2524 #define SET_TX_DESC_DISDATAFB_8812F(txdesc, value) \
2525 SET_TX_DESC_DISDATAFB(txdesc, value)
2526 #define GET_TX_DESC_DISDATAFB_8812F(txdesc) GET_TX_DESC_DISDATAFB(txdesc)
2527 #define SET_TX_DESC_DISRTSFB_8812F(txdesc, value) \
2528 SET_TX_DESC_DISRTSFB(txdesc, value)
2529 #define GET_TX_DESC_DISRTSFB_8812F(txdesc) GET_TX_DESC_DISRTSFB(txdesc)
2530 #define SET_TX_DESC_USE_RATE_8812F(txdesc, value) \
2531 SET_TX_DESC_USE_RATE(txdesc, value)
2532 #define GET_TX_DESC_USE_RATE_8812F(txdesc) GET_TX_DESC_USE_RATE(txdesc)
2533 #define SET_TX_DESC_HW_SSN_SEL_8812F(txdesc, value) \
2534 SET_TX_DESC_HW_SSN_SEL(txdesc, value)
2535 #define GET_TX_DESC_HW_SSN_SEL_8812F(txdesc) GET_TX_DESC_HW_SSN_SEL(txdesc)
2536 #define SET_TX_DESC_WHEADER_LEN_8812F(txdesc, value) \
2537 SET_TX_DESC_WHEADER_LEN(txdesc, value)
2538 #define GET_TX_DESC_WHEADER_LEN_8812F(txdesc) GET_TX_DESC_WHEADER_LEN(txdesc)
2542 #define SET_TX_DESC_PCTS_MASK_IDX_8812F(txdesc, value) \
2543 SET_TX_DESC_PCTS_MASK_IDX(txdesc, value)
2544 #define GET_TX_DESC_PCTS_MASK_IDX_8812F(txdesc) \
2545 GET_TX_DESC_PCTS_MASK_IDX(txdesc)
2546 #define SET_TX_DESC_PCTS_EN_8812F(txdesc, value) \
2547 SET_TX_DESC_PCTS_EN(txdesc, value)
2548 #define GET_TX_DESC_PCTS_EN_8812F(txdesc) GET_TX_DESC_PCTS_EN(txdesc)
2549 #define SET_TX_DESC_RTSRATE_8812F(txdesc, value) \
2550 SET_TX_DESC_RTSRATE(txdesc, value)
2551 #define GET_TX_DESC_RTSRATE_8812F(txdesc) GET_TX_DESC_RTSRATE(txdesc)
2552 #define SET_TX_DESC_RTS_DATA_RTY_LMT_8812F(txdesc, value) \
2553 SET_TX_DESC_RTS_DATA_RTY_LMT(txdesc, value)
2554 #define GET_TX_DESC_RTS_DATA_RTY_LMT_8812F(txdesc) \
2555 GET_TX_DESC_RTS_DATA_RTY_LMT(txdesc)
2556 #define SET_TX_DESC_RTY_LMT_EN_8812F(txdesc, value) \
2557 SET_TX_DESC_RTY_LMT_EN(txdesc, value)
2558 #define GET_TX_DESC_RTY_LMT_EN_8812F(txdesc) GET_TX_DESC_RTY_LMT_EN(txdesc)
2559 #define SET_TX_DESC_RTS_RTY_LOWEST_RATE_8812F(txdesc, value) \
2560 SET_TX_DESC_RTS_RTY_LOWEST_RATE(txdesc, value)
2561 #define GET_TX_DESC_RTS_RTY_LOWEST_RATE_8812F(txdesc) \
2562 GET_TX_DESC_RTS_RTY_LOWEST_RATE(txdesc)
2563 #define SET_TX_DESC_DATA_RTY_LOWEST_RATE_8812F(txdesc, value) \
2564 SET_TX_DESC_DATA_RTY_LOWEST_RATE(txdesc, value)
2565 #define GET_TX_DESC_DATA_RTY_LOWEST_RATE_8812F(txdesc) \
2566 GET_TX_DESC_DATA_RTY_LOWEST_RATE(txdesc)
2567 #define SET_TX_DESC_TRY_RATE_8812F(txdesc, value) \
2568 SET_TX_DESC_TRY_RATE(txdesc, value)
2569 #define GET_TX_DESC_TRY_RATE_8812F(txdesc) GET_TX_DESC_TRY_RATE(txdesc)
2570 #define SET_TX_DESC_DATARATE_8812F(txdesc, value) \
2571 SET_TX_DESC_DATARATE(txdesc, value)
2572 #define GET_TX_DESC_DATARATE_8812F(txdesc) GET_TX_DESC_DATARATE(txdesc)
2576 #define SET_TX_DESC_POLLUTED_8812F(txdesc, value) \
2577 SET_TX_DESC_POLLUTED(txdesc, value)
2578 #define GET_TX_DESC_POLLUTED_8812F(txdesc) GET_TX_DESC_POLLUTED(txdesc)
2579 #define SET_TX_DESC_ANTSEL_EN_8812F(txdesc, value) \
2580 SET_TX_DESC_ANTSEL_EN_V1(txdesc, value)
2581 #define GET_TX_DESC_ANTSEL_EN_8812F(txdesc) GET_TX_DESC_ANTSEL_EN_V1(txdesc)
2582 #define SET_TX_DESC_TXPWR_OFSET_TYPE_8812F(txdesc, value) \
2583 SET_TX_DESC_TXPWR_OFSET_TYPE(txdesc, value)
2584 #define GET_TX_DESC_TXPWR_OFSET_TYPE_8812F(txdesc) \
2585 GET_TX_DESC_TXPWR_OFSET_TYPE(txdesc)
2586 #define SET_TX_DESC_TX_ANT_8812F(txdesc, value) \
2587 SET_TX_DESC_TX_ANT(txdesc, value)
2588 #define GET_TX_DESC_TX_ANT_8812F(txdesc) GET_TX_DESC_TX_ANT(txdesc)
2589 #define SET_TX_DESC_PORT_ID_8812F(txdesc, value) \
2590 SET_TX_DESC_PORT_ID(txdesc, value)
2591 #define GET_TX_DESC_PORT_ID_8812F(txdesc) GET_TX_DESC_PORT_ID(txdesc)
2592 #define SET_TX_DESC_MULTIPLE_PORT_8812F(txdesc, value) \
2593 SET_TX_DESC_MULTIPLE_PORT(txdesc, value)
2594 #define GET_TX_DESC_MULTIPLE_PORT_8812F(txdesc) \
2595 GET_TX_DESC_MULTIPLE_PORT(txdesc)
2596 #define SET_TX_DESC_SIGNALING_TAPKT_EN_8812F(txdesc, value) \
2597 SET_TX_DESC_SIGNALING_TAPKT_EN(txdesc, value)
2598 #define GET_TX_DESC_SIGNALING_TAPKT_EN_8812F(txdesc) \
2599 GET_TX_DESC_SIGNALING_TAPKT_EN(txdesc)
2600 #define SET_TX_DESC_SIGNALING_TA_PKT_SC_8812F(txdesc, value) \
2601 SET_TX_DESC_SIGNALING_TA_PKT_SC(txdesc, value)
2602 #define GET_TX_DESC_SIGNALING_TA_PKT_SC_8812F(txdesc) \
2603 GET_TX_DESC_SIGNALING_TA_PKT_SC(txdesc)
2604 #define SET_TX_DESC_RTS_SHORT_8812F(txdesc, value) \
2605 SET_TX_DESC_RTS_SHORT(txdesc, value)
2606 #define GET_TX_DESC_RTS_SHORT_8812F(txdesc) GET_TX_DESC_RTS_SHORT(txdesc)
2607 #define SET_TX_DESC_VCS_STBC_8812F(txdesc, value) \
2608 SET_TX_DESC_VCS_STBC(txdesc, value)
2609 #define GET_TX_DESC_VCS_STBC_8812F(txdesc) GET_TX_DESC_VCS_STBC(txdesc)
2610 #define SET_TX_DESC_DATA_STBC_8812F(txdesc, value) \
2611 SET_TX_DESC_DATA_STBC(txdesc, value)
2612 #define GET_TX_DESC_DATA_STBC_8812F(txdesc) GET_TX_DESC_DATA_STBC(txdesc)
2613 #define SET_TX_DESC_DATA_LDPC_8812F(txdesc, value) \
2614 SET_TX_DESC_DATA_LDPC(txdesc, value)
2615 #define GET_TX_DESC_DATA_LDPC_8812F(txdesc) GET_TX_DESC_DATA_LDPC(txdesc)
2616 #define SET_TX_DESC_DATA_BW_8812F(txdesc, value) \
2617 SET_TX_DESC_DATA_BW(txdesc, value)
2618 #define GET_TX_DESC_DATA_BW_8812F(txdesc) GET_TX_DESC_DATA_BW(txdesc)
2619 #define SET_TX_DESC_DATA_SHORT_8812F(txdesc, value) \
2620 SET_TX_DESC_DATA_SHORT(txdesc, value)
2621 #define GET_TX_DESC_DATA_SHORT_8812F(txdesc) GET_TX_DESC_DATA_SHORT(txdesc)
2622 #define SET_TX_DESC_DATA_SC_8812F(txdesc, value) \
2623 SET_TX_DESC_DATA_SC(txdesc, value)
2624 #define GET_TX_DESC_DATA_SC_8812F(txdesc) GET_TX_DESC_DATA_SC(txdesc)
2628 #define SET_TX_DESC_ANTSEL_D_8812F(txdesc, value) \
2629 SET_TX_DESC_ANTSEL_D(txdesc, value)
2630 #define GET_TX_DESC_ANTSEL_D_8812F(txdesc) GET_TX_DESC_ANTSEL_D(txdesc)
2631 #define SET_TX_DESC_ANT_MAPD_8812F(txdesc, value) \
2632 SET_TX_DESC_ANT_MAPD(txdesc, value)
2633 #define GET_TX_DESC_ANT_MAPD_8812F(txdesc) GET_TX_DESC_ANT_MAPD(txdesc)
2634 #define SET_TX_DESC_ANT_MAPC_8812F(txdesc, value) \
2635 SET_TX_DESC_ANT_MAPC(txdesc, value)
2636 #define GET_TX_DESC_ANT_MAPC_8812F(txdesc) GET_TX_DESC_ANT_MAPC(txdesc)
2637 #define SET_TX_DESC_ANT_MAPB_8812F(txdesc, value) \
2638 SET_TX_DESC_ANT_MAPB(txdesc, value)
2639 #define GET_TX_DESC_ANT_MAPB_8812F(txdesc) GET_TX_DESC_ANT_MAPB(txdesc)
2640 #define SET_TX_DESC_ANT_MAPA_8812F(txdesc, value) \
2641 SET_TX_DESC_ANT_MAPA(txdesc, value)
2642 #define GET_TX_DESC_ANT_MAPA_8812F(txdesc) GET_TX_DESC_ANT_MAPA(txdesc)
2643 #define SET_TX_DESC_ANTSEL_C_8812F(txdesc, value) \
2644 SET_TX_DESC_ANTSEL_C(txdesc, value)
2645 #define GET_TX_DESC_ANTSEL_C_8812F(txdesc) GET_TX_DESC_ANTSEL_C(txdesc)
2646 #define SET_TX_DESC_ANTSEL_B_8812F(txdesc, value) \
2647 SET_TX_DESC_ANTSEL_B(txdesc, value)
2648 #define GET_TX_DESC_ANTSEL_B_8812F(txdesc) GET_TX_DESC_ANTSEL_B(txdesc)
2649 #define SET_TX_DESC_ANTSEL_A_8812F(txdesc, value) \
2650 SET_TX_DESC_ANTSEL_A(txdesc, value)
2651 #define GET_TX_DESC_ANTSEL_A_8812F(txdesc) GET_TX_DESC_ANTSEL_A(txdesc)
2652 #define SET_TX_DESC_MBSSID_8812F(txdesc, value) \
2653 SET_TX_DESC_MBSSID(txdesc, value)
2654 #define GET_TX_DESC_MBSSID_8812F(txdesc) GET_TX_DESC_MBSSID(txdesc)
2655 #define SET_TX_DESC_SW_DEFINE_8812F(txdesc, value) \
2656 SET_TX_DESC_SW_DEFINE(txdesc, value)
2657 #define GET_TX_DESC_SW_DEFINE_8812F(txdesc) GET_TX_DESC_SW_DEFINE(txdesc)
2661 #define SET_TX_DESC_DMA_TXAGG_NUM_8812F(txdesc, value) \
2662 SET_TX_DESC_DMA_TXAGG_NUM(txdesc, value)
2663 #define GET_TX_DESC_DMA_TXAGG_NUM_8812F(txdesc) \
2664 GET_TX_DESC_DMA_TXAGG_NUM(txdesc)
2665 #define SET_TX_DESC_FINAL_DATA_RATE_8812F(txdesc, value) \
2666 SET_TX_DESC_FINAL_DATA_RATE(txdesc, value)
2667 #define GET_TX_DESC_FINAL_DATA_RATE_8812F(txdesc) \
2668 GET_TX_DESC_FINAL_DATA_RATE(txdesc)
2669 #define SET_TX_DESC_NTX_MAP_8812F(txdesc, value) \
2670 SET_TX_DESC_NTX_MAP(txdesc, value)
2671 #define GET_TX_DESC_NTX_MAP_8812F(txdesc) GET_TX_DESC_NTX_MAP(txdesc)
2672 #define SET_TX_DESC_TX_BUFF_SIZE_8812F(txdesc, value) \
2673 SET_TX_DESC_TX_BUFF_SIZE(txdesc, value)
2674 #define GET_TX_DESC_TX_BUFF_SIZE_8812F(txdesc) GET_TX_DESC_TX_BUFF_SIZE(txdesc)
2675 #define SET_TX_DESC_TXDESC_CHECKSUM_8812F(txdesc, value) \
2676 SET_TX_DESC_TXDESC_CHECKSUM(txdesc, value)
2677 #define GET_TX_DESC_TXDESC_CHECKSUM_8812F(txdesc) \
2678 GET_TX_DESC_TXDESC_CHECKSUM(txdesc)
2679 #define SET_TX_DESC_TIMESTAMP_8812F(txdesc, value) \
2680 SET_TX_DESC_TIMESTAMP(txdesc, value)
2681 #define GET_TX_DESC_TIMESTAMP_8812F(txdesc) GET_TX_DESC_TIMESTAMP(txdesc)
2685 #define SET_TX_DESC_TXWIFI_CP_8812F(txdesc, value) \
2686 SET_TX_DESC_TXWIFI_CP(txdesc, value)
2687 #define GET_TX_DESC_TXWIFI_CP_8812F(txdesc) GET_TX_DESC_TXWIFI_CP(txdesc)
2688 #define SET_TX_DESC_MAC_CP_8812F(txdesc, value) \
2689 SET_TX_DESC_MAC_CP(txdesc, value)
2690 #define GET_TX_DESC_MAC_CP_8812F(txdesc) GET_TX_DESC_MAC_CP(txdesc)
2691 #define SET_TX_DESC_STW_PKTRE_DIS_8812F(txdesc, value) \
2692 SET_TX_DESC_STW_PKTRE_DIS(txdesc, value)
2693 #define GET_TX_DESC_STW_PKTRE_DIS_8812F(txdesc) \
2694 GET_TX_DESC_STW_PKTRE_DIS(txdesc)
2695 #define SET_TX_DESC_STW_RB_DIS_8812F(txdesc, value) \
2696 SET_TX_DESC_STW_RB_DIS(txdesc, value)
2697 #define GET_TX_DESC_STW_RB_DIS_8812F(txdesc) GET_TX_DESC_STW_RB_DIS(txdesc)
2698 #define SET_TX_DESC_STW_RATE_DIS_8812F(txdesc, value) \
2699 SET_TX_DESC_STW_RATE_DIS(txdesc, value)
2700 #define GET_TX_DESC_STW_RATE_DIS_8812F(txdesc) GET_TX_DESC_STW_RATE_DIS(txdesc)
2701 #define SET_TX_DESC_STW_ANT_DIS_8812F(txdesc, value) \
2702 SET_TX_DESC_STW_ANT_DIS(txdesc, value)
2703 #define GET_TX_DESC_STW_ANT_DIS_8812F(txdesc) GET_TX_DESC_STW_ANT_DIS(txdesc)
2704 #define SET_TX_DESC_STW_EN_8812F(txdesc, value) \
2705 SET_TX_DESC_STW_EN(txdesc, value)
2706 #define GET_TX_DESC_STW_EN_8812F(txdesc) GET_TX_DESC_STW_EN(txdesc)
2707 #define SET_TX_DESC_SMH_EN_8812F(txdesc, value) \
2708 SET_TX_DESC_SMH_EN(txdesc, value)
2709 #define GET_TX_DESC_SMH_EN_8812F(txdesc) GET_TX_DESC_SMH_EN(txdesc)
2710 #define SET_TX_DESC_TAILPAGE_L_8812F(txdesc, value) \
2711 SET_TX_DESC_TAILPAGE_L(txdesc, value)
2712 #define GET_TX_DESC_TAILPAGE_L_8812F(txdesc) GET_TX_DESC_TAILPAGE_L(txdesc)
2713 #define SET_TX_DESC_SDIO_DMASEQ_8812F(txdesc, value) \
2714 SET_TX_DESC_SDIO_DMASEQ(txdesc, value)
2715 #define GET_TX_DESC_SDIO_DMASEQ_8812F(txdesc) GET_TX_DESC_SDIO_DMASEQ(txdesc)
2716 #define SET_TX_DESC_NEXTHEADPAGE_L_8812F(txdesc, value) \
2717 SET_TX_DESC_NEXTHEADPAGE_L(txdesc, value)
2718 #define GET_TX_DESC_NEXTHEADPAGE_L_8812F(txdesc) \
2719 GET_TX_DESC_NEXTHEADPAGE_L(txdesc)
2720 #define SET_TX_DESC_EN_HWSEQ_MODE_8812F(txdesc, value) \
2721 SET_TX_DESC_EN_HWSEQ_MODE(txdesc, value)
2722 #define GET_TX_DESC_EN_HWSEQ_MODE_8812F(txdesc) \
2723 GET_TX_DESC_EN_HWSEQ_MODE(txdesc)
2724 #define SET_TX_DESC_DATA_RC_8812F(txdesc, value) \
2725 SET_TX_DESC_DATA_RC(txdesc, value)
2726 #define GET_TX_DESC_DATA_RC_8812F(txdesc) GET_TX_DESC_DATA_RC(txdesc)
2727 #define SET_TX_DESC_BAR_RTY_TH_8812F(txdesc, value) \
2728 SET_TX_DESC_BAR_RTY_TH(txdesc, value)
2729 #define GET_TX_DESC_BAR_RTY_TH_8812F(txdesc) GET_TX_DESC_BAR_RTY_TH(txdesc)
2730 #define SET_TX_DESC_RTS_RC_8812F(txdesc, value) \
2731 SET_TX_DESC_RTS_RC(txdesc, value)
2732 #define GET_TX_DESC_RTS_RC_8812F(txdesc) GET_TX_DESC_RTS_RC(txdesc)
2736 #define SET_TX_DESC_TAILPAGE_H_8812F(txdesc, value) \
2737 SET_TX_DESC_TAILPAGE_H(txdesc, value)
2738 #define GET_TX_DESC_TAILPAGE_H_8812F(txdesc) GET_TX_DESC_TAILPAGE_H(txdesc)
2739 #define SET_TX_DESC_NEXTHEADPAGE_H_8812F(txdesc, value) \
2740 SET_TX_DESC_NEXTHEADPAGE_H(txdesc, value)
2741 #define GET_TX_DESC_NEXTHEADPAGE_H_8812F(txdesc) \
2742 GET_TX_DESC_NEXTHEADPAGE_H(txdesc)
2743 #define SET_TX_DESC_SW_SEQ_8812F(txdesc, value) \
2744 SET_TX_DESC_SW_SEQ(txdesc, value)
2745 #define GET_TX_DESC_SW_SEQ_8812F(txdesc) GET_TX_DESC_SW_SEQ(txdesc)
2746 #define SET_TX_DESC_TXBF_PATH_8812F(txdesc, value) \
2747 SET_TX_DESC_TXBF_PATH(txdesc, value)
2748 #define GET_TX_DESC_TXBF_PATH_8812F(txdesc) GET_TX_DESC_TXBF_PATH(txdesc)
2749 #define SET_TX_DESC_PADDING_LEN_8812F(txdesc, value) \
2750 SET_TX_DESC_PADDING_LEN(txdesc, value)
2751 #define GET_TX_DESC_PADDING_LEN_8812F(txdesc) GET_TX_DESC_PADDING_LEN(txdesc)
2752 #define SET_TX_DESC_GROUP_BIT_IE_OFFSET_8812F(txdesc, value) \
2753 SET_TX_DESC_GROUP_BIT_IE_OFFSET(txdesc, value)
2754 #define GET_TX_DESC_GROUP_BIT_IE_OFFSET_8812F(txdesc) \
2755 GET_TX_DESC_GROUP_BIT_IE_OFFSET(txdesc)
2759 #define SET_TX_DESC_HT_DATA_SND_8812F(txdesc, value) \
2760 SET_TX_DESC_HT_DATA_SND(txdesc, value)
2761 #define GET_TX_DESC_HT_DATA_SND_8812F(txdesc) GET_TX_DESC_HT_DATA_SND(txdesc)
2762 #define SET_TX_DESC_SHCUT_CAM_8812F(txdesc, value) \
2763 SET_TX_DESC_SHCUT_CAM(txdesc, value)
2764 #define GET_TX_DESC_SHCUT_CAM_8812F(txdesc) GET_TX_DESC_SHCUT_CAM(txdesc)
2765 #define SET_TX_DESC_MU_DATARATE_8812F(txdesc, value) \
2766 SET_TX_DESC_MU_DATARATE(txdesc, value)
2767 #define GET_TX_DESC_MU_DATARATE_8812F(txdesc) GET_TX_DESC_MU_DATARATE(txdesc)
2768 #define SET_TX_DESC_MU_RC_8812F(txdesc, value) SET_TX_DESC_MU_RC(txdesc, value)
2769 #define GET_TX_DESC_MU_RC_8812F(txdesc) GET_TX_DESC_MU_RC(txdesc)
2770 #define SET_TX_DESC_NDPA_RATE_SEL_8812F(txdesc, value) \
2771 SET_TX_DESC_NDPA_RATE_SEL(txdesc, value)
2772 #define GET_TX_DESC_NDPA_RATE_SEL_8812F(txdesc) \
2773 GET_TX_DESC_NDPA_RATE_SEL(txdesc)
2774 #define SET_TX_DESC_HW_NDPA_EN_8812F(txdesc, value) \
2775 SET_TX_DESC_HW_NDPA_EN(txdesc, value)
2776 #define GET_TX_DESC_HW_NDPA_EN_8812F(txdesc) GET_TX_DESC_HW_NDPA_EN(txdesc)
2777 #define SET_TX_DESC_SND_PKT_SEL_8812F(txdesc, value) \
2778 SET_TX_DESC_SND_PKT_SEL(txdesc, value)
2779 #define GET_TX_DESC_SND_PKT_SEL_8812F(txdesc) GET_TX_DESC_SND_PKT_SEL(txdesc)