halmac_tx_desc_ie_chip.h 26 KB

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