xref: /wlan-driver/fw-api/hw/qca8074/v1/rx_ppdu_end_user_stats_ext.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1*5113495bSYour Name /*
2*5113495bSYour Name  * Copyright (c) 2016-2017 The Linux Foundation. All rights reserved.
3*5113495bSYour Name  *
4*5113495bSYour Name  * Permission to use, copy, modify, and/or distribute this software for
5*5113495bSYour Name  * any purpose with or without fee is hereby granted, provided that the
6*5113495bSYour Name  * above copyright notice and this permission notice appear in all
7*5113495bSYour Name  * copies.
8*5113495bSYour Name  *
9*5113495bSYour Name  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
10*5113495bSYour Name  * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
11*5113495bSYour Name  * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
12*5113495bSYour Name  * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
13*5113495bSYour Name  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
14*5113495bSYour Name  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
15*5113495bSYour Name  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16*5113495bSYour Name  * PERFORMANCE OF THIS SOFTWARE.
17*5113495bSYour Name  */
18*5113495bSYour Name 
19*5113495bSYour Name // DO NOT EDIT!  This file is automatically generated
20*5113495bSYour Name //               These definitions are tied to a particular hardware layout
21*5113495bSYour Name 
22*5113495bSYour Name 
23*5113495bSYour Name #ifndef _RX_PPDU_END_USER_STATS_EXT_H_
24*5113495bSYour Name #define _RX_PPDU_END_USER_STATS_EXT_H_
25*5113495bSYour Name #if !defined(__ASSEMBLER__)
26*5113495bSYour Name #endif
27*5113495bSYour Name 
28*5113495bSYour Name #include "rx_rxpcu_classification_overview.h"
29*5113495bSYour Name 
30*5113495bSYour Name // ################ START SUMMARY #################
31*5113495bSYour Name //
32*5113495bSYour Name //	Dword	Fields
33*5113495bSYour Name //	0	struct rx_rxpcu_classification_overview rxpcu_classification_details;
34*5113495bSYour Name //	1	fcs_ok_bitmap_95_64[31:0]
35*5113495bSYour Name //	2	fcs_ok_bitmap_127_96[31:0]
36*5113495bSYour Name //	3	fcs_ok_bitmap_159_128[31:0]
37*5113495bSYour Name //	4	fcs_ok_bitmap_191_160[31:0]
38*5113495bSYour Name //	5	fcs_ok_bitmap_223_192[31:0]
39*5113495bSYour Name //	6	fcs_ok_bitmap_255_224[31:0]
40*5113495bSYour Name //
41*5113495bSYour Name // ################ END SUMMARY #################
42*5113495bSYour Name 
43*5113495bSYour Name #define NUM_OF_DWORDS_RX_PPDU_END_USER_STATS_EXT 7
44*5113495bSYour Name 
45*5113495bSYour Name struct rx_ppdu_end_user_stats_ext {
46*5113495bSYour Name     struct            rx_rxpcu_classification_overview                       rxpcu_classification_details;
47*5113495bSYour Name              uint32_t fcs_ok_bitmap_95_64             : 32; //[31:0]
48*5113495bSYour Name              uint32_t fcs_ok_bitmap_127_96            : 32; //[31:0]
49*5113495bSYour Name              uint32_t fcs_ok_bitmap_159_128           : 32; //[31:0]
50*5113495bSYour Name              uint32_t fcs_ok_bitmap_191_160           : 32; //[31:0]
51*5113495bSYour Name              uint32_t fcs_ok_bitmap_223_192           : 32; //[31:0]
52*5113495bSYour Name              uint32_t fcs_ok_bitmap_255_224           : 32; //[31:0]
53*5113495bSYour Name };
54*5113495bSYour Name 
55*5113495bSYour Name /*
56*5113495bSYour Name 
57*5113495bSYour Name struct rx_rxpcu_classification_overview rxpcu_classification_details
58*5113495bSYour Name 
59*5113495bSYour Name 			Details related to what RXPCU classification types of
60*5113495bSYour Name 			MPDUs have been received
61*5113495bSYour Name 
62*5113495bSYour Name fcs_ok_bitmap_95_64
63*5113495bSYour Name 
64*5113495bSYour Name 			Bitmap indicates in order of received MPDUs, which MPDUs
65*5113495bSYour Name 			had an passing FCS or had an error.
66*5113495bSYour Name 
67*5113495bSYour Name 			1: FCS OK
68*5113495bSYour Name 
69*5113495bSYour Name 			0: FCS error
70*5113495bSYour Name 
71*5113495bSYour Name 			<legal all>
72*5113495bSYour Name 
73*5113495bSYour Name fcs_ok_bitmap_127_96
74*5113495bSYour Name 
75*5113495bSYour Name 			Bitmap indicates in order of received MPDUs, which MPDUs
76*5113495bSYour Name 			had an passing FCS or had an error.
77*5113495bSYour Name 
78*5113495bSYour Name 			1: FCS OK
79*5113495bSYour Name 
80*5113495bSYour Name 			0: FCS error
81*5113495bSYour Name 
82*5113495bSYour Name 			<legal all>
83*5113495bSYour Name 
84*5113495bSYour Name fcs_ok_bitmap_159_128
85*5113495bSYour Name 
86*5113495bSYour Name 			Bitmap indicates in order of received MPDUs, which MPDUs
87*5113495bSYour Name 			had an passing FCS or had an error.
88*5113495bSYour Name 
89*5113495bSYour Name 			1: FCS OK
90*5113495bSYour Name 
91*5113495bSYour Name 			0: FCS error
92*5113495bSYour Name 
93*5113495bSYour Name 			<legal all>
94*5113495bSYour Name 
95*5113495bSYour Name fcs_ok_bitmap_191_160
96*5113495bSYour Name 
97*5113495bSYour Name 			Bitmap indicates in order of received MPDUs, which MPDUs
98*5113495bSYour Name 			had an passing FCS or had an error.
99*5113495bSYour Name 
100*5113495bSYour Name 			1: FCS OK
101*5113495bSYour Name 
102*5113495bSYour Name 			0: FCS error
103*5113495bSYour Name 
104*5113495bSYour Name 			<legal all>
105*5113495bSYour Name 
106*5113495bSYour Name fcs_ok_bitmap_223_192
107*5113495bSYour Name 
108*5113495bSYour Name 			Bitmap indicates in order of received MPDUs, which MPDUs
109*5113495bSYour Name 			had an passing FCS or had an error.
110*5113495bSYour Name 
111*5113495bSYour Name 			1: FCS OK
112*5113495bSYour Name 
113*5113495bSYour Name 			0: FCS error
114*5113495bSYour Name 
115*5113495bSYour Name 			<legal all>
116*5113495bSYour Name 
117*5113495bSYour Name fcs_ok_bitmap_255_224
118*5113495bSYour Name 
119*5113495bSYour Name 			Bitmap indicates in order of received MPDUs, which MPDUs
120*5113495bSYour Name 			had an passing FCS or had an error.
121*5113495bSYour Name 
122*5113495bSYour Name 			1: FCS OK
123*5113495bSYour Name 
124*5113495bSYour Name 			0: FCS error
125*5113495bSYour Name 
126*5113495bSYour Name 			<legal all>
127*5113495bSYour Name */
128*5113495bSYour Name 
129*5113495bSYour Name #define RX_PPDU_END_USER_STATS_EXT_0_RX_RXPCU_CLASSIFICATION_OVERVIEW_RXPCU_CLASSIFICATION_DETAILS_OFFSET 0x00000000
130*5113495bSYour Name #define RX_PPDU_END_USER_STATS_EXT_0_RX_RXPCU_CLASSIFICATION_OVERVIEW_RXPCU_CLASSIFICATION_DETAILS_LSB 0
131*5113495bSYour Name #define RX_PPDU_END_USER_STATS_EXT_0_RX_RXPCU_CLASSIFICATION_OVERVIEW_RXPCU_CLASSIFICATION_DETAILS_MASK 0xffffffff
132*5113495bSYour Name 
133*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_EXT_1_FCS_OK_BITMAP_95_64
134*5113495bSYour Name 
135*5113495bSYour Name 			Bitmap indicates in order of received MPDUs, which MPDUs
136*5113495bSYour Name 			had an passing FCS or had an error.
137*5113495bSYour Name 
138*5113495bSYour Name 			1: FCS OK
139*5113495bSYour Name 
140*5113495bSYour Name 			0: FCS error
141*5113495bSYour Name 
142*5113495bSYour Name 			<legal all>
143*5113495bSYour Name */
144*5113495bSYour Name #define RX_PPDU_END_USER_STATS_EXT_1_FCS_OK_BITMAP_95_64_OFFSET      0x00000004
145*5113495bSYour Name #define RX_PPDU_END_USER_STATS_EXT_1_FCS_OK_BITMAP_95_64_LSB         0
146*5113495bSYour Name #define RX_PPDU_END_USER_STATS_EXT_1_FCS_OK_BITMAP_95_64_MASK        0xffffffff
147*5113495bSYour Name 
148*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_EXT_2_FCS_OK_BITMAP_127_96
149*5113495bSYour Name 
150*5113495bSYour Name 			Bitmap indicates in order of received MPDUs, which MPDUs
151*5113495bSYour Name 			had an passing FCS or had an error.
152*5113495bSYour Name 
153*5113495bSYour Name 			1: FCS OK
154*5113495bSYour Name 
155*5113495bSYour Name 			0: FCS error
156*5113495bSYour Name 
157*5113495bSYour Name 			<legal all>
158*5113495bSYour Name */
159*5113495bSYour Name #define RX_PPDU_END_USER_STATS_EXT_2_FCS_OK_BITMAP_127_96_OFFSET     0x00000008
160*5113495bSYour Name #define RX_PPDU_END_USER_STATS_EXT_2_FCS_OK_BITMAP_127_96_LSB        0
161*5113495bSYour Name #define RX_PPDU_END_USER_STATS_EXT_2_FCS_OK_BITMAP_127_96_MASK       0xffffffff
162*5113495bSYour Name 
163*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_EXT_3_FCS_OK_BITMAP_159_128
164*5113495bSYour Name 
165*5113495bSYour Name 			Bitmap indicates in order of received MPDUs, which MPDUs
166*5113495bSYour Name 			had an passing FCS or had an error.
167*5113495bSYour Name 
168*5113495bSYour Name 			1: FCS OK
169*5113495bSYour Name 
170*5113495bSYour Name 			0: FCS error
171*5113495bSYour Name 
172*5113495bSYour Name 			<legal all>
173*5113495bSYour Name */
174*5113495bSYour Name #define RX_PPDU_END_USER_STATS_EXT_3_FCS_OK_BITMAP_159_128_OFFSET    0x0000000c
175*5113495bSYour Name #define RX_PPDU_END_USER_STATS_EXT_3_FCS_OK_BITMAP_159_128_LSB       0
176*5113495bSYour Name #define RX_PPDU_END_USER_STATS_EXT_3_FCS_OK_BITMAP_159_128_MASK      0xffffffff
177*5113495bSYour Name 
178*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_EXT_4_FCS_OK_BITMAP_191_160
179*5113495bSYour Name 
180*5113495bSYour Name 			Bitmap indicates in order of received MPDUs, which MPDUs
181*5113495bSYour Name 			had an passing FCS or had an error.
182*5113495bSYour Name 
183*5113495bSYour Name 			1: FCS OK
184*5113495bSYour Name 
185*5113495bSYour Name 			0: FCS error
186*5113495bSYour Name 
187*5113495bSYour Name 			<legal all>
188*5113495bSYour Name */
189*5113495bSYour Name #define RX_PPDU_END_USER_STATS_EXT_4_FCS_OK_BITMAP_191_160_OFFSET    0x00000010
190*5113495bSYour Name #define RX_PPDU_END_USER_STATS_EXT_4_FCS_OK_BITMAP_191_160_LSB       0
191*5113495bSYour Name #define RX_PPDU_END_USER_STATS_EXT_4_FCS_OK_BITMAP_191_160_MASK      0xffffffff
192*5113495bSYour Name 
193*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_EXT_5_FCS_OK_BITMAP_223_192
194*5113495bSYour Name 
195*5113495bSYour Name 			Bitmap indicates in order of received MPDUs, which MPDUs
196*5113495bSYour Name 			had an passing FCS or had an error.
197*5113495bSYour Name 
198*5113495bSYour Name 			1: FCS OK
199*5113495bSYour Name 
200*5113495bSYour Name 			0: FCS error
201*5113495bSYour Name 
202*5113495bSYour Name 			<legal all>
203*5113495bSYour Name */
204*5113495bSYour Name #define RX_PPDU_END_USER_STATS_EXT_5_FCS_OK_BITMAP_223_192_OFFSET    0x00000014
205*5113495bSYour Name #define RX_PPDU_END_USER_STATS_EXT_5_FCS_OK_BITMAP_223_192_LSB       0
206*5113495bSYour Name #define RX_PPDU_END_USER_STATS_EXT_5_FCS_OK_BITMAP_223_192_MASK      0xffffffff
207*5113495bSYour Name 
208*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_EXT_6_FCS_OK_BITMAP_255_224
209*5113495bSYour Name 
210*5113495bSYour Name 			Bitmap indicates in order of received MPDUs, which MPDUs
211*5113495bSYour Name 			had an passing FCS or had an error.
212*5113495bSYour Name 
213*5113495bSYour Name 			1: FCS OK
214*5113495bSYour Name 
215*5113495bSYour Name 			0: FCS error
216*5113495bSYour Name 
217*5113495bSYour Name 			<legal all>
218*5113495bSYour Name */
219*5113495bSYour Name #define RX_PPDU_END_USER_STATS_EXT_6_FCS_OK_BITMAP_255_224_OFFSET    0x00000018
220*5113495bSYour Name #define RX_PPDU_END_USER_STATS_EXT_6_FCS_OK_BITMAP_255_224_LSB       0
221*5113495bSYour Name #define RX_PPDU_END_USER_STATS_EXT_6_FCS_OK_BITMAP_255_224_MASK      0xffffffff
222*5113495bSYour Name 
223*5113495bSYour Name 
224*5113495bSYour Name #endif // _RX_PPDU_END_USER_STATS_EXT_H_
225