rxpcu_ppdu_end_layout_info.h 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688
  1. /* Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved.
  2. *
  3. * Permission to use, copy, modify, and/or distribute this software for any
  4. * purpose with or without fee is hereby granted, provided that the above
  5. * copyright notice and this permission notice appear in all copies.
  6. *
  7. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  8. * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  9. * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  10. * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  11. * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  12. * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  13. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  14. */
  15. #ifndef _RXPCU_PPDU_END_LAYOUT_INFO_H_
  16. #define _RXPCU_PPDU_END_LAYOUT_INFO_H_
  17. #if !defined(__ASSEMBLER__)
  18. #endif
  19. #define NUM_OF_DWORDS_RXPCU_PPDU_END_LAYOUT_INFO 10
  20. struct rxpcu_ppdu_end_layout_info {
  21. #ifndef WIFI_BIT_ORDER_BIG_ENDIAN
  22. uint32_t rssi_legacy_offset : 2, // [1:0]
  23. l_sig_a_offset : 6, // [7:2]
  24. l_sig_b_offset : 6, // [13:8]
  25. ht_sig_offset : 6, // [19:14]
  26. vht_sig_a_offset : 6, // [25:20]
  27. repeat_l_sig_a_offset : 6; // [31:26]
  28. uint32_t he_sig_a_su_offset : 6, // [5:0]
  29. he_sig_a_mu_dl_offset : 6, // [11:6]
  30. he_sig_a_mu_ul_offset : 6, // [17:12]
  31. generic_u_sig_offset : 6, // [23:18]
  32. rssi_ht_offset : 7, // [30:24]
  33. reserved_1a : 1; // [31:31]
  34. uint32_t vht_sig_b_su20_offset : 7, // [6:0]
  35. vht_sig_b_su40_offset : 7, // [13:7]
  36. vht_sig_b_su80_offset : 7, // [20:14]
  37. vht_sig_b_su160_offset : 7, // [27:21]
  38. reserved_2a : 4; // [31:28]
  39. uint32_t vht_sig_b_mu20_offset : 7, // [6:0]
  40. vht_sig_b_mu40_offset : 7, // [13:7]
  41. vht_sig_b_mu80_offset : 7, // [20:14]
  42. vht_sig_b_mu160_offset : 7, // [27:21]
  43. reserved_3a : 4; // [31:28]
  44. uint32_t he_sig_b1_mu_offset : 7, // [6:0]
  45. he_sig_b2_mu_offset : 7, // [13:7]
  46. he_sig_b2_ofdma_offset : 7, // [20:14]
  47. first_generic_eht_sig_offset : 7, // [27:21]
  48. multiple_generic_eht_sig_included : 1, // [28:28]
  49. reserved_4a : 3; // [31:29]
  50. uint32_t common_user_info_offset : 7, // [6:0]
  51. first_debug_info_offset : 8, // [14:7]
  52. multiple_debug_info_included : 1, // [15:15]
  53. first_other_receive_info_offset : 8, // [23:16]
  54. multiple_other_receive_info_included : 1, // [24:24]
  55. reserved_5a : 7; // [31:25]
  56. uint32_t data_done_offset : 8, // [7:0]
  57. generated_cbf_details_offset : 8, // [15:8]
  58. pkt_end_part1_offset : 8, // [23:16]
  59. location_offset : 8; // [31:24]
  60. uint32_t az_integrity_data_offset : 8, // [7:0]
  61. pkt_end_offset : 8, // [15:8]
  62. abort_request_ack_offset : 8, // [23:16]
  63. reserved_7a : 8; // [31:24]
  64. uint32_t reserved_8a : 32; // [31:0]
  65. uint32_t reserved_9a : 32; // [31:0]
  66. #else
  67. uint32_t repeat_l_sig_a_offset : 6, // [31:26]
  68. vht_sig_a_offset : 6, // [25:20]
  69. ht_sig_offset : 6, // [19:14]
  70. l_sig_b_offset : 6, // [13:8]
  71. l_sig_a_offset : 6, // [7:2]
  72. rssi_legacy_offset : 2; // [1:0]
  73. uint32_t reserved_1a : 1, // [31:31]
  74. rssi_ht_offset : 7, // [30:24]
  75. generic_u_sig_offset : 6, // [23:18]
  76. he_sig_a_mu_ul_offset : 6, // [17:12]
  77. he_sig_a_mu_dl_offset : 6, // [11:6]
  78. he_sig_a_su_offset : 6; // [5:0]
  79. uint32_t reserved_2a : 4, // [31:28]
  80. vht_sig_b_su160_offset : 7, // [27:21]
  81. vht_sig_b_su80_offset : 7, // [20:14]
  82. vht_sig_b_su40_offset : 7, // [13:7]
  83. vht_sig_b_su20_offset : 7; // [6:0]
  84. uint32_t reserved_3a : 4, // [31:28]
  85. vht_sig_b_mu160_offset : 7, // [27:21]
  86. vht_sig_b_mu80_offset : 7, // [20:14]
  87. vht_sig_b_mu40_offset : 7, // [13:7]
  88. vht_sig_b_mu20_offset : 7; // [6:0]
  89. uint32_t reserved_4a : 3, // [31:29]
  90. multiple_generic_eht_sig_included : 1, // [28:28]
  91. first_generic_eht_sig_offset : 7, // [27:21]
  92. he_sig_b2_ofdma_offset : 7, // [20:14]
  93. he_sig_b2_mu_offset : 7, // [13:7]
  94. he_sig_b1_mu_offset : 7; // [6:0]
  95. uint32_t reserved_5a : 7, // [31:25]
  96. multiple_other_receive_info_included : 1, // [24:24]
  97. first_other_receive_info_offset : 8, // [23:16]
  98. multiple_debug_info_included : 1, // [15:15]
  99. first_debug_info_offset : 8, // [14:7]
  100. common_user_info_offset : 7; // [6:0]
  101. uint32_t location_offset : 8, // [31:24]
  102. pkt_end_part1_offset : 8, // [23:16]
  103. generated_cbf_details_offset : 8, // [15:8]
  104. data_done_offset : 8; // [7:0]
  105. uint32_t reserved_7a : 8, // [31:24]
  106. abort_request_ack_offset : 8, // [23:16]
  107. pkt_end_offset : 8, // [15:8]
  108. az_integrity_data_offset : 8; // [7:0]
  109. uint32_t reserved_8a : 32; // [31:0]
  110. uint32_t reserved_9a : 32; // [31:0]
  111. #endif
  112. };
  113. /* Description RSSI_LEGACY_OFFSET
  114. Offset in units of 4 bytes of 'PHYRX_RSSI_LEGACY' within
  115. 'RX_PPDU_END'<legal 1, 2>
  116. */
  117. #define RXPCU_PPDU_END_LAYOUT_INFO_RSSI_LEGACY_OFFSET_OFFSET 0x00000000
  118. #define RXPCU_PPDU_END_LAYOUT_INFO_RSSI_LEGACY_OFFSET_LSB 0
  119. #define RXPCU_PPDU_END_LAYOUT_INFO_RSSI_LEGACY_OFFSET_MSB 1
  120. #define RXPCU_PPDU_END_LAYOUT_INFO_RSSI_LEGACY_OFFSET_MASK 0x00000003
  121. /* Description L_SIG_A_OFFSET
  122. Offset in units of 4 bytes of 'PHYRX_L_SIG_A' within 'RX_PPDU_END'
  123. Set to zero if the TLV is not included<legal 0, 44, 46>
  124. */
  125. #define RXPCU_PPDU_END_LAYOUT_INFO_L_SIG_A_OFFSET_OFFSET 0x00000000
  126. #define RXPCU_PPDU_END_LAYOUT_INFO_L_SIG_A_OFFSET_LSB 2
  127. #define RXPCU_PPDU_END_LAYOUT_INFO_L_SIG_A_OFFSET_MSB 7
  128. #define RXPCU_PPDU_END_LAYOUT_INFO_L_SIG_A_OFFSET_MASK 0x000000fc
  129. /* Description L_SIG_B_OFFSET
  130. Offset in units of 4 bytes of 'PHYRX_L_SIG_A' within 'RX_PPDU_END'
  131. Set to zero if the TLV is not included<legal 0, 44, 46>
  132. */
  133. #define RXPCU_PPDU_END_LAYOUT_INFO_L_SIG_B_OFFSET_OFFSET 0x00000000
  134. #define RXPCU_PPDU_END_LAYOUT_INFO_L_SIG_B_OFFSET_LSB 8
  135. #define RXPCU_PPDU_END_LAYOUT_INFO_L_SIG_B_OFFSET_MSB 13
  136. #define RXPCU_PPDU_END_LAYOUT_INFO_L_SIG_B_OFFSET_MASK 0x00003f00
  137. /* Description HT_SIG_OFFSET
  138. Offset of 'PHYRX_HT_SIG' within 'RX_PPDU_END' Set to zero
  139. if the TLV is not included<legal 0, 46, 50>
  140. */
  141. #define RXPCU_PPDU_END_LAYOUT_INFO_HT_SIG_OFFSET_OFFSET 0x00000000
  142. #define RXPCU_PPDU_END_LAYOUT_INFO_HT_SIG_OFFSET_LSB 14
  143. #define RXPCU_PPDU_END_LAYOUT_INFO_HT_SIG_OFFSET_MSB 19
  144. #define RXPCU_PPDU_END_LAYOUT_INFO_HT_SIG_OFFSET_MASK 0x000fc000
  145. /* Description VHT_SIG_A_OFFSET
  146. Offset in units of 4 bytes of 'PHYRX_VHT_SIG_A' within 'RX_PPDU_END'
  147. Set to zero if the TLV is not included<legal 0, 46, 50>
  148. */
  149. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_A_OFFSET_OFFSET 0x00000000
  150. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_A_OFFSET_LSB 20
  151. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_A_OFFSET_MSB 25
  152. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_A_OFFSET_MASK 0x03f00000
  153. /* Description REPEAT_L_SIG_A_OFFSET
  154. Offset in units of 4 bytes of the repeat 'PHYRX_L_SIG_A' (in
  155. HE and EHT cases) within 'RX_PPDU_END'
  156. Set to zero if the TLV is not included
  157. <legal 0, 46, 50>
  158. */
  159. #define RXPCU_PPDU_END_LAYOUT_INFO_REPEAT_L_SIG_A_OFFSET_OFFSET 0x00000000
  160. #define RXPCU_PPDU_END_LAYOUT_INFO_REPEAT_L_SIG_A_OFFSET_LSB 26
  161. #define RXPCU_PPDU_END_LAYOUT_INFO_REPEAT_L_SIG_A_OFFSET_MSB 31
  162. #define RXPCU_PPDU_END_LAYOUT_INFO_REPEAT_L_SIG_A_OFFSET_MASK 0xfc000000
  163. /* Description HE_SIG_A_SU_OFFSET
  164. Offset in units of 4 bytes of 'PHYRX_HE_SIG_A_SU' within
  165. 'RX_PPDU_END' Set to zero if the TLV is not included<legal
  166. 0, 48, 54>
  167. */
  168. #define RXPCU_PPDU_END_LAYOUT_INFO_HE_SIG_A_SU_OFFSET_OFFSET 0x00000004
  169. #define RXPCU_PPDU_END_LAYOUT_INFO_HE_SIG_A_SU_OFFSET_LSB 0
  170. #define RXPCU_PPDU_END_LAYOUT_INFO_HE_SIG_A_SU_OFFSET_MSB 5
  171. #define RXPCU_PPDU_END_LAYOUT_INFO_HE_SIG_A_SU_OFFSET_MASK 0x0000003f
  172. /* Description HE_SIG_A_MU_DL_OFFSET
  173. Offset in units of 4 bytes of 'PHYRX_HE_SIG_A_MU_DL' within
  174. 'RX_PPDU_END' Set to zero if the TLV is not included<legal
  175. 0, 48, 54>
  176. */
  177. #define RXPCU_PPDU_END_LAYOUT_INFO_HE_SIG_A_MU_DL_OFFSET_OFFSET 0x00000004
  178. #define RXPCU_PPDU_END_LAYOUT_INFO_HE_SIG_A_MU_DL_OFFSET_LSB 6
  179. #define RXPCU_PPDU_END_LAYOUT_INFO_HE_SIG_A_MU_DL_OFFSET_MSB 11
  180. #define RXPCU_PPDU_END_LAYOUT_INFO_HE_SIG_A_MU_DL_OFFSET_MASK 0x00000fc0
  181. /* Description HE_SIG_A_MU_UL_OFFSET
  182. Offset in units of 4 bytes of 'PHYRX_HE_SIG_A_MU_UL' within
  183. 'RX_PPDU_END' Set to zero if the TLV is not included<legal
  184. 0, 48, 54>
  185. */
  186. #define RXPCU_PPDU_END_LAYOUT_INFO_HE_SIG_A_MU_UL_OFFSET_OFFSET 0x00000004
  187. #define RXPCU_PPDU_END_LAYOUT_INFO_HE_SIG_A_MU_UL_OFFSET_LSB 12
  188. #define RXPCU_PPDU_END_LAYOUT_INFO_HE_SIG_A_MU_UL_OFFSET_MSB 17
  189. #define RXPCU_PPDU_END_LAYOUT_INFO_HE_SIG_A_MU_UL_OFFSET_MASK 0x0003f000
  190. /* Description GENERIC_U_SIG_OFFSET
  191. Offset in units of 4 bytes of 'PHYRX_GENERIC_U_SIG' within
  192. 'RX_PPDU_END' Set to zero if the TLV is not included<legal
  193. 0, 48, 54>
  194. */
  195. #define RXPCU_PPDU_END_LAYOUT_INFO_GENERIC_U_SIG_OFFSET_OFFSET 0x00000004
  196. #define RXPCU_PPDU_END_LAYOUT_INFO_GENERIC_U_SIG_OFFSET_LSB 18
  197. #define RXPCU_PPDU_END_LAYOUT_INFO_GENERIC_U_SIG_OFFSET_MSB 23
  198. #define RXPCU_PPDU_END_LAYOUT_INFO_GENERIC_U_SIG_OFFSET_MASK 0x00fc0000
  199. /* Description RSSI_HT_OFFSET
  200. Offset in units of 4 bytes of 'PHYRX_RSSI_HT' within 'RX_PPDU_END'
  201. Set to zero if the TLV is not included<legal 0, 49-127>
  202. */
  203. #define RXPCU_PPDU_END_LAYOUT_INFO_RSSI_HT_OFFSET_OFFSET 0x00000004
  204. #define RXPCU_PPDU_END_LAYOUT_INFO_RSSI_HT_OFFSET_LSB 24
  205. #define RXPCU_PPDU_END_LAYOUT_INFO_RSSI_HT_OFFSET_MSB 30
  206. #define RXPCU_PPDU_END_LAYOUT_INFO_RSSI_HT_OFFSET_MASK 0x7f000000
  207. /* Description RESERVED_1A
  208. <legal 0>
  209. */
  210. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_1A_OFFSET 0x00000004
  211. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_1A_LSB 31
  212. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_1A_MSB 31
  213. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_1A_MASK 0x80000000
  214. /* Description VHT_SIG_B_SU20_OFFSET
  215. Offset in units of 4 bytes of 'PHYRX_VHT_SIG_B_SU20' within
  216. 'RX_PPDU_END' Set to zero if the TLV is not included<legal
  217. 0, 67, 74>
  218. */
  219. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_SU20_OFFSET_OFFSET 0x00000008
  220. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_SU20_OFFSET_LSB 0
  221. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_SU20_OFFSET_MSB 6
  222. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_SU20_OFFSET_MASK 0x0000007f
  223. /* Description VHT_SIG_B_SU40_OFFSET
  224. Offset in units of 4 bytes of 'PHYRX_VHT_SIG_B_SU40' within
  225. 'RX_PPDU_END' Set to zero if the TLV is not included<legal
  226. 0, 67, 74>
  227. */
  228. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_SU40_OFFSET_OFFSET 0x00000008
  229. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_SU40_OFFSET_LSB 7
  230. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_SU40_OFFSET_MSB 13
  231. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_SU40_OFFSET_MASK 0x00003f80
  232. /* Description VHT_SIG_B_SU80_OFFSET
  233. Offset in units of 4 bytes of 'PHYRX_VHT_SIG_B_SU80' within
  234. 'RX_PPDU_END' Set to zero if the TLV is not included<legal
  235. 0, 67, 74>
  236. */
  237. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_SU80_OFFSET_OFFSET 0x00000008
  238. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_SU80_OFFSET_LSB 14
  239. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_SU80_OFFSET_MSB 20
  240. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_SU80_OFFSET_MASK 0x001fc000
  241. /* Description VHT_SIG_B_SU160_OFFSET
  242. Offset in units of 4 bytes of 'PHYRX_VHT_SIG_B_SU160' within
  243. 'RX_PPDU_END' Set to zero if the TLV is not included<legal
  244. 0, 67, 74>
  245. */
  246. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_SU160_OFFSET_OFFSET 0x00000008
  247. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_SU160_OFFSET_LSB 21
  248. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_SU160_OFFSET_MSB 27
  249. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_SU160_OFFSET_MASK 0x0fe00000
  250. /* Description RESERVED_2A
  251. <legal 0>
  252. */
  253. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_2A_OFFSET 0x00000008
  254. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_2A_LSB 28
  255. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_2A_MSB 31
  256. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_2A_MASK 0xf0000000
  257. /* Description VHT_SIG_B_MU20_OFFSET
  258. Offset in units of 4 bytes of 'PHYRX_VHT_SIG_B_MU20' within
  259. 'RX_PPDU_END' Set to zero if the TLV is not included<legal
  260. 0, 67, 74>
  261. */
  262. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_MU20_OFFSET_OFFSET 0x0000000c
  263. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_MU20_OFFSET_LSB 0
  264. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_MU20_OFFSET_MSB 6
  265. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_MU20_OFFSET_MASK 0x0000007f
  266. /* Description VHT_SIG_B_MU40_OFFSET
  267. Offset in units of 4 bytes of 'PHYRX_VHT_SIG_B_MU40' within
  268. 'RX_PPDU_END' Set to zero if the TLV is not included<legal
  269. 0, 67, 74>
  270. */
  271. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_MU40_OFFSET_OFFSET 0x0000000c
  272. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_MU40_OFFSET_LSB 7
  273. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_MU40_OFFSET_MSB 13
  274. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_MU40_OFFSET_MASK 0x00003f80
  275. /* Description VHT_SIG_B_MU80_OFFSET
  276. Offset in units of 4 bytes of 'PHYRX_VHT_SIG_B_MU80' within
  277. 'RX_PPDU_END' Set to zero if the TLV is not included<legal
  278. 0, 67, 74>
  279. */
  280. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_MU80_OFFSET_OFFSET 0x0000000c
  281. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_MU80_OFFSET_LSB 14
  282. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_MU80_OFFSET_MSB 20
  283. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_MU80_OFFSET_MASK 0x001fc000
  284. /* Description VHT_SIG_B_MU160_OFFSET
  285. Offset in units of 4 bytes of 'PHYRX_VHT_SIG_B_MU160' within
  286. 'RX_PPDU_END' Set to zero if the TLV is not included<legal
  287. 0, 67, 74>
  288. */
  289. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_MU160_OFFSET_OFFSET 0x0000000c
  290. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_MU160_OFFSET_LSB 21
  291. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_MU160_OFFSET_MSB 27
  292. #define RXPCU_PPDU_END_LAYOUT_INFO_VHT_SIG_B_MU160_OFFSET_MASK 0x0fe00000
  293. /* Description RESERVED_3A
  294. <legal 0>
  295. */
  296. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_3A_OFFSET 0x0000000c
  297. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_3A_LSB 28
  298. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_3A_MSB 31
  299. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_3A_MASK 0xf0000000
  300. /* Description HE_SIG_B1_MU_OFFSET
  301. Offset in units of 4 bytes of 'PHYRX_HE_SIG_B1_MU' within
  302. 'RX_PPDU_END' Set to zero if the TLV is not included<legal
  303. 0, 51, 58>
  304. */
  305. #define RXPCU_PPDU_END_LAYOUT_INFO_HE_SIG_B1_MU_OFFSET_OFFSET 0x00000010
  306. #define RXPCU_PPDU_END_LAYOUT_INFO_HE_SIG_B1_MU_OFFSET_LSB 0
  307. #define RXPCU_PPDU_END_LAYOUT_INFO_HE_SIG_B1_MU_OFFSET_MSB 6
  308. #define RXPCU_PPDU_END_LAYOUT_INFO_HE_SIG_B1_MU_OFFSET_MASK 0x0000007f
  309. /* Description HE_SIG_B2_MU_OFFSET
  310. Offset in units of 4 bytes of 'PHYRX_HE_SIG_B2_MU' within
  311. 'RX_PPDU_END' Set to zero if the TLV is not included<legal
  312. 0, 51, 58>
  313. */
  314. #define RXPCU_PPDU_END_LAYOUT_INFO_HE_SIG_B2_MU_OFFSET_OFFSET 0x00000010
  315. #define RXPCU_PPDU_END_LAYOUT_INFO_HE_SIG_B2_MU_OFFSET_LSB 7
  316. #define RXPCU_PPDU_END_LAYOUT_INFO_HE_SIG_B2_MU_OFFSET_MSB 13
  317. #define RXPCU_PPDU_END_LAYOUT_INFO_HE_SIG_B2_MU_OFFSET_MASK 0x00003f80
  318. /* Description HE_SIG_B2_OFDMA_OFFSET
  319. Offset in units of 4 bytes of 'PHYRX_HE_SIG_B2_OFDMA' within
  320. 'RX_PPDU_END' Set to zero if the TLV is not included<legal
  321. 0, 53, 62>
  322. */
  323. #define RXPCU_PPDU_END_LAYOUT_INFO_HE_SIG_B2_OFDMA_OFFSET_OFFSET 0x00000010
  324. #define RXPCU_PPDU_END_LAYOUT_INFO_HE_SIG_B2_OFDMA_OFFSET_LSB 14
  325. #define RXPCU_PPDU_END_LAYOUT_INFO_HE_SIG_B2_OFDMA_OFFSET_MSB 20
  326. #define RXPCU_PPDU_END_LAYOUT_INFO_HE_SIG_B2_OFDMA_OFFSET_MASK 0x001fc000
  327. /* Description FIRST_GENERIC_EHT_SIG_OFFSET
  328. Offset in units of 4 bytes of the first 'PHYRX_GENERIC_EHT_SIG'
  329. within 'RX_PPDU_END' Set to zero if the TLV is not included<legal
  330. 0, 51, 58>
  331. */
  332. #define RXPCU_PPDU_END_LAYOUT_INFO_FIRST_GENERIC_EHT_SIG_OFFSET_OFFSET 0x00000010
  333. #define RXPCU_PPDU_END_LAYOUT_INFO_FIRST_GENERIC_EHT_SIG_OFFSET_LSB 21
  334. #define RXPCU_PPDU_END_LAYOUT_INFO_FIRST_GENERIC_EHT_SIG_OFFSET_MSB 27
  335. #define RXPCU_PPDU_END_LAYOUT_INFO_FIRST_GENERIC_EHT_SIG_OFFSET_MASK 0x0fe00000
  336. /* Description MULTIPLE_GENERIC_EHT_SIG_INCLUDED
  337. Set to one if more than one 'PHYRX_GENERIC_EHT_SIG' TLVs
  338. are included in 'RX_PPDU_END,' set to zero otherwise
  339. <legal all>
  340. */
  341. #define RXPCU_PPDU_END_LAYOUT_INFO_MULTIPLE_GENERIC_EHT_SIG_INCLUDED_OFFSET 0x00000010
  342. #define RXPCU_PPDU_END_LAYOUT_INFO_MULTIPLE_GENERIC_EHT_SIG_INCLUDED_LSB 28
  343. #define RXPCU_PPDU_END_LAYOUT_INFO_MULTIPLE_GENERIC_EHT_SIG_INCLUDED_MSB 28
  344. #define RXPCU_PPDU_END_LAYOUT_INFO_MULTIPLE_GENERIC_EHT_SIG_INCLUDED_MASK 0x10000000
  345. /* Description RESERVED_4A
  346. <legal 0>
  347. */
  348. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_4A_OFFSET 0x00000010
  349. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_4A_LSB 29
  350. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_4A_MSB 31
  351. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_4A_MASK 0xe0000000
  352. /* Description COMMON_USER_INFO_OFFSET
  353. Offset in units of 4 bytes of 'PHYRX_COMMON_USER_INFO' within
  354. 'RX_PPDU_END' Set to zero if the TLV is not included<legal
  355. 0, 46, 50, 67, 70-127>
  356. */
  357. #define RXPCU_PPDU_END_LAYOUT_INFO_COMMON_USER_INFO_OFFSET_OFFSET 0x00000014
  358. #define RXPCU_PPDU_END_LAYOUT_INFO_COMMON_USER_INFO_OFFSET_LSB 0
  359. #define RXPCU_PPDU_END_LAYOUT_INFO_COMMON_USER_INFO_OFFSET_MSB 6
  360. #define RXPCU_PPDU_END_LAYOUT_INFO_COMMON_USER_INFO_OFFSET_MASK 0x0000007f
  361. /* Description FIRST_DEBUG_INFO_OFFSET
  362. Offset in units of 4 bytes of the first 'PHYRX_DEBUG_INFO'
  363. within 'RX_PPDU_END' Set to zero if the TLV is not included<legal
  364. all>
  365. */
  366. #define RXPCU_PPDU_END_LAYOUT_INFO_FIRST_DEBUG_INFO_OFFSET_OFFSET 0x00000014
  367. #define RXPCU_PPDU_END_LAYOUT_INFO_FIRST_DEBUG_INFO_OFFSET_LSB 7
  368. #define RXPCU_PPDU_END_LAYOUT_INFO_FIRST_DEBUG_INFO_OFFSET_MSB 14
  369. #define RXPCU_PPDU_END_LAYOUT_INFO_FIRST_DEBUG_INFO_OFFSET_MASK 0x00007f80
  370. /* Description MULTIPLE_DEBUG_INFO_INCLUDED
  371. Set to one if more than one 'PHYRX_DEBUG_INFO' TLVs are
  372. included in 'RX_PPDU_END,' set to zero otherwise<legal all>
  373. */
  374. #define RXPCU_PPDU_END_LAYOUT_INFO_MULTIPLE_DEBUG_INFO_INCLUDED_OFFSET 0x00000014
  375. #define RXPCU_PPDU_END_LAYOUT_INFO_MULTIPLE_DEBUG_INFO_INCLUDED_LSB 15
  376. #define RXPCU_PPDU_END_LAYOUT_INFO_MULTIPLE_DEBUG_INFO_INCLUDED_MSB 15
  377. #define RXPCU_PPDU_END_LAYOUT_INFO_MULTIPLE_DEBUG_INFO_INCLUDED_MASK 0x00008000
  378. /* Description FIRST_OTHER_RECEIVE_INFO_OFFSET
  379. Offset in units of 4 bytes of the first 'PHYRX_OTHER_RECEIVE_INFO'
  380. within 'RX_PPDU_END' Set to zero if the TLV is not included<legal
  381. all>
  382. */
  383. #define RXPCU_PPDU_END_LAYOUT_INFO_FIRST_OTHER_RECEIVE_INFO_OFFSET_OFFSET 0x00000014
  384. #define RXPCU_PPDU_END_LAYOUT_INFO_FIRST_OTHER_RECEIVE_INFO_OFFSET_LSB 16
  385. #define RXPCU_PPDU_END_LAYOUT_INFO_FIRST_OTHER_RECEIVE_INFO_OFFSET_MSB 23
  386. #define RXPCU_PPDU_END_LAYOUT_INFO_FIRST_OTHER_RECEIVE_INFO_OFFSET_MASK 0x00ff0000
  387. /* Description MULTIPLE_OTHER_RECEIVE_INFO_INCLUDED
  388. Set to one if more than one 'PHYRX_OTHER_RECEIVE_INFO' TLVs
  389. are included in 'RX_PPDU_END,' set to zero otherwise<legal
  390. all>
  391. */
  392. #define RXPCU_PPDU_END_LAYOUT_INFO_MULTIPLE_OTHER_RECEIVE_INFO_INCLUDED_OFFSET 0x00000014
  393. #define RXPCU_PPDU_END_LAYOUT_INFO_MULTIPLE_OTHER_RECEIVE_INFO_INCLUDED_LSB 24
  394. #define RXPCU_PPDU_END_LAYOUT_INFO_MULTIPLE_OTHER_RECEIVE_INFO_INCLUDED_MSB 24
  395. #define RXPCU_PPDU_END_LAYOUT_INFO_MULTIPLE_OTHER_RECEIVE_INFO_INCLUDED_MASK 0x01000000
  396. /* Description RESERVED_5A
  397. <legal 0>
  398. */
  399. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_5A_OFFSET 0x00000014
  400. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_5A_LSB 25
  401. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_5A_MSB 31
  402. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_5A_MASK 0xfe000000
  403. /* Description DATA_DONE_OFFSET
  404. Offset in units of 4 bytes of 'PHYRX_DATA_DONE' within 'RX_PPDU_END'
  405. Set to zero if the TLV is not included<legal all>
  406. */
  407. #define RXPCU_PPDU_END_LAYOUT_INFO_DATA_DONE_OFFSET_OFFSET 0x00000018
  408. #define RXPCU_PPDU_END_LAYOUT_INFO_DATA_DONE_OFFSET_LSB 0
  409. #define RXPCU_PPDU_END_LAYOUT_INFO_DATA_DONE_OFFSET_MSB 7
  410. #define RXPCU_PPDU_END_LAYOUT_INFO_DATA_DONE_OFFSET_MASK 0x000000ff
  411. /* Description GENERATED_CBF_DETAILS_OFFSET
  412. Offset in units of 4 bytes of 'PHYRX_GENERATED_CBF_DETAILS'
  413. within 'RX_PPDU_END'Set to zero if the TLV is not included<legal
  414. 0, 70-127>
  415. */
  416. #define RXPCU_PPDU_END_LAYOUT_INFO_GENERATED_CBF_DETAILS_OFFSET_OFFSET 0x00000018
  417. #define RXPCU_PPDU_END_LAYOUT_INFO_GENERATED_CBF_DETAILS_OFFSET_LSB 8
  418. #define RXPCU_PPDU_END_LAYOUT_INFO_GENERATED_CBF_DETAILS_OFFSET_MSB 15
  419. #define RXPCU_PPDU_END_LAYOUT_INFO_GENERATED_CBF_DETAILS_OFFSET_MASK 0x0000ff00
  420. /* Description PKT_END_PART1_OFFSET
  421. Offset in units of 4 bytes of 'PHYRX_PKT_END_PART1' within
  422. 'RX_PPDU_END' Set to zero if the TLV is not included<legal
  423. all>
  424. */
  425. #define RXPCU_PPDU_END_LAYOUT_INFO_PKT_END_PART1_OFFSET_OFFSET 0x00000018
  426. #define RXPCU_PPDU_END_LAYOUT_INFO_PKT_END_PART1_OFFSET_LSB 16
  427. #define RXPCU_PPDU_END_LAYOUT_INFO_PKT_END_PART1_OFFSET_MSB 23
  428. #define RXPCU_PPDU_END_LAYOUT_INFO_PKT_END_PART1_OFFSET_MASK 0x00ff0000
  429. /* Description LOCATION_OFFSET
  430. Offset in units of 4 bytes of 'PHYRX_LOCATION' within 'RX_PPDU_END'
  431. Set to zero if the TLV is not included<legal all>
  432. */
  433. #define RXPCU_PPDU_END_LAYOUT_INFO_LOCATION_OFFSET_OFFSET 0x00000018
  434. #define RXPCU_PPDU_END_LAYOUT_INFO_LOCATION_OFFSET_LSB 24
  435. #define RXPCU_PPDU_END_LAYOUT_INFO_LOCATION_OFFSET_MSB 31
  436. #define RXPCU_PPDU_END_LAYOUT_INFO_LOCATION_OFFSET_MASK 0xff000000
  437. /* Description AZ_INTEGRITY_DATA_OFFSET
  438. Offset in units of 4 bytes of 'PHYRX_11AZ_INTEGRITY_DATA'
  439. within 'RX_PPDU_END'
  440. Set to zero if the TLV is not included
  441. <legal all>
  442. */
  443. #define RXPCU_PPDU_END_LAYOUT_INFO_AZ_INTEGRITY_DATA_OFFSET_OFFSET 0x0000001c
  444. #define RXPCU_PPDU_END_LAYOUT_INFO_AZ_INTEGRITY_DATA_OFFSET_LSB 0
  445. #define RXPCU_PPDU_END_LAYOUT_INFO_AZ_INTEGRITY_DATA_OFFSET_MSB 7
  446. #define RXPCU_PPDU_END_LAYOUT_INFO_AZ_INTEGRITY_DATA_OFFSET_MASK 0x000000ff
  447. /* Description PKT_END_OFFSET
  448. Offset in units of 4 bytes of 'PHYRX_PKT_END' within 'RX_PPDU_END'
  449. Set to zero if the TLV is not included<legal all>
  450. */
  451. #define RXPCU_PPDU_END_LAYOUT_INFO_PKT_END_OFFSET_OFFSET 0x0000001c
  452. #define RXPCU_PPDU_END_LAYOUT_INFO_PKT_END_OFFSET_LSB 8
  453. #define RXPCU_PPDU_END_LAYOUT_INFO_PKT_END_OFFSET_MSB 15
  454. #define RXPCU_PPDU_END_LAYOUT_INFO_PKT_END_OFFSET_MASK 0x0000ff00
  455. /* Description ABORT_REQUEST_ACK_OFFSET
  456. Offset in units of 4 bytes of either 'PHYRX_ABORT_REQUEST'
  457. or 'PHYRX_ABORT_ACK' within 'RX_PPDU_END'
  458. Set to zero if the TLV is not included
  459. <legal all>
  460. */
  461. #define RXPCU_PPDU_END_LAYOUT_INFO_ABORT_REQUEST_ACK_OFFSET_OFFSET 0x0000001c
  462. #define RXPCU_PPDU_END_LAYOUT_INFO_ABORT_REQUEST_ACK_OFFSET_LSB 16
  463. #define RXPCU_PPDU_END_LAYOUT_INFO_ABORT_REQUEST_ACK_OFFSET_MSB 23
  464. #define RXPCU_PPDU_END_LAYOUT_INFO_ABORT_REQUEST_ACK_OFFSET_MASK 0x00ff0000
  465. /* Description RESERVED_7A
  466. Spare space in case the widths of the above offsets grow<legal
  467. all>
  468. */
  469. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_7A_OFFSET 0x0000001c
  470. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_7A_LSB 24
  471. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_7A_MSB 31
  472. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_7A_MASK 0xff000000
  473. /* Description RESERVED_8A
  474. Spare space in case the widths of the above offsets grow
  475. <legal all>
  476. */
  477. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_8A_OFFSET 0x00000020
  478. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_8A_LSB 0
  479. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_8A_MSB 31
  480. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_8A_MASK 0xffffffff
  481. /* Description RESERVED_9A
  482. Spare space in case the widths of the above offsets grow
  483. <legal all>
  484. */
  485. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_9A_OFFSET 0x00000024
  486. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_9A_LSB 0
  487. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_9A_MSB 31
  488. #define RXPCU_PPDU_END_LAYOUT_INFO_RESERVED_9A_MASK 0xffffffff
  489. #endif // RXPCU_PPDU_END_LAYOUT_INFO