rxpt_classify_info.h 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  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 _RXPT_CLASSIFY_INFO_H_
  23. #define _RXPT_CLASSIFY_INFO_H_
  24. #if !defined(__ASSEMBLER__)
  25. #endif
  26. // ################ START SUMMARY #################
  27. //
  28. // Dword Fields
  29. // 0 reo_destination_indication[4:0], use_flow_id_toeplitz_clfy[5], reserved_0a[31:6]
  30. //
  31. // ################ END SUMMARY #################
  32. #define NUM_OF_DWORDS_RXPT_CLASSIFY_INFO 1
  33. struct rxpt_classify_info {
  34. uint32_t reo_destination_indication : 5, //[4:0]
  35. use_flow_id_toeplitz_clfy : 1, //[5]
  36. reserved_0a : 26; //[31:6]
  37. };
  38. /*
  39. reo_destination_indication
  40. The ID of the REO exit ring where the MSDU frame shall
  41. push after (MPDU level) reordering has finished.
  42. <enum 0 reo_destination_tcl> Reo will push the frame
  43. into the REO2TCL ring
  44. <enum 1 reo_destination_sw1> Reo will push the frame
  45. into the REO2SW1 ring
  46. <enum 2 reo_destination_sw2> Reo will push the frame
  47. into the REO2SW1 ring
  48. <enum 3 reo_destination_sw3> Reo will push the frame
  49. into the REO2SW1 ring
  50. <enum 4 reo_destination_sw4> Reo will push the frame
  51. into the REO2SW1 ring
  52. <enum 5 reo_destination_release> Reo will push the frame
  53. into the REO_release ring
  54. <enum 6 reo_destination_fw> Reo will push the frame into
  55. the REO2FW ring
  56. <enum 7 reo_destination_7> REO remaps this
  57. <enum 8 reo_destination_8> REO remaps this <enum 9
  58. reo_destination_9> REO remaps this <enum 10
  59. reo_destination_10> REO remaps this
  60. <enum 11 reo_destination_11> REO remaps this
  61. <enum 12 reo_destination_12> REO remaps this <enum 13
  62. reo_destination_13> REO remaps this
  63. <enum 14 reo_destination_14> REO remaps this
  64. <enum 15 reo_destination_15> REO remaps this
  65. <enum 16 reo_destination_16> REO remaps this
  66. <enum 17 reo_destination_17> REO remaps this
  67. <enum 18 reo_destination_18> REO remaps this
  68. <enum 19 reo_destination_19> REO remaps this
  69. <enum 20 reo_destination_20> REO remaps this
  70. <enum 21 reo_destination_21> REO remaps this
  71. <enum 22 reo_destination_22> REO remaps this
  72. <enum 23 reo_destination_23> REO remaps this
  73. <enum 24 reo_destination_24> REO remaps this
  74. <enum 25 reo_destination_25> REO remaps this
  75. <enum 26 reo_destination_26> REO remaps this
  76. <enum 27 reo_destination_27> REO remaps this
  77. <enum 28 reo_destination_28> REO remaps this
  78. <enum 29 reo_destination_29> REO remaps this
  79. <enum 30 reo_destination_30> REO remaps this
  80. <enum 31 reo_destination_31> REO remaps this
  81. <legal all>
  82. use_flow_id_toeplitz_clfy
  83. indication to Rx OLE to enable classification based on
  84. 'flow_id_toeplitz' from Common Parser, in case flow search
  85. fails
  86. <legal all>
  87. reserved_0a
  88. <legal 0>
  89. */
  90. /* Description RXPT_CLASSIFY_INFO_0_REO_DESTINATION_INDICATION
  91. The ID of the REO exit ring where the MSDU frame shall
  92. push after (MPDU level) reordering has finished.
  93. <enum 0 reo_destination_tcl> Reo will push the frame
  94. into the REO2TCL ring
  95. <enum 1 reo_destination_sw1> Reo will push the frame
  96. into the REO2SW1 ring
  97. <enum 2 reo_destination_sw2> Reo will push the frame
  98. into the REO2SW1 ring
  99. <enum 3 reo_destination_sw3> Reo will push the frame
  100. into the REO2SW1 ring
  101. <enum 4 reo_destination_sw4> Reo will push the frame
  102. into the REO2SW1 ring
  103. <enum 5 reo_destination_release> Reo will push the frame
  104. into the REO_release ring
  105. <enum 6 reo_destination_fw> Reo will push the frame into
  106. the REO2FW ring
  107. <enum 7 reo_destination_7> REO remaps this
  108. <enum 8 reo_destination_8> REO remaps this <enum 9
  109. reo_destination_9> REO remaps this <enum 10
  110. reo_destination_10> REO remaps this
  111. <enum 11 reo_destination_11> REO remaps this
  112. <enum 12 reo_destination_12> REO remaps this <enum 13
  113. reo_destination_13> REO remaps this
  114. <enum 14 reo_destination_14> REO remaps this
  115. <enum 15 reo_destination_15> REO remaps this
  116. <enum 16 reo_destination_16> REO remaps this
  117. <enum 17 reo_destination_17> REO remaps this
  118. <enum 18 reo_destination_18> REO remaps this
  119. <enum 19 reo_destination_19> REO remaps this
  120. <enum 20 reo_destination_20> REO remaps this
  121. <enum 21 reo_destination_21> REO remaps this
  122. <enum 22 reo_destination_22> REO remaps this
  123. <enum 23 reo_destination_23> REO remaps this
  124. <enum 24 reo_destination_24> REO remaps this
  125. <enum 25 reo_destination_25> REO remaps this
  126. <enum 26 reo_destination_26> REO remaps this
  127. <enum 27 reo_destination_27> REO remaps this
  128. <enum 28 reo_destination_28> REO remaps this
  129. <enum 29 reo_destination_29> REO remaps this
  130. <enum 30 reo_destination_30> REO remaps this
  131. <enum 31 reo_destination_31> REO remaps this
  132. <legal all>
  133. */
  134. #define RXPT_CLASSIFY_INFO_0_REO_DESTINATION_INDICATION_OFFSET 0x00000000
  135. #define RXPT_CLASSIFY_INFO_0_REO_DESTINATION_INDICATION_LSB 0
  136. #define RXPT_CLASSIFY_INFO_0_REO_DESTINATION_INDICATION_MASK 0x0000001f
  137. /* Description RXPT_CLASSIFY_INFO_0_USE_FLOW_ID_TOEPLITZ_CLFY
  138. indication to Rx OLE to enable classification based on
  139. 'flow_id_toeplitz' from Common Parser, in case flow search
  140. fails
  141. <legal all>
  142. */
  143. #define RXPT_CLASSIFY_INFO_0_USE_FLOW_ID_TOEPLITZ_CLFY_OFFSET 0x00000000
  144. #define RXPT_CLASSIFY_INFO_0_USE_FLOW_ID_TOEPLITZ_CLFY_LSB 5
  145. #define RXPT_CLASSIFY_INFO_0_USE_FLOW_ID_TOEPLITZ_CLFY_MASK 0x00000020
  146. /* Description RXPT_CLASSIFY_INFO_0_RESERVED_0A
  147. <legal 0>
  148. */
  149. #define RXPT_CLASSIFY_INFO_0_RESERVED_0A_OFFSET 0x00000000
  150. #define RXPT_CLASSIFY_INFO_0_RESERVED_0A_LSB 6
  151. #define RXPT_CLASSIFY_INFO_0_RESERVED_0A_MASK 0xffffffc0
  152. #endif // _RXPT_CLASSIFY_INFO_H_