xref: /wlan-driver/fw-api/hw/qcn6122/rx_msdu_link.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1*5113495bSYour Name /*
2*5113495bSYour Name  * Copyright (c) 2020, The Linux Foundation. All rights reserved.
3*5113495bSYour Name  *
4*5113495bSYour Name  * Permission to use, copy, modify, and/or distribute this software for any
5*5113495bSYour Name  * purpose with or without fee is hereby granted, provided that the above
6*5113495bSYour Name  * copyright notice and this permission notice appear in all copies.
7*5113495bSYour Name  *
8*5113495bSYour Name  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9*5113495bSYour Name  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10*5113495bSYour Name  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11*5113495bSYour Name  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12*5113495bSYour Name  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13*5113495bSYour Name  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14*5113495bSYour Name  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15*5113495bSYour Name  */
16*5113495bSYour Name 
17*5113495bSYour Name #ifndef _RX_MSDU_LINK_H_
18*5113495bSYour Name #define _RX_MSDU_LINK_H_
19*5113495bSYour Name #if !defined(__ASSEMBLER__)
20*5113495bSYour Name #endif
21*5113495bSYour Name 
22*5113495bSYour Name #include "uniform_descriptor_header.h"
23*5113495bSYour Name #include "buffer_addr_info.h"
24*5113495bSYour Name #include "rx_msdu_details.h"
25*5113495bSYour Name 
26*5113495bSYour Name // ################ START SUMMARY #################
27*5113495bSYour Name //
28*5113495bSYour Name //	Dword	Fields
29*5113495bSYour Name //	0	struct uniform_descriptor_header descriptor_header;
30*5113495bSYour Name //	1-2	struct buffer_addr_info next_msdu_link_desc_addr_info;
31*5113495bSYour Name //	3	receive_queue_number[15:0], first_rx_msdu_link_struct[16], reserved_3a[31:17]
32*5113495bSYour Name //	4	pn_31_0[31:0]
33*5113495bSYour Name //	5	pn_63_32[31:0]
34*5113495bSYour Name //	6	pn_95_64[31:0]
35*5113495bSYour Name //	7	pn_127_96[31:0]
36*5113495bSYour Name //	8-11	struct rx_msdu_details msdu_0;
37*5113495bSYour Name //	12-15	struct rx_msdu_details msdu_1;
38*5113495bSYour Name //	16-19	struct rx_msdu_details msdu_2;
39*5113495bSYour Name //	20-23	struct rx_msdu_details msdu_3;
40*5113495bSYour Name //	24-27	struct rx_msdu_details msdu_4;
41*5113495bSYour Name //	28-31	struct rx_msdu_details msdu_5;
42*5113495bSYour Name //
43*5113495bSYour Name // ################ END SUMMARY #################
44*5113495bSYour Name 
45*5113495bSYour Name #define NUM_OF_DWORDS_RX_MSDU_LINK 32
46*5113495bSYour Name 
47*5113495bSYour Name struct rx_msdu_link {
48*5113495bSYour Name     struct            uniform_descriptor_header                       descriptor_header;
49*5113495bSYour Name     struct            buffer_addr_info                       next_msdu_link_desc_addr_info;
50*5113495bSYour Name              uint32_t receive_queue_number            : 16, //[15:0]
51*5113495bSYour Name                       first_rx_msdu_link_struct       :  1, //[16]
52*5113495bSYour Name                       reserved_3a                     : 15; //[31:17]
53*5113495bSYour Name              uint32_t pn_31_0                         : 32; //[31:0]
54*5113495bSYour Name              uint32_t pn_63_32                        : 32; //[31:0]
55*5113495bSYour Name              uint32_t pn_95_64                        : 32; //[31:0]
56*5113495bSYour Name              uint32_t pn_127_96                       : 32; //[31:0]
57*5113495bSYour Name     struct            rx_msdu_details                       msdu_0;
58*5113495bSYour Name     struct            rx_msdu_details                       msdu_1;
59*5113495bSYour Name     struct            rx_msdu_details                       msdu_2;
60*5113495bSYour Name     struct            rx_msdu_details                       msdu_3;
61*5113495bSYour Name     struct            rx_msdu_details                       msdu_4;
62*5113495bSYour Name     struct            rx_msdu_details                       msdu_5;
63*5113495bSYour Name };
64*5113495bSYour Name 
65*5113495bSYour Name /*
66*5113495bSYour Name 
67*5113495bSYour Name struct uniform_descriptor_header descriptor_header
68*5113495bSYour Name 
69*5113495bSYour Name 			Details about which module owns this struct.
70*5113495bSYour Name 
71*5113495bSYour Name 			Note that sub field Buffer_type shall be set to
72*5113495bSYour Name 			Receive_MSDU_Link_descriptor
73*5113495bSYour Name 
74*5113495bSYour Name struct buffer_addr_info next_msdu_link_desc_addr_info
75*5113495bSYour Name 
76*5113495bSYour Name 			Details of the physical address of the next MSDU link
77*5113495bSYour Name 			descriptor that contains info about additional MSDUs that
78*5113495bSYour Name 			are part of this MPDU.
79*5113495bSYour Name 
80*5113495bSYour Name receive_queue_number
81*5113495bSYour Name 
82*5113495bSYour Name 			Indicates the Receive queue to which this MPDU
83*5113495bSYour Name 			descriptor belongs
84*5113495bSYour Name 
85*5113495bSYour Name 			Used for tracking, finding bugs and debugging.
86*5113495bSYour Name 
87*5113495bSYour Name 			<legal all>
88*5113495bSYour Name 
89*5113495bSYour Name first_rx_msdu_link_struct
90*5113495bSYour Name 
91*5113495bSYour Name 			When set, this RX_MSDU_link descriptor is the first one
92*5113495bSYour Name 			in the MSDU link list. Field MSDU_0 points to the very first
93*5113495bSYour Name 			MSDU buffer descriptor in the MPDU
94*5113495bSYour Name 
95*5113495bSYour Name 			<legal all>
96*5113495bSYour Name 
97*5113495bSYour Name reserved_3a
98*5113495bSYour Name 
99*5113495bSYour Name 			<legal 0>
100*5113495bSYour Name 
101*5113495bSYour Name pn_31_0
102*5113495bSYour Name 
103*5113495bSYour Name 
104*5113495bSYour Name 
105*5113495bSYour Name 
106*5113495bSYour Name 			31-0 bits of the 256-bit packet number bitmap.
107*5113495bSYour Name 
108*5113495bSYour Name 			<legal all>
109*5113495bSYour Name 
110*5113495bSYour Name pn_63_32
111*5113495bSYour Name 
112*5113495bSYour Name 
113*5113495bSYour Name 
114*5113495bSYour Name 
115*5113495bSYour Name 			63-32 bits of the 256-bit packet number bitmap.
116*5113495bSYour Name 
117*5113495bSYour Name 			<legal all>
118*5113495bSYour Name 
119*5113495bSYour Name pn_95_64
120*5113495bSYour Name 
121*5113495bSYour Name 
122*5113495bSYour Name 
123*5113495bSYour Name 
124*5113495bSYour Name 			95-64 bits of the 256-bit packet number bitmap.
125*5113495bSYour Name 
126*5113495bSYour Name 			<legal all>
127*5113495bSYour Name 
128*5113495bSYour Name pn_127_96
129*5113495bSYour Name 
130*5113495bSYour Name 
131*5113495bSYour Name 
132*5113495bSYour Name 
133*5113495bSYour Name 			127-96 bits of the 256-bit packet number bitmap.
134*5113495bSYour Name 
135*5113495bSYour Name 			<legal all>
136*5113495bSYour Name 
137*5113495bSYour Name struct rx_msdu_details msdu_0
138*5113495bSYour Name 
139*5113495bSYour Name 			When First_RX_MSDU_link_struct  is set, this MSDU is the
140*5113495bSYour Name 			first in the MPDU
141*5113495bSYour Name 
142*5113495bSYour Name 
143*5113495bSYour Name 
144*5113495bSYour Name 			When First_RX_MSDU_link_struct  is NOT set, this MSDU
145*5113495bSYour Name 			follows the last MSDU in the previous RX_MSDU_link data
146*5113495bSYour Name 			structure
147*5113495bSYour Name 
148*5113495bSYour Name struct rx_msdu_details msdu_1
149*5113495bSYour Name 
150*5113495bSYour Name 			Details of next MSDU in this (MSDU flow) linked list
151*5113495bSYour Name 
152*5113495bSYour Name struct rx_msdu_details msdu_2
153*5113495bSYour Name 
154*5113495bSYour Name 			Details of next MSDU in this (MSDU flow) linked list
155*5113495bSYour Name 
156*5113495bSYour Name struct rx_msdu_details msdu_3
157*5113495bSYour Name 
158*5113495bSYour Name 			Details of next MSDU in this (MSDU flow) linked list
159*5113495bSYour Name 
160*5113495bSYour Name struct rx_msdu_details msdu_4
161*5113495bSYour Name 
162*5113495bSYour Name 			Details of next MSDU in this (MSDU flow) linked list
163*5113495bSYour Name 
164*5113495bSYour Name struct rx_msdu_details msdu_5
165*5113495bSYour Name 
166*5113495bSYour Name 			Details of next MSDU in this (MSDU flow) linked list
167*5113495bSYour Name */
168*5113495bSYour Name 
169*5113495bSYour Name 
170*5113495bSYour Name  /* EXTERNAL REFERENCE : struct uniform_descriptor_header descriptor_header */
171*5113495bSYour Name 
172*5113495bSYour Name 
173*5113495bSYour Name /* Description		RX_MSDU_LINK_0_DESCRIPTOR_HEADER_OWNER
174*5113495bSYour Name 
175*5113495bSYour Name 			Consumer: In DEBUG mode: WBM, TQM, TXDMA, RXDMA, REO
176*5113495bSYour Name 
177*5113495bSYour Name 			Producer: In DEBUG mode: WBM, TQM, TXDMA, RXDMA, REO
178*5113495bSYour Name 
179*5113495bSYour Name 
180*5113495bSYour Name 
181*5113495bSYour Name 			The owner of this data structure:
182*5113495bSYour Name 
183*5113495bSYour Name 			<enum 0 WBM_owned> Buffer Manager currently owns this
184*5113495bSYour Name 			data structure.
185*5113495bSYour Name 
186*5113495bSYour Name 			<enum 1 SW_OR_FW_owned> Software of FW currently owns
187*5113495bSYour Name 			this data structure.
188*5113495bSYour Name 
189*5113495bSYour Name 			<enum 2 TQM_owned> Transmit Queue Manager currently owns
190*5113495bSYour Name 			this data structure.
191*5113495bSYour Name 
192*5113495bSYour Name 			<enum 3 RXDMA_owned> Receive DMA currently owns this
193*5113495bSYour Name 			data structure.
194*5113495bSYour Name 
195*5113495bSYour Name 			<enum 4 REO_owned> Reorder currently owns this data
196*5113495bSYour Name 			structure.
197*5113495bSYour Name 
198*5113495bSYour Name 			<enum 5 SWITCH_owned> SWITCH currently owns this data
199*5113495bSYour Name 			structure.
200*5113495bSYour Name 
201*5113495bSYour Name 
202*5113495bSYour Name 
203*5113495bSYour Name 			<legal 0-5>
204*5113495bSYour Name */
205*5113495bSYour Name #define RX_MSDU_LINK_0_DESCRIPTOR_HEADER_OWNER_OFFSET                0x00000000
206*5113495bSYour Name #define RX_MSDU_LINK_0_DESCRIPTOR_HEADER_OWNER_LSB                   0
207*5113495bSYour Name #define RX_MSDU_LINK_0_DESCRIPTOR_HEADER_OWNER_MASK                  0x0000000f
208*5113495bSYour Name 
209*5113495bSYour Name /* Description		RX_MSDU_LINK_0_DESCRIPTOR_HEADER_BUFFER_TYPE
210*5113495bSYour Name 
211*5113495bSYour Name 			Consumer: In DEBUG mode: WBM, TQM, TXDMA, RXDMA, REO
212*5113495bSYour Name 
213*5113495bSYour Name 			Producer: In DEBUG mode: WBM, TQM, TXDMA, RXDMA, REO
214*5113495bSYour Name 
215*5113495bSYour Name 
216*5113495bSYour Name 
217*5113495bSYour Name 			Field describing what contents format is of this
218*5113495bSYour Name 			descriptor
219*5113495bSYour Name 
220*5113495bSYour Name 
221*5113495bSYour Name 
222*5113495bSYour Name 			<enum 0 Transmit_MSDU_Link_descriptor >
223*5113495bSYour Name 
224*5113495bSYour Name 			<enum 1 Transmit_MPDU_Link_descriptor >
225*5113495bSYour Name 
226*5113495bSYour Name 			<enum 2 Transmit_MPDU_Queue_head_descriptor>
227*5113495bSYour Name 
228*5113495bSYour Name 			<enum 3 Transmit_MPDU_Queue_ext_descriptor>
229*5113495bSYour Name 
230*5113495bSYour Name 			<enum 4 Transmit_flow_descriptor>
231*5113495bSYour Name 
232*5113495bSYour Name 			<enum 5 Transmit_buffer > NOT TO BE USED:
233*5113495bSYour Name 
234*5113495bSYour Name 
235*5113495bSYour Name 
236*5113495bSYour Name 			<enum 6 Receive_MSDU_Link_descriptor >
237*5113495bSYour Name 
238*5113495bSYour Name 			<enum 7 Receive_MPDU_Link_descriptor >
239*5113495bSYour Name 
240*5113495bSYour Name 			<enum 8 Receive_REO_queue_descriptor >
241*5113495bSYour Name 
242*5113495bSYour Name 			<enum 9 Receive_REO_queue_ext_descriptor >
243*5113495bSYour Name 
244*5113495bSYour Name 
245*5113495bSYour Name 
246*5113495bSYour Name 			<enum 10 Receive_buffer >
247*5113495bSYour Name 
248*5113495bSYour Name 
249*5113495bSYour Name 
250*5113495bSYour Name 			<enum 11 Idle_link_list_entry>
251*5113495bSYour Name 
252*5113495bSYour Name 
253*5113495bSYour Name 
254*5113495bSYour Name 			<legal 0-11>
255*5113495bSYour Name */
256*5113495bSYour Name #define RX_MSDU_LINK_0_DESCRIPTOR_HEADER_BUFFER_TYPE_OFFSET          0x00000000
257*5113495bSYour Name #define RX_MSDU_LINK_0_DESCRIPTOR_HEADER_BUFFER_TYPE_LSB             4
258*5113495bSYour Name #define RX_MSDU_LINK_0_DESCRIPTOR_HEADER_BUFFER_TYPE_MASK            0x000000f0
259*5113495bSYour Name 
260*5113495bSYour Name /* Description		RX_MSDU_LINK_0_DESCRIPTOR_HEADER_RESERVED_0A
261*5113495bSYour Name 
262*5113495bSYour Name 			<legal 0>
263*5113495bSYour Name */
264*5113495bSYour Name #define RX_MSDU_LINK_0_DESCRIPTOR_HEADER_RESERVED_0A_OFFSET          0x00000000
265*5113495bSYour Name #define RX_MSDU_LINK_0_DESCRIPTOR_HEADER_RESERVED_0A_LSB             8
266*5113495bSYour Name #define RX_MSDU_LINK_0_DESCRIPTOR_HEADER_RESERVED_0A_MASK            0xffffff00
267*5113495bSYour Name 
268*5113495bSYour Name  /* EXTERNAL REFERENCE : struct buffer_addr_info next_msdu_link_desc_addr_info */
269*5113495bSYour Name 
270*5113495bSYour Name 
271*5113495bSYour Name /* Description		RX_MSDU_LINK_1_NEXT_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0
272*5113495bSYour Name 
273*5113495bSYour Name 			Address (lower 32 bits) of the MSDU buffer OR
274*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
275*5113495bSYour Name 
276*5113495bSYour Name 
277*5113495bSYour Name 
278*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
279*5113495bSYour Name 
280*5113495bSYour Name 			<legal all>
281*5113495bSYour Name */
282*5113495bSYour Name #define RX_MSDU_LINK_1_NEXT_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_OFFSET 0x00000004
283*5113495bSYour Name #define RX_MSDU_LINK_1_NEXT_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_LSB 0
284*5113495bSYour Name #define RX_MSDU_LINK_1_NEXT_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_MASK 0xffffffff
285*5113495bSYour Name 
286*5113495bSYour Name /* Description		RX_MSDU_LINK_2_NEXT_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32
287*5113495bSYour Name 
288*5113495bSYour Name 			Address (upper 8 bits) of the MSDU buffer OR
289*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
290*5113495bSYour Name 
291*5113495bSYour Name 
292*5113495bSYour Name 
293*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
294*5113495bSYour Name 
295*5113495bSYour Name 			<legal all>
296*5113495bSYour Name */
297*5113495bSYour Name #define RX_MSDU_LINK_2_NEXT_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_OFFSET 0x00000008
298*5113495bSYour Name #define RX_MSDU_LINK_2_NEXT_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_LSB 0
299*5113495bSYour Name #define RX_MSDU_LINK_2_NEXT_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_MASK 0x000000ff
300*5113495bSYour Name 
301*5113495bSYour Name /* Description		RX_MSDU_LINK_2_NEXT_MSDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER
302*5113495bSYour Name 
303*5113495bSYour Name 			Consumer: WBM
304*5113495bSYour Name 
305*5113495bSYour Name 			Producer: SW/FW
306*5113495bSYour Name 
307*5113495bSYour Name 
308*5113495bSYour Name 
309*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
310*5113495bSYour Name 
311*5113495bSYour Name 
312*5113495bSYour Name 
313*5113495bSYour Name 			Indicates to which buffer manager the buffer OR
314*5113495bSYour Name 			MSDU_EXTENSION descriptor OR link descriptor that is being
315*5113495bSYour Name 			pointed to shall be returned after the frame has been
316*5113495bSYour Name 			processed. It is used by WBM for routing purposes.
317*5113495bSYour Name 
318*5113495bSYour Name 
319*5113495bSYour Name 
320*5113495bSYour Name 			<enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned
321*5113495bSYour Name 			to the WMB buffer idle list
322*5113495bSYour Name 
323*5113495bSYour Name 			<enum 1 WBM_IDLE_DESC_LIST> This buffer shall be
324*5113495bSYour Name 			returned to the WMB idle link descriptor idle list
325*5113495bSYour Name 
326*5113495bSYour Name 			<enum 2 FW_BM> This buffer shall be returned to the FW
327*5113495bSYour Name 
328*5113495bSYour Name 			<enum 3 SW0_BM> This buffer shall be returned to the SW,
329*5113495bSYour Name 			ring 0
330*5113495bSYour Name 
331*5113495bSYour Name 			<enum 4 SW1_BM> This buffer shall be returned to the SW,
332*5113495bSYour Name 			ring 1
333*5113495bSYour Name 
334*5113495bSYour Name 			<enum 5 SW2_BM> This buffer shall be returned to the SW,
335*5113495bSYour Name 			ring 2
336*5113495bSYour Name 
337*5113495bSYour Name 			<enum 6 SW3_BM> This buffer shall be returned to the SW,
338*5113495bSYour Name 			ring 3
339*5113495bSYour Name 
340*5113495bSYour Name 			<enum 7 SW4_BM> This buffer shall be returned to the SW,
341*5113495bSYour Name 			ring 4
342*5113495bSYour Name 
343*5113495bSYour Name 
344*5113495bSYour Name 
345*5113495bSYour Name 			<legal all>
346*5113495bSYour Name */
347*5113495bSYour Name #define RX_MSDU_LINK_2_NEXT_MSDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_OFFSET 0x00000008
348*5113495bSYour Name #define RX_MSDU_LINK_2_NEXT_MSDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_LSB 8
349*5113495bSYour Name #define RX_MSDU_LINK_2_NEXT_MSDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_MASK 0x00000700
350*5113495bSYour Name 
351*5113495bSYour Name /* Description		RX_MSDU_LINK_2_NEXT_MSDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE
352*5113495bSYour Name 
353*5113495bSYour Name 			Cookie field exclusively used by SW.
354*5113495bSYour Name 
355*5113495bSYour Name 
356*5113495bSYour Name 
357*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
358*5113495bSYour Name 
359*5113495bSYour Name 
360*5113495bSYour Name 
361*5113495bSYour Name 			HW ignores the contents, accept that it passes the
362*5113495bSYour Name 			programmed value on to other descriptors together with the
363*5113495bSYour Name 			physical address
364*5113495bSYour Name 
365*5113495bSYour Name 
366*5113495bSYour Name 
367*5113495bSYour Name 			Field can be used by SW to for example associate the
368*5113495bSYour Name 			buffers physical address with the virtual address
369*5113495bSYour Name 
370*5113495bSYour Name 			The bit definitions as used by SW are within SW HLD
371*5113495bSYour Name 			specification
372*5113495bSYour Name 
373*5113495bSYour Name 
374*5113495bSYour Name 
375*5113495bSYour Name 			NOTE1:
376*5113495bSYour Name 
377*5113495bSYour Name 			The three most significant bits can have a special
378*5113495bSYour Name 			meaning in case this struct is embedded in a TX_MPDU_DETAILS
379*5113495bSYour Name 			STRUCT, and field transmit_bw_restriction is set
380*5113495bSYour Name 
381*5113495bSYour Name 
382*5113495bSYour Name 
383*5113495bSYour Name 			In case of NON punctured transmission:
384*5113495bSYour Name 
385*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only
386*5113495bSYour Name 
387*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only
388*5113495bSYour Name 
389*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only
390*5113495bSYour Name 
391*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only
392*5113495bSYour Name 
393*5113495bSYour Name 
394*5113495bSYour Name 
395*5113495bSYour Name 			In case of punctured transmission:
396*5113495bSYour Name 
397*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only
398*5113495bSYour Name 
399*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only
400*5113495bSYour Name 
401*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only
402*5113495bSYour Name 
403*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only
404*5113495bSYour Name 
405*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only
406*5113495bSYour Name 
407*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only
408*5113495bSYour Name 
409*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only
410*5113495bSYour Name 
411*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only
412*5113495bSYour Name 
413*5113495bSYour Name 
414*5113495bSYour Name 
415*5113495bSYour Name 			Note: a punctured transmission is indicated by the
416*5113495bSYour Name 			presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler
417*5113495bSYour Name 			TLV
418*5113495bSYour Name 
419*5113495bSYour Name 
420*5113495bSYour Name 
421*5113495bSYour Name 			NOTE 2:The five most significant bits can have a special
422*5113495bSYour Name 			meaning in case this struct is embedded in an
423*5113495bSYour Name 			RX_MSDU_DETAILS STRUCT, and Maple/Spruce Rx DMA is
424*5113495bSYour Name 			configured for passing on the additional info
425*5113495bSYour Name 			from 'RX_MPDU_INFO' structure in 'RX_MPDU_START' TLV
426*5113495bSYour Name 			(FR56821). This is not supported in HastingsPrime, Pine or
427*5113495bSYour Name 			Moselle.
428*5113495bSYour Name 
429*5113495bSYour Name 
430*5113495bSYour Name 
431*5113495bSYour Name 			Sw_buffer_cookie[20:17]: Tid: The TID field in the QoS
432*5113495bSYour Name 			control field
433*5113495bSYour Name 
434*5113495bSYour Name 
435*5113495bSYour Name 
436*5113495bSYour Name 			Sw_buffer_cookie[16]: Mpdu_qos_control_valid: This field
437*5113495bSYour Name 			indicates MPDUs with a QoS control field.
438*5113495bSYour Name 
439*5113495bSYour Name 
440*5113495bSYour Name 
441*5113495bSYour Name 
442*5113495bSYour Name 
443*5113495bSYour Name 			<legal all>
444*5113495bSYour Name */
445*5113495bSYour Name #define RX_MSDU_LINK_2_NEXT_MSDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_OFFSET 0x00000008
446*5113495bSYour Name #define RX_MSDU_LINK_2_NEXT_MSDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_LSB 11
447*5113495bSYour Name #define RX_MSDU_LINK_2_NEXT_MSDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_MASK 0xfffff800
448*5113495bSYour Name 
449*5113495bSYour Name /* Description		RX_MSDU_LINK_3_RECEIVE_QUEUE_NUMBER
450*5113495bSYour Name 
451*5113495bSYour Name 			Indicates the Receive queue to which this MPDU
452*5113495bSYour Name 			descriptor belongs
453*5113495bSYour Name 
454*5113495bSYour Name 			Used for tracking, finding bugs and debugging.
455*5113495bSYour Name 
456*5113495bSYour Name 			<legal all>
457*5113495bSYour Name */
458*5113495bSYour Name #define RX_MSDU_LINK_3_RECEIVE_QUEUE_NUMBER_OFFSET                   0x0000000c
459*5113495bSYour Name #define RX_MSDU_LINK_3_RECEIVE_QUEUE_NUMBER_LSB                      0
460*5113495bSYour Name #define RX_MSDU_LINK_3_RECEIVE_QUEUE_NUMBER_MASK                     0x0000ffff
461*5113495bSYour Name 
462*5113495bSYour Name /* Description		RX_MSDU_LINK_3_FIRST_RX_MSDU_LINK_STRUCT
463*5113495bSYour Name 
464*5113495bSYour Name 			When set, this RX_MSDU_link descriptor is the first one
465*5113495bSYour Name 			in the MSDU link list. Field MSDU_0 points to the very first
466*5113495bSYour Name 			MSDU buffer descriptor in the MPDU
467*5113495bSYour Name 
468*5113495bSYour Name 			<legal all>
469*5113495bSYour Name */
470*5113495bSYour Name #define RX_MSDU_LINK_3_FIRST_RX_MSDU_LINK_STRUCT_OFFSET              0x0000000c
471*5113495bSYour Name #define RX_MSDU_LINK_3_FIRST_RX_MSDU_LINK_STRUCT_LSB                 16
472*5113495bSYour Name #define RX_MSDU_LINK_3_FIRST_RX_MSDU_LINK_STRUCT_MASK                0x00010000
473*5113495bSYour Name 
474*5113495bSYour Name /* Description		RX_MSDU_LINK_3_RESERVED_3A
475*5113495bSYour Name 
476*5113495bSYour Name 			<legal 0>
477*5113495bSYour Name */
478*5113495bSYour Name #define RX_MSDU_LINK_3_RESERVED_3A_OFFSET                            0x0000000c
479*5113495bSYour Name #define RX_MSDU_LINK_3_RESERVED_3A_LSB                               17
480*5113495bSYour Name #define RX_MSDU_LINK_3_RESERVED_3A_MASK                              0xfffe0000
481*5113495bSYour Name 
482*5113495bSYour Name /* Description		RX_MSDU_LINK_4_PN_31_0
483*5113495bSYour Name 
484*5113495bSYour Name 
485*5113495bSYour Name 
486*5113495bSYour Name 
487*5113495bSYour Name 			31-0 bits of the 256-bit packet number bitmap.
488*5113495bSYour Name 
489*5113495bSYour Name 			<legal all>
490*5113495bSYour Name */
491*5113495bSYour Name #define RX_MSDU_LINK_4_PN_31_0_OFFSET                                0x00000010
492*5113495bSYour Name #define RX_MSDU_LINK_4_PN_31_0_LSB                                   0
493*5113495bSYour Name #define RX_MSDU_LINK_4_PN_31_0_MASK                                  0xffffffff
494*5113495bSYour Name 
495*5113495bSYour Name /* Description		RX_MSDU_LINK_5_PN_63_32
496*5113495bSYour Name 
497*5113495bSYour Name 
498*5113495bSYour Name 
499*5113495bSYour Name 
500*5113495bSYour Name 			63-32 bits of the 256-bit packet number bitmap.
501*5113495bSYour Name 
502*5113495bSYour Name 			<legal all>
503*5113495bSYour Name */
504*5113495bSYour Name #define RX_MSDU_LINK_5_PN_63_32_OFFSET                               0x00000014
505*5113495bSYour Name #define RX_MSDU_LINK_5_PN_63_32_LSB                                  0
506*5113495bSYour Name #define RX_MSDU_LINK_5_PN_63_32_MASK                                 0xffffffff
507*5113495bSYour Name 
508*5113495bSYour Name /* Description		RX_MSDU_LINK_6_PN_95_64
509*5113495bSYour Name 
510*5113495bSYour Name 
511*5113495bSYour Name 
512*5113495bSYour Name 
513*5113495bSYour Name 			95-64 bits of the 256-bit packet number bitmap.
514*5113495bSYour Name 
515*5113495bSYour Name 			<legal all>
516*5113495bSYour Name */
517*5113495bSYour Name #define RX_MSDU_LINK_6_PN_95_64_OFFSET                               0x00000018
518*5113495bSYour Name #define RX_MSDU_LINK_6_PN_95_64_LSB                                  0
519*5113495bSYour Name #define RX_MSDU_LINK_6_PN_95_64_MASK                                 0xffffffff
520*5113495bSYour Name 
521*5113495bSYour Name /* Description		RX_MSDU_LINK_7_PN_127_96
522*5113495bSYour Name 
523*5113495bSYour Name 
524*5113495bSYour Name 
525*5113495bSYour Name 
526*5113495bSYour Name 			127-96 bits of the 256-bit packet number bitmap.
527*5113495bSYour Name 
528*5113495bSYour Name 			<legal all>
529*5113495bSYour Name */
530*5113495bSYour Name #define RX_MSDU_LINK_7_PN_127_96_OFFSET                              0x0000001c
531*5113495bSYour Name #define RX_MSDU_LINK_7_PN_127_96_LSB                                 0
532*5113495bSYour Name #define RX_MSDU_LINK_7_PN_127_96_MASK                                0xffffffff
533*5113495bSYour Name 
534*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_msdu_details msdu_0 */
535*5113495bSYour Name 
536*5113495bSYour Name 
537*5113495bSYour Name  /* EXTERNAL REFERENCE : struct buffer_addr_info buffer_addr_info_details */
538*5113495bSYour Name 
539*5113495bSYour Name 
540*5113495bSYour Name /* Description		RX_MSDU_LINK_8_MSDU_0_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0
541*5113495bSYour Name 
542*5113495bSYour Name 			Address (lower 32 bits) of the MSDU buffer OR
543*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
544*5113495bSYour Name 
545*5113495bSYour Name 
546*5113495bSYour Name 
547*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
548*5113495bSYour Name 
549*5113495bSYour Name 			<legal all>
550*5113495bSYour Name */
551*5113495bSYour Name #define RX_MSDU_LINK_8_MSDU_0_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_OFFSET 0x00000020
552*5113495bSYour Name #define RX_MSDU_LINK_8_MSDU_0_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_LSB 0
553*5113495bSYour Name #define RX_MSDU_LINK_8_MSDU_0_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_MASK 0xffffffff
554*5113495bSYour Name 
555*5113495bSYour Name /* Description		RX_MSDU_LINK_9_MSDU_0_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32
556*5113495bSYour Name 
557*5113495bSYour Name 			Address (upper 8 bits) of the MSDU buffer OR
558*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
559*5113495bSYour Name 
560*5113495bSYour Name 
561*5113495bSYour Name 
562*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
563*5113495bSYour Name 
564*5113495bSYour Name 			<legal all>
565*5113495bSYour Name */
566*5113495bSYour Name #define RX_MSDU_LINK_9_MSDU_0_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_OFFSET 0x00000024
567*5113495bSYour Name #define RX_MSDU_LINK_9_MSDU_0_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_LSB 0
568*5113495bSYour Name #define RX_MSDU_LINK_9_MSDU_0_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_MASK 0x000000ff
569*5113495bSYour Name 
570*5113495bSYour Name /* Description		RX_MSDU_LINK_9_MSDU_0_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER
571*5113495bSYour Name 
572*5113495bSYour Name 			Consumer: WBM
573*5113495bSYour Name 
574*5113495bSYour Name 			Producer: SW/FW
575*5113495bSYour Name 
576*5113495bSYour Name 
577*5113495bSYour Name 
578*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
579*5113495bSYour Name 
580*5113495bSYour Name 
581*5113495bSYour Name 
582*5113495bSYour Name 			Indicates to which buffer manager the buffer OR
583*5113495bSYour Name 			MSDU_EXTENSION descriptor OR link descriptor that is being
584*5113495bSYour Name 			pointed to shall be returned after the frame has been
585*5113495bSYour Name 			processed. It is used by WBM for routing purposes.
586*5113495bSYour Name 
587*5113495bSYour Name 
588*5113495bSYour Name 
589*5113495bSYour Name 			<enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned
590*5113495bSYour Name 			to the WMB buffer idle list
591*5113495bSYour Name 
592*5113495bSYour Name 			<enum 1 WBM_IDLE_DESC_LIST> This buffer shall be
593*5113495bSYour Name 			returned to the WMB idle link descriptor idle list
594*5113495bSYour Name 
595*5113495bSYour Name 			<enum 2 FW_BM> This buffer shall be returned to the FW
596*5113495bSYour Name 
597*5113495bSYour Name 			<enum 3 SW0_BM> This buffer shall be returned to the SW,
598*5113495bSYour Name 			ring 0
599*5113495bSYour Name 
600*5113495bSYour Name 			<enum 4 SW1_BM> This buffer shall be returned to the SW,
601*5113495bSYour Name 			ring 1
602*5113495bSYour Name 
603*5113495bSYour Name 			<enum 5 SW2_BM> This buffer shall be returned to the SW,
604*5113495bSYour Name 			ring 2
605*5113495bSYour Name 
606*5113495bSYour Name 			<enum 6 SW3_BM> This buffer shall be returned to the SW,
607*5113495bSYour Name 			ring 3
608*5113495bSYour Name 
609*5113495bSYour Name 			<enum 7 SW4_BM> This buffer shall be returned to the SW,
610*5113495bSYour Name 			ring 4
611*5113495bSYour Name 
612*5113495bSYour Name 
613*5113495bSYour Name 
614*5113495bSYour Name 			<legal all>
615*5113495bSYour Name */
616*5113495bSYour Name #define RX_MSDU_LINK_9_MSDU_0_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_OFFSET 0x00000024
617*5113495bSYour Name #define RX_MSDU_LINK_9_MSDU_0_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_LSB 8
618*5113495bSYour Name #define RX_MSDU_LINK_9_MSDU_0_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_MASK 0x00000700
619*5113495bSYour Name 
620*5113495bSYour Name /* Description		RX_MSDU_LINK_9_MSDU_0_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE
621*5113495bSYour Name 
622*5113495bSYour Name 			Cookie field exclusively used by SW.
623*5113495bSYour Name 
624*5113495bSYour Name 
625*5113495bSYour Name 
626*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
627*5113495bSYour Name 
628*5113495bSYour Name 
629*5113495bSYour Name 
630*5113495bSYour Name 			HW ignores the contents, accept that it passes the
631*5113495bSYour Name 			programmed value on to other descriptors together with the
632*5113495bSYour Name 			physical address
633*5113495bSYour Name 
634*5113495bSYour Name 
635*5113495bSYour Name 
636*5113495bSYour Name 			Field can be used by SW to for example associate the
637*5113495bSYour Name 			buffers physical address with the virtual address
638*5113495bSYour Name 
639*5113495bSYour Name 			The bit definitions as used by SW are within SW HLD
640*5113495bSYour Name 			specification
641*5113495bSYour Name 
642*5113495bSYour Name 
643*5113495bSYour Name 
644*5113495bSYour Name 			NOTE1:
645*5113495bSYour Name 
646*5113495bSYour Name 			The three most significant bits can have a special
647*5113495bSYour Name 			meaning in case this struct is embedded in a TX_MPDU_DETAILS
648*5113495bSYour Name 			STRUCT, and field transmit_bw_restriction is set
649*5113495bSYour Name 
650*5113495bSYour Name 
651*5113495bSYour Name 
652*5113495bSYour Name 			In case of NON punctured transmission:
653*5113495bSYour Name 
654*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only
655*5113495bSYour Name 
656*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only
657*5113495bSYour Name 
658*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only
659*5113495bSYour Name 
660*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only
661*5113495bSYour Name 
662*5113495bSYour Name 
663*5113495bSYour Name 
664*5113495bSYour Name 			In case of punctured transmission:
665*5113495bSYour Name 
666*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only
667*5113495bSYour Name 
668*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only
669*5113495bSYour Name 
670*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only
671*5113495bSYour Name 
672*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only
673*5113495bSYour Name 
674*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only
675*5113495bSYour Name 
676*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only
677*5113495bSYour Name 
678*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only
679*5113495bSYour Name 
680*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only
681*5113495bSYour Name 
682*5113495bSYour Name 
683*5113495bSYour Name 
684*5113495bSYour Name 			Note: a punctured transmission is indicated by the
685*5113495bSYour Name 			presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler
686*5113495bSYour Name 			TLV
687*5113495bSYour Name 
688*5113495bSYour Name 
689*5113495bSYour Name 
690*5113495bSYour Name 			NOTE 2:The five most significant bits can have a special
691*5113495bSYour Name 			meaning in case this struct is embedded in an
692*5113495bSYour Name 			RX_MSDU_DETAILS STRUCT, and Maple/Spruce Rx DMA is
693*5113495bSYour Name 			configured for passing on the additional info
694*5113495bSYour Name 			from 'RX_MPDU_INFO' structure in 'RX_MPDU_START' TLV
695*5113495bSYour Name 			(FR56821). This is not supported in HastingsPrime, Pine or
696*5113495bSYour Name 			Moselle.
697*5113495bSYour Name 
698*5113495bSYour Name 
699*5113495bSYour Name 
700*5113495bSYour Name 			Sw_buffer_cookie[20:17]: Tid: The TID field in the QoS
701*5113495bSYour Name 			control field
702*5113495bSYour Name 
703*5113495bSYour Name 
704*5113495bSYour Name 
705*5113495bSYour Name 			Sw_buffer_cookie[16]: Mpdu_qos_control_valid: This field
706*5113495bSYour Name 			indicates MPDUs with a QoS control field.
707*5113495bSYour Name 
708*5113495bSYour Name 
709*5113495bSYour Name 
710*5113495bSYour Name 
711*5113495bSYour Name 
712*5113495bSYour Name 			<legal all>
713*5113495bSYour Name */
714*5113495bSYour Name #define RX_MSDU_LINK_9_MSDU_0_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_OFFSET 0x00000024
715*5113495bSYour Name #define RX_MSDU_LINK_9_MSDU_0_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_LSB 11
716*5113495bSYour Name #define RX_MSDU_LINK_9_MSDU_0_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_MASK 0xfffff800
717*5113495bSYour Name 
718*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_msdu_desc_info rx_msdu_desc_info_details */
719*5113495bSYour Name 
720*5113495bSYour Name 
721*5113495bSYour Name /* Description		RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG
722*5113495bSYour Name 
723*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
724*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
725*5113495bSYour Name 			buffer used by the MSDU
726*5113495bSYour Name 
727*5113495bSYour Name 
728*5113495bSYour Name 
729*5113495bSYour Name 			<enum 0 Not_first_msdu> This is not the first MSDU in
730*5113495bSYour Name 			the MPDU.
731*5113495bSYour Name 
732*5113495bSYour Name 			<enum 1 first_msdu> This MSDU is the first one in the
733*5113495bSYour Name 			MPDU.
734*5113495bSYour Name 
735*5113495bSYour Name 
736*5113495bSYour Name 
737*5113495bSYour Name 			<legal all>
738*5113495bSYour Name */
739*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000028
740*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_LSB 0
741*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_MASK 0x00000001
742*5113495bSYour Name 
743*5113495bSYour Name /* Description		RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG
744*5113495bSYour Name 
745*5113495bSYour Name 			Consumer: WBM/REO/SW/FW
746*5113495bSYour Name 
747*5113495bSYour Name 			Producer: RXDMA
748*5113495bSYour Name 
749*5113495bSYour Name 
750*5113495bSYour Name 
751*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
752*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
753*5113495bSYour Name 			buffer used by the MSDU
754*5113495bSYour Name 
755*5113495bSYour Name 
756*5113495bSYour Name 
757*5113495bSYour Name 			<enum 0 Not_last_msdu> There are more MSDUs linked to
758*5113495bSYour Name 			this MSDU that belongs to this MPDU
759*5113495bSYour Name 
760*5113495bSYour Name 			<enum 1 Last_msdu> this MSDU is the last one in the
761*5113495bSYour Name 			MPDU. This setting is only allowed in combination with
762*5113495bSYour Name 			'Msdu_continuation' set to 0. This implies that when an msdu
763*5113495bSYour Name 			is spread out over multiple buffers and thus
764*5113495bSYour Name 			msdu_continuation is set, only for the very last buffer of
765*5113495bSYour Name 			the msdu, can the 'last_msdu_in_mpdu_flag' be set.
766*5113495bSYour Name 
767*5113495bSYour Name 
768*5113495bSYour Name 
769*5113495bSYour Name 			When both first_msdu_in_mpdu_flag and
770*5113495bSYour Name 			last_msdu_in_mpdu_flag are set, the MPDU that this MSDU
771*5113495bSYour Name 			belongs to only contains a single MSDU.
772*5113495bSYour Name 
773*5113495bSYour Name 
774*5113495bSYour Name 
775*5113495bSYour Name 
776*5113495bSYour Name 
777*5113495bSYour Name 			<legal all>
778*5113495bSYour Name */
779*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000028
780*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_LSB 1
781*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_MASK 0x00000002
782*5113495bSYour Name 
783*5113495bSYour Name /* Description		RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION
784*5113495bSYour Name 
785*5113495bSYour Name 			When set, this MSDU buffer was not able to hold the
786*5113495bSYour Name 			entire MSDU. The next buffer will therefor contain
787*5113495bSYour Name 			additional information related to this MSDU.
788*5113495bSYour Name 
789*5113495bSYour Name 
790*5113495bSYour Name 
791*5113495bSYour Name 			<legal all>
792*5113495bSYour Name */
793*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_OFFSET 0x00000028
794*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_LSB 2
795*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_MASK 0x00000004
796*5113495bSYour Name 
797*5113495bSYour Name /* Description		RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH
798*5113495bSYour Name 
799*5113495bSYour Name 			Parsed from RX_MSDU_START TLV . In the case MSDU spans
800*5113495bSYour Name 			over multiple buffers, this field will be valid in the First
801*5113495bSYour Name 			buffer used by MSDU.
802*5113495bSYour Name 
803*5113495bSYour Name 
804*5113495bSYour Name 
805*5113495bSYour Name 			Full MSDU length in bytes after decapsulation.
806*5113495bSYour Name 
807*5113495bSYour Name 
808*5113495bSYour Name 
809*5113495bSYour Name 			This field is still valid for MPDU frames without
810*5113495bSYour Name 			A-MSDU.  It still represents MSDU length after decapsulation
811*5113495bSYour Name 
812*5113495bSYour Name 
813*5113495bSYour Name 
814*5113495bSYour Name 			Or in case of RAW MPDUs, it indicates the length of the
815*5113495bSYour Name 			entire MPDU (without FCS field)
816*5113495bSYour Name 
817*5113495bSYour Name 			<legal all>
818*5113495bSYour Name */
819*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_OFFSET 0x00000028
820*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_LSB 3
821*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_MASK 0x0001fff8
822*5113495bSYour Name 
823*5113495bSYour Name /* Description		RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION
824*5113495bSYour Name 
825*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
826*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
827*5113495bSYour Name 			buffer used by the MSDU
828*5113495bSYour Name 
829*5113495bSYour Name 
830*5113495bSYour Name 
831*5113495bSYour Name 			The ID of the REO exit ring where the MSDU frame shall
832*5113495bSYour Name 			push after (MPDU level) reordering has finished.
833*5113495bSYour Name 
834*5113495bSYour Name 
835*5113495bSYour Name 
836*5113495bSYour Name 			<enum 0 reo_destination_tcl> Reo will push the frame
837*5113495bSYour Name 			into the REO2TCL ring
838*5113495bSYour Name 
839*5113495bSYour Name 			<enum 1 reo_destination_sw1> Reo will push the frame
840*5113495bSYour Name 			into the REO2SW1 ring
841*5113495bSYour Name 
842*5113495bSYour Name 			<enum 2 reo_destination_sw2> Reo will push the frame
843*5113495bSYour Name 			into the REO2SW2 ring
844*5113495bSYour Name 
845*5113495bSYour Name 			<enum 3 reo_destination_sw3> Reo will push the frame
846*5113495bSYour Name 			into the REO2SW3 ring
847*5113495bSYour Name 
848*5113495bSYour Name 			<enum 4 reo_destination_sw4> Reo will push the frame
849*5113495bSYour Name 			into the REO2SW4 ring
850*5113495bSYour Name 
851*5113495bSYour Name 			<enum 5 reo_destination_release> Reo will push the frame
852*5113495bSYour Name 			into the REO_release ring
853*5113495bSYour Name 
854*5113495bSYour Name 			<enum 6 reo_destination_fw> Reo will push the frame into
855*5113495bSYour Name 			the REO2FW ring
856*5113495bSYour Name 
857*5113495bSYour Name 			<enum 7 reo_destination_sw5> Reo will push the frame
858*5113495bSYour Name 			into the REO2SW5 ring (REO remaps this in chips without
859*5113495bSYour Name 			REO2SW5 ring, e.g. Pine)
860*5113495bSYour Name 
861*5113495bSYour Name 			<enum 8 reo_destination_sw6> Reo will push the frame
862*5113495bSYour Name 			into the REO2SW6 ring (REO remaps this in chips without
863*5113495bSYour Name 			REO2SW6 ring, e.g. Pine)
864*5113495bSYour Name 
865*5113495bSYour Name 			 <enum 9 reo_destination_9> REO remaps this <enum 10
866*5113495bSYour Name 			reo_destination_10> REO remaps this
867*5113495bSYour Name 
868*5113495bSYour Name 			<enum 11 reo_destination_11> REO remaps this
869*5113495bSYour Name 
870*5113495bSYour Name 			<enum 12 reo_destination_12> REO remaps this <enum 13
871*5113495bSYour Name 			reo_destination_13> REO remaps this
872*5113495bSYour Name 
873*5113495bSYour Name 			<enum 14 reo_destination_14> REO remaps this
874*5113495bSYour Name 
875*5113495bSYour Name 			<enum 15 reo_destination_15> REO remaps this
876*5113495bSYour Name 
877*5113495bSYour Name 			<enum 16 reo_destination_16> REO remaps this
878*5113495bSYour Name 
879*5113495bSYour Name 			<enum 17 reo_destination_17> REO remaps this
880*5113495bSYour Name 
881*5113495bSYour Name 			<enum 18 reo_destination_18> REO remaps this
882*5113495bSYour Name 
883*5113495bSYour Name 			<enum 19 reo_destination_19> REO remaps this
884*5113495bSYour Name 
885*5113495bSYour Name 			<enum 20 reo_destination_20> REO remaps this
886*5113495bSYour Name 
887*5113495bSYour Name 			<enum 21 reo_destination_21> REO remaps this
888*5113495bSYour Name 
889*5113495bSYour Name 			<enum 22 reo_destination_22> REO remaps this
890*5113495bSYour Name 
891*5113495bSYour Name 			<enum 23 reo_destination_23> REO remaps this
892*5113495bSYour Name 
893*5113495bSYour Name 			<enum 24 reo_destination_24> REO remaps this
894*5113495bSYour Name 
895*5113495bSYour Name 			<enum 25 reo_destination_25> REO remaps this
896*5113495bSYour Name 
897*5113495bSYour Name 			<enum 26 reo_destination_26> REO remaps this
898*5113495bSYour Name 
899*5113495bSYour Name 			<enum 27 reo_destination_27> REO remaps this
900*5113495bSYour Name 
901*5113495bSYour Name 			<enum 28 reo_destination_28> REO remaps this
902*5113495bSYour Name 
903*5113495bSYour Name 			<enum 29 reo_destination_29> REO remaps this
904*5113495bSYour Name 
905*5113495bSYour Name 			<enum 30 reo_destination_30> REO remaps this
906*5113495bSYour Name 
907*5113495bSYour Name 			<enum 31 reo_destination_31> REO remaps this
908*5113495bSYour Name 
909*5113495bSYour Name 
910*5113495bSYour Name 
911*5113495bSYour Name 			<legal all>
912*5113495bSYour Name */
913*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_OFFSET 0x00000028
914*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_LSB 17
915*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_MASK 0x003e0000
916*5113495bSYour Name 
917*5113495bSYour Name /* Description		RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP
918*5113495bSYour Name 
919*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
920*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
921*5113495bSYour Name 			buffer used by the MSDU
922*5113495bSYour Name 
923*5113495bSYour Name 
924*5113495bSYour Name 
925*5113495bSYour Name 			When set, REO shall drop this MSDU and not forward it to
926*5113495bSYour Name 			any other ring...
927*5113495bSYour Name 
928*5113495bSYour Name 			<legal all>
929*5113495bSYour Name */
930*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_OFFSET 0x00000028
931*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_LSB 22
932*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_MASK 0x00400000
933*5113495bSYour Name 
934*5113495bSYour Name /* Description		RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID
935*5113495bSYour Name 
936*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
937*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
938*5113495bSYour Name 			buffer used by the MSDU
939*5113495bSYour Name 
940*5113495bSYour Name 
941*5113495bSYour Name 
942*5113495bSYour Name 			Indicates that OLE found a valid SA entry for this MSDU
943*5113495bSYour Name 
944*5113495bSYour Name 			<legal all>
945*5113495bSYour Name */
946*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_OFFSET 0x00000028
947*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_LSB 23
948*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_MASK 0x00800000
949*5113495bSYour Name 
950*5113495bSYour Name /* Description		RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT
951*5113495bSYour Name 
952*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
953*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
954*5113495bSYour Name 			buffer used by the MSDU
955*5113495bSYour Name 
956*5113495bSYour Name 
957*5113495bSYour Name 
958*5113495bSYour Name 			Indicates an unsuccessful MAC source address search due
959*5113495bSYour Name 			to the expiring of the search timer for this MSDU
960*5113495bSYour Name 
961*5113495bSYour Name 			<legal all>
962*5113495bSYour Name */
963*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_OFFSET 0x00000028
964*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_LSB 24
965*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_MASK 0x01000000
966*5113495bSYour Name 
967*5113495bSYour Name /* Description		RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID
968*5113495bSYour Name 
969*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
970*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
971*5113495bSYour Name 			buffer used by the MSDU
972*5113495bSYour Name 
973*5113495bSYour Name 
974*5113495bSYour Name 
975*5113495bSYour Name 			Indicates that OLE found a valid DA entry for this MSDU
976*5113495bSYour Name 
977*5113495bSYour Name 			<legal all>
978*5113495bSYour Name */
979*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_OFFSET 0x00000028
980*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_LSB 25
981*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_MASK 0x02000000
982*5113495bSYour Name 
983*5113495bSYour Name /* Description		RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC
984*5113495bSYour Name 
985*5113495bSYour Name 			Field Only valid if da_is_valid is set
986*5113495bSYour Name 
987*5113495bSYour Name 
988*5113495bSYour Name 
989*5113495bSYour Name 			Indicates the DA address was a Multicast of Broadcast
990*5113495bSYour Name 			address for this MSDU
991*5113495bSYour Name 
992*5113495bSYour Name 			<legal all>
993*5113495bSYour Name */
994*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_OFFSET 0x00000028
995*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_LSB 26
996*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_MASK 0x04000000
997*5113495bSYour Name 
998*5113495bSYour Name /* Description		RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT
999*5113495bSYour Name 
1000*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
1001*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
1002*5113495bSYour Name 			buffer used by the MSDU
1003*5113495bSYour Name 
1004*5113495bSYour Name 
1005*5113495bSYour Name 
1006*5113495bSYour Name 			Indicates an unsuccessful MAC destination address search
1007*5113495bSYour Name 			due to the expiring of the search timer for this MSDU
1008*5113495bSYour Name 
1009*5113495bSYour Name 			<legal all>
1010*5113495bSYour Name */
1011*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_OFFSET 0x00000028
1012*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_LSB 27
1013*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_MASK 0x08000000
1014*5113495bSYour Name 
1015*5113495bSYour Name /* Description		RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB
1016*5113495bSYour Name 
1017*5113495bSYour Name 			Passed on from 'RX_MSDU_END' TLV (only the MSB is
1018*5113495bSYour Name 			reported as the LSB is always zero)
1019*5113495bSYour Name 
1020*5113495bSYour Name 			Number of bytes padded to make sure that the L3 header
1021*5113495bSYour Name 			will always start of a Dword boundary
1022*5113495bSYour Name 
1023*5113495bSYour Name 			<legal all>
1024*5113495bSYour Name */
1025*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB_OFFSET 0x00000028
1026*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB_LSB 28
1027*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB_MASK 0x10000000
1028*5113495bSYour Name 
1029*5113495bSYour Name /* Description		RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL
1030*5113495bSYour Name 
1031*5113495bSYour Name 			Passed on from 'RX_ATTENTION' TLV
1032*5113495bSYour Name 
1033*5113495bSYour Name 			Indicates that the computed checksum did not match the
1034*5113495bSYour Name 			checksum in the TCP/UDP header.
1035*5113495bSYour Name 
1036*5113495bSYour Name 			<legal all>
1037*5113495bSYour Name */
1038*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL_OFFSET 0x00000028
1039*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL_LSB 29
1040*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL_MASK 0x20000000
1041*5113495bSYour Name 
1042*5113495bSYour Name /* Description		RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL
1043*5113495bSYour Name 
1044*5113495bSYour Name 			Passed on from 'RX_ATTENTION' TLV
1045*5113495bSYour Name 
1046*5113495bSYour Name 			Indicates that the computed checksum did not match the
1047*5113495bSYour Name 			checksum in the IP header.
1048*5113495bSYour Name 
1049*5113495bSYour Name 			<legal all>
1050*5113495bSYour Name */
1051*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL_OFFSET 0x00000028
1052*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL_LSB 30
1053*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL_MASK 0x40000000
1054*5113495bSYour Name 
1055*5113495bSYour Name /* Description		RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_RAW_MPDU
1056*5113495bSYour Name 
1057*5113495bSYour Name 			Passed on from 'RX_MPDU_INFO' structure in
1058*5113495bSYour Name 			'RX_MPDU_START' TLV
1059*5113495bSYour Name 
1060*5113495bSYour Name 			Set to 1 by RXOLE when it has not performed any 802.11
1061*5113495bSYour Name 			to Ethernet/Natvie WiFi header conversion on this MPDU.
1062*5113495bSYour Name 
1063*5113495bSYour Name 			<legal all>
1064*5113495bSYour Name */
1065*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_RAW_MPDU_OFFSET 0x00000028
1066*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_RAW_MPDU_LSB 31
1067*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_RAW_MPDU_MASK 0x80000000
1068*5113495bSYour Name 
1069*5113495bSYour Name /* Description		RX_MSDU_LINK_11_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_OR_SW_PEER_ID_14_0
1070*5113495bSYour Name 
1071*5113495bSYour Name 			Passed on from 'RX_MSDU_END' TLV (one MSB is omitted)
1072*5113495bSYour Name 
1073*5113495bSYour Name 			Based on a register configuration in RXDMA, this field
1074*5113495bSYour Name 			will contain:
1075*5113495bSYour Name 
1076*5113495bSYour Name 			The offset in the address search table which matches the
1077*5113495bSYour Name 			MAC source address
1078*5113495bSYour Name 
1079*5113495bSYour Name 			OR
1080*5113495bSYour Name 
1081*5113495bSYour Name 
1082*5113495bSYour Name 
1083*5113495bSYour Name 			'sw_peer_id' from the address search entry corresponding
1084*5113495bSYour Name 			to the source address of the MSDU
1085*5113495bSYour Name 
1086*5113495bSYour Name 			<legal all>
1087*5113495bSYour Name */
1088*5113495bSYour Name #define RX_MSDU_LINK_11_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_OR_SW_PEER_ID_14_0_OFFSET 0x0000002c
1089*5113495bSYour Name #define RX_MSDU_LINK_11_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_OR_SW_PEER_ID_14_0_LSB 0
1090*5113495bSYour Name #define RX_MSDU_LINK_11_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_OR_SW_PEER_ID_14_0_MASK 0x00007fff
1091*5113495bSYour Name 
1092*5113495bSYour Name /* Description		RX_MSDU_LINK_11_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_MPDU_AST_IDX_OR_SW_PEER_ID_14_0
1093*5113495bSYour Name 
1094*5113495bSYour Name 			Passed on from 'RX_MPDU_INFO' structure in
1095*5113495bSYour Name 			'RX_MPDU_START' TLV (one MSB is omitted)
1096*5113495bSYour Name 
1097*5113495bSYour Name 
1098*5113495bSYour Name 
1099*5113495bSYour Name 			Based on a register configuration in RXDMA, this field
1100*5113495bSYour Name 			will contain:
1101*5113495bSYour Name 
1102*5113495bSYour Name 			The index of the address search entry corresponding to
1103*5113495bSYour Name 			this MPDU (a value of 0xFFFF indicates an invalid AST index,
1104*5113495bSYour Name 			meaning that no AST entry was found or no AST search was
1105*5113495bSYour Name 			performed)
1106*5113495bSYour Name 
1107*5113495bSYour Name 
1108*5113495bSYour Name 
1109*5113495bSYour Name 			OR:
1110*5113495bSYour Name 
1111*5113495bSYour Name 
1112*5113495bSYour Name 
1113*5113495bSYour Name 			'sw_peer_id' from the address search entry corresponding
1114*5113495bSYour Name 			to this MPDU (in case of ndp or phy_err or
1115*5113495bSYour Name 			AST_based_lookup_valid == 0, this field will be set to 0)
1116*5113495bSYour Name 
1117*5113495bSYour Name 			<legal all>
1118*5113495bSYour Name */
1119*5113495bSYour Name #define RX_MSDU_LINK_11_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_MPDU_AST_IDX_OR_SW_PEER_ID_14_0_OFFSET 0x0000002c
1120*5113495bSYour Name #define RX_MSDU_LINK_11_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_MPDU_AST_IDX_OR_SW_PEER_ID_14_0_LSB 15
1121*5113495bSYour Name #define RX_MSDU_LINK_11_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_MPDU_AST_IDX_OR_SW_PEER_ID_14_0_MASK 0x3fff8000
1122*5113495bSYour Name 
1123*5113495bSYour Name /* Description		RX_MSDU_LINK_11_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_FR_DS
1124*5113495bSYour Name 
1125*5113495bSYour Name 			Passed on from 'RX_MPDU_INFO' structure in
1126*5113495bSYour Name 			'RX_MPDU_START' TLV
1127*5113495bSYour Name 
1128*5113495bSYour Name 			Set if the 'from DS' bit is set in the frame control.
1129*5113495bSYour Name 
1130*5113495bSYour Name 			<legal all>
1131*5113495bSYour Name */
1132*5113495bSYour Name #define RX_MSDU_LINK_11_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_FR_DS_OFFSET 0x0000002c
1133*5113495bSYour Name #define RX_MSDU_LINK_11_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_FR_DS_LSB   30
1134*5113495bSYour Name #define RX_MSDU_LINK_11_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_FR_DS_MASK  0x40000000
1135*5113495bSYour Name 
1136*5113495bSYour Name /* Description		RX_MSDU_LINK_11_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_TO_DS
1137*5113495bSYour Name 
1138*5113495bSYour Name 			Passed on from 'RX_MPDU_INFO' structure in
1139*5113495bSYour Name 			'RX_MPDU_START' TLV
1140*5113495bSYour Name 
1141*5113495bSYour Name 			Set if the 'to DS' bit is set in the frame control.
1142*5113495bSYour Name 
1143*5113495bSYour Name 			<legal all>
1144*5113495bSYour Name */
1145*5113495bSYour Name #define RX_MSDU_LINK_11_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_TO_DS_OFFSET 0x0000002c
1146*5113495bSYour Name #define RX_MSDU_LINK_11_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_TO_DS_LSB   31
1147*5113495bSYour Name #define RX_MSDU_LINK_11_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_TO_DS_MASK  0x80000000
1148*5113495bSYour Name 
1149*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_msdu_details msdu_1 */
1150*5113495bSYour Name 
1151*5113495bSYour Name 
1152*5113495bSYour Name  /* EXTERNAL REFERENCE : struct buffer_addr_info buffer_addr_info_details */
1153*5113495bSYour Name 
1154*5113495bSYour Name 
1155*5113495bSYour Name /* Description		RX_MSDU_LINK_12_MSDU_1_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0
1156*5113495bSYour Name 
1157*5113495bSYour Name 			Address (lower 32 bits) of the MSDU buffer OR
1158*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
1159*5113495bSYour Name 
1160*5113495bSYour Name 
1161*5113495bSYour Name 
1162*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1163*5113495bSYour Name 
1164*5113495bSYour Name 			<legal all>
1165*5113495bSYour Name */
1166*5113495bSYour Name #define RX_MSDU_LINK_12_MSDU_1_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_OFFSET 0x00000030
1167*5113495bSYour Name #define RX_MSDU_LINK_12_MSDU_1_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_LSB 0
1168*5113495bSYour Name #define RX_MSDU_LINK_12_MSDU_1_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_MASK 0xffffffff
1169*5113495bSYour Name 
1170*5113495bSYour Name /* Description		RX_MSDU_LINK_13_MSDU_1_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32
1171*5113495bSYour Name 
1172*5113495bSYour Name 			Address (upper 8 bits) of the MSDU buffer OR
1173*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
1174*5113495bSYour Name 
1175*5113495bSYour Name 
1176*5113495bSYour Name 
1177*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1178*5113495bSYour Name 
1179*5113495bSYour Name 			<legal all>
1180*5113495bSYour Name */
1181*5113495bSYour Name #define RX_MSDU_LINK_13_MSDU_1_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_OFFSET 0x00000034
1182*5113495bSYour Name #define RX_MSDU_LINK_13_MSDU_1_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_LSB 0
1183*5113495bSYour Name #define RX_MSDU_LINK_13_MSDU_1_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_MASK 0x000000ff
1184*5113495bSYour Name 
1185*5113495bSYour Name /* Description		RX_MSDU_LINK_13_MSDU_1_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER
1186*5113495bSYour Name 
1187*5113495bSYour Name 			Consumer: WBM
1188*5113495bSYour Name 
1189*5113495bSYour Name 			Producer: SW/FW
1190*5113495bSYour Name 
1191*5113495bSYour Name 
1192*5113495bSYour Name 
1193*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1194*5113495bSYour Name 
1195*5113495bSYour Name 
1196*5113495bSYour Name 
1197*5113495bSYour Name 			Indicates to which buffer manager the buffer OR
1198*5113495bSYour Name 			MSDU_EXTENSION descriptor OR link descriptor that is being
1199*5113495bSYour Name 			pointed to shall be returned after the frame has been
1200*5113495bSYour Name 			processed. It is used by WBM for routing purposes.
1201*5113495bSYour Name 
1202*5113495bSYour Name 
1203*5113495bSYour Name 
1204*5113495bSYour Name 			<enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned
1205*5113495bSYour Name 			to the WMB buffer idle list
1206*5113495bSYour Name 
1207*5113495bSYour Name 			<enum 1 WBM_IDLE_DESC_LIST> This buffer shall be
1208*5113495bSYour Name 			returned to the WMB idle link descriptor idle list
1209*5113495bSYour Name 
1210*5113495bSYour Name 			<enum 2 FW_BM> This buffer shall be returned to the FW
1211*5113495bSYour Name 
1212*5113495bSYour Name 			<enum 3 SW0_BM> This buffer shall be returned to the SW,
1213*5113495bSYour Name 			ring 0
1214*5113495bSYour Name 
1215*5113495bSYour Name 			<enum 4 SW1_BM> This buffer shall be returned to the SW,
1216*5113495bSYour Name 			ring 1
1217*5113495bSYour Name 
1218*5113495bSYour Name 			<enum 5 SW2_BM> This buffer shall be returned to the SW,
1219*5113495bSYour Name 			ring 2
1220*5113495bSYour Name 
1221*5113495bSYour Name 			<enum 6 SW3_BM> This buffer shall be returned to the SW,
1222*5113495bSYour Name 			ring 3
1223*5113495bSYour Name 
1224*5113495bSYour Name 			<enum 7 SW4_BM> This buffer shall be returned to the SW,
1225*5113495bSYour Name 			ring 4
1226*5113495bSYour Name 
1227*5113495bSYour Name 
1228*5113495bSYour Name 
1229*5113495bSYour Name 			<legal all>
1230*5113495bSYour Name */
1231*5113495bSYour Name #define RX_MSDU_LINK_13_MSDU_1_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_OFFSET 0x00000034
1232*5113495bSYour Name #define RX_MSDU_LINK_13_MSDU_1_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_LSB 8
1233*5113495bSYour Name #define RX_MSDU_LINK_13_MSDU_1_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_MASK 0x00000700
1234*5113495bSYour Name 
1235*5113495bSYour Name /* Description		RX_MSDU_LINK_13_MSDU_1_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE
1236*5113495bSYour Name 
1237*5113495bSYour Name 			Cookie field exclusively used by SW.
1238*5113495bSYour Name 
1239*5113495bSYour Name 
1240*5113495bSYour Name 
1241*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1242*5113495bSYour Name 
1243*5113495bSYour Name 
1244*5113495bSYour Name 
1245*5113495bSYour Name 			HW ignores the contents, accept that it passes the
1246*5113495bSYour Name 			programmed value on to other descriptors together with the
1247*5113495bSYour Name 			physical address
1248*5113495bSYour Name 
1249*5113495bSYour Name 
1250*5113495bSYour Name 
1251*5113495bSYour Name 			Field can be used by SW to for example associate the
1252*5113495bSYour Name 			buffers physical address with the virtual address
1253*5113495bSYour Name 
1254*5113495bSYour Name 			The bit definitions as used by SW are within SW HLD
1255*5113495bSYour Name 			specification
1256*5113495bSYour Name 
1257*5113495bSYour Name 
1258*5113495bSYour Name 
1259*5113495bSYour Name 			NOTE1:
1260*5113495bSYour Name 
1261*5113495bSYour Name 			The three most significant bits can have a special
1262*5113495bSYour Name 			meaning in case this struct is embedded in a TX_MPDU_DETAILS
1263*5113495bSYour Name 			STRUCT, and field transmit_bw_restriction is set
1264*5113495bSYour Name 
1265*5113495bSYour Name 
1266*5113495bSYour Name 
1267*5113495bSYour Name 			In case of NON punctured transmission:
1268*5113495bSYour Name 
1269*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only
1270*5113495bSYour Name 
1271*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only
1272*5113495bSYour Name 
1273*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only
1274*5113495bSYour Name 
1275*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only
1276*5113495bSYour Name 
1277*5113495bSYour Name 
1278*5113495bSYour Name 
1279*5113495bSYour Name 			In case of punctured transmission:
1280*5113495bSYour Name 
1281*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only
1282*5113495bSYour Name 
1283*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only
1284*5113495bSYour Name 
1285*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only
1286*5113495bSYour Name 
1287*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only
1288*5113495bSYour Name 
1289*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only
1290*5113495bSYour Name 
1291*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only
1292*5113495bSYour Name 
1293*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only
1294*5113495bSYour Name 
1295*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only
1296*5113495bSYour Name 
1297*5113495bSYour Name 
1298*5113495bSYour Name 
1299*5113495bSYour Name 			Note: a punctured transmission is indicated by the
1300*5113495bSYour Name 			presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler
1301*5113495bSYour Name 			TLV
1302*5113495bSYour Name 
1303*5113495bSYour Name 
1304*5113495bSYour Name 
1305*5113495bSYour Name 			NOTE 2:The five most significant bits can have a special
1306*5113495bSYour Name 			meaning in case this struct is embedded in an
1307*5113495bSYour Name 			RX_MSDU_DETAILS STRUCT, and Maple/Spruce Rx DMA is
1308*5113495bSYour Name 			configured for passing on the additional info
1309*5113495bSYour Name 			from 'RX_MPDU_INFO' structure in 'RX_MPDU_START' TLV
1310*5113495bSYour Name 			(FR56821). This is not supported in HastingsPrime, Pine or
1311*5113495bSYour Name 			Moselle.
1312*5113495bSYour Name 
1313*5113495bSYour Name 
1314*5113495bSYour Name 
1315*5113495bSYour Name 			Sw_buffer_cookie[20:17]: Tid: The TID field in the QoS
1316*5113495bSYour Name 			control field
1317*5113495bSYour Name 
1318*5113495bSYour Name 
1319*5113495bSYour Name 
1320*5113495bSYour Name 			Sw_buffer_cookie[16]: Mpdu_qos_control_valid: This field
1321*5113495bSYour Name 			indicates MPDUs with a QoS control field.
1322*5113495bSYour Name 
1323*5113495bSYour Name 
1324*5113495bSYour Name 
1325*5113495bSYour Name 
1326*5113495bSYour Name 
1327*5113495bSYour Name 			<legal all>
1328*5113495bSYour Name */
1329*5113495bSYour Name #define RX_MSDU_LINK_13_MSDU_1_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_OFFSET 0x00000034
1330*5113495bSYour Name #define RX_MSDU_LINK_13_MSDU_1_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_LSB 11
1331*5113495bSYour Name #define RX_MSDU_LINK_13_MSDU_1_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_MASK 0xfffff800
1332*5113495bSYour Name 
1333*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_msdu_desc_info rx_msdu_desc_info_details */
1334*5113495bSYour Name 
1335*5113495bSYour Name 
1336*5113495bSYour Name /* Description		RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG
1337*5113495bSYour Name 
1338*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
1339*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
1340*5113495bSYour Name 			buffer used by the MSDU
1341*5113495bSYour Name 
1342*5113495bSYour Name 
1343*5113495bSYour Name 
1344*5113495bSYour Name 			<enum 0 Not_first_msdu> This is not the first MSDU in
1345*5113495bSYour Name 			the MPDU.
1346*5113495bSYour Name 
1347*5113495bSYour Name 			<enum 1 first_msdu> This MSDU is the first one in the
1348*5113495bSYour Name 			MPDU.
1349*5113495bSYour Name 
1350*5113495bSYour Name 
1351*5113495bSYour Name 
1352*5113495bSYour Name 			<legal all>
1353*5113495bSYour Name */
1354*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000038
1355*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_LSB 0
1356*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_MASK 0x00000001
1357*5113495bSYour Name 
1358*5113495bSYour Name /* Description		RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG
1359*5113495bSYour Name 
1360*5113495bSYour Name 			Consumer: WBM/REO/SW/FW
1361*5113495bSYour Name 
1362*5113495bSYour Name 			Producer: RXDMA
1363*5113495bSYour Name 
1364*5113495bSYour Name 
1365*5113495bSYour Name 
1366*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
1367*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
1368*5113495bSYour Name 			buffer used by the MSDU
1369*5113495bSYour Name 
1370*5113495bSYour Name 
1371*5113495bSYour Name 
1372*5113495bSYour Name 			<enum 0 Not_last_msdu> There are more MSDUs linked to
1373*5113495bSYour Name 			this MSDU that belongs to this MPDU
1374*5113495bSYour Name 
1375*5113495bSYour Name 			<enum 1 Last_msdu> this MSDU is the last one in the
1376*5113495bSYour Name 			MPDU. This setting is only allowed in combination with
1377*5113495bSYour Name 			'Msdu_continuation' set to 0. This implies that when an msdu
1378*5113495bSYour Name 			is spread out over multiple buffers and thus
1379*5113495bSYour Name 			msdu_continuation is set, only for the very last buffer of
1380*5113495bSYour Name 			the msdu, can the 'last_msdu_in_mpdu_flag' be set.
1381*5113495bSYour Name 
1382*5113495bSYour Name 
1383*5113495bSYour Name 
1384*5113495bSYour Name 			When both first_msdu_in_mpdu_flag and
1385*5113495bSYour Name 			last_msdu_in_mpdu_flag are set, the MPDU that this MSDU
1386*5113495bSYour Name 			belongs to only contains a single MSDU.
1387*5113495bSYour Name 
1388*5113495bSYour Name 
1389*5113495bSYour Name 
1390*5113495bSYour Name 
1391*5113495bSYour Name 
1392*5113495bSYour Name 			<legal all>
1393*5113495bSYour Name */
1394*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000038
1395*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_LSB 1
1396*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_MASK 0x00000002
1397*5113495bSYour Name 
1398*5113495bSYour Name /* Description		RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION
1399*5113495bSYour Name 
1400*5113495bSYour Name 			When set, this MSDU buffer was not able to hold the
1401*5113495bSYour Name 			entire MSDU. The next buffer will therefor contain
1402*5113495bSYour Name 			additional information related to this MSDU.
1403*5113495bSYour Name 
1404*5113495bSYour Name 
1405*5113495bSYour Name 
1406*5113495bSYour Name 			<legal all>
1407*5113495bSYour Name */
1408*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_OFFSET 0x00000038
1409*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_LSB 2
1410*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_MASK 0x00000004
1411*5113495bSYour Name 
1412*5113495bSYour Name /* Description		RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH
1413*5113495bSYour Name 
1414*5113495bSYour Name 			Parsed from RX_MSDU_START TLV . In the case MSDU spans
1415*5113495bSYour Name 			over multiple buffers, this field will be valid in the First
1416*5113495bSYour Name 			buffer used by MSDU.
1417*5113495bSYour Name 
1418*5113495bSYour Name 
1419*5113495bSYour Name 
1420*5113495bSYour Name 			Full MSDU length in bytes after decapsulation.
1421*5113495bSYour Name 
1422*5113495bSYour Name 
1423*5113495bSYour Name 
1424*5113495bSYour Name 			This field is still valid for MPDU frames without
1425*5113495bSYour Name 			A-MSDU.  It still represents MSDU length after decapsulation
1426*5113495bSYour Name 
1427*5113495bSYour Name 
1428*5113495bSYour Name 
1429*5113495bSYour Name 			Or in case of RAW MPDUs, it indicates the length of the
1430*5113495bSYour Name 			entire MPDU (without FCS field)
1431*5113495bSYour Name 
1432*5113495bSYour Name 			<legal all>
1433*5113495bSYour Name */
1434*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_OFFSET 0x00000038
1435*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_LSB 3
1436*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_MASK 0x0001fff8
1437*5113495bSYour Name 
1438*5113495bSYour Name /* Description		RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION
1439*5113495bSYour Name 
1440*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
1441*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
1442*5113495bSYour Name 			buffer used by the MSDU
1443*5113495bSYour Name 
1444*5113495bSYour Name 
1445*5113495bSYour Name 
1446*5113495bSYour Name 			The ID of the REO exit ring where the MSDU frame shall
1447*5113495bSYour Name 			push after (MPDU level) reordering has finished.
1448*5113495bSYour Name 
1449*5113495bSYour Name 
1450*5113495bSYour Name 
1451*5113495bSYour Name 			<enum 0 reo_destination_tcl> Reo will push the frame
1452*5113495bSYour Name 			into the REO2TCL ring
1453*5113495bSYour Name 
1454*5113495bSYour Name 			<enum 1 reo_destination_sw1> Reo will push the frame
1455*5113495bSYour Name 			into the REO2SW1 ring
1456*5113495bSYour Name 
1457*5113495bSYour Name 			<enum 2 reo_destination_sw2> Reo will push the frame
1458*5113495bSYour Name 			into the REO2SW2 ring
1459*5113495bSYour Name 
1460*5113495bSYour Name 			<enum 3 reo_destination_sw3> Reo will push the frame
1461*5113495bSYour Name 			into the REO2SW3 ring
1462*5113495bSYour Name 
1463*5113495bSYour Name 			<enum 4 reo_destination_sw4> Reo will push the frame
1464*5113495bSYour Name 			into the REO2SW4 ring
1465*5113495bSYour Name 
1466*5113495bSYour Name 			<enum 5 reo_destination_release> Reo will push the frame
1467*5113495bSYour Name 			into the REO_release ring
1468*5113495bSYour Name 
1469*5113495bSYour Name 			<enum 6 reo_destination_fw> Reo will push the frame into
1470*5113495bSYour Name 			the REO2FW ring
1471*5113495bSYour Name 
1472*5113495bSYour Name 			<enum 7 reo_destination_sw5> Reo will push the frame
1473*5113495bSYour Name 			into the REO2SW5 ring (REO remaps this in chips without
1474*5113495bSYour Name 			REO2SW5 ring, e.g. Pine)
1475*5113495bSYour Name 
1476*5113495bSYour Name 			<enum 8 reo_destination_sw6> Reo will push the frame
1477*5113495bSYour Name 			into the REO2SW6 ring (REO remaps this in chips without
1478*5113495bSYour Name 			REO2SW6 ring, e.g. Pine)
1479*5113495bSYour Name 
1480*5113495bSYour Name 			 <enum 9 reo_destination_9> REO remaps this <enum 10
1481*5113495bSYour Name 			reo_destination_10> REO remaps this
1482*5113495bSYour Name 
1483*5113495bSYour Name 			<enum 11 reo_destination_11> REO remaps this
1484*5113495bSYour Name 
1485*5113495bSYour Name 			<enum 12 reo_destination_12> REO remaps this <enum 13
1486*5113495bSYour Name 			reo_destination_13> REO remaps this
1487*5113495bSYour Name 
1488*5113495bSYour Name 			<enum 14 reo_destination_14> REO remaps this
1489*5113495bSYour Name 
1490*5113495bSYour Name 			<enum 15 reo_destination_15> REO remaps this
1491*5113495bSYour Name 
1492*5113495bSYour Name 			<enum 16 reo_destination_16> REO remaps this
1493*5113495bSYour Name 
1494*5113495bSYour Name 			<enum 17 reo_destination_17> REO remaps this
1495*5113495bSYour Name 
1496*5113495bSYour Name 			<enum 18 reo_destination_18> REO remaps this
1497*5113495bSYour Name 
1498*5113495bSYour Name 			<enum 19 reo_destination_19> REO remaps this
1499*5113495bSYour Name 
1500*5113495bSYour Name 			<enum 20 reo_destination_20> REO remaps this
1501*5113495bSYour Name 
1502*5113495bSYour Name 			<enum 21 reo_destination_21> REO remaps this
1503*5113495bSYour Name 
1504*5113495bSYour Name 			<enum 22 reo_destination_22> REO remaps this
1505*5113495bSYour Name 
1506*5113495bSYour Name 			<enum 23 reo_destination_23> REO remaps this
1507*5113495bSYour Name 
1508*5113495bSYour Name 			<enum 24 reo_destination_24> REO remaps this
1509*5113495bSYour Name 
1510*5113495bSYour Name 			<enum 25 reo_destination_25> REO remaps this
1511*5113495bSYour Name 
1512*5113495bSYour Name 			<enum 26 reo_destination_26> REO remaps this
1513*5113495bSYour Name 
1514*5113495bSYour Name 			<enum 27 reo_destination_27> REO remaps this
1515*5113495bSYour Name 
1516*5113495bSYour Name 			<enum 28 reo_destination_28> REO remaps this
1517*5113495bSYour Name 
1518*5113495bSYour Name 			<enum 29 reo_destination_29> REO remaps this
1519*5113495bSYour Name 
1520*5113495bSYour Name 			<enum 30 reo_destination_30> REO remaps this
1521*5113495bSYour Name 
1522*5113495bSYour Name 			<enum 31 reo_destination_31> REO remaps this
1523*5113495bSYour Name 
1524*5113495bSYour Name 
1525*5113495bSYour Name 
1526*5113495bSYour Name 			<legal all>
1527*5113495bSYour Name */
1528*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_OFFSET 0x00000038
1529*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_LSB 17
1530*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_MASK 0x003e0000
1531*5113495bSYour Name 
1532*5113495bSYour Name /* Description		RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP
1533*5113495bSYour Name 
1534*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
1535*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
1536*5113495bSYour Name 			buffer used by the MSDU
1537*5113495bSYour Name 
1538*5113495bSYour Name 
1539*5113495bSYour Name 
1540*5113495bSYour Name 			When set, REO shall drop this MSDU and not forward it to
1541*5113495bSYour Name 			any other ring...
1542*5113495bSYour Name 
1543*5113495bSYour Name 			<legal all>
1544*5113495bSYour Name */
1545*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_OFFSET 0x00000038
1546*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_LSB 22
1547*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_MASK 0x00400000
1548*5113495bSYour Name 
1549*5113495bSYour Name /* Description		RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID
1550*5113495bSYour Name 
1551*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
1552*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
1553*5113495bSYour Name 			buffer used by the MSDU
1554*5113495bSYour Name 
1555*5113495bSYour Name 
1556*5113495bSYour Name 
1557*5113495bSYour Name 			Indicates that OLE found a valid SA entry for this MSDU
1558*5113495bSYour Name 
1559*5113495bSYour Name 			<legal all>
1560*5113495bSYour Name */
1561*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_OFFSET 0x00000038
1562*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_LSB 23
1563*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_MASK 0x00800000
1564*5113495bSYour Name 
1565*5113495bSYour Name /* Description		RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT
1566*5113495bSYour Name 
1567*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
1568*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
1569*5113495bSYour Name 			buffer used by the MSDU
1570*5113495bSYour Name 
1571*5113495bSYour Name 
1572*5113495bSYour Name 
1573*5113495bSYour Name 			Indicates an unsuccessful MAC source address search due
1574*5113495bSYour Name 			to the expiring of the search timer for this MSDU
1575*5113495bSYour Name 
1576*5113495bSYour Name 			<legal all>
1577*5113495bSYour Name */
1578*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_OFFSET 0x00000038
1579*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_LSB 24
1580*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_MASK 0x01000000
1581*5113495bSYour Name 
1582*5113495bSYour Name /* Description		RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID
1583*5113495bSYour Name 
1584*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
1585*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
1586*5113495bSYour Name 			buffer used by the MSDU
1587*5113495bSYour Name 
1588*5113495bSYour Name 
1589*5113495bSYour Name 
1590*5113495bSYour Name 			Indicates that OLE found a valid DA entry for this MSDU
1591*5113495bSYour Name 
1592*5113495bSYour Name 			<legal all>
1593*5113495bSYour Name */
1594*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_OFFSET 0x00000038
1595*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_LSB 25
1596*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_MASK 0x02000000
1597*5113495bSYour Name 
1598*5113495bSYour Name /* Description		RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC
1599*5113495bSYour Name 
1600*5113495bSYour Name 			Field Only valid if da_is_valid is set
1601*5113495bSYour Name 
1602*5113495bSYour Name 
1603*5113495bSYour Name 
1604*5113495bSYour Name 			Indicates the DA address was a Multicast of Broadcast
1605*5113495bSYour Name 			address for this MSDU
1606*5113495bSYour Name 
1607*5113495bSYour Name 			<legal all>
1608*5113495bSYour Name */
1609*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_OFFSET 0x00000038
1610*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_LSB 26
1611*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_MASK 0x04000000
1612*5113495bSYour Name 
1613*5113495bSYour Name /* Description		RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT
1614*5113495bSYour Name 
1615*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
1616*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
1617*5113495bSYour Name 			buffer used by the MSDU
1618*5113495bSYour Name 
1619*5113495bSYour Name 
1620*5113495bSYour Name 
1621*5113495bSYour Name 			Indicates an unsuccessful MAC destination address search
1622*5113495bSYour Name 			due to the expiring of the search timer for this MSDU
1623*5113495bSYour Name 
1624*5113495bSYour Name 			<legal all>
1625*5113495bSYour Name */
1626*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_OFFSET 0x00000038
1627*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_LSB 27
1628*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_MASK 0x08000000
1629*5113495bSYour Name 
1630*5113495bSYour Name /* Description		RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB
1631*5113495bSYour Name 
1632*5113495bSYour Name 			Passed on from 'RX_MSDU_END' TLV (only the MSB is
1633*5113495bSYour Name 			reported as the LSB is always zero)
1634*5113495bSYour Name 
1635*5113495bSYour Name 			Number of bytes padded to make sure that the L3 header
1636*5113495bSYour Name 			will always start of a Dword boundary
1637*5113495bSYour Name 
1638*5113495bSYour Name 			<legal all>
1639*5113495bSYour Name */
1640*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB_OFFSET 0x00000038
1641*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB_LSB 28
1642*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB_MASK 0x10000000
1643*5113495bSYour Name 
1644*5113495bSYour Name /* Description		RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL
1645*5113495bSYour Name 
1646*5113495bSYour Name 			Passed on from 'RX_ATTENTION' TLV
1647*5113495bSYour Name 
1648*5113495bSYour Name 			Indicates that the computed checksum did not match the
1649*5113495bSYour Name 			checksum in the TCP/UDP header.
1650*5113495bSYour Name 
1651*5113495bSYour Name 			<legal all>
1652*5113495bSYour Name */
1653*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL_OFFSET 0x00000038
1654*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL_LSB 29
1655*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL_MASK 0x20000000
1656*5113495bSYour Name 
1657*5113495bSYour Name /* Description		RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL
1658*5113495bSYour Name 
1659*5113495bSYour Name 			Passed on from 'RX_ATTENTION' TLV
1660*5113495bSYour Name 
1661*5113495bSYour Name 			Indicates that the computed checksum did not match the
1662*5113495bSYour Name 			checksum in the IP header.
1663*5113495bSYour Name 
1664*5113495bSYour Name 			<legal all>
1665*5113495bSYour Name */
1666*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL_OFFSET 0x00000038
1667*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL_LSB 30
1668*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL_MASK 0x40000000
1669*5113495bSYour Name 
1670*5113495bSYour Name /* Description		RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_RAW_MPDU
1671*5113495bSYour Name 
1672*5113495bSYour Name 			Passed on from 'RX_MPDU_INFO' structure in
1673*5113495bSYour Name 			'RX_MPDU_START' TLV
1674*5113495bSYour Name 
1675*5113495bSYour Name 			Set to 1 by RXOLE when it has not performed any 802.11
1676*5113495bSYour Name 			to Ethernet/Natvie WiFi header conversion on this MPDU.
1677*5113495bSYour Name 
1678*5113495bSYour Name 			<legal all>
1679*5113495bSYour Name */
1680*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_RAW_MPDU_OFFSET 0x00000038
1681*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_RAW_MPDU_LSB 31
1682*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_RAW_MPDU_MASK 0x80000000
1683*5113495bSYour Name 
1684*5113495bSYour Name /* Description		RX_MSDU_LINK_15_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_OR_SW_PEER_ID_14_0
1685*5113495bSYour Name 
1686*5113495bSYour Name 			Passed on from 'RX_MSDU_END' TLV (one MSB is omitted)
1687*5113495bSYour Name 
1688*5113495bSYour Name 			Based on a register configuration in RXDMA, this field
1689*5113495bSYour Name 			will contain:
1690*5113495bSYour Name 
1691*5113495bSYour Name 			The offset in the address search table which matches the
1692*5113495bSYour Name 			MAC source address
1693*5113495bSYour Name 
1694*5113495bSYour Name 			OR
1695*5113495bSYour Name 
1696*5113495bSYour Name 
1697*5113495bSYour Name 
1698*5113495bSYour Name 			'sw_peer_id' from the address search entry corresponding
1699*5113495bSYour Name 			to the source address of the MSDU
1700*5113495bSYour Name 
1701*5113495bSYour Name 			<legal all>
1702*5113495bSYour Name */
1703*5113495bSYour Name #define RX_MSDU_LINK_15_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_OR_SW_PEER_ID_14_0_OFFSET 0x0000003c
1704*5113495bSYour Name #define RX_MSDU_LINK_15_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_OR_SW_PEER_ID_14_0_LSB 0
1705*5113495bSYour Name #define RX_MSDU_LINK_15_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_OR_SW_PEER_ID_14_0_MASK 0x00007fff
1706*5113495bSYour Name 
1707*5113495bSYour Name /* Description		RX_MSDU_LINK_15_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_MPDU_AST_IDX_OR_SW_PEER_ID_14_0
1708*5113495bSYour Name 
1709*5113495bSYour Name 			Passed on from 'RX_MPDU_INFO' structure in
1710*5113495bSYour Name 			'RX_MPDU_START' TLV (one MSB is omitted)
1711*5113495bSYour Name 
1712*5113495bSYour Name 
1713*5113495bSYour Name 
1714*5113495bSYour Name 			Based on a register configuration in RXDMA, this field
1715*5113495bSYour Name 			will contain:
1716*5113495bSYour Name 
1717*5113495bSYour Name 			The index of the address search entry corresponding to
1718*5113495bSYour Name 			this MPDU (a value of 0xFFFF indicates an invalid AST index,
1719*5113495bSYour Name 			meaning that no AST entry was found or no AST search was
1720*5113495bSYour Name 			performed)
1721*5113495bSYour Name 
1722*5113495bSYour Name 
1723*5113495bSYour Name 
1724*5113495bSYour Name 			OR:
1725*5113495bSYour Name 
1726*5113495bSYour Name 
1727*5113495bSYour Name 
1728*5113495bSYour Name 			'sw_peer_id' from the address search entry corresponding
1729*5113495bSYour Name 			to this MPDU (in case of ndp or phy_err or
1730*5113495bSYour Name 			AST_based_lookup_valid == 0, this field will be set to 0)
1731*5113495bSYour Name 
1732*5113495bSYour Name 			<legal all>
1733*5113495bSYour Name */
1734*5113495bSYour Name #define RX_MSDU_LINK_15_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_MPDU_AST_IDX_OR_SW_PEER_ID_14_0_OFFSET 0x0000003c
1735*5113495bSYour Name #define RX_MSDU_LINK_15_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_MPDU_AST_IDX_OR_SW_PEER_ID_14_0_LSB 15
1736*5113495bSYour Name #define RX_MSDU_LINK_15_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_MPDU_AST_IDX_OR_SW_PEER_ID_14_0_MASK 0x3fff8000
1737*5113495bSYour Name 
1738*5113495bSYour Name /* Description		RX_MSDU_LINK_15_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_FR_DS
1739*5113495bSYour Name 
1740*5113495bSYour Name 			Passed on from 'RX_MPDU_INFO' structure in
1741*5113495bSYour Name 			'RX_MPDU_START' TLV
1742*5113495bSYour Name 
1743*5113495bSYour Name 			Set if the 'from DS' bit is set in the frame control.
1744*5113495bSYour Name 
1745*5113495bSYour Name 			<legal all>
1746*5113495bSYour Name */
1747*5113495bSYour Name #define RX_MSDU_LINK_15_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_FR_DS_OFFSET 0x0000003c
1748*5113495bSYour Name #define RX_MSDU_LINK_15_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_FR_DS_LSB   30
1749*5113495bSYour Name #define RX_MSDU_LINK_15_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_FR_DS_MASK  0x40000000
1750*5113495bSYour Name 
1751*5113495bSYour Name /* Description		RX_MSDU_LINK_15_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_TO_DS
1752*5113495bSYour Name 
1753*5113495bSYour Name 			Passed on from 'RX_MPDU_INFO' structure in
1754*5113495bSYour Name 			'RX_MPDU_START' TLV
1755*5113495bSYour Name 
1756*5113495bSYour Name 			Set if the 'to DS' bit is set in the frame control.
1757*5113495bSYour Name 
1758*5113495bSYour Name 			<legal all>
1759*5113495bSYour Name */
1760*5113495bSYour Name #define RX_MSDU_LINK_15_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_TO_DS_OFFSET 0x0000003c
1761*5113495bSYour Name #define RX_MSDU_LINK_15_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_TO_DS_LSB   31
1762*5113495bSYour Name #define RX_MSDU_LINK_15_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_TO_DS_MASK  0x80000000
1763*5113495bSYour Name 
1764*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_msdu_details msdu_2 */
1765*5113495bSYour Name 
1766*5113495bSYour Name 
1767*5113495bSYour Name  /* EXTERNAL REFERENCE : struct buffer_addr_info buffer_addr_info_details */
1768*5113495bSYour Name 
1769*5113495bSYour Name 
1770*5113495bSYour Name /* Description		RX_MSDU_LINK_16_MSDU_2_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0
1771*5113495bSYour Name 
1772*5113495bSYour Name 			Address (lower 32 bits) of the MSDU buffer OR
1773*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
1774*5113495bSYour Name 
1775*5113495bSYour Name 
1776*5113495bSYour Name 
1777*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1778*5113495bSYour Name 
1779*5113495bSYour Name 			<legal all>
1780*5113495bSYour Name */
1781*5113495bSYour Name #define RX_MSDU_LINK_16_MSDU_2_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_OFFSET 0x00000040
1782*5113495bSYour Name #define RX_MSDU_LINK_16_MSDU_2_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_LSB 0
1783*5113495bSYour Name #define RX_MSDU_LINK_16_MSDU_2_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_MASK 0xffffffff
1784*5113495bSYour Name 
1785*5113495bSYour Name /* Description		RX_MSDU_LINK_17_MSDU_2_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32
1786*5113495bSYour Name 
1787*5113495bSYour Name 			Address (upper 8 bits) of the MSDU buffer OR
1788*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
1789*5113495bSYour Name 
1790*5113495bSYour Name 
1791*5113495bSYour Name 
1792*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1793*5113495bSYour Name 
1794*5113495bSYour Name 			<legal all>
1795*5113495bSYour Name */
1796*5113495bSYour Name #define RX_MSDU_LINK_17_MSDU_2_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_OFFSET 0x00000044
1797*5113495bSYour Name #define RX_MSDU_LINK_17_MSDU_2_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_LSB 0
1798*5113495bSYour Name #define RX_MSDU_LINK_17_MSDU_2_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_MASK 0x000000ff
1799*5113495bSYour Name 
1800*5113495bSYour Name /* Description		RX_MSDU_LINK_17_MSDU_2_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER
1801*5113495bSYour Name 
1802*5113495bSYour Name 			Consumer: WBM
1803*5113495bSYour Name 
1804*5113495bSYour Name 			Producer: SW/FW
1805*5113495bSYour Name 
1806*5113495bSYour Name 
1807*5113495bSYour Name 
1808*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1809*5113495bSYour Name 
1810*5113495bSYour Name 
1811*5113495bSYour Name 
1812*5113495bSYour Name 			Indicates to which buffer manager the buffer OR
1813*5113495bSYour Name 			MSDU_EXTENSION descriptor OR link descriptor that is being
1814*5113495bSYour Name 			pointed to shall be returned after the frame has been
1815*5113495bSYour Name 			processed. It is used by WBM for routing purposes.
1816*5113495bSYour Name 
1817*5113495bSYour Name 
1818*5113495bSYour Name 
1819*5113495bSYour Name 			<enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned
1820*5113495bSYour Name 			to the WMB buffer idle list
1821*5113495bSYour Name 
1822*5113495bSYour Name 			<enum 1 WBM_IDLE_DESC_LIST> This buffer shall be
1823*5113495bSYour Name 			returned to the WMB idle link descriptor idle list
1824*5113495bSYour Name 
1825*5113495bSYour Name 			<enum 2 FW_BM> This buffer shall be returned to the FW
1826*5113495bSYour Name 
1827*5113495bSYour Name 			<enum 3 SW0_BM> This buffer shall be returned to the SW,
1828*5113495bSYour Name 			ring 0
1829*5113495bSYour Name 
1830*5113495bSYour Name 			<enum 4 SW1_BM> This buffer shall be returned to the SW,
1831*5113495bSYour Name 			ring 1
1832*5113495bSYour Name 
1833*5113495bSYour Name 			<enum 5 SW2_BM> This buffer shall be returned to the SW,
1834*5113495bSYour Name 			ring 2
1835*5113495bSYour Name 
1836*5113495bSYour Name 			<enum 6 SW3_BM> This buffer shall be returned to the SW,
1837*5113495bSYour Name 			ring 3
1838*5113495bSYour Name 
1839*5113495bSYour Name 			<enum 7 SW4_BM> This buffer shall be returned to the SW,
1840*5113495bSYour Name 			ring 4
1841*5113495bSYour Name 
1842*5113495bSYour Name 
1843*5113495bSYour Name 
1844*5113495bSYour Name 			<legal all>
1845*5113495bSYour Name */
1846*5113495bSYour Name #define RX_MSDU_LINK_17_MSDU_2_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_OFFSET 0x00000044
1847*5113495bSYour Name #define RX_MSDU_LINK_17_MSDU_2_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_LSB 8
1848*5113495bSYour Name #define RX_MSDU_LINK_17_MSDU_2_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_MASK 0x00000700
1849*5113495bSYour Name 
1850*5113495bSYour Name /* Description		RX_MSDU_LINK_17_MSDU_2_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE
1851*5113495bSYour Name 
1852*5113495bSYour Name 			Cookie field exclusively used by SW.
1853*5113495bSYour Name 
1854*5113495bSYour Name 
1855*5113495bSYour Name 
1856*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1857*5113495bSYour Name 
1858*5113495bSYour Name 
1859*5113495bSYour Name 
1860*5113495bSYour Name 			HW ignores the contents, accept that it passes the
1861*5113495bSYour Name 			programmed value on to other descriptors together with the
1862*5113495bSYour Name 			physical address
1863*5113495bSYour Name 
1864*5113495bSYour Name 
1865*5113495bSYour Name 
1866*5113495bSYour Name 			Field can be used by SW to for example associate the
1867*5113495bSYour Name 			buffers physical address with the virtual address
1868*5113495bSYour Name 
1869*5113495bSYour Name 			The bit definitions as used by SW are within SW HLD
1870*5113495bSYour Name 			specification
1871*5113495bSYour Name 
1872*5113495bSYour Name 
1873*5113495bSYour Name 
1874*5113495bSYour Name 			NOTE1:
1875*5113495bSYour Name 
1876*5113495bSYour Name 			The three most significant bits can have a special
1877*5113495bSYour Name 			meaning in case this struct is embedded in a TX_MPDU_DETAILS
1878*5113495bSYour Name 			STRUCT, and field transmit_bw_restriction is set
1879*5113495bSYour Name 
1880*5113495bSYour Name 
1881*5113495bSYour Name 
1882*5113495bSYour Name 			In case of NON punctured transmission:
1883*5113495bSYour Name 
1884*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only
1885*5113495bSYour Name 
1886*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only
1887*5113495bSYour Name 
1888*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only
1889*5113495bSYour Name 
1890*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only
1891*5113495bSYour Name 
1892*5113495bSYour Name 
1893*5113495bSYour Name 
1894*5113495bSYour Name 			In case of punctured transmission:
1895*5113495bSYour Name 
1896*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only
1897*5113495bSYour Name 
1898*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only
1899*5113495bSYour Name 
1900*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only
1901*5113495bSYour Name 
1902*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only
1903*5113495bSYour Name 
1904*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only
1905*5113495bSYour Name 
1906*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only
1907*5113495bSYour Name 
1908*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only
1909*5113495bSYour Name 
1910*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only
1911*5113495bSYour Name 
1912*5113495bSYour Name 
1913*5113495bSYour Name 
1914*5113495bSYour Name 			Note: a punctured transmission is indicated by the
1915*5113495bSYour Name 			presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler
1916*5113495bSYour Name 			TLV
1917*5113495bSYour Name 
1918*5113495bSYour Name 
1919*5113495bSYour Name 
1920*5113495bSYour Name 			NOTE 2:The five most significant bits can have a special
1921*5113495bSYour Name 			meaning in case this struct is embedded in an
1922*5113495bSYour Name 			RX_MSDU_DETAILS STRUCT, and Maple/Spruce Rx DMA is
1923*5113495bSYour Name 			configured for passing on the additional info
1924*5113495bSYour Name 			from 'RX_MPDU_INFO' structure in 'RX_MPDU_START' TLV
1925*5113495bSYour Name 			(FR56821). This is not supported in HastingsPrime, Pine or
1926*5113495bSYour Name 			Moselle.
1927*5113495bSYour Name 
1928*5113495bSYour Name 
1929*5113495bSYour Name 
1930*5113495bSYour Name 			Sw_buffer_cookie[20:17]: Tid: The TID field in the QoS
1931*5113495bSYour Name 			control field
1932*5113495bSYour Name 
1933*5113495bSYour Name 
1934*5113495bSYour Name 
1935*5113495bSYour Name 			Sw_buffer_cookie[16]: Mpdu_qos_control_valid: This field
1936*5113495bSYour Name 			indicates MPDUs with a QoS control field.
1937*5113495bSYour Name 
1938*5113495bSYour Name 
1939*5113495bSYour Name 
1940*5113495bSYour Name 
1941*5113495bSYour Name 
1942*5113495bSYour Name 			<legal all>
1943*5113495bSYour Name */
1944*5113495bSYour Name #define RX_MSDU_LINK_17_MSDU_2_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_OFFSET 0x00000044
1945*5113495bSYour Name #define RX_MSDU_LINK_17_MSDU_2_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_LSB 11
1946*5113495bSYour Name #define RX_MSDU_LINK_17_MSDU_2_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_MASK 0xfffff800
1947*5113495bSYour Name 
1948*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_msdu_desc_info rx_msdu_desc_info_details */
1949*5113495bSYour Name 
1950*5113495bSYour Name 
1951*5113495bSYour Name /* Description		RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG
1952*5113495bSYour Name 
1953*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
1954*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
1955*5113495bSYour Name 			buffer used by the MSDU
1956*5113495bSYour Name 
1957*5113495bSYour Name 
1958*5113495bSYour Name 
1959*5113495bSYour Name 			<enum 0 Not_first_msdu> This is not the first MSDU in
1960*5113495bSYour Name 			the MPDU.
1961*5113495bSYour Name 
1962*5113495bSYour Name 			<enum 1 first_msdu> This MSDU is the first one in the
1963*5113495bSYour Name 			MPDU.
1964*5113495bSYour Name 
1965*5113495bSYour Name 
1966*5113495bSYour Name 
1967*5113495bSYour Name 			<legal all>
1968*5113495bSYour Name */
1969*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000048
1970*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_LSB 0
1971*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_MASK 0x00000001
1972*5113495bSYour Name 
1973*5113495bSYour Name /* Description		RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG
1974*5113495bSYour Name 
1975*5113495bSYour Name 			Consumer: WBM/REO/SW/FW
1976*5113495bSYour Name 
1977*5113495bSYour Name 			Producer: RXDMA
1978*5113495bSYour Name 
1979*5113495bSYour Name 
1980*5113495bSYour Name 
1981*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
1982*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
1983*5113495bSYour Name 			buffer used by the MSDU
1984*5113495bSYour Name 
1985*5113495bSYour Name 
1986*5113495bSYour Name 
1987*5113495bSYour Name 			<enum 0 Not_last_msdu> There are more MSDUs linked to
1988*5113495bSYour Name 			this MSDU that belongs to this MPDU
1989*5113495bSYour Name 
1990*5113495bSYour Name 			<enum 1 Last_msdu> this MSDU is the last one in the
1991*5113495bSYour Name 			MPDU. This setting is only allowed in combination with
1992*5113495bSYour Name 			'Msdu_continuation' set to 0. This implies that when an msdu
1993*5113495bSYour Name 			is spread out over multiple buffers and thus
1994*5113495bSYour Name 			msdu_continuation is set, only for the very last buffer of
1995*5113495bSYour Name 			the msdu, can the 'last_msdu_in_mpdu_flag' be set.
1996*5113495bSYour Name 
1997*5113495bSYour Name 
1998*5113495bSYour Name 
1999*5113495bSYour Name 			When both first_msdu_in_mpdu_flag and
2000*5113495bSYour Name 			last_msdu_in_mpdu_flag are set, the MPDU that this MSDU
2001*5113495bSYour Name 			belongs to only contains a single MSDU.
2002*5113495bSYour Name 
2003*5113495bSYour Name 
2004*5113495bSYour Name 
2005*5113495bSYour Name 
2006*5113495bSYour Name 
2007*5113495bSYour Name 			<legal all>
2008*5113495bSYour Name */
2009*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000048
2010*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_LSB 1
2011*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_MASK 0x00000002
2012*5113495bSYour Name 
2013*5113495bSYour Name /* Description		RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION
2014*5113495bSYour Name 
2015*5113495bSYour Name 			When set, this MSDU buffer was not able to hold the
2016*5113495bSYour Name 			entire MSDU. The next buffer will therefor contain
2017*5113495bSYour Name 			additional information related to this MSDU.
2018*5113495bSYour Name 
2019*5113495bSYour Name 
2020*5113495bSYour Name 
2021*5113495bSYour Name 			<legal all>
2022*5113495bSYour Name */
2023*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_OFFSET 0x00000048
2024*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_LSB 2
2025*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_MASK 0x00000004
2026*5113495bSYour Name 
2027*5113495bSYour Name /* Description		RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH
2028*5113495bSYour Name 
2029*5113495bSYour Name 			Parsed from RX_MSDU_START TLV . In the case MSDU spans
2030*5113495bSYour Name 			over multiple buffers, this field will be valid in the First
2031*5113495bSYour Name 			buffer used by MSDU.
2032*5113495bSYour Name 
2033*5113495bSYour Name 
2034*5113495bSYour Name 
2035*5113495bSYour Name 			Full MSDU length in bytes after decapsulation.
2036*5113495bSYour Name 
2037*5113495bSYour Name 
2038*5113495bSYour Name 
2039*5113495bSYour Name 			This field is still valid for MPDU frames without
2040*5113495bSYour Name 			A-MSDU.  It still represents MSDU length after decapsulation
2041*5113495bSYour Name 
2042*5113495bSYour Name 
2043*5113495bSYour Name 
2044*5113495bSYour Name 			Or in case of RAW MPDUs, it indicates the length of the
2045*5113495bSYour Name 			entire MPDU (without FCS field)
2046*5113495bSYour Name 
2047*5113495bSYour Name 			<legal all>
2048*5113495bSYour Name */
2049*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_OFFSET 0x00000048
2050*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_LSB 3
2051*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_MASK 0x0001fff8
2052*5113495bSYour Name 
2053*5113495bSYour Name /* Description		RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION
2054*5113495bSYour Name 
2055*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
2056*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
2057*5113495bSYour Name 			buffer used by the MSDU
2058*5113495bSYour Name 
2059*5113495bSYour Name 
2060*5113495bSYour Name 
2061*5113495bSYour Name 			The ID of the REO exit ring where the MSDU frame shall
2062*5113495bSYour Name 			push after (MPDU level) reordering has finished.
2063*5113495bSYour Name 
2064*5113495bSYour Name 
2065*5113495bSYour Name 
2066*5113495bSYour Name 			<enum 0 reo_destination_tcl> Reo will push the frame
2067*5113495bSYour Name 			into the REO2TCL ring
2068*5113495bSYour Name 
2069*5113495bSYour Name 			<enum 1 reo_destination_sw1> Reo will push the frame
2070*5113495bSYour Name 			into the REO2SW1 ring
2071*5113495bSYour Name 
2072*5113495bSYour Name 			<enum 2 reo_destination_sw2> Reo will push the frame
2073*5113495bSYour Name 			into the REO2SW2 ring
2074*5113495bSYour Name 
2075*5113495bSYour Name 			<enum 3 reo_destination_sw3> Reo will push the frame
2076*5113495bSYour Name 			into the REO2SW3 ring
2077*5113495bSYour Name 
2078*5113495bSYour Name 			<enum 4 reo_destination_sw4> Reo will push the frame
2079*5113495bSYour Name 			into the REO2SW4 ring
2080*5113495bSYour Name 
2081*5113495bSYour Name 			<enum 5 reo_destination_release> Reo will push the frame
2082*5113495bSYour Name 			into the REO_release ring
2083*5113495bSYour Name 
2084*5113495bSYour Name 			<enum 6 reo_destination_fw> Reo will push the frame into
2085*5113495bSYour Name 			the REO2FW ring
2086*5113495bSYour Name 
2087*5113495bSYour Name 			<enum 7 reo_destination_sw5> Reo will push the frame
2088*5113495bSYour Name 			into the REO2SW5 ring (REO remaps this in chips without
2089*5113495bSYour Name 			REO2SW5 ring, e.g. Pine)
2090*5113495bSYour Name 
2091*5113495bSYour Name 			<enum 8 reo_destination_sw6> Reo will push the frame
2092*5113495bSYour Name 			into the REO2SW6 ring (REO remaps this in chips without
2093*5113495bSYour Name 			REO2SW6 ring, e.g. Pine)
2094*5113495bSYour Name 
2095*5113495bSYour Name 			 <enum 9 reo_destination_9> REO remaps this <enum 10
2096*5113495bSYour Name 			reo_destination_10> REO remaps this
2097*5113495bSYour Name 
2098*5113495bSYour Name 			<enum 11 reo_destination_11> REO remaps this
2099*5113495bSYour Name 
2100*5113495bSYour Name 			<enum 12 reo_destination_12> REO remaps this <enum 13
2101*5113495bSYour Name 			reo_destination_13> REO remaps this
2102*5113495bSYour Name 
2103*5113495bSYour Name 			<enum 14 reo_destination_14> REO remaps this
2104*5113495bSYour Name 
2105*5113495bSYour Name 			<enum 15 reo_destination_15> REO remaps this
2106*5113495bSYour Name 
2107*5113495bSYour Name 			<enum 16 reo_destination_16> REO remaps this
2108*5113495bSYour Name 
2109*5113495bSYour Name 			<enum 17 reo_destination_17> REO remaps this
2110*5113495bSYour Name 
2111*5113495bSYour Name 			<enum 18 reo_destination_18> REO remaps this
2112*5113495bSYour Name 
2113*5113495bSYour Name 			<enum 19 reo_destination_19> REO remaps this
2114*5113495bSYour Name 
2115*5113495bSYour Name 			<enum 20 reo_destination_20> REO remaps this
2116*5113495bSYour Name 
2117*5113495bSYour Name 			<enum 21 reo_destination_21> REO remaps this
2118*5113495bSYour Name 
2119*5113495bSYour Name 			<enum 22 reo_destination_22> REO remaps this
2120*5113495bSYour Name 
2121*5113495bSYour Name 			<enum 23 reo_destination_23> REO remaps this
2122*5113495bSYour Name 
2123*5113495bSYour Name 			<enum 24 reo_destination_24> REO remaps this
2124*5113495bSYour Name 
2125*5113495bSYour Name 			<enum 25 reo_destination_25> REO remaps this
2126*5113495bSYour Name 
2127*5113495bSYour Name 			<enum 26 reo_destination_26> REO remaps this
2128*5113495bSYour Name 
2129*5113495bSYour Name 			<enum 27 reo_destination_27> REO remaps this
2130*5113495bSYour Name 
2131*5113495bSYour Name 			<enum 28 reo_destination_28> REO remaps this
2132*5113495bSYour Name 
2133*5113495bSYour Name 			<enum 29 reo_destination_29> REO remaps this
2134*5113495bSYour Name 
2135*5113495bSYour Name 			<enum 30 reo_destination_30> REO remaps this
2136*5113495bSYour Name 
2137*5113495bSYour Name 			<enum 31 reo_destination_31> REO remaps this
2138*5113495bSYour Name 
2139*5113495bSYour Name 
2140*5113495bSYour Name 
2141*5113495bSYour Name 			<legal all>
2142*5113495bSYour Name */
2143*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_OFFSET 0x00000048
2144*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_LSB 17
2145*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_MASK 0x003e0000
2146*5113495bSYour Name 
2147*5113495bSYour Name /* Description		RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP
2148*5113495bSYour Name 
2149*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
2150*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
2151*5113495bSYour Name 			buffer used by the MSDU
2152*5113495bSYour Name 
2153*5113495bSYour Name 
2154*5113495bSYour Name 
2155*5113495bSYour Name 			When set, REO shall drop this MSDU and not forward it to
2156*5113495bSYour Name 			any other ring...
2157*5113495bSYour Name 
2158*5113495bSYour Name 			<legal all>
2159*5113495bSYour Name */
2160*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_OFFSET 0x00000048
2161*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_LSB 22
2162*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_MASK 0x00400000
2163*5113495bSYour Name 
2164*5113495bSYour Name /* Description		RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID
2165*5113495bSYour Name 
2166*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
2167*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
2168*5113495bSYour Name 			buffer used by the MSDU
2169*5113495bSYour Name 
2170*5113495bSYour Name 
2171*5113495bSYour Name 
2172*5113495bSYour Name 			Indicates that OLE found a valid SA entry for this MSDU
2173*5113495bSYour Name 
2174*5113495bSYour Name 			<legal all>
2175*5113495bSYour Name */
2176*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_OFFSET 0x00000048
2177*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_LSB 23
2178*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_MASK 0x00800000
2179*5113495bSYour Name 
2180*5113495bSYour Name /* Description		RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT
2181*5113495bSYour Name 
2182*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
2183*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
2184*5113495bSYour Name 			buffer used by the MSDU
2185*5113495bSYour Name 
2186*5113495bSYour Name 
2187*5113495bSYour Name 
2188*5113495bSYour Name 			Indicates an unsuccessful MAC source address search due
2189*5113495bSYour Name 			to the expiring of the search timer for this MSDU
2190*5113495bSYour Name 
2191*5113495bSYour Name 			<legal all>
2192*5113495bSYour Name */
2193*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_OFFSET 0x00000048
2194*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_LSB 24
2195*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_MASK 0x01000000
2196*5113495bSYour Name 
2197*5113495bSYour Name /* Description		RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID
2198*5113495bSYour Name 
2199*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
2200*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
2201*5113495bSYour Name 			buffer used by the MSDU
2202*5113495bSYour Name 
2203*5113495bSYour Name 
2204*5113495bSYour Name 
2205*5113495bSYour Name 			Indicates that OLE found a valid DA entry for this MSDU
2206*5113495bSYour Name 
2207*5113495bSYour Name 			<legal all>
2208*5113495bSYour Name */
2209*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_OFFSET 0x00000048
2210*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_LSB 25
2211*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_MASK 0x02000000
2212*5113495bSYour Name 
2213*5113495bSYour Name /* Description		RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC
2214*5113495bSYour Name 
2215*5113495bSYour Name 			Field Only valid if da_is_valid is set
2216*5113495bSYour Name 
2217*5113495bSYour Name 
2218*5113495bSYour Name 
2219*5113495bSYour Name 			Indicates the DA address was a Multicast of Broadcast
2220*5113495bSYour Name 			address for this MSDU
2221*5113495bSYour Name 
2222*5113495bSYour Name 			<legal all>
2223*5113495bSYour Name */
2224*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_OFFSET 0x00000048
2225*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_LSB 26
2226*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_MASK 0x04000000
2227*5113495bSYour Name 
2228*5113495bSYour Name /* Description		RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT
2229*5113495bSYour Name 
2230*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
2231*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
2232*5113495bSYour Name 			buffer used by the MSDU
2233*5113495bSYour Name 
2234*5113495bSYour Name 
2235*5113495bSYour Name 
2236*5113495bSYour Name 			Indicates an unsuccessful MAC destination address search
2237*5113495bSYour Name 			due to the expiring of the search timer for this MSDU
2238*5113495bSYour Name 
2239*5113495bSYour Name 			<legal all>
2240*5113495bSYour Name */
2241*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_OFFSET 0x00000048
2242*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_LSB 27
2243*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_MASK 0x08000000
2244*5113495bSYour Name 
2245*5113495bSYour Name /* Description		RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB
2246*5113495bSYour Name 
2247*5113495bSYour Name 			Passed on from 'RX_MSDU_END' TLV (only the MSB is
2248*5113495bSYour Name 			reported as the LSB is always zero)
2249*5113495bSYour Name 
2250*5113495bSYour Name 			Number of bytes padded to make sure that the L3 header
2251*5113495bSYour Name 			will always start of a Dword boundary
2252*5113495bSYour Name 
2253*5113495bSYour Name 			<legal all>
2254*5113495bSYour Name */
2255*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB_OFFSET 0x00000048
2256*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB_LSB 28
2257*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB_MASK 0x10000000
2258*5113495bSYour Name 
2259*5113495bSYour Name /* Description		RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL
2260*5113495bSYour Name 
2261*5113495bSYour Name 			Passed on from 'RX_ATTENTION' TLV
2262*5113495bSYour Name 
2263*5113495bSYour Name 			Indicates that the computed checksum did not match the
2264*5113495bSYour Name 			checksum in the TCP/UDP header.
2265*5113495bSYour Name 
2266*5113495bSYour Name 			<legal all>
2267*5113495bSYour Name */
2268*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL_OFFSET 0x00000048
2269*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL_LSB 29
2270*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL_MASK 0x20000000
2271*5113495bSYour Name 
2272*5113495bSYour Name /* Description		RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL
2273*5113495bSYour Name 
2274*5113495bSYour Name 			Passed on from 'RX_ATTENTION' TLV
2275*5113495bSYour Name 
2276*5113495bSYour Name 			Indicates that the computed checksum did not match the
2277*5113495bSYour Name 			checksum in the IP header.
2278*5113495bSYour Name 
2279*5113495bSYour Name 			<legal all>
2280*5113495bSYour Name */
2281*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL_OFFSET 0x00000048
2282*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL_LSB 30
2283*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL_MASK 0x40000000
2284*5113495bSYour Name 
2285*5113495bSYour Name /* Description		RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_RAW_MPDU
2286*5113495bSYour Name 
2287*5113495bSYour Name 			Passed on from 'RX_MPDU_INFO' structure in
2288*5113495bSYour Name 			'RX_MPDU_START' TLV
2289*5113495bSYour Name 
2290*5113495bSYour Name 			Set to 1 by RXOLE when it has not performed any 802.11
2291*5113495bSYour Name 			to Ethernet/Natvie WiFi header conversion on this MPDU.
2292*5113495bSYour Name 
2293*5113495bSYour Name 			<legal all>
2294*5113495bSYour Name */
2295*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_RAW_MPDU_OFFSET 0x00000048
2296*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_RAW_MPDU_LSB 31
2297*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_RAW_MPDU_MASK 0x80000000
2298*5113495bSYour Name 
2299*5113495bSYour Name /* Description		RX_MSDU_LINK_19_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_OR_SW_PEER_ID_14_0
2300*5113495bSYour Name 
2301*5113495bSYour Name 			Passed on from 'RX_MSDU_END' TLV (one MSB is omitted)
2302*5113495bSYour Name 
2303*5113495bSYour Name 			Based on a register configuration in RXDMA, this field
2304*5113495bSYour Name 			will contain:
2305*5113495bSYour Name 
2306*5113495bSYour Name 			The offset in the address search table which matches the
2307*5113495bSYour Name 			MAC source address
2308*5113495bSYour Name 
2309*5113495bSYour Name 			OR
2310*5113495bSYour Name 
2311*5113495bSYour Name 
2312*5113495bSYour Name 
2313*5113495bSYour Name 			'sw_peer_id' from the address search entry corresponding
2314*5113495bSYour Name 			to the source address of the MSDU
2315*5113495bSYour Name 
2316*5113495bSYour Name 			<legal all>
2317*5113495bSYour Name */
2318*5113495bSYour Name #define RX_MSDU_LINK_19_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_OR_SW_PEER_ID_14_0_OFFSET 0x0000004c
2319*5113495bSYour Name #define RX_MSDU_LINK_19_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_OR_SW_PEER_ID_14_0_LSB 0
2320*5113495bSYour Name #define RX_MSDU_LINK_19_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_OR_SW_PEER_ID_14_0_MASK 0x00007fff
2321*5113495bSYour Name 
2322*5113495bSYour Name /* Description		RX_MSDU_LINK_19_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_MPDU_AST_IDX_OR_SW_PEER_ID_14_0
2323*5113495bSYour Name 
2324*5113495bSYour Name 			Passed on from 'RX_MPDU_INFO' structure in
2325*5113495bSYour Name 			'RX_MPDU_START' TLV (one MSB is omitted)
2326*5113495bSYour Name 
2327*5113495bSYour Name 
2328*5113495bSYour Name 
2329*5113495bSYour Name 			Based on a register configuration in RXDMA, this field
2330*5113495bSYour Name 			will contain:
2331*5113495bSYour Name 
2332*5113495bSYour Name 			The index of the address search entry corresponding to
2333*5113495bSYour Name 			this MPDU (a value of 0xFFFF indicates an invalid AST index,
2334*5113495bSYour Name 			meaning that no AST entry was found or no AST search was
2335*5113495bSYour Name 			performed)
2336*5113495bSYour Name 
2337*5113495bSYour Name 
2338*5113495bSYour Name 
2339*5113495bSYour Name 			OR:
2340*5113495bSYour Name 
2341*5113495bSYour Name 
2342*5113495bSYour Name 
2343*5113495bSYour Name 			'sw_peer_id' from the address search entry corresponding
2344*5113495bSYour Name 			to this MPDU (in case of ndp or phy_err or
2345*5113495bSYour Name 			AST_based_lookup_valid == 0, this field will be set to 0)
2346*5113495bSYour Name 
2347*5113495bSYour Name 			<legal all>
2348*5113495bSYour Name */
2349*5113495bSYour Name #define RX_MSDU_LINK_19_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_MPDU_AST_IDX_OR_SW_PEER_ID_14_0_OFFSET 0x0000004c
2350*5113495bSYour Name #define RX_MSDU_LINK_19_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_MPDU_AST_IDX_OR_SW_PEER_ID_14_0_LSB 15
2351*5113495bSYour Name #define RX_MSDU_LINK_19_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_MPDU_AST_IDX_OR_SW_PEER_ID_14_0_MASK 0x3fff8000
2352*5113495bSYour Name 
2353*5113495bSYour Name /* Description		RX_MSDU_LINK_19_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_FR_DS
2354*5113495bSYour Name 
2355*5113495bSYour Name 			Passed on from 'RX_MPDU_INFO' structure in
2356*5113495bSYour Name 			'RX_MPDU_START' TLV
2357*5113495bSYour Name 
2358*5113495bSYour Name 			Set if the 'from DS' bit is set in the frame control.
2359*5113495bSYour Name 
2360*5113495bSYour Name 			<legal all>
2361*5113495bSYour Name */
2362*5113495bSYour Name #define RX_MSDU_LINK_19_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_FR_DS_OFFSET 0x0000004c
2363*5113495bSYour Name #define RX_MSDU_LINK_19_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_FR_DS_LSB   30
2364*5113495bSYour Name #define RX_MSDU_LINK_19_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_FR_DS_MASK  0x40000000
2365*5113495bSYour Name 
2366*5113495bSYour Name /* Description		RX_MSDU_LINK_19_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_TO_DS
2367*5113495bSYour Name 
2368*5113495bSYour Name 			Passed on from 'RX_MPDU_INFO' structure in
2369*5113495bSYour Name 			'RX_MPDU_START' TLV
2370*5113495bSYour Name 
2371*5113495bSYour Name 			Set if the 'to DS' bit is set in the frame control.
2372*5113495bSYour Name 
2373*5113495bSYour Name 			<legal all>
2374*5113495bSYour Name */
2375*5113495bSYour Name #define RX_MSDU_LINK_19_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_TO_DS_OFFSET 0x0000004c
2376*5113495bSYour Name #define RX_MSDU_LINK_19_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_TO_DS_LSB   31
2377*5113495bSYour Name #define RX_MSDU_LINK_19_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_TO_DS_MASK  0x80000000
2378*5113495bSYour Name 
2379*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_msdu_details msdu_3 */
2380*5113495bSYour Name 
2381*5113495bSYour Name 
2382*5113495bSYour Name  /* EXTERNAL REFERENCE : struct buffer_addr_info buffer_addr_info_details */
2383*5113495bSYour Name 
2384*5113495bSYour Name 
2385*5113495bSYour Name /* Description		RX_MSDU_LINK_20_MSDU_3_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0
2386*5113495bSYour Name 
2387*5113495bSYour Name 			Address (lower 32 bits) of the MSDU buffer OR
2388*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
2389*5113495bSYour Name 
2390*5113495bSYour Name 
2391*5113495bSYour Name 
2392*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2393*5113495bSYour Name 
2394*5113495bSYour Name 			<legal all>
2395*5113495bSYour Name */
2396*5113495bSYour Name #define RX_MSDU_LINK_20_MSDU_3_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_OFFSET 0x00000050
2397*5113495bSYour Name #define RX_MSDU_LINK_20_MSDU_3_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_LSB 0
2398*5113495bSYour Name #define RX_MSDU_LINK_20_MSDU_3_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_MASK 0xffffffff
2399*5113495bSYour Name 
2400*5113495bSYour Name /* Description		RX_MSDU_LINK_21_MSDU_3_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32
2401*5113495bSYour Name 
2402*5113495bSYour Name 			Address (upper 8 bits) of the MSDU buffer OR
2403*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
2404*5113495bSYour Name 
2405*5113495bSYour Name 
2406*5113495bSYour Name 
2407*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2408*5113495bSYour Name 
2409*5113495bSYour Name 			<legal all>
2410*5113495bSYour Name */
2411*5113495bSYour Name #define RX_MSDU_LINK_21_MSDU_3_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_OFFSET 0x00000054
2412*5113495bSYour Name #define RX_MSDU_LINK_21_MSDU_3_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_LSB 0
2413*5113495bSYour Name #define RX_MSDU_LINK_21_MSDU_3_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_MASK 0x000000ff
2414*5113495bSYour Name 
2415*5113495bSYour Name /* Description		RX_MSDU_LINK_21_MSDU_3_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER
2416*5113495bSYour Name 
2417*5113495bSYour Name 			Consumer: WBM
2418*5113495bSYour Name 
2419*5113495bSYour Name 			Producer: SW/FW
2420*5113495bSYour Name 
2421*5113495bSYour Name 
2422*5113495bSYour Name 
2423*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2424*5113495bSYour Name 
2425*5113495bSYour Name 
2426*5113495bSYour Name 
2427*5113495bSYour Name 			Indicates to which buffer manager the buffer OR
2428*5113495bSYour Name 			MSDU_EXTENSION descriptor OR link descriptor that is being
2429*5113495bSYour Name 			pointed to shall be returned after the frame has been
2430*5113495bSYour Name 			processed. It is used by WBM for routing purposes.
2431*5113495bSYour Name 
2432*5113495bSYour Name 
2433*5113495bSYour Name 
2434*5113495bSYour Name 			<enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned
2435*5113495bSYour Name 			to the WMB buffer idle list
2436*5113495bSYour Name 
2437*5113495bSYour Name 			<enum 1 WBM_IDLE_DESC_LIST> This buffer shall be
2438*5113495bSYour Name 			returned to the WMB idle link descriptor idle list
2439*5113495bSYour Name 
2440*5113495bSYour Name 			<enum 2 FW_BM> This buffer shall be returned to the FW
2441*5113495bSYour Name 
2442*5113495bSYour Name 			<enum 3 SW0_BM> This buffer shall be returned to the SW,
2443*5113495bSYour Name 			ring 0
2444*5113495bSYour Name 
2445*5113495bSYour Name 			<enum 4 SW1_BM> This buffer shall be returned to the SW,
2446*5113495bSYour Name 			ring 1
2447*5113495bSYour Name 
2448*5113495bSYour Name 			<enum 5 SW2_BM> This buffer shall be returned to the SW,
2449*5113495bSYour Name 			ring 2
2450*5113495bSYour Name 
2451*5113495bSYour Name 			<enum 6 SW3_BM> This buffer shall be returned to the SW,
2452*5113495bSYour Name 			ring 3
2453*5113495bSYour Name 
2454*5113495bSYour Name 			<enum 7 SW4_BM> This buffer shall be returned to the SW,
2455*5113495bSYour Name 			ring 4
2456*5113495bSYour Name 
2457*5113495bSYour Name 
2458*5113495bSYour Name 
2459*5113495bSYour Name 			<legal all>
2460*5113495bSYour Name */
2461*5113495bSYour Name #define RX_MSDU_LINK_21_MSDU_3_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_OFFSET 0x00000054
2462*5113495bSYour Name #define RX_MSDU_LINK_21_MSDU_3_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_LSB 8
2463*5113495bSYour Name #define RX_MSDU_LINK_21_MSDU_3_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_MASK 0x00000700
2464*5113495bSYour Name 
2465*5113495bSYour Name /* Description		RX_MSDU_LINK_21_MSDU_3_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE
2466*5113495bSYour Name 
2467*5113495bSYour Name 			Cookie field exclusively used by SW.
2468*5113495bSYour Name 
2469*5113495bSYour Name 
2470*5113495bSYour Name 
2471*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2472*5113495bSYour Name 
2473*5113495bSYour Name 
2474*5113495bSYour Name 
2475*5113495bSYour Name 			HW ignores the contents, accept that it passes the
2476*5113495bSYour Name 			programmed value on to other descriptors together with the
2477*5113495bSYour Name 			physical address
2478*5113495bSYour Name 
2479*5113495bSYour Name 
2480*5113495bSYour Name 
2481*5113495bSYour Name 			Field can be used by SW to for example associate the
2482*5113495bSYour Name 			buffers physical address with the virtual address
2483*5113495bSYour Name 
2484*5113495bSYour Name 			The bit definitions as used by SW are within SW HLD
2485*5113495bSYour Name 			specification
2486*5113495bSYour Name 
2487*5113495bSYour Name 
2488*5113495bSYour Name 
2489*5113495bSYour Name 			NOTE1:
2490*5113495bSYour Name 
2491*5113495bSYour Name 			The three most significant bits can have a special
2492*5113495bSYour Name 			meaning in case this struct is embedded in a TX_MPDU_DETAILS
2493*5113495bSYour Name 			STRUCT, and field transmit_bw_restriction is set
2494*5113495bSYour Name 
2495*5113495bSYour Name 
2496*5113495bSYour Name 
2497*5113495bSYour Name 			In case of NON punctured transmission:
2498*5113495bSYour Name 
2499*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only
2500*5113495bSYour Name 
2501*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only
2502*5113495bSYour Name 
2503*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only
2504*5113495bSYour Name 
2505*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only
2506*5113495bSYour Name 
2507*5113495bSYour Name 
2508*5113495bSYour Name 
2509*5113495bSYour Name 			In case of punctured transmission:
2510*5113495bSYour Name 
2511*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only
2512*5113495bSYour Name 
2513*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only
2514*5113495bSYour Name 
2515*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only
2516*5113495bSYour Name 
2517*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only
2518*5113495bSYour Name 
2519*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only
2520*5113495bSYour Name 
2521*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only
2522*5113495bSYour Name 
2523*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only
2524*5113495bSYour Name 
2525*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only
2526*5113495bSYour Name 
2527*5113495bSYour Name 
2528*5113495bSYour Name 
2529*5113495bSYour Name 			Note: a punctured transmission is indicated by the
2530*5113495bSYour Name 			presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler
2531*5113495bSYour Name 			TLV
2532*5113495bSYour Name 
2533*5113495bSYour Name 
2534*5113495bSYour Name 
2535*5113495bSYour Name 			NOTE 2:The five most significant bits can have a special
2536*5113495bSYour Name 			meaning in case this struct is embedded in an
2537*5113495bSYour Name 			RX_MSDU_DETAILS STRUCT, and Maple/Spruce Rx DMA is
2538*5113495bSYour Name 			configured for passing on the additional info
2539*5113495bSYour Name 			from 'RX_MPDU_INFO' structure in 'RX_MPDU_START' TLV
2540*5113495bSYour Name 			(FR56821). This is not supported in HastingsPrime, Pine or
2541*5113495bSYour Name 			Moselle.
2542*5113495bSYour Name 
2543*5113495bSYour Name 
2544*5113495bSYour Name 
2545*5113495bSYour Name 			Sw_buffer_cookie[20:17]: Tid: The TID field in the QoS
2546*5113495bSYour Name 			control field
2547*5113495bSYour Name 
2548*5113495bSYour Name 
2549*5113495bSYour Name 
2550*5113495bSYour Name 			Sw_buffer_cookie[16]: Mpdu_qos_control_valid: This field
2551*5113495bSYour Name 			indicates MPDUs with a QoS control field.
2552*5113495bSYour Name 
2553*5113495bSYour Name 
2554*5113495bSYour Name 
2555*5113495bSYour Name 
2556*5113495bSYour Name 
2557*5113495bSYour Name 			<legal all>
2558*5113495bSYour Name */
2559*5113495bSYour Name #define RX_MSDU_LINK_21_MSDU_3_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_OFFSET 0x00000054
2560*5113495bSYour Name #define RX_MSDU_LINK_21_MSDU_3_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_LSB 11
2561*5113495bSYour Name #define RX_MSDU_LINK_21_MSDU_3_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_MASK 0xfffff800
2562*5113495bSYour Name 
2563*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_msdu_desc_info rx_msdu_desc_info_details */
2564*5113495bSYour Name 
2565*5113495bSYour Name 
2566*5113495bSYour Name /* Description		RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG
2567*5113495bSYour Name 
2568*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
2569*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
2570*5113495bSYour Name 			buffer used by the MSDU
2571*5113495bSYour Name 
2572*5113495bSYour Name 
2573*5113495bSYour Name 
2574*5113495bSYour Name 			<enum 0 Not_first_msdu> This is not the first MSDU in
2575*5113495bSYour Name 			the MPDU.
2576*5113495bSYour Name 
2577*5113495bSYour Name 			<enum 1 first_msdu> This MSDU is the first one in the
2578*5113495bSYour Name 			MPDU.
2579*5113495bSYour Name 
2580*5113495bSYour Name 
2581*5113495bSYour Name 
2582*5113495bSYour Name 			<legal all>
2583*5113495bSYour Name */
2584*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000058
2585*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_LSB 0
2586*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_MASK 0x00000001
2587*5113495bSYour Name 
2588*5113495bSYour Name /* Description		RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG
2589*5113495bSYour Name 
2590*5113495bSYour Name 			Consumer: WBM/REO/SW/FW
2591*5113495bSYour Name 
2592*5113495bSYour Name 			Producer: RXDMA
2593*5113495bSYour Name 
2594*5113495bSYour Name 
2595*5113495bSYour Name 
2596*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
2597*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
2598*5113495bSYour Name 			buffer used by the MSDU
2599*5113495bSYour Name 
2600*5113495bSYour Name 
2601*5113495bSYour Name 
2602*5113495bSYour Name 			<enum 0 Not_last_msdu> There are more MSDUs linked to
2603*5113495bSYour Name 			this MSDU that belongs to this MPDU
2604*5113495bSYour Name 
2605*5113495bSYour Name 			<enum 1 Last_msdu> this MSDU is the last one in the
2606*5113495bSYour Name 			MPDU. This setting is only allowed in combination with
2607*5113495bSYour Name 			'Msdu_continuation' set to 0. This implies that when an msdu
2608*5113495bSYour Name 			is spread out over multiple buffers and thus
2609*5113495bSYour Name 			msdu_continuation is set, only for the very last buffer of
2610*5113495bSYour Name 			the msdu, can the 'last_msdu_in_mpdu_flag' be set.
2611*5113495bSYour Name 
2612*5113495bSYour Name 
2613*5113495bSYour Name 
2614*5113495bSYour Name 			When both first_msdu_in_mpdu_flag and
2615*5113495bSYour Name 			last_msdu_in_mpdu_flag are set, the MPDU that this MSDU
2616*5113495bSYour Name 			belongs to only contains a single MSDU.
2617*5113495bSYour Name 
2618*5113495bSYour Name 
2619*5113495bSYour Name 
2620*5113495bSYour Name 
2621*5113495bSYour Name 
2622*5113495bSYour Name 			<legal all>
2623*5113495bSYour Name */
2624*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000058
2625*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_LSB 1
2626*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_MASK 0x00000002
2627*5113495bSYour Name 
2628*5113495bSYour Name /* Description		RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION
2629*5113495bSYour Name 
2630*5113495bSYour Name 			When set, this MSDU buffer was not able to hold the
2631*5113495bSYour Name 			entire MSDU. The next buffer will therefor contain
2632*5113495bSYour Name 			additional information related to this MSDU.
2633*5113495bSYour Name 
2634*5113495bSYour Name 
2635*5113495bSYour Name 
2636*5113495bSYour Name 			<legal all>
2637*5113495bSYour Name */
2638*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_OFFSET 0x00000058
2639*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_LSB 2
2640*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_MASK 0x00000004
2641*5113495bSYour Name 
2642*5113495bSYour Name /* Description		RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH
2643*5113495bSYour Name 
2644*5113495bSYour Name 			Parsed from RX_MSDU_START TLV . In the case MSDU spans
2645*5113495bSYour Name 			over multiple buffers, this field will be valid in the First
2646*5113495bSYour Name 			buffer used by MSDU.
2647*5113495bSYour Name 
2648*5113495bSYour Name 
2649*5113495bSYour Name 
2650*5113495bSYour Name 			Full MSDU length in bytes after decapsulation.
2651*5113495bSYour Name 
2652*5113495bSYour Name 
2653*5113495bSYour Name 
2654*5113495bSYour Name 			This field is still valid for MPDU frames without
2655*5113495bSYour Name 			A-MSDU.  It still represents MSDU length after decapsulation
2656*5113495bSYour Name 
2657*5113495bSYour Name 
2658*5113495bSYour Name 
2659*5113495bSYour Name 			Or in case of RAW MPDUs, it indicates the length of the
2660*5113495bSYour Name 			entire MPDU (without FCS field)
2661*5113495bSYour Name 
2662*5113495bSYour Name 			<legal all>
2663*5113495bSYour Name */
2664*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_OFFSET 0x00000058
2665*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_LSB 3
2666*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_MASK 0x0001fff8
2667*5113495bSYour Name 
2668*5113495bSYour Name /* Description		RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION
2669*5113495bSYour Name 
2670*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
2671*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
2672*5113495bSYour Name 			buffer used by the MSDU
2673*5113495bSYour Name 
2674*5113495bSYour Name 
2675*5113495bSYour Name 
2676*5113495bSYour Name 			The ID of the REO exit ring where the MSDU frame shall
2677*5113495bSYour Name 			push after (MPDU level) reordering has finished.
2678*5113495bSYour Name 
2679*5113495bSYour Name 
2680*5113495bSYour Name 
2681*5113495bSYour Name 			<enum 0 reo_destination_tcl> Reo will push the frame
2682*5113495bSYour Name 			into the REO2TCL ring
2683*5113495bSYour Name 
2684*5113495bSYour Name 			<enum 1 reo_destination_sw1> Reo will push the frame
2685*5113495bSYour Name 			into the REO2SW1 ring
2686*5113495bSYour Name 
2687*5113495bSYour Name 			<enum 2 reo_destination_sw2> Reo will push the frame
2688*5113495bSYour Name 			into the REO2SW2 ring
2689*5113495bSYour Name 
2690*5113495bSYour Name 			<enum 3 reo_destination_sw3> Reo will push the frame
2691*5113495bSYour Name 			into the REO2SW3 ring
2692*5113495bSYour Name 
2693*5113495bSYour Name 			<enum 4 reo_destination_sw4> Reo will push the frame
2694*5113495bSYour Name 			into the REO2SW4 ring
2695*5113495bSYour Name 
2696*5113495bSYour Name 			<enum 5 reo_destination_release> Reo will push the frame
2697*5113495bSYour Name 			into the REO_release ring
2698*5113495bSYour Name 
2699*5113495bSYour Name 			<enum 6 reo_destination_fw> Reo will push the frame into
2700*5113495bSYour Name 			the REO2FW ring
2701*5113495bSYour Name 
2702*5113495bSYour Name 			<enum 7 reo_destination_sw5> Reo will push the frame
2703*5113495bSYour Name 			into the REO2SW5 ring (REO remaps this in chips without
2704*5113495bSYour Name 			REO2SW5 ring, e.g. Pine)
2705*5113495bSYour Name 
2706*5113495bSYour Name 			<enum 8 reo_destination_sw6> Reo will push the frame
2707*5113495bSYour Name 			into the REO2SW6 ring (REO remaps this in chips without
2708*5113495bSYour Name 			REO2SW6 ring, e.g. Pine)
2709*5113495bSYour Name 
2710*5113495bSYour Name 			 <enum 9 reo_destination_9> REO remaps this <enum 10
2711*5113495bSYour Name 			reo_destination_10> REO remaps this
2712*5113495bSYour Name 
2713*5113495bSYour Name 			<enum 11 reo_destination_11> REO remaps this
2714*5113495bSYour Name 
2715*5113495bSYour Name 			<enum 12 reo_destination_12> REO remaps this <enum 13
2716*5113495bSYour Name 			reo_destination_13> REO remaps this
2717*5113495bSYour Name 
2718*5113495bSYour Name 			<enum 14 reo_destination_14> REO remaps this
2719*5113495bSYour Name 
2720*5113495bSYour Name 			<enum 15 reo_destination_15> REO remaps this
2721*5113495bSYour Name 
2722*5113495bSYour Name 			<enum 16 reo_destination_16> REO remaps this
2723*5113495bSYour Name 
2724*5113495bSYour Name 			<enum 17 reo_destination_17> REO remaps this
2725*5113495bSYour Name 
2726*5113495bSYour Name 			<enum 18 reo_destination_18> REO remaps this
2727*5113495bSYour Name 
2728*5113495bSYour Name 			<enum 19 reo_destination_19> REO remaps this
2729*5113495bSYour Name 
2730*5113495bSYour Name 			<enum 20 reo_destination_20> REO remaps this
2731*5113495bSYour Name 
2732*5113495bSYour Name 			<enum 21 reo_destination_21> REO remaps this
2733*5113495bSYour Name 
2734*5113495bSYour Name 			<enum 22 reo_destination_22> REO remaps this
2735*5113495bSYour Name 
2736*5113495bSYour Name 			<enum 23 reo_destination_23> REO remaps this
2737*5113495bSYour Name 
2738*5113495bSYour Name 			<enum 24 reo_destination_24> REO remaps this
2739*5113495bSYour Name 
2740*5113495bSYour Name 			<enum 25 reo_destination_25> REO remaps this
2741*5113495bSYour Name 
2742*5113495bSYour Name 			<enum 26 reo_destination_26> REO remaps this
2743*5113495bSYour Name 
2744*5113495bSYour Name 			<enum 27 reo_destination_27> REO remaps this
2745*5113495bSYour Name 
2746*5113495bSYour Name 			<enum 28 reo_destination_28> REO remaps this
2747*5113495bSYour Name 
2748*5113495bSYour Name 			<enum 29 reo_destination_29> REO remaps this
2749*5113495bSYour Name 
2750*5113495bSYour Name 			<enum 30 reo_destination_30> REO remaps this
2751*5113495bSYour Name 
2752*5113495bSYour Name 			<enum 31 reo_destination_31> REO remaps this
2753*5113495bSYour Name 
2754*5113495bSYour Name 
2755*5113495bSYour Name 
2756*5113495bSYour Name 			<legal all>
2757*5113495bSYour Name */
2758*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_OFFSET 0x00000058
2759*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_LSB 17
2760*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_MASK 0x003e0000
2761*5113495bSYour Name 
2762*5113495bSYour Name /* Description		RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP
2763*5113495bSYour Name 
2764*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
2765*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
2766*5113495bSYour Name 			buffer used by the MSDU
2767*5113495bSYour Name 
2768*5113495bSYour Name 
2769*5113495bSYour Name 
2770*5113495bSYour Name 			When set, REO shall drop this MSDU and not forward it to
2771*5113495bSYour Name 			any other ring...
2772*5113495bSYour Name 
2773*5113495bSYour Name 			<legal all>
2774*5113495bSYour Name */
2775*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_OFFSET 0x00000058
2776*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_LSB 22
2777*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_MASK 0x00400000
2778*5113495bSYour Name 
2779*5113495bSYour Name /* Description		RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID
2780*5113495bSYour Name 
2781*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
2782*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
2783*5113495bSYour Name 			buffer used by the MSDU
2784*5113495bSYour Name 
2785*5113495bSYour Name 
2786*5113495bSYour Name 
2787*5113495bSYour Name 			Indicates that OLE found a valid SA entry for this MSDU
2788*5113495bSYour Name 
2789*5113495bSYour Name 			<legal all>
2790*5113495bSYour Name */
2791*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_OFFSET 0x00000058
2792*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_LSB 23
2793*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_MASK 0x00800000
2794*5113495bSYour Name 
2795*5113495bSYour Name /* Description		RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT
2796*5113495bSYour Name 
2797*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
2798*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
2799*5113495bSYour Name 			buffer used by the MSDU
2800*5113495bSYour Name 
2801*5113495bSYour Name 
2802*5113495bSYour Name 
2803*5113495bSYour Name 			Indicates an unsuccessful MAC source address search due
2804*5113495bSYour Name 			to the expiring of the search timer for this MSDU
2805*5113495bSYour Name 
2806*5113495bSYour Name 			<legal all>
2807*5113495bSYour Name */
2808*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_OFFSET 0x00000058
2809*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_LSB 24
2810*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_MASK 0x01000000
2811*5113495bSYour Name 
2812*5113495bSYour Name /* Description		RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID
2813*5113495bSYour Name 
2814*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
2815*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
2816*5113495bSYour Name 			buffer used by the MSDU
2817*5113495bSYour Name 
2818*5113495bSYour Name 
2819*5113495bSYour Name 
2820*5113495bSYour Name 			Indicates that OLE found a valid DA entry for this MSDU
2821*5113495bSYour Name 
2822*5113495bSYour Name 			<legal all>
2823*5113495bSYour Name */
2824*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_OFFSET 0x00000058
2825*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_LSB 25
2826*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_MASK 0x02000000
2827*5113495bSYour Name 
2828*5113495bSYour Name /* Description		RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC
2829*5113495bSYour Name 
2830*5113495bSYour Name 			Field Only valid if da_is_valid is set
2831*5113495bSYour Name 
2832*5113495bSYour Name 
2833*5113495bSYour Name 
2834*5113495bSYour Name 			Indicates the DA address was a Multicast of Broadcast
2835*5113495bSYour Name 			address for this MSDU
2836*5113495bSYour Name 
2837*5113495bSYour Name 			<legal all>
2838*5113495bSYour Name */
2839*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_OFFSET 0x00000058
2840*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_LSB 26
2841*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_MASK 0x04000000
2842*5113495bSYour Name 
2843*5113495bSYour Name /* Description		RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT
2844*5113495bSYour Name 
2845*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
2846*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
2847*5113495bSYour Name 			buffer used by the MSDU
2848*5113495bSYour Name 
2849*5113495bSYour Name 
2850*5113495bSYour Name 
2851*5113495bSYour Name 			Indicates an unsuccessful MAC destination address search
2852*5113495bSYour Name 			due to the expiring of the search timer for this MSDU
2853*5113495bSYour Name 
2854*5113495bSYour Name 			<legal all>
2855*5113495bSYour Name */
2856*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_OFFSET 0x00000058
2857*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_LSB 27
2858*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_MASK 0x08000000
2859*5113495bSYour Name 
2860*5113495bSYour Name /* Description		RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB
2861*5113495bSYour Name 
2862*5113495bSYour Name 			Passed on from 'RX_MSDU_END' TLV (only the MSB is
2863*5113495bSYour Name 			reported as the LSB is always zero)
2864*5113495bSYour Name 
2865*5113495bSYour Name 			Number of bytes padded to make sure that the L3 header
2866*5113495bSYour Name 			will always start of a Dword boundary
2867*5113495bSYour Name 
2868*5113495bSYour Name 			<legal all>
2869*5113495bSYour Name */
2870*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB_OFFSET 0x00000058
2871*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB_LSB 28
2872*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB_MASK 0x10000000
2873*5113495bSYour Name 
2874*5113495bSYour Name /* Description		RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL
2875*5113495bSYour Name 
2876*5113495bSYour Name 			Passed on from 'RX_ATTENTION' TLV
2877*5113495bSYour Name 
2878*5113495bSYour Name 			Indicates that the computed checksum did not match the
2879*5113495bSYour Name 			checksum in the TCP/UDP header.
2880*5113495bSYour Name 
2881*5113495bSYour Name 			<legal all>
2882*5113495bSYour Name */
2883*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL_OFFSET 0x00000058
2884*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL_LSB 29
2885*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL_MASK 0x20000000
2886*5113495bSYour Name 
2887*5113495bSYour Name /* Description		RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL
2888*5113495bSYour Name 
2889*5113495bSYour Name 			Passed on from 'RX_ATTENTION' TLV
2890*5113495bSYour Name 
2891*5113495bSYour Name 			Indicates that the computed checksum did not match the
2892*5113495bSYour Name 			checksum in the IP header.
2893*5113495bSYour Name 
2894*5113495bSYour Name 			<legal all>
2895*5113495bSYour Name */
2896*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL_OFFSET 0x00000058
2897*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL_LSB 30
2898*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL_MASK 0x40000000
2899*5113495bSYour Name 
2900*5113495bSYour Name /* Description		RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_RAW_MPDU
2901*5113495bSYour Name 
2902*5113495bSYour Name 			Passed on from 'RX_MPDU_INFO' structure in
2903*5113495bSYour Name 			'RX_MPDU_START' TLV
2904*5113495bSYour Name 
2905*5113495bSYour Name 			Set to 1 by RXOLE when it has not performed any 802.11
2906*5113495bSYour Name 			to Ethernet/Natvie WiFi header conversion on this MPDU.
2907*5113495bSYour Name 
2908*5113495bSYour Name 			<legal all>
2909*5113495bSYour Name */
2910*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_RAW_MPDU_OFFSET 0x00000058
2911*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_RAW_MPDU_LSB 31
2912*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_RAW_MPDU_MASK 0x80000000
2913*5113495bSYour Name 
2914*5113495bSYour Name /* Description		RX_MSDU_LINK_23_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_OR_SW_PEER_ID_14_0
2915*5113495bSYour Name 
2916*5113495bSYour Name 			Passed on from 'RX_MSDU_END' TLV (one MSB is omitted)
2917*5113495bSYour Name 
2918*5113495bSYour Name 			Based on a register configuration in RXDMA, this field
2919*5113495bSYour Name 			will contain:
2920*5113495bSYour Name 
2921*5113495bSYour Name 			The offset in the address search table which matches the
2922*5113495bSYour Name 			MAC source address
2923*5113495bSYour Name 
2924*5113495bSYour Name 			OR
2925*5113495bSYour Name 
2926*5113495bSYour Name 
2927*5113495bSYour Name 
2928*5113495bSYour Name 			'sw_peer_id' from the address search entry corresponding
2929*5113495bSYour Name 			to the source address of the MSDU
2930*5113495bSYour Name 
2931*5113495bSYour Name 			<legal all>
2932*5113495bSYour Name */
2933*5113495bSYour Name #define RX_MSDU_LINK_23_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_OR_SW_PEER_ID_14_0_OFFSET 0x0000005c
2934*5113495bSYour Name #define RX_MSDU_LINK_23_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_OR_SW_PEER_ID_14_0_LSB 0
2935*5113495bSYour Name #define RX_MSDU_LINK_23_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_OR_SW_PEER_ID_14_0_MASK 0x00007fff
2936*5113495bSYour Name 
2937*5113495bSYour Name /* Description		RX_MSDU_LINK_23_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_MPDU_AST_IDX_OR_SW_PEER_ID_14_0
2938*5113495bSYour Name 
2939*5113495bSYour Name 			Passed on from 'RX_MPDU_INFO' structure in
2940*5113495bSYour Name 			'RX_MPDU_START' TLV (one MSB is omitted)
2941*5113495bSYour Name 
2942*5113495bSYour Name 
2943*5113495bSYour Name 
2944*5113495bSYour Name 			Based on a register configuration in RXDMA, this field
2945*5113495bSYour Name 			will contain:
2946*5113495bSYour Name 
2947*5113495bSYour Name 			The index of the address search entry corresponding to
2948*5113495bSYour Name 			this MPDU (a value of 0xFFFF indicates an invalid AST index,
2949*5113495bSYour Name 			meaning that no AST entry was found or no AST search was
2950*5113495bSYour Name 			performed)
2951*5113495bSYour Name 
2952*5113495bSYour Name 
2953*5113495bSYour Name 
2954*5113495bSYour Name 			OR:
2955*5113495bSYour Name 
2956*5113495bSYour Name 
2957*5113495bSYour Name 
2958*5113495bSYour Name 			'sw_peer_id' from the address search entry corresponding
2959*5113495bSYour Name 			to this MPDU (in case of ndp or phy_err or
2960*5113495bSYour Name 			AST_based_lookup_valid == 0, this field will be set to 0)
2961*5113495bSYour Name 
2962*5113495bSYour Name 			<legal all>
2963*5113495bSYour Name */
2964*5113495bSYour Name #define RX_MSDU_LINK_23_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_MPDU_AST_IDX_OR_SW_PEER_ID_14_0_OFFSET 0x0000005c
2965*5113495bSYour Name #define RX_MSDU_LINK_23_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_MPDU_AST_IDX_OR_SW_PEER_ID_14_0_LSB 15
2966*5113495bSYour Name #define RX_MSDU_LINK_23_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_MPDU_AST_IDX_OR_SW_PEER_ID_14_0_MASK 0x3fff8000
2967*5113495bSYour Name 
2968*5113495bSYour Name /* Description		RX_MSDU_LINK_23_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_FR_DS
2969*5113495bSYour Name 
2970*5113495bSYour Name 			Passed on from 'RX_MPDU_INFO' structure in
2971*5113495bSYour Name 			'RX_MPDU_START' TLV
2972*5113495bSYour Name 
2973*5113495bSYour Name 			Set if the 'from DS' bit is set in the frame control.
2974*5113495bSYour Name 
2975*5113495bSYour Name 			<legal all>
2976*5113495bSYour Name */
2977*5113495bSYour Name #define RX_MSDU_LINK_23_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_FR_DS_OFFSET 0x0000005c
2978*5113495bSYour Name #define RX_MSDU_LINK_23_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_FR_DS_LSB   30
2979*5113495bSYour Name #define RX_MSDU_LINK_23_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_FR_DS_MASK  0x40000000
2980*5113495bSYour Name 
2981*5113495bSYour Name /* Description		RX_MSDU_LINK_23_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_TO_DS
2982*5113495bSYour Name 
2983*5113495bSYour Name 			Passed on from 'RX_MPDU_INFO' structure in
2984*5113495bSYour Name 			'RX_MPDU_START' TLV
2985*5113495bSYour Name 
2986*5113495bSYour Name 			Set if the 'to DS' bit is set in the frame control.
2987*5113495bSYour Name 
2988*5113495bSYour Name 			<legal all>
2989*5113495bSYour Name */
2990*5113495bSYour Name #define RX_MSDU_LINK_23_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_TO_DS_OFFSET 0x0000005c
2991*5113495bSYour Name #define RX_MSDU_LINK_23_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_TO_DS_LSB   31
2992*5113495bSYour Name #define RX_MSDU_LINK_23_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_TO_DS_MASK  0x80000000
2993*5113495bSYour Name 
2994*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_msdu_details msdu_4 */
2995*5113495bSYour Name 
2996*5113495bSYour Name 
2997*5113495bSYour Name  /* EXTERNAL REFERENCE : struct buffer_addr_info buffer_addr_info_details */
2998*5113495bSYour Name 
2999*5113495bSYour Name 
3000*5113495bSYour Name /* Description		RX_MSDU_LINK_24_MSDU_4_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0
3001*5113495bSYour Name 
3002*5113495bSYour Name 			Address (lower 32 bits) of the MSDU buffer OR
3003*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
3004*5113495bSYour Name 
3005*5113495bSYour Name 
3006*5113495bSYour Name 
3007*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
3008*5113495bSYour Name 
3009*5113495bSYour Name 			<legal all>
3010*5113495bSYour Name */
3011*5113495bSYour Name #define RX_MSDU_LINK_24_MSDU_4_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_OFFSET 0x00000060
3012*5113495bSYour Name #define RX_MSDU_LINK_24_MSDU_4_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_LSB 0
3013*5113495bSYour Name #define RX_MSDU_LINK_24_MSDU_4_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_MASK 0xffffffff
3014*5113495bSYour Name 
3015*5113495bSYour Name /* Description		RX_MSDU_LINK_25_MSDU_4_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32
3016*5113495bSYour Name 
3017*5113495bSYour Name 			Address (upper 8 bits) of the MSDU buffer OR
3018*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
3019*5113495bSYour Name 
3020*5113495bSYour Name 
3021*5113495bSYour Name 
3022*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
3023*5113495bSYour Name 
3024*5113495bSYour Name 			<legal all>
3025*5113495bSYour Name */
3026*5113495bSYour Name #define RX_MSDU_LINK_25_MSDU_4_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_OFFSET 0x00000064
3027*5113495bSYour Name #define RX_MSDU_LINK_25_MSDU_4_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_LSB 0
3028*5113495bSYour Name #define RX_MSDU_LINK_25_MSDU_4_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_MASK 0x000000ff
3029*5113495bSYour Name 
3030*5113495bSYour Name /* Description		RX_MSDU_LINK_25_MSDU_4_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER
3031*5113495bSYour Name 
3032*5113495bSYour Name 			Consumer: WBM
3033*5113495bSYour Name 
3034*5113495bSYour Name 			Producer: SW/FW
3035*5113495bSYour Name 
3036*5113495bSYour Name 
3037*5113495bSYour Name 
3038*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
3039*5113495bSYour Name 
3040*5113495bSYour Name 
3041*5113495bSYour Name 
3042*5113495bSYour Name 			Indicates to which buffer manager the buffer OR
3043*5113495bSYour Name 			MSDU_EXTENSION descriptor OR link descriptor that is being
3044*5113495bSYour Name 			pointed to shall be returned after the frame has been
3045*5113495bSYour Name 			processed. It is used by WBM for routing purposes.
3046*5113495bSYour Name 
3047*5113495bSYour Name 
3048*5113495bSYour Name 
3049*5113495bSYour Name 			<enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned
3050*5113495bSYour Name 			to the WMB buffer idle list
3051*5113495bSYour Name 
3052*5113495bSYour Name 			<enum 1 WBM_IDLE_DESC_LIST> This buffer shall be
3053*5113495bSYour Name 			returned to the WMB idle link descriptor idle list
3054*5113495bSYour Name 
3055*5113495bSYour Name 			<enum 2 FW_BM> This buffer shall be returned to the FW
3056*5113495bSYour Name 
3057*5113495bSYour Name 			<enum 3 SW0_BM> This buffer shall be returned to the SW,
3058*5113495bSYour Name 			ring 0
3059*5113495bSYour Name 
3060*5113495bSYour Name 			<enum 4 SW1_BM> This buffer shall be returned to the SW,
3061*5113495bSYour Name 			ring 1
3062*5113495bSYour Name 
3063*5113495bSYour Name 			<enum 5 SW2_BM> This buffer shall be returned to the SW,
3064*5113495bSYour Name 			ring 2
3065*5113495bSYour Name 
3066*5113495bSYour Name 			<enum 6 SW3_BM> This buffer shall be returned to the SW,
3067*5113495bSYour Name 			ring 3
3068*5113495bSYour Name 
3069*5113495bSYour Name 			<enum 7 SW4_BM> This buffer shall be returned to the SW,
3070*5113495bSYour Name 			ring 4
3071*5113495bSYour Name 
3072*5113495bSYour Name 
3073*5113495bSYour Name 
3074*5113495bSYour Name 			<legal all>
3075*5113495bSYour Name */
3076*5113495bSYour Name #define RX_MSDU_LINK_25_MSDU_4_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_OFFSET 0x00000064
3077*5113495bSYour Name #define RX_MSDU_LINK_25_MSDU_4_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_LSB 8
3078*5113495bSYour Name #define RX_MSDU_LINK_25_MSDU_4_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_MASK 0x00000700
3079*5113495bSYour Name 
3080*5113495bSYour Name /* Description		RX_MSDU_LINK_25_MSDU_4_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE
3081*5113495bSYour Name 
3082*5113495bSYour Name 			Cookie field exclusively used by SW.
3083*5113495bSYour Name 
3084*5113495bSYour Name 
3085*5113495bSYour Name 
3086*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
3087*5113495bSYour Name 
3088*5113495bSYour Name 
3089*5113495bSYour Name 
3090*5113495bSYour Name 			HW ignores the contents, accept that it passes the
3091*5113495bSYour Name 			programmed value on to other descriptors together with the
3092*5113495bSYour Name 			physical address
3093*5113495bSYour Name 
3094*5113495bSYour Name 
3095*5113495bSYour Name 
3096*5113495bSYour Name 			Field can be used by SW to for example associate the
3097*5113495bSYour Name 			buffers physical address with the virtual address
3098*5113495bSYour Name 
3099*5113495bSYour Name 			The bit definitions as used by SW are within SW HLD
3100*5113495bSYour Name 			specification
3101*5113495bSYour Name 
3102*5113495bSYour Name 
3103*5113495bSYour Name 
3104*5113495bSYour Name 			NOTE1:
3105*5113495bSYour Name 
3106*5113495bSYour Name 			The three most significant bits can have a special
3107*5113495bSYour Name 			meaning in case this struct is embedded in a TX_MPDU_DETAILS
3108*5113495bSYour Name 			STRUCT, and field transmit_bw_restriction is set
3109*5113495bSYour Name 
3110*5113495bSYour Name 
3111*5113495bSYour Name 
3112*5113495bSYour Name 			In case of NON punctured transmission:
3113*5113495bSYour Name 
3114*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only
3115*5113495bSYour Name 
3116*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only
3117*5113495bSYour Name 
3118*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only
3119*5113495bSYour Name 
3120*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only
3121*5113495bSYour Name 
3122*5113495bSYour Name 
3123*5113495bSYour Name 
3124*5113495bSYour Name 			In case of punctured transmission:
3125*5113495bSYour Name 
3126*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only
3127*5113495bSYour Name 
3128*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only
3129*5113495bSYour Name 
3130*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only
3131*5113495bSYour Name 
3132*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only
3133*5113495bSYour Name 
3134*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only
3135*5113495bSYour Name 
3136*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only
3137*5113495bSYour Name 
3138*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only
3139*5113495bSYour Name 
3140*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only
3141*5113495bSYour Name 
3142*5113495bSYour Name 
3143*5113495bSYour Name 
3144*5113495bSYour Name 			Note: a punctured transmission is indicated by the
3145*5113495bSYour Name 			presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler
3146*5113495bSYour Name 			TLV
3147*5113495bSYour Name 
3148*5113495bSYour Name 
3149*5113495bSYour Name 
3150*5113495bSYour Name 			NOTE 2:The five most significant bits can have a special
3151*5113495bSYour Name 			meaning in case this struct is embedded in an
3152*5113495bSYour Name 			RX_MSDU_DETAILS STRUCT, and Maple/Spruce Rx DMA is
3153*5113495bSYour Name 			configured for passing on the additional info
3154*5113495bSYour Name 			from 'RX_MPDU_INFO' structure in 'RX_MPDU_START' TLV
3155*5113495bSYour Name 			(FR56821). This is not supported in HastingsPrime, Pine or
3156*5113495bSYour Name 			Moselle.
3157*5113495bSYour Name 
3158*5113495bSYour Name 
3159*5113495bSYour Name 
3160*5113495bSYour Name 			Sw_buffer_cookie[20:17]: Tid: The TID field in the QoS
3161*5113495bSYour Name 			control field
3162*5113495bSYour Name 
3163*5113495bSYour Name 
3164*5113495bSYour Name 
3165*5113495bSYour Name 			Sw_buffer_cookie[16]: Mpdu_qos_control_valid: This field
3166*5113495bSYour Name 			indicates MPDUs with a QoS control field.
3167*5113495bSYour Name 
3168*5113495bSYour Name 
3169*5113495bSYour Name 
3170*5113495bSYour Name 
3171*5113495bSYour Name 
3172*5113495bSYour Name 			<legal all>
3173*5113495bSYour Name */
3174*5113495bSYour Name #define RX_MSDU_LINK_25_MSDU_4_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_OFFSET 0x00000064
3175*5113495bSYour Name #define RX_MSDU_LINK_25_MSDU_4_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_LSB 11
3176*5113495bSYour Name #define RX_MSDU_LINK_25_MSDU_4_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_MASK 0xfffff800
3177*5113495bSYour Name 
3178*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_msdu_desc_info rx_msdu_desc_info_details */
3179*5113495bSYour Name 
3180*5113495bSYour Name 
3181*5113495bSYour Name /* Description		RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG
3182*5113495bSYour Name 
3183*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
3184*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
3185*5113495bSYour Name 			buffer used by the MSDU
3186*5113495bSYour Name 
3187*5113495bSYour Name 
3188*5113495bSYour Name 
3189*5113495bSYour Name 			<enum 0 Not_first_msdu> This is not the first MSDU in
3190*5113495bSYour Name 			the MPDU.
3191*5113495bSYour Name 
3192*5113495bSYour Name 			<enum 1 first_msdu> This MSDU is the first one in the
3193*5113495bSYour Name 			MPDU.
3194*5113495bSYour Name 
3195*5113495bSYour Name 
3196*5113495bSYour Name 
3197*5113495bSYour Name 			<legal all>
3198*5113495bSYour Name */
3199*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000068
3200*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_LSB 0
3201*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_MASK 0x00000001
3202*5113495bSYour Name 
3203*5113495bSYour Name /* Description		RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG
3204*5113495bSYour Name 
3205*5113495bSYour Name 			Consumer: WBM/REO/SW/FW
3206*5113495bSYour Name 
3207*5113495bSYour Name 			Producer: RXDMA
3208*5113495bSYour Name 
3209*5113495bSYour Name 
3210*5113495bSYour Name 
3211*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
3212*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
3213*5113495bSYour Name 			buffer used by the MSDU
3214*5113495bSYour Name 
3215*5113495bSYour Name 
3216*5113495bSYour Name 
3217*5113495bSYour Name 			<enum 0 Not_last_msdu> There are more MSDUs linked to
3218*5113495bSYour Name 			this MSDU that belongs to this MPDU
3219*5113495bSYour Name 
3220*5113495bSYour Name 			<enum 1 Last_msdu> this MSDU is the last one in the
3221*5113495bSYour Name 			MPDU. This setting is only allowed in combination with
3222*5113495bSYour Name 			'Msdu_continuation' set to 0. This implies that when an msdu
3223*5113495bSYour Name 			is spread out over multiple buffers and thus
3224*5113495bSYour Name 			msdu_continuation is set, only for the very last buffer of
3225*5113495bSYour Name 			the msdu, can the 'last_msdu_in_mpdu_flag' be set.
3226*5113495bSYour Name 
3227*5113495bSYour Name 
3228*5113495bSYour Name 
3229*5113495bSYour Name 			When both first_msdu_in_mpdu_flag and
3230*5113495bSYour Name 			last_msdu_in_mpdu_flag are set, the MPDU that this MSDU
3231*5113495bSYour Name 			belongs to only contains a single MSDU.
3232*5113495bSYour Name 
3233*5113495bSYour Name 
3234*5113495bSYour Name 
3235*5113495bSYour Name 
3236*5113495bSYour Name 
3237*5113495bSYour Name 			<legal all>
3238*5113495bSYour Name */
3239*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000068
3240*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_LSB 1
3241*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_MASK 0x00000002
3242*5113495bSYour Name 
3243*5113495bSYour Name /* Description		RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION
3244*5113495bSYour Name 
3245*5113495bSYour Name 			When set, this MSDU buffer was not able to hold the
3246*5113495bSYour Name 			entire MSDU. The next buffer will therefor contain
3247*5113495bSYour Name 			additional information related to this MSDU.
3248*5113495bSYour Name 
3249*5113495bSYour Name 
3250*5113495bSYour Name 
3251*5113495bSYour Name 			<legal all>
3252*5113495bSYour Name */
3253*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_OFFSET 0x00000068
3254*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_LSB 2
3255*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_MASK 0x00000004
3256*5113495bSYour Name 
3257*5113495bSYour Name /* Description		RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH
3258*5113495bSYour Name 
3259*5113495bSYour Name 			Parsed from RX_MSDU_START TLV . In the case MSDU spans
3260*5113495bSYour Name 			over multiple buffers, this field will be valid in the First
3261*5113495bSYour Name 			buffer used by MSDU.
3262*5113495bSYour Name 
3263*5113495bSYour Name 
3264*5113495bSYour Name 
3265*5113495bSYour Name 			Full MSDU length in bytes after decapsulation.
3266*5113495bSYour Name 
3267*5113495bSYour Name 
3268*5113495bSYour Name 
3269*5113495bSYour Name 			This field is still valid for MPDU frames without
3270*5113495bSYour Name 			A-MSDU.  It still represents MSDU length after decapsulation
3271*5113495bSYour Name 
3272*5113495bSYour Name 
3273*5113495bSYour Name 
3274*5113495bSYour Name 			Or in case of RAW MPDUs, it indicates the length of the
3275*5113495bSYour Name 			entire MPDU (without FCS field)
3276*5113495bSYour Name 
3277*5113495bSYour Name 			<legal all>
3278*5113495bSYour Name */
3279*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_OFFSET 0x00000068
3280*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_LSB 3
3281*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_MASK 0x0001fff8
3282*5113495bSYour Name 
3283*5113495bSYour Name /* Description		RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION
3284*5113495bSYour Name 
3285*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
3286*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
3287*5113495bSYour Name 			buffer used by the MSDU
3288*5113495bSYour Name 
3289*5113495bSYour Name 
3290*5113495bSYour Name 
3291*5113495bSYour Name 			The ID of the REO exit ring where the MSDU frame shall
3292*5113495bSYour Name 			push after (MPDU level) reordering has finished.
3293*5113495bSYour Name 
3294*5113495bSYour Name 
3295*5113495bSYour Name 
3296*5113495bSYour Name 			<enum 0 reo_destination_tcl> Reo will push the frame
3297*5113495bSYour Name 			into the REO2TCL ring
3298*5113495bSYour Name 
3299*5113495bSYour Name 			<enum 1 reo_destination_sw1> Reo will push the frame
3300*5113495bSYour Name 			into the REO2SW1 ring
3301*5113495bSYour Name 
3302*5113495bSYour Name 			<enum 2 reo_destination_sw2> Reo will push the frame
3303*5113495bSYour Name 			into the REO2SW2 ring
3304*5113495bSYour Name 
3305*5113495bSYour Name 			<enum 3 reo_destination_sw3> Reo will push the frame
3306*5113495bSYour Name 			into the REO2SW3 ring
3307*5113495bSYour Name 
3308*5113495bSYour Name 			<enum 4 reo_destination_sw4> Reo will push the frame
3309*5113495bSYour Name 			into the REO2SW4 ring
3310*5113495bSYour Name 
3311*5113495bSYour Name 			<enum 5 reo_destination_release> Reo will push the frame
3312*5113495bSYour Name 			into the REO_release ring
3313*5113495bSYour Name 
3314*5113495bSYour Name 			<enum 6 reo_destination_fw> Reo will push the frame into
3315*5113495bSYour Name 			the REO2FW ring
3316*5113495bSYour Name 
3317*5113495bSYour Name 			<enum 7 reo_destination_sw5> Reo will push the frame
3318*5113495bSYour Name 			into the REO2SW5 ring (REO remaps this in chips without
3319*5113495bSYour Name 			REO2SW5 ring, e.g. Pine)
3320*5113495bSYour Name 
3321*5113495bSYour Name 			<enum 8 reo_destination_sw6> Reo will push the frame
3322*5113495bSYour Name 			into the REO2SW6 ring (REO remaps this in chips without
3323*5113495bSYour Name 			REO2SW6 ring, e.g. Pine)
3324*5113495bSYour Name 
3325*5113495bSYour Name 			 <enum 9 reo_destination_9> REO remaps this <enum 10
3326*5113495bSYour Name 			reo_destination_10> REO remaps this
3327*5113495bSYour Name 
3328*5113495bSYour Name 			<enum 11 reo_destination_11> REO remaps this
3329*5113495bSYour Name 
3330*5113495bSYour Name 			<enum 12 reo_destination_12> REO remaps this <enum 13
3331*5113495bSYour Name 			reo_destination_13> REO remaps this
3332*5113495bSYour Name 
3333*5113495bSYour Name 			<enum 14 reo_destination_14> REO remaps this
3334*5113495bSYour Name 
3335*5113495bSYour Name 			<enum 15 reo_destination_15> REO remaps this
3336*5113495bSYour Name 
3337*5113495bSYour Name 			<enum 16 reo_destination_16> REO remaps this
3338*5113495bSYour Name 
3339*5113495bSYour Name 			<enum 17 reo_destination_17> REO remaps this
3340*5113495bSYour Name 
3341*5113495bSYour Name 			<enum 18 reo_destination_18> REO remaps this
3342*5113495bSYour Name 
3343*5113495bSYour Name 			<enum 19 reo_destination_19> REO remaps this
3344*5113495bSYour Name 
3345*5113495bSYour Name 			<enum 20 reo_destination_20> REO remaps this
3346*5113495bSYour Name 
3347*5113495bSYour Name 			<enum 21 reo_destination_21> REO remaps this
3348*5113495bSYour Name 
3349*5113495bSYour Name 			<enum 22 reo_destination_22> REO remaps this
3350*5113495bSYour Name 
3351*5113495bSYour Name 			<enum 23 reo_destination_23> REO remaps this
3352*5113495bSYour Name 
3353*5113495bSYour Name 			<enum 24 reo_destination_24> REO remaps this
3354*5113495bSYour Name 
3355*5113495bSYour Name 			<enum 25 reo_destination_25> REO remaps this
3356*5113495bSYour Name 
3357*5113495bSYour Name 			<enum 26 reo_destination_26> REO remaps this
3358*5113495bSYour Name 
3359*5113495bSYour Name 			<enum 27 reo_destination_27> REO remaps this
3360*5113495bSYour Name 
3361*5113495bSYour Name 			<enum 28 reo_destination_28> REO remaps this
3362*5113495bSYour Name 
3363*5113495bSYour Name 			<enum 29 reo_destination_29> REO remaps this
3364*5113495bSYour Name 
3365*5113495bSYour Name 			<enum 30 reo_destination_30> REO remaps this
3366*5113495bSYour Name 
3367*5113495bSYour Name 			<enum 31 reo_destination_31> REO remaps this
3368*5113495bSYour Name 
3369*5113495bSYour Name 
3370*5113495bSYour Name 
3371*5113495bSYour Name 			<legal all>
3372*5113495bSYour Name */
3373*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_OFFSET 0x00000068
3374*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_LSB 17
3375*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_MASK 0x003e0000
3376*5113495bSYour Name 
3377*5113495bSYour Name /* Description		RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP
3378*5113495bSYour Name 
3379*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
3380*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
3381*5113495bSYour Name 			buffer used by the MSDU
3382*5113495bSYour Name 
3383*5113495bSYour Name 
3384*5113495bSYour Name 
3385*5113495bSYour Name 			When set, REO shall drop this MSDU and not forward it to
3386*5113495bSYour Name 			any other ring...
3387*5113495bSYour Name 
3388*5113495bSYour Name 			<legal all>
3389*5113495bSYour Name */
3390*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_OFFSET 0x00000068
3391*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_LSB 22
3392*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_MASK 0x00400000
3393*5113495bSYour Name 
3394*5113495bSYour Name /* Description		RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID
3395*5113495bSYour Name 
3396*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
3397*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
3398*5113495bSYour Name 			buffer used by the MSDU
3399*5113495bSYour Name 
3400*5113495bSYour Name 
3401*5113495bSYour Name 
3402*5113495bSYour Name 			Indicates that OLE found a valid SA entry for this MSDU
3403*5113495bSYour Name 
3404*5113495bSYour Name 			<legal all>
3405*5113495bSYour Name */
3406*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_OFFSET 0x00000068
3407*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_LSB 23
3408*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_MASK 0x00800000
3409*5113495bSYour Name 
3410*5113495bSYour Name /* Description		RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT
3411*5113495bSYour Name 
3412*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
3413*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
3414*5113495bSYour Name 			buffer used by the MSDU
3415*5113495bSYour Name 
3416*5113495bSYour Name 
3417*5113495bSYour Name 
3418*5113495bSYour Name 			Indicates an unsuccessful MAC source address search due
3419*5113495bSYour Name 			to the expiring of the search timer for this MSDU
3420*5113495bSYour Name 
3421*5113495bSYour Name 			<legal all>
3422*5113495bSYour Name */
3423*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_OFFSET 0x00000068
3424*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_LSB 24
3425*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_MASK 0x01000000
3426*5113495bSYour Name 
3427*5113495bSYour Name /* Description		RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID
3428*5113495bSYour Name 
3429*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
3430*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
3431*5113495bSYour Name 			buffer used by the MSDU
3432*5113495bSYour Name 
3433*5113495bSYour Name 
3434*5113495bSYour Name 
3435*5113495bSYour Name 			Indicates that OLE found a valid DA entry for this MSDU
3436*5113495bSYour Name 
3437*5113495bSYour Name 			<legal all>
3438*5113495bSYour Name */
3439*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_OFFSET 0x00000068
3440*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_LSB 25
3441*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_MASK 0x02000000
3442*5113495bSYour Name 
3443*5113495bSYour Name /* Description		RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC
3444*5113495bSYour Name 
3445*5113495bSYour Name 			Field Only valid if da_is_valid is set
3446*5113495bSYour Name 
3447*5113495bSYour Name 
3448*5113495bSYour Name 
3449*5113495bSYour Name 			Indicates the DA address was a Multicast of Broadcast
3450*5113495bSYour Name 			address for this MSDU
3451*5113495bSYour Name 
3452*5113495bSYour Name 			<legal all>
3453*5113495bSYour Name */
3454*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_OFFSET 0x00000068
3455*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_LSB 26
3456*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_MASK 0x04000000
3457*5113495bSYour Name 
3458*5113495bSYour Name /* Description		RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT
3459*5113495bSYour Name 
3460*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
3461*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
3462*5113495bSYour Name 			buffer used by the MSDU
3463*5113495bSYour Name 
3464*5113495bSYour Name 
3465*5113495bSYour Name 
3466*5113495bSYour Name 			Indicates an unsuccessful MAC destination address search
3467*5113495bSYour Name 			due to the expiring of the search timer for this MSDU
3468*5113495bSYour Name 
3469*5113495bSYour Name 			<legal all>
3470*5113495bSYour Name */
3471*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_OFFSET 0x00000068
3472*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_LSB 27
3473*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_MASK 0x08000000
3474*5113495bSYour Name 
3475*5113495bSYour Name /* Description		RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB
3476*5113495bSYour Name 
3477*5113495bSYour Name 			Passed on from 'RX_MSDU_END' TLV (only the MSB is
3478*5113495bSYour Name 			reported as the LSB is always zero)
3479*5113495bSYour Name 
3480*5113495bSYour Name 			Number of bytes padded to make sure that the L3 header
3481*5113495bSYour Name 			will always start of a Dword boundary
3482*5113495bSYour Name 
3483*5113495bSYour Name 			<legal all>
3484*5113495bSYour Name */
3485*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB_OFFSET 0x00000068
3486*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB_LSB 28
3487*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB_MASK 0x10000000
3488*5113495bSYour Name 
3489*5113495bSYour Name /* Description		RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL
3490*5113495bSYour Name 
3491*5113495bSYour Name 			Passed on from 'RX_ATTENTION' TLV
3492*5113495bSYour Name 
3493*5113495bSYour Name 			Indicates that the computed checksum did not match the
3494*5113495bSYour Name 			checksum in the TCP/UDP header.
3495*5113495bSYour Name 
3496*5113495bSYour Name 			<legal all>
3497*5113495bSYour Name */
3498*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL_OFFSET 0x00000068
3499*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL_LSB 29
3500*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL_MASK 0x20000000
3501*5113495bSYour Name 
3502*5113495bSYour Name /* Description		RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL
3503*5113495bSYour Name 
3504*5113495bSYour Name 			Passed on from 'RX_ATTENTION' TLV
3505*5113495bSYour Name 
3506*5113495bSYour Name 			Indicates that the computed checksum did not match the
3507*5113495bSYour Name 			checksum in the IP header.
3508*5113495bSYour Name 
3509*5113495bSYour Name 			<legal all>
3510*5113495bSYour Name */
3511*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL_OFFSET 0x00000068
3512*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL_LSB 30
3513*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL_MASK 0x40000000
3514*5113495bSYour Name 
3515*5113495bSYour Name /* Description		RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_RAW_MPDU
3516*5113495bSYour Name 
3517*5113495bSYour Name 			Passed on from 'RX_MPDU_INFO' structure in
3518*5113495bSYour Name 			'RX_MPDU_START' TLV
3519*5113495bSYour Name 
3520*5113495bSYour Name 			Set to 1 by RXOLE when it has not performed any 802.11
3521*5113495bSYour Name 			to Ethernet/Natvie WiFi header conversion on this MPDU.
3522*5113495bSYour Name 
3523*5113495bSYour Name 			<legal all>
3524*5113495bSYour Name */
3525*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_RAW_MPDU_OFFSET 0x00000068
3526*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_RAW_MPDU_LSB 31
3527*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_RAW_MPDU_MASK 0x80000000
3528*5113495bSYour Name 
3529*5113495bSYour Name /* Description		RX_MSDU_LINK_27_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_OR_SW_PEER_ID_14_0
3530*5113495bSYour Name 
3531*5113495bSYour Name 			Passed on from 'RX_MSDU_END' TLV (one MSB is omitted)
3532*5113495bSYour Name 
3533*5113495bSYour Name 			Based on a register configuration in RXDMA, this field
3534*5113495bSYour Name 			will contain:
3535*5113495bSYour Name 
3536*5113495bSYour Name 			The offset in the address search table which matches the
3537*5113495bSYour Name 			MAC source address
3538*5113495bSYour Name 
3539*5113495bSYour Name 			OR
3540*5113495bSYour Name 
3541*5113495bSYour Name 
3542*5113495bSYour Name 
3543*5113495bSYour Name 			'sw_peer_id' from the address search entry corresponding
3544*5113495bSYour Name 			to the source address of the MSDU
3545*5113495bSYour Name 
3546*5113495bSYour Name 			<legal all>
3547*5113495bSYour Name */
3548*5113495bSYour Name #define RX_MSDU_LINK_27_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_OR_SW_PEER_ID_14_0_OFFSET 0x0000006c
3549*5113495bSYour Name #define RX_MSDU_LINK_27_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_OR_SW_PEER_ID_14_0_LSB 0
3550*5113495bSYour Name #define RX_MSDU_LINK_27_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_OR_SW_PEER_ID_14_0_MASK 0x00007fff
3551*5113495bSYour Name 
3552*5113495bSYour Name /* Description		RX_MSDU_LINK_27_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_MPDU_AST_IDX_OR_SW_PEER_ID_14_0
3553*5113495bSYour Name 
3554*5113495bSYour Name 			Passed on from 'RX_MPDU_INFO' structure in
3555*5113495bSYour Name 			'RX_MPDU_START' TLV (one MSB is omitted)
3556*5113495bSYour Name 
3557*5113495bSYour Name 
3558*5113495bSYour Name 
3559*5113495bSYour Name 			Based on a register configuration in RXDMA, this field
3560*5113495bSYour Name 			will contain:
3561*5113495bSYour Name 
3562*5113495bSYour Name 			The index of the address search entry corresponding to
3563*5113495bSYour Name 			this MPDU (a value of 0xFFFF indicates an invalid AST index,
3564*5113495bSYour Name 			meaning that no AST entry was found or no AST search was
3565*5113495bSYour Name 			performed)
3566*5113495bSYour Name 
3567*5113495bSYour Name 
3568*5113495bSYour Name 
3569*5113495bSYour Name 			OR:
3570*5113495bSYour Name 
3571*5113495bSYour Name 
3572*5113495bSYour Name 
3573*5113495bSYour Name 			'sw_peer_id' from the address search entry corresponding
3574*5113495bSYour Name 			to this MPDU (in case of ndp or phy_err or
3575*5113495bSYour Name 			AST_based_lookup_valid == 0, this field will be set to 0)
3576*5113495bSYour Name 
3577*5113495bSYour Name 			<legal all>
3578*5113495bSYour Name */
3579*5113495bSYour Name #define RX_MSDU_LINK_27_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_MPDU_AST_IDX_OR_SW_PEER_ID_14_0_OFFSET 0x0000006c
3580*5113495bSYour Name #define RX_MSDU_LINK_27_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_MPDU_AST_IDX_OR_SW_PEER_ID_14_0_LSB 15
3581*5113495bSYour Name #define RX_MSDU_LINK_27_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_MPDU_AST_IDX_OR_SW_PEER_ID_14_0_MASK 0x3fff8000
3582*5113495bSYour Name 
3583*5113495bSYour Name /* Description		RX_MSDU_LINK_27_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_FR_DS
3584*5113495bSYour Name 
3585*5113495bSYour Name 			Passed on from 'RX_MPDU_INFO' structure in
3586*5113495bSYour Name 			'RX_MPDU_START' TLV
3587*5113495bSYour Name 
3588*5113495bSYour Name 			Set if the 'from DS' bit is set in the frame control.
3589*5113495bSYour Name 
3590*5113495bSYour Name 			<legal all>
3591*5113495bSYour Name */
3592*5113495bSYour Name #define RX_MSDU_LINK_27_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_FR_DS_OFFSET 0x0000006c
3593*5113495bSYour Name #define RX_MSDU_LINK_27_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_FR_DS_LSB   30
3594*5113495bSYour Name #define RX_MSDU_LINK_27_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_FR_DS_MASK  0x40000000
3595*5113495bSYour Name 
3596*5113495bSYour Name /* Description		RX_MSDU_LINK_27_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_TO_DS
3597*5113495bSYour Name 
3598*5113495bSYour Name 			Passed on from 'RX_MPDU_INFO' structure in
3599*5113495bSYour Name 			'RX_MPDU_START' TLV
3600*5113495bSYour Name 
3601*5113495bSYour Name 			Set if the 'to DS' bit is set in the frame control.
3602*5113495bSYour Name 
3603*5113495bSYour Name 			<legal all>
3604*5113495bSYour Name */
3605*5113495bSYour Name #define RX_MSDU_LINK_27_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_TO_DS_OFFSET 0x0000006c
3606*5113495bSYour Name #define RX_MSDU_LINK_27_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_TO_DS_LSB   31
3607*5113495bSYour Name #define RX_MSDU_LINK_27_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_TO_DS_MASK  0x80000000
3608*5113495bSYour Name 
3609*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_msdu_details msdu_5 */
3610*5113495bSYour Name 
3611*5113495bSYour Name 
3612*5113495bSYour Name  /* EXTERNAL REFERENCE : struct buffer_addr_info buffer_addr_info_details */
3613*5113495bSYour Name 
3614*5113495bSYour Name 
3615*5113495bSYour Name /* Description		RX_MSDU_LINK_28_MSDU_5_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0
3616*5113495bSYour Name 
3617*5113495bSYour Name 			Address (lower 32 bits) of the MSDU buffer OR
3618*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
3619*5113495bSYour Name 
3620*5113495bSYour Name 
3621*5113495bSYour Name 
3622*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
3623*5113495bSYour Name 
3624*5113495bSYour Name 			<legal all>
3625*5113495bSYour Name */
3626*5113495bSYour Name #define RX_MSDU_LINK_28_MSDU_5_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_OFFSET 0x00000070
3627*5113495bSYour Name #define RX_MSDU_LINK_28_MSDU_5_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_LSB 0
3628*5113495bSYour Name #define RX_MSDU_LINK_28_MSDU_5_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_MASK 0xffffffff
3629*5113495bSYour Name 
3630*5113495bSYour Name /* Description		RX_MSDU_LINK_29_MSDU_5_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32
3631*5113495bSYour Name 
3632*5113495bSYour Name 			Address (upper 8 bits) of the MSDU buffer OR
3633*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
3634*5113495bSYour Name 
3635*5113495bSYour Name 
3636*5113495bSYour Name 
3637*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
3638*5113495bSYour Name 
3639*5113495bSYour Name 			<legal all>
3640*5113495bSYour Name */
3641*5113495bSYour Name #define RX_MSDU_LINK_29_MSDU_5_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_OFFSET 0x00000074
3642*5113495bSYour Name #define RX_MSDU_LINK_29_MSDU_5_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_LSB 0
3643*5113495bSYour Name #define RX_MSDU_LINK_29_MSDU_5_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_MASK 0x000000ff
3644*5113495bSYour Name 
3645*5113495bSYour Name /* Description		RX_MSDU_LINK_29_MSDU_5_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER
3646*5113495bSYour Name 
3647*5113495bSYour Name 			Consumer: WBM
3648*5113495bSYour Name 
3649*5113495bSYour Name 			Producer: SW/FW
3650*5113495bSYour Name 
3651*5113495bSYour Name 
3652*5113495bSYour Name 
3653*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
3654*5113495bSYour Name 
3655*5113495bSYour Name 
3656*5113495bSYour Name 
3657*5113495bSYour Name 			Indicates to which buffer manager the buffer OR
3658*5113495bSYour Name 			MSDU_EXTENSION descriptor OR link descriptor that is being
3659*5113495bSYour Name 			pointed to shall be returned after the frame has been
3660*5113495bSYour Name 			processed. It is used by WBM for routing purposes.
3661*5113495bSYour Name 
3662*5113495bSYour Name 
3663*5113495bSYour Name 
3664*5113495bSYour Name 			<enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned
3665*5113495bSYour Name 			to the WMB buffer idle list
3666*5113495bSYour Name 
3667*5113495bSYour Name 			<enum 1 WBM_IDLE_DESC_LIST> This buffer shall be
3668*5113495bSYour Name 			returned to the WMB idle link descriptor idle list
3669*5113495bSYour Name 
3670*5113495bSYour Name 			<enum 2 FW_BM> This buffer shall be returned to the FW
3671*5113495bSYour Name 
3672*5113495bSYour Name 			<enum 3 SW0_BM> This buffer shall be returned to the SW,
3673*5113495bSYour Name 			ring 0
3674*5113495bSYour Name 
3675*5113495bSYour Name 			<enum 4 SW1_BM> This buffer shall be returned to the SW,
3676*5113495bSYour Name 			ring 1
3677*5113495bSYour Name 
3678*5113495bSYour Name 			<enum 5 SW2_BM> This buffer shall be returned to the SW,
3679*5113495bSYour Name 			ring 2
3680*5113495bSYour Name 
3681*5113495bSYour Name 			<enum 6 SW3_BM> This buffer shall be returned to the SW,
3682*5113495bSYour Name 			ring 3
3683*5113495bSYour Name 
3684*5113495bSYour Name 			<enum 7 SW4_BM> This buffer shall be returned to the SW,
3685*5113495bSYour Name 			ring 4
3686*5113495bSYour Name 
3687*5113495bSYour Name 
3688*5113495bSYour Name 
3689*5113495bSYour Name 			<legal all>
3690*5113495bSYour Name */
3691*5113495bSYour Name #define RX_MSDU_LINK_29_MSDU_5_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_OFFSET 0x00000074
3692*5113495bSYour Name #define RX_MSDU_LINK_29_MSDU_5_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_LSB 8
3693*5113495bSYour Name #define RX_MSDU_LINK_29_MSDU_5_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_MASK 0x00000700
3694*5113495bSYour Name 
3695*5113495bSYour Name /* Description		RX_MSDU_LINK_29_MSDU_5_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE
3696*5113495bSYour Name 
3697*5113495bSYour Name 			Cookie field exclusively used by SW.
3698*5113495bSYour Name 
3699*5113495bSYour Name 
3700*5113495bSYour Name 
3701*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
3702*5113495bSYour Name 
3703*5113495bSYour Name 
3704*5113495bSYour Name 
3705*5113495bSYour Name 			HW ignores the contents, accept that it passes the
3706*5113495bSYour Name 			programmed value on to other descriptors together with the
3707*5113495bSYour Name 			physical address
3708*5113495bSYour Name 
3709*5113495bSYour Name 
3710*5113495bSYour Name 
3711*5113495bSYour Name 			Field can be used by SW to for example associate the
3712*5113495bSYour Name 			buffers physical address with the virtual address
3713*5113495bSYour Name 
3714*5113495bSYour Name 			The bit definitions as used by SW are within SW HLD
3715*5113495bSYour Name 			specification
3716*5113495bSYour Name 
3717*5113495bSYour Name 
3718*5113495bSYour Name 
3719*5113495bSYour Name 			NOTE1:
3720*5113495bSYour Name 
3721*5113495bSYour Name 			The three most significant bits can have a special
3722*5113495bSYour Name 			meaning in case this struct is embedded in a TX_MPDU_DETAILS
3723*5113495bSYour Name 			STRUCT, and field transmit_bw_restriction is set
3724*5113495bSYour Name 
3725*5113495bSYour Name 
3726*5113495bSYour Name 
3727*5113495bSYour Name 			In case of NON punctured transmission:
3728*5113495bSYour Name 
3729*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only
3730*5113495bSYour Name 
3731*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only
3732*5113495bSYour Name 
3733*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only
3734*5113495bSYour Name 
3735*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only
3736*5113495bSYour Name 
3737*5113495bSYour Name 
3738*5113495bSYour Name 
3739*5113495bSYour Name 			In case of punctured transmission:
3740*5113495bSYour Name 
3741*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only
3742*5113495bSYour Name 
3743*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only
3744*5113495bSYour Name 
3745*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only
3746*5113495bSYour Name 
3747*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only
3748*5113495bSYour Name 
3749*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only
3750*5113495bSYour Name 
3751*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only
3752*5113495bSYour Name 
3753*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only
3754*5113495bSYour Name 
3755*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only
3756*5113495bSYour Name 
3757*5113495bSYour Name 
3758*5113495bSYour Name 
3759*5113495bSYour Name 			Note: a punctured transmission is indicated by the
3760*5113495bSYour Name 			presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler
3761*5113495bSYour Name 			TLV
3762*5113495bSYour Name 
3763*5113495bSYour Name 
3764*5113495bSYour Name 
3765*5113495bSYour Name 			NOTE 2:The five most significant bits can have a special
3766*5113495bSYour Name 			meaning in case this struct is embedded in an
3767*5113495bSYour Name 			RX_MSDU_DETAILS STRUCT, and Maple/Spruce Rx DMA is
3768*5113495bSYour Name 			configured for passing on the additional info
3769*5113495bSYour Name 			from 'RX_MPDU_INFO' structure in 'RX_MPDU_START' TLV
3770*5113495bSYour Name 			(FR56821). This is not supported in HastingsPrime, Pine or
3771*5113495bSYour Name 			Moselle.
3772*5113495bSYour Name 
3773*5113495bSYour Name 
3774*5113495bSYour Name 
3775*5113495bSYour Name 			Sw_buffer_cookie[20:17]: Tid: The TID field in the QoS
3776*5113495bSYour Name 			control field
3777*5113495bSYour Name 
3778*5113495bSYour Name 
3779*5113495bSYour Name 
3780*5113495bSYour Name 			Sw_buffer_cookie[16]: Mpdu_qos_control_valid: This field
3781*5113495bSYour Name 			indicates MPDUs with a QoS control field.
3782*5113495bSYour Name 
3783*5113495bSYour Name 
3784*5113495bSYour Name 
3785*5113495bSYour Name 
3786*5113495bSYour Name 
3787*5113495bSYour Name 			<legal all>
3788*5113495bSYour Name */
3789*5113495bSYour Name #define RX_MSDU_LINK_29_MSDU_5_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_OFFSET 0x00000074
3790*5113495bSYour Name #define RX_MSDU_LINK_29_MSDU_5_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_LSB 11
3791*5113495bSYour Name #define RX_MSDU_LINK_29_MSDU_5_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_MASK 0xfffff800
3792*5113495bSYour Name 
3793*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_msdu_desc_info rx_msdu_desc_info_details */
3794*5113495bSYour Name 
3795*5113495bSYour Name 
3796*5113495bSYour Name /* Description		RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG
3797*5113495bSYour Name 
3798*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
3799*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
3800*5113495bSYour Name 			buffer used by the MSDU
3801*5113495bSYour Name 
3802*5113495bSYour Name 
3803*5113495bSYour Name 
3804*5113495bSYour Name 			<enum 0 Not_first_msdu> This is not the first MSDU in
3805*5113495bSYour Name 			the MPDU.
3806*5113495bSYour Name 
3807*5113495bSYour Name 			<enum 1 first_msdu> This MSDU is the first one in the
3808*5113495bSYour Name 			MPDU.
3809*5113495bSYour Name 
3810*5113495bSYour Name 
3811*5113495bSYour Name 
3812*5113495bSYour Name 			<legal all>
3813*5113495bSYour Name */
3814*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000078
3815*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_LSB 0
3816*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_MASK 0x00000001
3817*5113495bSYour Name 
3818*5113495bSYour Name /* Description		RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG
3819*5113495bSYour Name 
3820*5113495bSYour Name 			Consumer: WBM/REO/SW/FW
3821*5113495bSYour Name 
3822*5113495bSYour Name 			Producer: RXDMA
3823*5113495bSYour Name 
3824*5113495bSYour Name 
3825*5113495bSYour Name 
3826*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
3827*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
3828*5113495bSYour Name 			buffer used by the MSDU
3829*5113495bSYour Name 
3830*5113495bSYour Name 
3831*5113495bSYour Name 
3832*5113495bSYour Name 			<enum 0 Not_last_msdu> There are more MSDUs linked to
3833*5113495bSYour Name 			this MSDU that belongs to this MPDU
3834*5113495bSYour Name 
3835*5113495bSYour Name 			<enum 1 Last_msdu> this MSDU is the last one in the
3836*5113495bSYour Name 			MPDU. This setting is only allowed in combination with
3837*5113495bSYour Name 			'Msdu_continuation' set to 0. This implies that when an msdu
3838*5113495bSYour Name 			is spread out over multiple buffers and thus
3839*5113495bSYour Name 			msdu_continuation is set, only for the very last buffer of
3840*5113495bSYour Name 			the msdu, can the 'last_msdu_in_mpdu_flag' be set.
3841*5113495bSYour Name 
3842*5113495bSYour Name 
3843*5113495bSYour Name 
3844*5113495bSYour Name 			When both first_msdu_in_mpdu_flag and
3845*5113495bSYour Name 			last_msdu_in_mpdu_flag are set, the MPDU that this MSDU
3846*5113495bSYour Name 			belongs to only contains a single MSDU.
3847*5113495bSYour Name 
3848*5113495bSYour Name 
3849*5113495bSYour Name 
3850*5113495bSYour Name 
3851*5113495bSYour Name 
3852*5113495bSYour Name 			<legal all>
3853*5113495bSYour Name */
3854*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000078
3855*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_LSB 1
3856*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_MASK 0x00000002
3857*5113495bSYour Name 
3858*5113495bSYour Name /* Description		RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION
3859*5113495bSYour Name 
3860*5113495bSYour Name 			When set, this MSDU buffer was not able to hold the
3861*5113495bSYour Name 			entire MSDU. The next buffer will therefor contain
3862*5113495bSYour Name 			additional information related to this MSDU.
3863*5113495bSYour Name 
3864*5113495bSYour Name 
3865*5113495bSYour Name 
3866*5113495bSYour Name 			<legal all>
3867*5113495bSYour Name */
3868*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_OFFSET 0x00000078
3869*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_LSB 2
3870*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_MASK 0x00000004
3871*5113495bSYour Name 
3872*5113495bSYour Name /* Description		RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH
3873*5113495bSYour Name 
3874*5113495bSYour Name 			Parsed from RX_MSDU_START TLV . In the case MSDU spans
3875*5113495bSYour Name 			over multiple buffers, this field will be valid in the First
3876*5113495bSYour Name 			buffer used by MSDU.
3877*5113495bSYour Name 
3878*5113495bSYour Name 
3879*5113495bSYour Name 
3880*5113495bSYour Name 			Full MSDU length in bytes after decapsulation.
3881*5113495bSYour Name 
3882*5113495bSYour Name 
3883*5113495bSYour Name 
3884*5113495bSYour Name 			This field is still valid for MPDU frames without
3885*5113495bSYour Name 			A-MSDU.  It still represents MSDU length after decapsulation
3886*5113495bSYour Name 
3887*5113495bSYour Name 
3888*5113495bSYour Name 
3889*5113495bSYour Name 			Or in case of RAW MPDUs, it indicates the length of the
3890*5113495bSYour Name 			entire MPDU (without FCS field)
3891*5113495bSYour Name 
3892*5113495bSYour Name 			<legal all>
3893*5113495bSYour Name */
3894*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_OFFSET 0x00000078
3895*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_LSB 3
3896*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_MASK 0x0001fff8
3897*5113495bSYour Name 
3898*5113495bSYour Name /* Description		RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION
3899*5113495bSYour Name 
3900*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
3901*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
3902*5113495bSYour Name 			buffer used by the MSDU
3903*5113495bSYour Name 
3904*5113495bSYour Name 
3905*5113495bSYour Name 
3906*5113495bSYour Name 			The ID of the REO exit ring where the MSDU frame shall
3907*5113495bSYour Name 			push after (MPDU level) reordering has finished.
3908*5113495bSYour Name 
3909*5113495bSYour Name 
3910*5113495bSYour Name 
3911*5113495bSYour Name 			<enum 0 reo_destination_tcl> Reo will push the frame
3912*5113495bSYour Name 			into the REO2TCL ring
3913*5113495bSYour Name 
3914*5113495bSYour Name 			<enum 1 reo_destination_sw1> Reo will push the frame
3915*5113495bSYour Name 			into the REO2SW1 ring
3916*5113495bSYour Name 
3917*5113495bSYour Name 			<enum 2 reo_destination_sw2> Reo will push the frame
3918*5113495bSYour Name 			into the REO2SW2 ring
3919*5113495bSYour Name 
3920*5113495bSYour Name 			<enum 3 reo_destination_sw3> Reo will push the frame
3921*5113495bSYour Name 			into the REO2SW3 ring
3922*5113495bSYour Name 
3923*5113495bSYour Name 			<enum 4 reo_destination_sw4> Reo will push the frame
3924*5113495bSYour Name 			into the REO2SW4 ring
3925*5113495bSYour Name 
3926*5113495bSYour Name 			<enum 5 reo_destination_release> Reo will push the frame
3927*5113495bSYour Name 			into the REO_release ring
3928*5113495bSYour Name 
3929*5113495bSYour Name 			<enum 6 reo_destination_fw> Reo will push the frame into
3930*5113495bSYour Name 			the REO2FW ring
3931*5113495bSYour Name 
3932*5113495bSYour Name 			<enum 7 reo_destination_sw5> Reo will push the frame
3933*5113495bSYour Name 			into the REO2SW5 ring (REO remaps this in chips without
3934*5113495bSYour Name 			REO2SW5 ring, e.g. Pine)
3935*5113495bSYour Name 
3936*5113495bSYour Name 			<enum 8 reo_destination_sw6> Reo will push the frame
3937*5113495bSYour Name 			into the REO2SW6 ring (REO remaps this in chips without
3938*5113495bSYour Name 			REO2SW6 ring, e.g. Pine)
3939*5113495bSYour Name 
3940*5113495bSYour Name 			 <enum 9 reo_destination_9> REO remaps this <enum 10
3941*5113495bSYour Name 			reo_destination_10> REO remaps this
3942*5113495bSYour Name 
3943*5113495bSYour Name 			<enum 11 reo_destination_11> REO remaps this
3944*5113495bSYour Name 
3945*5113495bSYour Name 			<enum 12 reo_destination_12> REO remaps this <enum 13
3946*5113495bSYour Name 			reo_destination_13> REO remaps this
3947*5113495bSYour Name 
3948*5113495bSYour Name 			<enum 14 reo_destination_14> REO remaps this
3949*5113495bSYour Name 
3950*5113495bSYour Name 			<enum 15 reo_destination_15> REO remaps this
3951*5113495bSYour Name 
3952*5113495bSYour Name 			<enum 16 reo_destination_16> REO remaps this
3953*5113495bSYour Name 
3954*5113495bSYour Name 			<enum 17 reo_destination_17> REO remaps this
3955*5113495bSYour Name 
3956*5113495bSYour Name 			<enum 18 reo_destination_18> REO remaps this
3957*5113495bSYour Name 
3958*5113495bSYour Name 			<enum 19 reo_destination_19> REO remaps this
3959*5113495bSYour Name 
3960*5113495bSYour Name 			<enum 20 reo_destination_20> REO remaps this
3961*5113495bSYour Name 
3962*5113495bSYour Name 			<enum 21 reo_destination_21> REO remaps this
3963*5113495bSYour Name 
3964*5113495bSYour Name 			<enum 22 reo_destination_22> REO remaps this
3965*5113495bSYour Name 
3966*5113495bSYour Name 			<enum 23 reo_destination_23> REO remaps this
3967*5113495bSYour Name 
3968*5113495bSYour Name 			<enum 24 reo_destination_24> REO remaps this
3969*5113495bSYour Name 
3970*5113495bSYour Name 			<enum 25 reo_destination_25> REO remaps this
3971*5113495bSYour Name 
3972*5113495bSYour Name 			<enum 26 reo_destination_26> REO remaps this
3973*5113495bSYour Name 
3974*5113495bSYour Name 			<enum 27 reo_destination_27> REO remaps this
3975*5113495bSYour Name 
3976*5113495bSYour Name 			<enum 28 reo_destination_28> REO remaps this
3977*5113495bSYour Name 
3978*5113495bSYour Name 			<enum 29 reo_destination_29> REO remaps this
3979*5113495bSYour Name 
3980*5113495bSYour Name 			<enum 30 reo_destination_30> REO remaps this
3981*5113495bSYour Name 
3982*5113495bSYour Name 			<enum 31 reo_destination_31> REO remaps this
3983*5113495bSYour Name 
3984*5113495bSYour Name 
3985*5113495bSYour Name 
3986*5113495bSYour Name 			<legal all>
3987*5113495bSYour Name */
3988*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_OFFSET 0x00000078
3989*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_LSB 17
3990*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_MASK 0x003e0000
3991*5113495bSYour Name 
3992*5113495bSYour Name /* Description		RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP
3993*5113495bSYour Name 
3994*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
3995*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
3996*5113495bSYour Name 			buffer used by the MSDU
3997*5113495bSYour Name 
3998*5113495bSYour Name 
3999*5113495bSYour Name 
4000*5113495bSYour Name 			When set, REO shall drop this MSDU and not forward it to
4001*5113495bSYour Name 			any other ring...
4002*5113495bSYour Name 
4003*5113495bSYour Name 			<legal all>
4004*5113495bSYour Name */
4005*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_OFFSET 0x00000078
4006*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_LSB 22
4007*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_MASK 0x00400000
4008*5113495bSYour Name 
4009*5113495bSYour Name /* Description		RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID
4010*5113495bSYour Name 
4011*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
4012*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
4013*5113495bSYour Name 			buffer used by the MSDU
4014*5113495bSYour Name 
4015*5113495bSYour Name 
4016*5113495bSYour Name 
4017*5113495bSYour Name 			Indicates that OLE found a valid SA entry for this MSDU
4018*5113495bSYour Name 
4019*5113495bSYour Name 			<legal all>
4020*5113495bSYour Name */
4021*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_OFFSET 0x00000078
4022*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_LSB 23
4023*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_MASK 0x00800000
4024*5113495bSYour Name 
4025*5113495bSYour Name /* Description		RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT
4026*5113495bSYour Name 
4027*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
4028*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
4029*5113495bSYour Name 			buffer used by the MSDU
4030*5113495bSYour Name 
4031*5113495bSYour Name 
4032*5113495bSYour Name 
4033*5113495bSYour Name 			Indicates an unsuccessful MAC source address search due
4034*5113495bSYour Name 			to the expiring of the search timer for this MSDU
4035*5113495bSYour Name 
4036*5113495bSYour Name 			<legal all>
4037*5113495bSYour Name */
4038*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_OFFSET 0x00000078
4039*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_LSB 24
4040*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_MASK 0x01000000
4041*5113495bSYour Name 
4042*5113495bSYour Name /* Description		RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID
4043*5113495bSYour Name 
4044*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
4045*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
4046*5113495bSYour Name 			buffer used by the MSDU
4047*5113495bSYour Name 
4048*5113495bSYour Name 
4049*5113495bSYour Name 
4050*5113495bSYour Name 			Indicates that OLE found a valid DA entry for this MSDU
4051*5113495bSYour Name 
4052*5113495bSYour Name 			<legal all>
4053*5113495bSYour Name */
4054*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_OFFSET 0x00000078
4055*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_LSB 25
4056*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_MASK 0x02000000
4057*5113495bSYour Name 
4058*5113495bSYour Name /* Description		RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC
4059*5113495bSYour Name 
4060*5113495bSYour Name 			Field Only valid if da_is_valid is set
4061*5113495bSYour Name 
4062*5113495bSYour Name 
4063*5113495bSYour Name 
4064*5113495bSYour Name 			Indicates the DA address was a Multicast of Broadcast
4065*5113495bSYour Name 			address for this MSDU
4066*5113495bSYour Name 
4067*5113495bSYour Name 			<legal all>
4068*5113495bSYour Name */
4069*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_OFFSET 0x00000078
4070*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_LSB 26
4071*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_MASK 0x04000000
4072*5113495bSYour Name 
4073*5113495bSYour Name /* Description		RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT
4074*5113495bSYour Name 
4075*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
4076*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
4077*5113495bSYour Name 			buffer used by the MSDU
4078*5113495bSYour Name 
4079*5113495bSYour Name 
4080*5113495bSYour Name 
4081*5113495bSYour Name 			Indicates an unsuccessful MAC destination address search
4082*5113495bSYour Name 			due to the expiring of the search timer for this MSDU
4083*5113495bSYour Name 
4084*5113495bSYour Name 			<legal all>
4085*5113495bSYour Name */
4086*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_OFFSET 0x00000078
4087*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_LSB 27
4088*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_MASK 0x08000000
4089*5113495bSYour Name 
4090*5113495bSYour Name /* Description		RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB
4091*5113495bSYour Name 
4092*5113495bSYour Name 			Passed on from 'RX_MSDU_END' TLV (only the MSB is
4093*5113495bSYour Name 			reported as the LSB is always zero)
4094*5113495bSYour Name 
4095*5113495bSYour Name 			Number of bytes padded to make sure that the L3 header
4096*5113495bSYour Name 			will always start of a Dword boundary
4097*5113495bSYour Name 
4098*5113495bSYour Name 			<legal all>
4099*5113495bSYour Name */
4100*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB_OFFSET 0x00000078
4101*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB_LSB 28
4102*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB_MASK 0x10000000
4103*5113495bSYour Name 
4104*5113495bSYour Name /* Description		RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL
4105*5113495bSYour Name 
4106*5113495bSYour Name 			Passed on from 'RX_ATTENTION' TLV
4107*5113495bSYour Name 
4108*5113495bSYour Name 			Indicates that the computed checksum did not match the
4109*5113495bSYour Name 			checksum in the TCP/UDP header.
4110*5113495bSYour Name 
4111*5113495bSYour Name 			<legal all>
4112*5113495bSYour Name */
4113*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL_OFFSET 0x00000078
4114*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL_LSB 29
4115*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL_MASK 0x20000000
4116*5113495bSYour Name 
4117*5113495bSYour Name /* Description		RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL
4118*5113495bSYour Name 
4119*5113495bSYour Name 			Passed on from 'RX_ATTENTION' TLV
4120*5113495bSYour Name 
4121*5113495bSYour Name 			Indicates that the computed checksum did not match the
4122*5113495bSYour Name 			checksum in the IP header.
4123*5113495bSYour Name 
4124*5113495bSYour Name 			<legal all>
4125*5113495bSYour Name */
4126*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL_OFFSET 0x00000078
4127*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL_LSB 30
4128*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL_MASK 0x40000000
4129*5113495bSYour Name 
4130*5113495bSYour Name /* Description		RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_RAW_MPDU
4131*5113495bSYour Name 
4132*5113495bSYour Name 			Passed on from 'RX_MPDU_INFO' structure in
4133*5113495bSYour Name 			'RX_MPDU_START' TLV
4134*5113495bSYour Name 
4135*5113495bSYour Name 			Set to 1 by RXOLE when it has not performed any 802.11
4136*5113495bSYour Name 			to Ethernet/Natvie WiFi header conversion on this MPDU.
4137*5113495bSYour Name 
4138*5113495bSYour Name 			<legal all>
4139*5113495bSYour Name */
4140*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_RAW_MPDU_OFFSET 0x00000078
4141*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_RAW_MPDU_LSB 31
4142*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_RAW_MPDU_MASK 0x80000000
4143*5113495bSYour Name 
4144*5113495bSYour Name /* Description		RX_MSDU_LINK_31_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_OR_SW_PEER_ID_14_0
4145*5113495bSYour Name 
4146*5113495bSYour Name 			Passed on from 'RX_MSDU_END' TLV (one MSB is omitted)
4147*5113495bSYour Name 
4148*5113495bSYour Name 			Based on a register configuration in RXDMA, this field
4149*5113495bSYour Name 			will contain:
4150*5113495bSYour Name 
4151*5113495bSYour Name 			The offset in the address search table which matches the
4152*5113495bSYour Name 			MAC source address
4153*5113495bSYour Name 
4154*5113495bSYour Name 			OR
4155*5113495bSYour Name 
4156*5113495bSYour Name 
4157*5113495bSYour Name 
4158*5113495bSYour Name 			'sw_peer_id' from the address search entry corresponding
4159*5113495bSYour Name 			to the source address of the MSDU
4160*5113495bSYour Name 
4161*5113495bSYour Name 			<legal all>
4162*5113495bSYour Name */
4163*5113495bSYour Name #define RX_MSDU_LINK_31_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_OR_SW_PEER_ID_14_0_OFFSET 0x0000007c
4164*5113495bSYour Name #define RX_MSDU_LINK_31_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_OR_SW_PEER_ID_14_0_LSB 0
4165*5113495bSYour Name #define RX_MSDU_LINK_31_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_OR_SW_PEER_ID_14_0_MASK 0x00007fff
4166*5113495bSYour Name 
4167*5113495bSYour Name /* Description		RX_MSDU_LINK_31_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_MPDU_AST_IDX_OR_SW_PEER_ID_14_0
4168*5113495bSYour Name 
4169*5113495bSYour Name 			Passed on from 'RX_MPDU_INFO' structure in
4170*5113495bSYour Name 			'RX_MPDU_START' TLV (one MSB is omitted)
4171*5113495bSYour Name 
4172*5113495bSYour Name 
4173*5113495bSYour Name 
4174*5113495bSYour Name 			Based on a register configuration in RXDMA, this field
4175*5113495bSYour Name 			will contain:
4176*5113495bSYour Name 
4177*5113495bSYour Name 			The index of the address search entry corresponding to
4178*5113495bSYour Name 			this MPDU (a value of 0xFFFF indicates an invalid AST index,
4179*5113495bSYour Name 			meaning that no AST entry was found or no AST search was
4180*5113495bSYour Name 			performed)
4181*5113495bSYour Name 
4182*5113495bSYour Name 
4183*5113495bSYour Name 
4184*5113495bSYour Name 			OR:
4185*5113495bSYour Name 
4186*5113495bSYour Name 
4187*5113495bSYour Name 
4188*5113495bSYour Name 			'sw_peer_id' from the address search entry corresponding
4189*5113495bSYour Name 			to this MPDU (in case of ndp or phy_err or
4190*5113495bSYour Name 			AST_based_lookup_valid == 0, this field will be set to 0)
4191*5113495bSYour Name 
4192*5113495bSYour Name 			<legal all>
4193*5113495bSYour Name */
4194*5113495bSYour Name #define RX_MSDU_LINK_31_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_MPDU_AST_IDX_OR_SW_PEER_ID_14_0_OFFSET 0x0000007c
4195*5113495bSYour Name #define RX_MSDU_LINK_31_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_MPDU_AST_IDX_OR_SW_PEER_ID_14_0_LSB 15
4196*5113495bSYour Name #define RX_MSDU_LINK_31_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_MPDU_AST_IDX_OR_SW_PEER_ID_14_0_MASK 0x3fff8000
4197*5113495bSYour Name 
4198*5113495bSYour Name /* Description		RX_MSDU_LINK_31_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_FR_DS
4199*5113495bSYour Name 
4200*5113495bSYour Name 			Passed on from 'RX_MPDU_INFO' structure in
4201*5113495bSYour Name 			'RX_MPDU_START' TLV
4202*5113495bSYour Name 
4203*5113495bSYour Name 			Set if the 'from DS' bit is set in the frame control.
4204*5113495bSYour Name 
4205*5113495bSYour Name 			<legal all>
4206*5113495bSYour Name */
4207*5113495bSYour Name #define RX_MSDU_LINK_31_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_FR_DS_OFFSET 0x0000007c
4208*5113495bSYour Name #define RX_MSDU_LINK_31_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_FR_DS_LSB   30
4209*5113495bSYour Name #define RX_MSDU_LINK_31_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_FR_DS_MASK  0x40000000
4210*5113495bSYour Name 
4211*5113495bSYour Name /* Description		RX_MSDU_LINK_31_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_TO_DS
4212*5113495bSYour Name 
4213*5113495bSYour Name 			Passed on from 'RX_MPDU_INFO' structure in
4214*5113495bSYour Name 			'RX_MPDU_START' TLV
4215*5113495bSYour Name 
4216*5113495bSYour Name 			Set if the 'to DS' bit is set in the frame control.
4217*5113495bSYour Name 
4218*5113495bSYour Name 			<legal all>
4219*5113495bSYour Name */
4220*5113495bSYour Name #define RX_MSDU_LINK_31_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_TO_DS_OFFSET 0x0000007c
4221*5113495bSYour Name #define RX_MSDU_LINK_31_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_TO_DS_LSB   31
4222*5113495bSYour Name #define RX_MSDU_LINK_31_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_TO_DS_MASK  0x80000000
4223*5113495bSYour Name 
4224*5113495bSYour Name 
4225*5113495bSYour Name #endif // _RX_MSDU_LINK_H_
4226