rx_reo_queue_ext.h 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360
  1. /*
  2. * Copyright (c) 2016-2017 The Linux Foundation. All rights reserved.
  3. *
  4. * Permission to use, copy, modify, and/or distribute this software for
  5. * any purpose with or without fee is hereby granted, provided that the
  6. * above copyright notice and this permission notice appear in all
  7. * copies.
  8. *
  9. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
  10. * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
  11. * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
  12. * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
  13. * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
  14. * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  15. * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  16. * PERFORMANCE OF THIS SOFTWARE.
  17. */
  18. // $ATH_LICENSE_HW_HDR_C$
  19. //
  20. // DO NOT EDIT! This file is automatically generated
  21. // These definitions are tied to a particular hardware layout
  22. #ifndef _RX_REO_QUEUE_EXT_H_
  23. #define _RX_REO_QUEUE_EXT_H_
  24. #if !defined(__ASSEMBLER__)
  25. #endif
  26. #include "uniform_descriptor_header.h"
  27. #include "rx_mpdu_link_ptr.h"
  28. // ################ START SUMMARY #################
  29. //
  30. // Dword Fields
  31. // 0 struct uniform_descriptor_header descriptor_header;
  32. // 1 reserved_1a[31:0]
  33. // 2-3 struct rx_mpdu_link_ptr mpdu_link_pointer_0;
  34. // 4-5 struct rx_mpdu_link_ptr mpdu_link_pointer_1;
  35. // 6-7 struct rx_mpdu_link_ptr mpdu_link_pointer_2;
  36. // 8-9 struct rx_mpdu_link_ptr mpdu_link_pointer_3;
  37. // 10-11 struct rx_mpdu_link_ptr mpdu_link_pointer_4;
  38. // 12-13 struct rx_mpdu_link_ptr mpdu_link_pointer_5;
  39. // 14-15 struct rx_mpdu_link_ptr mpdu_link_pointer_6;
  40. // 16-17 struct rx_mpdu_link_ptr mpdu_link_pointer_7;
  41. // 18-19 struct rx_mpdu_link_ptr mpdu_link_pointer_8;
  42. // 20-21 struct rx_mpdu_link_ptr mpdu_link_pointer_9;
  43. // 22-23 struct rx_mpdu_link_ptr mpdu_link_pointer_10;
  44. // 24-25 struct rx_mpdu_link_ptr mpdu_link_pointer_11;
  45. // 26-27 struct rx_mpdu_link_ptr mpdu_link_pointer_12;
  46. // 28-29 struct rx_mpdu_link_ptr mpdu_link_pointer_13;
  47. // 30-31 struct rx_mpdu_link_ptr mpdu_link_pointer_14;
  48. //
  49. // ################ END SUMMARY #################
  50. #define NUM_OF_DWORDS_RX_REO_QUEUE_EXT 32
  51. struct rx_reo_queue_ext {
  52. struct uniform_descriptor_header descriptor_header;
  53. uint32_t reserved_1a : 32; //[31:0]
  54. struct rx_mpdu_link_ptr mpdu_link_pointer_0;
  55. struct rx_mpdu_link_ptr mpdu_link_pointer_1;
  56. struct rx_mpdu_link_ptr mpdu_link_pointer_2;
  57. struct rx_mpdu_link_ptr mpdu_link_pointer_3;
  58. struct rx_mpdu_link_ptr mpdu_link_pointer_4;
  59. struct rx_mpdu_link_ptr mpdu_link_pointer_5;
  60. struct rx_mpdu_link_ptr mpdu_link_pointer_6;
  61. struct rx_mpdu_link_ptr mpdu_link_pointer_7;
  62. struct rx_mpdu_link_ptr mpdu_link_pointer_8;
  63. struct rx_mpdu_link_ptr mpdu_link_pointer_9;
  64. struct rx_mpdu_link_ptr mpdu_link_pointer_10;
  65. struct rx_mpdu_link_ptr mpdu_link_pointer_11;
  66. struct rx_mpdu_link_ptr mpdu_link_pointer_12;
  67. struct rx_mpdu_link_ptr mpdu_link_pointer_13;
  68. struct rx_mpdu_link_ptr mpdu_link_pointer_14;
  69. };
  70. /*
  71. struct uniform_descriptor_header descriptor_header
  72. Details about which module owns this struct.
  73. Note that sub field Buffer_type shall be set to
  74. Receive_REO_queue_ext_descriptor
  75. reserved_1a
  76. <legal 0>
  77. struct rx_mpdu_link_ptr mpdu_link_pointer_0
  78. Consumer: REO
  79. Producer: REO
  80. Pointer to the next MPDU_link descriptor in the MPDU
  81. queue
  82. struct rx_mpdu_link_ptr mpdu_link_pointer_1
  83. Consumer: REO
  84. Producer: REO
  85. Pointer to the next MPDU_link descriptor in the MPDU
  86. queue
  87. struct rx_mpdu_link_ptr mpdu_link_pointer_2
  88. Consumer: REO
  89. Producer: REO
  90. Pointer to the next MPDU_link descriptor in the MPDU
  91. queue
  92. struct rx_mpdu_link_ptr mpdu_link_pointer_3
  93. Consumer: REO
  94. Producer: REO
  95. Pointer to the next MPDU_link descriptor in the MPDU
  96. queue
  97. struct rx_mpdu_link_ptr mpdu_link_pointer_4
  98. Consumer: REO
  99. Producer: REO
  100. Pointer to the next MPDU_link descriptor in the MPDU
  101. queue
  102. struct rx_mpdu_link_ptr mpdu_link_pointer_5
  103. Consumer: REO
  104. Producer: REO
  105. Pointer to the next MPDU_link descriptor in the MPDU
  106. queue
  107. struct rx_mpdu_link_ptr mpdu_link_pointer_6
  108. Consumer: REO
  109. Producer: REO
  110. Pointer to the next MPDU_link descriptor in the MPDU
  111. queue
  112. struct rx_mpdu_link_ptr mpdu_link_pointer_7
  113. Consumer: REO
  114. Producer: REO
  115. Pointer to the next MPDU_link descriptor in the MPDU
  116. queue
  117. struct rx_mpdu_link_ptr mpdu_link_pointer_8
  118. Consumer: REO
  119. Producer: REO
  120. Pointer to the next MPDU_link descriptor in the MPDU
  121. queue
  122. struct rx_mpdu_link_ptr mpdu_link_pointer_9
  123. Consumer: REO
  124. Producer: REO
  125. Pointer to the next MPDU_link descriptor in the MPDU
  126. queue
  127. struct rx_mpdu_link_ptr mpdu_link_pointer_10
  128. Consumer: REO
  129. Producer: REO
  130. Pointer to the next MPDU_link descriptor in the MPDU
  131. queue
  132. struct rx_mpdu_link_ptr mpdu_link_pointer_11
  133. Consumer: REO
  134. Producer: REO
  135. Pointer to the next MPDU_link descriptor in the MPDU
  136. queue
  137. struct rx_mpdu_link_ptr mpdu_link_pointer_12
  138. Consumer: REO
  139. Producer: REO
  140. Pointer to the next MPDU_link descriptor in the MPDU
  141. queue
  142. struct rx_mpdu_link_ptr mpdu_link_pointer_13
  143. Consumer: REO
  144. Producer: REO
  145. Pointer to the next MPDU_link descriptor in the MPDU
  146. queue
  147. struct rx_mpdu_link_ptr mpdu_link_pointer_14
  148. Consumer: REO
  149. Producer: REO
  150. Pointer to the next MPDU_link descriptor in the MPDU
  151. queue
  152. */
  153. #define RX_REO_QUEUE_EXT_0_UNIFORM_DESCRIPTOR_HEADER_DESCRIPTOR_HEADER_OFFSET 0x00000000
  154. #define RX_REO_QUEUE_EXT_0_UNIFORM_DESCRIPTOR_HEADER_DESCRIPTOR_HEADER_LSB 0
  155. #define RX_REO_QUEUE_EXT_0_UNIFORM_DESCRIPTOR_HEADER_DESCRIPTOR_HEADER_MASK 0xffffffff
  156. /* Description RX_REO_QUEUE_EXT_1_RESERVED_1A
  157. <legal 0>
  158. */
  159. #define RX_REO_QUEUE_EXT_1_RESERVED_1A_OFFSET 0x00000004
  160. #define RX_REO_QUEUE_EXT_1_RESERVED_1A_LSB 0
  161. #define RX_REO_QUEUE_EXT_1_RESERVED_1A_MASK 0xffffffff
  162. #define RX_REO_QUEUE_EXT_2_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_0_OFFSET 0x00000008
  163. #define RX_REO_QUEUE_EXT_2_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_0_LSB 0
  164. #define RX_REO_QUEUE_EXT_2_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_0_MASK 0xffffffff
  165. #define RX_REO_QUEUE_EXT_3_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_0_OFFSET 0x0000000c
  166. #define RX_REO_QUEUE_EXT_3_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_0_LSB 0
  167. #define RX_REO_QUEUE_EXT_3_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_0_MASK 0xffffffff
  168. #define RX_REO_QUEUE_EXT_4_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_1_OFFSET 0x00000010
  169. #define RX_REO_QUEUE_EXT_4_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_1_LSB 0
  170. #define RX_REO_QUEUE_EXT_4_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_1_MASK 0xffffffff
  171. #define RX_REO_QUEUE_EXT_5_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_1_OFFSET 0x00000014
  172. #define RX_REO_QUEUE_EXT_5_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_1_LSB 0
  173. #define RX_REO_QUEUE_EXT_5_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_1_MASK 0xffffffff
  174. #define RX_REO_QUEUE_EXT_6_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_2_OFFSET 0x00000018
  175. #define RX_REO_QUEUE_EXT_6_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_2_LSB 0
  176. #define RX_REO_QUEUE_EXT_6_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_2_MASK 0xffffffff
  177. #define RX_REO_QUEUE_EXT_7_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_2_OFFSET 0x0000001c
  178. #define RX_REO_QUEUE_EXT_7_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_2_LSB 0
  179. #define RX_REO_QUEUE_EXT_7_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_2_MASK 0xffffffff
  180. #define RX_REO_QUEUE_EXT_8_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_3_OFFSET 0x00000020
  181. #define RX_REO_QUEUE_EXT_8_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_3_LSB 0
  182. #define RX_REO_QUEUE_EXT_8_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_3_MASK 0xffffffff
  183. #define RX_REO_QUEUE_EXT_9_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_3_OFFSET 0x00000024
  184. #define RX_REO_QUEUE_EXT_9_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_3_LSB 0
  185. #define RX_REO_QUEUE_EXT_9_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_3_MASK 0xffffffff
  186. #define RX_REO_QUEUE_EXT_10_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_4_OFFSET 0x00000028
  187. #define RX_REO_QUEUE_EXT_10_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_4_LSB 0
  188. #define RX_REO_QUEUE_EXT_10_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_4_MASK 0xffffffff
  189. #define RX_REO_QUEUE_EXT_11_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_4_OFFSET 0x0000002c
  190. #define RX_REO_QUEUE_EXT_11_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_4_LSB 0
  191. #define RX_REO_QUEUE_EXT_11_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_4_MASK 0xffffffff
  192. #define RX_REO_QUEUE_EXT_12_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_5_OFFSET 0x00000030
  193. #define RX_REO_QUEUE_EXT_12_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_5_LSB 0
  194. #define RX_REO_QUEUE_EXT_12_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_5_MASK 0xffffffff
  195. #define RX_REO_QUEUE_EXT_13_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_5_OFFSET 0x00000034
  196. #define RX_REO_QUEUE_EXT_13_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_5_LSB 0
  197. #define RX_REO_QUEUE_EXT_13_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_5_MASK 0xffffffff
  198. #define RX_REO_QUEUE_EXT_14_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_6_OFFSET 0x00000038
  199. #define RX_REO_QUEUE_EXT_14_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_6_LSB 0
  200. #define RX_REO_QUEUE_EXT_14_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_6_MASK 0xffffffff
  201. #define RX_REO_QUEUE_EXT_15_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_6_OFFSET 0x0000003c
  202. #define RX_REO_QUEUE_EXT_15_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_6_LSB 0
  203. #define RX_REO_QUEUE_EXT_15_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_6_MASK 0xffffffff
  204. #define RX_REO_QUEUE_EXT_16_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_7_OFFSET 0x00000040
  205. #define RX_REO_QUEUE_EXT_16_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_7_LSB 0
  206. #define RX_REO_QUEUE_EXT_16_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_7_MASK 0xffffffff
  207. #define RX_REO_QUEUE_EXT_17_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_7_OFFSET 0x00000044
  208. #define RX_REO_QUEUE_EXT_17_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_7_LSB 0
  209. #define RX_REO_QUEUE_EXT_17_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_7_MASK 0xffffffff
  210. #define RX_REO_QUEUE_EXT_18_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_8_OFFSET 0x00000048
  211. #define RX_REO_QUEUE_EXT_18_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_8_LSB 0
  212. #define RX_REO_QUEUE_EXT_18_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_8_MASK 0xffffffff
  213. #define RX_REO_QUEUE_EXT_19_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_8_OFFSET 0x0000004c
  214. #define RX_REO_QUEUE_EXT_19_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_8_LSB 0
  215. #define RX_REO_QUEUE_EXT_19_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_8_MASK 0xffffffff
  216. #define RX_REO_QUEUE_EXT_20_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_9_OFFSET 0x00000050
  217. #define RX_REO_QUEUE_EXT_20_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_9_LSB 0
  218. #define RX_REO_QUEUE_EXT_20_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_9_MASK 0xffffffff
  219. #define RX_REO_QUEUE_EXT_21_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_9_OFFSET 0x00000054
  220. #define RX_REO_QUEUE_EXT_21_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_9_LSB 0
  221. #define RX_REO_QUEUE_EXT_21_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_9_MASK 0xffffffff
  222. #define RX_REO_QUEUE_EXT_22_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_10_OFFSET 0x00000058
  223. #define RX_REO_QUEUE_EXT_22_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_10_LSB 0
  224. #define RX_REO_QUEUE_EXT_22_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_10_MASK 0xffffffff
  225. #define RX_REO_QUEUE_EXT_23_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_10_OFFSET 0x0000005c
  226. #define RX_REO_QUEUE_EXT_23_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_10_LSB 0
  227. #define RX_REO_QUEUE_EXT_23_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_10_MASK 0xffffffff
  228. #define RX_REO_QUEUE_EXT_24_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_11_OFFSET 0x00000060
  229. #define RX_REO_QUEUE_EXT_24_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_11_LSB 0
  230. #define RX_REO_QUEUE_EXT_24_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_11_MASK 0xffffffff
  231. #define RX_REO_QUEUE_EXT_25_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_11_OFFSET 0x00000064
  232. #define RX_REO_QUEUE_EXT_25_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_11_LSB 0
  233. #define RX_REO_QUEUE_EXT_25_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_11_MASK 0xffffffff
  234. #define RX_REO_QUEUE_EXT_26_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_12_OFFSET 0x00000068
  235. #define RX_REO_QUEUE_EXT_26_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_12_LSB 0
  236. #define RX_REO_QUEUE_EXT_26_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_12_MASK 0xffffffff
  237. #define RX_REO_QUEUE_EXT_27_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_12_OFFSET 0x0000006c
  238. #define RX_REO_QUEUE_EXT_27_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_12_LSB 0
  239. #define RX_REO_QUEUE_EXT_27_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_12_MASK 0xffffffff
  240. #define RX_REO_QUEUE_EXT_28_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_13_OFFSET 0x00000070
  241. #define RX_REO_QUEUE_EXT_28_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_13_LSB 0
  242. #define RX_REO_QUEUE_EXT_28_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_13_MASK 0xffffffff
  243. #define RX_REO_QUEUE_EXT_29_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_13_OFFSET 0x00000074
  244. #define RX_REO_QUEUE_EXT_29_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_13_LSB 0
  245. #define RX_REO_QUEUE_EXT_29_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_13_MASK 0xffffffff
  246. #define RX_REO_QUEUE_EXT_30_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_14_OFFSET 0x00000078
  247. #define RX_REO_QUEUE_EXT_30_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_14_LSB 0
  248. #define RX_REO_QUEUE_EXT_30_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_14_MASK 0xffffffff
  249. #define RX_REO_QUEUE_EXT_31_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_14_OFFSET 0x0000007c
  250. #define RX_REO_QUEUE_EXT_31_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_14_LSB 0
  251. #define RX_REO_QUEUE_EXT_31_RX_MPDU_LINK_PTR_MPDU_LINK_POINTER_14_MASK 0xffffffff
  252. #endif // _RX_REO_QUEUE_EXT_H_