rxpcu_ppdu_end_layout_info.h 32 KB

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