xref: /wlan-driver/fw-api/hw/qca6490/v1/rx_msdu_details.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1*5113495bSYour Name /*
2*5113495bSYour Name  * Copyright (c) 2019 The Linux Foundation. All rights reserved.
3*5113495bSYour Name  *
4*5113495bSYour Name  * Permission to use, copy, modify, and/or distribute this software for
5*5113495bSYour Name  * any purpose with or without fee is hereby granted, provided that the
6*5113495bSYour Name  * above copyright notice and this permission notice appear in all
7*5113495bSYour Name  * copies.
8*5113495bSYour Name  *
9*5113495bSYour Name  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
10*5113495bSYour Name  * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
11*5113495bSYour Name  * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
12*5113495bSYour Name  * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
13*5113495bSYour Name  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
14*5113495bSYour Name  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
15*5113495bSYour Name  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16*5113495bSYour Name  * PERFORMANCE OF THIS SOFTWARE.
17*5113495bSYour Name  */
18*5113495bSYour Name 
19*5113495bSYour Name //
20*5113495bSYour Name // DO NOT EDIT!  This file is automatically generated
21*5113495bSYour Name //               These definitions are tied to a particular hardware layout
22*5113495bSYour Name 
23*5113495bSYour Name 
24*5113495bSYour Name #ifndef _RX_MSDU_DETAILS_H_
25*5113495bSYour Name #define _RX_MSDU_DETAILS_H_
26*5113495bSYour Name #if !defined(__ASSEMBLER__)
27*5113495bSYour Name #endif
28*5113495bSYour Name 
29*5113495bSYour Name #include "buffer_addr_info.h"
30*5113495bSYour Name #include "rx_msdu_desc_info.h"
31*5113495bSYour Name 
32*5113495bSYour Name // ################ START SUMMARY #################
33*5113495bSYour Name //
34*5113495bSYour Name //	Dword	Fields
35*5113495bSYour Name //	0-1	struct buffer_addr_info buffer_addr_info_details;
36*5113495bSYour Name //	2-3	struct rx_msdu_desc_info rx_msdu_desc_info_details;
37*5113495bSYour Name //
38*5113495bSYour Name // ################ END SUMMARY #################
39*5113495bSYour Name 
40*5113495bSYour Name #define NUM_OF_DWORDS_RX_MSDU_DETAILS 4
41*5113495bSYour Name 
42*5113495bSYour Name struct rx_msdu_details {
43*5113495bSYour Name     struct            buffer_addr_info                       buffer_addr_info_details;
44*5113495bSYour Name     struct            rx_msdu_desc_info                       rx_msdu_desc_info_details;
45*5113495bSYour Name };
46*5113495bSYour Name 
47*5113495bSYour Name /*
48*5113495bSYour Name 
49*5113495bSYour Name struct buffer_addr_info buffer_addr_info_details
50*5113495bSYour Name 
51*5113495bSYour Name 			Consumer: REO/SW
52*5113495bSYour Name 
53*5113495bSYour Name 			Producer: RXDMA
54*5113495bSYour Name 
55*5113495bSYour Name 
56*5113495bSYour Name 
57*5113495bSYour Name 			Details of the physical address of the buffer containing
58*5113495bSYour Name 			an MSDU (or entire MPDU)
59*5113495bSYour Name 
60*5113495bSYour Name struct rx_msdu_desc_info rx_msdu_desc_info_details
61*5113495bSYour Name 
62*5113495bSYour Name 			Consumer: REO/SW
63*5113495bSYour Name 
64*5113495bSYour Name 			Producer: RXDMA
65*5113495bSYour Name 
66*5113495bSYour Name 
67*5113495bSYour Name 
68*5113495bSYour Name 			General information related to the MSDU that should be
69*5113495bSYour Name 			passed on from RXDMA all the way to to the REO destination
70*5113495bSYour Name 			ring.
71*5113495bSYour Name */
72*5113495bSYour Name 
73*5113495bSYour Name 
74*5113495bSYour Name  /* EXTERNAL REFERENCE : struct buffer_addr_info buffer_addr_info_details */
75*5113495bSYour Name 
76*5113495bSYour Name 
77*5113495bSYour Name /* Description		RX_MSDU_DETAILS_0_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0
78*5113495bSYour Name 
79*5113495bSYour Name 			Address (lower 32 bits) of the MSDU buffer OR
80*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
81*5113495bSYour Name 
82*5113495bSYour Name 
83*5113495bSYour Name 
84*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
85*5113495bSYour Name 
86*5113495bSYour Name 			<legal all>
87*5113495bSYour Name */
88*5113495bSYour Name #define RX_MSDU_DETAILS_0_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_OFFSET 0x00000000
89*5113495bSYour Name #define RX_MSDU_DETAILS_0_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_LSB 0
90*5113495bSYour Name #define RX_MSDU_DETAILS_0_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_MASK 0xffffffff
91*5113495bSYour Name 
92*5113495bSYour Name /* Description		RX_MSDU_DETAILS_1_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32
93*5113495bSYour Name 
94*5113495bSYour Name 			Address (upper 8 bits) of the MSDU buffer OR
95*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
96*5113495bSYour Name 
97*5113495bSYour Name 
98*5113495bSYour Name 
99*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
100*5113495bSYour Name 
101*5113495bSYour Name 			<legal all>
102*5113495bSYour Name */
103*5113495bSYour Name #define RX_MSDU_DETAILS_1_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_OFFSET 0x00000004
104*5113495bSYour Name #define RX_MSDU_DETAILS_1_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_LSB 0
105*5113495bSYour Name #define RX_MSDU_DETAILS_1_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_MASK 0x000000ff
106*5113495bSYour Name 
107*5113495bSYour Name /* Description		RX_MSDU_DETAILS_1_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER
108*5113495bSYour Name 
109*5113495bSYour Name 			Consumer: WBM
110*5113495bSYour Name 
111*5113495bSYour Name 			Producer: SW/FW
112*5113495bSYour Name 
113*5113495bSYour Name 
114*5113495bSYour Name 
115*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
116*5113495bSYour Name 
117*5113495bSYour Name 
118*5113495bSYour Name 
119*5113495bSYour Name 			Indicates to which buffer manager the buffer OR
120*5113495bSYour Name 			MSDU_EXTENSION descriptor OR link descriptor that is being
121*5113495bSYour Name 			pointed to shall be returned after the frame has been
122*5113495bSYour Name 			processed. It is used by WBM for routing purposes.
123*5113495bSYour Name 
124*5113495bSYour Name 
125*5113495bSYour Name 
126*5113495bSYour Name 			<enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned
127*5113495bSYour Name 			to the WMB buffer idle list
128*5113495bSYour Name 
129*5113495bSYour Name 			<enum 1 WBM_IDLE_DESC_LIST> This buffer shall be
130*5113495bSYour Name 			returned to the WMB idle link descriptor idle list
131*5113495bSYour Name 
132*5113495bSYour Name 			<enum 2 FW_BM> This buffer shall be returned to the FW
133*5113495bSYour Name 
134*5113495bSYour Name 			<enum 3 SW0_BM> This buffer shall be returned to the SW,
135*5113495bSYour Name 			ring 0
136*5113495bSYour Name 
137*5113495bSYour Name 			<enum 4 SW1_BM> This buffer shall be returned to the SW,
138*5113495bSYour Name 			ring 1
139*5113495bSYour Name 
140*5113495bSYour Name 			<enum 5 SW2_BM> This buffer shall be returned to the SW,
141*5113495bSYour Name 			ring 2
142*5113495bSYour Name 
143*5113495bSYour Name 			<enum 6 SW3_BM> This buffer shall be returned to the SW,
144*5113495bSYour Name 			ring 3
145*5113495bSYour Name 
146*5113495bSYour Name 			<enum 7 SW4_BM> This buffer shall be returned to the SW,
147*5113495bSYour Name 			ring 4
148*5113495bSYour Name 
149*5113495bSYour Name 
150*5113495bSYour Name 
151*5113495bSYour Name 			<legal all>
152*5113495bSYour Name */
153*5113495bSYour Name #define RX_MSDU_DETAILS_1_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_OFFSET 0x00000004
154*5113495bSYour Name #define RX_MSDU_DETAILS_1_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_LSB 8
155*5113495bSYour Name #define RX_MSDU_DETAILS_1_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_MASK 0x00000700
156*5113495bSYour Name 
157*5113495bSYour Name /* Description		RX_MSDU_DETAILS_1_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE
158*5113495bSYour Name 
159*5113495bSYour Name 			Cookie field exclusively used by SW.
160*5113495bSYour Name 
161*5113495bSYour Name 
162*5113495bSYour Name 
163*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
164*5113495bSYour Name 
165*5113495bSYour Name 
166*5113495bSYour Name 
167*5113495bSYour Name 			HW ignores the contents, accept that it passes the
168*5113495bSYour Name 			programmed value on to other descriptors together with the
169*5113495bSYour Name 			physical address
170*5113495bSYour Name 
171*5113495bSYour Name 
172*5113495bSYour Name 
173*5113495bSYour Name 			Field can be used by SW to for example associate the
174*5113495bSYour Name 			buffers physical address with the virtual address
175*5113495bSYour Name 
176*5113495bSYour Name 			The bit definitions as used by SW are within SW HLD
177*5113495bSYour Name 			specification
178*5113495bSYour Name 
179*5113495bSYour Name 
180*5113495bSYour Name 
181*5113495bSYour Name 			NOTE:
182*5113495bSYour Name 
183*5113495bSYour Name 			The three most significant bits can have a special
184*5113495bSYour Name 			meaning in case this struct is embedded in a TX_MPDU_DETAILS
185*5113495bSYour Name 			STRUCT, and field transmit_bw_restriction is set
186*5113495bSYour Name 
187*5113495bSYour Name 
188*5113495bSYour Name 
189*5113495bSYour Name 			In case of NON punctured transmission:
190*5113495bSYour Name 
191*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only
192*5113495bSYour Name 
193*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only
194*5113495bSYour Name 
195*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only
196*5113495bSYour Name 
197*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only
198*5113495bSYour Name 
199*5113495bSYour Name 
200*5113495bSYour Name 
201*5113495bSYour Name 			In case of punctured transmission:
202*5113495bSYour Name 
203*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only
204*5113495bSYour Name 
205*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only
206*5113495bSYour Name 
207*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only
208*5113495bSYour Name 
209*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only
210*5113495bSYour Name 
211*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only
212*5113495bSYour Name 
213*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only
214*5113495bSYour Name 
215*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only
216*5113495bSYour Name 
217*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only
218*5113495bSYour Name 
219*5113495bSYour Name 
220*5113495bSYour Name 
221*5113495bSYour Name 			Note: a punctured transmission is indicated by the
222*5113495bSYour Name 			presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler
223*5113495bSYour Name 			TLV
224*5113495bSYour Name 
225*5113495bSYour Name 
226*5113495bSYour Name 
227*5113495bSYour Name 			<legal all>
228*5113495bSYour Name */
229*5113495bSYour Name #define RX_MSDU_DETAILS_1_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_OFFSET 0x00000004
230*5113495bSYour Name #define RX_MSDU_DETAILS_1_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_LSB 11
231*5113495bSYour Name #define RX_MSDU_DETAILS_1_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_MASK 0xfffff800
232*5113495bSYour Name 
233*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_msdu_desc_info rx_msdu_desc_info_details */
234*5113495bSYour Name 
235*5113495bSYour Name 
236*5113495bSYour Name /* Description		RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG
237*5113495bSYour Name 
238*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
239*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
240*5113495bSYour Name 			buffer used by the MSDU
241*5113495bSYour Name 
242*5113495bSYour Name 
243*5113495bSYour Name 
244*5113495bSYour Name 			<enum 0 Not_first_msdu> This is not the first MSDU in
245*5113495bSYour Name 			the MPDU.
246*5113495bSYour Name 
247*5113495bSYour Name 			<enum 1 first_msdu> This MSDU is the first one in the
248*5113495bSYour Name 			MPDU.
249*5113495bSYour Name 
250*5113495bSYour Name 
251*5113495bSYour Name 
252*5113495bSYour Name 			<legal all>
253*5113495bSYour Name */
254*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000008
255*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_LSB 0
256*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_MASK 0x00000001
257*5113495bSYour Name 
258*5113495bSYour Name /* Description		RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG
259*5113495bSYour Name 
260*5113495bSYour Name 			Consumer: WBM/REO/SW/FW
261*5113495bSYour Name 
262*5113495bSYour Name 			Producer: RXDMA
263*5113495bSYour Name 
264*5113495bSYour Name 
265*5113495bSYour Name 
266*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
267*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
268*5113495bSYour Name 			buffer used by the MSDU
269*5113495bSYour Name 
270*5113495bSYour Name 
271*5113495bSYour Name 
272*5113495bSYour Name 			<enum 0 Not_last_msdu> There are more MSDUs linked to
273*5113495bSYour Name 			this MSDU that belongs to this MPDU
274*5113495bSYour Name 
275*5113495bSYour Name 			<enum 1 Last_msdu> this MSDU is the last one in the
276*5113495bSYour Name 			MPDU. This setting is only allowed in combination with
277*5113495bSYour Name 			'Msdu_continuation' set to 0. This implies that when an msdu
278*5113495bSYour Name 			is spread out over multiple buffers and thus
279*5113495bSYour Name 			msdu_continuation is set, only for the very last buffer of
280*5113495bSYour Name 			the msdu, can the 'last_msdu_in_mpdu_flag' be set.
281*5113495bSYour Name 
282*5113495bSYour Name 
283*5113495bSYour Name 
284*5113495bSYour Name 			When both first_msdu_in_mpdu_flag and
285*5113495bSYour Name 			last_msdu_in_mpdu_flag are set, the MPDU that this MSDU
286*5113495bSYour Name 			belongs to only contains a single MSDU.
287*5113495bSYour Name 
288*5113495bSYour Name 
289*5113495bSYour Name 
290*5113495bSYour Name 
291*5113495bSYour Name 
292*5113495bSYour Name 			<legal all>
293*5113495bSYour Name */
294*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000008
295*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_LSB 1
296*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_MASK 0x00000002
297*5113495bSYour Name 
298*5113495bSYour Name /* Description		RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION
299*5113495bSYour Name 
300*5113495bSYour Name 			When set, this MSDU buffer was not able to hold the
301*5113495bSYour Name 			entire MSDU. The next buffer will therefor contain
302*5113495bSYour Name 			additional information related to this MSDU.
303*5113495bSYour Name 
304*5113495bSYour Name 
305*5113495bSYour Name 
306*5113495bSYour Name 			<legal all>
307*5113495bSYour Name */
308*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_OFFSET 0x00000008
309*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_LSB 2
310*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_MASK 0x00000004
311*5113495bSYour Name 
312*5113495bSYour Name /* Description		RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH
313*5113495bSYour Name 
314*5113495bSYour Name 			Parsed from RX_MSDU_START TLV . In the case MSDU spans
315*5113495bSYour Name 			over multiple buffers, this field will be valid in the First
316*5113495bSYour Name 			buffer used by MSDU.
317*5113495bSYour Name 
318*5113495bSYour Name 
319*5113495bSYour Name 
320*5113495bSYour Name 			Full MSDU length in bytes after decapsulation.
321*5113495bSYour Name 
322*5113495bSYour Name 
323*5113495bSYour Name 
324*5113495bSYour Name 			This field is still valid for MPDU frames without
325*5113495bSYour Name 			A-MSDU.  It still represents MSDU length after decapsulation
326*5113495bSYour Name 
327*5113495bSYour Name 
328*5113495bSYour Name 
329*5113495bSYour Name 			Or in case of RAW MPDUs, it indicates the length of the
330*5113495bSYour Name 			entire MPDU (without FCS field)
331*5113495bSYour Name 
332*5113495bSYour Name 			<legal all>
333*5113495bSYour Name */
334*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_OFFSET 0x00000008
335*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_LSB  3
336*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_MASK 0x0001fff8
337*5113495bSYour Name 
338*5113495bSYour Name /* Description		RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION
339*5113495bSYour Name 
340*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
341*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
342*5113495bSYour Name 			buffer used by the MSDU
343*5113495bSYour Name 
344*5113495bSYour Name 
345*5113495bSYour Name 
346*5113495bSYour Name 			The ID of the REO exit ring where the MSDU frame shall
347*5113495bSYour Name 			push after (MPDU level) reordering has finished.
348*5113495bSYour Name 
349*5113495bSYour Name 
350*5113495bSYour Name 
351*5113495bSYour Name 			<enum 0 reo_destination_tcl> Reo will push the frame
352*5113495bSYour Name 			into the REO2TCL ring
353*5113495bSYour Name 
354*5113495bSYour Name 			<enum 1 reo_destination_sw1> Reo will push the frame
355*5113495bSYour Name 			into the REO2SW1 ring
356*5113495bSYour Name 
357*5113495bSYour Name 			<enum 2 reo_destination_sw2> Reo will push the frame
358*5113495bSYour Name 			into the REO2SW2 ring
359*5113495bSYour Name 
360*5113495bSYour Name 			<enum 3 reo_destination_sw3> Reo will push the frame
361*5113495bSYour Name 			into the REO2SW3 ring
362*5113495bSYour Name 
363*5113495bSYour Name 			<enum 4 reo_destination_sw4> Reo will push the frame
364*5113495bSYour Name 			into the REO2SW4 ring
365*5113495bSYour Name 
366*5113495bSYour Name 			<enum 5 reo_destination_release> Reo will push the frame
367*5113495bSYour Name 			into the REO_release ring
368*5113495bSYour Name 
369*5113495bSYour Name 			<enum 6 reo_destination_fw> Reo will push the frame into
370*5113495bSYour Name 			the REO2FW ring
371*5113495bSYour Name 
372*5113495bSYour Name 			<enum 7 reo_destination_sw5> Reo will push the frame
373*5113495bSYour Name 			into the REO2SW5 ring
374*5113495bSYour Name 
375*5113495bSYour Name 			<enum 8 reo_destination_sw6> Reo will push the frame
376*5113495bSYour Name 			into the REO2SW6 ring
377*5113495bSYour Name 
378*5113495bSYour Name 			 <enum 9 reo_destination_9> REO remaps this <enum 10
379*5113495bSYour Name 			reo_destination_10> REO remaps this
380*5113495bSYour Name 
381*5113495bSYour Name 			<enum 11 reo_destination_11> REO remaps this
382*5113495bSYour Name 
383*5113495bSYour Name 			<enum 12 reo_destination_12> REO remaps this <enum 13
384*5113495bSYour Name 			reo_destination_13> REO remaps this
385*5113495bSYour Name 
386*5113495bSYour Name 			<enum 14 reo_destination_14> REO remaps this
387*5113495bSYour Name 
388*5113495bSYour Name 			<enum 15 reo_destination_15> REO remaps this
389*5113495bSYour Name 
390*5113495bSYour Name 			<enum 16 reo_destination_16> REO remaps this
391*5113495bSYour Name 
392*5113495bSYour Name 			<enum 17 reo_destination_17> REO remaps this
393*5113495bSYour Name 
394*5113495bSYour Name 			<enum 18 reo_destination_18> REO remaps this
395*5113495bSYour Name 
396*5113495bSYour Name 			<enum 19 reo_destination_19> REO remaps this
397*5113495bSYour Name 
398*5113495bSYour Name 			<enum 20 reo_destination_20> REO remaps this
399*5113495bSYour Name 
400*5113495bSYour Name 			<enum 21 reo_destination_21> REO remaps this
401*5113495bSYour Name 
402*5113495bSYour Name 			<enum 22 reo_destination_22> REO remaps this
403*5113495bSYour Name 
404*5113495bSYour Name 			<enum 23 reo_destination_23> REO remaps this
405*5113495bSYour Name 
406*5113495bSYour Name 			<enum 24 reo_destination_24> REO remaps this
407*5113495bSYour Name 
408*5113495bSYour Name 			<enum 25 reo_destination_25> REO remaps this
409*5113495bSYour Name 
410*5113495bSYour Name 			<enum 26 reo_destination_26> REO remaps this
411*5113495bSYour Name 
412*5113495bSYour Name 			<enum 27 reo_destination_27> REO remaps this
413*5113495bSYour Name 
414*5113495bSYour Name 			<enum 28 reo_destination_28> REO remaps this
415*5113495bSYour Name 
416*5113495bSYour Name 			<enum 29 reo_destination_29> REO remaps this
417*5113495bSYour Name 
418*5113495bSYour Name 			<enum 30 reo_destination_30> REO remaps this
419*5113495bSYour Name 
420*5113495bSYour Name 			<enum 31 reo_destination_31> REO remaps this
421*5113495bSYour Name 
422*5113495bSYour Name 
423*5113495bSYour Name 
424*5113495bSYour Name 			<legal all>
425*5113495bSYour Name */
426*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_OFFSET 0x00000008
427*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_LSB 17
428*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_MASK 0x003e0000
429*5113495bSYour Name 
430*5113495bSYour Name /* Description		RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP
431*5113495bSYour Name 
432*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
433*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
434*5113495bSYour Name 			buffer used by the MSDU
435*5113495bSYour Name 
436*5113495bSYour Name 
437*5113495bSYour Name 
438*5113495bSYour Name 			When set, REO shall drop this MSDU and not forward it to
439*5113495bSYour Name 			any other ring...
440*5113495bSYour Name 
441*5113495bSYour Name 			<legal all>
442*5113495bSYour Name */
443*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_OFFSET 0x00000008
444*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_LSB    22
445*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_MASK   0x00400000
446*5113495bSYour Name 
447*5113495bSYour Name /* Description		RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID
448*5113495bSYour Name 
449*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
450*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
451*5113495bSYour Name 			buffer used by the MSDU
452*5113495bSYour Name 
453*5113495bSYour Name 
454*5113495bSYour Name 
455*5113495bSYour Name 			Indicates that OLE found a valid SA entry for this MSDU
456*5113495bSYour Name 
457*5113495bSYour Name 			<legal all>
458*5113495bSYour Name */
459*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_OFFSET 0x00000008
460*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_LSB  23
461*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_MASK 0x00800000
462*5113495bSYour Name 
463*5113495bSYour Name /* Description		RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT
464*5113495bSYour Name 
465*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
466*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
467*5113495bSYour Name 			buffer used by the MSDU
468*5113495bSYour Name 
469*5113495bSYour Name 
470*5113495bSYour Name 
471*5113495bSYour Name 			Indicates an unsuccessful MAC source address search due
472*5113495bSYour Name 			to the expiring of the search timer for this MSDU
473*5113495bSYour Name 
474*5113495bSYour Name 			<legal all>
475*5113495bSYour Name */
476*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_OFFSET 0x00000008
477*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_LSB 24
478*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_MASK 0x01000000
479*5113495bSYour Name 
480*5113495bSYour Name /* Description		RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID
481*5113495bSYour Name 
482*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
483*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
484*5113495bSYour Name 			buffer used by the MSDU
485*5113495bSYour Name 
486*5113495bSYour Name 
487*5113495bSYour Name 
488*5113495bSYour Name 			Indicates that OLE found a valid DA entry for this MSDU
489*5113495bSYour Name 
490*5113495bSYour Name 			<legal all>
491*5113495bSYour Name */
492*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_OFFSET 0x00000008
493*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_LSB  25
494*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_MASK 0x02000000
495*5113495bSYour Name 
496*5113495bSYour Name /* Description		RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC
497*5113495bSYour Name 
498*5113495bSYour Name 			Field Only valid if da_is_valid is set
499*5113495bSYour Name 
500*5113495bSYour Name 
501*5113495bSYour Name 
502*5113495bSYour Name 			Indicates the DA address was a Multicast of Broadcast
503*5113495bSYour Name 			address for this MSDU
504*5113495bSYour Name 
505*5113495bSYour Name 			<legal all>
506*5113495bSYour Name */
507*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_OFFSET 0x00000008
508*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_LSB   26
509*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_MASK  0x04000000
510*5113495bSYour Name 
511*5113495bSYour Name /* Description		RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT
512*5113495bSYour Name 
513*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
514*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
515*5113495bSYour Name 			buffer used by the MSDU
516*5113495bSYour Name 
517*5113495bSYour Name 
518*5113495bSYour Name 
519*5113495bSYour Name 			Indicates an unsuccessful MAC destination address search
520*5113495bSYour Name 			due to the expiring of the search timer for this MSDU
521*5113495bSYour Name 
522*5113495bSYour Name 			<legal all>
523*5113495bSYour Name */
524*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_OFFSET 0x00000008
525*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_LSB 27
526*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_MASK 0x08000000
527*5113495bSYour Name 
528*5113495bSYour Name /* Description		RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A
529*5113495bSYour Name 
530*5113495bSYour Name 			<legal 0>
531*5113495bSYour Name */
532*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A_OFFSET 0x00000008
533*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A_LSB  28
534*5113495bSYour Name #define RX_MSDU_DETAILS_2_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A_MASK 0xf0000000
535*5113495bSYour Name 
536*5113495bSYour Name /* Description		RX_MSDU_DETAILS_3_RX_MSDU_DESC_INFO_DETAILS_RESERVED_1A
537*5113495bSYour Name 
538*5113495bSYour Name 			<legal 0>
539*5113495bSYour Name */
540*5113495bSYour Name #define RX_MSDU_DETAILS_3_RX_MSDU_DESC_INFO_DETAILS_RESERVED_1A_OFFSET 0x0000000c
541*5113495bSYour Name #define RX_MSDU_DETAILS_3_RX_MSDU_DESC_INFO_DETAILS_RESERVED_1A_LSB  0
542*5113495bSYour Name #define RX_MSDU_DETAILS_3_RX_MSDU_DESC_INFO_DETAILS_RESERVED_1A_MASK 0xffffffff
543*5113495bSYour Name 
544*5113495bSYour Name 
545*5113495bSYour Name #endif // _RX_MSDU_DETAILS_H_
546