rx_ppdu_end_user_stats.h 80 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839
  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 _RX_PPDU_END_USER_STATS_H_
  17. #define _RX_PPDU_END_USER_STATS_H_
  18. #if !defined(__ASSEMBLER__)
  19. #endif
  20. #include "rx_rxpcu_classification_overview.h"
  21. #define NUM_OF_DWORDS_RX_PPDU_END_USER_STATS 30
  22. #define NUM_OF_QWORDS_RX_PPDU_END_USER_STATS 15
  23. struct rx_ppdu_end_user_stats {
  24. #ifndef WIFI_BIT_ORDER_BIG_ENDIAN
  25. struct rx_rxpcu_classification_overview rxpcu_classification_details;
  26. uint32_t sta_full_aid : 13, // [12:0]
  27. mcs : 4, // [16:13]
  28. nss : 3, // [19:17]
  29. expected_response_ack_or_ba : 1, // [20:20]
  30. reserved_1a : 11; // [31:21]
  31. uint32_t sw_peer_id : 16, // [15:0]
  32. mpdu_cnt_fcs_err : 11, // [26:16]
  33. sw2rxdma0_buf_source_used : 1, // [27:27]
  34. fw2rxdma_pmac0_buf_source_used : 1, // [28:28]
  35. sw2rxdma1_buf_source_used : 1, // [29:29]
  36. sw2rxdma_exception_buf_source_used : 1, // [30:30]
  37. fw2rxdma_pmac1_buf_source_used : 1; // [31:31]
  38. uint32_t mpdu_cnt_fcs_ok : 11, // [10:0]
  39. frame_control_info_valid : 1, // [11:11]
  40. qos_control_info_valid : 1, // [12:12]
  41. ht_control_info_valid : 1, // [13:13]
  42. data_sequence_control_info_valid : 1, // [14:14]
  43. ht_control_info_null_valid : 1, // [15:15]
  44. rxdma2fw_pmac1_ring_used : 1, // [16:16]
  45. rxdma2reo_ring_used : 1, // [17:17]
  46. rxdma2fw_pmac0_ring_used : 1, // [18:18]
  47. rxdma2sw_ring_used : 1, // [19:19]
  48. rxdma_release_ring_used : 1, // [20:20]
  49. ht_control_field_pkt_type : 4, // [24:21]
  50. rxdma2reo_remote0_ring_used : 1, // [25:25]
  51. rxdma2reo_remote1_ring_used : 1, // [26:26]
  52. reserved_3b : 5; // [31:27]
  53. uint32_t ast_index : 16, // [15:0]
  54. frame_control_field : 16; // [31:16]
  55. uint32_t first_data_seq_ctrl : 16, // [15:0]
  56. qos_control_field : 16; // [31:16]
  57. uint32_t ht_control_field : 32; // [31:0]
  58. uint32_t fcs_ok_bitmap_31_0 : 32; // [31:0]
  59. uint32_t fcs_ok_bitmap_63_32 : 32; // [31:0]
  60. uint32_t udp_msdu_count : 16, // [15:0]
  61. tcp_msdu_count : 16; // [31:16]
  62. uint32_t other_msdu_count : 16, // [15:0]
  63. tcp_ack_msdu_count : 16; // [31:16]
  64. uint32_t sw_response_reference_ptr : 32; // [31:0]
  65. uint32_t received_qos_data_tid_bitmap : 16, // [15:0]
  66. received_qos_data_tid_eosp_bitmap : 16; // [31:16]
  67. uint32_t qosctrl_15_8_tid0 : 8, // [7:0]
  68. qosctrl_15_8_tid1 : 8, // [15:8]
  69. qosctrl_15_8_tid2 : 8, // [23:16]
  70. qosctrl_15_8_tid3 : 8; // [31:24]
  71. uint32_t qosctrl_15_8_tid4 : 8, // [7:0]
  72. qosctrl_15_8_tid5 : 8, // [15:8]
  73. qosctrl_15_8_tid6 : 8, // [23:16]
  74. qosctrl_15_8_tid7 : 8; // [31:24]
  75. uint32_t qosctrl_15_8_tid8 : 8, // [7:0]
  76. qosctrl_15_8_tid9 : 8, // [15:8]
  77. qosctrl_15_8_tid10 : 8, // [23:16]
  78. qosctrl_15_8_tid11 : 8; // [31:24]
  79. uint32_t qosctrl_15_8_tid12 : 8, // [7:0]
  80. qosctrl_15_8_tid13 : 8, // [15:8]
  81. qosctrl_15_8_tid14 : 8, // [23:16]
  82. qosctrl_15_8_tid15 : 8; // [31:24]
  83. uint32_t mpdu_ok_byte_count : 25, // [24:0]
  84. ampdu_delim_ok_count_6_0 : 7; // [31:25]
  85. uint32_t ampdu_delim_err_count : 25, // [24:0]
  86. ampdu_delim_ok_count_13_7 : 7; // [31:25]
  87. uint32_t mpdu_err_byte_count : 25, // [24:0]
  88. ampdu_delim_ok_count_20_14 : 7; // [31:25]
  89. uint32_t non_consecutive_delimiter_err : 16, // [15:0]
  90. retried_msdu_count : 16; // [31:16]
  91. uint32_t ht_control_null_field : 32; // [31:0]
  92. uint32_t sw_response_reference_ptr_ext : 32; // [31:0]
  93. uint32_t corrupted_due_to_fifo_delay : 1, // [0:0]
  94. frame_control_info_null_valid : 1, // [1:1]
  95. frame_control_field_null : 16, // [17:2]
  96. retried_mpdu_count : 11, // [28:18]
  97. reserved_23a : 3; // [31:29]
  98. uint32_t rxpcu_mpdu_filter_in_category : 2, // [1:0]
  99. sw_frame_group_id : 7, // [8:2]
  100. reserved_24a : 4, // [12:9]
  101. frame_control_info_mgmt_ctrl_valid : 1, // [13:13]
  102. mac_addr_ad2_valid : 1, // [14:14]
  103. mcast_bcast : 1, // [15:15]
  104. frame_control_field_mgmt_ctrl : 16; // [31:16]
  105. uint32_t user_ppdu_len : 24, // [23:0]
  106. reserved_25a : 8; // [31:24]
  107. uint32_t mac_addr_ad2_31_0 : 32; // [31:0]
  108. uint32_t mac_addr_ad2_47_32 : 16, // [15:0]
  109. amsdu_msdu_count : 16; // [31:16]
  110. uint32_t non_amsdu_msdu_count : 16, // [15:0]
  111. ucast_msdu_count : 16; // [31:16]
  112. uint32_t bcast_msdu_count : 16, // [15:0]
  113. mcast_bcast_msdu_count : 16; // [31:16]
  114. #else
  115. struct rx_rxpcu_classification_overview rxpcu_classification_details;
  116. uint32_t reserved_1a : 11, // [31:21]
  117. expected_response_ack_or_ba : 1, // [20:20]
  118. nss : 3, // [19:17]
  119. mcs : 4, // [16:13]
  120. sta_full_aid : 13; // [12:0]
  121. uint32_t fw2rxdma_pmac1_buf_source_used : 1, // [31:31]
  122. sw2rxdma_exception_buf_source_used : 1, // [30:30]
  123. sw2rxdma1_buf_source_used : 1, // [29:29]
  124. fw2rxdma_pmac0_buf_source_used : 1, // [28:28]
  125. sw2rxdma0_buf_source_used : 1, // [27:27]
  126. mpdu_cnt_fcs_err : 11, // [26:16]
  127. sw_peer_id : 16; // [15:0]
  128. uint32_t reserved_3b : 5, // [31:27]
  129. rxdma2reo_remote1_ring_used : 1, // [26:26]
  130. rxdma2reo_remote0_ring_used : 1, // [25:25]
  131. ht_control_field_pkt_type : 4, // [24:21]
  132. rxdma_release_ring_used : 1, // [20:20]
  133. rxdma2sw_ring_used : 1, // [19:19]
  134. rxdma2fw_pmac0_ring_used : 1, // [18:18]
  135. rxdma2reo_ring_used : 1, // [17:17]
  136. rxdma2fw_pmac1_ring_used : 1, // [16:16]
  137. ht_control_info_null_valid : 1, // [15:15]
  138. data_sequence_control_info_valid : 1, // [14:14]
  139. ht_control_info_valid : 1, // [13:13]
  140. qos_control_info_valid : 1, // [12:12]
  141. frame_control_info_valid : 1, // [11:11]
  142. mpdu_cnt_fcs_ok : 11; // [10:0]
  143. uint32_t frame_control_field : 16, // [31:16]
  144. ast_index : 16; // [15:0]
  145. uint32_t qos_control_field : 16, // [31:16]
  146. first_data_seq_ctrl : 16; // [15:0]
  147. uint32_t ht_control_field : 32; // [31:0]
  148. uint32_t fcs_ok_bitmap_31_0 : 32; // [31:0]
  149. uint32_t fcs_ok_bitmap_63_32 : 32; // [31:0]
  150. uint32_t tcp_msdu_count : 16, // [31:16]
  151. udp_msdu_count : 16; // [15:0]
  152. uint32_t tcp_ack_msdu_count : 16, // [31:16]
  153. other_msdu_count : 16; // [15:0]
  154. uint32_t sw_response_reference_ptr : 32; // [31:0]
  155. uint32_t received_qos_data_tid_eosp_bitmap : 16, // [31:16]
  156. received_qos_data_tid_bitmap : 16; // [15:0]
  157. uint32_t qosctrl_15_8_tid3 : 8, // [31:24]
  158. qosctrl_15_8_tid2 : 8, // [23:16]
  159. qosctrl_15_8_tid1 : 8, // [15:8]
  160. qosctrl_15_8_tid0 : 8; // [7:0]
  161. uint32_t qosctrl_15_8_tid7 : 8, // [31:24]
  162. qosctrl_15_8_tid6 : 8, // [23:16]
  163. qosctrl_15_8_tid5 : 8, // [15:8]
  164. qosctrl_15_8_tid4 : 8; // [7:0]
  165. uint32_t qosctrl_15_8_tid11 : 8, // [31:24]
  166. qosctrl_15_8_tid10 : 8, // [23:16]
  167. qosctrl_15_8_tid9 : 8, // [15:8]
  168. qosctrl_15_8_tid8 : 8; // [7:0]
  169. uint32_t qosctrl_15_8_tid15 : 8, // [31:24]
  170. qosctrl_15_8_tid14 : 8, // [23:16]
  171. qosctrl_15_8_tid13 : 8, // [15:8]
  172. qosctrl_15_8_tid12 : 8; // [7:0]
  173. uint32_t ampdu_delim_ok_count_6_0 : 7, // [31:25]
  174. mpdu_ok_byte_count : 25; // [24:0]
  175. uint32_t ampdu_delim_ok_count_13_7 : 7, // [31:25]
  176. ampdu_delim_err_count : 25; // [24:0]
  177. uint32_t ampdu_delim_ok_count_20_14 : 7, // [31:25]
  178. mpdu_err_byte_count : 25; // [24:0]
  179. uint32_t retried_msdu_count : 16, // [31:16]
  180. non_consecutive_delimiter_err : 16; // [15:0]
  181. uint32_t ht_control_null_field : 32; // [31:0]
  182. uint32_t sw_response_reference_ptr_ext : 32; // [31:0]
  183. uint32_t reserved_23a : 3, // [31:29]
  184. retried_mpdu_count : 11, // [28:18]
  185. frame_control_field_null : 16, // [17:2]
  186. frame_control_info_null_valid : 1, // [1:1]
  187. corrupted_due_to_fifo_delay : 1; // [0:0]
  188. uint32_t frame_control_field_mgmt_ctrl : 16, // [31:16]
  189. mcast_bcast : 1, // [15:15]
  190. mac_addr_ad2_valid : 1, // [14:14]
  191. frame_control_info_mgmt_ctrl_valid : 1, // [13:13]
  192. reserved_24a : 4, // [12:9]
  193. sw_frame_group_id : 7, // [8:2]
  194. rxpcu_mpdu_filter_in_category : 2; // [1:0]
  195. uint32_t reserved_25a : 8, // [31:24]
  196. user_ppdu_len : 24; // [23:0]
  197. uint32_t mac_addr_ad2_31_0 : 32; // [31:0]
  198. uint32_t amsdu_msdu_count : 16, // [31:16]
  199. mac_addr_ad2_47_32 : 16; // [15:0]
  200. uint32_t ucast_msdu_count : 16, // [31:16]
  201. non_amsdu_msdu_count : 16; // [15:0]
  202. uint32_t mcast_bcast_msdu_count : 16, // [31:16]
  203. bcast_msdu_count : 16; // [15:0]
  204. #endif
  205. };
  206. /* Description RXPCU_CLASSIFICATION_DETAILS
  207. Details related to what RXPCU classification types of MPDUs
  208. have been received
  209. */
  210. /* Description FILTER_PASS_MPDUS
  211. When set, at least one Filter Pass MPDU has been received.
  212. FCS might or might not have been passing.
  213. For MU UL, in TLVs RX_PPDU_END and RX_PPDU_END_STATUS_DONE,
  214. this field is the "OR of all the users.
  215. <legal all>
  216. */
  217. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_FILTER_PASS_MPDUS_OFFSET 0x0000000000000000
  218. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_FILTER_PASS_MPDUS_LSB 0
  219. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_FILTER_PASS_MPDUS_MSB 0
  220. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_FILTER_PASS_MPDUS_MASK 0x0000000000000001
  221. /* Description FILTER_PASS_MPDUS_FCS_OK
  222. When set, at least one Filter Pass MPDU has been received
  223. that has a correct FCS.
  224. For MU UL, in TLVs RX_PPDU_END and RX_PPDU_END_STATUS_DONE,
  225. this field is the "OR of all the users.
  226. <legal all>
  227. */
  228. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_FILTER_PASS_MPDUS_FCS_OK_OFFSET 0x0000000000000000
  229. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_FILTER_PASS_MPDUS_FCS_OK_LSB 1
  230. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_FILTER_PASS_MPDUS_FCS_OK_MSB 1
  231. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_FILTER_PASS_MPDUS_FCS_OK_MASK 0x0000000000000002
  232. /* Description MONITOR_DIRECT_MPDUS
  233. When set, at least one Monitor Direct MPDU has been received.
  234. FCS might or might not have been passing
  235. For MU UL, in TLVs RX_PPDU_END and RX_PPDU_END_STATUS_DONE,
  236. this field is the "OR of all the users.
  237. <legal all>
  238. */
  239. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_MONITOR_DIRECT_MPDUS_OFFSET 0x0000000000000000
  240. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_MONITOR_DIRECT_MPDUS_LSB 2
  241. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_MONITOR_DIRECT_MPDUS_MSB 2
  242. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_MONITOR_DIRECT_MPDUS_MASK 0x0000000000000004
  243. /* Description MONITOR_DIRECT_MPDUS_FCS_OK
  244. When set, at least one Monitor Direct MPDU has been received
  245. that has a correct FCS.
  246. For MU UL, in TLVs RX_PPDU_END and RX_PPDU_END_STATUS_DONE,
  247. this field is the "OR of all the users.
  248. <legal all>
  249. */
  250. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_MONITOR_DIRECT_MPDUS_FCS_OK_OFFSET 0x0000000000000000
  251. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_MONITOR_DIRECT_MPDUS_FCS_OK_LSB 3
  252. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_MONITOR_DIRECT_MPDUS_FCS_OK_MSB 3
  253. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_MONITOR_DIRECT_MPDUS_FCS_OK_MASK 0x0000000000000008
  254. /* Description MONITOR_OTHER_MPDUS
  255. When set, at least one Monitor Direct MPDU has been received.
  256. FCS might or might not have been passing.
  257. For MU UL, in TLVs RX_PPDU_END and RX_PPDU_END_STATUS_DONE,
  258. this field is the "OR of all the users.
  259. <legal all>
  260. */
  261. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_MONITOR_OTHER_MPDUS_OFFSET 0x0000000000000000
  262. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_MONITOR_OTHER_MPDUS_LSB 4
  263. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_MONITOR_OTHER_MPDUS_MSB 4
  264. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_MONITOR_OTHER_MPDUS_MASK 0x0000000000000010
  265. /* Description MONITOR_OTHER_MPDUS_FCS_OK
  266. When set, at least one Monitor Direct MPDU has been received
  267. that has a correct FCS.
  268. For MU UL, in TLVs RX_PPDU_END and RX_PPDU_END_STATUS_DONE,
  269. this field is the "OR of all the users.
  270. <legal all>
  271. */
  272. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_MONITOR_OTHER_MPDUS_FCS_OK_OFFSET 0x0000000000000000
  273. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_MONITOR_OTHER_MPDUS_FCS_OK_LSB 5
  274. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_MONITOR_OTHER_MPDUS_FCS_OK_MSB 5
  275. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_MONITOR_OTHER_MPDUS_FCS_OK_MASK 0x0000000000000020
  276. /* Description PHYRX_ABORT_RECEIVED
  277. When set, PPDU reception was aborted by the PHY
  278. <legal all>
  279. */
  280. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_PHYRX_ABORT_RECEIVED_OFFSET 0x0000000000000000
  281. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_PHYRX_ABORT_RECEIVED_LSB 6
  282. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_PHYRX_ABORT_RECEIVED_MSB 6
  283. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_PHYRX_ABORT_RECEIVED_MASK 0x0000000000000040
  284. /* Description FILTER_PASS_MONITOR_OVRD_MPDUS
  285. When set, at least one 'Filter Pass Monitor Override' MPDU
  286. has been received. FCS might or might not have been passing.
  287. For MU UL, in TLVs RX_PPDU_END and RX_PPDU_END_STATUS_DONE,
  288. this field is the "OR of all the users.
  289. <legal all>
  290. */
  291. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_FILTER_PASS_MONITOR_OVRD_MPDUS_OFFSET 0x0000000000000000
  292. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_FILTER_PASS_MONITOR_OVRD_MPDUS_LSB 7
  293. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_FILTER_PASS_MONITOR_OVRD_MPDUS_MSB 7
  294. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_FILTER_PASS_MONITOR_OVRD_MPDUS_MASK 0x0000000000000080
  295. /* Description FILTER_PASS_MONITOR_OVRD_MPDUS_FCS_OK
  296. When set, at least one 'Filter Pass Monitor Override' MPDU
  297. has been received that has a correct FCS.
  298. For MU UL, in TLVs RX_PPDU_END and RX_PPDU_END_STATUS_DONE,
  299. this field is the "OR of all the users.
  300. <legal all>
  301. */
  302. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_FILTER_PASS_MONITOR_OVRD_MPDUS_FCS_OK_OFFSET 0x0000000000000000
  303. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_FILTER_PASS_MONITOR_OVRD_MPDUS_FCS_OK_LSB 8
  304. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_FILTER_PASS_MONITOR_OVRD_MPDUS_FCS_OK_MSB 8
  305. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_FILTER_PASS_MONITOR_OVRD_MPDUS_FCS_OK_MASK 0x0000000000000100
  306. /* Description RESERVED_0
  307. <legal 0>
  308. */
  309. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_RESERVED_0_OFFSET 0x0000000000000000
  310. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_RESERVED_0_LSB 9
  311. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_RESERVED_0_MSB 15
  312. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_RESERVED_0_MASK 0x000000000000fe00
  313. /* Description PHY_PPDU_ID
  314. A ppdu counter value that PHY increments for every PPDU
  315. received. The counter value wraps around
  316. <legal all>
  317. */
  318. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_PHY_PPDU_ID_OFFSET 0x0000000000000000
  319. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_PHY_PPDU_ID_LSB 16
  320. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_PHY_PPDU_ID_MSB 31
  321. #define RX_PPDU_END_USER_STATS_RXPCU_CLASSIFICATION_DETAILS_PHY_PPDU_ID_MASK 0x00000000ffff0000
  322. /* Description STA_FULL_AID
  323. Consumer: FW
  324. Producer: RXPCU
  325. The full AID of this station.
  326. <legal all>
  327. */
  328. #define RX_PPDU_END_USER_STATS_STA_FULL_AID_OFFSET 0x0000000000000000
  329. #define RX_PPDU_END_USER_STATS_STA_FULL_AID_LSB 32
  330. #define RX_PPDU_END_USER_STATS_STA_FULL_AID_MSB 44
  331. #define RX_PPDU_END_USER_STATS_STA_FULL_AID_MASK 0x00001fff00000000
  332. /* Description MCS
  333. MCS of the received frame
  334. For details, refer to MCS_TYPE description
  335. Note: This is "rate" in case of 11a/11b
  336. <legal all>
  337. */
  338. #define RX_PPDU_END_USER_STATS_MCS_OFFSET 0x0000000000000000
  339. #define RX_PPDU_END_USER_STATS_MCS_LSB 45
  340. #define RX_PPDU_END_USER_STATS_MCS_MSB 48
  341. #define RX_PPDU_END_USER_STATS_MCS_MASK 0x0001e00000000000
  342. /* Description NSS
  343. Number of spatial streams.
  344. NOTE: RXPCU derives this from the 'Mimo_ss_bitmap'
  345. <enum 0 1_spatial_stream>Single spatial stream
  346. <enum 1 2_spatial_streams>2 spatial streams
  347. <enum 2 3_spatial_streams>3 spatial streams
  348. <enum 3 4_spatial_streams>4 spatial streams
  349. <enum 4 5_spatial_streams>5 spatial streams
  350. <enum 5 6_spatial_streams>6 spatial streams
  351. <enum 6 7_spatial_streams>7 spatial streams
  352. <enum 7 8_spatial_streams>8 spatial streams
  353. */
  354. #define RX_PPDU_END_USER_STATS_NSS_OFFSET 0x0000000000000000
  355. #define RX_PPDU_END_USER_STATS_NSS_LSB 49
  356. #define RX_PPDU_END_USER_STATS_NSS_MSB 51
  357. #define RX_PPDU_END_USER_STATS_NSS_MASK 0x000e000000000000
  358. /* Description EXPECTED_RESPONSE_ACK_OR_BA
  359. When set, it indicates an Ack or BA matching 'EXPECTED_RESPONSE'
  360. from TXPCU
  361. */
  362. #define RX_PPDU_END_USER_STATS_EXPECTED_RESPONSE_ACK_OR_BA_OFFSET 0x0000000000000000
  363. #define RX_PPDU_END_USER_STATS_EXPECTED_RESPONSE_ACK_OR_BA_LSB 52
  364. #define RX_PPDU_END_USER_STATS_EXPECTED_RESPONSE_ACK_OR_BA_MSB 52
  365. #define RX_PPDU_END_USER_STATS_EXPECTED_RESPONSE_ACK_OR_BA_MASK 0x0010000000000000
  366. /* Description RESERVED_1A
  367. <legal 0>
  368. */
  369. #define RX_PPDU_END_USER_STATS_RESERVED_1A_OFFSET 0x0000000000000000
  370. #define RX_PPDU_END_USER_STATS_RESERVED_1A_LSB 53
  371. #define RX_PPDU_END_USER_STATS_RESERVED_1A_MSB 63
  372. #define RX_PPDU_END_USER_STATS_RESERVED_1A_MASK 0xffe0000000000000
  373. /* Description SW_PEER_ID
  374. This field indicates a unique peer identifier, set from
  375. the field 'sw_peer_id' in the AST entry corresponding to
  376. this MPDU. It is provided by RXPCU.
  377. A value of 0xFFFF indicates no AST entry was found or no
  378. AST search was performed.
  379. <legal all>
  380. */
  381. #define RX_PPDU_END_USER_STATS_SW_PEER_ID_OFFSET 0x0000000000000008
  382. #define RX_PPDU_END_USER_STATS_SW_PEER_ID_LSB 0
  383. #define RX_PPDU_END_USER_STATS_SW_PEER_ID_MSB 15
  384. #define RX_PPDU_END_USER_STATS_SW_PEER_ID_MASK 0x000000000000ffff
  385. /* Description MPDU_CNT_FCS_ERR
  386. The number of MPDUs received from this STA in this PPDU
  387. with FCS errors
  388. <legal all>
  389. */
  390. #define RX_PPDU_END_USER_STATS_MPDU_CNT_FCS_ERR_OFFSET 0x0000000000000008
  391. #define RX_PPDU_END_USER_STATS_MPDU_CNT_FCS_ERR_LSB 16
  392. #define RX_PPDU_END_USER_STATS_MPDU_CNT_FCS_ERR_MSB 26
  393. #define RX_PPDU_END_USER_STATS_MPDU_CNT_FCS_ERR_MASK 0x0000000007ff0000
  394. /* Description SW2RXDMA0_BUF_SOURCE_USED
  395. Field filled in by RXDMA
  396. When set, RXDMA has used the sw2rxdma0 buffer ring as source
  397. for at least one of the frames in this PPDU.
  398. */
  399. #define RX_PPDU_END_USER_STATS_SW2RXDMA0_BUF_SOURCE_USED_OFFSET 0x0000000000000008
  400. #define RX_PPDU_END_USER_STATS_SW2RXDMA0_BUF_SOURCE_USED_LSB 27
  401. #define RX_PPDU_END_USER_STATS_SW2RXDMA0_BUF_SOURCE_USED_MSB 27
  402. #define RX_PPDU_END_USER_STATS_SW2RXDMA0_BUF_SOURCE_USED_MASK 0x0000000008000000
  403. /* Description FW2RXDMA_PMAC0_BUF_SOURCE_USED
  404. Field filled in by RXDMA
  405. When set, RXDMA has used the fw2rxdma buffer ring for PMAC0
  406. as source for at least one of the frames in this PPDU.
  407. */
  408. #define RX_PPDU_END_USER_STATS_FW2RXDMA_PMAC0_BUF_SOURCE_USED_OFFSET 0x0000000000000008
  409. #define RX_PPDU_END_USER_STATS_FW2RXDMA_PMAC0_BUF_SOURCE_USED_LSB 28
  410. #define RX_PPDU_END_USER_STATS_FW2RXDMA_PMAC0_BUF_SOURCE_USED_MSB 28
  411. #define RX_PPDU_END_USER_STATS_FW2RXDMA_PMAC0_BUF_SOURCE_USED_MASK 0x0000000010000000
  412. /* Description SW2RXDMA1_BUF_SOURCE_USED
  413. Field filled in by RXDMA
  414. When set, RXDMA has used the sw2rxdma1 buffer ring as source
  415. for at least one of the frames in this PPDU.
  416. */
  417. #define RX_PPDU_END_USER_STATS_SW2RXDMA1_BUF_SOURCE_USED_OFFSET 0x0000000000000008
  418. #define RX_PPDU_END_USER_STATS_SW2RXDMA1_BUF_SOURCE_USED_LSB 29
  419. #define RX_PPDU_END_USER_STATS_SW2RXDMA1_BUF_SOURCE_USED_MSB 29
  420. #define RX_PPDU_END_USER_STATS_SW2RXDMA1_BUF_SOURCE_USED_MASK 0x0000000020000000
  421. /* Description SW2RXDMA_EXCEPTION_BUF_SOURCE_USED
  422. Field filled in by RXDMA
  423. When set, RXDMA has used the sw2rxdma_exception buffer ring
  424. as source for at least one of the frames in this PPDU.
  425. */
  426. #define RX_PPDU_END_USER_STATS_SW2RXDMA_EXCEPTION_BUF_SOURCE_USED_OFFSET 0x0000000000000008
  427. #define RX_PPDU_END_USER_STATS_SW2RXDMA_EXCEPTION_BUF_SOURCE_USED_LSB 30
  428. #define RX_PPDU_END_USER_STATS_SW2RXDMA_EXCEPTION_BUF_SOURCE_USED_MSB 30
  429. #define RX_PPDU_END_USER_STATS_SW2RXDMA_EXCEPTION_BUF_SOURCE_USED_MASK 0x0000000040000000
  430. /* Description FW2RXDMA_PMAC1_BUF_SOURCE_USED
  431. Field filled in by RXDMA
  432. When set, RXDMA has used the fw2rxdma buffer ring for PMAC1
  433. as source for at least one of the frames in this PPDU.
  434. */
  435. #define RX_PPDU_END_USER_STATS_FW2RXDMA_PMAC1_BUF_SOURCE_USED_OFFSET 0x0000000000000008
  436. #define RX_PPDU_END_USER_STATS_FW2RXDMA_PMAC1_BUF_SOURCE_USED_LSB 31
  437. #define RX_PPDU_END_USER_STATS_FW2RXDMA_PMAC1_BUF_SOURCE_USED_MSB 31
  438. #define RX_PPDU_END_USER_STATS_FW2RXDMA_PMAC1_BUF_SOURCE_USED_MASK 0x0000000080000000
  439. /* Description MPDU_CNT_FCS_OK
  440. The number of MPDUs received from this STA in this PPDU
  441. with correct FCS
  442. <legal all>
  443. */
  444. #define RX_PPDU_END_USER_STATS_MPDU_CNT_FCS_OK_OFFSET 0x0000000000000008
  445. #define RX_PPDU_END_USER_STATS_MPDU_CNT_FCS_OK_LSB 32
  446. #define RX_PPDU_END_USER_STATS_MPDU_CNT_FCS_OK_MSB 42
  447. #define RX_PPDU_END_USER_STATS_MPDU_CNT_FCS_OK_MASK 0x000007ff00000000
  448. /* Description FRAME_CONTROL_INFO_VALID
  449. When set, the frame_control_info field contains valid information
  450. <legal all>
  451. */
  452. #define RX_PPDU_END_USER_STATS_FRAME_CONTROL_INFO_VALID_OFFSET 0x0000000000000008
  453. #define RX_PPDU_END_USER_STATS_FRAME_CONTROL_INFO_VALID_LSB 43
  454. #define RX_PPDU_END_USER_STATS_FRAME_CONTROL_INFO_VALID_MSB 43
  455. #define RX_PPDU_END_USER_STATS_FRAME_CONTROL_INFO_VALID_MASK 0x0000080000000000
  456. /* Description QOS_CONTROL_INFO_VALID
  457. When set, the QoS_control_info field contains valid information
  458. <legal all>
  459. */
  460. #define RX_PPDU_END_USER_STATS_QOS_CONTROL_INFO_VALID_OFFSET 0x0000000000000008
  461. #define RX_PPDU_END_USER_STATS_QOS_CONTROL_INFO_VALID_LSB 44
  462. #define RX_PPDU_END_USER_STATS_QOS_CONTROL_INFO_VALID_MSB 44
  463. #define RX_PPDU_END_USER_STATS_QOS_CONTROL_INFO_VALID_MASK 0x0000100000000000
  464. /* Description HT_CONTROL_INFO_VALID
  465. When set, the HT_control_field contains valid information
  466. <legal all>
  467. */
  468. #define RX_PPDU_END_USER_STATS_HT_CONTROL_INFO_VALID_OFFSET 0x0000000000000008
  469. #define RX_PPDU_END_USER_STATS_HT_CONTROL_INFO_VALID_LSB 45
  470. #define RX_PPDU_END_USER_STATS_HT_CONTROL_INFO_VALID_MSB 45
  471. #define RX_PPDU_END_USER_STATS_HT_CONTROL_INFO_VALID_MASK 0x0000200000000000
  472. /* Description DATA_SEQUENCE_CONTROL_INFO_VALID
  473. When set, the First_data_seq_ctrl field contains valid information
  474. <legal all>
  475. */
  476. #define RX_PPDU_END_USER_STATS_DATA_SEQUENCE_CONTROL_INFO_VALID_OFFSET 0x0000000000000008
  477. #define RX_PPDU_END_USER_STATS_DATA_SEQUENCE_CONTROL_INFO_VALID_LSB 46
  478. #define RX_PPDU_END_USER_STATS_DATA_SEQUENCE_CONTROL_INFO_VALID_MSB 46
  479. #define RX_PPDU_END_USER_STATS_DATA_SEQUENCE_CONTROL_INFO_VALID_MASK 0x0000400000000000
  480. /* Description HT_CONTROL_INFO_NULL_VALID
  481. When set, the HT_control_NULL_field contains valid information
  482. <legal all>
  483. */
  484. #define RX_PPDU_END_USER_STATS_HT_CONTROL_INFO_NULL_VALID_OFFSET 0x0000000000000008
  485. #define RX_PPDU_END_USER_STATS_HT_CONTROL_INFO_NULL_VALID_LSB 47
  486. #define RX_PPDU_END_USER_STATS_HT_CONTROL_INFO_NULL_VALID_MSB 47
  487. #define RX_PPDU_END_USER_STATS_HT_CONTROL_INFO_NULL_VALID_MASK 0x0000800000000000
  488. /* Description RXDMA2FW_PMAC1_RING_USED
  489. Field filled in by RXDMA
  490. Set when at least one frame during this PPDU got pushed
  491. to this ring by RXDMA
  492. */
  493. #define RX_PPDU_END_USER_STATS_RXDMA2FW_PMAC1_RING_USED_OFFSET 0x0000000000000008
  494. #define RX_PPDU_END_USER_STATS_RXDMA2FW_PMAC1_RING_USED_LSB 48
  495. #define RX_PPDU_END_USER_STATS_RXDMA2FW_PMAC1_RING_USED_MSB 48
  496. #define RX_PPDU_END_USER_STATS_RXDMA2FW_PMAC1_RING_USED_MASK 0x0001000000000000
  497. /* Description RXDMA2REO_RING_USED
  498. Field filled in by RXDMA
  499. Set when at least one frame during this PPDU got pushed
  500. to this ring by RXDMA
  501. */
  502. #define RX_PPDU_END_USER_STATS_RXDMA2REO_RING_USED_OFFSET 0x0000000000000008
  503. #define RX_PPDU_END_USER_STATS_RXDMA2REO_RING_USED_LSB 49
  504. #define RX_PPDU_END_USER_STATS_RXDMA2REO_RING_USED_MSB 49
  505. #define RX_PPDU_END_USER_STATS_RXDMA2REO_RING_USED_MASK 0x0002000000000000
  506. /* Description RXDMA2FW_PMAC0_RING_USED
  507. Field filled in by RXDMA
  508. Set when at least one frame during this PPDU got pushed
  509. to this ring by RXDMA
  510. */
  511. #define RX_PPDU_END_USER_STATS_RXDMA2FW_PMAC0_RING_USED_OFFSET 0x0000000000000008
  512. #define RX_PPDU_END_USER_STATS_RXDMA2FW_PMAC0_RING_USED_LSB 50
  513. #define RX_PPDU_END_USER_STATS_RXDMA2FW_PMAC0_RING_USED_MSB 50
  514. #define RX_PPDU_END_USER_STATS_RXDMA2FW_PMAC0_RING_USED_MASK 0x0004000000000000
  515. /* Description RXDMA2SW_RING_USED
  516. Field filled in by RXDMA
  517. Set when at least one frame during this PPDU got pushed
  518. to this ring by RXDMA
  519. */
  520. #define RX_PPDU_END_USER_STATS_RXDMA2SW_RING_USED_OFFSET 0x0000000000000008
  521. #define RX_PPDU_END_USER_STATS_RXDMA2SW_RING_USED_LSB 51
  522. #define RX_PPDU_END_USER_STATS_RXDMA2SW_RING_USED_MSB 51
  523. #define RX_PPDU_END_USER_STATS_RXDMA2SW_RING_USED_MASK 0x0008000000000000
  524. /* Description RXDMA_RELEASE_RING_USED
  525. Field filled in by RXDMA
  526. Set when at least one frame during this PPDU got pushed
  527. to this ring by RXDMA
  528. */
  529. #define RX_PPDU_END_USER_STATS_RXDMA_RELEASE_RING_USED_OFFSET 0x0000000000000008
  530. #define RX_PPDU_END_USER_STATS_RXDMA_RELEASE_RING_USED_LSB 52
  531. #define RX_PPDU_END_USER_STATS_RXDMA_RELEASE_RING_USED_MSB 52
  532. #define RX_PPDU_END_USER_STATS_RXDMA_RELEASE_RING_USED_MASK 0x0010000000000000
  533. /* Description HT_CONTROL_FIELD_PKT_TYPE
  534. Field only valid when HT_control_info_valid or HT_control_info_NULL_valid
  535. is set.
  536. Indicates what the PHY receive type was for receiving this
  537. frame. Can help determine if the HT_CONTROL field shall
  538. be interpreted as HT/VHT or HE.
  539. NOTE: later on in the 11ax IEEE spec a bit within the HT
  540. control field was introduced that explicitly indicated
  541. how to interpret the HT control field.... As HT, VHT, or
  542. HE.
  543. <enum 0 dot11a>802.11a PPDU type
  544. <enum 1 dot11b>802.11b PPDU type
  545. <enum 2 dot11n_mm>802.11n Mixed Mode PPDU type
  546. <enum 3 dot11ac>802.11ac PPDU type
  547. <enum 4 dot11ax>802.11ax PPDU type
  548. <enum 5 dot11ba>802.11ba (WUR) PPDU type
  549. <enum 6 dot11be>802.11be PPDU type
  550. <enum 7 dot11az>802.11az (ranging) PPDU type
  551. <enum 8 dot11n_gf>802.11n Green Field PPDU type (unsupported
  552. & aborted)
  553. */
  554. #define RX_PPDU_END_USER_STATS_HT_CONTROL_FIELD_PKT_TYPE_OFFSET 0x0000000000000008
  555. #define RX_PPDU_END_USER_STATS_HT_CONTROL_FIELD_PKT_TYPE_LSB 53
  556. #define RX_PPDU_END_USER_STATS_HT_CONTROL_FIELD_PKT_TYPE_MSB 56
  557. #define RX_PPDU_END_USER_STATS_HT_CONTROL_FIELD_PKT_TYPE_MASK 0x01e0000000000000
  558. /* Description RXDMA2REO_REMOTE0_RING_USED
  559. Field filled in by RXDMA
  560. Set when at least one frame during this PPDU got pushed
  561. to this ring by RXDMA
  562. */
  563. #define RX_PPDU_END_USER_STATS_RXDMA2REO_REMOTE0_RING_USED_OFFSET 0x0000000000000008
  564. #define RX_PPDU_END_USER_STATS_RXDMA2REO_REMOTE0_RING_USED_LSB 57
  565. #define RX_PPDU_END_USER_STATS_RXDMA2REO_REMOTE0_RING_USED_MSB 57
  566. #define RX_PPDU_END_USER_STATS_RXDMA2REO_REMOTE0_RING_USED_MASK 0x0200000000000000
  567. /* Description RXDMA2REO_REMOTE1_RING_USED
  568. Field filled in by RXDMA
  569. Set when at least one frame during this PPDU got pushed
  570. to this ring by RXDMA
  571. */
  572. #define RX_PPDU_END_USER_STATS_RXDMA2REO_REMOTE1_RING_USED_OFFSET 0x0000000000000008
  573. #define RX_PPDU_END_USER_STATS_RXDMA2REO_REMOTE1_RING_USED_LSB 58
  574. #define RX_PPDU_END_USER_STATS_RXDMA2REO_REMOTE1_RING_USED_MSB 58
  575. #define RX_PPDU_END_USER_STATS_RXDMA2REO_REMOTE1_RING_USED_MASK 0x0400000000000000
  576. /* Description RESERVED_3B
  577. <legal 0>
  578. */
  579. #define RX_PPDU_END_USER_STATS_RESERVED_3B_OFFSET 0x0000000000000008
  580. #define RX_PPDU_END_USER_STATS_RESERVED_3B_LSB 59
  581. #define RX_PPDU_END_USER_STATS_RESERVED_3B_MSB 63
  582. #define RX_PPDU_END_USER_STATS_RESERVED_3B_MASK 0xf800000000000000
  583. /* Description AST_INDEX
  584. This field indicates the index of the AST entry corresponding
  585. to this MPDU. It is provided by the GSE module instantiated
  586. in RXPCU.
  587. A value of 0xFFFF indicates an invalid AST index, meaning
  588. that No AST entry was found or NO AST search was performed
  589. <legal all>
  590. */
  591. #define RX_PPDU_END_USER_STATS_AST_INDEX_OFFSET 0x0000000000000010
  592. #define RX_PPDU_END_USER_STATS_AST_INDEX_LSB 0
  593. #define RX_PPDU_END_USER_STATS_AST_INDEX_MSB 15
  594. #define RX_PPDU_END_USER_STATS_AST_INDEX_MASK 0x000000000000ffff
  595. /* Description FRAME_CONTROL_FIELD
  596. Field only valid when Frame_control_info_valid is set.
  597. Last successfully received Frame_control field of data frame
  598. (excluding Data NULL/ QoS Null) for this user
  599. Mainly used to track the PM state of the transmitted device
  600. NOTE: only data frame info is needed, as control and management
  601. frames are already routed to the FW.
  602. <legal all>
  603. */
  604. #define RX_PPDU_END_USER_STATS_FRAME_CONTROL_FIELD_OFFSET 0x0000000000000010
  605. #define RX_PPDU_END_USER_STATS_FRAME_CONTROL_FIELD_LSB 16
  606. #define RX_PPDU_END_USER_STATS_FRAME_CONTROL_FIELD_MSB 31
  607. #define RX_PPDU_END_USER_STATS_FRAME_CONTROL_FIELD_MASK 0x00000000ffff0000
  608. /* Description FIRST_DATA_SEQ_CTRL
  609. Field only valid when Data_sequence_control_info_valid is
  610. set.
  611. Sequence control field of the first data frame (excluding
  612. Data NULL or QoS Data null) received for this user with
  613. correct FCS
  614. NOTE: only data frame info is needed, as control and management
  615. frames are already routed to the FW.
  616. <legal all>
  617. */
  618. #define RX_PPDU_END_USER_STATS_FIRST_DATA_SEQ_CTRL_OFFSET 0x0000000000000010
  619. #define RX_PPDU_END_USER_STATS_FIRST_DATA_SEQ_CTRL_LSB 32
  620. #define RX_PPDU_END_USER_STATS_FIRST_DATA_SEQ_CTRL_MSB 47
  621. #define RX_PPDU_END_USER_STATS_FIRST_DATA_SEQ_CTRL_MASK 0x0000ffff00000000
  622. /* Description QOS_CONTROL_FIELD
  623. Field only valid when QoS_control_info_valid is set.
  624. Last successfully received QoS_control field of data frame
  625. (excluding Data NULL/ QoS Null) for this user
  626. Note that in case of multi TID, this field can only reflect
  627. the last properly received MPDU, and thus can not indicate
  628. all potentially different TIDs that had been received earlier.
  629. There are however per TID fields, that will contain among
  630. other things all buffer status info: See
  631. QoSCtrl_15_8_tid???
  632. <legal all>
  633. */
  634. #define RX_PPDU_END_USER_STATS_QOS_CONTROL_FIELD_OFFSET 0x0000000000000010
  635. #define RX_PPDU_END_USER_STATS_QOS_CONTROL_FIELD_LSB 48
  636. #define RX_PPDU_END_USER_STATS_QOS_CONTROL_FIELD_MSB 63
  637. #define RX_PPDU_END_USER_STATS_QOS_CONTROL_FIELD_MASK 0xffff000000000000
  638. /* Description HT_CONTROL_FIELD
  639. Field only valid when HT_control_info_valid is set.
  640. Last successfully received HT_CONTROL/VHT_CONTROL/HE_CONTROL
  641. field of data frames, excluding QoS Null frames for this
  642. user.
  643. NOTE: HT control fields from QoS Null frames are captured
  644. in field HT_control_NULL_field
  645. <legal all>
  646. */
  647. #define RX_PPDU_END_USER_STATS_HT_CONTROL_FIELD_OFFSET 0x0000000000000018
  648. #define RX_PPDU_END_USER_STATS_HT_CONTROL_FIELD_LSB 0
  649. #define RX_PPDU_END_USER_STATS_HT_CONTROL_FIELD_MSB 31
  650. #define RX_PPDU_END_USER_STATS_HT_CONTROL_FIELD_MASK 0x00000000ffffffff
  651. /* Description FCS_OK_BITMAP_31_0
  652. Bitmap indicates in order of received MPDUs, which MPDUs
  653. had an passing FCS or had an error.
  654. 1: FCS OK
  655. 0: FCS error
  656. <legal all>
  657. */
  658. #define RX_PPDU_END_USER_STATS_FCS_OK_BITMAP_31_0_OFFSET 0x0000000000000018
  659. #define RX_PPDU_END_USER_STATS_FCS_OK_BITMAP_31_0_LSB 32
  660. #define RX_PPDU_END_USER_STATS_FCS_OK_BITMAP_31_0_MSB 63
  661. #define RX_PPDU_END_USER_STATS_FCS_OK_BITMAP_31_0_MASK 0xffffffff00000000
  662. /* Description FCS_OK_BITMAP_63_32
  663. Bitmap indicates in order of received MPDUs, which MPDUs
  664. had an passing FCS or had an error.
  665. 1: FCS OK
  666. 0: FCS error
  667. NOTE: for users 0, 1, 2 and 3, additional bitmap info (up
  668. to 256 bitmap window) is provided in RX_PPDU_END_USER_STATS_EXT
  669. TLV
  670. <legal all>
  671. */
  672. #define RX_PPDU_END_USER_STATS_FCS_OK_BITMAP_63_32_OFFSET 0x0000000000000020
  673. #define RX_PPDU_END_USER_STATS_FCS_OK_BITMAP_63_32_LSB 0
  674. #define RX_PPDU_END_USER_STATS_FCS_OK_BITMAP_63_32_MSB 31
  675. #define RX_PPDU_END_USER_STATS_FCS_OK_BITMAP_63_32_MASK 0x00000000ffffffff
  676. /* Description UDP_MSDU_COUNT
  677. Field filled in by RX OLE
  678. Set to 0 by RXPCU
  679. The number of MSDUs that are part of MPDUs without FCS error,
  680. that contain UDP frames.
  681. <legal all>
  682. */
  683. #define RX_PPDU_END_USER_STATS_UDP_MSDU_COUNT_OFFSET 0x0000000000000020
  684. #define RX_PPDU_END_USER_STATS_UDP_MSDU_COUNT_LSB 32
  685. #define RX_PPDU_END_USER_STATS_UDP_MSDU_COUNT_MSB 47
  686. #define RX_PPDU_END_USER_STATS_UDP_MSDU_COUNT_MASK 0x0000ffff00000000
  687. /* Description TCP_MSDU_COUNT
  688. Field filled in by RX OLE
  689. Set to 0 by RXPCU
  690. The number of MSDUs that are part of MPDUs without FCS error,
  691. that contain TCP frames.
  692. (Note: This does NOT include TCP-ACK)
  693. <legal all>
  694. */
  695. #define RX_PPDU_END_USER_STATS_TCP_MSDU_COUNT_OFFSET 0x0000000000000020
  696. #define RX_PPDU_END_USER_STATS_TCP_MSDU_COUNT_LSB 48
  697. #define RX_PPDU_END_USER_STATS_TCP_MSDU_COUNT_MSB 63
  698. #define RX_PPDU_END_USER_STATS_TCP_MSDU_COUNT_MASK 0xffff000000000000
  699. /* Description OTHER_MSDU_COUNT
  700. Field filled in by RX OLE
  701. Set to 0 by RXPCU
  702. The number of MSDUs that are part of MPDUs without FCS error,
  703. that contain neither UDP or TCP frames.
  704. Includes Management and control frames.
  705. <legal all>
  706. */
  707. #define RX_PPDU_END_USER_STATS_OTHER_MSDU_COUNT_OFFSET 0x0000000000000028
  708. #define RX_PPDU_END_USER_STATS_OTHER_MSDU_COUNT_LSB 0
  709. #define RX_PPDU_END_USER_STATS_OTHER_MSDU_COUNT_MSB 15
  710. #define RX_PPDU_END_USER_STATS_OTHER_MSDU_COUNT_MASK 0x000000000000ffff
  711. /* Description TCP_ACK_MSDU_COUNT
  712. Field filled in by RX OLE
  713. Set to 0 by RXPCU
  714. The number of MSDUs that are part of MPDUs without FCS error,
  715. that contain TCP ack frames.
  716. <legal all>
  717. */
  718. #define RX_PPDU_END_USER_STATS_TCP_ACK_MSDU_COUNT_OFFSET 0x0000000000000028
  719. #define RX_PPDU_END_USER_STATS_TCP_ACK_MSDU_COUNT_LSB 16
  720. #define RX_PPDU_END_USER_STATS_TCP_ACK_MSDU_COUNT_MSB 31
  721. #define RX_PPDU_END_USER_STATS_TCP_ACK_MSDU_COUNT_MASK 0x00000000ffff0000
  722. /* Description SW_RESPONSE_REFERENCE_PTR
  723. Pointer that SW uses to refer back to an expected response
  724. reception. Used for Rate adaptation purposes.
  725. When a reception occurs that is not tied to an expected
  726. response, this field is set to 0x0.
  727. Note: further on in this TLV there is also the field: Sw_response_reference_ptr_ext.
  728. <legal all>
  729. */
  730. #define RX_PPDU_END_USER_STATS_SW_RESPONSE_REFERENCE_PTR_OFFSET 0x0000000000000028
  731. #define RX_PPDU_END_USER_STATS_SW_RESPONSE_REFERENCE_PTR_LSB 32
  732. #define RX_PPDU_END_USER_STATS_SW_RESPONSE_REFERENCE_PTR_MSB 63
  733. #define RX_PPDU_END_USER_STATS_SW_RESPONSE_REFERENCE_PTR_MASK 0xffffffff00000000
  734. /* Description RECEIVED_QOS_DATA_TID_BITMAP
  735. Whenever a frame is received that contains a QoS control
  736. field (that includes QoS Data and/or QoS Null), the bit
  737. in this field that corresponds to the received TID shall
  738. be set.
  739. ...Bitmap[0] = TID0
  740. ...Bitmap[1] = TID1
  741. Etc.
  742. <legal all>
  743. */
  744. #define RX_PPDU_END_USER_STATS_RECEIVED_QOS_DATA_TID_BITMAP_OFFSET 0x0000000000000030
  745. #define RX_PPDU_END_USER_STATS_RECEIVED_QOS_DATA_TID_BITMAP_LSB 0
  746. #define RX_PPDU_END_USER_STATS_RECEIVED_QOS_DATA_TID_BITMAP_MSB 15
  747. #define RX_PPDU_END_USER_STATS_RECEIVED_QOS_DATA_TID_BITMAP_MASK 0x000000000000ffff
  748. /* Description RECEIVED_QOS_DATA_TID_EOSP_BITMAP
  749. Field initialized to 0
  750. For every QoS Data frame that is correctly received, the
  751. EOSP bit of that frame is copied over into the corresponding
  752. TID related field.
  753. Note that this implies that the bits here represent the
  754. EOSP bit status for each TID of the last MPDU received for
  755. that TID.
  756. received TID shall be set.
  757. ...eosp_bitmap[0] = eosp of TID0
  758. ...eosp_bitmap[1] = eosp of TID1
  759. Etc.
  760. <legal all>
  761. */
  762. #define RX_PPDU_END_USER_STATS_RECEIVED_QOS_DATA_TID_EOSP_BITMAP_OFFSET 0x0000000000000030
  763. #define RX_PPDU_END_USER_STATS_RECEIVED_QOS_DATA_TID_EOSP_BITMAP_LSB 16
  764. #define RX_PPDU_END_USER_STATS_RECEIVED_QOS_DATA_TID_EOSP_BITMAP_MSB 31
  765. #define RX_PPDU_END_USER_STATS_RECEIVED_QOS_DATA_TID_EOSP_BITMAP_MASK 0x00000000ffff0000
  766. /* Description QOSCTRL_15_8_TID0
  767. Field only valid when Received_qos_data_tid_bitmap[0] is
  768. set
  769. QoS control field bits 15-8 of the last properly received
  770. MPDU with a QoS control field embedded, with TID == 0
  771. */
  772. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID0_OFFSET 0x0000000000000030
  773. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID0_LSB 32
  774. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID0_MSB 39
  775. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID0_MASK 0x000000ff00000000
  776. /* Description QOSCTRL_15_8_TID1
  777. Field only valid when Received_qos_data_tid_bitmap[1] is
  778. set
  779. QoS control field bits 15-8 of the last properly received
  780. MPDU with a QoS control field embedded, with TID == 1
  781. */
  782. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID1_OFFSET 0x0000000000000030
  783. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID1_LSB 40
  784. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID1_MSB 47
  785. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID1_MASK 0x0000ff0000000000
  786. /* Description QOSCTRL_15_8_TID2
  787. Field only valid when Received_qos_data_tid_bitmap[2] is
  788. set
  789. QoS control field bits 15-8 of the last properly received
  790. MPDU with a QoS control field embedded, with TID == 2
  791. */
  792. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID2_OFFSET 0x0000000000000030
  793. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID2_LSB 48
  794. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID2_MSB 55
  795. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID2_MASK 0x00ff000000000000
  796. /* Description QOSCTRL_15_8_TID3
  797. Field only valid when Received_qos_data_tid_bitmap[3] is
  798. set
  799. QoS control field bits 15-8 of the last properly received
  800. MPDU with a QoS control field embedded, with TID == 3
  801. */
  802. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID3_OFFSET 0x0000000000000030
  803. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID3_LSB 56
  804. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID3_MSB 63
  805. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID3_MASK 0xff00000000000000
  806. /* Description QOSCTRL_15_8_TID4
  807. Field only valid when Received_qos_data_tid_bitmap[4] is
  808. set
  809. QoS control field bits 15-8 of the last properly received
  810. MPDU with a QoS control field embedded, with TID == 4
  811. */
  812. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID4_OFFSET 0x0000000000000038
  813. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID4_LSB 0
  814. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID4_MSB 7
  815. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID4_MASK 0x00000000000000ff
  816. /* Description QOSCTRL_15_8_TID5
  817. Field only valid when Received_qos_data_tid_bitmap[5] is
  818. set
  819. QoS control field bits 15-8 of the last properly received
  820. MPDU with a QoS control field embedded, with TID == 5
  821. */
  822. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID5_OFFSET 0x0000000000000038
  823. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID5_LSB 8
  824. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID5_MSB 15
  825. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID5_MASK 0x000000000000ff00
  826. /* Description QOSCTRL_15_8_TID6
  827. Field only valid when Received_qos_data_tid_bitmap[6] is
  828. set
  829. QoS control field bits 15-8 of the last properly received
  830. MPDU with a QoS control field embedded, with TID == 6
  831. */
  832. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID6_OFFSET 0x0000000000000038
  833. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID6_LSB 16
  834. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID6_MSB 23
  835. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID6_MASK 0x0000000000ff0000
  836. /* Description QOSCTRL_15_8_TID7
  837. Field only valid when Received_qos_data_tid_bitmap[7] is
  838. set
  839. QoS control field bits 15-8 of the last properly received
  840. MPDU with a QoS control field embedded, with TID == 7
  841. */
  842. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID7_OFFSET 0x0000000000000038
  843. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID7_LSB 24
  844. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID7_MSB 31
  845. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID7_MASK 0x00000000ff000000
  846. /* Description QOSCTRL_15_8_TID8
  847. Field only valid when Received_qos_data_tid_bitmap[8] is
  848. set
  849. QoS control field bits 15-8 of the last properly received
  850. MPDU with a QoS control field embedded, with TID == 8
  851. */
  852. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID8_OFFSET 0x0000000000000038
  853. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID8_LSB 32
  854. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID8_MSB 39
  855. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID8_MASK 0x000000ff00000000
  856. /* Description QOSCTRL_15_8_TID9
  857. Field only valid when Received_qos_data_tid_bitmap[9] is
  858. set
  859. QoS control field bits 15-8 of the last properly received
  860. MPDU with a QoS control field embedded, with TID == 9
  861. */
  862. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID9_OFFSET 0x0000000000000038
  863. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID9_LSB 40
  864. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID9_MSB 47
  865. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID9_MASK 0x0000ff0000000000
  866. /* Description QOSCTRL_15_8_TID10
  867. Field only valid when Received_qos_data_tid_bitmap[10] is
  868. set
  869. QoS control field bits 15-8 of the last properly received
  870. MPDU with a QoS control field embedded, with TID == 10
  871. */
  872. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID10_OFFSET 0x0000000000000038
  873. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID10_LSB 48
  874. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID10_MSB 55
  875. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID10_MASK 0x00ff000000000000
  876. /* Description QOSCTRL_15_8_TID11
  877. Field only valid when Received_qos_data_tid_bitmap[11] is
  878. set
  879. QoS control field bits 15-8 of the last properly received
  880. MPDU with a QoS control field embedded, with TID == 11
  881. */
  882. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID11_OFFSET 0x0000000000000038
  883. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID11_LSB 56
  884. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID11_MSB 63
  885. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID11_MASK 0xff00000000000000
  886. /* Description QOSCTRL_15_8_TID12
  887. Field only valid when Received_qos_data_tid_bitmap[12] is
  888. set
  889. QoS control field bits 15-8 of the last properly received
  890. MPDU with a QoS control field embedded, with TID == 12
  891. */
  892. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID12_OFFSET 0x0000000000000040
  893. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID12_LSB 0
  894. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID12_MSB 7
  895. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID12_MASK 0x00000000000000ff
  896. /* Description QOSCTRL_15_8_TID13
  897. Field only valid when Received_qos_data_tid_bitmap[13] is
  898. set
  899. QoS control field bits 15-8 of the last properly received
  900. MPDU with a QoS control field embedded, with TID == 13
  901. */
  902. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID13_OFFSET 0x0000000000000040
  903. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID13_LSB 8
  904. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID13_MSB 15
  905. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID13_MASK 0x000000000000ff00
  906. /* Description QOSCTRL_15_8_TID14
  907. Field only valid when Received_qos_data_tid_bitmap[14] is
  908. set
  909. QoS control field bits 15-8 of the last properly received
  910. MPDU with a QoS control field embedded, with TID == 14
  911. */
  912. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID14_OFFSET 0x0000000000000040
  913. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID14_LSB 16
  914. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID14_MSB 23
  915. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID14_MASK 0x0000000000ff0000
  916. /* Description QOSCTRL_15_8_TID15
  917. Field only valid when Received_qos_data_tid_bitmap[15] is
  918. set
  919. QoS control field bits 15-8 of the last properly received
  920. MPDU with a QoS control field embedded, with TID == 15
  921. */
  922. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID15_OFFSET 0x0000000000000040
  923. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID15_LSB 24
  924. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID15_MSB 31
  925. #define RX_PPDU_END_USER_STATS_QOSCTRL_15_8_TID15_MASK 0x00000000ff000000
  926. /* Description MPDU_OK_BYTE_COUNT
  927. The number of bytes received within an MPDU for this user
  928. with correct FCS. This includes the FCS field
  929. NOTE:
  930. The sum of the four fields.....
  931. Mpdu_ok_byte_count +
  932. mpdu_err_byte_count +
  933. (Ampdu_delim_ok_count x 4) + (Ampdu_delim_err_count x 4)
  934. .....is the total number of bytes that were received for
  935. this user from the PHY.
  936. <legal all>
  937. */
  938. #define RX_PPDU_END_USER_STATS_MPDU_OK_BYTE_COUNT_OFFSET 0x0000000000000040
  939. #define RX_PPDU_END_USER_STATS_MPDU_OK_BYTE_COUNT_LSB 32
  940. #define RX_PPDU_END_USER_STATS_MPDU_OK_BYTE_COUNT_MSB 56
  941. #define RX_PPDU_END_USER_STATS_MPDU_OK_BYTE_COUNT_MASK 0x01ffffff00000000
  942. /* Description AMPDU_DELIM_OK_COUNT_6_0
  943. Number of AMPDU delimiter received with correct structure
  944. LSB 7 bits from this counter
  945. Note that this is a delimiter count and not byte count.
  946. To get to the number of bytes occupied by these delimiters,
  947. multiply this number by 4
  948. <legal all>
  949. */
  950. #define RX_PPDU_END_USER_STATS_AMPDU_DELIM_OK_COUNT_6_0_OFFSET 0x0000000000000040
  951. #define RX_PPDU_END_USER_STATS_AMPDU_DELIM_OK_COUNT_6_0_LSB 57
  952. #define RX_PPDU_END_USER_STATS_AMPDU_DELIM_OK_COUNT_6_0_MSB 63
  953. #define RX_PPDU_END_USER_STATS_AMPDU_DELIM_OK_COUNT_6_0_MASK 0xfe00000000000000
  954. /* Description AMPDU_DELIM_ERR_COUNT
  955. The number of MPDU delimiter errors counted for this user.
  956. Note that this is a delimiter count and not byte count.
  957. To get to the number of bytes occupied by these delimiters,
  958. multiply this number by 4
  959. <legal all>
  960. */
  961. #define RX_PPDU_END_USER_STATS_AMPDU_DELIM_ERR_COUNT_OFFSET 0x0000000000000048
  962. #define RX_PPDU_END_USER_STATS_AMPDU_DELIM_ERR_COUNT_LSB 0
  963. #define RX_PPDU_END_USER_STATS_AMPDU_DELIM_ERR_COUNT_MSB 24
  964. #define RX_PPDU_END_USER_STATS_AMPDU_DELIM_ERR_COUNT_MASK 0x0000000001ffffff
  965. /* Description AMPDU_DELIM_OK_COUNT_13_7
  966. Number of AMPDU delimiters received with correct structure
  967. Bits 13-7 from this counter
  968. Note that this is a delimiter count and not byte count.
  969. To get to the number of bytes occupied by these delimiters,
  970. multiply this number by 4
  971. <legal all>
  972. */
  973. #define RX_PPDU_END_USER_STATS_AMPDU_DELIM_OK_COUNT_13_7_OFFSET 0x0000000000000048
  974. #define RX_PPDU_END_USER_STATS_AMPDU_DELIM_OK_COUNT_13_7_LSB 25
  975. #define RX_PPDU_END_USER_STATS_AMPDU_DELIM_OK_COUNT_13_7_MSB 31
  976. #define RX_PPDU_END_USER_STATS_AMPDU_DELIM_OK_COUNT_13_7_MASK 0x00000000fe000000
  977. /* Description MPDU_ERR_BYTE_COUNT
  978. The number of bytes belonging to MPDUs with an FCS error.
  979. This includes the FCS field.
  980. <legal all>
  981. */
  982. #define RX_PPDU_END_USER_STATS_MPDU_ERR_BYTE_COUNT_OFFSET 0x0000000000000048
  983. #define RX_PPDU_END_USER_STATS_MPDU_ERR_BYTE_COUNT_LSB 32
  984. #define RX_PPDU_END_USER_STATS_MPDU_ERR_BYTE_COUNT_MSB 56
  985. #define RX_PPDU_END_USER_STATS_MPDU_ERR_BYTE_COUNT_MASK 0x01ffffff00000000
  986. /* Description AMPDU_DELIM_OK_COUNT_20_14
  987. Number of AMPDU delimiters received with correct structure
  988. Bits 20-14 from this counter
  989. Note that this is a delimiter count and not byte count.
  990. To get to the number of bytes occupied by these delimiters,
  991. multiply this number by 4
  992. <legal all>
  993. */
  994. #define RX_PPDU_END_USER_STATS_AMPDU_DELIM_OK_COUNT_20_14_OFFSET 0x0000000000000048
  995. #define RX_PPDU_END_USER_STATS_AMPDU_DELIM_OK_COUNT_20_14_LSB 57
  996. #define RX_PPDU_END_USER_STATS_AMPDU_DELIM_OK_COUNT_20_14_MSB 63
  997. #define RX_PPDU_END_USER_STATS_AMPDU_DELIM_OK_COUNT_20_14_MASK 0xfe00000000000000
  998. /* Description NON_CONSECUTIVE_DELIMITER_ERR
  999. The number of times an MPDU delimiter error is detected
  1000. that is not immediately preceded by another MPDU delimiter
  1001. also with FCS error.
  1002. The counter saturates at 0xFFFF
  1003. <legal all>
  1004. */
  1005. #define RX_PPDU_END_USER_STATS_NON_CONSECUTIVE_DELIMITER_ERR_OFFSET 0x0000000000000050
  1006. #define RX_PPDU_END_USER_STATS_NON_CONSECUTIVE_DELIMITER_ERR_LSB 0
  1007. #define RX_PPDU_END_USER_STATS_NON_CONSECUTIVE_DELIMITER_ERR_MSB 15
  1008. #define RX_PPDU_END_USER_STATS_NON_CONSECUTIVE_DELIMITER_ERR_MASK 0x000000000000ffff
  1009. /* Description RETRIED_MSDU_COUNT
  1010. Field filled in by RX OLE
  1011. Set to 0 by RXPCU
  1012. The number of MSDUs that are part of MPDUs without FCS error,
  1013. that have the retry bit set.
  1014. <legal all>
  1015. */
  1016. #define RX_PPDU_END_USER_STATS_RETRIED_MSDU_COUNT_OFFSET 0x0000000000000050
  1017. #define RX_PPDU_END_USER_STATS_RETRIED_MSDU_COUNT_LSB 16
  1018. #define RX_PPDU_END_USER_STATS_RETRIED_MSDU_COUNT_MSB 31
  1019. #define RX_PPDU_END_USER_STATS_RETRIED_MSDU_COUNT_MASK 0x00000000ffff0000
  1020. /* Description HT_CONTROL_NULL_FIELD
  1021. Field only valid when HT_control_info_NULL_valid is set.
  1022. Last successfully received HT_CONTROL/VHT_CONTROL/HE_CONTROL
  1023. field from QoS Null frame for this user.
  1024. <legal all>
  1025. */
  1026. #define RX_PPDU_END_USER_STATS_HT_CONTROL_NULL_FIELD_OFFSET 0x0000000000000050
  1027. #define RX_PPDU_END_USER_STATS_HT_CONTROL_NULL_FIELD_LSB 32
  1028. #define RX_PPDU_END_USER_STATS_HT_CONTROL_NULL_FIELD_MSB 63
  1029. #define RX_PPDU_END_USER_STATS_HT_CONTROL_NULL_FIELD_MASK 0xffffffff00000000
  1030. /* Description SW_RESPONSE_REFERENCE_PTR_EXT
  1031. Extended Pointer info that SW uses to refer back to an expected
  1032. response transmission. Used for Rate adaptation purposes.
  1033. When a reception occurs that is not tied to an expected
  1034. response, this field is set to 0x0.
  1035. Note: earlier on in this TLV there is also the field: Sw_response_reference_ptr.
  1036. <legal all>
  1037. */
  1038. #define RX_PPDU_END_USER_STATS_SW_RESPONSE_REFERENCE_PTR_EXT_OFFSET 0x0000000000000058
  1039. #define RX_PPDU_END_USER_STATS_SW_RESPONSE_REFERENCE_PTR_EXT_LSB 0
  1040. #define RX_PPDU_END_USER_STATS_SW_RESPONSE_REFERENCE_PTR_EXT_MSB 31
  1041. #define RX_PPDU_END_USER_STATS_SW_RESPONSE_REFERENCE_PTR_EXT_MASK 0x00000000ffffffff
  1042. /* Description CORRUPTED_DUE_TO_FIFO_DELAY
  1043. Set if Rx PCU avoided a hang due to SFM delays by writing
  1044. a corrupted 'RX_PPDU_END_USER_STATS*' and/or 'RX_PPDU_END.'
  1045. */
  1046. #define RX_PPDU_END_USER_STATS_CORRUPTED_DUE_TO_FIFO_DELAY_OFFSET 0x0000000000000058
  1047. #define RX_PPDU_END_USER_STATS_CORRUPTED_DUE_TO_FIFO_DELAY_LSB 32
  1048. #define RX_PPDU_END_USER_STATS_CORRUPTED_DUE_TO_FIFO_DELAY_MSB 32
  1049. #define RX_PPDU_END_USER_STATS_CORRUPTED_DUE_TO_FIFO_DELAY_MASK 0x0000000100000000
  1050. /* Description FRAME_CONTROL_INFO_NULL_VALID
  1051. When set, Frame_control_field_null contains valid information
  1052. <legal all>
  1053. */
  1054. #define RX_PPDU_END_USER_STATS_FRAME_CONTROL_INFO_NULL_VALID_OFFSET 0x0000000000000058
  1055. #define RX_PPDU_END_USER_STATS_FRAME_CONTROL_INFO_NULL_VALID_LSB 33
  1056. #define RX_PPDU_END_USER_STATS_FRAME_CONTROL_INFO_NULL_VALID_MSB 33
  1057. #define RX_PPDU_END_USER_STATS_FRAME_CONTROL_INFO_NULL_VALID_MASK 0x0000000200000000
  1058. /* Description FRAME_CONTROL_FIELD_NULL
  1059. Field only valid when Frame_control_info_null_valid is set.
  1060. Last successfully received Frame_control field of Data Null/QoS
  1061. Null for this user, mainly used to track the PM state of
  1062. the transmitted device
  1063. <legal all>
  1064. */
  1065. #define RX_PPDU_END_USER_STATS_FRAME_CONTROL_FIELD_NULL_OFFSET 0x0000000000000058
  1066. #define RX_PPDU_END_USER_STATS_FRAME_CONTROL_FIELD_NULL_LSB 34
  1067. #define RX_PPDU_END_USER_STATS_FRAME_CONTROL_FIELD_NULL_MSB 49
  1068. #define RX_PPDU_END_USER_STATS_FRAME_CONTROL_FIELD_NULL_MASK 0x0003fffc00000000
  1069. /* Description RETRIED_MPDU_COUNT
  1070. Field filled in by RXPCU
  1071. The number of MPDUs without FCS error, that have the retry
  1072. bit set.
  1073. <legal all>
  1074. */
  1075. #define RX_PPDU_END_USER_STATS_RETRIED_MPDU_COUNT_OFFSET 0x0000000000000058
  1076. #define RX_PPDU_END_USER_STATS_RETRIED_MPDU_COUNT_LSB 50
  1077. #define RX_PPDU_END_USER_STATS_RETRIED_MPDU_COUNT_MSB 60
  1078. #define RX_PPDU_END_USER_STATS_RETRIED_MPDU_COUNT_MASK 0x1ffc000000000000
  1079. /* Description RESERVED_23A
  1080. <legal 0>
  1081. */
  1082. #define RX_PPDU_END_USER_STATS_RESERVED_23A_OFFSET 0x0000000000000058
  1083. #define RX_PPDU_END_USER_STATS_RESERVED_23A_LSB 61
  1084. #define RX_PPDU_END_USER_STATS_RESERVED_23A_MSB 63
  1085. #define RX_PPDU_END_USER_STATS_RESERVED_23A_MASK 0xe000000000000000
  1086. /* Description RXPCU_MPDU_FILTER_IN_CATEGORY
  1087. Field indicates what the reason was that the last successfully
  1088. received MPDU was allowed to come into the receive path
  1089. by RXPCU.
  1090. <enum 0 rxpcu_filter_pass> The last MPDU passed the normal
  1091. frame filter programming of rxpcu
  1092. <enum 1 rxpcu_monitor_client> The last MPDU did NOT pass
  1093. the regular frame filter and would have been dropped, were
  1094. it not for the frame fitting into the 'monitor_client'
  1095. category.
  1096. <enum 2 rxpcu_monitor_other> The last MPDU did NOT pass
  1097. the regular frame filter and also did not pass the rxpcu_monitor_client
  1098. filter. It would have been dropped accept that it did pass
  1099. the 'monitor_other' category.
  1100. <enum 3 rxpcu_filter_pass_monitor_ovrd> The last MPDU passed
  1101. the normal frame filter programming of RXPCU but additionally
  1102. fit into the 'monitor_override_client' category.
  1103. <legal 0-3>
  1104. */
  1105. #define RX_PPDU_END_USER_STATS_RXPCU_MPDU_FILTER_IN_CATEGORY_OFFSET 0x0000000000000060
  1106. #define RX_PPDU_END_USER_STATS_RXPCU_MPDU_FILTER_IN_CATEGORY_LSB 0
  1107. #define RX_PPDU_END_USER_STATS_RXPCU_MPDU_FILTER_IN_CATEGORY_MSB 1
  1108. #define RX_PPDU_END_USER_STATS_RXPCU_MPDU_FILTER_IN_CATEGORY_MASK 0x0000000000000003
  1109. /* Description SW_FRAME_GROUP_ID
  1110. SW processes frames based on certain classifications. This
  1111. field indicates to what sw classification the last successfully
  1112. received MPDU is mapped.
  1113. The classification is given in priority order
  1114. <enum 0 sw_frame_group_NDP_frame>
  1115. <enum 1 sw_frame_group_Multicast_data>
  1116. <enum 2 sw_frame_group_Unicast_data>
  1117. <enum 3 sw_frame_group_Null_data > This includes mpdus of
  1118. type Data Null.
  1119. <enum 38 sw_frame_group_QoS_Null_data> This includes QoS
  1120. Null frames except in UL MU or TB PPDUs.
  1121. <enum 39 sw_frame_group_QoS_Null_data_TB> This includes
  1122. QoS Null frames in UL MU or TB PPDUs.
  1123. <enum 4 sw_frame_group_mgmt_0000 >
  1124. <enum 5 sw_frame_group_mgmt_0001 >
  1125. <enum 6 sw_frame_group_mgmt_0010 >
  1126. <enum 7 sw_frame_group_mgmt_0011 >
  1127. <enum 8 sw_frame_group_mgmt_0100 >
  1128. <enum 9 sw_frame_group_mgmt_0101 >
  1129. <enum 10 sw_frame_group_mgmt_0110 >
  1130. <enum 11 sw_frame_group_mgmt_0111 >
  1131. <enum 12 sw_frame_group_mgmt_1000 >
  1132. <enum 13 sw_frame_group_mgmt_1001 >
  1133. <enum 14 sw_frame_group_mgmt_1010 >
  1134. <enum 15 sw_frame_group_mgmt_1011 >
  1135. <enum 16 sw_frame_group_mgmt_1100 >
  1136. <enum 17 sw_frame_group_mgmt_1101 >
  1137. <enum 18 sw_frame_group_mgmt_1110 >
  1138. <enum 19 sw_frame_group_mgmt_1111 >
  1139. <enum 20 sw_frame_group_ctrl_0000 >
  1140. <enum 21 sw_frame_group_ctrl_0001 >
  1141. <enum 22 sw_frame_group_ctrl_0010 >
  1142. <enum 23 sw_frame_group_ctrl_0011 >
  1143. <enum 24 sw_frame_group_ctrl_0100 >
  1144. <enum 25 sw_frame_group_ctrl_0101 >
  1145. <enum 26 sw_frame_group_ctrl_0110 >
  1146. <enum 27 sw_frame_group_ctrl_0111 >
  1147. <enum 28 sw_frame_group_ctrl_1000 >
  1148. <enum 29 sw_frame_group_ctrl_1001 >
  1149. <enum 30 sw_frame_group_ctrl_1010 >
  1150. <enum 31 sw_frame_group_ctrl_1011 >
  1151. <enum 32 sw_frame_group_ctrl_1100 >
  1152. <enum 33 sw_frame_group_ctrl_1101 >
  1153. <enum 34 sw_frame_group_ctrl_1110 >
  1154. <enum 35 sw_frame_group_ctrl_1111 >
  1155. <enum 36 sw_frame_group_unsupported> This covers type 3
  1156. and protocol version != 0
  1157. <enum 37 sw_frame_group_phy_error> PHY reported an error
  1158. <legal 0-39>
  1159. */
  1160. #define RX_PPDU_END_USER_STATS_SW_FRAME_GROUP_ID_OFFSET 0x0000000000000060
  1161. #define RX_PPDU_END_USER_STATS_SW_FRAME_GROUP_ID_LSB 2
  1162. #define RX_PPDU_END_USER_STATS_SW_FRAME_GROUP_ID_MSB 8
  1163. #define RX_PPDU_END_USER_STATS_SW_FRAME_GROUP_ID_MASK 0x00000000000001fc
  1164. /* Description RESERVED_24A
  1165. <legal 0>
  1166. */
  1167. #define RX_PPDU_END_USER_STATS_RESERVED_24A_OFFSET 0x0000000000000060
  1168. #define RX_PPDU_END_USER_STATS_RESERVED_24A_LSB 9
  1169. #define RX_PPDU_END_USER_STATS_RESERVED_24A_MSB 12
  1170. #define RX_PPDU_END_USER_STATS_RESERVED_24A_MASK 0x0000000000001e00
  1171. /* Description FRAME_CONTROL_INFO_MGMT_CTRL_VALID
  1172. When set, Frame_control_field_mgmt_ctrl contains valid information.
  1173. <legal all>
  1174. */
  1175. #define RX_PPDU_END_USER_STATS_FRAME_CONTROL_INFO_MGMT_CTRL_VALID_OFFSET 0x0000000000000060
  1176. #define RX_PPDU_END_USER_STATS_FRAME_CONTROL_INFO_MGMT_CTRL_VALID_LSB 13
  1177. #define RX_PPDU_END_USER_STATS_FRAME_CONTROL_INFO_MGMT_CTRL_VALID_MSB 13
  1178. #define RX_PPDU_END_USER_STATS_FRAME_CONTROL_INFO_MGMT_CTRL_VALID_MASK 0x0000000000002000
  1179. /* Description MAC_ADDR_AD2_VALID
  1180. When set, the fields mac_addr_ad2_... contain valid information.
  1181. <legal all>
  1182. */
  1183. #define RX_PPDU_END_USER_STATS_MAC_ADDR_AD2_VALID_OFFSET 0x0000000000000060
  1184. #define RX_PPDU_END_USER_STATS_MAC_ADDR_AD2_VALID_LSB 14
  1185. #define RX_PPDU_END_USER_STATS_MAC_ADDR_AD2_VALID_MSB 14
  1186. #define RX_PPDU_END_USER_STATS_MAC_ADDR_AD2_VALID_MASK 0x0000000000004000
  1187. /* Description MCAST_BCAST
  1188. Multicast / broadcast indicator
  1189. Only set when the MAC address 1 bit 0 is set indicating
  1190. mcast/bcast and the BSSID matches one of the BSSID registers,
  1191. for the last successfully received MPDU
  1192. <legal all>
  1193. */
  1194. #define RX_PPDU_END_USER_STATS_MCAST_BCAST_OFFSET 0x0000000000000060
  1195. #define RX_PPDU_END_USER_STATS_MCAST_BCAST_LSB 15
  1196. #define RX_PPDU_END_USER_STATS_MCAST_BCAST_MSB 15
  1197. #define RX_PPDU_END_USER_STATS_MCAST_BCAST_MASK 0x0000000000008000
  1198. /* Description FRAME_CONTROL_FIELD_MGMT_CTRL
  1199. Field only valid when Frame_control_info_mgmt_ctrl_valid
  1200. is set
  1201. Last successfully received 'Frame control' field of control
  1202. or management frames for this user, mainly used in Rx monitor
  1203. mode
  1204. <legal all>
  1205. */
  1206. #define RX_PPDU_END_USER_STATS_FRAME_CONTROL_FIELD_MGMT_CTRL_OFFSET 0x0000000000000060
  1207. #define RX_PPDU_END_USER_STATS_FRAME_CONTROL_FIELD_MGMT_CTRL_LSB 16
  1208. #define RX_PPDU_END_USER_STATS_FRAME_CONTROL_FIELD_MGMT_CTRL_MSB 31
  1209. #define RX_PPDU_END_USER_STATS_FRAME_CONTROL_FIELD_MGMT_CTRL_MASK 0x00000000ffff0000
  1210. /* Description USER_PPDU_LEN
  1211. The sum of the mpdu_length fields of all the 'RX_MPDU_START'
  1212. TLVs generated for this user for this PPDU
  1213. */
  1214. #define RX_PPDU_END_USER_STATS_USER_PPDU_LEN_OFFSET 0x0000000000000060
  1215. #define RX_PPDU_END_USER_STATS_USER_PPDU_LEN_LSB 32
  1216. #define RX_PPDU_END_USER_STATS_USER_PPDU_LEN_MSB 55
  1217. #define RX_PPDU_END_USER_STATS_USER_PPDU_LEN_MASK 0x00ffffff00000000
  1218. /* Description RESERVED_25A
  1219. <legal 0>
  1220. */
  1221. #define RX_PPDU_END_USER_STATS_RESERVED_25A_OFFSET 0x0000000000000060
  1222. #define RX_PPDU_END_USER_STATS_RESERVED_25A_LSB 56
  1223. #define RX_PPDU_END_USER_STATS_RESERVED_25A_MSB 63
  1224. #define RX_PPDU_END_USER_STATS_RESERVED_25A_MASK 0xff00000000000000
  1225. /* Description MAC_ADDR_AD2_31_0
  1226. Field only valid when mac_addr_ad2_valid is set
  1227. The least significant 4 bytes of the last successfully received
  1228. frame's MAC Address AD2
  1229. <legal all>
  1230. */
  1231. #define RX_PPDU_END_USER_STATS_MAC_ADDR_AD2_31_0_OFFSET 0x0000000000000068
  1232. #define RX_PPDU_END_USER_STATS_MAC_ADDR_AD2_31_0_LSB 0
  1233. #define RX_PPDU_END_USER_STATS_MAC_ADDR_AD2_31_0_MSB 31
  1234. #define RX_PPDU_END_USER_STATS_MAC_ADDR_AD2_31_0_MASK 0x00000000ffffffff
  1235. /* Description MAC_ADDR_AD2_47_32
  1236. Field only valid when mac_addr_ad2_valid is set
  1237. The 2 most significant bytes of the last successfully received
  1238. frame's MAC Address AD2
  1239. <legal all>
  1240. */
  1241. #define RX_PPDU_END_USER_STATS_MAC_ADDR_AD2_47_32_OFFSET 0x0000000000000068
  1242. #define RX_PPDU_END_USER_STATS_MAC_ADDR_AD2_47_32_LSB 32
  1243. #define RX_PPDU_END_USER_STATS_MAC_ADDR_AD2_47_32_MSB 47
  1244. #define RX_PPDU_END_USER_STATS_MAC_ADDR_AD2_47_32_MASK 0x0000ffff00000000
  1245. /* Description AMSDU_MSDU_COUNT
  1246. Field filled in by RX OLE
  1247. Set to 0 by RXPCU
  1248. The number of MSDUs that are part of A-MSDUs that are part
  1249. of MPDUs without FCS error
  1250. <legal all>
  1251. */
  1252. #define RX_PPDU_END_USER_STATS_AMSDU_MSDU_COUNT_OFFSET 0x0000000000000068
  1253. #define RX_PPDU_END_USER_STATS_AMSDU_MSDU_COUNT_LSB 48
  1254. #define RX_PPDU_END_USER_STATS_AMSDU_MSDU_COUNT_MSB 63
  1255. #define RX_PPDU_END_USER_STATS_AMSDU_MSDU_COUNT_MASK 0xffff000000000000
  1256. /* Description NON_AMSDU_MSDU_COUNT
  1257. Field filled in by RX OLE
  1258. Set to 0 by RXPCU
  1259. The number of MSDUs that are not part of A-MSDUs that are
  1260. part of MPDUs without FCS error
  1261. <legal all>
  1262. */
  1263. #define RX_PPDU_END_USER_STATS_NON_AMSDU_MSDU_COUNT_OFFSET 0x0000000000000070
  1264. #define RX_PPDU_END_USER_STATS_NON_AMSDU_MSDU_COUNT_LSB 0
  1265. #define RX_PPDU_END_USER_STATS_NON_AMSDU_MSDU_COUNT_MSB 15
  1266. #define RX_PPDU_END_USER_STATS_NON_AMSDU_MSDU_COUNT_MASK 0x000000000000ffff
  1267. /* Description UCAST_MSDU_COUNT
  1268. Field filled in by RX OLE
  1269. Set to 0 by RXPCU
  1270. The number of MSDUs that are part of MPDUs without FCS error,
  1271. that are directed to a unicast destination address
  1272. <legal all>
  1273. */
  1274. #define RX_PPDU_END_USER_STATS_UCAST_MSDU_COUNT_OFFSET 0x0000000000000070
  1275. #define RX_PPDU_END_USER_STATS_UCAST_MSDU_COUNT_LSB 16
  1276. #define RX_PPDU_END_USER_STATS_UCAST_MSDU_COUNT_MSB 31
  1277. #define RX_PPDU_END_USER_STATS_UCAST_MSDU_COUNT_MASK 0x00000000ffff0000
  1278. /* Description BCAST_MSDU_COUNT
  1279. Field filled in by RX OLE
  1280. Set to 0 by RXPCU
  1281. The number of MSDUs that are part of MPDUs without FCS error,
  1282. whose destination addresses are broadcast (0xFFFF_FFFF_FFFF)
  1283. <legal all>
  1284. */
  1285. #define RX_PPDU_END_USER_STATS_BCAST_MSDU_COUNT_OFFSET 0x0000000000000070
  1286. #define RX_PPDU_END_USER_STATS_BCAST_MSDU_COUNT_LSB 32
  1287. #define RX_PPDU_END_USER_STATS_BCAST_MSDU_COUNT_MSB 47
  1288. #define RX_PPDU_END_USER_STATS_BCAST_MSDU_COUNT_MASK 0x0000ffff00000000
  1289. /* Description MCAST_BCAST_MSDU_COUNT
  1290. Field filled in by RX OLE
  1291. Set to 0 by RXPCU
  1292. The number of MSDUs that are part of MPDUs without FCS error,
  1293. whose destination addresses are either multicast or broadcast
  1294. <legal all>
  1295. */
  1296. #define RX_PPDU_END_USER_STATS_MCAST_BCAST_MSDU_COUNT_OFFSET 0x0000000000000070
  1297. #define RX_PPDU_END_USER_STATS_MCAST_BCAST_MSDU_COUNT_LSB 48
  1298. #define RX_PPDU_END_USER_STATS_MCAST_BCAST_MSDU_COUNT_MSB 63
  1299. #define RX_PPDU_END_USER_STATS_MCAST_BCAST_MSDU_COUNT_MASK 0xffff000000000000
  1300. #endif // RX_PPDU_END_USER_STATS