xref: /wlan-driver/fw-api/hw/qca8074/v2/rx_ppdu_end_user_stats.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1*5113495bSYour Name /*
2*5113495bSYour Name  * Copyright (c) 2020 The Linux Foundation. All rights reserved.
3*5113495bSYour Name  *
4*5113495bSYour Name  * Permission to use, copy, modify, and/or distribute this software for any
5*5113495bSYour Name  * purpose with or without fee is hereby granted, provided that the above
6*5113495bSYour Name  * copyright notice and this permission notice appear in all copies.
7*5113495bSYour Name  *
8*5113495bSYour Name  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9*5113495bSYour Name  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10*5113495bSYour Name  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11*5113495bSYour Name  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12*5113495bSYour Name  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13*5113495bSYour Name  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14*5113495bSYour Name  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15*5113495bSYour Name  */
16*5113495bSYour Name 
17*5113495bSYour Name // $ATH_LICENSE_HW_HDR_C$
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_H_
24*5113495bSYour Name #define _RX_PPDU_END_USER_STATS_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	sta_full_aid[12:0], mcs[16:13], nss[19:17], ofdma_info_valid[20], dl_ofdma_ru_start_index[27:21], reserved_1a[31:28]
35*5113495bSYour Name //	2	dl_ofdma_ru_width[6:0], reserved_2a[7], user_receive_quality[15:8], mpdu_cnt_fcs_err[25:16], wbm2rxdma_buf_source_used[26], fw2rxdma_buf_source_used[27], sw2rxdma_buf_source_used[28], reserved_2b[31:29]
36*5113495bSYour Name //	3	mpdu_cnt_fcs_ok[8:0], frame_control_info_valid[9], qos_control_info_valid[10], ht_control_info_valid[11], data_sequence_control_info_valid[12], ht_control_info_null_valid[13], reserved_3a[15:14], rxdma2reo_ring_used[16], rxdma2fw_ring_used[17], rxdma2sw_ring_used[18], rxdma_release_ring_used[19], ht_control_field_pkt_type[23:20], reserved_3b[31:24]
37*5113495bSYour Name //	4	ast_index[15:0], frame_control_field[31:16]
38*5113495bSYour Name //	5	first_data_seq_ctrl[15:0], qos_control_field[31:16]
39*5113495bSYour Name //	6	ht_control_field[31:0]
40*5113495bSYour Name //	7	fcs_ok_bitmap_31_0[31:0]
41*5113495bSYour Name //	8	fcs_ok_bitmap_63_32[31:0]
42*5113495bSYour Name //	9	udp_msdu_count[15:0], tcp_msdu_count[31:16]
43*5113495bSYour Name //	10	other_msdu_count[15:0], tcp_ack_msdu_count[31:16]
44*5113495bSYour Name //	11	sw_response_reference_ptr[31:0]
45*5113495bSYour Name //	12	received_qos_data_tid_bitmap[15:0], received_qos_data_tid_eosp_bitmap[31:16]
46*5113495bSYour Name //	13	qosctrl_15_8_tid0[7:0], qosctrl_15_8_tid1[15:8], qosctrl_15_8_tid2[23:16], qosctrl_15_8_tid3[31:24]
47*5113495bSYour Name //	14	qosctrl_15_8_tid4[7:0], qosctrl_15_8_tid5[15:8], qosctrl_15_8_tid6[23:16], qosctrl_15_8_tid7[31:24]
48*5113495bSYour Name //	15	qosctrl_15_8_tid8[7:0], qosctrl_15_8_tid9[15:8], qosctrl_15_8_tid10[23:16], qosctrl_15_8_tid11[31:24]
49*5113495bSYour Name //	16	qosctrl_15_8_tid12[7:0], qosctrl_15_8_tid13[15:8], qosctrl_15_8_tid14[23:16], qosctrl_15_8_tid15[31:24]
50*5113495bSYour Name //	17	mpdu_ok_byte_count[24:0], ampdu_delim_ok_count_6_0[31:25]
51*5113495bSYour Name //	18	ampdu_delim_err_count[24:0], ampdu_delim_ok_count_13_7[31:25]
52*5113495bSYour Name //	19	mpdu_err_byte_count[24:0], ampdu_delim_ok_count_20_14[31:25]
53*5113495bSYour Name //	20	non_consecutive_delimiter_err[15:0], reserved_20a[31:16]
54*5113495bSYour Name //	21	ht_control_null_field[31:0]
55*5113495bSYour Name //	22	sw_response_reference_ptr_ext[31:0]
56*5113495bSYour Name //
57*5113495bSYour Name // ################ END SUMMARY #################
58*5113495bSYour Name 
59*5113495bSYour Name #define NUM_OF_DWORDS_RX_PPDU_END_USER_STATS 23
60*5113495bSYour Name 
61*5113495bSYour Name struct rx_ppdu_end_user_stats {
62*5113495bSYour Name     struct            rx_rxpcu_classification_overview                       rxpcu_classification_details;
63*5113495bSYour Name              uint32_t sta_full_aid                    : 13, //[12:0]
64*5113495bSYour Name                       mcs                             :  4, //[16:13]
65*5113495bSYour Name                       nss                             :  3, //[19:17]
66*5113495bSYour Name                       ofdma_info_valid                :  1, //[20]
67*5113495bSYour Name                       dl_ofdma_ru_start_index         :  7, //[27:21]
68*5113495bSYour Name                       reserved_1a                     :  4; //[31:28]
69*5113495bSYour Name              uint32_t dl_ofdma_ru_width               :  7, //[6:0]
70*5113495bSYour Name                       reserved_2a                     :  1, //[7]
71*5113495bSYour Name                       user_receive_quality            :  8, //[15:8]
72*5113495bSYour Name                       mpdu_cnt_fcs_err                : 10, //[25:16]
73*5113495bSYour Name                       wbm2rxdma_buf_source_used       :  1, //[26]
74*5113495bSYour Name                       fw2rxdma_buf_source_used        :  1, //[27]
75*5113495bSYour Name                       sw2rxdma_buf_source_used        :  1, //[28]
76*5113495bSYour Name                       reserved_2b                     :  3; //[31:29]
77*5113495bSYour Name              uint32_t mpdu_cnt_fcs_ok                 :  9, //[8:0]
78*5113495bSYour Name                       frame_control_info_valid        :  1, //[9]
79*5113495bSYour Name                       qos_control_info_valid          :  1, //[10]
80*5113495bSYour Name                       ht_control_info_valid           :  1, //[11]
81*5113495bSYour Name                       data_sequence_control_info_valid:  1, //[12]
82*5113495bSYour Name                       ht_control_info_null_valid      :  1, //[13]
83*5113495bSYour Name                       reserved_3a                     :  2, //[15:14]
84*5113495bSYour Name                       rxdma2reo_ring_used             :  1, //[16]
85*5113495bSYour Name                       rxdma2fw_ring_used              :  1, //[17]
86*5113495bSYour Name                       rxdma2sw_ring_used              :  1, //[18]
87*5113495bSYour Name                       rxdma_release_ring_used         :  1, //[19]
88*5113495bSYour Name                       ht_control_field_pkt_type       :  4, //[23:20]
89*5113495bSYour Name                       reserved_3b                     :  8; //[31:24]
90*5113495bSYour Name              uint32_t ast_index                       : 16, //[15:0]
91*5113495bSYour Name                       frame_control_field             : 16; //[31:16]
92*5113495bSYour Name              uint32_t first_data_seq_ctrl             : 16, //[15:0]
93*5113495bSYour Name                       qos_control_field               : 16; //[31:16]
94*5113495bSYour Name              uint32_t ht_control_field                : 32; //[31:0]
95*5113495bSYour Name              uint32_t fcs_ok_bitmap_31_0              : 32; //[31:0]
96*5113495bSYour Name              uint32_t fcs_ok_bitmap_63_32             : 32; //[31:0]
97*5113495bSYour Name              uint32_t udp_msdu_count                  : 16, //[15:0]
98*5113495bSYour Name                       tcp_msdu_count                  : 16; //[31:16]
99*5113495bSYour Name              uint32_t other_msdu_count                : 16, //[15:0]
100*5113495bSYour Name                       tcp_ack_msdu_count              : 16; //[31:16]
101*5113495bSYour Name              uint32_t sw_response_reference_ptr       : 32; //[31:0]
102*5113495bSYour Name              uint32_t received_qos_data_tid_bitmap    : 16, //[15:0]
103*5113495bSYour Name                       received_qos_data_tid_eosp_bitmap: 16; //[31:16]
104*5113495bSYour Name              uint32_t qosctrl_15_8_tid0               :  8, //[7:0]
105*5113495bSYour Name                       qosctrl_15_8_tid1               :  8, //[15:8]
106*5113495bSYour Name                       qosctrl_15_8_tid2               :  8, //[23:16]
107*5113495bSYour Name                       qosctrl_15_8_tid3               :  8; //[31:24]
108*5113495bSYour Name              uint32_t qosctrl_15_8_tid4               :  8, //[7:0]
109*5113495bSYour Name                       qosctrl_15_8_tid5               :  8, //[15:8]
110*5113495bSYour Name                       qosctrl_15_8_tid6               :  8, //[23:16]
111*5113495bSYour Name                       qosctrl_15_8_tid7               :  8; //[31:24]
112*5113495bSYour Name              uint32_t qosctrl_15_8_tid8               :  8, //[7:0]
113*5113495bSYour Name                       qosctrl_15_8_tid9               :  8, //[15:8]
114*5113495bSYour Name                       qosctrl_15_8_tid10              :  8, //[23:16]
115*5113495bSYour Name                       qosctrl_15_8_tid11              :  8; //[31:24]
116*5113495bSYour Name              uint32_t qosctrl_15_8_tid12              :  8, //[7:0]
117*5113495bSYour Name                       qosctrl_15_8_tid13              :  8, //[15:8]
118*5113495bSYour Name                       qosctrl_15_8_tid14              :  8, //[23:16]
119*5113495bSYour Name                       qosctrl_15_8_tid15              :  8; //[31:24]
120*5113495bSYour Name              uint32_t mpdu_ok_byte_count              : 25, //[24:0]
121*5113495bSYour Name                       ampdu_delim_ok_count_6_0        :  7; //[31:25]
122*5113495bSYour Name              uint32_t ampdu_delim_err_count           : 25, //[24:0]
123*5113495bSYour Name                       ampdu_delim_ok_count_13_7       :  7; //[31:25]
124*5113495bSYour Name              uint32_t mpdu_err_byte_count             : 25, //[24:0]
125*5113495bSYour Name                       ampdu_delim_ok_count_20_14      :  7; //[31:25]
126*5113495bSYour Name              uint32_t non_consecutive_delimiter_err   : 16, //[15:0]
127*5113495bSYour Name                       reserved_20a                    : 16; //[31:16]
128*5113495bSYour Name              uint32_t ht_control_null_field           : 32; //[31:0]
129*5113495bSYour Name              uint32_t sw_response_reference_ptr_ext   : 32; //[31:0]
130*5113495bSYour Name };
131*5113495bSYour Name 
132*5113495bSYour Name /*
133*5113495bSYour Name 
134*5113495bSYour Name struct rx_rxpcu_classification_overview rxpcu_classification_details
135*5113495bSYour Name 
136*5113495bSYour Name 			Details related to what RXPCU classification types of
137*5113495bSYour Name 			MPDUs have been received
138*5113495bSYour Name 
139*5113495bSYour Name sta_full_aid
140*5113495bSYour Name 
141*5113495bSYour Name 			Consumer: FW
142*5113495bSYour Name 
143*5113495bSYour Name 			Producer: RXPCU
144*5113495bSYour Name 
145*5113495bSYour Name 
146*5113495bSYour Name 
147*5113495bSYour Name 			The full AID of this station.
148*5113495bSYour Name 
149*5113495bSYour Name 
150*5113495bSYour Name 
151*5113495bSYour Name 			<legal all>
152*5113495bSYour Name 
153*5113495bSYour Name mcs
154*5113495bSYour Name 
155*5113495bSYour Name 			MCS of the received frame
156*5113495bSYour Name 
157*5113495bSYour Name 
158*5113495bSYour Name 
159*5113495bSYour Name 			For details, refer to  MCS_TYPE description
160*5113495bSYour Name 
161*5113495bSYour Name 			Note: This is rate in case of 11a/11b
162*5113495bSYour Name 
163*5113495bSYour Name 
164*5113495bSYour Name 
165*5113495bSYour Name 			<legal all>
166*5113495bSYour Name 
167*5113495bSYour Name nss
168*5113495bSYour Name 
169*5113495bSYour Name 			Number of spatial streams.
170*5113495bSYour Name 
171*5113495bSYour Name 
172*5113495bSYour Name 
173*5113495bSYour Name 			NOTE: RXPCU derives this from the 'Mimo_ss_bitmap'
174*5113495bSYour Name 
175*5113495bSYour Name 
176*5113495bSYour Name 
177*5113495bSYour Name 			<enum 0 1_spatial_stream>Single spatial stream
178*5113495bSYour Name 
179*5113495bSYour Name 			<enum 1 2_spatial_streams>2 spatial streams
180*5113495bSYour Name 
181*5113495bSYour Name 			<enum 2 3_spatial_streams>3 spatial streams
182*5113495bSYour Name 
183*5113495bSYour Name 			<enum 3 4_spatial_streams>4 spatial streams
184*5113495bSYour Name 
185*5113495bSYour Name 			<enum 4 5_spatial_streams>5 spatial streams
186*5113495bSYour Name 
187*5113495bSYour Name 			<enum 5 6_spatial_streams>6 spatial streams
188*5113495bSYour Name 
189*5113495bSYour Name 			<enum 6 7_spatial_streams>7 spatial streams
190*5113495bSYour Name 
191*5113495bSYour Name 			<enum 7 8_spatial_streams>8 spatial streams
192*5113495bSYour Name 
193*5113495bSYour Name ofdma_info_valid
194*5113495bSYour Name 
195*5113495bSYour Name 			When set, ofdma RU related info in the following fields
196*5113495bSYour Name 			is valid
197*5113495bSYour Name 
198*5113495bSYour Name 			<legal all>
199*5113495bSYour Name 
200*5113495bSYour Name dl_ofdma_ru_start_index
201*5113495bSYour Name 
202*5113495bSYour Name 			Field only valid when Ofdma_info_valid is set
203*5113495bSYour Name 
204*5113495bSYour Name 
205*5113495bSYour Name 
206*5113495bSYour Name 			RU index number to which User is assigned
207*5113495bSYour Name 
208*5113495bSYour Name 			RU numbering is over the entire BW, starting from 0
209*5113495bSYour Name 
210*5113495bSYour Name 			<legal 0-73>
211*5113495bSYour Name 
212*5113495bSYour Name reserved_1a
213*5113495bSYour Name 
214*5113495bSYour Name 			<legal 0>
215*5113495bSYour Name 
216*5113495bSYour Name dl_ofdma_ru_width
217*5113495bSYour Name 
218*5113495bSYour Name 			The size of the RU for this user.
219*5113495bSYour Name 
220*5113495bSYour Name 			In units of 1 (26 tone) RU
221*5113495bSYour Name 
222*5113495bSYour Name 			<legal 1-74>
223*5113495bSYour Name 
224*5113495bSYour Name reserved_2a
225*5113495bSYour Name 
226*5113495bSYour Name 			<legal 0>
227*5113495bSYour Name 
228*5113495bSYour Name user_receive_quality
229*5113495bSYour Name 
230*5113495bSYour Name 			RSSI / EVM for this user ???
231*5113495bSYour Name 
232*5113495bSYour Name 
233*5113495bSYour Name 
234*5113495bSYour Name 			Details TBD
235*5113495bSYour Name 
236*5113495bSYour Name 			<legal all>
237*5113495bSYour Name 
238*5113495bSYour Name mpdu_cnt_fcs_err
239*5113495bSYour Name 
240*5113495bSYour Name 			The number of MPDUs received from this STA in this PPDU
241*5113495bSYour Name 			with FCS errors
242*5113495bSYour Name 
243*5113495bSYour Name 			<legal all>
244*5113495bSYour Name 
245*5113495bSYour Name wbm2rxdma_buf_source_used
246*5113495bSYour Name 
247*5113495bSYour Name 			Field filled in by RXDMA
248*5113495bSYour Name 
249*5113495bSYour Name 
250*5113495bSYour Name 
251*5113495bSYour Name 			When set, RXDMA has used the wbm2rxdma_buf ring as
252*5113495bSYour Name 			source for at least one of the frames in this PPDU.
253*5113495bSYour Name 
254*5113495bSYour Name fw2rxdma_buf_source_used
255*5113495bSYour Name 
256*5113495bSYour Name 			Field filled in by RXDMA
257*5113495bSYour Name 
258*5113495bSYour Name 
259*5113495bSYour Name 
260*5113495bSYour Name 			When set, RXDMA has used the fw2rxdma_buf ring as source
261*5113495bSYour Name 			for at least one of the frames in this PPDU.
262*5113495bSYour Name 
263*5113495bSYour Name sw2rxdma_buf_source_used
264*5113495bSYour Name 
265*5113495bSYour Name 			Field filled in by RXDMA
266*5113495bSYour Name 
267*5113495bSYour Name 
268*5113495bSYour Name 
269*5113495bSYour Name 			When set, RXDMA has used the sw2rxdma_buf ring as source
270*5113495bSYour Name 			for at least one of the frames in this PPDU.
271*5113495bSYour Name 
272*5113495bSYour Name reserved_2b
273*5113495bSYour Name 
274*5113495bSYour Name 			<legal 0>
275*5113495bSYour Name 
276*5113495bSYour Name mpdu_cnt_fcs_ok
277*5113495bSYour Name 
278*5113495bSYour Name 			The number of MPDUs received from this STA in this PPDU
279*5113495bSYour Name 			with correct FCS
280*5113495bSYour Name 
281*5113495bSYour Name 			<legal all>
282*5113495bSYour Name 
283*5113495bSYour Name frame_control_info_valid
284*5113495bSYour Name 
285*5113495bSYour Name 			When set, the frame_control_info field contains valid
286*5113495bSYour Name 			information
287*5113495bSYour Name 
288*5113495bSYour Name 			<legal all>
289*5113495bSYour Name 
290*5113495bSYour Name qos_control_info_valid
291*5113495bSYour Name 
292*5113495bSYour Name 			When set, the QoS_control_info field contains valid
293*5113495bSYour Name 			information
294*5113495bSYour Name 
295*5113495bSYour Name 			<legal all>
296*5113495bSYour Name 
297*5113495bSYour Name ht_control_info_valid
298*5113495bSYour Name 
299*5113495bSYour Name 			When set, the HT_control_field contains valid
300*5113495bSYour Name 			information
301*5113495bSYour Name 
302*5113495bSYour Name 			<legal all>
303*5113495bSYour Name 
304*5113495bSYour Name data_sequence_control_info_valid
305*5113495bSYour Name 
306*5113495bSYour Name 			When set, the First_data_seq_ctrl field contains valid
307*5113495bSYour Name 			information
308*5113495bSYour Name 
309*5113495bSYour Name 			<legal all>
310*5113495bSYour Name 
311*5113495bSYour Name ht_control_info_null_valid
312*5113495bSYour Name 
313*5113495bSYour Name 			When set, the HT_control_NULL_field contains valid
314*5113495bSYour Name 			information
315*5113495bSYour Name 
316*5113495bSYour Name 			<legal all>
317*5113495bSYour Name 
318*5113495bSYour Name reserved_3a
319*5113495bSYour Name 
320*5113495bSYour Name 			<legal 0>
321*5113495bSYour Name 
322*5113495bSYour Name rxdma2reo_ring_used
323*5113495bSYour Name 
324*5113495bSYour Name 			Field filled in by RXDMA
325*5113495bSYour Name 
326*5113495bSYour Name 
327*5113495bSYour Name 
328*5113495bSYour Name 			Set when at least one frame during this PPDU got pushed
329*5113495bSYour Name 			to this ring by RXDMA
330*5113495bSYour Name 
331*5113495bSYour Name rxdma2fw_ring_used
332*5113495bSYour Name 
333*5113495bSYour Name 			Field filled in by RXDMA
334*5113495bSYour Name 
335*5113495bSYour Name 
336*5113495bSYour Name 
337*5113495bSYour Name 			Set when at least one frame during this PPDU got pushed
338*5113495bSYour Name 			to this ring by RXDMA
339*5113495bSYour Name 
340*5113495bSYour Name rxdma2sw_ring_used
341*5113495bSYour Name 
342*5113495bSYour Name 			Field filled in by RXDMA
343*5113495bSYour Name 
344*5113495bSYour Name 
345*5113495bSYour Name 
346*5113495bSYour Name 			Set when at least one frame during this PPDU got pushed
347*5113495bSYour Name 			to this ring by RXDMA
348*5113495bSYour Name 
349*5113495bSYour Name rxdma_release_ring_used
350*5113495bSYour Name 
351*5113495bSYour Name 			Field filled in by RXDMA
352*5113495bSYour Name 
353*5113495bSYour Name 
354*5113495bSYour Name 
355*5113495bSYour Name 			Set when at least one frame during this PPDU got pushed
356*5113495bSYour Name 			to this ring by RXDMA
357*5113495bSYour Name 
358*5113495bSYour Name ht_control_field_pkt_type
359*5113495bSYour Name 
360*5113495bSYour Name 			Field only valid when HT_control_info_valid or
361*5113495bSYour Name 			HT_control_info_NULL_valid    is set.
362*5113495bSYour Name 
363*5113495bSYour Name 
364*5113495bSYour Name 
365*5113495bSYour Name 			Indicates what the PHY receive type was for receiving
366*5113495bSYour Name 			this frame. Can help determine if the HT_CONTROL field shall
367*5113495bSYour Name 			be interpreted as HT/VHT or HE.
368*5113495bSYour Name 
369*5113495bSYour Name 
370*5113495bSYour Name 
371*5113495bSYour Name 			NOTE: later on in the 11ax IEEE spec a bit within the HT
372*5113495bSYour Name 			control field was introduced that explicitly indicated how
373*5113495bSYour Name 			to interpret the HT control field.... As HT, VHT, or HE.
374*5113495bSYour Name 
375*5113495bSYour Name 
376*5113495bSYour Name 
377*5113495bSYour Name 			<enum 0 dot11a>802.11a PPDU type
378*5113495bSYour Name 
379*5113495bSYour Name 			<enum 1 dot11b>802.11b PPDU type
380*5113495bSYour Name 
381*5113495bSYour Name 			<enum 2 dot11n_mm>802.11n Mixed Mode PPDU type
382*5113495bSYour Name 
383*5113495bSYour Name 			<enum 3 dot11ac>802.11ac PPDU type
384*5113495bSYour Name 
385*5113495bSYour Name 			<enum 4 dot11ax>802.11ax PPDU type
386*5113495bSYour Name 
387*5113495bSYour Name reserved_3b
388*5113495bSYour Name 
389*5113495bSYour Name 			<legal 0>
390*5113495bSYour Name 
391*5113495bSYour Name ast_index
392*5113495bSYour Name 
393*5113495bSYour Name 			This field indicates the index of the AST entry
394*5113495bSYour Name 			corresponding to this MPDU. It is provided by the GSE module
395*5113495bSYour Name 			instantiated in RXPCU.
396*5113495bSYour Name 
397*5113495bSYour Name 			A value of 0xFFFF indicates an invalid AST index,
398*5113495bSYour Name 			meaning that No AST entry was found or NO AST search was
399*5113495bSYour Name 			performed
400*5113495bSYour Name 
401*5113495bSYour Name 			<legal all>
402*5113495bSYour Name 
403*5113495bSYour Name frame_control_field
404*5113495bSYour Name 
405*5113495bSYour Name 			Field only valid when Frame_control_info_valid is set.
406*5113495bSYour Name 
407*5113495bSYour Name 
408*5113495bSYour Name 
409*5113495bSYour Name 			Last successfully received Frame_control field of data
410*5113495bSYour Name 			frame (excluding Data NULL/ QoS Null) for this user
411*5113495bSYour Name 
412*5113495bSYour Name 			Mainly used to track the PM state of the transmitted
413*5113495bSYour Name 			device
414*5113495bSYour Name 
415*5113495bSYour Name 
416*5113495bSYour Name 
417*5113495bSYour Name 			NOTE: only data frame info is needed, as control and
418*5113495bSYour Name 			management frames are already routed to the FW.
419*5113495bSYour Name 
420*5113495bSYour Name 			<legal all>
421*5113495bSYour Name 
422*5113495bSYour Name first_data_seq_ctrl
423*5113495bSYour Name 
424*5113495bSYour Name 			Field only valid when Data_sequence_control_info_valid
425*5113495bSYour Name 			is set.
426*5113495bSYour Name 
427*5113495bSYour Name 
428*5113495bSYour Name 
429*5113495bSYour Name 			Sequence control field of the first data frame
430*5113495bSYour Name 			(excluding Data NULL or QoS Data null) received for this
431*5113495bSYour Name 			user with correct FCS
432*5113495bSYour Name 
433*5113495bSYour Name 
434*5113495bSYour Name 
435*5113495bSYour Name 			NOTE: only data frame info is needed, as control and
436*5113495bSYour Name 			management frames are already routed to the FW.
437*5113495bSYour Name 
438*5113495bSYour Name 			<legal all>
439*5113495bSYour Name 
440*5113495bSYour Name qos_control_field
441*5113495bSYour Name 
442*5113495bSYour Name 			Field only valid when QoS_control_info_valid is set.
443*5113495bSYour Name 
444*5113495bSYour Name 
445*5113495bSYour Name 
446*5113495bSYour Name 			Last successfully received QoS_control field of data
447*5113495bSYour Name 			frame (excluding Data NULL/ QoS Null) for this user
448*5113495bSYour Name 
449*5113495bSYour Name 
450*5113495bSYour Name 
451*5113495bSYour Name 			Note that in case of multi TID, this field can only
452*5113495bSYour Name 			reflect the last properly received MPDU, and thus can not
453*5113495bSYour Name 			indicate all potentially different TIDs that had been
454*5113495bSYour Name 			received earlier.
455*5113495bSYour Name 
456*5113495bSYour Name 
457*5113495bSYour Name 
458*5113495bSYour Name 			There are however per TID fields, that will contain
459*5113495bSYour Name 			among other things all buffer status info: See
460*5113495bSYour Name 
461*5113495bSYour Name 			QoSCtrl_15_8_tid???
462*5113495bSYour Name 
463*5113495bSYour Name 			<legal all>
464*5113495bSYour Name 
465*5113495bSYour Name ht_control_field
466*5113495bSYour Name 
467*5113495bSYour Name 			Field only valid when HT_control_info_valid is set.
468*5113495bSYour Name 
469*5113495bSYour Name 
470*5113495bSYour Name 
471*5113495bSYour Name 			Last successfully received
472*5113495bSYour Name 			HT_CONTROL/VHT_CONTROL/HE_CONTROL  field of data frames,
473*5113495bSYour Name 			excluding QoS Null frames for this user.
474*5113495bSYour Name 
475*5113495bSYour Name 
476*5113495bSYour Name 
477*5113495bSYour Name 			NOTE: HT control fields  from QoS Null frames are
478*5113495bSYour Name 			captured in field HT_control_NULL_field
479*5113495bSYour Name 
480*5113495bSYour Name 			<legal all>
481*5113495bSYour Name 
482*5113495bSYour Name fcs_ok_bitmap_31_0
483*5113495bSYour Name 
484*5113495bSYour Name 			Bitmap indicates in order of received MPDUs, which MPDUs
485*5113495bSYour Name 			had an passing FCS or had an error.
486*5113495bSYour Name 
487*5113495bSYour Name 			1: FCS OK
488*5113495bSYour Name 
489*5113495bSYour Name 			0: FCS error
490*5113495bSYour Name 
491*5113495bSYour Name 			<legal all>
492*5113495bSYour Name 
493*5113495bSYour Name fcs_ok_bitmap_63_32
494*5113495bSYour Name 
495*5113495bSYour Name 			Bitmap indicates in order of received MPDUs, which MPDUs
496*5113495bSYour Name 			had an passing FCS or had an error.
497*5113495bSYour Name 
498*5113495bSYour Name 			1: FCS OK
499*5113495bSYour Name 
500*5113495bSYour Name 			0: FCS error
501*5113495bSYour Name 
502*5113495bSYour Name 
503*5113495bSYour Name 
504*5113495bSYour Name 			NOTE: for users 0, 1, 2 and 3, additional bitmap info
505*5113495bSYour Name 			(up to 256 bitmap window) is provided in
506*5113495bSYour Name 			RX_PPDU_END_USER_STATS_EXT TLV
507*5113495bSYour Name 
508*5113495bSYour Name 			<legal all>
509*5113495bSYour Name 
510*5113495bSYour Name udp_msdu_count
511*5113495bSYour Name 
512*5113495bSYour Name 			Field filled in by RX OLE
513*5113495bSYour Name 
514*5113495bSYour Name 			Set to 0 by RXPCU
515*5113495bSYour Name 
516*5113495bSYour Name 
517*5113495bSYour Name 
518*5113495bSYour Name 			The number of MSDUs that are part of MPDUs without FCS
519*5113495bSYour Name 			error, that contain UDP frames.
520*5113495bSYour Name 
521*5113495bSYour Name 			<legal all>
522*5113495bSYour Name 
523*5113495bSYour Name tcp_msdu_count
524*5113495bSYour Name 
525*5113495bSYour Name 			Field filled in by RX OLE
526*5113495bSYour Name 
527*5113495bSYour Name 			Set to 0 by RXPCU
528*5113495bSYour Name 
529*5113495bSYour Name 
530*5113495bSYour Name 
531*5113495bSYour Name 			The number of MSDUs that are part of MPDUs without FCS
532*5113495bSYour Name 			error, that contain TCP frames.
533*5113495bSYour Name 
534*5113495bSYour Name 
535*5113495bSYour Name 
536*5113495bSYour Name 			(Note: This does NOT include TCP-ACK)
537*5113495bSYour Name 
538*5113495bSYour Name 			<legal all>
539*5113495bSYour Name 
540*5113495bSYour Name other_msdu_count
541*5113495bSYour Name 
542*5113495bSYour Name 			Field filled in by RX OLE
543*5113495bSYour Name 
544*5113495bSYour Name 			Set to 0 by RXPCU
545*5113495bSYour Name 
546*5113495bSYour Name 
547*5113495bSYour Name 
548*5113495bSYour Name 			The number of MSDUs that are part of MPDUs without FCS
549*5113495bSYour Name 			error, that contain neither UDP or TCP frames.
550*5113495bSYour Name 
551*5113495bSYour Name 
552*5113495bSYour Name 
553*5113495bSYour Name 			Includes Management and control frames.
554*5113495bSYour Name 
555*5113495bSYour Name 
556*5113495bSYour Name 
557*5113495bSYour Name 			<legal all>
558*5113495bSYour Name 
559*5113495bSYour Name tcp_ack_msdu_count
560*5113495bSYour Name 
561*5113495bSYour Name 			Field filled in by RX OLE
562*5113495bSYour Name 
563*5113495bSYour Name 			Set to 0 by RXPCU
564*5113495bSYour Name 
565*5113495bSYour Name 
566*5113495bSYour Name 
567*5113495bSYour Name 			The number of MSDUs that are part of MPDUs without FCS
568*5113495bSYour Name 			error, that contain TCP ack frames.
569*5113495bSYour Name 
570*5113495bSYour Name 			<legal all>
571*5113495bSYour Name 
572*5113495bSYour Name sw_response_reference_ptr
573*5113495bSYour Name 
574*5113495bSYour Name 			Pointer that SW uses to refer back to an expected
575*5113495bSYour Name 			response reception. Used for Rate adaptation purposes.
576*5113495bSYour Name 
577*5113495bSYour Name 			When a reception occurrs that is not tied to an expected
578*5113495bSYour Name 			response, this field is set to 0x0
579*5113495bSYour Name 
580*5113495bSYour Name 
581*5113495bSYour Name 
582*5113495bSYour Name 			Note: further on in this TLV there is also the field:
583*5113495bSYour Name 			Sw_response_reference_ptr
584*5113495bSYour Name 
585*5113495bSYour Name 			<legal all>
586*5113495bSYour Name 
587*5113495bSYour Name received_qos_data_tid_bitmap
588*5113495bSYour Name 
589*5113495bSYour Name 			Whenever a frame is received that contains a QoS control
590*5113495bSYour Name 			field (that includes QoS Data and/or QoS Null), the bit in
591*5113495bSYour Name 			this field that corresponds to the received TID shall be
592*5113495bSYour Name 			set.
593*5113495bSYour Name 
594*5113495bSYour Name 			...Bitmap[0] = TID0
595*5113495bSYour Name 
596*5113495bSYour Name 			...Bitmap[1] = TID1
597*5113495bSYour Name 
598*5113495bSYour Name 			Etc.
599*5113495bSYour Name 
600*5113495bSYour Name 			<legal all>
601*5113495bSYour Name 
602*5113495bSYour Name received_qos_data_tid_eosp_bitmap
603*5113495bSYour Name 
604*5113495bSYour Name 			Field initialized to 0
605*5113495bSYour Name 
606*5113495bSYour Name 			For every QoS Data frame that is correctly received, the
607*5113495bSYour Name 			EOSP bit of that frame is copied over into the corresponding
608*5113495bSYour Name 			TID related field.
609*5113495bSYour Name 
610*5113495bSYour Name 			Note that this implies that the bits here represent the
611*5113495bSYour Name 			EOSP bit status for each TID of the last MPDU received for
612*5113495bSYour Name 			that TID.
613*5113495bSYour Name 
614*5113495bSYour Name 
615*5113495bSYour Name 
616*5113495bSYour Name 			received TID shall be set.
617*5113495bSYour Name 
618*5113495bSYour Name 			...eosp_bitmap[0] = eosp of TID0
619*5113495bSYour Name 
620*5113495bSYour Name 			...eosp_bitmap[1] = eosp of TID1
621*5113495bSYour Name 
622*5113495bSYour Name 			Etc.
623*5113495bSYour Name 
624*5113495bSYour Name 			<legal all>
625*5113495bSYour Name 
626*5113495bSYour Name qosctrl_15_8_tid0
627*5113495bSYour Name 
628*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[0] is
629*5113495bSYour Name 			set
630*5113495bSYour Name 
631*5113495bSYour Name 
632*5113495bSYour Name 
633*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
634*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
635*5113495bSYour Name 			== 0
636*5113495bSYour Name 
637*5113495bSYour Name qosctrl_15_8_tid1
638*5113495bSYour Name 
639*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[1] is
640*5113495bSYour Name 			set
641*5113495bSYour Name 
642*5113495bSYour Name 
643*5113495bSYour Name 
644*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
645*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
646*5113495bSYour Name 			== 1
647*5113495bSYour Name 
648*5113495bSYour Name qosctrl_15_8_tid2
649*5113495bSYour Name 
650*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[2] is
651*5113495bSYour Name 			set
652*5113495bSYour Name 
653*5113495bSYour Name 
654*5113495bSYour Name 
655*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
656*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
657*5113495bSYour Name 			== 2
658*5113495bSYour Name 
659*5113495bSYour Name qosctrl_15_8_tid3
660*5113495bSYour Name 
661*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[3] is
662*5113495bSYour Name 			set
663*5113495bSYour Name 
664*5113495bSYour Name 
665*5113495bSYour Name 
666*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
667*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
668*5113495bSYour Name 			== 3
669*5113495bSYour Name 
670*5113495bSYour Name qosctrl_15_8_tid4
671*5113495bSYour Name 
672*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[4] is
673*5113495bSYour Name 			set
674*5113495bSYour Name 
675*5113495bSYour Name 
676*5113495bSYour Name 
677*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
678*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
679*5113495bSYour Name 			== 4
680*5113495bSYour Name 
681*5113495bSYour Name qosctrl_15_8_tid5
682*5113495bSYour Name 
683*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[5] is
684*5113495bSYour Name 			set
685*5113495bSYour Name 
686*5113495bSYour Name 
687*5113495bSYour Name 
688*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
689*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
690*5113495bSYour Name 			== 5
691*5113495bSYour Name 
692*5113495bSYour Name qosctrl_15_8_tid6
693*5113495bSYour Name 
694*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[6] is
695*5113495bSYour Name 			set
696*5113495bSYour Name 
697*5113495bSYour Name 
698*5113495bSYour Name 
699*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
700*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
701*5113495bSYour Name 			== 6
702*5113495bSYour Name 
703*5113495bSYour Name qosctrl_15_8_tid7
704*5113495bSYour Name 
705*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[7] is
706*5113495bSYour Name 			set
707*5113495bSYour Name 
708*5113495bSYour Name 
709*5113495bSYour Name 
710*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
711*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
712*5113495bSYour Name 			== 7
713*5113495bSYour Name 
714*5113495bSYour Name qosctrl_15_8_tid8
715*5113495bSYour Name 
716*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[8] is
717*5113495bSYour Name 			set
718*5113495bSYour Name 
719*5113495bSYour Name 
720*5113495bSYour Name 
721*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
722*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
723*5113495bSYour Name 			== 8
724*5113495bSYour Name 
725*5113495bSYour Name qosctrl_15_8_tid9
726*5113495bSYour Name 
727*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[9] is
728*5113495bSYour Name 			set
729*5113495bSYour Name 
730*5113495bSYour Name 
731*5113495bSYour Name 
732*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
733*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
734*5113495bSYour Name 			== 9
735*5113495bSYour Name 
736*5113495bSYour Name qosctrl_15_8_tid10
737*5113495bSYour Name 
738*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[10]
739*5113495bSYour Name 			is set
740*5113495bSYour Name 
741*5113495bSYour Name 
742*5113495bSYour Name 
743*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
744*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
745*5113495bSYour Name 			== 10
746*5113495bSYour Name 
747*5113495bSYour Name qosctrl_15_8_tid11
748*5113495bSYour Name 
749*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[11]
750*5113495bSYour Name 			is set
751*5113495bSYour Name 
752*5113495bSYour Name 
753*5113495bSYour Name 
754*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
755*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
756*5113495bSYour Name 			== 11
757*5113495bSYour Name 
758*5113495bSYour Name qosctrl_15_8_tid12
759*5113495bSYour Name 
760*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[12]
761*5113495bSYour Name 			is set
762*5113495bSYour Name 
763*5113495bSYour Name 
764*5113495bSYour Name 
765*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
766*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
767*5113495bSYour Name 			== 12
768*5113495bSYour Name 
769*5113495bSYour Name qosctrl_15_8_tid13
770*5113495bSYour Name 
771*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[13]
772*5113495bSYour Name 			is set
773*5113495bSYour Name 
774*5113495bSYour Name 
775*5113495bSYour Name 
776*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
777*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
778*5113495bSYour Name 			== 13
779*5113495bSYour Name 
780*5113495bSYour Name qosctrl_15_8_tid14
781*5113495bSYour Name 
782*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[14]
783*5113495bSYour Name 			is set
784*5113495bSYour Name 
785*5113495bSYour Name 
786*5113495bSYour Name 
787*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
788*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
789*5113495bSYour Name 			== 14
790*5113495bSYour Name 
791*5113495bSYour Name qosctrl_15_8_tid15
792*5113495bSYour Name 
793*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[15]
794*5113495bSYour Name 			is set
795*5113495bSYour Name 
796*5113495bSYour Name 
797*5113495bSYour Name 
798*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
799*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
800*5113495bSYour Name 			== 15
801*5113495bSYour Name 
802*5113495bSYour Name mpdu_ok_byte_count
803*5113495bSYour Name 
804*5113495bSYour Name 			The number of bytes received within an MPDU for this
805*5113495bSYour Name 			user with correct FCS. This includes the FCS field
806*5113495bSYour Name 
807*5113495bSYour Name 
808*5113495bSYour Name 
809*5113495bSYour Name 			NOTE:
810*5113495bSYour Name 
811*5113495bSYour Name 			The sum of the four fields.....
812*5113495bSYour Name 
813*5113495bSYour Name 			Mpdu_ok_byte_count +
814*5113495bSYour Name 
815*5113495bSYour Name 			mpdu_err_byte_count +
816*5113495bSYour Name 
817*5113495bSYour Name 
818*5113495bSYour Name 			.....is the total number of bytes that were received for
819*5113495bSYour Name 			this user from the PHY.
820*5113495bSYour Name 
821*5113495bSYour Name 
822*5113495bSYour Name 
823*5113495bSYour Name 			<legal all>
824*5113495bSYour Name 
825*5113495bSYour Name ampdu_delim_ok_count_6_0
826*5113495bSYour Name 
827*5113495bSYour Name 			Number of AMPDU delimiter received with correct
828*5113495bSYour Name 			structure
829*5113495bSYour Name 
830*5113495bSYour Name 			LSB 7 bits from this counter
831*5113495bSYour Name 
832*5113495bSYour Name 
833*5113495bSYour Name 
834*5113495bSYour Name 			Note that this is a delimiter count and not byte count.
835*5113495bSYour Name 			To get to the number of bytes occupied by these delimiters,
836*5113495bSYour Name 			multiply this number by 4
837*5113495bSYour Name 
838*5113495bSYour Name 
839*5113495bSYour Name 
840*5113495bSYour Name 			<legal all>
841*5113495bSYour Name 
842*5113495bSYour Name ampdu_delim_err_count
843*5113495bSYour Name 
844*5113495bSYour Name 			The number of MPDU delimiter errors counted for this
845*5113495bSYour Name 			user.
846*5113495bSYour Name 
847*5113495bSYour Name 
848*5113495bSYour Name 
849*5113495bSYour Name 			Note that this is a delimiter count and not byte count.
850*5113495bSYour Name 			To get to the number of bytes occupied by these delimiters,
851*5113495bSYour Name 			multiply this number by 4
852*5113495bSYour Name 
853*5113495bSYour Name 			<legal all>
854*5113495bSYour Name 
855*5113495bSYour Name ampdu_delim_ok_count_13_7
856*5113495bSYour Name 
857*5113495bSYour Name 			Number of AMPDU delimiters received with correct
858*5113495bSYour Name 			structure
859*5113495bSYour Name 
860*5113495bSYour Name 			Bits 13-7 from this counter
861*5113495bSYour Name 
862*5113495bSYour Name 
863*5113495bSYour Name 
864*5113495bSYour Name 			Note that this is a delimiter count and not byte count.
865*5113495bSYour Name 			To get to the number of bytes occupied by these delimiters,
866*5113495bSYour Name 			multiply this number by 4
867*5113495bSYour Name 
868*5113495bSYour Name 			<legal all>
869*5113495bSYour Name 
870*5113495bSYour Name mpdu_err_byte_count
871*5113495bSYour Name 
872*5113495bSYour Name 			The number of bytes belonging to MPDUs with an FCS
873*5113495bSYour Name 			error. This includes the FCS field.
874*5113495bSYour Name 
875*5113495bSYour Name 
876*5113495bSYour Name 
877*5113495bSYour Name 			<legal all>
878*5113495bSYour Name 
879*5113495bSYour Name ampdu_delim_ok_count_20_14
880*5113495bSYour Name 
881*5113495bSYour Name 			Number of AMPDU delimiters received with correct
882*5113495bSYour Name 			structure
883*5113495bSYour Name 
884*5113495bSYour Name 			Bits 20-14 from this counter
885*5113495bSYour Name 
886*5113495bSYour Name 
887*5113495bSYour Name 
888*5113495bSYour Name 			Note that this is a delimiter count and not byte count.
889*5113495bSYour Name 			To get to the number of bytes occupied by these delimiters,
890*5113495bSYour Name 			multiply this number by 4
891*5113495bSYour Name 
892*5113495bSYour Name 
893*5113495bSYour Name 
894*5113495bSYour Name 			<legal all>
895*5113495bSYour Name 
896*5113495bSYour Name non_consecutive_delimiter_err
897*5113495bSYour Name 
898*5113495bSYour Name 			The number of times an MPDU delimiter error is detected
899*5113495bSYour Name 			that is not immediately preceded by another MPDU delimiter
900*5113495bSYour Name 			also with FCS error.
901*5113495bSYour Name 
902*5113495bSYour Name 
903*5113495bSYour Name 
904*5113495bSYour Name 			The counter saturates at 0xFFFF
905*5113495bSYour Name 
906*5113495bSYour Name 
907*5113495bSYour Name 
908*5113495bSYour Name 			<legal all>
909*5113495bSYour Name 
910*5113495bSYour Name reserved_20a
911*5113495bSYour Name 
912*5113495bSYour Name 			<legal 0>
913*5113495bSYour Name 
914*5113495bSYour Name ht_control_null_field
915*5113495bSYour Name 
916*5113495bSYour Name 
917*5113495bSYour Name 
918*5113495bSYour Name 
919*5113495bSYour Name 			Last successfully received
920*5113495bSYour Name 			HT_CONTROL/VHT_CONTROL/HE_CONTROL  field from QoS Null frame
921*5113495bSYour Name 			for this user.
922*5113495bSYour Name 
923*5113495bSYour Name 			<legal all>
924*5113495bSYour Name 
925*5113495bSYour Name sw_response_reference_ptr_ext
926*5113495bSYour Name 
927*5113495bSYour Name 			Extended Pointer that SW uses to refer back to an
928*5113495bSYour Name 			expected response reception. Used for Rate adaptation
929*5113495bSYour Name 			purposes.
930*5113495bSYour Name 
931*5113495bSYour Name 			When a reception occurrs that is not tied to an expected
932*5113495bSYour Name 			response, this field is set to 0x0
933*5113495bSYour Name 
934*5113495bSYour Name 
935*5113495bSYour Name 
936*5113495bSYour Name 			Note: earlier on in this TLV there is also the field:
937*5113495bSYour Name 			Sw_response_reference_ptr
938*5113495bSYour Name 
939*5113495bSYour Name 			<legal all>
940*5113495bSYour Name */
941*5113495bSYour Name 
942*5113495bSYour Name 
943*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_rxpcu_classification_overview rxpcu_classification_details */
944*5113495bSYour Name 
945*5113495bSYour Name 
946*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_FILTER_PASS_MPDUS
947*5113495bSYour Name 
948*5113495bSYour Name 			When set, at least one Filter Pass MPDU has been
949*5113495bSYour Name 			received. FCS might or might not have been passing.
950*5113495bSYour Name 
951*5113495bSYour Name 
952*5113495bSYour Name 
953*5113495bSYour Name 			For MU UL, in  TLVs RX_PPDU_END and
954*5113495bSYour Name 			RX_PPDU_END_STATUS_DONE, this field is the OR of all the
955*5113495bSYour Name 			users.
956*5113495bSYour Name 
957*5113495bSYour Name 			<legal all>
958*5113495bSYour Name */
959*5113495bSYour Name #define RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_FILTER_PASS_MPDUS_OFFSET 0x00000000
960*5113495bSYour Name #define RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_FILTER_PASS_MPDUS_LSB 0
961*5113495bSYour Name #define RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_FILTER_PASS_MPDUS_MASK 0x00000001
962*5113495bSYour Name 
963*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_FILTER_PASS_MPDUS_FCS_OK
964*5113495bSYour Name 
965*5113495bSYour Name 			When set, at least one Filter Pass MPDU has been
966*5113495bSYour Name 			received that has a correct FCS.
967*5113495bSYour Name 
968*5113495bSYour Name 
969*5113495bSYour Name 
970*5113495bSYour Name 			For MU UL, in  TLVs RX_PPDU_END and
971*5113495bSYour Name 			RX_PPDU_END_STATUS_DONE, this field is the OR of all the
972*5113495bSYour Name 			users.
973*5113495bSYour Name 
974*5113495bSYour Name 
975*5113495bSYour Name 
976*5113495bSYour Name 			<legal all>
977*5113495bSYour Name */
978*5113495bSYour Name #define RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_FILTER_PASS_MPDUS_FCS_OK_OFFSET 0x00000000
979*5113495bSYour Name #define RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_FILTER_PASS_MPDUS_FCS_OK_LSB 1
980*5113495bSYour Name #define RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_FILTER_PASS_MPDUS_FCS_OK_MASK 0x00000002
981*5113495bSYour Name 
982*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_MONITOR_DIRECT_MPDUS
983*5113495bSYour Name 
984*5113495bSYour Name 			When set, at least one Monitor Direct MPDU has been
985*5113495bSYour Name 			received. FCS might or might not have been passing
986*5113495bSYour Name 
987*5113495bSYour Name 
988*5113495bSYour Name 
989*5113495bSYour Name 			For MU UL, in  TLVs RX_PPDU_END and
990*5113495bSYour Name 			RX_PPDU_END_STATUS_DONE, this field is the OR of all the
991*5113495bSYour Name 			users.
992*5113495bSYour Name 
993*5113495bSYour Name 			<legal all>
994*5113495bSYour Name */
995*5113495bSYour Name #define RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_MONITOR_DIRECT_MPDUS_OFFSET 0x00000000
996*5113495bSYour Name #define RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_MONITOR_DIRECT_MPDUS_LSB 2
997*5113495bSYour Name #define RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_MONITOR_DIRECT_MPDUS_MASK 0x00000004
998*5113495bSYour Name 
999*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_MONITOR_DIRECT_MPDUS_FCS_OK
1000*5113495bSYour Name 
1001*5113495bSYour Name 			When set, at least one Monitor Direct MPDU has been
1002*5113495bSYour Name 			received that has a correct FCS.
1003*5113495bSYour Name 
1004*5113495bSYour Name 
1005*5113495bSYour Name 
1006*5113495bSYour Name 			For MU UL, in  TLVs RX_PPDU_END and
1007*5113495bSYour Name 			RX_PPDU_END_STATUS_DONE, this field is the OR of all the
1008*5113495bSYour Name 			users.
1009*5113495bSYour Name 
1010*5113495bSYour Name 
1011*5113495bSYour Name 
1012*5113495bSYour Name 			<legal all>
1013*5113495bSYour Name */
1014*5113495bSYour Name #define RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_MONITOR_DIRECT_MPDUS_FCS_OK_OFFSET 0x00000000
1015*5113495bSYour Name #define RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_MONITOR_DIRECT_MPDUS_FCS_OK_LSB 3
1016*5113495bSYour Name #define RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_MONITOR_DIRECT_MPDUS_FCS_OK_MASK 0x00000008
1017*5113495bSYour Name 
1018*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_MONITOR_OTHER_MPDUS
1019*5113495bSYour Name 
1020*5113495bSYour Name 			When set, at least one Monitor Direct MPDU has been
1021*5113495bSYour Name 			received. FCS might or might not have been passing.
1022*5113495bSYour Name 
1023*5113495bSYour Name 
1024*5113495bSYour Name 
1025*5113495bSYour Name 			For MU UL, in  TLVs RX_PPDU_END and
1026*5113495bSYour Name 			RX_PPDU_END_STATUS_DONE, this field is the OR of all the
1027*5113495bSYour Name 			users.
1028*5113495bSYour Name 
1029*5113495bSYour Name 			<legal all>
1030*5113495bSYour Name */
1031*5113495bSYour Name #define RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_MONITOR_OTHER_MPDUS_OFFSET 0x00000000
1032*5113495bSYour Name #define RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_MONITOR_OTHER_MPDUS_LSB 4
1033*5113495bSYour Name #define RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_MONITOR_OTHER_MPDUS_MASK 0x00000010
1034*5113495bSYour Name 
1035*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_MONITOR_OTHER_MPDUS_FCS_OK
1036*5113495bSYour Name 
1037*5113495bSYour Name 			When set, at least one Monitor Direct MPDU has been
1038*5113495bSYour Name 			received that has a correct FCS.
1039*5113495bSYour Name 
1040*5113495bSYour Name 
1041*5113495bSYour Name 
1042*5113495bSYour Name 			For MU UL, in  TLVs RX_PPDU_END and
1043*5113495bSYour Name 			RX_PPDU_END_STATUS_DONE, this field is the OR of all the
1044*5113495bSYour Name 			users.
1045*5113495bSYour Name 
1046*5113495bSYour Name 			<legal all>
1047*5113495bSYour Name */
1048*5113495bSYour Name #define RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_MONITOR_OTHER_MPDUS_FCS_OK_OFFSET 0x00000000
1049*5113495bSYour Name #define RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_MONITOR_OTHER_MPDUS_FCS_OK_LSB 5
1050*5113495bSYour Name #define RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_MONITOR_OTHER_MPDUS_FCS_OK_MASK 0x00000020
1051*5113495bSYour Name 
1052*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_PHYRX_ABORT_RECEIVED
1053*5113495bSYour Name 
1054*5113495bSYour Name 			When set, PPDU reception was aborted by the PHY
1055*5113495bSYour Name 
1056*5113495bSYour Name 			<legal all>
1057*5113495bSYour Name */
1058*5113495bSYour Name #define RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_PHYRX_ABORT_RECEIVED_OFFSET 0x00000000
1059*5113495bSYour Name #define RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_PHYRX_ABORT_RECEIVED_LSB 6
1060*5113495bSYour Name #define RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_PHYRX_ABORT_RECEIVED_MASK 0x00000040
1061*5113495bSYour Name 
1062*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_RESERVED_0
1063*5113495bSYour Name 
1064*5113495bSYour Name 			<legal 0>
1065*5113495bSYour Name */
1066*5113495bSYour Name #define RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_RESERVED_0_OFFSET 0x00000000
1067*5113495bSYour Name #define RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_RESERVED_0_LSB 7
1068*5113495bSYour Name #define RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_RESERVED_0_MASK 0x0000ff80
1069*5113495bSYour Name 
1070*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_PHY_PPDU_ID
1071*5113495bSYour Name 
1072*5113495bSYour Name 			A ppdu counter value that PHY increments for every PPDU
1073*5113495bSYour Name 			received. The counter value wraps around
1074*5113495bSYour Name 
1075*5113495bSYour Name 			<legal all>
1076*5113495bSYour Name */
1077*5113495bSYour Name #define RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_PHY_PPDU_ID_OFFSET 0x00000000
1078*5113495bSYour Name #define RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_PHY_PPDU_ID_LSB 16
1079*5113495bSYour Name #define RX_PPDU_END_USER_STATS_0_RXPCU_CLASSIFICATION_DETAILS_PHY_PPDU_ID_MASK 0xffff0000
1080*5113495bSYour Name 
1081*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_1_STA_FULL_AID
1082*5113495bSYour Name 
1083*5113495bSYour Name 			Consumer: FW
1084*5113495bSYour Name 
1085*5113495bSYour Name 			Producer: RXPCU
1086*5113495bSYour Name 
1087*5113495bSYour Name 
1088*5113495bSYour Name 
1089*5113495bSYour Name 			The full AID of this station.
1090*5113495bSYour Name 
1091*5113495bSYour Name 
1092*5113495bSYour Name 
1093*5113495bSYour Name 			<legal all>
1094*5113495bSYour Name */
1095*5113495bSYour Name #define RX_PPDU_END_USER_STATS_1_STA_FULL_AID_OFFSET                 0x00000004
1096*5113495bSYour Name #define RX_PPDU_END_USER_STATS_1_STA_FULL_AID_LSB                    0
1097*5113495bSYour Name #define RX_PPDU_END_USER_STATS_1_STA_FULL_AID_MASK                   0x00001fff
1098*5113495bSYour Name 
1099*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_1_MCS
1100*5113495bSYour Name 
1101*5113495bSYour Name 			MCS of the received frame
1102*5113495bSYour Name 
1103*5113495bSYour Name 
1104*5113495bSYour Name 
1105*5113495bSYour Name 			For details, refer to  MCS_TYPE description
1106*5113495bSYour Name 
1107*5113495bSYour Name 			Note: This is rate in case of 11a/11b
1108*5113495bSYour Name 
1109*5113495bSYour Name 
1110*5113495bSYour Name 
1111*5113495bSYour Name 			<legal all>
1112*5113495bSYour Name */
1113*5113495bSYour Name #define RX_PPDU_END_USER_STATS_1_MCS_OFFSET                          0x00000004
1114*5113495bSYour Name #define RX_PPDU_END_USER_STATS_1_MCS_LSB                             13
1115*5113495bSYour Name #define RX_PPDU_END_USER_STATS_1_MCS_MASK                            0x0001e000
1116*5113495bSYour Name 
1117*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_1_NSS
1118*5113495bSYour Name 
1119*5113495bSYour Name 			Number of spatial streams.
1120*5113495bSYour Name 
1121*5113495bSYour Name 
1122*5113495bSYour Name 
1123*5113495bSYour Name 			NOTE: RXPCU derives this from the 'Mimo_ss_bitmap'
1124*5113495bSYour Name 
1125*5113495bSYour Name 
1126*5113495bSYour Name 
1127*5113495bSYour Name 			<enum 0 1_spatial_stream>Single spatial stream
1128*5113495bSYour Name 
1129*5113495bSYour Name 			<enum 1 2_spatial_streams>2 spatial streams
1130*5113495bSYour Name 
1131*5113495bSYour Name 			<enum 2 3_spatial_streams>3 spatial streams
1132*5113495bSYour Name 
1133*5113495bSYour Name 			<enum 3 4_spatial_streams>4 spatial streams
1134*5113495bSYour Name 
1135*5113495bSYour Name 			<enum 4 5_spatial_streams>5 spatial streams
1136*5113495bSYour Name 
1137*5113495bSYour Name 			<enum 5 6_spatial_streams>6 spatial streams
1138*5113495bSYour Name 
1139*5113495bSYour Name 			<enum 6 7_spatial_streams>7 spatial streams
1140*5113495bSYour Name 
1141*5113495bSYour Name 			<enum 7 8_spatial_streams>8 spatial streams
1142*5113495bSYour Name */
1143*5113495bSYour Name #define RX_PPDU_END_USER_STATS_1_NSS_OFFSET                          0x00000004
1144*5113495bSYour Name #define RX_PPDU_END_USER_STATS_1_NSS_LSB                             17
1145*5113495bSYour Name #define RX_PPDU_END_USER_STATS_1_NSS_MASK                            0x000e0000
1146*5113495bSYour Name 
1147*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_1_OFDMA_INFO_VALID
1148*5113495bSYour Name 
1149*5113495bSYour Name 			When set, ofdma RU related info in the following fields
1150*5113495bSYour Name 			is valid
1151*5113495bSYour Name 
1152*5113495bSYour Name 			<legal all>
1153*5113495bSYour Name */
1154*5113495bSYour Name #define RX_PPDU_END_USER_STATS_1_OFDMA_INFO_VALID_OFFSET             0x00000004
1155*5113495bSYour Name #define RX_PPDU_END_USER_STATS_1_OFDMA_INFO_VALID_LSB                20
1156*5113495bSYour Name #define RX_PPDU_END_USER_STATS_1_OFDMA_INFO_VALID_MASK               0x00100000
1157*5113495bSYour Name 
1158*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_1_DL_OFDMA_RU_START_INDEX
1159*5113495bSYour Name 
1160*5113495bSYour Name 			Field only valid when Ofdma_info_valid is set
1161*5113495bSYour Name 
1162*5113495bSYour Name 
1163*5113495bSYour Name 
1164*5113495bSYour Name 			RU index number to which User is assigned
1165*5113495bSYour Name 
1166*5113495bSYour Name 			RU numbering is over the entire BW, starting from 0
1167*5113495bSYour Name 
1168*5113495bSYour Name 			<legal 0-73>
1169*5113495bSYour Name */
1170*5113495bSYour Name #define RX_PPDU_END_USER_STATS_1_DL_OFDMA_RU_START_INDEX_OFFSET      0x00000004
1171*5113495bSYour Name #define RX_PPDU_END_USER_STATS_1_DL_OFDMA_RU_START_INDEX_LSB         21
1172*5113495bSYour Name #define RX_PPDU_END_USER_STATS_1_DL_OFDMA_RU_START_INDEX_MASK        0x0fe00000
1173*5113495bSYour Name 
1174*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_1_RESERVED_1A
1175*5113495bSYour Name 
1176*5113495bSYour Name 			<legal 0>
1177*5113495bSYour Name */
1178*5113495bSYour Name #define RX_PPDU_END_USER_STATS_1_RESERVED_1A_OFFSET                  0x00000004
1179*5113495bSYour Name #define RX_PPDU_END_USER_STATS_1_RESERVED_1A_LSB                     28
1180*5113495bSYour Name #define RX_PPDU_END_USER_STATS_1_RESERVED_1A_MASK                    0xf0000000
1181*5113495bSYour Name 
1182*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_2_DL_OFDMA_RU_WIDTH
1183*5113495bSYour Name 
1184*5113495bSYour Name 			The size of the RU for this user.
1185*5113495bSYour Name 
1186*5113495bSYour Name 			In units of 1 (26 tone) RU
1187*5113495bSYour Name 
1188*5113495bSYour Name 			<legal 1-74>
1189*5113495bSYour Name */
1190*5113495bSYour Name #define RX_PPDU_END_USER_STATS_2_DL_OFDMA_RU_WIDTH_OFFSET            0x00000008
1191*5113495bSYour Name #define RX_PPDU_END_USER_STATS_2_DL_OFDMA_RU_WIDTH_LSB               0
1192*5113495bSYour Name #define RX_PPDU_END_USER_STATS_2_DL_OFDMA_RU_WIDTH_MASK              0x0000007f
1193*5113495bSYour Name 
1194*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_2_RESERVED_2A
1195*5113495bSYour Name 
1196*5113495bSYour Name 			<legal 0>
1197*5113495bSYour Name */
1198*5113495bSYour Name #define RX_PPDU_END_USER_STATS_2_RESERVED_2A_OFFSET                  0x00000008
1199*5113495bSYour Name #define RX_PPDU_END_USER_STATS_2_RESERVED_2A_LSB                     7
1200*5113495bSYour Name #define RX_PPDU_END_USER_STATS_2_RESERVED_2A_MASK                    0x00000080
1201*5113495bSYour Name 
1202*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_2_USER_RECEIVE_QUALITY
1203*5113495bSYour Name 
1204*5113495bSYour Name 			RSSI / EVM for this user ???
1205*5113495bSYour Name 
1206*5113495bSYour Name 
1207*5113495bSYour Name 
1208*5113495bSYour Name 			Details TBD
1209*5113495bSYour Name 
1210*5113495bSYour Name 			<legal all>
1211*5113495bSYour Name */
1212*5113495bSYour Name #define RX_PPDU_END_USER_STATS_2_USER_RECEIVE_QUALITY_OFFSET         0x00000008
1213*5113495bSYour Name #define RX_PPDU_END_USER_STATS_2_USER_RECEIVE_QUALITY_LSB            8
1214*5113495bSYour Name #define RX_PPDU_END_USER_STATS_2_USER_RECEIVE_QUALITY_MASK           0x0000ff00
1215*5113495bSYour Name 
1216*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_2_MPDU_CNT_FCS_ERR
1217*5113495bSYour Name 
1218*5113495bSYour Name 			The number of MPDUs received from this STA in this PPDU
1219*5113495bSYour Name 			with FCS errors
1220*5113495bSYour Name 
1221*5113495bSYour Name 			<legal all>
1222*5113495bSYour Name */
1223*5113495bSYour Name #define RX_PPDU_END_USER_STATS_2_MPDU_CNT_FCS_ERR_OFFSET             0x00000008
1224*5113495bSYour Name #define RX_PPDU_END_USER_STATS_2_MPDU_CNT_FCS_ERR_LSB                16
1225*5113495bSYour Name #define RX_PPDU_END_USER_STATS_2_MPDU_CNT_FCS_ERR_MASK               0x03ff0000
1226*5113495bSYour Name 
1227*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_2_WBM2RXDMA_BUF_SOURCE_USED
1228*5113495bSYour Name 
1229*5113495bSYour Name 			Field filled in by RXDMA
1230*5113495bSYour Name 
1231*5113495bSYour Name 
1232*5113495bSYour Name 
1233*5113495bSYour Name 			When set, RXDMA has used the wbm2rxdma_buf ring as
1234*5113495bSYour Name 			source for at least one of the frames in this PPDU.
1235*5113495bSYour Name */
1236*5113495bSYour Name #define RX_PPDU_END_USER_STATS_2_WBM2RXDMA_BUF_SOURCE_USED_OFFSET    0x00000008
1237*5113495bSYour Name #define RX_PPDU_END_USER_STATS_2_WBM2RXDMA_BUF_SOURCE_USED_LSB       26
1238*5113495bSYour Name #define RX_PPDU_END_USER_STATS_2_WBM2RXDMA_BUF_SOURCE_USED_MASK      0x04000000
1239*5113495bSYour Name 
1240*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_2_FW2RXDMA_BUF_SOURCE_USED
1241*5113495bSYour Name 
1242*5113495bSYour Name 			Field filled in by RXDMA
1243*5113495bSYour Name 
1244*5113495bSYour Name 
1245*5113495bSYour Name 
1246*5113495bSYour Name 			When set, RXDMA has used the fw2rxdma_buf ring as source
1247*5113495bSYour Name 			for at least one of the frames in this PPDU.
1248*5113495bSYour Name */
1249*5113495bSYour Name #define RX_PPDU_END_USER_STATS_2_FW2RXDMA_BUF_SOURCE_USED_OFFSET     0x00000008
1250*5113495bSYour Name #define RX_PPDU_END_USER_STATS_2_FW2RXDMA_BUF_SOURCE_USED_LSB        27
1251*5113495bSYour Name #define RX_PPDU_END_USER_STATS_2_FW2RXDMA_BUF_SOURCE_USED_MASK       0x08000000
1252*5113495bSYour Name 
1253*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_2_SW2RXDMA_BUF_SOURCE_USED
1254*5113495bSYour Name 
1255*5113495bSYour Name 			Field filled in by RXDMA
1256*5113495bSYour Name 
1257*5113495bSYour Name 
1258*5113495bSYour Name 
1259*5113495bSYour Name 			When set, RXDMA has used the sw2rxdma_buf ring as source
1260*5113495bSYour Name 			for at least one of the frames in this PPDU.
1261*5113495bSYour Name */
1262*5113495bSYour Name #define RX_PPDU_END_USER_STATS_2_SW2RXDMA_BUF_SOURCE_USED_OFFSET     0x00000008
1263*5113495bSYour Name #define RX_PPDU_END_USER_STATS_2_SW2RXDMA_BUF_SOURCE_USED_LSB        28
1264*5113495bSYour Name #define RX_PPDU_END_USER_STATS_2_SW2RXDMA_BUF_SOURCE_USED_MASK       0x10000000
1265*5113495bSYour Name 
1266*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_2_RESERVED_2B
1267*5113495bSYour Name 
1268*5113495bSYour Name 			<legal 0>
1269*5113495bSYour Name */
1270*5113495bSYour Name #define RX_PPDU_END_USER_STATS_2_RESERVED_2B_OFFSET                  0x00000008
1271*5113495bSYour Name #define RX_PPDU_END_USER_STATS_2_RESERVED_2B_LSB                     29
1272*5113495bSYour Name #define RX_PPDU_END_USER_STATS_2_RESERVED_2B_MASK                    0xe0000000
1273*5113495bSYour Name 
1274*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_3_MPDU_CNT_FCS_OK
1275*5113495bSYour Name 
1276*5113495bSYour Name 			The number of MPDUs received from this STA in this PPDU
1277*5113495bSYour Name 			with correct FCS
1278*5113495bSYour Name 
1279*5113495bSYour Name 			<legal all>
1280*5113495bSYour Name */
1281*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_MPDU_CNT_FCS_OK_OFFSET              0x0000000c
1282*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_MPDU_CNT_FCS_OK_LSB                 0
1283*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_MPDU_CNT_FCS_OK_MASK                0x000001ff
1284*5113495bSYour Name 
1285*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_3_FRAME_CONTROL_INFO_VALID
1286*5113495bSYour Name 
1287*5113495bSYour Name 			When set, the frame_control_info field contains valid
1288*5113495bSYour Name 			information
1289*5113495bSYour Name 
1290*5113495bSYour Name 			<legal all>
1291*5113495bSYour Name */
1292*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_FRAME_CONTROL_INFO_VALID_OFFSET     0x0000000c
1293*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_FRAME_CONTROL_INFO_VALID_LSB        9
1294*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_FRAME_CONTROL_INFO_VALID_MASK       0x00000200
1295*5113495bSYour Name 
1296*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_3_QOS_CONTROL_INFO_VALID
1297*5113495bSYour Name 
1298*5113495bSYour Name 			When set, the QoS_control_info field contains valid
1299*5113495bSYour Name 			information
1300*5113495bSYour Name 
1301*5113495bSYour Name 			<legal all>
1302*5113495bSYour Name */
1303*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_QOS_CONTROL_INFO_VALID_OFFSET       0x0000000c
1304*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_QOS_CONTROL_INFO_VALID_LSB          10
1305*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_QOS_CONTROL_INFO_VALID_MASK         0x00000400
1306*5113495bSYour Name 
1307*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_3_HT_CONTROL_INFO_VALID
1308*5113495bSYour Name 
1309*5113495bSYour Name 			When set, the HT_control_field contains valid
1310*5113495bSYour Name 			information
1311*5113495bSYour Name 
1312*5113495bSYour Name 			<legal all>
1313*5113495bSYour Name */
1314*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_HT_CONTROL_INFO_VALID_OFFSET        0x0000000c
1315*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_HT_CONTROL_INFO_VALID_LSB           11
1316*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_HT_CONTROL_INFO_VALID_MASK          0x00000800
1317*5113495bSYour Name 
1318*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_3_DATA_SEQUENCE_CONTROL_INFO_VALID
1319*5113495bSYour Name 
1320*5113495bSYour Name 			When set, the First_data_seq_ctrl field contains valid
1321*5113495bSYour Name 			information
1322*5113495bSYour Name 
1323*5113495bSYour Name 			<legal all>
1324*5113495bSYour Name */
1325*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_DATA_SEQUENCE_CONTROL_INFO_VALID_OFFSET 0x0000000c
1326*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_DATA_SEQUENCE_CONTROL_INFO_VALID_LSB 12
1327*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_DATA_SEQUENCE_CONTROL_INFO_VALID_MASK 0x00001000
1328*5113495bSYour Name 
1329*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_3_HT_CONTROL_INFO_NULL_VALID
1330*5113495bSYour Name 
1331*5113495bSYour Name 			When set, the HT_control_NULL_field contains valid
1332*5113495bSYour Name 			information
1333*5113495bSYour Name 
1334*5113495bSYour Name 			<legal all>
1335*5113495bSYour Name */
1336*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_HT_CONTROL_INFO_NULL_VALID_OFFSET   0x0000000c
1337*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_HT_CONTROL_INFO_NULL_VALID_LSB      13
1338*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_HT_CONTROL_INFO_NULL_VALID_MASK     0x00002000
1339*5113495bSYour Name 
1340*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_3_RESERVED_3A
1341*5113495bSYour Name 
1342*5113495bSYour Name 			<legal 0>
1343*5113495bSYour Name */
1344*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_RESERVED_3A_OFFSET                  0x0000000c
1345*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_RESERVED_3A_LSB                     14
1346*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_RESERVED_3A_MASK                    0x0000c000
1347*5113495bSYour Name 
1348*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_3_RXDMA2REO_RING_USED
1349*5113495bSYour Name 
1350*5113495bSYour Name 			Field filled in by RXDMA
1351*5113495bSYour Name 
1352*5113495bSYour Name 
1353*5113495bSYour Name 
1354*5113495bSYour Name 			Set when at least one frame during this PPDU got pushed
1355*5113495bSYour Name 			to this ring by RXDMA
1356*5113495bSYour Name */
1357*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_RXDMA2REO_RING_USED_OFFSET          0x0000000c
1358*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_RXDMA2REO_RING_USED_LSB             16
1359*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_RXDMA2REO_RING_USED_MASK            0x00010000
1360*5113495bSYour Name 
1361*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_3_RXDMA2FW_RING_USED
1362*5113495bSYour Name 
1363*5113495bSYour Name 			Field filled in by RXDMA
1364*5113495bSYour Name 
1365*5113495bSYour Name 
1366*5113495bSYour Name 
1367*5113495bSYour Name 			Set when at least one frame during this PPDU got pushed
1368*5113495bSYour Name 			to this ring by RXDMA
1369*5113495bSYour Name */
1370*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_RXDMA2FW_RING_USED_OFFSET           0x0000000c
1371*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_RXDMA2FW_RING_USED_LSB              17
1372*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_RXDMA2FW_RING_USED_MASK             0x00020000
1373*5113495bSYour Name 
1374*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_3_RXDMA2SW_RING_USED
1375*5113495bSYour Name 
1376*5113495bSYour Name 			Field filled in by RXDMA
1377*5113495bSYour Name 
1378*5113495bSYour Name 
1379*5113495bSYour Name 
1380*5113495bSYour Name 			Set when at least one frame during this PPDU got pushed
1381*5113495bSYour Name 			to this ring by RXDMA
1382*5113495bSYour Name */
1383*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_RXDMA2SW_RING_USED_OFFSET           0x0000000c
1384*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_RXDMA2SW_RING_USED_LSB              18
1385*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_RXDMA2SW_RING_USED_MASK             0x00040000
1386*5113495bSYour Name 
1387*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_3_RXDMA_RELEASE_RING_USED
1388*5113495bSYour Name 
1389*5113495bSYour Name 			Field filled in by RXDMA
1390*5113495bSYour Name 
1391*5113495bSYour Name 
1392*5113495bSYour Name 
1393*5113495bSYour Name 			Set when at least one frame during this PPDU got pushed
1394*5113495bSYour Name 			to this ring by RXDMA
1395*5113495bSYour Name */
1396*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_RXDMA_RELEASE_RING_USED_OFFSET      0x0000000c
1397*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_RXDMA_RELEASE_RING_USED_LSB         19
1398*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_RXDMA_RELEASE_RING_USED_MASK        0x00080000
1399*5113495bSYour Name 
1400*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_3_HT_CONTROL_FIELD_PKT_TYPE
1401*5113495bSYour Name 
1402*5113495bSYour Name 			Field only valid when HT_control_info_valid or
1403*5113495bSYour Name 			HT_control_info_NULL_valid    is set.
1404*5113495bSYour Name 
1405*5113495bSYour Name 
1406*5113495bSYour Name 
1407*5113495bSYour Name 			Indicates what the PHY receive type was for receiving
1408*5113495bSYour Name 			this frame. Can help determine if the HT_CONTROL field shall
1409*5113495bSYour Name 			be interpreted as HT/VHT or HE.
1410*5113495bSYour Name 
1411*5113495bSYour Name 
1412*5113495bSYour Name 
1413*5113495bSYour Name 			NOTE: later on in the 11ax IEEE spec a bit within the HT
1414*5113495bSYour Name 			control field was introduced that explicitly indicated how
1415*5113495bSYour Name 			to interpret the HT control field.... As HT, VHT, or HE.
1416*5113495bSYour Name 
1417*5113495bSYour Name 
1418*5113495bSYour Name 
1419*5113495bSYour Name 			<enum 0 dot11a>802.11a PPDU type
1420*5113495bSYour Name 
1421*5113495bSYour Name 			<enum 1 dot11b>802.11b PPDU type
1422*5113495bSYour Name 
1423*5113495bSYour Name 			<enum 2 dot11n_mm>802.11n Mixed Mode PPDU type
1424*5113495bSYour Name 
1425*5113495bSYour Name 			<enum 3 dot11ac>802.11ac PPDU type
1426*5113495bSYour Name 
1427*5113495bSYour Name 			<enum 4 dot11ax>802.11ax PPDU type
1428*5113495bSYour Name */
1429*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_HT_CONTROL_FIELD_PKT_TYPE_OFFSET    0x0000000c
1430*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_HT_CONTROL_FIELD_PKT_TYPE_LSB       20
1431*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_HT_CONTROL_FIELD_PKT_TYPE_MASK      0x00f00000
1432*5113495bSYour Name 
1433*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_3_RESERVED_3B
1434*5113495bSYour Name 
1435*5113495bSYour Name 			<legal 0>
1436*5113495bSYour Name */
1437*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_RESERVED_3B_OFFSET                  0x0000000c
1438*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_RESERVED_3B_LSB                     24
1439*5113495bSYour Name #define RX_PPDU_END_USER_STATS_3_RESERVED_3B_MASK                    0xff000000
1440*5113495bSYour Name 
1441*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_4_AST_INDEX
1442*5113495bSYour Name 
1443*5113495bSYour Name 			This field indicates the index of the AST entry
1444*5113495bSYour Name 			corresponding to this MPDU. It is provided by the GSE module
1445*5113495bSYour Name 			instantiated in RXPCU.
1446*5113495bSYour Name 
1447*5113495bSYour Name 			A value of 0xFFFF indicates an invalid AST index,
1448*5113495bSYour Name 			meaning that No AST entry was found or NO AST search was
1449*5113495bSYour Name 			performed
1450*5113495bSYour Name 
1451*5113495bSYour Name 			<legal all>
1452*5113495bSYour Name */
1453*5113495bSYour Name #define RX_PPDU_END_USER_STATS_4_AST_INDEX_OFFSET                    0x00000010
1454*5113495bSYour Name #define RX_PPDU_END_USER_STATS_4_AST_INDEX_LSB                       0
1455*5113495bSYour Name #define RX_PPDU_END_USER_STATS_4_AST_INDEX_MASK                      0x0000ffff
1456*5113495bSYour Name 
1457*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_4_FRAME_CONTROL_FIELD
1458*5113495bSYour Name 
1459*5113495bSYour Name 			Field only valid when Frame_control_info_valid is set.
1460*5113495bSYour Name 
1461*5113495bSYour Name 
1462*5113495bSYour Name 
1463*5113495bSYour Name 			Last successfully received Frame_control field of data
1464*5113495bSYour Name 			frame (excluding Data NULL/ QoS Null) for this user
1465*5113495bSYour Name 
1466*5113495bSYour Name 			Mainly used to track the PM state of the transmitted
1467*5113495bSYour Name 			device
1468*5113495bSYour Name 
1469*5113495bSYour Name 
1470*5113495bSYour Name 
1471*5113495bSYour Name 			NOTE: only data frame info is needed, as control and
1472*5113495bSYour Name 			management frames are already routed to the FW.
1473*5113495bSYour Name 
1474*5113495bSYour Name 			<legal all>
1475*5113495bSYour Name */
1476*5113495bSYour Name #define RX_PPDU_END_USER_STATS_4_FRAME_CONTROL_FIELD_OFFSET          0x00000010
1477*5113495bSYour Name #define RX_PPDU_END_USER_STATS_4_FRAME_CONTROL_FIELD_LSB             16
1478*5113495bSYour Name #define RX_PPDU_END_USER_STATS_4_FRAME_CONTROL_FIELD_MASK            0xffff0000
1479*5113495bSYour Name 
1480*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_5_FIRST_DATA_SEQ_CTRL
1481*5113495bSYour Name 
1482*5113495bSYour Name 			Field only valid when Data_sequence_control_info_valid
1483*5113495bSYour Name 			is set.
1484*5113495bSYour Name 
1485*5113495bSYour Name 
1486*5113495bSYour Name 
1487*5113495bSYour Name 			Sequence control field of the first data frame
1488*5113495bSYour Name 			(excluding Data NULL or QoS Data null) received for this
1489*5113495bSYour Name 			user with correct FCS
1490*5113495bSYour Name 
1491*5113495bSYour Name 
1492*5113495bSYour Name 
1493*5113495bSYour Name 			NOTE: only data frame info is needed, as control and
1494*5113495bSYour Name 			management frames are already routed to the FW.
1495*5113495bSYour Name 
1496*5113495bSYour Name 			<legal all>
1497*5113495bSYour Name */
1498*5113495bSYour Name #define RX_PPDU_END_USER_STATS_5_FIRST_DATA_SEQ_CTRL_OFFSET          0x00000014
1499*5113495bSYour Name #define RX_PPDU_END_USER_STATS_5_FIRST_DATA_SEQ_CTRL_LSB             0
1500*5113495bSYour Name #define RX_PPDU_END_USER_STATS_5_FIRST_DATA_SEQ_CTRL_MASK            0x0000ffff
1501*5113495bSYour Name 
1502*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_5_QOS_CONTROL_FIELD
1503*5113495bSYour Name 
1504*5113495bSYour Name 			Field only valid when QoS_control_info_valid is set.
1505*5113495bSYour Name 
1506*5113495bSYour Name 
1507*5113495bSYour Name 
1508*5113495bSYour Name 			Last successfully received QoS_control field of data
1509*5113495bSYour Name 			frame (excluding Data NULL/ QoS Null) for this user
1510*5113495bSYour Name 
1511*5113495bSYour Name 
1512*5113495bSYour Name 
1513*5113495bSYour Name 			Note that in case of multi TID, this field can only
1514*5113495bSYour Name 			reflect the last properly received MPDU, and thus can not
1515*5113495bSYour Name 			indicate all potentially different TIDs that had been
1516*5113495bSYour Name 			received earlier.
1517*5113495bSYour Name 
1518*5113495bSYour Name 
1519*5113495bSYour Name 
1520*5113495bSYour Name 			There are however per TID fields, that will contain
1521*5113495bSYour Name 			among other things all buffer status info: See
1522*5113495bSYour Name 
1523*5113495bSYour Name 			QoSCtrl_15_8_tid???
1524*5113495bSYour Name 
1525*5113495bSYour Name 			<legal all>
1526*5113495bSYour Name */
1527*5113495bSYour Name #define RX_PPDU_END_USER_STATS_5_QOS_CONTROL_FIELD_OFFSET            0x00000014
1528*5113495bSYour Name #define RX_PPDU_END_USER_STATS_5_QOS_CONTROL_FIELD_LSB               16
1529*5113495bSYour Name #define RX_PPDU_END_USER_STATS_5_QOS_CONTROL_FIELD_MASK              0xffff0000
1530*5113495bSYour Name 
1531*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_6_HT_CONTROL_FIELD
1532*5113495bSYour Name 
1533*5113495bSYour Name 			Field only valid when HT_control_info_valid is set.
1534*5113495bSYour Name 
1535*5113495bSYour Name 
1536*5113495bSYour Name 
1537*5113495bSYour Name 			Last successfully received
1538*5113495bSYour Name 			HT_CONTROL/VHT_CONTROL/HE_CONTROL  field of data frames,
1539*5113495bSYour Name 			excluding QoS Null frames for this user.
1540*5113495bSYour Name 
1541*5113495bSYour Name 
1542*5113495bSYour Name 
1543*5113495bSYour Name 			NOTE: HT control fields  from QoS Null frames are
1544*5113495bSYour Name 			captured in field HT_control_NULL_field
1545*5113495bSYour Name 
1546*5113495bSYour Name 			<legal all>
1547*5113495bSYour Name */
1548*5113495bSYour Name #define RX_PPDU_END_USER_STATS_6_HT_CONTROL_FIELD_OFFSET             0x00000018
1549*5113495bSYour Name #define RX_PPDU_END_USER_STATS_6_HT_CONTROL_FIELD_LSB                0
1550*5113495bSYour Name #define RX_PPDU_END_USER_STATS_6_HT_CONTROL_FIELD_MASK               0xffffffff
1551*5113495bSYour Name 
1552*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_7_FCS_OK_BITMAP_31_0
1553*5113495bSYour Name 
1554*5113495bSYour Name 			Bitmap indicates in order of received MPDUs, which MPDUs
1555*5113495bSYour Name 			had an passing FCS or had an error.
1556*5113495bSYour Name 
1557*5113495bSYour Name 			1: FCS OK
1558*5113495bSYour Name 
1559*5113495bSYour Name 			0: FCS error
1560*5113495bSYour Name 
1561*5113495bSYour Name 			<legal all>
1562*5113495bSYour Name */
1563*5113495bSYour Name #define RX_PPDU_END_USER_STATS_7_FCS_OK_BITMAP_31_0_OFFSET           0x0000001c
1564*5113495bSYour Name #define RX_PPDU_END_USER_STATS_7_FCS_OK_BITMAP_31_0_LSB              0
1565*5113495bSYour Name #define RX_PPDU_END_USER_STATS_7_FCS_OK_BITMAP_31_0_MASK             0xffffffff
1566*5113495bSYour Name 
1567*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_8_FCS_OK_BITMAP_63_32
1568*5113495bSYour Name 
1569*5113495bSYour Name 			Bitmap indicates in order of received MPDUs, which MPDUs
1570*5113495bSYour Name 			had an passing FCS or had an error.
1571*5113495bSYour Name 
1572*5113495bSYour Name 			1: FCS OK
1573*5113495bSYour Name 
1574*5113495bSYour Name 			0: FCS error
1575*5113495bSYour Name 
1576*5113495bSYour Name 
1577*5113495bSYour Name 
1578*5113495bSYour Name 			NOTE: for users 0, 1, 2 and 3, additional bitmap info
1579*5113495bSYour Name 			(up to 256 bitmap window) is provided in
1580*5113495bSYour Name 			RX_PPDU_END_USER_STATS_EXT TLV
1581*5113495bSYour Name 
1582*5113495bSYour Name 			<legal all>
1583*5113495bSYour Name */
1584*5113495bSYour Name #define RX_PPDU_END_USER_STATS_8_FCS_OK_BITMAP_63_32_OFFSET          0x00000020
1585*5113495bSYour Name #define RX_PPDU_END_USER_STATS_8_FCS_OK_BITMAP_63_32_LSB             0
1586*5113495bSYour Name #define RX_PPDU_END_USER_STATS_8_FCS_OK_BITMAP_63_32_MASK            0xffffffff
1587*5113495bSYour Name 
1588*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_9_UDP_MSDU_COUNT
1589*5113495bSYour Name 
1590*5113495bSYour Name 			Field filled in by RX OLE
1591*5113495bSYour Name 
1592*5113495bSYour Name 			Set to 0 by RXPCU
1593*5113495bSYour Name 
1594*5113495bSYour Name 
1595*5113495bSYour Name 
1596*5113495bSYour Name 			The number of MSDUs that are part of MPDUs without FCS
1597*5113495bSYour Name 			error, that contain UDP frames.
1598*5113495bSYour Name 
1599*5113495bSYour Name 			<legal all>
1600*5113495bSYour Name */
1601*5113495bSYour Name #define RX_PPDU_END_USER_STATS_9_UDP_MSDU_COUNT_OFFSET               0x00000024
1602*5113495bSYour Name #define RX_PPDU_END_USER_STATS_9_UDP_MSDU_COUNT_LSB                  0
1603*5113495bSYour Name #define RX_PPDU_END_USER_STATS_9_UDP_MSDU_COUNT_MASK                 0x0000ffff
1604*5113495bSYour Name 
1605*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_9_TCP_MSDU_COUNT
1606*5113495bSYour Name 
1607*5113495bSYour Name 			Field filled in by RX OLE
1608*5113495bSYour Name 
1609*5113495bSYour Name 			Set to 0 by RXPCU
1610*5113495bSYour Name 
1611*5113495bSYour Name 
1612*5113495bSYour Name 
1613*5113495bSYour Name 			The number of MSDUs that are part of MPDUs without FCS
1614*5113495bSYour Name 			error, that contain TCP frames.
1615*5113495bSYour Name 
1616*5113495bSYour Name 
1617*5113495bSYour Name 
1618*5113495bSYour Name 			(Note: This does NOT include TCP-ACK)
1619*5113495bSYour Name 
1620*5113495bSYour Name 			<legal all>
1621*5113495bSYour Name */
1622*5113495bSYour Name #define RX_PPDU_END_USER_STATS_9_TCP_MSDU_COUNT_OFFSET               0x00000024
1623*5113495bSYour Name #define RX_PPDU_END_USER_STATS_9_TCP_MSDU_COUNT_LSB                  16
1624*5113495bSYour Name #define RX_PPDU_END_USER_STATS_9_TCP_MSDU_COUNT_MASK                 0xffff0000
1625*5113495bSYour Name 
1626*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_10_OTHER_MSDU_COUNT
1627*5113495bSYour Name 
1628*5113495bSYour Name 			Field filled in by RX OLE
1629*5113495bSYour Name 
1630*5113495bSYour Name 			Set to 0 by RXPCU
1631*5113495bSYour Name 
1632*5113495bSYour Name 
1633*5113495bSYour Name 
1634*5113495bSYour Name 			The number of MSDUs that are part of MPDUs without FCS
1635*5113495bSYour Name 			error, that contain neither UDP or TCP frames.
1636*5113495bSYour Name 
1637*5113495bSYour Name 
1638*5113495bSYour Name 
1639*5113495bSYour Name 			Includes Management and control frames.
1640*5113495bSYour Name 
1641*5113495bSYour Name 
1642*5113495bSYour Name 
1643*5113495bSYour Name 			<legal all>
1644*5113495bSYour Name */
1645*5113495bSYour Name #define RX_PPDU_END_USER_STATS_10_OTHER_MSDU_COUNT_OFFSET            0x00000028
1646*5113495bSYour Name #define RX_PPDU_END_USER_STATS_10_OTHER_MSDU_COUNT_LSB               0
1647*5113495bSYour Name #define RX_PPDU_END_USER_STATS_10_OTHER_MSDU_COUNT_MASK              0x0000ffff
1648*5113495bSYour Name 
1649*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_10_TCP_ACK_MSDU_COUNT
1650*5113495bSYour Name 
1651*5113495bSYour Name 			Field filled in by RX OLE
1652*5113495bSYour Name 
1653*5113495bSYour Name 			Set to 0 by RXPCU
1654*5113495bSYour Name 
1655*5113495bSYour Name 
1656*5113495bSYour Name 
1657*5113495bSYour Name 			The number of MSDUs that are part of MPDUs without FCS
1658*5113495bSYour Name 			error, that contain TCP ack frames.
1659*5113495bSYour Name 
1660*5113495bSYour Name 			<legal all>
1661*5113495bSYour Name */
1662*5113495bSYour Name #define RX_PPDU_END_USER_STATS_10_TCP_ACK_MSDU_COUNT_OFFSET          0x00000028
1663*5113495bSYour Name #define RX_PPDU_END_USER_STATS_10_TCP_ACK_MSDU_COUNT_LSB             16
1664*5113495bSYour Name #define RX_PPDU_END_USER_STATS_10_TCP_ACK_MSDU_COUNT_MASK            0xffff0000
1665*5113495bSYour Name 
1666*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_11_SW_RESPONSE_REFERENCE_PTR
1667*5113495bSYour Name 
1668*5113495bSYour Name 			Pointer that SW uses to refer back to an expected
1669*5113495bSYour Name 			response reception. Used for Rate adaptation purposes.
1670*5113495bSYour Name 
1671*5113495bSYour Name 			When a reception occurrs that is not tied to an expected
1672*5113495bSYour Name 			response, this field is set to 0x0
1673*5113495bSYour Name 
1674*5113495bSYour Name 
1675*5113495bSYour Name 
1676*5113495bSYour Name 			Note: further on in this TLV there is also the field:
1677*5113495bSYour Name 			Sw_response_reference_ptr
1678*5113495bSYour Name 
1679*5113495bSYour Name 			<legal all>
1680*5113495bSYour Name */
1681*5113495bSYour Name #define RX_PPDU_END_USER_STATS_11_SW_RESPONSE_REFERENCE_PTR_OFFSET   0x0000002c
1682*5113495bSYour Name #define RX_PPDU_END_USER_STATS_11_SW_RESPONSE_REFERENCE_PTR_LSB      0
1683*5113495bSYour Name #define RX_PPDU_END_USER_STATS_11_SW_RESPONSE_REFERENCE_PTR_MASK     0xffffffff
1684*5113495bSYour Name 
1685*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_12_RECEIVED_QOS_DATA_TID_BITMAP
1686*5113495bSYour Name 
1687*5113495bSYour Name 			Whenever a frame is received that contains a QoS control
1688*5113495bSYour Name 			field (that includes QoS Data and/or QoS Null), the bit in
1689*5113495bSYour Name 			this field that corresponds to the received TID shall be
1690*5113495bSYour Name 			set.
1691*5113495bSYour Name 
1692*5113495bSYour Name 			...Bitmap[0] = TID0
1693*5113495bSYour Name 
1694*5113495bSYour Name 			...Bitmap[1] = TID1
1695*5113495bSYour Name 
1696*5113495bSYour Name 			Etc.
1697*5113495bSYour Name 
1698*5113495bSYour Name 			<legal all>
1699*5113495bSYour Name */
1700*5113495bSYour Name #define RX_PPDU_END_USER_STATS_12_RECEIVED_QOS_DATA_TID_BITMAP_OFFSET 0x00000030
1701*5113495bSYour Name #define RX_PPDU_END_USER_STATS_12_RECEIVED_QOS_DATA_TID_BITMAP_LSB   0
1702*5113495bSYour Name #define RX_PPDU_END_USER_STATS_12_RECEIVED_QOS_DATA_TID_BITMAP_MASK  0x0000ffff
1703*5113495bSYour Name 
1704*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_12_RECEIVED_QOS_DATA_TID_EOSP_BITMAP
1705*5113495bSYour Name 
1706*5113495bSYour Name 			Field initialized to 0
1707*5113495bSYour Name 
1708*5113495bSYour Name 			For every QoS Data frame that is correctly received, the
1709*5113495bSYour Name 			EOSP bit of that frame is copied over into the corresponding
1710*5113495bSYour Name 			TID related field.
1711*5113495bSYour Name 
1712*5113495bSYour Name 			Note that this implies that the bits here represent the
1713*5113495bSYour Name 			EOSP bit status for each TID of the last MPDU received for
1714*5113495bSYour Name 			that TID.
1715*5113495bSYour Name 
1716*5113495bSYour Name 
1717*5113495bSYour Name 
1718*5113495bSYour Name 			received TID shall be set.
1719*5113495bSYour Name 
1720*5113495bSYour Name 			...eosp_bitmap[0] = eosp of TID0
1721*5113495bSYour Name 
1722*5113495bSYour Name 			...eosp_bitmap[1] = eosp of TID1
1723*5113495bSYour Name 
1724*5113495bSYour Name 			Etc.
1725*5113495bSYour Name 
1726*5113495bSYour Name 			<legal all>
1727*5113495bSYour Name */
1728*5113495bSYour Name #define RX_PPDU_END_USER_STATS_12_RECEIVED_QOS_DATA_TID_EOSP_BITMAP_OFFSET 0x00000030
1729*5113495bSYour Name #define RX_PPDU_END_USER_STATS_12_RECEIVED_QOS_DATA_TID_EOSP_BITMAP_LSB 16
1730*5113495bSYour Name #define RX_PPDU_END_USER_STATS_12_RECEIVED_QOS_DATA_TID_EOSP_BITMAP_MASK 0xffff0000
1731*5113495bSYour Name 
1732*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_13_QOSCTRL_15_8_TID0
1733*5113495bSYour Name 
1734*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[0] is
1735*5113495bSYour Name 			set
1736*5113495bSYour Name 
1737*5113495bSYour Name 
1738*5113495bSYour Name 
1739*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
1740*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
1741*5113495bSYour Name 			== 0
1742*5113495bSYour Name */
1743*5113495bSYour Name #define RX_PPDU_END_USER_STATS_13_QOSCTRL_15_8_TID0_OFFSET           0x00000034
1744*5113495bSYour Name #define RX_PPDU_END_USER_STATS_13_QOSCTRL_15_8_TID0_LSB              0
1745*5113495bSYour Name #define RX_PPDU_END_USER_STATS_13_QOSCTRL_15_8_TID0_MASK             0x000000ff
1746*5113495bSYour Name 
1747*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_13_QOSCTRL_15_8_TID1
1748*5113495bSYour Name 
1749*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[1] is
1750*5113495bSYour Name 			set
1751*5113495bSYour Name 
1752*5113495bSYour Name 
1753*5113495bSYour Name 
1754*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
1755*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
1756*5113495bSYour Name 			== 1
1757*5113495bSYour Name */
1758*5113495bSYour Name #define RX_PPDU_END_USER_STATS_13_QOSCTRL_15_8_TID1_OFFSET           0x00000034
1759*5113495bSYour Name #define RX_PPDU_END_USER_STATS_13_QOSCTRL_15_8_TID1_LSB              8
1760*5113495bSYour Name #define RX_PPDU_END_USER_STATS_13_QOSCTRL_15_8_TID1_MASK             0x0000ff00
1761*5113495bSYour Name 
1762*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_13_QOSCTRL_15_8_TID2
1763*5113495bSYour Name 
1764*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[2] is
1765*5113495bSYour Name 			set
1766*5113495bSYour Name 
1767*5113495bSYour Name 
1768*5113495bSYour Name 
1769*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
1770*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
1771*5113495bSYour Name 			== 2
1772*5113495bSYour Name */
1773*5113495bSYour Name #define RX_PPDU_END_USER_STATS_13_QOSCTRL_15_8_TID2_OFFSET           0x00000034
1774*5113495bSYour Name #define RX_PPDU_END_USER_STATS_13_QOSCTRL_15_8_TID2_LSB              16
1775*5113495bSYour Name #define RX_PPDU_END_USER_STATS_13_QOSCTRL_15_8_TID2_MASK             0x00ff0000
1776*5113495bSYour Name 
1777*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_13_QOSCTRL_15_8_TID3
1778*5113495bSYour Name 
1779*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[3] is
1780*5113495bSYour Name 			set
1781*5113495bSYour Name 
1782*5113495bSYour Name 
1783*5113495bSYour Name 
1784*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
1785*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
1786*5113495bSYour Name 			== 3
1787*5113495bSYour Name */
1788*5113495bSYour Name #define RX_PPDU_END_USER_STATS_13_QOSCTRL_15_8_TID3_OFFSET           0x00000034
1789*5113495bSYour Name #define RX_PPDU_END_USER_STATS_13_QOSCTRL_15_8_TID3_LSB              24
1790*5113495bSYour Name #define RX_PPDU_END_USER_STATS_13_QOSCTRL_15_8_TID3_MASK             0xff000000
1791*5113495bSYour Name 
1792*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_14_QOSCTRL_15_8_TID4
1793*5113495bSYour Name 
1794*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[4] is
1795*5113495bSYour Name 			set
1796*5113495bSYour Name 
1797*5113495bSYour Name 
1798*5113495bSYour Name 
1799*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
1800*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
1801*5113495bSYour Name 			== 4
1802*5113495bSYour Name */
1803*5113495bSYour Name #define RX_PPDU_END_USER_STATS_14_QOSCTRL_15_8_TID4_OFFSET           0x00000038
1804*5113495bSYour Name #define RX_PPDU_END_USER_STATS_14_QOSCTRL_15_8_TID4_LSB              0
1805*5113495bSYour Name #define RX_PPDU_END_USER_STATS_14_QOSCTRL_15_8_TID4_MASK             0x000000ff
1806*5113495bSYour Name 
1807*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_14_QOSCTRL_15_8_TID5
1808*5113495bSYour Name 
1809*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[5] is
1810*5113495bSYour Name 			set
1811*5113495bSYour Name 
1812*5113495bSYour Name 
1813*5113495bSYour Name 
1814*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
1815*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
1816*5113495bSYour Name 			== 5
1817*5113495bSYour Name */
1818*5113495bSYour Name #define RX_PPDU_END_USER_STATS_14_QOSCTRL_15_8_TID5_OFFSET           0x00000038
1819*5113495bSYour Name #define RX_PPDU_END_USER_STATS_14_QOSCTRL_15_8_TID5_LSB              8
1820*5113495bSYour Name #define RX_PPDU_END_USER_STATS_14_QOSCTRL_15_8_TID5_MASK             0x0000ff00
1821*5113495bSYour Name 
1822*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_14_QOSCTRL_15_8_TID6
1823*5113495bSYour Name 
1824*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[6] is
1825*5113495bSYour Name 			set
1826*5113495bSYour Name 
1827*5113495bSYour Name 
1828*5113495bSYour Name 
1829*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
1830*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
1831*5113495bSYour Name 			== 6
1832*5113495bSYour Name */
1833*5113495bSYour Name #define RX_PPDU_END_USER_STATS_14_QOSCTRL_15_8_TID6_OFFSET           0x00000038
1834*5113495bSYour Name #define RX_PPDU_END_USER_STATS_14_QOSCTRL_15_8_TID6_LSB              16
1835*5113495bSYour Name #define RX_PPDU_END_USER_STATS_14_QOSCTRL_15_8_TID6_MASK             0x00ff0000
1836*5113495bSYour Name 
1837*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_14_QOSCTRL_15_8_TID7
1838*5113495bSYour Name 
1839*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[7] is
1840*5113495bSYour Name 			set
1841*5113495bSYour Name 
1842*5113495bSYour Name 
1843*5113495bSYour Name 
1844*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
1845*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
1846*5113495bSYour Name 			== 7
1847*5113495bSYour Name */
1848*5113495bSYour Name #define RX_PPDU_END_USER_STATS_14_QOSCTRL_15_8_TID7_OFFSET           0x00000038
1849*5113495bSYour Name #define RX_PPDU_END_USER_STATS_14_QOSCTRL_15_8_TID7_LSB              24
1850*5113495bSYour Name #define RX_PPDU_END_USER_STATS_14_QOSCTRL_15_8_TID7_MASK             0xff000000
1851*5113495bSYour Name 
1852*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_15_QOSCTRL_15_8_TID8
1853*5113495bSYour Name 
1854*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[8] is
1855*5113495bSYour Name 			set
1856*5113495bSYour Name 
1857*5113495bSYour Name 
1858*5113495bSYour Name 
1859*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
1860*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
1861*5113495bSYour Name 			== 8
1862*5113495bSYour Name */
1863*5113495bSYour Name #define RX_PPDU_END_USER_STATS_15_QOSCTRL_15_8_TID8_OFFSET           0x0000003c
1864*5113495bSYour Name #define RX_PPDU_END_USER_STATS_15_QOSCTRL_15_8_TID8_LSB              0
1865*5113495bSYour Name #define RX_PPDU_END_USER_STATS_15_QOSCTRL_15_8_TID8_MASK             0x000000ff
1866*5113495bSYour Name 
1867*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_15_QOSCTRL_15_8_TID9
1868*5113495bSYour Name 
1869*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[9] is
1870*5113495bSYour Name 			set
1871*5113495bSYour Name 
1872*5113495bSYour Name 
1873*5113495bSYour Name 
1874*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
1875*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
1876*5113495bSYour Name 			== 9
1877*5113495bSYour Name */
1878*5113495bSYour Name #define RX_PPDU_END_USER_STATS_15_QOSCTRL_15_8_TID9_OFFSET           0x0000003c
1879*5113495bSYour Name #define RX_PPDU_END_USER_STATS_15_QOSCTRL_15_8_TID9_LSB              8
1880*5113495bSYour Name #define RX_PPDU_END_USER_STATS_15_QOSCTRL_15_8_TID9_MASK             0x0000ff00
1881*5113495bSYour Name 
1882*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_15_QOSCTRL_15_8_TID10
1883*5113495bSYour Name 
1884*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[10]
1885*5113495bSYour Name 			is set
1886*5113495bSYour Name 
1887*5113495bSYour Name 
1888*5113495bSYour Name 
1889*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
1890*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
1891*5113495bSYour Name 			== 10
1892*5113495bSYour Name */
1893*5113495bSYour Name #define RX_PPDU_END_USER_STATS_15_QOSCTRL_15_8_TID10_OFFSET          0x0000003c
1894*5113495bSYour Name #define RX_PPDU_END_USER_STATS_15_QOSCTRL_15_8_TID10_LSB             16
1895*5113495bSYour Name #define RX_PPDU_END_USER_STATS_15_QOSCTRL_15_8_TID10_MASK            0x00ff0000
1896*5113495bSYour Name 
1897*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_15_QOSCTRL_15_8_TID11
1898*5113495bSYour Name 
1899*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[11]
1900*5113495bSYour Name 			is set
1901*5113495bSYour Name 
1902*5113495bSYour Name 
1903*5113495bSYour Name 
1904*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
1905*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
1906*5113495bSYour Name 			== 11
1907*5113495bSYour Name */
1908*5113495bSYour Name #define RX_PPDU_END_USER_STATS_15_QOSCTRL_15_8_TID11_OFFSET          0x0000003c
1909*5113495bSYour Name #define RX_PPDU_END_USER_STATS_15_QOSCTRL_15_8_TID11_LSB             24
1910*5113495bSYour Name #define RX_PPDU_END_USER_STATS_15_QOSCTRL_15_8_TID11_MASK            0xff000000
1911*5113495bSYour Name 
1912*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_16_QOSCTRL_15_8_TID12
1913*5113495bSYour Name 
1914*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[12]
1915*5113495bSYour Name 			is set
1916*5113495bSYour Name 
1917*5113495bSYour Name 
1918*5113495bSYour Name 
1919*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
1920*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
1921*5113495bSYour Name 			== 12
1922*5113495bSYour Name */
1923*5113495bSYour Name #define RX_PPDU_END_USER_STATS_16_QOSCTRL_15_8_TID12_OFFSET          0x00000040
1924*5113495bSYour Name #define RX_PPDU_END_USER_STATS_16_QOSCTRL_15_8_TID12_LSB             0
1925*5113495bSYour Name #define RX_PPDU_END_USER_STATS_16_QOSCTRL_15_8_TID12_MASK            0x000000ff
1926*5113495bSYour Name 
1927*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_16_QOSCTRL_15_8_TID13
1928*5113495bSYour Name 
1929*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[13]
1930*5113495bSYour Name 			is set
1931*5113495bSYour Name 
1932*5113495bSYour Name 
1933*5113495bSYour Name 
1934*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
1935*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
1936*5113495bSYour Name 			== 13
1937*5113495bSYour Name */
1938*5113495bSYour Name #define RX_PPDU_END_USER_STATS_16_QOSCTRL_15_8_TID13_OFFSET          0x00000040
1939*5113495bSYour Name #define RX_PPDU_END_USER_STATS_16_QOSCTRL_15_8_TID13_LSB             8
1940*5113495bSYour Name #define RX_PPDU_END_USER_STATS_16_QOSCTRL_15_8_TID13_MASK            0x0000ff00
1941*5113495bSYour Name 
1942*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_16_QOSCTRL_15_8_TID14
1943*5113495bSYour Name 
1944*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[14]
1945*5113495bSYour Name 			is set
1946*5113495bSYour Name 
1947*5113495bSYour Name 
1948*5113495bSYour Name 
1949*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
1950*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
1951*5113495bSYour Name 			== 14
1952*5113495bSYour Name */
1953*5113495bSYour Name #define RX_PPDU_END_USER_STATS_16_QOSCTRL_15_8_TID14_OFFSET          0x00000040
1954*5113495bSYour Name #define RX_PPDU_END_USER_STATS_16_QOSCTRL_15_8_TID14_LSB             16
1955*5113495bSYour Name #define RX_PPDU_END_USER_STATS_16_QOSCTRL_15_8_TID14_MASK            0x00ff0000
1956*5113495bSYour Name 
1957*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_16_QOSCTRL_15_8_TID15
1958*5113495bSYour Name 
1959*5113495bSYour Name 			Field only valid when Received_qos_data_tid_bitmap[15]
1960*5113495bSYour Name 			is set
1961*5113495bSYour Name 
1962*5113495bSYour Name 
1963*5113495bSYour Name 
1964*5113495bSYour Name 			QoS control field bits 15-8 of the last properly
1965*5113495bSYour Name 			received MPDU with a QoS control field embedded, with  TID
1966*5113495bSYour Name 			== 15
1967*5113495bSYour Name */
1968*5113495bSYour Name #define RX_PPDU_END_USER_STATS_16_QOSCTRL_15_8_TID15_OFFSET          0x00000040
1969*5113495bSYour Name #define RX_PPDU_END_USER_STATS_16_QOSCTRL_15_8_TID15_LSB             24
1970*5113495bSYour Name #define RX_PPDU_END_USER_STATS_16_QOSCTRL_15_8_TID15_MASK            0xff000000
1971*5113495bSYour Name 
1972*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_17_MPDU_OK_BYTE_COUNT
1973*5113495bSYour Name 
1974*5113495bSYour Name 			The number of bytes received within an MPDU for this
1975*5113495bSYour Name 			user with correct FCS. This includes the FCS field
1976*5113495bSYour Name 
1977*5113495bSYour Name 
1978*5113495bSYour Name 
1979*5113495bSYour Name 			NOTE:
1980*5113495bSYour Name 
1981*5113495bSYour Name 			The sum of the four fields.....
1982*5113495bSYour Name 
1983*5113495bSYour Name 			Mpdu_ok_byte_count +
1984*5113495bSYour Name 
1985*5113495bSYour Name 			mpdu_err_byte_count +
1986*5113495bSYour Name 
1987*5113495bSYour Name 
1988*5113495bSYour Name 			.....is the total number of bytes that were received for
1989*5113495bSYour Name 			this user from the PHY.
1990*5113495bSYour Name 
1991*5113495bSYour Name 
1992*5113495bSYour Name 
1993*5113495bSYour Name 			<legal all>
1994*5113495bSYour Name */
1995*5113495bSYour Name #define RX_PPDU_END_USER_STATS_17_MPDU_OK_BYTE_COUNT_OFFSET          0x00000044
1996*5113495bSYour Name #define RX_PPDU_END_USER_STATS_17_MPDU_OK_BYTE_COUNT_LSB             0
1997*5113495bSYour Name #define RX_PPDU_END_USER_STATS_17_MPDU_OK_BYTE_COUNT_MASK            0x01ffffff
1998*5113495bSYour Name 
1999*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_17_AMPDU_DELIM_OK_COUNT_6_0
2000*5113495bSYour Name 
2001*5113495bSYour Name 			Number of AMPDU delimiter received with correct
2002*5113495bSYour Name 			structure
2003*5113495bSYour Name 
2004*5113495bSYour Name 			LSB 7 bits from this counter
2005*5113495bSYour Name 
2006*5113495bSYour Name 
2007*5113495bSYour Name 
2008*5113495bSYour Name 			Note that this is a delimiter count and not byte count.
2009*5113495bSYour Name 			To get to the number of bytes occupied by these delimiters,
2010*5113495bSYour Name 			multiply this number by 4
2011*5113495bSYour Name 
2012*5113495bSYour Name 
2013*5113495bSYour Name 
2014*5113495bSYour Name 			<legal all>
2015*5113495bSYour Name */
2016*5113495bSYour Name #define RX_PPDU_END_USER_STATS_17_AMPDU_DELIM_OK_COUNT_6_0_OFFSET    0x00000044
2017*5113495bSYour Name #define RX_PPDU_END_USER_STATS_17_AMPDU_DELIM_OK_COUNT_6_0_LSB       25
2018*5113495bSYour Name #define RX_PPDU_END_USER_STATS_17_AMPDU_DELIM_OK_COUNT_6_0_MASK      0xfe000000
2019*5113495bSYour Name 
2020*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_18_AMPDU_DELIM_ERR_COUNT
2021*5113495bSYour Name 
2022*5113495bSYour Name 			The number of MPDU delimiter errors counted for this
2023*5113495bSYour Name 			user.
2024*5113495bSYour Name 
2025*5113495bSYour Name 
2026*5113495bSYour Name 
2027*5113495bSYour Name 			Note that this is a delimiter count and not byte count.
2028*5113495bSYour Name 			To get to the number of bytes occupied by these delimiters,
2029*5113495bSYour Name 			multiply this number by 4
2030*5113495bSYour Name 
2031*5113495bSYour Name 			<legal all>
2032*5113495bSYour Name */
2033*5113495bSYour Name #define RX_PPDU_END_USER_STATS_18_AMPDU_DELIM_ERR_COUNT_OFFSET       0x00000048
2034*5113495bSYour Name #define RX_PPDU_END_USER_STATS_18_AMPDU_DELIM_ERR_COUNT_LSB          0
2035*5113495bSYour Name #define RX_PPDU_END_USER_STATS_18_AMPDU_DELIM_ERR_COUNT_MASK         0x01ffffff
2036*5113495bSYour Name 
2037*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_18_AMPDU_DELIM_OK_COUNT_13_7
2038*5113495bSYour Name 
2039*5113495bSYour Name 			Number of AMPDU delimiters received with correct
2040*5113495bSYour Name 			structure
2041*5113495bSYour Name 
2042*5113495bSYour Name 			Bits 13-7 from this counter
2043*5113495bSYour Name 
2044*5113495bSYour Name 
2045*5113495bSYour Name 
2046*5113495bSYour Name 			Note that this is a delimiter count and not byte count.
2047*5113495bSYour Name 			To get to the number of bytes occupied by these delimiters,
2048*5113495bSYour Name 			multiply this number by 4
2049*5113495bSYour Name 
2050*5113495bSYour Name 			<legal all>
2051*5113495bSYour Name */
2052*5113495bSYour Name #define RX_PPDU_END_USER_STATS_18_AMPDU_DELIM_OK_COUNT_13_7_OFFSET   0x00000048
2053*5113495bSYour Name #define RX_PPDU_END_USER_STATS_18_AMPDU_DELIM_OK_COUNT_13_7_LSB      25
2054*5113495bSYour Name #define RX_PPDU_END_USER_STATS_18_AMPDU_DELIM_OK_COUNT_13_7_MASK     0xfe000000
2055*5113495bSYour Name 
2056*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_19_MPDU_ERR_BYTE_COUNT
2057*5113495bSYour Name 
2058*5113495bSYour Name 			The number of bytes belonging to MPDUs with an FCS
2059*5113495bSYour Name 			error. This includes the FCS field.
2060*5113495bSYour Name 
2061*5113495bSYour Name 
2062*5113495bSYour Name 
2063*5113495bSYour Name 			<legal all>
2064*5113495bSYour Name */
2065*5113495bSYour Name #define RX_PPDU_END_USER_STATS_19_MPDU_ERR_BYTE_COUNT_OFFSET         0x0000004c
2066*5113495bSYour Name #define RX_PPDU_END_USER_STATS_19_MPDU_ERR_BYTE_COUNT_LSB            0
2067*5113495bSYour Name #define RX_PPDU_END_USER_STATS_19_MPDU_ERR_BYTE_COUNT_MASK           0x01ffffff
2068*5113495bSYour Name 
2069*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_19_AMPDU_DELIM_OK_COUNT_20_14
2070*5113495bSYour Name 
2071*5113495bSYour Name 			Number of AMPDU delimiters received with correct
2072*5113495bSYour Name 			structure
2073*5113495bSYour Name 
2074*5113495bSYour Name 			Bits 20-14 from this counter
2075*5113495bSYour Name 
2076*5113495bSYour Name 
2077*5113495bSYour Name 
2078*5113495bSYour Name 			Note that this is a delimiter count and not byte count.
2079*5113495bSYour Name 			To get to the number of bytes occupied by these delimiters,
2080*5113495bSYour Name 			multiply this number by 4
2081*5113495bSYour Name 
2082*5113495bSYour Name 
2083*5113495bSYour Name 
2084*5113495bSYour Name 			<legal all>
2085*5113495bSYour Name */
2086*5113495bSYour Name #define RX_PPDU_END_USER_STATS_19_AMPDU_DELIM_OK_COUNT_20_14_OFFSET  0x0000004c
2087*5113495bSYour Name #define RX_PPDU_END_USER_STATS_19_AMPDU_DELIM_OK_COUNT_20_14_LSB     25
2088*5113495bSYour Name #define RX_PPDU_END_USER_STATS_19_AMPDU_DELIM_OK_COUNT_20_14_MASK    0xfe000000
2089*5113495bSYour Name 
2090*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_20_NON_CONSECUTIVE_DELIMITER_ERR
2091*5113495bSYour Name 
2092*5113495bSYour Name 			The number of times an MPDU delimiter error is detected
2093*5113495bSYour Name 			that is not immediately preceded by another MPDU delimiter
2094*5113495bSYour Name 			also with FCS error.
2095*5113495bSYour Name 
2096*5113495bSYour Name 
2097*5113495bSYour Name 
2098*5113495bSYour Name 			The counter saturates at 0xFFFF
2099*5113495bSYour Name 
2100*5113495bSYour Name 
2101*5113495bSYour Name 
2102*5113495bSYour Name 			<legal all>
2103*5113495bSYour Name */
2104*5113495bSYour Name #define RX_PPDU_END_USER_STATS_20_NON_CONSECUTIVE_DELIMITER_ERR_OFFSET 0x00000050
2105*5113495bSYour Name #define RX_PPDU_END_USER_STATS_20_NON_CONSECUTIVE_DELIMITER_ERR_LSB  0
2106*5113495bSYour Name #define RX_PPDU_END_USER_STATS_20_NON_CONSECUTIVE_DELIMITER_ERR_MASK 0x0000ffff
2107*5113495bSYour Name 
2108*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_20_RESERVED_20A
2109*5113495bSYour Name 
2110*5113495bSYour Name 			<legal 0>
2111*5113495bSYour Name */
2112*5113495bSYour Name #define RX_PPDU_END_USER_STATS_20_RESERVED_20A_OFFSET                0x00000050
2113*5113495bSYour Name #define RX_PPDU_END_USER_STATS_20_RESERVED_20A_LSB                   16
2114*5113495bSYour Name #define RX_PPDU_END_USER_STATS_20_RESERVED_20A_MASK                  0xffff0000
2115*5113495bSYour Name 
2116*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_21_HT_CONTROL_NULL_FIELD
2117*5113495bSYour Name 
2118*5113495bSYour Name 
2119*5113495bSYour Name 
2120*5113495bSYour Name 
2121*5113495bSYour Name 			Last successfully received
2122*5113495bSYour Name 			HT_CONTROL/VHT_CONTROL/HE_CONTROL  field from QoS Null frame
2123*5113495bSYour Name 			for this user.
2124*5113495bSYour Name 
2125*5113495bSYour Name 			<legal all>
2126*5113495bSYour Name */
2127*5113495bSYour Name #define RX_PPDU_END_USER_STATS_21_HT_CONTROL_NULL_FIELD_OFFSET       0x00000054
2128*5113495bSYour Name #define RX_PPDU_END_USER_STATS_21_HT_CONTROL_NULL_FIELD_LSB          0
2129*5113495bSYour Name #define RX_PPDU_END_USER_STATS_21_HT_CONTROL_NULL_FIELD_MASK         0xffffffff
2130*5113495bSYour Name 
2131*5113495bSYour Name /* Description		RX_PPDU_END_USER_STATS_22_SW_RESPONSE_REFERENCE_PTR_EXT
2132*5113495bSYour Name 
2133*5113495bSYour Name 			Extended Pointer that SW uses to refer back to an
2134*5113495bSYour Name 			expected response reception. Used for Rate adaptation
2135*5113495bSYour Name 			purposes.
2136*5113495bSYour Name 
2137*5113495bSYour Name 			When a reception occurrs that is not tied to an expected
2138*5113495bSYour Name 			response, this field is set to 0x0
2139*5113495bSYour Name 
2140*5113495bSYour Name 
2141*5113495bSYour Name 
2142*5113495bSYour Name 			Note: earlier on in this TLV there is also the field:
2143*5113495bSYour Name 			Sw_response_reference_ptr
2144*5113495bSYour Name 
2145*5113495bSYour Name 			<legal all>
2146*5113495bSYour Name */
2147*5113495bSYour Name #define RX_PPDU_END_USER_STATS_22_SW_RESPONSE_REFERENCE_PTR_EXT_OFFSET 0x00000058
2148*5113495bSYour Name #define RX_PPDU_END_USER_STATS_22_SW_RESPONSE_REFERENCE_PTR_EXT_LSB  0
2149*5113495bSYour Name #define RX_PPDU_END_USER_STATS_22_SW_RESPONSE_REFERENCE_PTR_EXT_MASK 0xffffffff
2150*5113495bSYour Name 
2151*5113495bSYour Name 
2152*5113495bSYour Name #endif // _RX_PPDU_END_USER_STATS_H_
2153