xref: /wlan-driver/fw-api/hw/qca9574/rx_msdu_end.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1*5113495bSYour Name /*
2*5113495bSYour Name  * Copyright (c) 2021 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_MSDU_END_H_
24*5113495bSYour Name #define _RX_MSDU_END_H_
25*5113495bSYour Name #if !defined(__ASSEMBLER__)
26*5113495bSYour Name #endif
27*5113495bSYour Name 
28*5113495bSYour Name 
29*5113495bSYour Name // ################ START SUMMARY #################
30*5113495bSYour Name //
31*5113495bSYour Name //	Dword	Fields
32*5113495bSYour Name //	0	rxpcu_mpdu_filter_in_category[1:0], sw_frame_group_id[8:2], reserved_0[15:9], phy_ppdu_id[31:16]
33*5113495bSYour Name //	1	ip_hdr_chksum[15:0], tcp_udp_chksum[31:16]
34*5113495bSYour Name //	2	key_id_octet[7:0], cce_super_rule[13:8], cce_classify_not_done_truncate[14], cce_classify_not_done_cce_dis[15], ext_wapi_pn_63_48[31:16]
35*5113495bSYour Name //	3	ext_wapi_pn_95_64[31:0]
36*5113495bSYour Name //	4	ext_wapi_pn_127_96[31:0]
37*5113495bSYour Name //	5	reported_mpdu_length[13:0], first_msdu[14], last_msdu[15], sa_idx_timeout[16], da_idx_timeout[17], msdu_limit_error[18], flow_idx_timeout[19], flow_idx_invalid[20], wifi_parser_error[21], amsdu_parser_error[22], sa_is_valid[23], da_is_valid[24], da_is_mcbc[25], l3_header_padding[27:26], reserved_5a[31:28]
38*5113495bSYour Name //	6	ipv6_options_crc[31:0]
39*5113495bSYour Name //	7	tcp_seq_number[31:0]
40*5113495bSYour Name //	8	tcp_ack_number[31:0]
41*5113495bSYour Name //	9	tcp_flag[8:0], lro_eligible[9], reserved_9a[15:10], window_size[31:16]
42*5113495bSYour Name //	10	da_offset[5:0], sa_offset[11:6], da_offset_valid[12], sa_offset_valid[13], reserved_10a[15:14], l3_type[31:16]
43*5113495bSYour Name //	11	rule_indication_31_0[31:0]
44*5113495bSYour Name //	12	rule_indication_63_32[31:0]
45*5113495bSYour Name //	13	sa_idx[15:0], da_idx_or_sw_peer_id[31:16]
46*5113495bSYour Name //	14	msdu_drop[0], reo_destination_indication[5:1], flow_idx[25:6], reserved_14[31:26]
47*5113495bSYour Name //	15	fse_metadata[31:0]
48*5113495bSYour Name //	16	cce_metadata[15:0], sa_sw_peer_id[31:16]
49*5113495bSYour Name //
50*5113495bSYour Name // ################ END SUMMARY #################
51*5113495bSYour Name 
52*5113495bSYour Name #define NUM_OF_DWORDS_RX_MSDU_END 17
53*5113495bSYour Name 
54*5113495bSYour Name struct rx_msdu_end {
55*5113495bSYour Name              uint32_t rxpcu_mpdu_filter_in_category   :  2, //[1:0]
56*5113495bSYour Name                       sw_frame_group_id               :  7, //[8:2]
57*5113495bSYour Name                       reserved_0                      :  7, //[15:9]
58*5113495bSYour Name                       phy_ppdu_id                     : 16; //[31:16]
59*5113495bSYour Name              uint32_t ip_hdr_chksum                   : 16, //[15:0]
60*5113495bSYour Name                       tcp_udp_chksum                  : 16; //[31:16]
61*5113495bSYour Name              uint32_t key_id_octet                    :  8, //[7:0]
62*5113495bSYour Name                       cce_super_rule                  :  6, //[13:8]
63*5113495bSYour Name                       cce_classify_not_done_truncate  :  1, //[14]
64*5113495bSYour Name                       cce_classify_not_done_cce_dis   :  1, //[15]
65*5113495bSYour Name                       ext_wapi_pn_63_48               : 16; //[31:16]
66*5113495bSYour Name              uint32_t ext_wapi_pn_95_64               : 32; //[31:0]
67*5113495bSYour Name              uint32_t ext_wapi_pn_127_96              : 32; //[31:0]
68*5113495bSYour Name              uint32_t reported_mpdu_length            : 14, //[13:0]
69*5113495bSYour Name                       first_msdu                      :  1, //[14]
70*5113495bSYour Name                       last_msdu                       :  1, //[15]
71*5113495bSYour Name                       sa_idx_timeout                  :  1, //[16]
72*5113495bSYour Name                       da_idx_timeout                  :  1, //[17]
73*5113495bSYour Name                       msdu_limit_error                :  1, //[18]
74*5113495bSYour Name                       flow_idx_timeout                :  1, //[19]
75*5113495bSYour Name                       flow_idx_invalid                :  1, //[20]
76*5113495bSYour Name                       wifi_parser_error               :  1, //[21]
77*5113495bSYour Name                       amsdu_parser_error              :  1, //[22]
78*5113495bSYour Name                       sa_is_valid                     :  1, //[23]
79*5113495bSYour Name                       da_is_valid                     :  1, //[24]
80*5113495bSYour Name                       da_is_mcbc                      :  1, //[25]
81*5113495bSYour Name                       l3_header_padding               :  2, //[27:26]
82*5113495bSYour Name                       reserved_5a                     :  4; //[31:28]
83*5113495bSYour Name              uint32_t ipv6_options_crc                : 32; //[31:0]
84*5113495bSYour Name              uint32_t tcp_seq_number                  : 32; //[31:0]
85*5113495bSYour Name              uint32_t tcp_ack_number                  : 32; //[31:0]
86*5113495bSYour Name              uint32_t tcp_flag                        :  9, //[8:0]
87*5113495bSYour Name                       lro_eligible                    :  1, //[9]
88*5113495bSYour Name                       reserved_9a                     :  6, //[15:10]
89*5113495bSYour Name                       window_size                     : 16; //[31:16]
90*5113495bSYour Name              uint32_t da_offset                       :  6, //[5:0]
91*5113495bSYour Name                       sa_offset                       :  6, //[11:6]
92*5113495bSYour Name                       da_offset_valid                 :  1, //[12]
93*5113495bSYour Name                       sa_offset_valid                 :  1, //[13]
94*5113495bSYour Name                       reserved_10a                    :  2, //[15:14]
95*5113495bSYour Name                       l3_type                         : 16; //[31:16]
96*5113495bSYour Name              uint32_t rule_indication_31_0            : 32; //[31:0]
97*5113495bSYour Name              uint32_t rule_indication_63_32           : 32; //[31:0]
98*5113495bSYour Name              uint32_t sa_idx                          : 16, //[15:0]
99*5113495bSYour Name                       da_idx_or_sw_peer_id            : 16; //[31:16]
100*5113495bSYour Name              uint32_t msdu_drop                       :  1, //[0]
101*5113495bSYour Name                       reo_destination_indication      :  5, //[5:1]
102*5113495bSYour Name                       flow_idx                        : 20, //[25:6]
103*5113495bSYour Name                       reserved_14                     :  6; //[31:26]
104*5113495bSYour Name              uint32_t fse_metadata                    : 32; //[31:0]
105*5113495bSYour Name              uint32_t cce_metadata                    : 16, //[15:0]
106*5113495bSYour Name                       sa_sw_peer_id                   : 16; //[31:16]
107*5113495bSYour Name };
108*5113495bSYour Name 
109*5113495bSYour Name /*
110*5113495bSYour Name 
111*5113495bSYour Name rxpcu_mpdu_filter_in_category
112*5113495bSYour Name 
113*5113495bSYour Name 			Field indicates what the reason was that this MPDU frame
114*5113495bSYour Name 			was allowed to come into the receive path by RXPCU
115*5113495bSYour Name 
116*5113495bSYour Name 			<enum 0 rxpcu_filter_pass> This MPDU passed the normal
117*5113495bSYour Name 			frame filter programming of rxpcu
118*5113495bSYour Name 
119*5113495bSYour Name 			<enum 1 rxpcu_monitor_client> This MPDU did NOT pass the
120*5113495bSYour Name 			regular frame filter and would have been dropped, were it
121*5113495bSYour Name 			not for the frame fitting into the 'monitor_client'
122*5113495bSYour Name 			category.
123*5113495bSYour Name 
124*5113495bSYour Name 			<enum 2 rxpcu_monitor_other> This MPDU did NOT pass the
125*5113495bSYour Name 			regular frame filter and also did not pass the
126*5113495bSYour Name 			rxpcu_monitor_client filter. It would have been dropped
127*5113495bSYour Name 			accept that it did pass the 'monitor_other' category.
128*5113495bSYour Name 
129*5113495bSYour Name 			<legal 0-2>
130*5113495bSYour Name 
131*5113495bSYour Name sw_frame_group_id
132*5113495bSYour Name 
133*5113495bSYour Name 			SW processes frames based on certain classifications.
134*5113495bSYour Name 			This field indicates to what sw classification this MPDU is
135*5113495bSYour Name 			mapped.
136*5113495bSYour Name 
137*5113495bSYour Name 			The classification is given in priority order
138*5113495bSYour Name 
139*5113495bSYour Name 
140*5113495bSYour Name 
141*5113495bSYour Name 			<enum 0 sw_frame_group_NDP_frame>
142*5113495bSYour Name 
143*5113495bSYour Name 
144*5113495bSYour Name 
145*5113495bSYour Name 			<enum 1 sw_frame_group_Multicast_data>
146*5113495bSYour Name 
147*5113495bSYour Name 			<enum 2 sw_frame_group_Unicast_data>
148*5113495bSYour Name 
149*5113495bSYour Name 			<enum 3 sw_frame_group_Null_data > This includes mpdus
150*5113495bSYour Name 			of type Data Null as well as QoS Data Null
151*5113495bSYour Name 
152*5113495bSYour Name 
153*5113495bSYour Name 
154*5113495bSYour Name 			<enum 4 sw_frame_group_mgmt_0000 >
155*5113495bSYour Name 
156*5113495bSYour Name 			<enum 5 sw_frame_group_mgmt_0001 >
157*5113495bSYour Name 
158*5113495bSYour Name 			<enum 6 sw_frame_group_mgmt_0010 >
159*5113495bSYour Name 
160*5113495bSYour Name 			<enum 7 sw_frame_group_mgmt_0011 >
161*5113495bSYour Name 
162*5113495bSYour Name 			<enum 8 sw_frame_group_mgmt_0100 >
163*5113495bSYour Name 
164*5113495bSYour Name 			<enum 9 sw_frame_group_mgmt_0101 >
165*5113495bSYour Name 
166*5113495bSYour Name 			<enum 10 sw_frame_group_mgmt_0110 >
167*5113495bSYour Name 
168*5113495bSYour Name 			<enum 11 sw_frame_group_mgmt_0111 >
169*5113495bSYour Name 
170*5113495bSYour Name 			<enum 12 sw_frame_group_mgmt_1000 >
171*5113495bSYour Name 
172*5113495bSYour Name 			<enum 13 sw_frame_group_mgmt_1001 >
173*5113495bSYour Name 
174*5113495bSYour Name 			<enum 14 sw_frame_group_mgmt_1010 >
175*5113495bSYour Name 
176*5113495bSYour Name 			<enum 15 sw_frame_group_mgmt_1011 >
177*5113495bSYour Name 
178*5113495bSYour Name 			<enum 16 sw_frame_group_mgmt_1100 >
179*5113495bSYour Name 
180*5113495bSYour Name 			<enum 17 sw_frame_group_mgmt_1101 >
181*5113495bSYour Name 
182*5113495bSYour Name 			<enum 18 sw_frame_group_mgmt_1110 >
183*5113495bSYour Name 
184*5113495bSYour Name 			<enum 19 sw_frame_group_mgmt_1111 >
185*5113495bSYour Name 
186*5113495bSYour Name 
187*5113495bSYour Name 
188*5113495bSYour Name 			<enum 20 sw_frame_group_ctrl_0000 >
189*5113495bSYour Name 
190*5113495bSYour Name 			<enum 21 sw_frame_group_ctrl_0001 >
191*5113495bSYour Name 
192*5113495bSYour Name 			<enum 22 sw_frame_group_ctrl_0010 >
193*5113495bSYour Name 
194*5113495bSYour Name 			<enum 23 sw_frame_group_ctrl_0011 >
195*5113495bSYour Name 
196*5113495bSYour Name 			<enum 24 sw_frame_group_ctrl_0100 >
197*5113495bSYour Name 
198*5113495bSYour Name 			<enum 25 sw_frame_group_ctrl_0101 >
199*5113495bSYour Name 
200*5113495bSYour Name 			<enum 26 sw_frame_group_ctrl_0110 >
201*5113495bSYour Name 
202*5113495bSYour Name 			<enum 27 sw_frame_group_ctrl_0111 >
203*5113495bSYour Name 
204*5113495bSYour Name 			<enum 28 sw_frame_group_ctrl_1000 >
205*5113495bSYour Name 
206*5113495bSYour Name 			<enum 29 sw_frame_group_ctrl_1001 >
207*5113495bSYour Name 
208*5113495bSYour Name 			<enum 30 sw_frame_group_ctrl_1010 >
209*5113495bSYour Name 
210*5113495bSYour Name 			<enum 31 sw_frame_group_ctrl_1011 >
211*5113495bSYour Name 
212*5113495bSYour Name 			<enum 32 sw_frame_group_ctrl_1100 >
213*5113495bSYour Name 
214*5113495bSYour Name 			<enum 33 sw_frame_group_ctrl_1101 >
215*5113495bSYour Name 
216*5113495bSYour Name 			<enum 34 sw_frame_group_ctrl_1110 >
217*5113495bSYour Name 
218*5113495bSYour Name 			<enum 35 sw_frame_group_ctrl_1111 >
219*5113495bSYour Name 
220*5113495bSYour Name 
221*5113495bSYour Name 
222*5113495bSYour Name 			<enum 36 sw_frame_group_unsupported> This covers type 3
223*5113495bSYour Name 			and protocol version != 0
224*5113495bSYour Name 
225*5113495bSYour Name 
226*5113495bSYour Name 
227*5113495bSYour Name 
228*5113495bSYour Name 
229*5113495bSYour Name 
230*5113495bSYour Name 			<legal 0-37>
231*5113495bSYour Name 
232*5113495bSYour Name reserved_0
233*5113495bSYour Name 
234*5113495bSYour Name 			<legal 0>
235*5113495bSYour Name 
236*5113495bSYour Name phy_ppdu_id
237*5113495bSYour Name 
238*5113495bSYour Name 			A ppdu counter value that PHY increments for every PPDU
239*5113495bSYour Name 			received. The counter value wraps around
240*5113495bSYour Name 
241*5113495bSYour Name 			<legal all>
242*5113495bSYour Name 
243*5113495bSYour Name ip_hdr_chksum
244*5113495bSYour Name 
245*5113495bSYour Name 			This can include the IP header checksum or the pseudo
246*5113495bSYour Name 			header checksum used by TCP/UDP checksum.
247*5113495bSYour Name 
248*5113495bSYour Name 			(with the first byte in the MSB and the second byte in
249*5113495bSYour Name 			the LSB, i.e. requiring a byte-swap for little-endian FW/SW
250*5113495bSYour Name 			w.r.t. the byte order in a packet)
251*5113495bSYour Name 
252*5113495bSYour Name tcp_udp_chksum
253*5113495bSYour Name 
254*5113495bSYour Name 			The value of the computed TCP/UDP checksum.  A mode bit
255*5113495bSYour Name 			selects whether this checksum is the full checksum or the
256*5113495bSYour Name 			partial checksum which does not include the pseudo header.
257*5113495bSYour Name 			(with the first byte in the MSB and the second byte in the
258*5113495bSYour Name 			LSB, i.e. requiring a byte-swap for little-endian FW/SW
259*5113495bSYour Name 			w.r.t. the byte order in a packet)
260*5113495bSYour Name 
261*5113495bSYour Name key_id_octet
262*5113495bSYour Name 
263*5113495bSYour Name 			The key ID octet from the IV.  Only valid when
264*5113495bSYour Name 			first_msdu is set.
265*5113495bSYour Name 
266*5113495bSYour Name cce_super_rule
267*5113495bSYour Name 
268*5113495bSYour Name 			Indicates the super filter rule
269*5113495bSYour Name 
270*5113495bSYour Name cce_classify_not_done_truncate
271*5113495bSYour Name 
272*5113495bSYour Name 			Classification failed due to truncated frame
273*5113495bSYour Name 
274*5113495bSYour Name cce_classify_not_done_cce_dis
275*5113495bSYour Name 
276*5113495bSYour Name 			Classification failed due to CCE global disable
277*5113495bSYour Name 
278*5113495bSYour Name ext_wapi_pn_63_48
279*5113495bSYour Name 
280*5113495bSYour Name 			Extension PN (packet number) which is only used by WAPI.
281*5113495bSYour Name 			This corresponds to WAPI PN bits [63:48] (pn6 and pn7).
282*5113495bSYour Name 			The WAPI PN bits [63:0] are in the pn field of the
283*5113495bSYour Name 			rx_mpdu_start descriptor.
284*5113495bSYour Name 
285*5113495bSYour Name ext_wapi_pn_95_64
286*5113495bSYour Name 
287*5113495bSYour Name 			Extension PN (packet number) which is only used by WAPI.
288*5113495bSYour Name 			This corresponds to WAPI PN bits [95:64] (pn8, pn9, pn10
289*5113495bSYour Name 			and pn11).
290*5113495bSYour Name 
291*5113495bSYour Name ext_wapi_pn_127_96
292*5113495bSYour Name 
293*5113495bSYour Name 			Extension PN (packet number) which is only used by WAPI.
294*5113495bSYour Name 			This corresponds to WAPI PN bits [127:96] (pn12, pn13,
295*5113495bSYour Name 			pn14, pn15).
296*5113495bSYour Name 
297*5113495bSYour Name reported_mpdu_length
298*5113495bSYour Name 
299*5113495bSYour Name 			MPDU length before decapsulation.  Only valid when
300*5113495bSYour Name 			first_msdu is set.  This field is taken directly from the
301*5113495bSYour Name 			length field of the A-MPDU delimiter or the preamble length
302*5113495bSYour Name 			field for non-A-MPDU frames.
303*5113495bSYour Name 
304*5113495bSYour Name first_msdu
305*5113495bSYour Name 
306*5113495bSYour Name 			Indicates the first MSDU of A-MSDU.  If both first_msdu
307*5113495bSYour Name 			and last_msdu are set in the MSDU then this is a
308*5113495bSYour Name 			non-aggregated MSDU frame: normal MPDU.  Interior MSDU in an
309*5113495bSYour Name 			A-MSDU shall have both first_mpdu and last_mpdu bits set to
310*5113495bSYour Name 			0.
311*5113495bSYour Name 
312*5113495bSYour Name last_msdu
313*5113495bSYour Name 
314*5113495bSYour Name 			Indicates the last MSDU of the A-MSDU.  MPDU end status
315*5113495bSYour Name 			is only valid when last_msdu is set.
316*5113495bSYour Name 
317*5113495bSYour Name sa_idx_timeout
318*5113495bSYour Name 
319*5113495bSYour Name 			Indicates an unsuccessful MAC source address search due
320*5113495bSYour Name 			to the expiring of the search timer.
321*5113495bSYour Name 
322*5113495bSYour Name da_idx_timeout
323*5113495bSYour Name 
324*5113495bSYour Name 			Indicates an unsuccessful MAC destination address search
325*5113495bSYour Name 			due to the expiring of the search timer.
326*5113495bSYour Name 
327*5113495bSYour Name msdu_limit_error
328*5113495bSYour Name 
329*5113495bSYour Name 			Indicates that the MSDU threshold was exceeded and thus
330*5113495bSYour Name 			all the rest of the MSDUs will not be scattered and will not
331*5113495bSYour Name 			be decapsulated but will be DMA'ed in RAW format as a single
332*5113495bSYour Name 			MSDU buffer
333*5113495bSYour Name 
334*5113495bSYour Name flow_idx_timeout
335*5113495bSYour Name 
336*5113495bSYour Name 			Indicates an unsuccessful flow search due to the
337*5113495bSYour Name 			expiring of the search timer.
338*5113495bSYour Name 
339*5113495bSYour Name 			<legal all>
340*5113495bSYour Name 
341*5113495bSYour Name flow_idx_invalid
342*5113495bSYour Name 
343*5113495bSYour Name 			flow id is not valid
344*5113495bSYour Name 
345*5113495bSYour Name 			<legal all>
346*5113495bSYour Name 
347*5113495bSYour Name wifi_parser_error
348*5113495bSYour Name 
349*5113495bSYour Name 			Indicates that the WiFi frame has one of the following
350*5113495bSYour Name 			errors
351*5113495bSYour Name 
352*5113495bSYour Name 			o has less than minimum allowed bytes as per standard
353*5113495bSYour Name 
354*5113495bSYour Name 			o has incomplete VLAN LLC/SNAP (only for non A-MSDUs)
355*5113495bSYour Name 
356*5113495bSYour Name 			<legal all>
357*5113495bSYour Name 
358*5113495bSYour Name amsdu_parser_error
359*5113495bSYour Name 
360*5113495bSYour Name 			A-MSDU could not be properly de-agregated.
361*5113495bSYour Name 
362*5113495bSYour Name 			<legal all>
363*5113495bSYour Name 
364*5113495bSYour Name sa_is_valid
365*5113495bSYour Name 
366*5113495bSYour Name 			Indicates that OLE found a valid SA entry
367*5113495bSYour Name 
368*5113495bSYour Name da_is_valid
369*5113495bSYour Name 
370*5113495bSYour Name 			Indicates that OLE found a valid DA entry
371*5113495bSYour Name 
372*5113495bSYour Name da_is_mcbc
373*5113495bSYour Name 
374*5113495bSYour Name 			Field Only valid if da_is_valid is set
375*5113495bSYour Name 
376*5113495bSYour Name 
377*5113495bSYour Name 
378*5113495bSYour Name 			Indicates the DA address was a Multicast of Broadcast
379*5113495bSYour Name 			address.
380*5113495bSYour Name 
381*5113495bSYour Name l3_header_padding
382*5113495bSYour Name 
383*5113495bSYour Name 			Number of bytes padded  to make sure that the L3 header
384*5113495bSYour Name 			will always start of a Dword   boundary
385*5113495bSYour Name 
386*5113495bSYour Name reserved_5a
387*5113495bSYour Name 
388*5113495bSYour Name 			<legal 0>
389*5113495bSYour Name 
390*5113495bSYour Name ipv6_options_crc
391*5113495bSYour Name 
392*5113495bSYour Name 			32 bit CRC computed out of  IP v6 extension headers
393*5113495bSYour Name 
394*5113495bSYour Name tcp_seq_number
395*5113495bSYour Name 
396*5113495bSYour Name 			TCP sequence number (as a number assembled from a TCP
397*5113495bSYour Name 			packet in big-endian order, i.e. requiring a byte-swap for
398*5113495bSYour Name 			little-endian FW/SW w.r.t. the byte order in a packet)
399*5113495bSYour Name 
400*5113495bSYour Name tcp_ack_number
401*5113495bSYour Name 
402*5113495bSYour Name 			TCP acknowledge number (as a number assembled from a TCP
403*5113495bSYour Name 			packet in big-endian order, i.e. requiring a byte-swap for
404*5113495bSYour Name 			little-endian FW/SW w.r.t. the byte order in a packet)
405*5113495bSYour Name 
406*5113495bSYour Name tcp_flag
407*5113495bSYour Name 
408*5113495bSYour Name 			TCP flags
409*5113495bSYour Name 
410*5113495bSYour Name 			{NS,CWR,ECE,URG,ACK,PSH, RST ,SYN,FIN}(with the NS bit
411*5113495bSYour Name 			in bit 8 and the FIN bit in bit 0, i.e. in big-endian order,
412*5113495bSYour Name 			i.e. requiring a byte-swap for little-endian FW/SW w.r.t.
413*5113495bSYour Name 			the byte order in a packet)
414*5113495bSYour Name 
415*5113495bSYour Name lro_eligible
416*5113495bSYour Name 
417*5113495bSYour Name 			Computed out of TCP and IP fields to indicate that this
418*5113495bSYour Name 			MSDU is eligible for  LRO
419*5113495bSYour Name 
420*5113495bSYour Name reserved_9a
421*5113495bSYour Name 
422*5113495bSYour Name 			NOTE: DO not assign a field... Internally used in
423*5113495bSYour Name 			RXOLE..
424*5113495bSYour Name 
425*5113495bSYour Name 			<legal 0>
426*5113495bSYour Name 
427*5113495bSYour Name window_size
428*5113495bSYour Name 
429*5113495bSYour Name 			TCP receive window size (as a number assembled from a
430*5113495bSYour Name 			TCP packet in big-endian order, i.e. requiring a byte-swap
431*5113495bSYour Name 			for little-endian FW/SW w.r.t. the byte order in a packet)
432*5113495bSYour Name 
433*5113495bSYour Name da_offset
434*5113495bSYour Name 
435*5113495bSYour Name 			Offset into MSDU buffer for DA
436*5113495bSYour Name 
437*5113495bSYour Name sa_offset
438*5113495bSYour Name 
439*5113495bSYour Name 			Offset into MSDU buffer for SA
440*5113495bSYour Name 
441*5113495bSYour Name da_offset_valid
442*5113495bSYour Name 
443*5113495bSYour Name 			da_offset field is valid. This will be set to 0 in case
444*5113495bSYour Name 			of a dynamic A-MSDU when DA is compressed
445*5113495bSYour Name 
446*5113495bSYour Name sa_offset_valid
447*5113495bSYour Name 
448*5113495bSYour Name 			sa_offset field is valid. This will be set to 0 in case
449*5113495bSYour Name 			of a dynamic A-MSDU when SA is compressed
450*5113495bSYour Name 
451*5113495bSYour Name reserved_10a
452*5113495bSYour Name 
453*5113495bSYour Name 			<legal 0>
454*5113495bSYour Name 
455*5113495bSYour Name l3_type
456*5113495bSYour Name 
457*5113495bSYour Name 			The 16-bit type value indicating the type of L3 later
458*5113495bSYour Name 			extracted from LLC/SNAP, set to zero if SNAP is not
459*5113495bSYour Name 			available
460*5113495bSYour Name 
461*5113495bSYour Name rule_indication_31_0
462*5113495bSYour Name 
463*5113495bSYour Name 			Bitmap indicating which of rules 31-0 have matched
464*5113495bSYour Name 
465*5113495bSYour Name rule_indication_63_32
466*5113495bSYour Name 
467*5113495bSYour Name 			Bitmap indicating which of rules 63-32 have matched
468*5113495bSYour Name 
469*5113495bSYour Name sa_idx
470*5113495bSYour Name 
471*5113495bSYour Name 			The offset in the address table which matches the MAC
472*5113495bSYour Name 			source address.
473*5113495bSYour Name 
474*5113495bSYour Name da_idx_or_sw_peer_id
475*5113495bSYour Name 
476*5113495bSYour Name 			Based on a register configuration in RXOLE, this field
477*5113495bSYour Name 			will contain:
478*5113495bSYour Name 
479*5113495bSYour Name 
480*5113495bSYour Name 
481*5113495bSYour Name 			The offset in the address table which matches the
482*5113495bSYour Name 			destination address
483*5113495bSYour Name 
484*5113495bSYour Name 			OR
485*5113495bSYour Name 
486*5113495bSYour Name 			Sw_peer_id from the address search entry corresponding
487*5113495bSYour Name 			to the DA of the MSDU
488*5113495bSYour Name 
489*5113495bSYour Name msdu_drop
490*5113495bSYour Name 
491*5113495bSYour Name 			When set, REO shall drop this MSDU and not forward it to
492*5113495bSYour Name 			any other ring...
493*5113495bSYour Name 
494*5113495bSYour Name 			<legal all>
495*5113495bSYour Name 
496*5113495bSYour Name reo_destination_indication
497*5113495bSYour Name 
498*5113495bSYour Name 			The ID of the REO exit ring where the MSDU frame shall
499*5113495bSYour Name 			push after (MPDU level) reordering has finished.
500*5113495bSYour Name 
501*5113495bSYour Name 
502*5113495bSYour Name 
503*5113495bSYour Name 			<enum 0 reo_destination_tcl> Reo will push the frame
504*5113495bSYour Name 			into the REO2TCL ring
505*5113495bSYour Name 
506*5113495bSYour Name 			<enum 1 reo_destination_sw1> Reo will push the frame
507*5113495bSYour Name 			into the REO2SW1 ring
508*5113495bSYour Name 
509*5113495bSYour Name 			<enum 2 reo_destination_sw2> Reo will push the frame
510*5113495bSYour Name 			into the REO2SW1 ring
511*5113495bSYour Name 
512*5113495bSYour Name 			<enum 3 reo_destination_sw3> Reo will push the frame
513*5113495bSYour Name 			into the REO2SW1 ring
514*5113495bSYour Name 
515*5113495bSYour Name 			<enum 4 reo_destination_sw4> Reo will push the frame
516*5113495bSYour Name 			into the REO2SW1 ring
517*5113495bSYour Name 
518*5113495bSYour Name 			<enum 5 reo_destination_release> Reo will push the frame
519*5113495bSYour Name 			into the REO_release ring
520*5113495bSYour Name 
521*5113495bSYour Name 			<enum 6 reo_destination_fw> Reo will push the frame into
522*5113495bSYour Name 			the REO2FW ring
523*5113495bSYour Name 
524*5113495bSYour Name 			<enum 7 reo_destination_7> REO remaps this
525*5113495bSYour Name 
526*5113495bSYour Name 			<enum 8 reo_destination_8> REO remaps this <enum 9
527*5113495bSYour Name 			reo_destination_9> REO remaps this <enum 10
528*5113495bSYour Name 			reo_destination_10> REO remaps this
529*5113495bSYour Name 
530*5113495bSYour Name 			<enum 11 reo_destination_11> REO remaps this
531*5113495bSYour Name 
532*5113495bSYour Name 			<enum 12 reo_destination_12> REO remaps this <enum 13
533*5113495bSYour Name 			reo_destination_13> REO remaps this
534*5113495bSYour Name 
535*5113495bSYour Name 			<enum 14 reo_destination_14> REO remaps this
536*5113495bSYour Name 
537*5113495bSYour Name 			<enum 15 reo_destination_15> REO remaps this
538*5113495bSYour Name 
539*5113495bSYour Name 			<enum 16 reo_destination_16> REO remaps this
540*5113495bSYour Name 
541*5113495bSYour Name 			<enum 17 reo_destination_17> REO remaps this
542*5113495bSYour Name 
543*5113495bSYour Name 			<enum 18 reo_destination_18> REO remaps this
544*5113495bSYour Name 
545*5113495bSYour Name 			<enum 19 reo_destination_19> REO remaps this
546*5113495bSYour Name 
547*5113495bSYour Name 			<enum 20 reo_destination_20> REO remaps this
548*5113495bSYour Name 
549*5113495bSYour Name 			<enum 21 reo_destination_21> REO remaps this
550*5113495bSYour Name 
551*5113495bSYour Name 			<enum 22 reo_destination_22> REO remaps this
552*5113495bSYour Name 
553*5113495bSYour Name 			<enum 23 reo_destination_23> REO remaps this
554*5113495bSYour Name 
555*5113495bSYour Name 			<enum 24 reo_destination_24> REO remaps this
556*5113495bSYour Name 
557*5113495bSYour Name 			<enum 25 reo_destination_25> REO remaps this
558*5113495bSYour Name 
559*5113495bSYour Name 			<enum 26 reo_destination_26> REO remaps this
560*5113495bSYour Name 
561*5113495bSYour Name 			<enum 27 reo_destination_27> REO remaps this
562*5113495bSYour Name 
563*5113495bSYour Name 			<enum 28 reo_destination_28> REO remaps this
564*5113495bSYour Name 
565*5113495bSYour Name 			<enum 29 reo_destination_29> REO remaps this
566*5113495bSYour Name 
567*5113495bSYour Name 			<enum 30 reo_destination_30> REO remaps this
568*5113495bSYour Name 
569*5113495bSYour Name 			<enum 31 reo_destination_31> REO remaps this
570*5113495bSYour Name 
571*5113495bSYour Name 
572*5113495bSYour Name 
573*5113495bSYour Name 			<legal all>
574*5113495bSYour Name 
575*5113495bSYour Name flow_idx
576*5113495bSYour Name 
577*5113495bSYour Name 			Flow table index
578*5113495bSYour Name 
579*5113495bSYour Name 			<legal all>
580*5113495bSYour Name 
581*5113495bSYour Name reserved_14
582*5113495bSYour Name 
583*5113495bSYour Name 			<legal 0>
584*5113495bSYour Name 
585*5113495bSYour Name fse_metadata
586*5113495bSYour Name 
587*5113495bSYour Name 			FSE related meta data:
588*5113495bSYour Name 
589*5113495bSYour Name 			<legal all>
590*5113495bSYour Name 
591*5113495bSYour Name cce_metadata
592*5113495bSYour Name 
593*5113495bSYour Name 			CCE related meta data:
594*5113495bSYour Name 
595*5113495bSYour Name 			<legal all>
596*5113495bSYour Name 
597*5113495bSYour Name sa_sw_peer_id
598*5113495bSYour Name 
599*5113495bSYour Name 			sw_peer_id from the address search entry corresponding
600*5113495bSYour Name 			to the source address of the MSDU
601*5113495bSYour Name 
602*5113495bSYour Name 			<legal 0>
603*5113495bSYour Name */
604*5113495bSYour Name 
605*5113495bSYour Name 
606*5113495bSYour Name /* Description		RX_MSDU_END_0_RXPCU_MPDU_FILTER_IN_CATEGORY
607*5113495bSYour Name 
608*5113495bSYour Name 			Field indicates what the reason was that this MPDU frame
609*5113495bSYour Name 			was allowed to come into the receive path by RXPCU
610*5113495bSYour Name 
611*5113495bSYour Name 			<enum 0 rxpcu_filter_pass> This MPDU passed the normal
612*5113495bSYour Name 			frame filter programming of rxpcu
613*5113495bSYour Name 
614*5113495bSYour Name 			<enum 1 rxpcu_monitor_client> This MPDU did NOT pass the
615*5113495bSYour Name 			regular frame filter and would have been dropped, were it
616*5113495bSYour Name 			not for the frame fitting into the 'monitor_client'
617*5113495bSYour Name 			category.
618*5113495bSYour Name 
619*5113495bSYour Name 			<enum 2 rxpcu_monitor_other> This MPDU did NOT pass the
620*5113495bSYour Name 			regular frame filter and also did not pass the
621*5113495bSYour Name 			rxpcu_monitor_client filter. It would have been dropped
622*5113495bSYour Name 			accept that it did pass the 'monitor_other' category.
623*5113495bSYour Name 
624*5113495bSYour Name 			<legal 0-2>
625*5113495bSYour Name */
626*5113495bSYour Name #define RX_MSDU_END_0_RXPCU_MPDU_FILTER_IN_CATEGORY_OFFSET           0x00000000
627*5113495bSYour Name #define RX_MSDU_END_0_RXPCU_MPDU_FILTER_IN_CATEGORY_LSB              0
628*5113495bSYour Name #define RX_MSDU_END_0_RXPCU_MPDU_FILTER_IN_CATEGORY_MASK             0x00000003
629*5113495bSYour Name 
630*5113495bSYour Name /* Description		RX_MSDU_END_0_SW_FRAME_GROUP_ID
631*5113495bSYour Name 
632*5113495bSYour Name 			SW processes frames based on certain classifications.
633*5113495bSYour Name 			This field indicates to what sw classification this MPDU is
634*5113495bSYour Name 			mapped.
635*5113495bSYour Name 
636*5113495bSYour Name 			The classification is given in priority order
637*5113495bSYour Name 
638*5113495bSYour Name 
639*5113495bSYour Name 
640*5113495bSYour Name 			<enum 0 sw_frame_group_NDP_frame>
641*5113495bSYour Name 
642*5113495bSYour Name 
643*5113495bSYour Name 
644*5113495bSYour Name 			<enum 1 sw_frame_group_Multicast_data>
645*5113495bSYour Name 
646*5113495bSYour Name 			<enum 2 sw_frame_group_Unicast_data>
647*5113495bSYour Name 
648*5113495bSYour Name 			<enum 3 sw_frame_group_Null_data > This includes mpdus
649*5113495bSYour Name 			of type Data Null as well as QoS Data Null
650*5113495bSYour Name 
651*5113495bSYour Name 
652*5113495bSYour Name 
653*5113495bSYour Name 			<enum 4 sw_frame_group_mgmt_0000 >
654*5113495bSYour Name 
655*5113495bSYour Name 			<enum 5 sw_frame_group_mgmt_0001 >
656*5113495bSYour Name 
657*5113495bSYour Name 			<enum 6 sw_frame_group_mgmt_0010 >
658*5113495bSYour Name 
659*5113495bSYour Name 			<enum 7 sw_frame_group_mgmt_0011 >
660*5113495bSYour Name 
661*5113495bSYour Name 			<enum 8 sw_frame_group_mgmt_0100 >
662*5113495bSYour Name 
663*5113495bSYour Name 			<enum 9 sw_frame_group_mgmt_0101 >
664*5113495bSYour Name 
665*5113495bSYour Name 			<enum 10 sw_frame_group_mgmt_0110 >
666*5113495bSYour Name 
667*5113495bSYour Name 			<enum 11 sw_frame_group_mgmt_0111 >
668*5113495bSYour Name 
669*5113495bSYour Name 			<enum 12 sw_frame_group_mgmt_1000 >
670*5113495bSYour Name 
671*5113495bSYour Name 			<enum 13 sw_frame_group_mgmt_1001 >
672*5113495bSYour Name 
673*5113495bSYour Name 			<enum 14 sw_frame_group_mgmt_1010 >
674*5113495bSYour Name 
675*5113495bSYour Name 			<enum 15 sw_frame_group_mgmt_1011 >
676*5113495bSYour Name 
677*5113495bSYour Name 			<enum 16 sw_frame_group_mgmt_1100 >
678*5113495bSYour Name 
679*5113495bSYour Name 			<enum 17 sw_frame_group_mgmt_1101 >
680*5113495bSYour Name 
681*5113495bSYour Name 			<enum 18 sw_frame_group_mgmt_1110 >
682*5113495bSYour Name 
683*5113495bSYour Name 			<enum 19 sw_frame_group_mgmt_1111 >
684*5113495bSYour Name 
685*5113495bSYour Name 
686*5113495bSYour Name 
687*5113495bSYour Name 			<enum 20 sw_frame_group_ctrl_0000 >
688*5113495bSYour Name 
689*5113495bSYour Name 			<enum 21 sw_frame_group_ctrl_0001 >
690*5113495bSYour Name 
691*5113495bSYour Name 			<enum 22 sw_frame_group_ctrl_0010 >
692*5113495bSYour Name 
693*5113495bSYour Name 			<enum 23 sw_frame_group_ctrl_0011 >
694*5113495bSYour Name 
695*5113495bSYour Name 			<enum 24 sw_frame_group_ctrl_0100 >
696*5113495bSYour Name 
697*5113495bSYour Name 			<enum 25 sw_frame_group_ctrl_0101 >
698*5113495bSYour Name 
699*5113495bSYour Name 			<enum 26 sw_frame_group_ctrl_0110 >
700*5113495bSYour Name 
701*5113495bSYour Name 			<enum 27 sw_frame_group_ctrl_0111 >
702*5113495bSYour Name 
703*5113495bSYour Name 			<enum 28 sw_frame_group_ctrl_1000 >
704*5113495bSYour Name 
705*5113495bSYour Name 			<enum 29 sw_frame_group_ctrl_1001 >
706*5113495bSYour Name 
707*5113495bSYour Name 			<enum 30 sw_frame_group_ctrl_1010 >
708*5113495bSYour Name 
709*5113495bSYour Name 			<enum 31 sw_frame_group_ctrl_1011 >
710*5113495bSYour Name 
711*5113495bSYour Name 			<enum 32 sw_frame_group_ctrl_1100 >
712*5113495bSYour Name 
713*5113495bSYour Name 			<enum 33 sw_frame_group_ctrl_1101 >
714*5113495bSYour Name 
715*5113495bSYour Name 			<enum 34 sw_frame_group_ctrl_1110 >
716*5113495bSYour Name 
717*5113495bSYour Name 			<enum 35 sw_frame_group_ctrl_1111 >
718*5113495bSYour Name 
719*5113495bSYour Name 
720*5113495bSYour Name 
721*5113495bSYour Name 			<enum 36 sw_frame_group_unsupported> This covers type 3
722*5113495bSYour Name 			and protocol version != 0
723*5113495bSYour Name 
724*5113495bSYour Name 
725*5113495bSYour Name 
726*5113495bSYour Name 
727*5113495bSYour Name 
728*5113495bSYour Name 
729*5113495bSYour Name 			<legal 0-37>
730*5113495bSYour Name */
731*5113495bSYour Name #define RX_MSDU_END_0_SW_FRAME_GROUP_ID_OFFSET                       0x00000000
732*5113495bSYour Name #define RX_MSDU_END_0_SW_FRAME_GROUP_ID_LSB                          2
733*5113495bSYour Name #define RX_MSDU_END_0_SW_FRAME_GROUP_ID_MASK                         0x000001fc
734*5113495bSYour Name 
735*5113495bSYour Name /* Description		RX_MSDU_END_0_RESERVED_0
736*5113495bSYour Name 
737*5113495bSYour Name 			<legal 0>
738*5113495bSYour Name */
739*5113495bSYour Name #define RX_MSDU_END_0_RESERVED_0_OFFSET                              0x00000000
740*5113495bSYour Name #define RX_MSDU_END_0_RESERVED_0_LSB                                 9
741*5113495bSYour Name #define RX_MSDU_END_0_RESERVED_0_MASK                                0x0000fe00
742*5113495bSYour Name 
743*5113495bSYour Name /* Description		RX_MSDU_END_0_PHY_PPDU_ID
744*5113495bSYour Name 
745*5113495bSYour Name 			A ppdu counter value that PHY increments for every PPDU
746*5113495bSYour Name 			received. The counter value wraps around
747*5113495bSYour Name 
748*5113495bSYour Name 			<legal all>
749*5113495bSYour Name */
750*5113495bSYour Name #define RX_MSDU_END_0_PHY_PPDU_ID_OFFSET                             0x00000000
751*5113495bSYour Name #define RX_MSDU_END_0_PHY_PPDU_ID_LSB                                16
752*5113495bSYour Name #define RX_MSDU_END_0_PHY_PPDU_ID_MASK                               0xffff0000
753*5113495bSYour Name 
754*5113495bSYour Name /* Description		RX_MSDU_END_1_IP_HDR_CHKSUM
755*5113495bSYour Name 
756*5113495bSYour Name 			This can include the IP header checksum or the pseudo
757*5113495bSYour Name 			header checksum used by TCP/UDP checksum.
758*5113495bSYour Name 
759*5113495bSYour Name 			(with the first byte in the MSB and the second byte in
760*5113495bSYour Name 			the LSB, i.e. requiring a byte-swap for little-endian FW/SW
761*5113495bSYour Name 			w.r.t. the byte order in a packet)
762*5113495bSYour Name */
763*5113495bSYour Name #define RX_MSDU_END_1_IP_HDR_CHKSUM_OFFSET                           0x00000004
764*5113495bSYour Name #define RX_MSDU_END_1_IP_HDR_CHKSUM_LSB                              0
765*5113495bSYour Name #define RX_MSDU_END_1_IP_HDR_CHKSUM_MASK                             0x0000ffff
766*5113495bSYour Name 
767*5113495bSYour Name /* Description		RX_MSDU_END_1_TCP_UDP_CHKSUM
768*5113495bSYour Name 
769*5113495bSYour Name 			The value of the computed TCP/UDP checksum.  A mode bit
770*5113495bSYour Name 			selects whether this checksum is the full checksum or the
771*5113495bSYour Name 			partial checksum which does not include the pseudo header.
772*5113495bSYour Name 			(with the first byte in the MSB and the second byte in the
773*5113495bSYour Name 			LSB, i.e. requiring a byte-swap for little-endian FW/SW
774*5113495bSYour Name 			w.r.t. the byte order in a packet)
775*5113495bSYour Name */
776*5113495bSYour Name #define RX_MSDU_END_1_TCP_UDP_CHKSUM_OFFSET                          0x00000004
777*5113495bSYour Name #define RX_MSDU_END_1_TCP_UDP_CHKSUM_LSB                             16
778*5113495bSYour Name #define RX_MSDU_END_1_TCP_UDP_CHKSUM_MASK                            0xffff0000
779*5113495bSYour Name 
780*5113495bSYour Name /* Description		RX_MSDU_END_2_KEY_ID_OCTET
781*5113495bSYour Name 
782*5113495bSYour Name 			The key ID octet from the IV.  Only valid when
783*5113495bSYour Name 			first_msdu is set.
784*5113495bSYour Name */
785*5113495bSYour Name #define RX_MSDU_END_2_KEY_ID_OCTET_OFFSET                            0x00000008
786*5113495bSYour Name #define RX_MSDU_END_2_KEY_ID_OCTET_LSB                               0
787*5113495bSYour Name #define RX_MSDU_END_2_KEY_ID_OCTET_MASK                              0x000000ff
788*5113495bSYour Name 
789*5113495bSYour Name /* Description		RX_MSDU_END_2_CCE_SUPER_RULE
790*5113495bSYour Name 
791*5113495bSYour Name 			Indicates the super filter rule
792*5113495bSYour Name */
793*5113495bSYour Name #define RX_MSDU_END_2_CCE_SUPER_RULE_OFFSET                          0x00000008
794*5113495bSYour Name #define RX_MSDU_END_2_CCE_SUPER_RULE_LSB                             8
795*5113495bSYour Name #define RX_MSDU_END_2_CCE_SUPER_RULE_MASK                            0x00003f00
796*5113495bSYour Name 
797*5113495bSYour Name /* Description		RX_MSDU_END_2_CCE_CLASSIFY_NOT_DONE_TRUNCATE
798*5113495bSYour Name 
799*5113495bSYour Name 			Classification failed due to truncated frame
800*5113495bSYour Name */
801*5113495bSYour Name #define RX_MSDU_END_2_CCE_CLASSIFY_NOT_DONE_TRUNCATE_OFFSET          0x00000008
802*5113495bSYour Name #define RX_MSDU_END_2_CCE_CLASSIFY_NOT_DONE_TRUNCATE_LSB             14
803*5113495bSYour Name #define RX_MSDU_END_2_CCE_CLASSIFY_NOT_DONE_TRUNCATE_MASK            0x00004000
804*5113495bSYour Name 
805*5113495bSYour Name /* Description		RX_MSDU_END_2_CCE_CLASSIFY_NOT_DONE_CCE_DIS
806*5113495bSYour Name 
807*5113495bSYour Name 			Classification failed due to CCE global disable
808*5113495bSYour Name */
809*5113495bSYour Name #define RX_MSDU_END_2_CCE_CLASSIFY_NOT_DONE_CCE_DIS_OFFSET           0x00000008
810*5113495bSYour Name #define RX_MSDU_END_2_CCE_CLASSIFY_NOT_DONE_CCE_DIS_LSB              15
811*5113495bSYour Name #define RX_MSDU_END_2_CCE_CLASSIFY_NOT_DONE_CCE_DIS_MASK             0x00008000
812*5113495bSYour Name 
813*5113495bSYour Name /* Description		RX_MSDU_END_2_EXT_WAPI_PN_63_48
814*5113495bSYour Name 
815*5113495bSYour Name 			Extension PN (packet number) which is only used by WAPI.
816*5113495bSYour Name 			This corresponds to WAPI PN bits [63:48] (pn6 and pn7).
817*5113495bSYour Name 			The WAPI PN bits [63:0] are in the pn field of the
818*5113495bSYour Name 			rx_mpdu_start descriptor.
819*5113495bSYour Name */
820*5113495bSYour Name #define RX_MSDU_END_2_EXT_WAPI_PN_63_48_OFFSET                       0x00000008
821*5113495bSYour Name #define RX_MSDU_END_2_EXT_WAPI_PN_63_48_LSB                          16
822*5113495bSYour Name #define RX_MSDU_END_2_EXT_WAPI_PN_63_48_MASK                         0xffff0000
823*5113495bSYour Name 
824*5113495bSYour Name /* Description		RX_MSDU_END_3_EXT_WAPI_PN_95_64
825*5113495bSYour Name 
826*5113495bSYour Name 			Extension PN (packet number) which is only used by WAPI.
827*5113495bSYour Name 			This corresponds to WAPI PN bits [95:64] (pn8, pn9, pn10
828*5113495bSYour Name 			and pn11).
829*5113495bSYour Name */
830*5113495bSYour Name #define RX_MSDU_END_3_EXT_WAPI_PN_95_64_OFFSET                       0x0000000c
831*5113495bSYour Name #define RX_MSDU_END_3_EXT_WAPI_PN_95_64_LSB                          0
832*5113495bSYour Name #define RX_MSDU_END_3_EXT_WAPI_PN_95_64_MASK                         0xffffffff
833*5113495bSYour Name 
834*5113495bSYour Name /* Description		RX_MSDU_END_4_EXT_WAPI_PN_127_96
835*5113495bSYour Name 
836*5113495bSYour Name 			Extension PN (packet number) which is only used by WAPI.
837*5113495bSYour Name 			This corresponds to WAPI PN bits [127:96] (pn12, pn13,
838*5113495bSYour Name 			pn14, pn15).
839*5113495bSYour Name */
840*5113495bSYour Name #define RX_MSDU_END_4_EXT_WAPI_PN_127_96_OFFSET                      0x00000010
841*5113495bSYour Name #define RX_MSDU_END_4_EXT_WAPI_PN_127_96_LSB                         0
842*5113495bSYour Name #define RX_MSDU_END_4_EXT_WAPI_PN_127_96_MASK                        0xffffffff
843*5113495bSYour Name 
844*5113495bSYour Name /* Description		RX_MSDU_END_5_REPORTED_MPDU_LENGTH
845*5113495bSYour Name 
846*5113495bSYour Name 			MPDU length before decapsulation.  Only valid when
847*5113495bSYour Name 			first_msdu is set.  This field is taken directly from the
848*5113495bSYour Name 			length field of the A-MPDU delimiter or the preamble length
849*5113495bSYour Name 			field for non-A-MPDU frames.
850*5113495bSYour Name */
851*5113495bSYour Name #define RX_MSDU_END_5_REPORTED_MPDU_LENGTH_OFFSET                    0x00000014
852*5113495bSYour Name #define RX_MSDU_END_5_REPORTED_MPDU_LENGTH_LSB                       0
853*5113495bSYour Name #define RX_MSDU_END_5_REPORTED_MPDU_LENGTH_MASK                      0x00003fff
854*5113495bSYour Name 
855*5113495bSYour Name /* Description		RX_MSDU_END_5_FIRST_MSDU
856*5113495bSYour Name 
857*5113495bSYour Name 			Indicates the first MSDU of A-MSDU.  If both first_msdu
858*5113495bSYour Name 			and last_msdu are set in the MSDU then this is a
859*5113495bSYour Name 			non-aggregated MSDU frame: normal MPDU.  Interior MSDU in an
860*5113495bSYour Name 			A-MSDU shall have both first_mpdu and last_mpdu bits set to
861*5113495bSYour Name 			0.
862*5113495bSYour Name */
863*5113495bSYour Name #define RX_MSDU_END_5_FIRST_MSDU_OFFSET                              0x00000014
864*5113495bSYour Name #define RX_MSDU_END_5_FIRST_MSDU_LSB                                 14
865*5113495bSYour Name #define RX_MSDU_END_5_FIRST_MSDU_MASK                                0x00004000
866*5113495bSYour Name 
867*5113495bSYour Name /* Description		RX_MSDU_END_5_LAST_MSDU
868*5113495bSYour Name 
869*5113495bSYour Name 			Indicates the last MSDU of the A-MSDU.  MPDU end status
870*5113495bSYour Name 			is only valid when last_msdu is set.
871*5113495bSYour Name */
872*5113495bSYour Name #define RX_MSDU_END_5_LAST_MSDU_OFFSET                               0x00000014
873*5113495bSYour Name #define RX_MSDU_END_5_LAST_MSDU_LSB                                  15
874*5113495bSYour Name #define RX_MSDU_END_5_LAST_MSDU_MASK                                 0x00008000
875*5113495bSYour Name 
876*5113495bSYour Name /* Description		RX_MSDU_END_5_SA_IDX_TIMEOUT
877*5113495bSYour Name 
878*5113495bSYour Name 			Indicates an unsuccessful MAC source address search due
879*5113495bSYour Name 			to the expiring of the search timer.
880*5113495bSYour Name */
881*5113495bSYour Name #define RX_MSDU_END_5_SA_IDX_TIMEOUT_OFFSET                          0x00000014
882*5113495bSYour Name #define RX_MSDU_END_5_SA_IDX_TIMEOUT_LSB                             16
883*5113495bSYour Name #define RX_MSDU_END_5_SA_IDX_TIMEOUT_MASK                            0x00010000
884*5113495bSYour Name 
885*5113495bSYour Name /* Description		RX_MSDU_END_5_DA_IDX_TIMEOUT
886*5113495bSYour Name 
887*5113495bSYour Name 			Indicates an unsuccessful MAC destination address search
888*5113495bSYour Name 			due to the expiring of the search timer.
889*5113495bSYour Name */
890*5113495bSYour Name #define RX_MSDU_END_5_DA_IDX_TIMEOUT_OFFSET                          0x00000014
891*5113495bSYour Name #define RX_MSDU_END_5_DA_IDX_TIMEOUT_LSB                             17
892*5113495bSYour Name #define RX_MSDU_END_5_DA_IDX_TIMEOUT_MASK                            0x00020000
893*5113495bSYour Name 
894*5113495bSYour Name /* Description		RX_MSDU_END_5_MSDU_LIMIT_ERROR
895*5113495bSYour Name 
896*5113495bSYour Name 			Indicates that the MSDU threshold was exceeded and thus
897*5113495bSYour Name 			all the rest of the MSDUs will not be scattered and will not
898*5113495bSYour Name 			be decapsulated but will be DMA'ed in RAW format as a single
899*5113495bSYour Name 			MSDU buffer
900*5113495bSYour Name */
901*5113495bSYour Name #define RX_MSDU_END_5_MSDU_LIMIT_ERROR_OFFSET                        0x00000014
902*5113495bSYour Name #define RX_MSDU_END_5_MSDU_LIMIT_ERROR_LSB                           18
903*5113495bSYour Name #define RX_MSDU_END_5_MSDU_LIMIT_ERROR_MASK                          0x00040000
904*5113495bSYour Name 
905*5113495bSYour Name /* Description		RX_MSDU_END_5_FLOW_IDX_TIMEOUT
906*5113495bSYour Name 
907*5113495bSYour Name 			Indicates an unsuccessful flow search due to the
908*5113495bSYour Name 			expiring of the search timer.
909*5113495bSYour Name 
910*5113495bSYour Name 			<legal all>
911*5113495bSYour Name */
912*5113495bSYour Name #define RX_MSDU_END_5_FLOW_IDX_TIMEOUT_OFFSET                        0x00000014
913*5113495bSYour Name #define RX_MSDU_END_5_FLOW_IDX_TIMEOUT_LSB                           19
914*5113495bSYour Name #define RX_MSDU_END_5_FLOW_IDX_TIMEOUT_MASK                          0x00080000
915*5113495bSYour Name 
916*5113495bSYour Name /* Description		RX_MSDU_END_5_FLOW_IDX_INVALID
917*5113495bSYour Name 
918*5113495bSYour Name 			flow id is not valid
919*5113495bSYour Name 
920*5113495bSYour Name 			<legal all>
921*5113495bSYour Name */
922*5113495bSYour Name #define RX_MSDU_END_5_FLOW_IDX_INVALID_OFFSET                        0x00000014
923*5113495bSYour Name #define RX_MSDU_END_5_FLOW_IDX_INVALID_LSB                           20
924*5113495bSYour Name #define RX_MSDU_END_5_FLOW_IDX_INVALID_MASK                          0x00100000
925*5113495bSYour Name 
926*5113495bSYour Name /* Description		RX_MSDU_END_5_WIFI_PARSER_ERROR
927*5113495bSYour Name 
928*5113495bSYour Name 			Indicates that the WiFi frame has one of the following
929*5113495bSYour Name 			errors
930*5113495bSYour Name 
931*5113495bSYour Name 			o has less than minimum allowed bytes as per standard
932*5113495bSYour Name 
933*5113495bSYour Name 			o has incomplete VLAN LLC/SNAP (only for non A-MSDUs)
934*5113495bSYour Name 
935*5113495bSYour Name 			<legal all>
936*5113495bSYour Name */
937*5113495bSYour Name #define RX_MSDU_END_5_WIFI_PARSER_ERROR_OFFSET                       0x00000014
938*5113495bSYour Name #define RX_MSDU_END_5_WIFI_PARSER_ERROR_LSB                          21
939*5113495bSYour Name #define RX_MSDU_END_5_WIFI_PARSER_ERROR_MASK                         0x00200000
940*5113495bSYour Name 
941*5113495bSYour Name /* Description		RX_MSDU_END_5_AMSDU_PARSER_ERROR
942*5113495bSYour Name 
943*5113495bSYour Name 			A-MSDU could not be properly de-agregated.
944*5113495bSYour Name 
945*5113495bSYour Name 			<legal all>
946*5113495bSYour Name */
947*5113495bSYour Name #define RX_MSDU_END_5_AMSDU_PARSER_ERROR_OFFSET                      0x00000014
948*5113495bSYour Name #define RX_MSDU_END_5_AMSDU_PARSER_ERROR_LSB                         22
949*5113495bSYour Name #define RX_MSDU_END_5_AMSDU_PARSER_ERROR_MASK                        0x00400000
950*5113495bSYour Name 
951*5113495bSYour Name /* Description		RX_MSDU_END_5_SA_IS_VALID
952*5113495bSYour Name 
953*5113495bSYour Name 			Indicates that OLE found a valid SA entry
954*5113495bSYour Name */
955*5113495bSYour Name #define RX_MSDU_END_5_SA_IS_VALID_OFFSET                             0x00000014
956*5113495bSYour Name #define RX_MSDU_END_5_SA_IS_VALID_LSB                                23
957*5113495bSYour Name #define RX_MSDU_END_5_SA_IS_VALID_MASK                               0x00800000
958*5113495bSYour Name 
959*5113495bSYour Name /* Description		RX_MSDU_END_5_DA_IS_VALID
960*5113495bSYour Name 
961*5113495bSYour Name 			Indicates that OLE found a valid DA entry
962*5113495bSYour Name */
963*5113495bSYour Name #define RX_MSDU_END_5_DA_IS_VALID_OFFSET                             0x00000014
964*5113495bSYour Name #define RX_MSDU_END_5_DA_IS_VALID_LSB                                24
965*5113495bSYour Name #define RX_MSDU_END_5_DA_IS_VALID_MASK                               0x01000000
966*5113495bSYour Name 
967*5113495bSYour Name /* Description		RX_MSDU_END_5_DA_IS_MCBC
968*5113495bSYour Name 
969*5113495bSYour Name 			Field Only valid if da_is_valid is set
970*5113495bSYour Name 
971*5113495bSYour Name 
972*5113495bSYour Name 
973*5113495bSYour Name 			Indicates the DA address was a Multicast of Broadcast
974*5113495bSYour Name 			address.
975*5113495bSYour Name */
976*5113495bSYour Name #define RX_MSDU_END_5_DA_IS_MCBC_OFFSET                              0x00000014
977*5113495bSYour Name #define RX_MSDU_END_5_DA_IS_MCBC_LSB                                 25
978*5113495bSYour Name #define RX_MSDU_END_5_DA_IS_MCBC_MASK                                0x02000000
979*5113495bSYour Name 
980*5113495bSYour Name /* Description		RX_MSDU_END_5_L3_HEADER_PADDING
981*5113495bSYour Name 
982*5113495bSYour Name 			Number of bytes padded  to make sure that the L3 header
983*5113495bSYour Name 			will always start of a Dword   boundary
984*5113495bSYour Name */
985*5113495bSYour Name #define RX_MSDU_END_5_L3_HEADER_PADDING_OFFSET                       0x00000014
986*5113495bSYour Name #define RX_MSDU_END_5_L3_HEADER_PADDING_LSB                          26
987*5113495bSYour Name #define RX_MSDU_END_5_L3_HEADER_PADDING_MASK                         0x0c000000
988*5113495bSYour Name 
989*5113495bSYour Name /* Description		RX_MSDU_END_5_RESERVED_5A
990*5113495bSYour Name 
991*5113495bSYour Name 			<legal 0>
992*5113495bSYour Name */
993*5113495bSYour Name #define RX_MSDU_END_5_RESERVED_5A_OFFSET                             0x00000014
994*5113495bSYour Name #define RX_MSDU_END_5_RESERVED_5A_LSB                                28
995*5113495bSYour Name #define RX_MSDU_END_5_RESERVED_5A_MASK                               0xf0000000
996*5113495bSYour Name 
997*5113495bSYour Name /* Description		RX_MSDU_END_6_IPV6_OPTIONS_CRC
998*5113495bSYour Name 
999*5113495bSYour Name 			32 bit CRC computed out of  IP v6 extension headers
1000*5113495bSYour Name */
1001*5113495bSYour Name #define RX_MSDU_END_6_IPV6_OPTIONS_CRC_OFFSET                        0x00000018
1002*5113495bSYour Name #define RX_MSDU_END_6_IPV6_OPTIONS_CRC_LSB                           0
1003*5113495bSYour Name #define RX_MSDU_END_6_IPV6_OPTIONS_CRC_MASK                          0xffffffff
1004*5113495bSYour Name 
1005*5113495bSYour Name /* Description		RX_MSDU_END_7_TCP_SEQ_NUMBER
1006*5113495bSYour Name 
1007*5113495bSYour Name 			TCP sequence number (as a number assembled from a TCP
1008*5113495bSYour Name 			packet in big-endian order, i.e. requiring a byte-swap for
1009*5113495bSYour Name 			little-endian FW/SW w.r.t. the byte order in a packet)
1010*5113495bSYour Name */
1011*5113495bSYour Name #define RX_MSDU_END_7_TCP_SEQ_NUMBER_OFFSET                          0x0000001c
1012*5113495bSYour Name #define RX_MSDU_END_7_TCP_SEQ_NUMBER_LSB                             0
1013*5113495bSYour Name #define RX_MSDU_END_7_TCP_SEQ_NUMBER_MASK                            0xffffffff
1014*5113495bSYour Name 
1015*5113495bSYour Name /* Description		RX_MSDU_END_8_TCP_ACK_NUMBER
1016*5113495bSYour Name 
1017*5113495bSYour Name 			TCP acknowledge number (as a number assembled from a TCP
1018*5113495bSYour Name 			packet in big-endian order, i.e. requiring a byte-swap for
1019*5113495bSYour Name 			little-endian FW/SW w.r.t. the byte order in a packet)
1020*5113495bSYour Name */
1021*5113495bSYour Name #define RX_MSDU_END_8_TCP_ACK_NUMBER_OFFSET                          0x00000020
1022*5113495bSYour Name #define RX_MSDU_END_8_TCP_ACK_NUMBER_LSB                             0
1023*5113495bSYour Name #define RX_MSDU_END_8_TCP_ACK_NUMBER_MASK                            0xffffffff
1024*5113495bSYour Name 
1025*5113495bSYour Name /* Description		RX_MSDU_END_9_TCP_FLAG
1026*5113495bSYour Name 
1027*5113495bSYour Name 			TCP flags
1028*5113495bSYour Name 
1029*5113495bSYour Name 			{NS,CWR,ECE,URG,ACK,PSH, RST ,SYN,FIN}(with the NS bit
1030*5113495bSYour Name 			in bit 8 and the FIN bit in bit 0, i.e. in big-endian order,
1031*5113495bSYour Name 			i.e. requiring a byte-swap for little-endian FW/SW w.r.t.
1032*5113495bSYour Name 			the byte order in a packet)
1033*5113495bSYour Name */
1034*5113495bSYour Name #define RX_MSDU_END_9_TCP_FLAG_OFFSET                                0x00000024
1035*5113495bSYour Name #define RX_MSDU_END_9_TCP_FLAG_LSB                                   0
1036*5113495bSYour Name #define RX_MSDU_END_9_TCP_FLAG_MASK                                  0x000001ff
1037*5113495bSYour Name 
1038*5113495bSYour Name /* Description		RX_MSDU_END_9_LRO_ELIGIBLE
1039*5113495bSYour Name 
1040*5113495bSYour Name 			Computed out of TCP and IP fields to indicate that this
1041*5113495bSYour Name 			MSDU is eligible for  LRO
1042*5113495bSYour Name */
1043*5113495bSYour Name #define RX_MSDU_END_9_LRO_ELIGIBLE_OFFSET                            0x00000024
1044*5113495bSYour Name #define RX_MSDU_END_9_LRO_ELIGIBLE_LSB                               9
1045*5113495bSYour Name #define RX_MSDU_END_9_LRO_ELIGIBLE_MASK                              0x00000200
1046*5113495bSYour Name 
1047*5113495bSYour Name /* Description		RX_MSDU_END_9_RESERVED_9A
1048*5113495bSYour Name 
1049*5113495bSYour Name 			NOTE: DO not assign a field... Internally used in
1050*5113495bSYour Name 			RXOLE..
1051*5113495bSYour Name 
1052*5113495bSYour Name 			<legal 0>
1053*5113495bSYour Name */
1054*5113495bSYour Name #define RX_MSDU_END_9_RESERVED_9A_OFFSET                             0x00000024
1055*5113495bSYour Name #define RX_MSDU_END_9_RESERVED_9A_LSB                                10
1056*5113495bSYour Name #define RX_MSDU_END_9_RESERVED_9A_MASK                               0x0000fc00
1057*5113495bSYour Name 
1058*5113495bSYour Name /* Description		RX_MSDU_END_9_WINDOW_SIZE
1059*5113495bSYour Name 
1060*5113495bSYour Name 			TCP receive window size (as a number assembled from a
1061*5113495bSYour Name 			TCP packet in big-endian order, i.e. requiring a byte-swap
1062*5113495bSYour Name 			for little-endian FW/SW w.r.t. the byte order in a packet)
1063*5113495bSYour Name */
1064*5113495bSYour Name #define RX_MSDU_END_9_WINDOW_SIZE_OFFSET                             0x00000024
1065*5113495bSYour Name #define RX_MSDU_END_9_WINDOW_SIZE_LSB                                16
1066*5113495bSYour Name #define RX_MSDU_END_9_WINDOW_SIZE_MASK                               0xffff0000
1067*5113495bSYour Name 
1068*5113495bSYour Name /* Description		RX_MSDU_END_10_DA_OFFSET
1069*5113495bSYour Name 
1070*5113495bSYour Name 			Offset into MSDU buffer for DA
1071*5113495bSYour Name */
1072*5113495bSYour Name #define RX_MSDU_END_10_DA_OFFSET_OFFSET                              0x00000028
1073*5113495bSYour Name #define RX_MSDU_END_10_DA_OFFSET_LSB                                 0
1074*5113495bSYour Name #define RX_MSDU_END_10_DA_OFFSET_MASK                                0x0000003f
1075*5113495bSYour Name 
1076*5113495bSYour Name /* Description		RX_MSDU_END_10_SA_OFFSET
1077*5113495bSYour Name 
1078*5113495bSYour Name 			Offset into MSDU buffer for SA
1079*5113495bSYour Name */
1080*5113495bSYour Name #define RX_MSDU_END_10_SA_OFFSET_OFFSET                              0x00000028
1081*5113495bSYour Name #define RX_MSDU_END_10_SA_OFFSET_LSB                                 6
1082*5113495bSYour Name #define RX_MSDU_END_10_SA_OFFSET_MASK                                0x00000fc0
1083*5113495bSYour Name 
1084*5113495bSYour Name /* Description		RX_MSDU_END_10_DA_OFFSET_VALID
1085*5113495bSYour Name 
1086*5113495bSYour Name 			da_offset field is valid. This will be set to 0 in case
1087*5113495bSYour Name 			of a dynamic A-MSDU when DA is compressed
1088*5113495bSYour Name */
1089*5113495bSYour Name #define RX_MSDU_END_10_DA_OFFSET_VALID_OFFSET                        0x00000028
1090*5113495bSYour Name #define RX_MSDU_END_10_DA_OFFSET_VALID_LSB                           12
1091*5113495bSYour Name #define RX_MSDU_END_10_DA_OFFSET_VALID_MASK                          0x00001000
1092*5113495bSYour Name 
1093*5113495bSYour Name /* Description		RX_MSDU_END_10_SA_OFFSET_VALID
1094*5113495bSYour Name 
1095*5113495bSYour Name 			sa_offset field is valid. This will be set to 0 in case
1096*5113495bSYour Name 			of a dynamic A-MSDU when SA is compressed
1097*5113495bSYour Name */
1098*5113495bSYour Name #define RX_MSDU_END_10_SA_OFFSET_VALID_OFFSET                        0x00000028
1099*5113495bSYour Name #define RX_MSDU_END_10_SA_OFFSET_VALID_LSB                           13
1100*5113495bSYour Name #define RX_MSDU_END_10_SA_OFFSET_VALID_MASK                          0x00002000
1101*5113495bSYour Name 
1102*5113495bSYour Name /* Description		RX_MSDU_END_10_RESERVED_10A
1103*5113495bSYour Name 
1104*5113495bSYour Name 			<legal 0>
1105*5113495bSYour Name */
1106*5113495bSYour Name #define RX_MSDU_END_10_RESERVED_10A_OFFSET                           0x00000028
1107*5113495bSYour Name #define RX_MSDU_END_10_RESERVED_10A_LSB                              14
1108*5113495bSYour Name #define RX_MSDU_END_10_RESERVED_10A_MASK                             0x0000c000
1109*5113495bSYour Name 
1110*5113495bSYour Name /* Description		RX_MSDU_END_10_L3_TYPE
1111*5113495bSYour Name 
1112*5113495bSYour Name 			The 16-bit type value indicating the type of L3 later
1113*5113495bSYour Name 			extracted from LLC/SNAP, set to zero if SNAP is not
1114*5113495bSYour Name 			available
1115*5113495bSYour Name */
1116*5113495bSYour Name #define RX_MSDU_END_10_L3_TYPE_OFFSET                                0x00000028
1117*5113495bSYour Name #define RX_MSDU_END_10_L3_TYPE_LSB                                   16
1118*5113495bSYour Name #define RX_MSDU_END_10_L3_TYPE_MASK                                  0xffff0000
1119*5113495bSYour Name 
1120*5113495bSYour Name /* Description		RX_MSDU_END_11_RULE_INDICATION_31_0
1121*5113495bSYour Name 
1122*5113495bSYour Name 			Bitmap indicating which of rules 31-0 have matched
1123*5113495bSYour Name */
1124*5113495bSYour Name #define RX_MSDU_END_11_RULE_INDICATION_31_0_OFFSET                   0x0000002c
1125*5113495bSYour Name #define RX_MSDU_END_11_RULE_INDICATION_31_0_LSB                      0
1126*5113495bSYour Name #define RX_MSDU_END_11_RULE_INDICATION_31_0_MASK                     0xffffffff
1127*5113495bSYour Name 
1128*5113495bSYour Name /* Description		RX_MSDU_END_12_RULE_INDICATION_63_32
1129*5113495bSYour Name 
1130*5113495bSYour Name 			Bitmap indicating which of rules 63-32 have matched
1131*5113495bSYour Name */
1132*5113495bSYour Name #define RX_MSDU_END_12_RULE_INDICATION_63_32_OFFSET                  0x00000030
1133*5113495bSYour Name #define RX_MSDU_END_12_RULE_INDICATION_63_32_LSB                     0
1134*5113495bSYour Name #define RX_MSDU_END_12_RULE_INDICATION_63_32_MASK                    0xffffffff
1135*5113495bSYour Name 
1136*5113495bSYour Name /* Description		RX_MSDU_END_13_SA_IDX
1137*5113495bSYour Name 
1138*5113495bSYour Name 			The offset in the address table which matches the MAC
1139*5113495bSYour Name 			source address.
1140*5113495bSYour Name */
1141*5113495bSYour Name #define RX_MSDU_END_13_SA_IDX_OFFSET                                 0x00000034
1142*5113495bSYour Name #define RX_MSDU_END_13_SA_IDX_LSB                                    0
1143*5113495bSYour Name #define RX_MSDU_END_13_SA_IDX_MASK                                   0x0000ffff
1144*5113495bSYour Name 
1145*5113495bSYour Name /* Description		RX_MSDU_END_13_DA_IDX_OR_SW_PEER_ID
1146*5113495bSYour Name 
1147*5113495bSYour Name 			Based on a register configuration in RXOLE, this field
1148*5113495bSYour Name 			will contain:
1149*5113495bSYour Name 
1150*5113495bSYour Name 
1151*5113495bSYour Name 
1152*5113495bSYour Name 			The offset in the address table which matches the
1153*5113495bSYour Name 			destination address
1154*5113495bSYour Name 
1155*5113495bSYour Name 			OR
1156*5113495bSYour Name 
1157*5113495bSYour Name 			Sw_peer_id from the address search entry corresponding
1158*5113495bSYour Name 			to the DA of the MSDU
1159*5113495bSYour Name */
1160*5113495bSYour Name #define RX_MSDU_END_13_DA_IDX_OR_SW_PEER_ID_OFFSET                   0x00000034
1161*5113495bSYour Name #define RX_MSDU_END_13_DA_IDX_OR_SW_PEER_ID_LSB                      16
1162*5113495bSYour Name #define RX_MSDU_END_13_DA_IDX_OR_SW_PEER_ID_MASK                     0xffff0000
1163*5113495bSYour Name 
1164*5113495bSYour Name /* Description		RX_MSDU_END_14_MSDU_DROP
1165*5113495bSYour Name 
1166*5113495bSYour Name 			When set, REO shall drop this MSDU and not forward it to
1167*5113495bSYour Name 			any other ring...
1168*5113495bSYour Name 
1169*5113495bSYour Name 			<legal all>
1170*5113495bSYour Name */
1171*5113495bSYour Name #define RX_MSDU_END_14_MSDU_DROP_OFFSET                              0x00000038
1172*5113495bSYour Name #define RX_MSDU_END_14_MSDU_DROP_LSB                                 0
1173*5113495bSYour Name #define RX_MSDU_END_14_MSDU_DROP_MASK                                0x00000001
1174*5113495bSYour Name 
1175*5113495bSYour Name /* Description		RX_MSDU_END_14_REO_DESTINATION_INDICATION
1176*5113495bSYour Name 
1177*5113495bSYour Name 			The ID of the REO exit ring where the MSDU frame shall
1178*5113495bSYour Name 			push after (MPDU level) reordering has finished.
1179*5113495bSYour Name 
1180*5113495bSYour Name 
1181*5113495bSYour Name 
1182*5113495bSYour Name 			<enum 0 reo_destination_tcl> Reo will push the frame
1183*5113495bSYour Name 			into the REO2TCL ring
1184*5113495bSYour Name 
1185*5113495bSYour Name 			<enum 1 reo_destination_sw1> Reo will push the frame
1186*5113495bSYour Name 			into the REO2SW1 ring
1187*5113495bSYour Name 
1188*5113495bSYour Name 			<enum 2 reo_destination_sw2> Reo will push the frame
1189*5113495bSYour Name 			into the REO2SW1 ring
1190*5113495bSYour Name 
1191*5113495bSYour Name 			<enum 3 reo_destination_sw3> Reo will push the frame
1192*5113495bSYour Name 			into the REO2SW1 ring
1193*5113495bSYour Name 
1194*5113495bSYour Name 			<enum 4 reo_destination_sw4> Reo will push the frame
1195*5113495bSYour Name 			into the REO2SW1 ring
1196*5113495bSYour Name 
1197*5113495bSYour Name 			<enum 5 reo_destination_release> Reo will push the frame
1198*5113495bSYour Name 			into the REO_release ring
1199*5113495bSYour Name 
1200*5113495bSYour Name 			<enum 6 reo_destination_fw> Reo will push the frame into
1201*5113495bSYour Name 			the REO2FW ring
1202*5113495bSYour Name 
1203*5113495bSYour Name 			<enum 7 reo_destination_7> REO remaps this
1204*5113495bSYour Name 
1205*5113495bSYour Name 			<enum 8 reo_destination_8> REO remaps this <enum 9
1206*5113495bSYour Name 			reo_destination_9> REO remaps this <enum 10
1207*5113495bSYour Name 			reo_destination_10> REO remaps this
1208*5113495bSYour Name 
1209*5113495bSYour Name 			<enum 11 reo_destination_11> REO remaps this
1210*5113495bSYour Name 
1211*5113495bSYour Name 			<enum 12 reo_destination_12> REO remaps this <enum 13
1212*5113495bSYour Name 			reo_destination_13> REO remaps this
1213*5113495bSYour Name 
1214*5113495bSYour Name 			<enum 14 reo_destination_14> REO remaps this
1215*5113495bSYour Name 
1216*5113495bSYour Name 			<enum 15 reo_destination_15> REO remaps this
1217*5113495bSYour Name 
1218*5113495bSYour Name 			<enum 16 reo_destination_16> REO remaps this
1219*5113495bSYour Name 
1220*5113495bSYour Name 			<enum 17 reo_destination_17> REO remaps this
1221*5113495bSYour Name 
1222*5113495bSYour Name 			<enum 18 reo_destination_18> REO remaps this
1223*5113495bSYour Name 
1224*5113495bSYour Name 			<enum 19 reo_destination_19> REO remaps this
1225*5113495bSYour Name 
1226*5113495bSYour Name 			<enum 20 reo_destination_20> REO remaps this
1227*5113495bSYour Name 
1228*5113495bSYour Name 			<enum 21 reo_destination_21> REO remaps this
1229*5113495bSYour Name 
1230*5113495bSYour Name 			<enum 22 reo_destination_22> REO remaps this
1231*5113495bSYour Name 
1232*5113495bSYour Name 			<enum 23 reo_destination_23> REO remaps this
1233*5113495bSYour Name 
1234*5113495bSYour Name 			<enum 24 reo_destination_24> REO remaps this
1235*5113495bSYour Name 
1236*5113495bSYour Name 			<enum 25 reo_destination_25> REO remaps this
1237*5113495bSYour Name 
1238*5113495bSYour Name 			<enum 26 reo_destination_26> REO remaps this
1239*5113495bSYour Name 
1240*5113495bSYour Name 			<enum 27 reo_destination_27> REO remaps this
1241*5113495bSYour Name 
1242*5113495bSYour Name 			<enum 28 reo_destination_28> REO remaps this
1243*5113495bSYour Name 
1244*5113495bSYour Name 			<enum 29 reo_destination_29> REO remaps this
1245*5113495bSYour Name 
1246*5113495bSYour Name 			<enum 30 reo_destination_30> REO remaps this
1247*5113495bSYour Name 
1248*5113495bSYour Name 			<enum 31 reo_destination_31> REO remaps this
1249*5113495bSYour Name 
1250*5113495bSYour Name 
1251*5113495bSYour Name 
1252*5113495bSYour Name 			<legal all>
1253*5113495bSYour Name */
1254*5113495bSYour Name #define RX_MSDU_END_14_REO_DESTINATION_INDICATION_OFFSET             0x00000038
1255*5113495bSYour Name #define RX_MSDU_END_14_REO_DESTINATION_INDICATION_LSB                1
1256*5113495bSYour Name #define RX_MSDU_END_14_REO_DESTINATION_INDICATION_MASK               0x0000003e
1257*5113495bSYour Name 
1258*5113495bSYour Name /* Description		RX_MSDU_END_14_FLOW_IDX
1259*5113495bSYour Name 
1260*5113495bSYour Name 			Flow table index
1261*5113495bSYour Name 
1262*5113495bSYour Name 			<legal all>
1263*5113495bSYour Name */
1264*5113495bSYour Name #define RX_MSDU_END_14_FLOW_IDX_OFFSET                               0x00000038
1265*5113495bSYour Name #define RX_MSDU_END_14_FLOW_IDX_LSB                                  6
1266*5113495bSYour Name #define RX_MSDU_END_14_FLOW_IDX_MASK                                 0x03ffffc0
1267*5113495bSYour Name 
1268*5113495bSYour Name /* Description		RX_MSDU_END_14_RESERVED_14
1269*5113495bSYour Name 
1270*5113495bSYour Name 			<legal 0>
1271*5113495bSYour Name */
1272*5113495bSYour Name #define RX_MSDU_END_14_RESERVED_14_OFFSET                            0x00000038
1273*5113495bSYour Name #define RX_MSDU_END_14_RESERVED_14_LSB                               26
1274*5113495bSYour Name #define RX_MSDU_END_14_RESERVED_14_MASK                              0xfc000000
1275*5113495bSYour Name 
1276*5113495bSYour Name /* Description		RX_MSDU_END_15_FSE_METADATA
1277*5113495bSYour Name 
1278*5113495bSYour Name 			FSE related meta data:
1279*5113495bSYour Name 
1280*5113495bSYour Name 			<legal all>
1281*5113495bSYour Name */
1282*5113495bSYour Name #define RX_MSDU_END_15_FSE_METADATA_OFFSET                           0x0000003c
1283*5113495bSYour Name #define RX_MSDU_END_15_FSE_METADATA_LSB                              0
1284*5113495bSYour Name #define RX_MSDU_END_15_FSE_METADATA_MASK                             0xffffffff
1285*5113495bSYour Name 
1286*5113495bSYour Name /* Description		RX_MSDU_END_16_CCE_METADATA
1287*5113495bSYour Name 
1288*5113495bSYour Name 			CCE related meta data:
1289*5113495bSYour Name 
1290*5113495bSYour Name 			<legal all>
1291*5113495bSYour Name */
1292*5113495bSYour Name #define RX_MSDU_END_16_CCE_METADATA_OFFSET                           0x00000040
1293*5113495bSYour Name #define RX_MSDU_END_16_CCE_METADATA_LSB                              0
1294*5113495bSYour Name #define RX_MSDU_END_16_CCE_METADATA_MASK                             0x0000ffff
1295*5113495bSYour Name 
1296*5113495bSYour Name /* Description		RX_MSDU_END_16_SA_SW_PEER_ID
1297*5113495bSYour Name 
1298*5113495bSYour Name 			sw_peer_id from the address search entry corresponding
1299*5113495bSYour Name 			to the source address of the MSDU
1300*5113495bSYour Name 
1301*5113495bSYour Name 			<legal 0>
1302*5113495bSYour Name */
1303*5113495bSYour Name #define RX_MSDU_END_16_SA_SW_PEER_ID_OFFSET                          0x00000040
1304*5113495bSYour Name #define RX_MSDU_END_16_SA_SW_PEER_ID_LSB                             16
1305*5113495bSYour Name #define RX_MSDU_END_16_SA_SW_PEER_ID_MASK                            0xffff0000
1306*5113495bSYour Name 
1307*5113495bSYour Name 
1308*5113495bSYour Name #endif // _RX_MSDU_END_H_
1309