rxpt_classify_info.h 6.8 KB

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