xref: /wlan-driver/fw-api/hw/qca6750/v1/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
5*5113495bSYour Name  * any purpose with or without fee is hereby granted, provided that the
6*5113495bSYour Name  * above copyright notice and this permission notice appear in all
7*5113495bSYour Name  * copies.
8*5113495bSYour Name  *
9*5113495bSYour Name  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
10*5113495bSYour Name  * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
11*5113495bSYour Name  * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
12*5113495bSYour Name  * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
13*5113495bSYour Name  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
14*5113495bSYour Name  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
15*5113495bSYour Name  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16*5113495bSYour Name  * PERFORMANCE OF THIS SOFTWARE.
17*5113495bSYour Name  */
18*5113495bSYour Name 
19*5113495bSYour Name //
20*5113495bSYour Name // DO NOT EDIT!  This file is automatically generated
21*5113495bSYour Name //               These definitions are tied to a particular hardware layout
22*5113495bSYour Name 
23*5113495bSYour Name 
24*5113495bSYour Name #ifndef _RX_MSDU_LINK_H_
25*5113495bSYour Name #define _RX_MSDU_LINK_H_
26*5113495bSYour Name #if !defined(__ASSEMBLER__)
27*5113495bSYour Name #endif
28*5113495bSYour Name 
29*5113495bSYour Name #include "uniform_descriptor_header.h"
30*5113495bSYour Name #include "buffer_addr_info.h"
31*5113495bSYour Name #include "rx_msdu_details.h"
32*5113495bSYour Name 
33*5113495bSYour Name // ################ START SUMMARY #################
34*5113495bSYour Name //
35*5113495bSYour Name //	Dword	Fields
36*5113495bSYour Name //	0	struct uniform_descriptor_header descriptor_header;
37*5113495bSYour Name //	1-2	struct buffer_addr_info next_msdu_link_desc_addr_info;
38*5113495bSYour Name //	3	receive_queue_number[15:0], first_rx_msdu_link_struct[16], reserved_3a[31:17]
39*5113495bSYour Name //	4	pn_31_0[31:0]
40*5113495bSYour Name //	5	pn_63_32[31:0]
41*5113495bSYour Name //	6	pn_95_64[31:0]
42*5113495bSYour Name //	7	pn_127_96[31:0]
43*5113495bSYour Name //	8-11	struct rx_msdu_details msdu_0;
44*5113495bSYour Name //	12-15	struct rx_msdu_details msdu_1;
45*5113495bSYour Name //	16-19	struct rx_msdu_details msdu_2;
46*5113495bSYour Name //	20-23	struct rx_msdu_details msdu_3;
47*5113495bSYour Name //	24-27	struct rx_msdu_details msdu_4;
48*5113495bSYour Name //	28-31	struct rx_msdu_details msdu_5;
49*5113495bSYour Name //
50*5113495bSYour Name // ################ END SUMMARY #################
51*5113495bSYour Name 
52*5113495bSYour Name #define NUM_OF_DWORDS_RX_MSDU_LINK 32
53*5113495bSYour Name 
54*5113495bSYour Name struct rx_msdu_link {
55*5113495bSYour Name     struct            uniform_descriptor_header                       descriptor_header;
56*5113495bSYour Name     struct            buffer_addr_info                       next_msdu_link_desc_addr_info;
57*5113495bSYour Name              uint32_t receive_queue_number            : 16, //[15:0]
58*5113495bSYour Name                       first_rx_msdu_link_struct       :  1, //[16]
59*5113495bSYour Name                       reserved_3a                     : 15; //[31:17]
60*5113495bSYour Name              uint32_t pn_31_0                         : 32; //[31:0]
61*5113495bSYour Name              uint32_t pn_63_32                        : 32; //[31:0]
62*5113495bSYour Name              uint32_t pn_95_64                        : 32; //[31:0]
63*5113495bSYour Name              uint32_t pn_127_96                       : 32; //[31:0]
64*5113495bSYour Name     struct            rx_msdu_details                       msdu_0;
65*5113495bSYour Name     struct            rx_msdu_details                       msdu_1;
66*5113495bSYour Name     struct            rx_msdu_details                       msdu_2;
67*5113495bSYour Name     struct            rx_msdu_details                       msdu_3;
68*5113495bSYour Name     struct            rx_msdu_details                       msdu_4;
69*5113495bSYour Name     struct            rx_msdu_details                       msdu_5;
70*5113495bSYour Name };
71*5113495bSYour Name 
72*5113495bSYour Name /*
73*5113495bSYour Name 
74*5113495bSYour Name struct uniform_descriptor_header descriptor_header
75*5113495bSYour Name 
76*5113495bSYour Name 			Details about which module owns this struct.
77*5113495bSYour Name 
78*5113495bSYour Name 			Note that sub field Buffer_type shall be set to
79*5113495bSYour Name 			Receive_MSDU_Link_descriptor
80*5113495bSYour Name 
81*5113495bSYour Name struct buffer_addr_info next_msdu_link_desc_addr_info
82*5113495bSYour Name 
83*5113495bSYour Name 			Details of the physical address of the next MSDU link
84*5113495bSYour Name 			descriptor that contains info about additional MSDUs that
85*5113495bSYour Name 			are part of this MPDU.
86*5113495bSYour Name 
87*5113495bSYour Name receive_queue_number
88*5113495bSYour Name 
89*5113495bSYour Name 			Indicates the Receive queue to which this MPDU
90*5113495bSYour Name 			descriptor belongs
91*5113495bSYour Name 
92*5113495bSYour Name 			Used for tracking, finding bugs and debugging.
93*5113495bSYour Name 
94*5113495bSYour Name 			<legal all>
95*5113495bSYour Name 
96*5113495bSYour Name first_rx_msdu_link_struct
97*5113495bSYour Name 
98*5113495bSYour Name 			When set, this RX_MSDU_link descriptor is the first one
99*5113495bSYour Name 			in the MSDU link list. Field MSDU_0 points to the very first
100*5113495bSYour Name 			MSDU buffer descriptor in the MPDU
101*5113495bSYour Name 
102*5113495bSYour Name 			<legal all>
103*5113495bSYour Name 
104*5113495bSYour Name reserved_3a
105*5113495bSYour Name 
106*5113495bSYour Name 			<legal 0>
107*5113495bSYour Name 
108*5113495bSYour Name pn_31_0
109*5113495bSYour Name 
110*5113495bSYour Name 
111*5113495bSYour Name 
112*5113495bSYour Name 
113*5113495bSYour Name 			31-0 bits of the 256-bit packet number bitmap.
114*5113495bSYour Name 
115*5113495bSYour Name 			<legal all>
116*5113495bSYour Name 
117*5113495bSYour Name pn_63_32
118*5113495bSYour Name 
119*5113495bSYour Name 
120*5113495bSYour Name 
121*5113495bSYour Name 
122*5113495bSYour Name 			63-32 bits of the 256-bit packet number bitmap.
123*5113495bSYour Name 
124*5113495bSYour Name 			<legal all>
125*5113495bSYour Name 
126*5113495bSYour Name pn_95_64
127*5113495bSYour Name 
128*5113495bSYour Name 
129*5113495bSYour Name 
130*5113495bSYour Name 
131*5113495bSYour Name 			95-64 bits of the 256-bit packet number bitmap.
132*5113495bSYour Name 
133*5113495bSYour Name 			<legal all>
134*5113495bSYour Name 
135*5113495bSYour Name pn_127_96
136*5113495bSYour Name 
137*5113495bSYour Name 
138*5113495bSYour Name 
139*5113495bSYour Name 
140*5113495bSYour Name 			127-96 bits of the 256-bit packet number bitmap.
141*5113495bSYour Name 
142*5113495bSYour Name 			<legal all>
143*5113495bSYour Name 
144*5113495bSYour Name struct rx_msdu_details msdu_0
145*5113495bSYour Name 
146*5113495bSYour Name 			When First_RX_MSDU_link_struct  is set, this MSDU is the
147*5113495bSYour Name 			first in the MPDU
148*5113495bSYour Name 
149*5113495bSYour Name 
150*5113495bSYour Name 
151*5113495bSYour Name 			When First_RX_MSDU_link_struct  is NOT set, this MSDU
152*5113495bSYour Name 			follows the last MSDU in the previous RX_MSDU_link data
153*5113495bSYour Name 			structure
154*5113495bSYour Name 
155*5113495bSYour Name struct rx_msdu_details msdu_1
156*5113495bSYour Name 
157*5113495bSYour Name 			Details of next MSDU in this (MSDU flow) linked list
158*5113495bSYour Name 
159*5113495bSYour Name struct rx_msdu_details msdu_2
160*5113495bSYour Name 
161*5113495bSYour Name 			Details of next MSDU in this (MSDU flow) linked list
162*5113495bSYour Name 
163*5113495bSYour Name struct rx_msdu_details msdu_3
164*5113495bSYour Name 
165*5113495bSYour Name 			Details of next MSDU in this (MSDU flow) linked list
166*5113495bSYour Name 
167*5113495bSYour Name struct rx_msdu_details msdu_4
168*5113495bSYour Name 
169*5113495bSYour Name 			Details of next MSDU in this (MSDU flow) linked list
170*5113495bSYour Name 
171*5113495bSYour Name struct rx_msdu_details msdu_5
172*5113495bSYour Name 
173*5113495bSYour Name 			Details of next MSDU in this (MSDU flow) linked list
174*5113495bSYour Name */
175*5113495bSYour Name 
176*5113495bSYour Name 
177*5113495bSYour Name  /* EXTERNAL REFERENCE : struct uniform_descriptor_header descriptor_header */
178*5113495bSYour Name 
179*5113495bSYour Name 
180*5113495bSYour Name /* Description		RX_MSDU_LINK_0_DESCRIPTOR_HEADER_OWNER
181*5113495bSYour Name 
182*5113495bSYour Name 			Consumer: In DEBUG mode: WBM, TQM, TXDMA, RXDMA, REO
183*5113495bSYour Name 
184*5113495bSYour Name 			Producer: In DEBUG mode: WBM, TQM, TXDMA, RXDMA, REO
185*5113495bSYour Name 
186*5113495bSYour Name 
187*5113495bSYour Name 
188*5113495bSYour Name 			The owner of this data structure:
189*5113495bSYour Name 
190*5113495bSYour Name 			<enum 0 WBM_owned> Buffer Manager currently owns this
191*5113495bSYour Name 			data structure.
192*5113495bSYour Name 
193*5113495bSYour Name 			<enum 1 SW_OR_FW_owned> Software of FW currently owns
194*5113495bSYour Name 			this data structure.
195*5113495bSYour Name 
196*5113495bSYour Name 			<enum 2 TQM_owned> Transmit Queue Manager currently owns
197*5113495bSYour Name 			this data structure.
198*5113495bSYour Name 
199*5113495bSYour Name 			<enum 3 RXDMA_owned> Receive DMA currently owns this
200*5113495bSYour Name 			data structure.
201*5113495bSYour Name 
202*5113495bSYour Name 			<enum 4 REO_owned> Reorder currently owns this data
203*5113495bSYour Name 			structure.
204*5113495bSYour Name 
205*5113495bSYour Name 			<enum 5 SWITCH_owned> SWITCH currently owns this data
206*5113495bSYour Name 			structure.
207*5113495bSYour Name 
208*5113495bSYour Name 
209*5113495bSYour Name 
210*5113495bSYour Name 			<legal 0-5>
211*5113495bSYour Name */
212*5113495bSYour Name #define RX_MSDU_LINK_0_DESCRIPTOR_HEADER_OWNER_OFFSET                0x00000000
213*5113495bSYour Name #define RX_MSDU_LINK_0_DESCRIPTOR_HEADER_OWNER_LSB                   0
214*5113495bSYour Name #define RX_MSDU_LINK_0_DESCRIPTOR_HEADER_OWNER_MASK                  0x0000000f
215*5113495bSYour Name 
216*5113495bSYour Name /* Description		RX_MSDU_LINK_0_DESCRIPTOR_HEADER_BUFFER_TYPE
217*5113495bSYour Name 
218*5113495bSYour Name 			Consumer: In DEBUG mode: WBM, TQM, TXDMA, RXDMA, REO
219*5113495bSYour Name 
220*5113495bSYour Name 			Producer: In DEBUG mode: WBM, TQM, TXDMA, RXDMA, REO
221*5113495bSYour Name 
222*5113495bSYour Name 
223*5113495bSYour Name 
224*5113495bSYour Name 			Field describing what contents format is of this
225*5113495bSYour Name 			descriptor
226*5113495bSYour Name 
227*5113495bSYour Name 
228*5113495bSYour Name 
229*5113495bSYour Name 			<enum 0 Transmit_MSDU_Link_descriptor >
230*5113495bSYour Name 
231*5113495bSYour Name 			<enum 1 Transmit_MPDU_Link_descriptor >
232*5113495bSYour Name 
233*5113495bSYour Name 			<enum 2 Transmit_MPDU_Queue_head_descriptor>
234*5113495bSYour Name 
235*5113495bSYour Name 			<enum 3 Transmit_MPDU_Queue_ext_descriptor>
236*5113495bSYour Name 
237*5113495bSYour Name 			<enum 4 Transmit_flow_descriptor>
238*5113495bSYour Name 
239*5113495bSYour Name 			<enum 5 Transmit_buffer > NOT TO BE USED:
240*5113495bSYour Name 
241*5113495bSYour Name 
242*5113495bSYour Name 
243*5113495bSYour Name 			<enum 6 Receive_MSDU_Link_descriptor >
244*5113495bSYour Name 
245*5113495bSYour Name 			<enum 7 Receive_MPDU_Link_descriptor >
246*5113495bSYour Name 
247*5113495bSYour Name 			<enum 8 Receive_REO_queue_descriptor >
248*5113495bSYour Name 
249*5113495bSYour Name 			<enum 9 Receive_REO_queue_ext_descriptor >
250*5113495bSYour Name 
251*5113495bSYour Name 
252*5113495bSYour Name 
253*5113495bSYour Name 			<enum 10 Receive_buffer >
254*5113495bSYour Name 
255*5113495bSYour Name 
256*5113495bSYour Name 
257*5113495bSYour Name 			<enum 11 Idle_link_list_entry>
258*5113495bSYour Name 
259*5113495bSYour Name 
260*5113495bSYour Name 
261*5113495bSYour Name 			<legal 0-11>
262*5113495bSYour Name */
263*5113495bSYour Name #define RX_MSDU_LINK_0_DESCRIPTOR_HEADER_BUFFER_TYPE_OFFSET          0x00000000
264*5113495bSYour Name #define RX_MSDU_LINK_0_DESCRIPTOR_HEADER_BUFFER_TYPE_LSB             4
265*5113495bSYour Name #define RX_MSDU_LINK_0_DESCRIPTOR_HEADER_BUFFER_TYPE_MASK            0x000000f0
266*5113495bSYour Name 
267*5113495bSYour Name /* Description		RX_MSDU_LINK_0_DESCRIPTOR_HEADER_RESERVED_0A
268*5113495bSYour Name 
269*5113495bSYour Name 			<legal 0>
270*5113495bSYour Name */
271*5113495bSYour Name #define RX_MSDU_LINK_0_DESCRIPTOR_HEADER_RESERVED_0A_OFFSET          0x00000000
272*5113495bSYour Name #define RX_MSDU_LINK_0_DESCRIPTOR_HEADER_RESERVED_0A_LSB             8
273*5113495bSYour Name #define RX_MSDU_LINK_0_DESCRIPTOR_HEADER_RESERVED_0A_MASK            0xffffff00
274*5113495bSYour Name 
275*5113495bSYour Name  /* EXTERNAL REFERENCE : struct buffer_addr_info next_msdu_link_desc_addr_info */
276*5113495bSYour Name 
277*5113495bSYour Name 
278*5113495bSYour Name /* Description		RX_MSDU_LINK_1_NEXT_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0
279*5113495bSYour Name 
280*5113495bSYour Name 			Address (lower 32 bits) of the MSDU buffer OR
281*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
282*5113495bSYour Name 
283*5113495bSYour Name 
284*5113495bSYour Name 
285*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
286*5113495bSYour Name 
287*5113495bSYour Name 			<legal all>
288*5113495bSYour Name */
289*5113495bSYour Name #define RX_MSDU_LINK_1_NEXT_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_OFFSET 0x00000004
290*5113495bSYour Name #define RX_MSDU_LINK_1_NEXT_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_LSB 0
291*5113495bSYour Name #define RX_MSDU_LINK_1_NEXT_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_MASK 0xffffffff
292*5113495bSYour Name 
293*5113495bSYour Name /* Description		RX_MSDU_LINK_2_NEXT_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32
294*5113495bSYour Name 
295*5113495bSYour Name 			Address (upper 8 bits) of the MSDU buffer OR
296*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
297*5113495bSYour Name 
298*5113495bSYour Name 
299*5113495bSYour Name 
300*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
301*5113495bSYour Name 
302*5113495bSYour Name 			<legal all>
303*5113495bSYour Name */
304*5113495bSYour Name #define RX_MSDU_LINK_2_NEXT_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_OFFSET 0x00000008
305*5113495bSYour Name #define RX_MSDU_LINK_2_NEXT_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_LSB 0
306*5113495bSYour Name #define RX_MSDU_LINK_2_NEXT_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_MASK 0x000000ff
307*5113495bSYour Name 
308*5113495bSYour Name /* Description		RX_MSDU_LINK_2_NEXT_MSDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER
309*5113495bSYour Name 
310*5113495bSYour Name 			Consumer: WBM
311*5113495bSYour Name 
312*5113495bSYour Name 			Producer: SW/FW
313*5113495bSYour Name 
314*5113495bSYour Name 
315*5113495bSYour Name 
316*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
317*5113495bSYour Name 
318*5113495bSYour Name 
319*5113495bSYour Name 
320*5113495bSYour Name 			Indicates to which buffer manager the buffer OR
321*5113495bSYour Name 			MSDU_EXTENSION descriptor OR link descriptor that is being
322*5113495bSYour Name 			pointed to shall be returned after the frame has been
323*5113495bSYour Name 			processed. It is used by WBM for routing purposes.
324*5113495bSYour Name 
325*5113495bSYour Name 
326*5113495bSYour Name 
327*5113495bSYour Name 			<enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned
328*5113495bSYour Name 			to the WMB buffer idle list
329*5113495bSYour Name 
330*5113495bSYour Name 			<enum 1 WBM_IDLE_DESC_LIST> This buffer shall be
331*5113495bSYour Name 			returned to the WMB idle link descriptor idle list
332*5113495bSYour Name 
333*5113495bSYour Name 			<enum 2 FW_BM> This buffer shall be returned to the FW
334*5113495bSYour Name 
335*5113495bSYour Name 			<enum 3 SW0_BM> This buffer shall be returned to the SW,
336*5113495bSYour Name 			ring 0
337*5113495bSYour Name 
338*5113495bSYour Name 			<enum 4 SW1_BM> This buffer shall be returned to the SW,
339*5113495bSYour Name 			ring 1
340*5113495bSYour Name 
341*5113495bSYour Name 			<enum 5 SW2_BM> This buffer shall be returned to the SW,
342*5113495bSYour Name 			ring 2
343*5113495bSYour Name 
344*5113495bSYour Name 			<enum 6 SW3_BM> This buffer shall be returned to the SW,
345*5113495bSYour Name 			ring 3
346*5113495bSYour Name 
347*5113495bSYour Name 			<enum 7 SW4_BM> This buffer shall be returned to the SW,
348*5113495bSYour Name 			ring 4
349*5113495bSYour Name 
350*5113495bSYour Name 
351*5113495bSYour Name 
352*5113495bSYour Name 			<legal all>
353*5113495bSYour Name */
354*5113495bSYour Name #define RX_MSDU_LINK_2_NEXT_MSDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_OFFSET 0x00000008
355*5113495bSYour Name #define RX_MSDU_LINK_2_NEXT_MSDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_LSB 8
356*5113495bSYour Name #define RX_MSDU_LINK_2_NEXT_MSDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_MASK 0x00000700
357*5113495bSYour Name 
358*5113495bSYour Name /* Description		RX_MSDU_LINK_2_NEXT_MSDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE
359*5113495bSYour Name 
360*5113495bSYour Name 			Cookie field exclusively used by SW.
361*5113495bSYour Name 
362*5113495bSYour Name 
363*5113495bSYour Name 
364*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
365*5113495bSYour Name 
366*5113495bSYour Name 
367*5113495bSYour Name 
368*5113495bSYour Name 			HW ignores the contents, accept that it passes the
369*5113495bSYour Name 			programmed value on to other descriptors together with the
370*5113495bSYour Name 			physical address
371*5113495bSYour Name 
372*5113495bSYour Name 
373*5113495bSYour Name 
374*5113495bSYour Name 			Field can be used by SW to for example associate the
375*5113495bSYour Name 			buffers physical address with the virtual address
376*5113495bSYour Name 
377*5113495bSYour Name 			The bit definitions as used by SW are within SW HLD
378*5113495bSYour Name 			specification
379*5113495bSYour Name 
380*5113495bSYour Name 
381*5113495bSYour Name 
382*5113495bSYour Name 			NOTE:
383*5113495bSYour Name 
384*5113495bSYour Name 			The three most significant bits can have a special
385*5113495bSYour Name 			meaning in case this struct is embedded in a TX_MPDU_DETAILS
386*5113495bSYour Name 			STRUCT, and field transmit_bw_restriction is set
387*5113495bSYour Name 
388*5113495bSYour Name 
389*5113495bSYour Name 
390*5113495bSYour Name 			In case of NON punctured transmission:
391*5113495bSYour Name 
392*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only
393*5113495bSYour Name 
394*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only
395*5113495bSYour Name 
396*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only
397*5113495bSYour Name 
398*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only
399*5113495bSYour Name 
400*5113495bSYour Name 
401*5113495bSYour Name 
402*5113495bSYour Name 			In case of punctured transmission:
403*5113495bSYour Name 
404*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only
405*5113495bSYour Name 
406*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only
407*5113495bSYour Name 
408*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only
409*5113495bSYour Name 
410*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only
411*5113495bSYour Name 
412*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only
413*5113495bSYour Name 
414*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only
415*5113495bSYour Name 
416*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only
417*5113495bSYour Name 
418*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only
419*5113495bSYour Name 
420*5113495bSYour Name 
421*5113495bSYour Name 
422*5113495bSYour Name 			Note: a punctured transmission is indicated by the
423*5113495bSYour Name 			presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler
424*5113495bSYour Name 			TLV
425*5113495bSYour Name 
426*5113495bSYour Name 
427*5113495bSYour Name 
428*5113495bSYour Name 			<legal all>
429*5113495bSYour Name */
430*5113495bSYour Name #define RX_MSDU_LINK_2_NEXT_MSDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_OFFSET 0x00000008
431*5113495bSYour Name #define RX_MSDU_LINK_2_NEXT_MSDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_LSB 11
432*5113495bSYour Name #define RX_MSDU_LINK_2_NEXT_MSDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_MASK 0xfffff800
433*5113495bSYour Name 
434*5113495bSYour Name /* Description		RX_MSDU_LINK_3_RECEIVE_QUEUE_NUMBER
435*5113495bSYour Name 
436*5113495bSYour Name 			Indicates the Receive queue to which this MPDU
437*5113495bSYour Name 			descriptor belongs
438*5113495bSYour Name 
439*5113495bSYour Name 			Used for tracking, finding bugs and debugging.
440*5113495bSYour Name 
441*5113495bSYour Name 			<legal all>
442*5113495bSYour Name */
443*5113495bSYour Name #define RX_MSDU_LINK_3_RECEIVE_QUEUE_NUMBER_OFFSET                   0x0000000c
444*5113495bSYour Name #define RX_MSDU_LINK_3_RECEIVE_QUEUE_NUMBER_LSB                      0
445*5113495bSYour Name #define RX_MSDU_LINK_3_RECEIVE_QUEUE_NUMBER_MASK                     0x0000ffff
446*5113495bSYour Name 
447*5113495bSYour Name /* Description		RX_MSDU_LINK_3_FIRST_RX_MSDU_LINK_STRUCT
448*5113495bSYour Name 
449*5113495bSYour Name 			When set, this RX_MSDU_link descriptor is the first one
450*5113495bSYour Name 			in the MSDU link list. Field MSDU_0 points to the very first
451*5113495bSYour Name 			MSDU buffer descriptor in the MPDU
452*5113495bSYour Name 
453*5113495bSYour Name 			<legal all>
454*5113495bSYour Name */
455*5113495bSYour Name #define RX_MSDU_LINK_3_FIRST_RX_MSDU_LINK_STRUCT_OFFSET              0x0000000c
456*5113495bSYour Name #define RX_MSDU_LINK_3_FIRST_RX_MSDU_LINK_STRUCT_LSB                 16
457*5113495bSYour Name #define RX_MSDU_LINK_3_FIRST_RX_MSDU_LINK_STRUCT_MASK                0x00010000
458*5113495bSYour Name 
459*5113495bSYour Name /* Description		RX_MSDU_LINK_3_RESERVED_3A
460*5113495bSYour Name 
461*5113495bSYour Name 			<legal 0>
462*5113495bSYour Name */
463*5113495bSYour Name #define RX_MSDU_LINK_3_RESERVED_3A_OFFSET                            0x0000000c
464*5113495bSYour Name #define RX_MSDU_LINK_3_RESERVED_3A_LSB                               17
465*5113495bSYour Name #define RX_MSDU_LINK_3_RESERVED_3A_MASK                              0xfffe0000
466*5113495bSYour Name 
467*5113495bSYour Name /* Description		RX_MSDU_LINK_4_PN_31_0
468*5113495bSYour Name 
469*5113495bSYour Name 
470*5113495bSYour Name 
471*5113495bSYour Name 
472*5113495bSYour Name 			31-0 bits of the 256-bit packet number bitmap.
473*5113495bSYour Name 
474*5113495bSYour Name 			<legal all>
475*5113495bSYour Name */
476*5113495bSYour Name #define RX_MSDU_LINK_4_PN_31_0_OFFSET                                0x00000010
477*5113495bSYour Name #define RX_MSDU_LINK_4_PN_31_0_LSB                                   0
478*5113495bSYour Name #define RX_MSDU_LINK_4_PN_31_0_MASK                                  0xffffffff
479*5113495bSYour Name 
480*5113495bSYour Name /* Description		RX_MSDU_LINK_5_PN_63_32
481*5113495bSYour Name 
482*5113495bSYour Name 
483*5113495bSYour Name 
484*5113495bSYour Name 
485*5113495bSYour Name 			63-32 bits of the 256-bit packet number bitmap.
486*5113495bSYour Name 
487*5113495bSYour Name 			<legal all>
488*5113495bSYour Name */
489*5113495bSYour Name #define RX_MSDU_LINK_5_PN_63_32_OFFSET                               0x00000014
490*5113495bSYour Name #define RX_MSDU_LINK_5_PN_63_32_LSB                                  0
491*5113495bSYour Name #define RX_MSDU_LINK_5_PN_63_32_MASK                                 0xffffffff
492*5113495bSYour Name 
493*5113495bSYour Name /* Description		RX_MSDU_LINK_6_PN_95_64
494*5113495bSYour Name 
495*5113495bSYour Name 
496*5113495bSYour Name 
497*5113495bSYour Name 
498*5113495bSYour Name 			95-64 bits of the 256-bit packet number bitmap.
499*5113495bSYour Name 
500*5113495bSYour Name 			<legal all>
501*5113495bSYour Name */
502*5113495bSYour Name #define RX_MSDU_LINK_6_PN_95_64_OFFSET                               0x00000018
503*5113495bSYour Name #define RX_MSDU_LINK_6_PN_95_64_LSB                                  0
504*5113495bSYour Name #define RX_MSDU_LINK_6_PN_95_64_MASK                                 0xffffffff
505*5113495bSYour Name 
506*5113495bSYour Name /* Description		RX_MSDU_LINK_7_PN_127_96
507*5113495bSYour Name 
508*5113495bSYour Name 
509*5113495bSYour Name 
510*5113495bSYour Name 
511*5113495bSYour Name 			127-96 bits of the 256-bit packet number bitmap.
512*5113495bSYour Name 
513*5113495bSYour Name 			<legal all>
514*5113495bSYour Name */
515*5113495bSYour Name #define RX_MSDU_LINK_7_PN_127_96_OFFSET                              0x0000001c
516*5113495bSYour Name #define RX_MSDU_LINK_7_PN_127_96_LSB                                 0
517*5113495bSYour Name #define RX_MSDU_LINK_7_PN_127_96_MASK                                0xffffffff
518*5113495bSYour Name 
519*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_msdu_details msdu_0 */
520*5113495bSYour Name 
521*5113495bSYour Name 
522*5113495bSYour Name  /* EXTERNAL REFERENCE : struct buffer_addr_info buffer_addr_info_details */
523*5113495bSYour Name 
524*5113495bSYour Name 
525*5113495bSYour Name /* Description		RX_MSDU_LINK_8_MSDU_0_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0
526*5113495bSYour Name 
527*5113495bSYour Name 			Address (lower 32 bits) of the MSDU buffer OR
528*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
529*5113495bSYour Name 
530*5113495bSYour Name 
531*5113495bSYour Name 
532*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
533*5113495bSYour Name 
534*5113495bSYour Name 			<legal all>
535*5113495bSYour Name */
536*5113495bSYour Name #define RX_MSDU_LINK_8_MSDU_0_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_OFFSET 0x00000020
537*5113495bSYour Name #define RX_MSDU_LINK_8_MSDU_0_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_LSB 0
538*5113495bSYour Name #define RX_MSDU_LINK_8_MSDU_0_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_MASK 0xffffffff
539*5113495bSYour Name 
540*5113495bSYour Name /* Description		RX_MSDU_LINK_9_MSDU_0_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32
541*5113495bSYour Name 
542*5113495bSYour Name 			Address (upper 8 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_9_MSDU_0_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_OFFSET 0x00000024
552*5113495bSYour Name #define RX_MSDU_LINK_9_MSDU_0_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_LSB 0
553*5113495bSYour Name #define RX_MSDU_LINK_9_MSDU_0_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_MASK 0x000000ff
554*5113495bSYour Name 
555*5113495bSYour Name /* Description		RX_MSDU_LINK_9_MSDU_0_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER
556*5113495bSYour Name 
557*5113495bSYour Name 			Consumer: WBM
558*5113495bSYour Name 
559*5113495bSYour Name 			Producer: SW/FW
560*5113495bSYour Name 
561*5113495bSYour Name 
562*5113495bSYour Name 
563*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
564*5113495bSYour Name 
565*5113495bSYour Name 
566*5113495bSYour Name 
567*5113495bSYour Name 			Indicates to which buffer manager the buffer OR
568*5113495bSYour Name 			MSDU_EXTENSION descriptor OR link descriptor that is being
569*5113495bSYour Name 			pointed to shall be returned after the frame has been
570*5113495bSYour Name 			processed. It is used by WBM for routing purposes.
571*5113495bSYour Name 
572*5113495bSYour Name 
573*5113495bSYour Name 
574*5113495bSYour Name 			<enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned
575*5113495bSYour Name 			to the WMB buffer idle list
576*5113495bSYour Name 
577*5113495bSYour Name 			<enum 1 WBM_IDLE_DESC_LIST> This buffer shall be
578*5113495bSYour Name 			returned to the WMB idle link descriptor idle list
579*5113495bSYour Name 
580*5113495bSYour Name 			<enum 2 FW_BM> This buffer shall be returned to the FW
581*5113495bSYour Name 
582*5113495bSYour Name 			<enum 3 SW0_BM> This buffer shall be returned to the SW,
583*5113495bSYour Name 			ring 0
584*5113495bSYour Name 
585*5113495bSYour Name 			<enum 4 SW1_BM> This buffer shall be returned to the SW,
586*5113495bSYour Name 			ring 1
587*5113495bSYour Name 
588*5113495bSYour Name 			<enum 5 SW2_BM> This buffer shall be returned to the SW,
589*5113495bSYour Name 			ring 2
590*5113495bSYour Name 
591*5113495bSYour Name 			<enum 6 SW3_BM> This buffer shall be returned to the SW,
592*5113495bSYour Name 			ring 3
593*5113495bSYour Name 
594*5113495bSYour Name 			<enum 7 SW4_BM> This buffer shall be returned to the SW,
595*5113495bSYour Name 			ring 4
596*5113495bSYour Name 
597*5113495bSYour Name 
598*5113495bSYour Name 
599*5113495bSYour Name 			<legal all>
600*5113495bSYour Name */
601*5113495bSYour Name #define RX_MSDU_LINK_9_MSDU_0_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_OFFSET 0x00000024
602*5113495bSYour Name #define RX_MSDU_LINK_9_MSDU_0_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_LSB 8
603*5113495bSYour Name #define RX_MSDU_LINK_9_MSDU_0_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_MASK 0x00000700
604*5113495bSYour Name 
605*5113495bSYour Name /* Description		RX_MSDU_LINK_9_MSDU_0_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE
606*5113495bSYour Name 
607*5113495bSYour Name 			Cookie field exclusively used by SW.
608*5113495bSYour Name 
609*5113495bSYour Name 
610*5113495bSYour Name 
611*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
612*5113495bSYour Name 
613*5113495bSYour Name 
614*5113495bSYour Name 
615*5113495bSYour Name 			HW ignores the contents, accept that it passes the
616*5113495bSYour Name 			programmed value on to other descriptors together with the
617*5113495bSYour Name 			physical address
618*5113495bSYour Name 
619*5113495bSYour Name 
620*5113495bSYour Name 
621*5113495bSYour Name 			Field can be used by SW to for example associate the
622*5113495bSYour Name 			buffers physical address with the virtual address
623*5113495bSYour Name 
624*5113495bSYour Name 			The bit definitions as used by SW are within SW HLD
625*5113495bSYour Name 			specification
626*5113495bSYour Name 
627*5113495bSYour Name 
628*5113495bSYour Name 
629*5113495bSYour Name 			NOTE:
630*5113495bSYour Name 
631*5113495bSYour Name 			The three most significant bits can have a special
632*5113495bSYour Name 			meaning in case this struct is embedded in a TX_MPDU_DETAILS
633*5113495bSYour Name 			STRUCT, and field transmit_bw_restriction is set
634*5113495bSYour Name 
635*5113495bSYour Name 
636*5113495bSYour Name 
637*5113495bSYour Name 			In case of NON punctured transmission:
638*5113495bSYour Name 
639*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only
640*5113495bSYour Name 
641*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only
642*5113495bSYour Name 
643*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only
644*5113495bSYour Name 
645*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only
646*5113495bSYour Name 
647*5113495bSYour Name 
648*5113495bSYour Name 
649*5113495bSYour Name 			In case of punctured transmission:
650*5113495bSYour Name 
651*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only
652*5113495bSYour Name 
653*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only
654*5113495bSYour Name 
655*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only
656*5113495bSYour Name 
657*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only
658*5113495bSYour Name 
659*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only
660*5113495bSYour Name 
661*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only
662*5113495bSYour Name 
663*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only
664*5113495bSYour Name 
665*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only
666*5113495bSYour Name 
667*5113495bSYour Name 
668*5113495bSYour Name 
669*5113495bSYour Name 			Note: a punctured transmission is indicated by the
670*5113495bSYour Name 			presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler
671*5113495bSYour Name 			TLV
672*5113495bSYour Name 
673*5113495bSYour Name 
674*5113495bSYour Name 
675*5113495bSYour Name 			<legal all>
676*5113495bSYour Name */
677*5113495bSYour Name #define RX_MSDU_LINK_9_MSDU_0_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_OFFSET 0x00000024
678*5113495bSYour Name #define RX_MSDU_LINK_9_MSDU_0_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_LSB 11
679*5113495bSYour Name #define RX_MSDU_LINK_9_MSDU_0_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_MASK 0xfffff800
680*5113495bSYour Name 
681*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_msdu_desc_info rx_msdu_desc_info_details */
682*5113495bSYour Name 
683*5113495bSYour Name 
684*5113495bSYour Name /* Description		RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG
685*5113495bSYour Name 
686*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
687*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
688*5113495bSYour Name 			buffer used by the MSDU
689*5113495bSYour Name 
690*5113495bSYour Name 
691*5113495bSYour Name 
692*5113495bSYour Name 			<enum 0 Not_first_msdu> This is not the first MSDU in
693*5113495bSYour Name 			the MPDU.
694*5113495bSYour Name 
695*5113495bSYour Name 			<enum 1 first_msdu> This MSDU is the first one in the
696*5113495bSYour Name 			MPDU.
697*5113495bSYour Name 
698*5113495bSYour Name 
699*5113495bSYour Name 
700*5113495bSYour Name 			<legal all>
701*5113495bSYour Name */
702*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000028
703*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_LSB 0
704*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_MASK 0x00000001
705*5113495bSYour Name 
706*5113495bSYour Name /* Description		RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG
707*5113495bSYour Name 
708*5113495bSYour Name 			Consumer: WBM/REO/SW/FW
709*5113495bSYour Name 
710*5113495bSYour Name 			Producer: RXDMA
711*5113495bSYour Name 
712*5113495bSYour Name 
713*5113495bSYour Name 
714*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
715*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
716*5113495bSYour Name 			buffer used by the MSDU
717*5113495bSYour Name 
718*5113495bSYour Name 
719*5113495bSYour Name 
720*5113495bSYour Name 			<enum 0 Not_last_msdu> There are more MSDUs linked to
721*5113495bSYour Name 			this MSDU that belongs to this MPDU
722*5113495bSYour Name 
723*5113495bSYour Name 			<enum 1 Last_msdu> this MSDU is the last one in the
724*5113495bSYour Name 			MPDU. This setting is only allowed in combination with
725*5113495bSYour Name 			'Msdu_continuation' set to 0. This implies that when an msdu
726*5113495bSYour Name 			is spread out over multiple buffers and thus
727*5113495bSYour Name 			msdu_continuation is set, only for the very last buffer of
728*5113495bSYour Name 			the msdu, can the 'last_msdu_in_mpdu_flag' be set.
729*5113495bSYour Name 
730*5113495bSYour Name 
731*5113495bSYour Name 
732*5113495bSYour Name 			When both first_msdu_in_mpdu_flag and
733*5113495bSYour Name 			last_msdu_in_mpdu_flag are set, the MPDU that this MSDU
734*5113495bSYour Name 			belongs to only contains a single MSDU.
735*5113495bSYour Name 
736*5113495bSYour Name 
737*5113495bSYour Name 
738*5113495bSYour Name 
739*5113495bSYour Name 
740*5113495bSYour Name 			<legal all>
741*5113495bSYour Name */
742*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000028
743*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_LSB 1
744*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_MASK 0x00000002
745*5113495bSYour Name 
746*5113495bSYour Name /* Description		RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION
747*5113495bSYour Name 
748*5113495bSYour Name 			When set, this MSDU buffer was not able to hold the
749*5113495bSYour Name 			entire MSDU. The next buffer will therefor contain
750*5113495bSYour Name 			additional information related to this MSDU.
751*5113495bSYour Name 
752*5113495bSYour Name 
753*5113495bSYour Name 
754*5113495bSYour Name 			<legal all>
755*5113495bSYour Name */
756*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_OFFSET 0x00000028
757*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_LSB 2
758*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_MASK 0x00000004
759*5113495bSYour Name 
760*5113495bSYour Name /* Description		RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH
761*5113495bSYour Name 
762*5113495bSYour Name 			Parsed from RX_MSDU_START TLV . In the case MSDU spans
763*5113495bSYour Name 			over multiple buffers, this field will be valid in the First
764*5113495bSYour Name 			buffer used by MSDU.
765*5113495bSYour Name 
766*5113495bSYour Name 
767*5113495bSYour Name 
768*5113495bSYour Name 			Full MSDU length in bytes after decapsulation.
769*5113495bSYour Name 
770*5113495bSYour Name 
771*5113495bSYour Name 
772*5113495bSYour Name 			This field is still valid for MPDU frames without
773*5113495bSYour Name 			A-MSDU.  It still represents MSDU length after decapsulation
774*5113495bSYour Name 
775*5113495bSYour Name 
776*5113495bSYour Name 
777*5113495bSYour Name 			Or in case of RAW MPDUs, it indicates the length of the
778*5113495bSYour Name 			entire MPDU (without FCS field)
779*5113495bSYour Name 
780*5113495bSYour Name 			<legal all>
781*5113495bSYour Name */
782*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_OFFSET 0x00000028
783*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_LSB 3
784*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_MASK 0x0001fff8
785*5113495bSYour Name 
786*5113495bSYour Name /* Description		RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION
787*5113495bSYour Name 
788*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
789*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
790*5113495bSYour Name 			buffer used by the MSDU
791*5113495bSYour Name 
792*5113495bSYour Name 
793*5113495bSYour Name 
794*5113495bSYour Name 			The ID of the REO exit ring where the MSDU frame shall
795*5113495bSYour Name 			push after (MPDU level) reordering has finished.
796*5113495bSYour Name 
797*5113495bSYour Name 
798*5113495bSYour Name 
799*5113495bSYour Name 			<enum 0 reo_destination_tcl> Reo will push the frame
800*5113495bSYour Name 			into the REO2TCL ring
801*5113495bSYour Name 
802*5113495bSYour Name 			<enum 1 reo_destination_sw1> Reo will push the frame
803*5113495bSYour Name 			into the REO2SW1 ring
804*5113495bSYour Name 
805*5113495bSYour Name 			<enum 2 reo_destination_sw2> Reo will push the frame
806*5113495bSYour Name 			into the REO2SW2 ring
807*5113495bSYour Name 
808*5113495bSYour Name 			<enum 3 reo_destination_sw3> Reo will push the frame
809*5113495bSYour Name 			into the REO2SW3 ring
810*5113495bSYour Name 
811*5113495bSYour Name 			<enum 4 reo_destination_sw4> Reo will push the frame
812*5113495bSYour Name 			into the REO2SW4 ring
813*5113495bSYour Name 
814*5113495bSYour Name 			<enum 5 reo_destination_release> Reo will push the frame
815*5113495bSYour Name 			into the REO_release ring
816*5113495bSYour Name 
817*5113495bSYour Name 			<enum 6 reo_destination_fw> Reo will push the frame into
818*5113495bSYour Name 			the REO2FW ring
819*5113495bSYour Name 
820*5113495bSYour Name 			<enum 7 reo_destination_sw5> Reo will push the frame
821*5113495bSYour Name 			into the REO2SW5 ring (REO remaps this in chips without
822*5113495bSYour Name 			REO2SW5 ring, e.g. Pine)
823*5113495bSYour Name 
824*5113495bSYour Name 			<enum 8 reo_destination_sw6> Reo will push the frame
825*5113495bSYour Name 			into the REO2SW6 ring (REO remaps this in chips without
826*5113495bSYour Name 			REO2SW6 ring, e.g. Pine)
827*5113495bSYour Name 
828*5113495bSYour Name 			 <enum 9 reo_destination_9> REO remaps this <enum 10
829*5113495bSYour Name 			reo_destination_10> REO remaps this
830*5113495bSYour Name 
831*5113495bSYour Name 			<enum 11 reo_destination_11> REO remaps this
832*5113495bSYour Name 
833*5113495bSYour Name 			<enum 12 reo_destination_12> REO remaps this <enum 13
834*5113495bSYour Name 			reo_destination_13> REO remaps this
835*5113495bSYour Name 
836*5113495bSYour Name 			<enum 14 reo_destination_14> REO remaps this
837*5113495bSYour Name 
838*5113495bSYour Name 			<enum 15 reo_destination_15> REO remaps this
839*5113495bSYour Name 
840*5113495bSYour Name 			<enum 16 reo_destination_16> REO remaps this
841*5113495bSYour Name 
842*5113495bSYour Name 			<enum 17 reo_destination_17> REO remaps this
843*5113495bSYour Name 
844*5113495bSYour Name 			<enum 18 reo_destination_18> REO remaps this
845*5113495bSYour Name 
846*5113495bSYour Name 			<enum 19 reo_destination_19> REO remaps this
847*5113495bSYour Name 
848*5113495bSYour Name 			<enum 20 reo_destination_20> REO remaps this
849*5113495bSYour Name 
850*5113495bSYour Name 			<enum 21 reo_destination_21> REO remaps this
851*5113495bSYour Name 
852*5113495bSYour Name 			<enum 22 reo_destination_22> REO remaps this
853*5113495bSYour Name 
854*5113495bSYour Name 			<enum 23 reo_destination_23> REO remaps this
855*5113495bSYour Name 
856*5113495bSYour Name 			<enum 24 reo_destination_24> REO remaps this
857*5113495bSYour Name 
858*5113495bSYour Name 			<enum 25 reo_destination_25> REO remaps this
859*5113495bSYour Name 
860*5113495bSYour Name 			<enum 26 reo_destination_26> REO remaps this
861*5113495bSYour Name 
862*5113495bSYour Name 			<enum 27 reo_destination_27> REO remaps this
863*5113495bSYour Name 
864*5113495bSYour Name 			<enum 28 reo_destination_28> REO remaps this
865*5113495bSYour Name 
866*5113495bSYour Name 			<enum 29 reo_destination_29> REO remaps this
867*5113495bSYour Name 
868*5113495bSYour Name 			<enum 30 reo_destination_30> REO remaps this
869*5113495bSYour Name 
870*5113495bSYour Name 			<enum 31 reo_destination_31> REO remaps this
871*5113495bSYour Name 
872*5113495bSYour Name 
873*5113495bSYour Name 
874*5113495bSYour Name 			<legal all>
875*5113495bSYour Name */
876*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_OFFSET 0x00000028
877*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_LSB 17
878*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_MASK 0x003e0000
879*5113495bSYour Name 
880*5113495bSYour Name /* Description		RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP
881*5113495bSYour Name 
882*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
883*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
884*5113495bSYour Name 			buffer used by the MSDU
885*5113495bSYour Name 
886*5113495bSYour Name 
887*5113495bSYour Name 
888*5113495bSYour Name 			When set, REO shall drop this MSDU and not forward it to
889*5113495bSYour Name 			any other ring...
890*5113495bSYour Name 
891*5113495bSYour Name 			<legal all>
892*5113495bSYour Name */
893*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_OFFSET 0x00000028
894*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_LSB 22
895*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_MASK 0x00400000
896*5113495bSYour Name 
897*5113495bSYour Name /* Description		RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID
898*5113495bSYour Name 
899*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
900*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
901*5113495bSYour Name 			buffer used by the MSDU
902*5113495bSYour Name 
903*5113495bSYour Name 
904*5113495bSYour Name 
905*5113495bSYour Name 			Indicates that OLE found a valid SA entry for this MSDU
906*5113495bSYour Name 
907*5113495bSYour Name 			<legal all>
908*5113495bSYour Name */
909*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_OFFSET 0x00000028
910*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_LSB 23
911*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_MASK 0x00800000
912*5113495bSYour Name 
913*5113495bSYour Name /* Description		RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT
914*5113495bSYour Name 
915*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
916*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
917*5113495bSYour Name 			buffer used by the MSDU
918*5113495bSYour Name 
919*5113495bSYour Name 
920*5113495bSYour Name 
921*5113495bSYour Name 			Indicates an unsuccessful MAC source address search due
922*5113495bSYour Name 			to the expiring of the search timer for this MSDU
923*5113495bSYour Name 
924*5113495bSYour Name 			<legal all>
925*5113495bSYour Name */
926*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_OFFSET 0x00000028
927*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_LSB 24
928*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_MASK 0x01000000
929*5113495bSYour Name 
930*5113495bSYour Name /* Description		RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID
931*5113495bSYour Name 
932*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
933*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
934*5113495bSYour Name 			buffer used by the MSDU
935*5113495bSYour Name 
936*5113495bSYour Name 
937*5113495bSYour Name 
938*5113495bSYour Name 			Indicates that OLE found a valid DA entry for this MSDU
939*5113495bSYour Name 
940*5113495bSYour Name 			<legal all>
941*5113495bSYour Name */
942*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_OFFSET 0x00000028
943*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_LSB 25
944*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_MASK 0x02000000
945*5113495bSYour Name 
946*5113495bSYour Name /* Description		RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC
947*5113495bSYour Name 
948*5113495bSYour Name 			Field Only valid if da_is_valid is set
949*5113495bSYour Name 
950*5113495bSYour Name 
951*5113495bSYour Name 
952*5113495bSYour Name 			Indicates the DA address was a Multicast of Broadcast
953*5113495bSYour Name 			address for this MSDU
954*5113495bSYour Name 
955*5113495bSYour Name 			<legal all>
956*5113495bSYour Name */
957*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_OFFSET 0x00000028
958*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_LSB 26
959*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_MASK 0x04000000
960*5113495bSYour Name 
961*5113495bSYour Name /* Description		RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT
962*5113495bSYour Name 
963*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
964*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
965*5113495bSYour Name 			buffer used by the MSDU
966*5113495bSYour Name 
967*5113495bSYour Name 
968*5113495bSYour Name 
969*5113495bSYour Name 			Indicates an unsuccessful MAC destination address search
970*5113495bSYour Name 			due to the expiring of the search timer for this MSDU
971*5113495bSYour Name 
972*5113495bSYour Name 			<legal all>
973*5113495bSYour Name */
974*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_OFFSET 0x00000028
975*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_LSB 27
976*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_MASK 0x08000000
977*5113495bSYour Name 
978*5113495bSYour Name /* Description		RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A
979*5113495bSYour Name 
980*5113495bSYour Name 			<legal 0>
981*5113495bSYour Name */
982*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A_OFFSET 0x00000028
983*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A_LSB 28
984*5113495bSYour Name #define RX_MSDU_LINK_10_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A_MASK 0xf0000000
985*5113495bSYour Name 
986*5113495bSYour Name /* Description		RX_MSDU_LINK_11_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_RESERVED_1A
987*5113495bSYour Name 
988*5113495bSYour Name 			<legal 0>
989*5113495bSYour Name */
990*5113495bSYour Name #define RX_MSDU_LINK_11_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_RESERVED_1A_OFFSET 0x0000002c
991*5113495bSYour Name #define RX_MSDU_LINK_11_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_RESERVED_1A_LSB 0
992*5113495bSYour Name #define RX_MSDU_LINK_11_MSDU_0_RX_MSDU_DESC_INFO_DETAILS_RESERVED_1A_MASK 0xffffffff
993*5113495bSYour Name 
994*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_msdu_details msdu_1 */
995*5113495bSYour Name 
996*5113495bSYour Name 
997*5113495bSYour Name  /* EXTERNAL REFERENCE : struct buffer_addr_info buffer_addr_info_details */
998*5113495bSYour Name 
999*5113495bSYour Name 
1000*5113495bSYour Name /* Description		RX_MSDU_LINK_12_MSDU_1_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0
1001*5113495bSYour Name 
1002*5113495bSYour Name 			Address (lower 32 bits) of the MSDU buffer OR
1003*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
1004*5113495bSYour Name 
1005*5113495bSYour Name 
1006*5113495bSYour Name 
1007*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1008*5113495bSYour Name 
1009*5113495bSYour Name 			<legal all>
1010*5113495bSYour Name */
1011*5113495bSYour Name #define RX_MSDU_LINK_12_MSDU_1_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_OFFSET 0x00000030
1012*5113495bSYour Name #define RX_MSDU_LINK_12_MSDU_1_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_LSB 0
1013*5113495bSYour Name #define RX_MSDU_LINK_12_MSDU_1_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_MASK 0xffffffff
1014*5113495bSYour Name 
1015*5113495bSYour Name /* Description		RX_MSDU_LINK_13_MSDU_1_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32
1016*5113495bSYour Name 
1017*5113495bSYour Name 			Address (upper 8 bits) of the MSDU buffer OR
1018*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
1019*5113495bSYour Name 
1020*5113495bSYour Name 
1021*5113495bSYour Name 
1022*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1023*5113495bSYour Name 
1024*5113495bSYour Name 			<legal all>
1025*5113495bSYour Name */
1026*5113495bSYour Name #define RX_MSDU_LINK_13_MSDU_1_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_OFFSET 0x00000034
1027*5113495bSYour Name #define RX_MSDU_LINK_13_MSDU_1_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_LSB 0
1028*5113495bSYour Name #define RX_MSDU_LINK_13_MSDU_1_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_MASK 0x000000ff
1029*5113495bSYour Name 
1030*5113495bSYour Name /* Description		RX_MSDU_LINK_13_MSDU_1_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER
1031*5113495bSYour Name 
1032*5113495bSYour Name 			Consumer: WBM
1033*5113495bSYour Name 
1034*5113495bSYour Name 			Producer: SW/FW
1035*5113495bSYour Name 
1036*5113495bSYour Name 
1037*5113495bSYour Name 
1038*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1039*5113495bSYour Name 
1040*5113495bSYour Name 
1041*5113495bSYour Name 
1042*5113495bSYour Name 			Indicates to which buffer manager the buffer OR
1043*5113495bSYour Name 			MSDU_EXTENSION descriptor OR link descriptor that is being
1044*5113495bSYour Name 			pointed to shall be returned after the frame has been
1045*5113495bSYour Name 			processed. It is used by WBM for routing purposes.
1046*5113495bSYour Name 
1047*5113495bSYour Name 
1048*5113495bSYour Name 
1049*5113495bSYour Name 			<enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned
1050*5113495bSYour Name 			to the WMB buffer idle list
1051*5113495bSYour Name 
1052*5113495bSYour Name 			<enum 1 WBM_IDLE_DESC_LIST> This buffer shall be
1053*5113495bSYour Name 			returned to the WMB idle link descriptor idle list
1054*5113495bSYour Name 
1055*5113495bSYour Name 			<enum 2 FW_BM> This buffer shall be returned to the FW
1056*5113495bSYour Name 
1057*5113495bSYour Name 			<enum 3 SW0_BM> This buffer shall be returned to the SW,
1058*5113495bSYour Name 			ring 0
1059*5113495bSYour Name 
1060*5113495bSYour Name 			<enum 4 SW1_BM> This buffer shall be returned to the SW,
1061*5113495bSYour Name 			ring 1
1062*5113495bSYour Name 
1063*5113495bSYour Name 			<enum 5 SW2_BM> This buffer shall be returned to the SW,
1064*5113495bSYour Name 			ring 2
1065*5113495bSYour Name 
1066*5113495bSYour Name 			<enum 6 SW3_BM> This buffer shall be returned to the SW,
1067*5113495bSYour Name 			ring 3
1068*5113495bSYour Name 
1069*5113495bSYour Name 			<enum 7 SW4_BM> This buffer shall be returned to the SW,
1070*5113495bSYour Name 			ring 4
1071*5113495bSYour Name 
1072*5113495bSYour Name 
1073*5113495bSYour Name 
1074*5113495bSYour Name 			<legal all>
1075*5113495bSYour Name */
1076*5113495bSYour Name #define RX_MSDU_LINK_13_MSDU_1_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_OFFSET 0x00000034
1077*5113495bSYour Name #define RX_MSDU_LINK_13_MSDU_1_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_LSB 8
1078*5113495bSYour Name #define RX_MSDU_LINK_13_MSDU_1_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_MASK 0x00000700
1079*5113495bSYour Name 
1080*5113495bSYour Name /* Description		RX_MSDU_LINK_13_MSDU_1_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE
1081*5113495bSYour Name 
1082*5113495bSYour Name 			Cookie field exclusively used by SW.
1083*5113495bSYour Name 
1084*5113495bSYour Name 
1085*5113495bSYour Name 
1086*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1087*5113495bSYour Name 
1088*5113495bSYour Name 
1089*5113495bSYour Name 
1090*5113495bSYour Name 			HW ignores the contents, accept that it passes the
1091*5113495bSYour Name 			programmed value on to other descriptors together with the
1092*5113495bSYour Name 			physical address
1093*5113495bSYour Name 
1094*5113495bSYour Name 
1095*5113495bSYour Name 
1096*5113495bSYour Name 			Field can be used by SW to for example associate the
1097*5113495bSYour Name 			buffers physical address with the virtual address
1098*5113495bSYour Name 
1099*5113495bSYour Name 			The bit definitions as used by SW are within SW HLD
1100*5113495bSYour Name 			specification
1101*5113495bSYour Name 
1102*5113495bSYour Name 
1103*5113495bSYour Name 
1104*5113495bSYour Name 			NOTE:
1105*5113495bSYour Name 
1106*5113495bSYour Name 			The three most significant bits can have a special
1107*5113495bSYour Name 			meaning in case this struct is embedded in a TX_MPDU_DETAILS
1108*5113495bSYour Name 			STRUCT, and field transmit_bw_restriction is set
1109*5113495bSYour Name 
1110*5113495bSYour Name 
1111*5113495bSYour Name 
1112*5113495bSYour Name 			In case of NON punctured transmission:
1113*5113495bSYour Name 
1114*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only
1115*5113495bSYour Name 
1116*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only
1117*5113495bSYour Name 
1118*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only
1119*5113495bSYour Name 
1120*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only
1121*5113495bSYour Name 
1122*5113495bSYour Name 
1123*5113495bSYour Name 
1124*5113495bSYour Name 			In case of punctured transmission:
1125*5113495bSYour Name 
1126*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only
1127*5113495bSYour Name 
1128*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only
1129*5113495bSYour Name 
1130*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only
1131*5113495bSYour Name 
1132*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only
1133*5113495bSYour Name 
1134*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only
1135*5113495bSYour Name 
1136*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only
1137*5113495bSYour Name 
1138*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only
1139*5113495bSYour Name 
1140*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only
1141*5113495bSYour Name 
1142*5113495bSYour Name 
1143*5113495bSYour Name 
1144*5113495bSYour Name 			Note: a punctured transmission is indicated by the
1145*5113495bSYour Name 			presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler
1146*5113495bSYour Name 			TLV
1147*5113495bSYour Name 
1148*5113495bSYour Name 
1149*5113495bSYour Name 
1150*5113495bSYour Name 			<legal all>
1151*5113495bSYour Name */
1152*5113495bSYour Name #define RX_MSDU_LINK_13_MSDU_1_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_OFFSET 0x00000034
1153*5113495bSYour Name #define RX_MSDU_LINK_13_MSDU_1_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_LSB 11
1154*5113495bSYour Name #define RX_MSDU_LINK_13_MSDU_1_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_MASK 0xfffff800
1155*5113495bSYour Name 
1156*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_msdu_desc_info rx_msdu_desc_info_details */
1157*5113495bSYour Name 
1158*5113495bSYour Name 
1159*5113495bSYour Name /* Description		RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG
1160*5113495bSYour Name 
1161*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
1162*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
1163*5113495bSYour Name 			buffer used by the MSDU
1164*5113495bSYour Name 
1165*5113495bSYour Name 
1166*5113495bSYour Name 
1167*5113495bSYour Name 			<enum 0 Not_first_msdu> This is not the first MSDU in
1168*5113495bSYour Name 			the MPDU.
1169*5113495bSYour Name 
1170*5113495bSYour Name 			<enum 1 first_msdu> This MSDU is the first one in the
1171*5113495bSYour Name 			MPDU.
1172*5113495bSYour Name 
1173*5113495bSYour Name 
1174*5113495bSYour Name 
1175*5113495bSYour Name 			<legal all>
1176*5113495bSYour Name */
1177*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000038
1178*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_LSB 0
1179*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_MASK 0x00000001
1180*5113495bSYour Name 
1181*5113495bSYour Name /* Description		RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG
1182*5113495bSYour Name 
1183*5113495bSYour Name 			Consumer: WBM/REO/SW/FW
1184*5113495bSYour Name 
1185*5113495bSYour Name 			Producer: RXDMA
1186*5113495bSYour Name 
1187*5113495bSYour Name 
1188*5113495bSYour Name 
1189*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
1190*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
1191*5113495bSYour Name 			buffer used by the MSDU
1192*5113495bSYour Name 
1193*5113495bSYour Name 
1194*5113495bSYour Name 
1195*5113495bSYour Name 			<enum 0 Not_last_msdu> There are more MSDUs linked to
1196*5113495bSYour Name 			this MSDU that belongs to this MPDU
1197*5113495bSYour Name 
1198*5113495bSYour Name 			<enum 1 Last_msdu> this MSDU is the last one in the
1199*5113495bSYour Name 			MPDU. This setting is only allowed in combination with
1200*5113495bSYour Name 			'Msdu_continuation' set to 0. This implies that when an msdu
1201*5113495bSYour Name 			is spread out over multiple buffers and thus
1202*5113495bSYour Name 			msdu_continuation is set, only for the very last buffer of
1203*5113495bSYour Name 			the msdu, can the 'last_msdu_in_mpdu_flag' be set.
1204*5113495bSYour Name 
1205*5113495bSYour Name 
1206*5113495bSYour Name 
1207*5113495bSYour Name 			When both first_msdu_in_mpdu_flag and
1208*5113495bSYour Name 			last_msdu_in_mpdu_flag are set, the MPDU that this MSDU
1209*5113495bSYour Name 			belongs to only contains a single MSDU.
1210*5113495bSYour Name 
1211*5113495bSYour Name 
1212*5113495bSYour Name 
1213*5113495bSYour Name 
1214*5113495bSYour Name 
1215*5113495bSYour Name 			<legal all>
1216*5113495bSYour Name */
1217*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000038
1218*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_LSB 1
1219*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_MASK 0x00000002
1220*5113495bSYour Name 
1221*5113495bSYour Name /* Description		RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION
1222*5113495bSYour Name 
1223*5113495bSYour Name 			When set, this MSDU buffer was not able to hold the
1224*5113495bSYour Name 			entire MSDU. The next buffer will therefor contain
1225*5113495bSYour Name 			additional information related to this MSDU.
1226*5113495bSYour Name 
1227*5113495bSYour Name 
1228*5113495bSYour Name 
1229*5113495bSYour Name 			<legal all>
1230*5113495bSYour Name */
1231*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_OFFSET 0x00000038
1232*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_LSB 2
1233*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_MASK 0x00000004
1234*5113495bSYour Name 
1235*5113495bSYour Name /* Description		RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH
1236*5113495bSYour Name 
1237*5113495bSYour Name 			Parsed from RX_MSDU_START TLV . In the case MSDU spans
1238*5113495bSYour Name 			over multiple buffers, this field will be valid in the First
1239*5113495bSYour Name 			buffer used by MSDU.
1240*5113495bSYour Name 
1241*5113495bSYour Name 
1242*5113495bSYour Name 
1243*5113495bSYour Name 			Full MSDU length in bytes after decapsulation.
1244*5113495bSYour Name 
1245*5113495bSYour Name 
1246*5113495bSYour Name 
1247*5113495bSYour Name 			This field is still valid for MPDU frames without
1248*5113495bSYour Name 			A-MSDU.  It still represents MSDU length after decapsulation
1249*5113495bSYour Name 
1250*5113495bSYour Name 
1251*5113495bSYour Name 
1252*5113495bSYour Name 			Or in case of RAW MPDUs, it indicates the length of the
1253*5113495bSYour Name 			entire MPDU (without FCS field)
1254*5113495bSYour Name 
1255*5113495bSYour Name 			<legal all>
1256*5113495bSYour Name */
1257*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_OFFSET 0x00000038
1258*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_LSB 3
1259*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_MASK 0x0001fff8
1260*5113495bSYour Name 
1261*5113495bSYour Name /* Description		RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION
1262*5113495bSYour Name 
1263*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
1264*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
1265*5113495bSYour Name 			buffer used by the MSDU
1266*5113495bSYour Name 
1267*5113495bSYour Name 
1268*5113495bSYour Name 
1269*5113495bSYour Name 			The ID of the REO exit ring where the MSDU frame shall
1270*5113495bSYour Name 			push after (MPDU level) reordering has finished.
1271*5113495bSYour Name 
1272*5113495bSYour Name 
1273*5113495bSYour Name 
1274*5113495bSYour Name 			<enum 0 reo_destination_tcl> Reo will push the frame
1275*5113495bSYour Name 			into the REO2TCL ring
1276*5113495bSYour Name 
1277*5113495bSYour Name 			<enum 1 reo_destination_sw1> Reo will push the frame
1278*5113495bSYour Name 			into the REO2SW1 ring
1279*5113495bSYour Name 
1280*5113495bSYour Name 			<enum 2 reo_destination_sw2> Reo will push the frame
1281*5113495bSYour Name 			into the REO2SW2 ring
1282*5113495bSYour Name 
1283*5113495bSYour Name 			<enum 3 reo_destination_sw3> Reo will push the frame
1284*5113495bSYour Name 			into the REO2SW3 ring
1285*5113495bSYour Name 
1286*5113495bSYour Name 			<enum 4 reo_destination_sw4> Reo will push the frame
1287*5113495bSYour Name 			into the REO2SW4 ring
1288*5113495bSYour Name 
1289*5113495bSYour Name 			<enum 5 reo_destination_release> Reo will push the frame
1290*5113495bSYour Name 			into the REO_release ring
1291*5113495bSYour Name 
1292*5113495bSYour Name 			<enum 6 reo_destination_fw> Reo will push the frame into
1293*5113495bSYour Name 			the REO2FW ring
1294*5113495bSYour Name 
1295*5113495bSYour Name 			<enum 7 reo_destination_sw5> Reo will push the frame
1296*5113495bSYour Name 			into the REO2SW5 ring (REO remaps this in chips without
1297*5113495bSYour Name 			REO2SW5 ring, e.g. Pine)
1298*5113495bSYour Name 
1299*5113495bSYour Name 			<enum 8 reo_destination_sw6> Reo will push the frame
1300*5113495bSYour Name 			into the REO2SW6 ring (REO remaps this in chips without
1301*5113495bSYour Name 			REO2SW6 ring, e.g. Pine)
1302*5113495bSYour Name 
1303*5113495bSYour Name 			 <enum 9 reo_destination_9> REO remaps this <enum 10
1304*5113495bSYour Name 			reo_destination_10> REO remaps this
1305*5113495bSYour Name 
1306*5113495bSYour Name 			<enum 11 reo_destination_11> REO remaps this
1307*5113495bSYour Name 
1308*5113495bSYour Name 			<enum 12 reo_destination_12> REO remaps this <enum 13
1309*5113495bSYour Name 			reo_destination_13> REO remaps this
1310*5113495bSYour Name 
1311*5113495bSYour Name 			<enum 14 reo_destination_14> REO remaps this
1312*5113495bSYour Name 
1313*5113495bSYour Name 			<enum 15 reo_destination_15> REO remaps this
1314*5113495bSYour Name 
1315*5113495bSYour Name 			<enum 16 reo_destination_16> REO remaps this
1316*5113495bSYour Name 
1317*5113495bSYour Name 			<enum 17 reo_destination_17> REO remaps this
1318*5113495bSYour Name 
1319*5113495bSYour Name 			<enum 18 reo_destination_18> REO remaps this
1320*5113495bSYour Name 
1321*5113495bSYour Name 			<enum 19 reo_destination_19> REO remaps this
1322*5113495bSYour Name 
1323*5113495bSYour Name 			<enum 20 reo_destination_20> REO remaps this
1324*5113495bSYour Name 
1325*5113495bSYour Name 			<enum 21 reo_destination_21> REO remaps this
1326*5113495bSYour Name 
1327*5113495bSYour Name 			<enum 22 reo_destination_22> REO remaps this
1328*5113495bSYour Name 
1329*5113495bSYour Name 			<enum 23 reo_destination_23> REO remaps this
1330*5113495bSYour Name 
1331*5113495bSYour Name 			<enum 24 reo_destination_24> REO remaps this
1332*5113495bSYour Name 
1333*5113495bSYour Name 			<enum 25 reo_destination_25> REO remaps this
1334*5113495bSYour Name 
1335*5113495bSYour Name 			<enum 26 reo_destination_26> REO remaps this
1336*5113495bSYour Name 
1337*5113495bSYour Name 			<enum 27 reo_destination_27> REO remaps this
1338*5113495bSYour Name 
1339*5113495bSYour Name 			<enum 28 reo_destination_28> REO remaps this
1340*5113495bSYour Name 
1341*5113495bSYour Name 			<enum 29 reo_destination_29> REO remaps this
1342*5113495bSYour Name 
1343*5113495bSYour Name 			<enum 30 reo_destination_30> REO remaps this
1344*5113495bSYour Name 
1345*5113495bSYour Name 			<enum 31 reo_destination_31> REO remaps this
1346*5113495bSYour Name 
1347*5113495bSYour Name 
1348*5113495bSYour Name 
1349*5113495bSYour Name 			<legal all>
1350*5113495bSYour Name */
1351*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_OFFSET 0x00000038
1352*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_LSB 17
1353*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_MASK 0x003e0000
1354*5113495bSYour Name 
1355*5113495bSYour Name /* Description		RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP
1356*5113495bSYour Name 
1357*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
1358*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
1359*5113495bSYour Name 			buffer used by the MSDU
1360*5113495bSYour Name 
1361*5113495bSYour Name 
1362*5113495bSYour Name 
1363*5113495bSYour Name 			When set, REO shall drop this MSDU and not forward it to
1364*5113495bSYour Name 			any other ring...
1365*5113495bSYour Name 
1366*5113495bSYour Name 			<legal all>
1367*5113495bSYour Name */
1368*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_OFFSET 0x00000038
1369*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_LSB 22
1370*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_MASK 0x00400000
1371*5113495bSYour Name 
1372*5113495bSYour Name /* Description		RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID
1373*5113495bSYour Name 
1374*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
1375*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
1376*5113495bSYour Name 			buffer used by the MSDU
1377*5113495bSYour Name 
1378*5113495bSYour Name 
1379*5113495bSYour Name 
1380*5113495bSYour Name 			Indicates that OLE found a valid SA entry for this MSDU
1381*5113495bSYour Name 
1382*5113495bSYour Name 			<legal all>
1383*5113495bSYour Name */
1384*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_OFFSET 0x00000038
1385*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_LSB 23
1386*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_MASK 0x00800000
1387*5113495bSYour Name 
1388*5113495bSYour Name /* Description		RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT
1389*5113495bSYour Name 
1390*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
1391*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
1392*5113495bSYour Name 			buffer used by the MSDU
1393*5113495bSYour Name 
1394*5113495bSYour Name 
1395*5113495bSYour Name 
1396*5113495bSYour Name 			Indicates an unsuccessful MAC source address search due
1397*5113495bSYour Name 			to the expiring of the search timer for this MSDU
1398*5113495bSYour Name 
1399*5113495bSYour Name 			<legal all>
1400*5113495bSYour Name */
1401*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_OFFSET 0x00000038
1402*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_LSB 24
1403*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_MASK 0x01000000
1404*5113495bSYour Name 
1405*5113495bSYour Name /* Description		RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID
1406*5113495bSYour Name 
1407*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
1408*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
1409*5113495bSYour Name 			buffer used by the MSDU
1410*5113495bSYour Name 
1411*5113495bSYour Name 
1412*5113495bSYour Name 
1413*5113495bSYour Name 			Indicates that OLE found a valid DA entry for this MSDU
1414*5113495bSYour Name 
1415*5113495bSYour Name 			<legal all>
1416*5113495bSYour Name */
1417*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_OFFSET 0x00000038
1418*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_LSB 25
1419*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_MASK 0x02000000
1420*5113495bSYour Name 
1421*5113495bSYour Name /* Description		RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC
1422*5113495bSYour Name 
1423*5113495bSYour Name 			Field Only valid if da_is_valid is set
1424*5113495bSYour Name 
1425*5113495bSYour Name 
1426*5113495bSYour Name 
1427*5113495bSYour Name 			Indicates the DA address was a Multicast of Broadcast
1428*5113495bSYour Name 			address for this MSDU
1429*5113495bSYour Name 
1430*5113495bSYour Name 			<legal all>
1431*5113495bSYour Name */
1432*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_OFFSET 0x00000038
1433*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_LSB 26
1434*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_MASK 0x04000000
1435*5113495bSYour Name 
1436*5113495bSYour Name /* Description		RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT
1437*5113495bSYour Name 
1438*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
1439*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
1440*5113495bSYour Name 			buffer used by the MSDU
1441*5113495bSYour Name 
1442*5113495bSYour Name 
1443*5113495bSYour Name 
1444*5113495bSYour Name 			Indicates an unsuccessful MAC destination address search
1445*5113495bSYour Name 			due to the expiring of the search timer for this MSDU
1446*5113495bSYour Name 
1447*5113495bSYour Name 			<legal all>
1448*5113495bSYour Name */
1449*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_OFFSET 0x00000038
1450*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_LSB 27
1451*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_MASK 0x08000000
1452*5113495bSYour Name 
1453*5113495bSYour Name /* Description		RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A
1454*5113495bSYour Name 
1455*5113495bSYour Name 			<legal 0>
1456*5113495bSYour Name */
1457*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A_OFFSET 0x00000038
1458*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A_LSB 28
1459*5113495bSYour Name #define RX_MSDU_LINK_14_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A_MASK 0xf0000000
1460*5113495bSYour Name 
1461*5113495bSYour Name /* Description		RX_MSDU_LINK_15_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_RESERVED_1A
1462*5113495bSYour Name 
1463*5113495bSYour Name 			<legal 0>
1464*5113495bSYour Name */
1465*5113495bSYour Name #define RX_MSDU_LINK_15_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_RESERVED_1A_OFFSET 0x0000003c
1466*5113495bSYour Name #define RX_MSDU_LINK_15_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_RESERVED_1A_LSB 0
1467*5113495bSYour Name #define RX_MSDU_LINK_15_MSDU_1_RX_MSDU_DESC_INFO_DETAILS_RESERVED_1A_MASK 0xffffffff
1468*5113495bSYour Name 
1469*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_msdu_details msdu_2 */
1470*5113495bSYour Name 
1471*5113495bSYour Name 
1472*5113495bSYour Name  /* EXTERNAL REFERENCE : struct buffer_addr_info buffer_addr_info_details */
1473*5113495bSYour Name 
1474*5113495bSYour Name 
1475*5113495bSYour Name /* Description		RX_MSDU_LINK_16_MSDU_2_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0
1476*5113495bSYour Name 
1477*5113495bSYour Name 			Address (lower 32 bits) of the MSDU buffer OR
1478*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
1479*5113495bSYour Name 
1480*5113495bSYour Name 
1481*5113495bSYour Name 
1482*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1483*5113495bSYour Name 
1484*5113495bSYour Name 			<legal all>
1485*5113495bSYour Name */
1486*5113495bSYour Name #define RX_MSDU_LINK_16_MSDU_2_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_OFFSET 0x00000040
1487*5113495bSYour Name #define RX_MSDU_LINK_16_MSDU_2_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_LSB 0
1488*5113495bSYour Name #define RX_MSDU_LINK_16_MSDU_2_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_MASK 0xffffffff
1489*5113495bSYour Name 
1490*5113495bSYour Name /* Description		RX_MSDU_LINK_17_MSDU_2_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32
1491*5113495bSYour Name 
1492*5113495bSYour Name 			Address (upper 8 bits) of the MSDU buffer OR
1493*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
1494*5113495bSYour Name 
1495*5113495bSYour Name 
1496*5113495bSYour Name 
1497*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1498*5113495bSYour Name 
1499*5113495bSYour Name 			<legal all>
1500*5113495bSYour Name */
1501*5113495bSYour Name #define RX_MSDU_LINK_17_MSDU_2_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_OFFSET 0x00000044
1502*5113495bSYour Name #define RX_MSDU_LINK_17_MSDU_2_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_LSB 0
1503*5113495bSYour Name #define RX_MSDU_LINK_17_MSDU_2_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_MASK 0x000000ff
1504*5113495bSYour Name 
1505*5113495bSYour Name /* Description		RX_MSDU_LINK_17_MSDU_2_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER
1506*5113495bSYour Name 
1507*5113495bSYour Name 			Consumer: WBM
1508*5113495bSYour Name 
1509*5113495bSYour Name 			Producer: SW/FW
1510*5113495bSYour Name 
1511*5113495bSYour Name 
1512*5113495bSYour Name 
1513*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1514*5113495bSYour Name 
1515*5113495bSYour Name 
1516*5113495bSYour Name 
1517*5113495bSYour Name 			Indicates to which buffer manager the buffer OR
1518*5113495bSYour Name 			MSDU_EXTENSION descriptor OR link descriptor that is being
1519*5113495bSYour Name 			pointed to shall be returned after the frame has been
1520*5113495bSYour Name 			processed. It is used by WBM for routing purposes.
1521*5113495bSYour Name 
1522*5113495bSYour Name 
1523*5113495bSYour Name 
1524*5113495bSYour Name 			<enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned
1525*5113495bSYour Name 			to the WMB buffer idle list
1526*5113495bSYour Name 
1527*5113495bSYour Name 			<enum 1 WBM_IDLE_DESC_LIST> This buffer shall be
1528*5113495bSYour Name 			returned to the WMB idle link descriptor idle list
1529*5113495bSYour Name 
1530*5113495bSYour Name 			<enum 2 FW_BM> This buffer shall be returned to the FW
1531*5113495bSYour Name 
1532*5113495bSYour Name 			<enum 3 SW0_BM> This buffer shall be returned to the SW,
1533*5113495bSYour Name 			ring 0
1534*5113495bSYour Name 
1535*5113495bSYour Name 			<enum 4 SW1_BM> This buffer shall be returned to the SW,
1536*5113495bSYour Name 			ring 1
1537*5113495bSYour Name 
1538*5113495bSYour Name 			<enum 5 SW2_BM> This buffer shall be returned to the SW,
1539*5113495bSYour Name 			ring 2
1540*5113495bSYour Name 
1541*5113495bSYour Name 			<enum 6 SW3_BM> This buffer shall be returned to the SW,
1542*5113495bSYour Name 			ring 3
1543*5113495bSYour Name 
1544*5113495bSYour Name 			<enum 7 SW4_BM> This buffer shall be returned to the SW,
1545*5113495bSYour Name 			ring 4
1546*5113495bSYour Name 
1547*5113495bSYour Name 
1548*5113495bSYour Name 
1549*5113495bSYour Name 			<legal all>
1550*5113495bSYour Name */
1551*5113495bSYour Name #define RX_MSDU_LINK_17_MSDU_2_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_OFFSET 0x00000044
1552*5113495bSYour Name #define RX_MSDU_LINK_17_MSDU_2_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_LSB 8
1553*5113495bSYour Name #define RX_MSDU_LINK_17_MSDU_2_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_MASK 0x00000700
1554*5113495bSYour Name 
1555*5113495bSYour Name /* Description		RX_MSDU_LINK_17_MSDU_2_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE
1556*5113495bSYour Name 
1557*5113495bSYour Name 			Cookie field exclusively used by SW.
1558*5113495bSYour Name 
1559*5113495bSYour Name 
1560*5113495bSYour Name 
1561*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1562*5113495bSYour Name 
1563*5113495bSYour Name 
1564*5113495bSYour Name 
1565*5113495bSYour Name 			HW ignores the contents, accept that it passes the
1566*5113495bSYour Name 			programmed value on to other descriptors together with the
1567*5113495bSYour Name 			physical address
1568*5113495bSYour Name 
1569*5113495bSYour Name 
1570*5113495bSYour Name 
1571*5113495bSYour Name 			Field can be used by SW to for example associate the
1572*5113495bSYour Name 			buffers physical address with the virtual address
1573*5113495bSYour Name 
1574*5113495bSYour Name 			The bit definitions as used by SW are within SW HLD
1575*5113495bSYour Name 			specification
1576*5113495bSYour Name 
1577*5113495bSYour Name 
1578*5113495bSYour Name 
1579*5113495bSYour Name 			NOTE:
1580*5113495bSYour Name 
1581*5113495bSYour Name 			The three most significant bits can have a special
1582*5113495bSYour Name 			meaning in case this struct is embedded in a TX_MPDU_DETAILS
1583*5113495bSYour Name 			STRUCT, and field transmit_bw_restriction is set
1584*5113495bSYour Name 
1585*5113495bSYour Name 
1586*5113495bSYour Name 
1587*5113495bSYour Name 			In case of NON punctured transmission:
1588*5113495bSYour Name 
1589*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only
1590*5113495bSYour Name 
1591*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only
1592*5113495bSYour Name 
1593*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only
1594*5113495bSYour Name 
1595*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only
1596*5113495bSYour Name 
1597*5113495bSYour Name 
1598*5113495bSYour Name 
1599*5113495bSYour Name 			In case of punctured transmission:
1600*5113495bSYour Name 
1601*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only
1602*5113495bSYour Name 
1603*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only
1604*5113495bSYour Name 
1605*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only
1606*5113495bSYour Name 
1607*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only
1608*5113495bSYour Name 
1609*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only
1610*5113495bSYour Name 
1611*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only
1612*5113495bSYour Name 
1613*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only
1614*5113495bSYour Name 
1615*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only
1616*5113495bSYour Name 
1617*5113495bSYour Name 
1618*5113495bSYour Name 
1619*5113495bSYour Name 			Note: a punctured transmission is indicated by the
1620*5113495bSYour Name 			presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler
1621*5113495bSYour Name 			TLV
1622*5113495bSYour Name 
1623*5113495bSYour Name 
1624*5113495bSYour Name 
1625*5113495bSYour Name 			<legal all>
1626*5113495bSYour Name */
1627*5113495bSYour Name #define RX_MSDU_LINK_17_MSDU_2_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_OFFSET 0x00000044
1628*5113495bSYour Name #define RX_MSDU_LINK_17_MSDU_2_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_LSB 11
1629*5113495bSYour Name #define RX_MSDU_LINK_17_MSDU_2_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_MASK 0xfffff800
1630*5113495bSYour Name 
1631*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_msdu_desc_info rx_msdu_desc_info_details */
1632*5113495bSYour Name 
1633*5113495bSYour Name 
1634*5113495bSYour Name /* Description		RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG
1635*5113495bSYour Name 
1636*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
1637*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
1638*5113495bSYour Name 			buffer used by the MSDU
1639*5113495bSYour Name 
1640*5113495bSYour Name 
1641*5113495bSYour Name 
1642*5113495bSYour Name 			<enum 0 Not_first_msdu> This is not the first MSDU in
1643*5113495bSYour Name 			the MPDU.
1644*5113495bSYour Name 
1645*5113495bSYour Name 			<enum 1 first_msdu> This MSDU is the first one in the
1646*5113495bSYour Name 			MPDU.
1647*5113495bSYour Name 
1648*5113495bSYour Name 
1649*5113495bSYour Name 
1650*5113495bSYour Name 			<legal all>
1651*5113495bSYour Name */
1652*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000048
1653*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_LSB 0
1654*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_MASK 0x00000001
1655*5113495bSYour Name 
1656*5113495bSYour Name /* Description		RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG
1657*5113495bSYour Name 
1658*5113495bSYour Name 			Consumer: WBM/REO/SW/FW
1659*5113495bSYour Name 
1660*5113495bSYour Name 			Producer: RXDMA
1661*5113495bSYour Name 
1662*5113495bSYour Name 
1663*5113495bSYour Name 
1664*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
1665*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
1666*5113495bSYour Name 			buffer used by the MSDU
1667*5113495bSYour Name 
1668*5113495bSYour Name 
1669*5113495bSYour Name 
1670*5113495bSYour Name 			<enum 0 Not_last_msdu> There are more MSDUs linked to
1671*5113495bSYour Name 			this MSDU that belongs to this MPDU
1672*5113495bSYour Name 
1673*5113495bSYour Name 			<enum 1 Last_msdu> this MSDU is the last one in the
1674*5113495bSYour Name 			MPDU. This setting is only allowed in combination with
1675*5113495bSYour Name 			'Msdu_continuation' set to 0. This implies that when an msdu
1676*5113495bSYour Name 			is spread out over multiple buffers and thus
1677*5113495bSYour Name 			msdu_continuation is set, only for the very last buffer of
1678*5113495bSYour Name 			the msdu, can the 'last_msdu_in_mpdu_flag' be set.
1679*5113495bSYour Name 
1680*5113495bSYour Name 
1681*5113495bSYour Name 
1682*5113495bSYour Name 			When both first_msdu_in_mpdu_flag and
1683*5113495bSYour Name 			last_msdu_in_mpdu_flag are set, the MPDU that this MSDU
1684*5113495bSYour Name 			belongs to only contains a single MSDU.
1685*5113495bSYour Name 
1686*5113495bSYour Name 
1687*5113495bSYour Name 
1688*5113495bSYour Name 
1689*5113495bSYour Name 
1690*5113495bSYour Name 			<legal all>
1691*5113495bSYour Name */
1692*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000048
1693*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_LSB 1
1694*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_MASK 0x00000002
1695*5113495bSYour Name 
1696*5113495bSYour Name /* Description		RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION
1697*5113495bSYour Name 
1698*5113495bSYour Name 			When set, this MSDU buffer was not able to hold the
1699*5113495bSYour Name 			entire MSDU. The next buffer will therefor contain
1700*5113495bSYour Name 			additional information related to this MSDU.
1701*5113495bSYour Name 
1702*5113495bSYour Name 
1703*5113495bSYour Name 
1704*5113495bSYour Name 			<legal all>
1705*5113495bSYour Name */
1706*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_OFFSET 0x00000048
1707*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_LSB 2
1708*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_MASK 0x00000004
1709*5113495bSYour Name 
1710*5113495bSYour Name /* Description		RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH
1711*5113495bSYour Name 
1712*5113495bSYour Name 			Parsed from RX_MSDU_START TLV . In the case MSDU spans
1713*5113495bSYour Name 			over multiple buffers, this field will be valid in the First
1714*5113495bSYour Name 			buffer used by MSDU.
1715*5113495bSYour Name 
1716*5113495bSYour Name 
1717*5113495bSYour Name 
1718*5113495bSYour Name 			Full MSDU length in bytes after decapsulation.
1719*5113495bSYour Name 
1720*5113495bSYour Name 
1721*5113495bSYour Name 
1722*5113495bSYour Name 			This field is still valid for MPDU frames without
1723*5113495bSYour Name 			A-MSDU.  It still represents MSDU length after decapsulation
1724*5113495bSYour Name 
1725*5113495bSYour Name 
1726*5113495bSYour Name 
1727*5113495bSYour Name 			Or in case of RAW MPDUs, it indicates the length of the
1728*5113495bSYour Name 			entire MPDU (without FCS field)
1729*5113495bSYour Name 
1730*5113495bSYour Name 			<legal all>
1731*5113495bSYour Name */
1732*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_OFFSET 0x00000048
1733*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_LSB 3
1734*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_MASK 0x0001fff8
1735*5113495bSYour Name 
1736*5113495bSYour Name /* Description		RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION
1737*5113495bSYour Name 
1738*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
1739*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
1740*5113495bSYour Name 			buffer used by the MSDU
1741*5113495bSYour Name 
1742*5113495bSYour Name 
1743*5113495bSYour Name 
1744*5113495bSYour Name 			The ID of the REO exit ring where the MSDU frame shall
1745*5113495bSYour Name 			push after (MPDU level) reordering has finished.
1746*5113495bSYour Name 
1747*5113495bSYour Name 
1748*5113495bSYour Name 
1749*5113495bSYour Name 			<enum 0 reo_destination_tcl> Reo will push the frame
1750*5113495bSYour Name 			into the REO2TCL ring
1751*5113495bSYour Name 
1752*5113495bSYour Name 			<enum 1 reo_destination_sw1> Reo will push the frame
1753*5113495bSYour Name 			into the REO2SW1 ring
1754*5113495bSYour Name 
1755*5113495bSYour Name 			<enum 2 reo_destination_sw2> Reo will push the frame
1756*5113495bSYour Name 			into the REO2SW2 ring
1757*5113495bSYour Name 
1758*5113495bSYour Name 			<enum 3 reo_destination_sw3> Reo will push the frame
1759*5113495bSYour Name 			into the REO2SW3 ring
1760*5113495bSYour Name 
1761*5113495bSYour Name 			<enum 4 reo_destination_sw4> Reo will push the frame
1762*5113495bSYour Name 			into the REO2SW4 ring
1763*5113495bSYour Name 
1764*5113495bSYour Name 			<enum 5 reo_destination_release> Reo will push the frame
1765*5113495bSYour Name 			into the REO_release ring
1766*5113495bSYour Name 
1767*5113495bSYour Name 			<enum 6 reo_destination_fw> Reo will push the frame into
1768*5113495bSYour Name 			the REO2FW ring
1769*5113495bSYour Name 
1770*5113495bSYour Name 			<enum 7 reo_destination_sw5> Reo will push the frame
1771*5113495bSYour Name 			into the REO2SW5 ring (REO remaps this in chips without
1772*5113495bSYour Name 			REO2SW5 ring, e.g. Pine)
1773*5113495bSYour Name 
1774*5113495bSYour Name 			<enum 8 reo_destination_sw6> Reo will push the frame
1775*5113495bSYour Name 			into the REO2SW6 ring (REO remaps this in chips without
1776*5113495bSYour Name 			REO2SW6 ring, e.g. Pine)
1777*5113495bSYour Name 
1778*5113495bSYour Name 			 <enum 9 reo_destination_9> REO remaps this <enum 10
1779*5113495bSYour Name 			reo_destination_10> REO remaps this
1780*5113495bSYour Name 
1781*5113495bSYour Name 			<enum 11 reo_destination_11> REO remaps this
1782*5113495bSYour Name 
1783*5113495bSYour Name 			<enum 12 reo_destination_12> REO remaps this <enum 13
1784*5113495bSYour Name 			reo_destination_13> REO remaps this
1785*5113495bSYour Name 
1786*5113495bSYour Name 			<enum 14 reo_destination_14> REO remaps this
1787*5113495bSYour Name 
1788*5113495bSYour Name 			<enum 15 reo_destination_15> REO remaps this
1789*5113495bSYour Name 
1790*5113495bSYour Name 			<enum 16 reo_destination_16> REO remaps this
1791*5113495bSYour Name 
1792*5113495bSYour Name 			<enum 17 reo_destination_17> REO remaps this
1793*5113495bSYour Name 
1794*5113495bSYour Name 			<enum 18 reo_destination_18> REO remaps this
1795*5113495bSYour Name 
1796*5113495bSYour Name 			<enum 19 reo_destination_19> REO remaps this
1797*5113495bSYour Name 
1798*5113495bSYour Name 			<enum 20 reo_destination_20> REO remaps this
1799*5113495bSYour Name 
1800*5113495bSYour Name 			<enum 21 reo_destination_21> REO remaps this
1801*5113495bSYour Name 
1802*5113495bSYour Name 			<enum 22 reo_destination_22> REO remaps this
1803*5113495bSYour Name 
1804*5113495bSYour Name 			<enum 23 reo_destination_23> REO remaps this
1805*5113495bSYour Name 
1806*5113495bSYour Name 			<enum 24 reo_destination_24> REO remaps this
1807*5113495bSYour Name 
1808*5113495bSYour Name 			<enum 25 reo_destination_25> REO remaps this
1809*5113495bSYour Name 
1810*5113495bSYour Name 			<enum 26 reo_destination_26> REO remaps this
1811*5113495bSYour Name 
1812*5113495bSYour Name 			<enum 27 reo_destination_27> REO remaps this
1813*5113495bSYour Name 
1814*5113495bSYour Name 			<enum 28 reo_destination_28> REO remaps this
1815*5113495bSYour Name 
1816*5113495bSYour Name 			<enum 29 reo_destination_29> REO remaps this
1817*5113495bSYour Name 
1818*5113495bSYour Name 			<enum 30 reo_destination_30> REO remaps this
1819*5113495bSYour Name 
1820*5113495bSYour Name 			<enum 31 reo_destination_31> REO remaps this
1821*5113495bSYour Name 
1822*5113495bSYour Name 
1823*5113495bSYour Name 
1824*5113495bSYour Name 			<legal all>
1825*5113495bSYour Name */
1826*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_OFFSET 0x00000048
1827*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_LSB 17
1828*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_MASK 0x003e0000
1829*5113495bSYour Name 
1830*5113495bSYour Name /* Description		RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP
1831*5113495bSYour Name 
1832*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
1833*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
1834*5113495bSYour Name 			buffer used by the MSDU
1835*5113495bSYour Name 
1836*5113495bSYour Name 
1837*5113495bSYour Name 
1838*5113495bSYour Name 			When set, REO shall drop this MSDU and not forward it to
1839*5113495bSYour Name 			any other ring...
1840*5113495bSYour Name 
1841*5113495bSYour Name 			<legal all>
1842*5113495bSYour Name */
1843*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_OFFSET 0x00000048
1844*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_LSB 22
1845*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_MASK 0x00400000
1846*5113495bSYour Name 
1847*5113495bSYour Name /* Description		RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID
1848*5113495bSYour Name 
1849*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
1850*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
1851*5113495bSYour Name 			buffer used by the MSDU
1852*5113495bSYour Name 
1853*5113495bSYour Name 
1854*5113495bSYour Name 
1855*5113495bSYour Name 			Indicates that OLE found a valid SA entry for this MSDU
1856*5113495bSYour Name 
1857*5113495bSYour Name 			<legal all>
1858*5113495bSYour Name */
1859*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_OFFSET 0x00000048
1860*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_LSB 23
1861*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_MASK 0x00800000
1862*5113495bSYour Name 
1863*5113495bSYour Name /* Description		RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT
1864*5113495bSYour Name 
1865*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
1866*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
1867*5113495bSYour Name 			buffer used by the MSDU
1868*5113495bSYour Name 
1869*5113495bSYour Name 
1870*5113495bSYour Name 
1871*5113495bSYour Name 			Indicates an unsuccessful MAC source address search due
1872*5113495bSYour Name 			to the expiring of the search timer for this MSDU
1873*5113495bSYour Name 
1874*5113495bSYour Name 			<legal all>
1875*5113495bSYour Name */
1876*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_OFFSET 0x00000048
1877*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_LSB 24
1878*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_MASK 0x01000000
1879*5113495bSYour Name 
1880*5113495bSYour Name /* Description		RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID
1881*5113495bSYour Name 
1882*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
1883*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
1884*5113495bSYour Name 			buffer used by the MSDU
1885*5113495bSYour Name 
1886*5113495bSYour Name 
1887*5113495bSYour Name 
1888*5113495bSYour Name 			Indicates that OLE found a valid DA entry for this MSDU
1889*5113495bSYour Name 
1890*5113495bSYour Name 			<legal all>
1891*5113495bSYour Name */
1892*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_OFFSET 0x00000048
1893*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_LSB 25
1894*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_MASK 0x02000000
1895*5113495bSYour Name 
1896*5113495bSYour Name /* Description		RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC
1897*5113495bSYour Name 
1898*5113495bSYour Name 			Field Only valid if da_is_valid is set
1899*5113495bSYour Name 
1900*5113495bSYour Name 
1901*5113495bSYour Name 
1902*5113495bSYour Name 			Indicates the DA address was a Multicast of Broadcast
1903*5113495bSYour Name 			address for this MSDU
1904*5113495bSYour Name 
1905*5113495bSYour Name 			<legal all>
1906*5113495bSYour Name */
1907*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_OFFSET 0x00000048
1908*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_LSB 26
1909*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_MASK 0x04000000
1910*5113495bSYour Name 
1911*5113495bSYour Name /* Description		RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT
1912*5113495bSYour Name 
1913*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
1914*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
1915*5113495bSYour Name 			buffer used by the MSDU
1916*5113495bSYour Name 
1917*5113495bSYour Name 
1918*5113495bSYour Name 
1919*5113495bSYour Name 			Indicates an unsuccessful MAC destination address search
1920*5113495bSYour Name 			due to the expiring of the search timer for this MSDU
1921*5113495bSYour Name 
1922*5113495bSYour Name 			<legal all>
1923*5113495bSYour Name */
1924*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_OFFSET 0x00000048
1925*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_LSB 27
1926*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_MASK 0x08000000
1927*5113495bSYour Name 
1928*5113495bSYour Name /* Description		RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A
1929*5113495bSYour Name 
1930*5113495bSYour Name 			<legal 0>
1931*5113495bSYour Name */
1932*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A_OFFSET 0x00000048
1933*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A_LSB 28
1934*5113495bSYour Name #define RX_MSDU_LINK_18_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A_MASK 0xf0000000
1935*5113495bSYour Name 
1936*5113495bSYour Name /* Description		RX_MSDU_LINK_19_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_RESERVED_1A
1937*5113495bSYour Name 
1938*5113495bSYour Name 			<legal 0>
1939*5113495bSYour Name */
1940*5113495bSYour Name #define RX_MSDU_LINK_19_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_RESERVED_1A_OFFSET 0x0000004c
1941*5113495bSYour Name #define RX_MSDU_LINK_19_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_RESERVED_1A_LSB 0
1942*5113495bSYour Name #define RX_MSDU_LINK_19_MSDU_2_RX_MSDU_DESC_INFO_DETAILS_RESERVED_1A_MASK 0xffffffff
1943*5113495bSYour Name 
1944*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_msdu_details msdu_3 */
1945*5113495bSYour Name 
1946*5113495bSYour Name 
1947*5113495bSYour Name  /* EXTERNAL REFERENCE : struct buffer_addr_info buffer_addr_info_details */
1948*5113495bSYour Name 
1949*5113495bSYour Name 
1950*5113495bSYour Name /* Description		RX_MSDU_LINK_20_MSDU_3_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0
1951*5113495bSYour Name 
1952*5113495bSYour Name 			Address (lower 32 bits) of the MSDU buffer OR
1953*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
1954*5113495bSYour Name 
1955*5113495bSYour Name 
1956*5113495bSYour Name 
1957*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1958*5113495bSYour Name 
1959*5113495bSYour Name 			<legal all>
1960*5113495bSYour Name */
1961*5113495bSYour Name #define RX_MSDU_LINK_20_MSDU_3_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_OFFSET 0x00000050
1962*5113495bSYour Name #define RX_MSDU_LINK_20_MSDU_3_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_LSB 0
1963*5113495bSYour Name #define RX_MSDU_LINK_20_MSDU_3_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_MASK 0xffffffff
1964*5113495bSYour Name 
1965*5113495bSYour Name /* Description		RX_MSDU_LINK_21_MSDU_3_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32
1966*5113495bSYour Name 
1967*5113495bSYour Name 			Address (upper 8 bits) of the MSDU buffer OR
1968*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
1969*5113495bSYour Name 
1970*5113495bSYour Name 
1971*5113495bSYour Name 
1972*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1973*5113495bSYour Name 
1974*5113495bSYour Name 			<legal all>
1975*5113495bSYour Name */
1976*5113495bSYour Name #define RX_MSDU_LINK_21_MSDU_3_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_OFFSET 0x00000054
1977*5113495bSYour Name #define RX_MSDU_LINK_21_MSDU_3_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_LSB 0
1978*5113495bSYour Name #define RX_MSDU_LINK_21_MSDU_3_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_MASK 0x000000ff
1979*5113495bSYour Name 
1980*5113495bSYour Name /* Description		RX_MSDU_LINK_21_MSDU_3_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER
1981*5113495bSYour Name 
1982*5113495bSYour Name 			Consumer: WBM
1983*5113495bSYour Name 
1984*5113495bSYour Name 			Producer: SW/FW
1985*5113495bSYour Name 
1986*5113495bSYour Name 
1987*5113495bSYour Name 
1988*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1989*5113495bSYour Name 
1990*5113495bSYour Name 
1991*5113495bSYour Name 
1992*5113495bSYour Name 			Indicates to which buffer manager the buffer OR
1993*5113495bSYour Name 			MSDU_EXTENSION descriptor OR link descriptor that is being
1994*5113495bSYour Name 			pointed to shall be returned after the frame has been
1995*5113495bSYour Name 			processed. It is used by WBM for routing purposes.
1996*5113495bSYour Name 
1997*5113495bSYour Name 
1998*5113495bSYour Name 
1999*5113495bSYour Name 			<enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned
2000*5113495bSYour Name 			to the WMB buffer idle list
2001*5113495bSYour Name 
2002*5113495bSYour Name 			<enum 1 WBM_IDLE_DESC_LIST> This buffer shall be
2003*5113495bSYour Name 			returned to the WMB idle link descriptor idle list
2004*5113495bSYour Name 
2005*5113495bSYour Name 			<enum 2 FW_BM> This buffer shall be returned to the FW
2006*5113495bSYour Name 
2007*5113495bSYour Name 			<enum 3 SW0_BM> This buffer shall be returned to the SW,
2008*5113495bSYour Name 			ring 0
2009*5113495bSYour Name 
2010*5113495bSYour Name 			<enum 4 SW1_BM> This buffer shall be returned to the SW,
2011*5113495bSYour Name 			ring 1
2012*5113495bSYour Name 
2013*5113495bSYour Name 			<enum 5 SW2_BM> This buffer shall be returned to the SW,
2014*5113495bSYour Name 			ring 2
2015*5113495bSYour Name 
2016*5113495bSYour Name 			<enum 6 SW3_BM> This buffer shall be returned to the SW,
2017*5113495bSYour Name 			ring 3
2018*5113495bSYour Name 
2019*5113495bSYour Name 			<enum 7 SW4_BM> This buffer shall be returned to the SW,
2020*5113495bSYour Name 			ring 4
2021*5113495bSYour Name 
2022*5113495bSYour Name 
2023*5113495bSYour Name 
2024*5113495bSYour Name 			<legal all>
2025*5113495bSYour Name */
2026*5113495bSYour Name #define RX_MSDU_LINK_21_MSDU_3_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_OFFSET 0x00000054
2027*5113495bSYour Name #define RX_MSDU_LINK_21_MSDU_3_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_LSB 8
2028*5113495bSYour Name #define RX_MSDU_LINK_21_MSDU_3_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_MASK 0x00000700
2029*5113495bSYour Name 
2030*5113495bSYour Name /* Description		RX_MSDU_LINK_21_MSDU_3_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE
2031*5113495bSYour Name 
2032*5113495bSYour Name 			Cookie field exclusively used by SW.
2033*5113495bSYour Name 
2034*5113495bSYour Name 
2035*5113495bSYour Name 
2036*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2037*5113495bSYour Name 
2038*5113495bSYour Name 
2039*5113495bSYour Name 
2040*5113495bSYour Name 			HW ignores the contents, accept that it passes the
2041*5113495bSYour Name 			programmed value on to other descriptors together with the
2042*5113495bSYour Name 			physical address
2043*5113495bSYour Name 
2044*5113495bSYour Name 
2045*5113495bSYour Name 
2046*5113495bSYour Name 			Field can be used by SW to for example associate the
2047*5113495bSYour Name 			buffers physical address with the virtual address
2048*5113495bSYour Name 
2049*5113495bSYour Name 			The bit definitions as used by SW are within SW HLD
2050*5113495bSYour Name 			specification
2051*5113495bSYour Name 
2052*5113495bSYour Name 
2053*5113495bSYour Name 
2054*5113495bSYour Name 			NOTE:
2055*5113495bSYour Name 
2056*5113495bSYour Name 			The three most significant bits can have a special
2057*5113495bSYour Name 			meaning in case this struct is embedded in a TX_MPDU_DETAILS
2058*5113495bSYour Name 			STRUCT, and field transmit_bw_restriction is set
2059*5113495bSYour Name 
2060*5113495bSYour Name 
2061*5113495bSYour Name 
2062*5113495bSYour Name 			In case of NON punctured transmission:
2063*5113495bSYour Name 
2064*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only
2065*5113495bSYour Name 
2066*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only
2067*5113495bSYour Name 
2068*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only
2069*5113495bSYour Name 
2070*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only
2071*5113495bSYour Name 
2072*5113495bSYour Name 
2073*5113495bSYour Name 
2074*5113495bSYour Name 			In case of punctured transmission:
2075*5113495bSYour Name 
2076*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only
2077*5113495bSYour Name 
2078*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only
2079*5113495bSYour Name 
2080*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only
2081*5113495bSYour Name 
2082*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only
2083*5113495bSYour Name 
2084*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only
2085*5113495bSYour Name 
2086*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only
2087*5113495bSYour Name 
2088*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only
2089*5113495bSYour Name 
2090*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only
2091*5113495bSYour Name 
2092*5113495bSYour Name 
2093*5113495bSYour Name 
2094*5113495bSYour Name 			Note: a punctured transmission is indicated by the
2095*5113495bSYour Name 			presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler
2096*5113495bSYour Name 			TLV
2097*5113495bSYour Name 
2098*5113495bSYour Name 
2099*5113495bSYour Name 
2100*5113495bSYour Name 			<legal all>
2101*5113495bSYour Name */
2102*5113495bSYour Name #define RX_MSDU_LINK_21_MSDU_3_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_OFFSET 0x00000054
2103*5113495bSYour Name #define RX_MSDU_LINK_21_MSDU_3_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_LSB 11
2104*5113495bSYour Name #define RX_MSDU_LINK_21_MSDU_3_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_MASK 0xfffff800
2105*5113495bSYour Name 
2106*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_msdu_desc_info rx_msdu_desc_info_details */
2107*5113495bSYour Name 
2108*5113495bSYour Name 
2109*5113495bSYour Name /* Description		RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG
2110*5113495bSYour Name 
2111*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
2112*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
2113*5113495bSYour Name 			buffer used by the MSDU
2114*5113495bSYour Name 
2115*5113495bSYour Name 
2116*5113495bSYour Name 
2117*5113495bSYour Name 			<enum 0 Not_first_msdu> This is not the first MSDU in
2118*5113495bSYour Name 			the MPDU.
2119*5113495bSYour Name 
2120*5113495bSYour Name 			<enum 1 first_msdu> This MSDU is the first one in the
2121*5113495bSYour Name 			MPDU.
2122*5113495bSYour Name 
2123*5113495bSYour Name 
2124*5113495bSYour Name 
2125*5113495bSYour Name 			<legal all>
2126*5113495bSYour Name */
2127*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000058
2128*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_LSB 0
2129*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_MASK 0x00000001
2130*5113495bSYour Name 
2131*5113495bSYour Name /* Description		RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG
2132*5113495bSYour Name 
2133*5113495bSYour Name 			Consumer: WBM/REO/SW/FW
2134*5113495bSYour Name 
2135*5113495bSYour Name 			Producer: RXDMA
2136*5113495bSYour Name 
2137*5113495bSYour Name 
2138*5113495bSYour Name 
2139*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
2140*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
2141*5113495bSYour Name 			buffer used by the MSDU
2142*5113495bSYour Name 
2143*5113495bSYour Name 
2144*5113495bSYour Name 
2145*5113495bSYour Name 			<enum 0 Not_last_msdu> There are more MSDUs linked to
2146*5113495bSYour Name 			this MSDU that belongs to this MPDU
2147*5113495bSYour Name 
2148*5113495bSYour Name 			<enum 1 Last_msdu> this MSDU is the last one in the
2149*5113495bSYour Name 			MPDU. This setting is only allowed in combination with
2150*5113495bSYour Name 			'Msdu_continuation' set to 0. This implies that when an msdu
2151*5113495bSYour Name 			is spread out over multiple buffers and thus
2152*5113495bSYour Name 			msdu_continuation is set, only for the very last buffer of
2153*5113495bSYour Name 			the msdu, can the 'last_msdu_in_mpdu_flag' be set.
2154*5113495bSYour Name 
2155*5113495bSYour Name 
2156*5113495bSYour Name 
2157*5113495bSYour Name 			When both first_msdu_in_mpdu_flag and
2158*5113495bSYour Name 			last_msdu_in_mpdu_flag are set, the MPDU that this MSDU
2159*5113495bSYour Name 			belongs to only contains a single MSDU.
2160*5113495bSYour Name 
2161*5113495bSYour Name 
2162*5113495bSYour Name 
2163*5113495bSYour Name 
2164*5113495bSYour Name 
2165*5113495bSYour Name 			<legal all>
2166*5113495bSYour Name */
2167*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000058
2168*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_LSB 1
2169*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_MASK 0x00000002
2170*5113495bSYour Name 
2171*5113495bSYour Name /* Description		RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION
2172*5113495bSYour Name 
2173*5113495bSYour Name 			When set, this MSDU buffer was not able to hold the
2174*5113495bSYour Name 			entire MSDU. The next buffer will therefor contain
2175*5113495bSYour Name 			additional information related to this MSDU.
2176*5113495bSYour Name 
2177*5113495bSYour Name 
2178*5113495bSYour Name 
2179*5113495bSYour Name 			<legal all>
2180*5113495bSYour Name */
2181*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_OFFSET 0x00000058
2182*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_LSB 2
2183*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_MASK 0x00000004
2184*5113495bSYour Name 
2185*5113495bSYour Name /* Description		RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH
2186*5113495bSYour Name 
2187*5113495bSYour Name 			Parsed from RX_MSDU_START TLV . In the case MSDU spans
2188*5113495bSYour Name 			over multiple buffers, this field will be valid in the First
2189*5113495bSYour Name 			buffer used by MSDU.
2190*5113495bSYour Name 
2191*5113495bSYour Name 
2192*5113495bSYour Name 
2193*5113495bSYour Name 			Full MSDU length in bytes after decapsulation.
2194*5113495bSYour Name 
2195*5113495bSYour Name 
2196*5113495bSYour Name 
2197*5113495bSYour Name 			This field is still valid for MPDU frames without
2198*5113495bSYour Name 			A-MSDU.  It still represents MSDU length after decapsulation
2199*5113495bSYour Name 
2200*5113495bSYour Name 
2201*5113495bSYour Name 
2202*5113495bSYour Name 			Or in case of RAW MPDUs, it indicates the length of the
2203*5113495bSYour Name 			entire MPDU (without FCS field)
2204*5113495bSYour Name 
2205*5113495bSYour Name 			<legal all>
2206*5113495bSYour Name */
2207*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_OFFSET 0x00000058
2208*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_LSB 3
2209*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_MASK 0x0001fff8
2210*5113495bSYour Name 
2211*5113495bSYour Name /* Description		RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION
2212*5113495bSYour Name 
2213*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
2214*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
2215*5113495bSYour Name 			buffer used by the MSDU
2216*5113495bSYour Name 
2217*5113495bSYour Name 
2218*5113495bSYour Name 
2219*5113495bSYour Name 			The ID of the REO exit ring where the MSDU frame shall
2220*5113495bSYour Name 			push after (MPDU level) reordering has finished.
2221*5113495bSYour Name 
2222*5113495bSYour Name 
2223*5113495bSYour Name 
2224*5113495bSYour Name 			<enum 0 reo_destination_tcl> Reo will push the frame
2225*5113495bSYour Name 			into the REO2TCL ring
2226*5113495bSYour Name 
2227*5113495bSYour Name 			<enum 1 reo_destination_sw1> Reo will push the frame
2228*5113495bSYour Name 			into the REO2SW1 ring
2229*5113495bSYour Name 
2230*5113495bSYour Name 			<enum 2 reo_destination_sw2> Reo will push the frame
2231*5113495bSYour Name 			into the REO2SW2 ring
2232*5113495bSYour Name 
2233*5113495bSYour Name 			<enum 3 reo_destination_sw3> Reo will push the frame
2234*5113495bSYour Name 			into the REO2SW3 ring
2235*5113495bSYour Name 
2236*5113495bSYour Name 			<enum 4 reo_destination_sw4> Reo will push the frame
2237*5113495bSYour Name 			into the REO2SW4 ring
2238*5113495bSYour Name 
2239*5113495bSYour Name 			<enum 5 reo_destination_release> Reo will push the frame
2240*5113495bSYour Name 			into the REO_release ring
2241*5113495bSYour Name 
2242*5113495bSYour Name 			<enum 6 reo_destination_fw> Reo will push the frame into
2243*5113495bSYour Name 			the REO2FW ring
2244*5113495bSYour Name 
2245*5113495bSYour Name 			<enum 7 reo_destination_sw5> Reo will push the frame
2246*5113495bSYour Name 			into the REO2SW5 ring (REO remaps this in chips without
2247*5113495bSYour Name 			REO2SW5 ring, e.g. Pine)
2248*5113495bSYour Name 
2249*5113495bSYour Name 			<enum 8 reo_destination_sw6> Reo will push the frame
2250*5113495bSYour Name 			into the REO2SW6 ring (REO remaps this in chips without
2251*5113495bSYour Name 			REO2SW6 ring, e.g. Pine)
2252*5113495bSYour Name 
2253*5113495bSYour Name 			 <enum 9 reo_destination_9> REO remaps this <enum 10
2254*5113495bSYour Name 			reo_destination_10> REO remaps this
2255*5113495bSYour Name 
2256*5113495bSYour Name 			<enum 11 reo_destination_11> REO remaps this
2257*5113495bSYour Name 
2258*5113495bSYour Name 			<enum 12 reo_destination_12> REO remaps this <enum 13
2259*5113495bSYour Name 			reo_destination_13> REO remaps this
2260*5113495bSYour Name 
2261*5113495bSYour Name 			<enum 14 reo_destination_14> REO remaps this
2262*5113495bSYour Name 
2263*5113495bSYour Name 			<enum 15 reo_destination_15> REO remaps this
2264*5113495bSYour Name 
2265*5113495bSYour Name 			<enum 16 reo_destination_16> REO remaps this
2266*5113495bSYour Name 
2267*5113495bSYour Name 			<enum 17 reo_destination_17> REO remaps this
2268*5113495bSYour Name 
2269*5113495bSYour Name 			<enum 18 reo_destination_18> REO remaps this
2270*5113495bSYour Name 
2271*5113495bSYour Name 			<enum 19 reo_destination_19> REO remaps this
2272*5113495bSYour Name 
2273*5113495bSYour Name 			<enum 20 reo_destination_20> REO remaps this
2274*5113495bSYour Name 
2275*5113495bSYour Name 			<enum 21 reo_destination_21> REO remaps this
2276*5113495bSYour Name 
2277*5113495bSYour Name 			<enum 22 reo_destination_22> REO remaps this
2278*5113495bSYour Name 
2279*5113495bSYour Name 			<enum 23 reo_destination_23> REO remaps this
2280*5113495bSYour Name 
2281*5113495bSYour Name 			<enum 24 reo_destination_24> REO remaps this
2282*5113495bSYour Name 
2283*5113495bSYour Name 			<enum 25 reo_destination_25> REO remaps this
2284*5113495bSYour Name 
2285*5113495bSYour Name 			<enum 26 reo_destination_26> REO remaps this
2286*5113495bSYour Name 
2287*5113495bSYour Name 			<enum 27 reo_destination_27> REO remaps this
2288*5113495bSYour Name 
2289*5113495bSYour Name 			<enum 28 reo_destination_28> REO remaps this
2290*5113495bSYour Name 
2291*5113495bSYour Name 			<enum 29 reo_destination_29> REO remaps this
2292*5113495bSYour Name 
2293*5113495bSYour Name 			<enum 30 reo_destination_30> REO remaps this
2294*5113495bSYour Name 
2295*5113495bSYour Name 			<enum 31 reo_destination_31> REO remaps this
2296*5113495bSYour Name 
2297*5113495bSYour Name 
2298*5113495bSYour Name 
2299*5113495bSYour Name 			<legal all>
2300*5113495bSYour Name */
2301*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_OFFSET 0x00000058
2302*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_LSB 17
2303*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_MASK 0x003e0000
2304*5113495bSYour Name 
2305*5113495bSYour Name /* Description		RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP
2306*5113495bSYour Name 
2307*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
2308*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
2309*5113495bSYour Name 			buffer used by the MSDU
2310*5113495bSYour Name 
2311*5113495bSYour Name 
2312*5113495bSYour Name 
2313*5113495bSYour Name 			When set, REO shall drop this MSDU and not forward it to
2314*5113495bSYour Name 			any other ring...
2315*5113495bSYour Name 
2316*5113495bSYour Name 			<legal all>
2317*5113495bSYour Name */
2318*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_OFFSET 0x00000058
2319*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_LSB 22
2320*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_MASK 0x00400000
2321*5113495bSYour Name 
2322*5113495bSYour Name /* Description		RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID
2323*5113495bSYour Name 
2324*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
2325*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
2326*5113495bSYour Name 			buffer used by the MSDU
2327*5113495bSYour Name 
2328*5113495bSYour Name 
2329*5113495bSYour Name 
2330*5113495bSYour Name 			Indicates that OLE found a valid SA entry for this MSDU
2331*5113495bSYour Name 
2332*5113495bSYour Name 			<legal all>
2333*5113495bSYour Name */
2334*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_OFFSET 0x00000058
2335*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_LSB 23
2336*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_MASK 0x00800000
2337*5113495bSYour Name 
2338*5113495bSYour Name /* Description		RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT
2339*5113495bSYour Name 
2340*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
2341*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
2342*5113495bSYour Name 			buffer used by the MSDU
2343*5113495bSYour Name 
2344*5113495bSYour Name 
2345*5113495bSYour Name 
2346*5113495bSYour Name 			Indicates an unsuccessful MAC source address search due
2347*5113495bSYour Name 			to the expiring of the search timer for this MSDU
2348*5113495bSYour Name 
2349*5113495bSYour Name 			<legal all>
2350*5113495bSYour Name */
2351*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_OFFSET 0x00000058
2352*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_LSB 24
2353*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_MASK 0x01000000
2354*5113495bSYour Name 
2355*5113495bSYour Name /* Description		RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID
2356*5113495bSYour Name 
2357*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
2358*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
2359*5113495bSYour Name 			buffer used by the MSDU
2360*5113495bSYour Name 
2361*5113495bSYour Name 
2362*5113495bSYour Name 
2363*5113495bSYour Name 			Indicates that OLE found a valid DA entry for this MSDU
2364*5113495bSYour Name 
2365*5113495bSYour Name 			<legal all>
2366*5113495bSYour Name */
2367*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_OFFSET 0x00000058
2368*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_LSB 25
2369*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_MASK 0x02000000
2370*5113495bSYour Name 
2371*5113495bSYour Name /* Description		RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC
2372*5113495bSYour Name 
2373*5113495bSYour Name 			Field Only valid if da_is_valid is set
2374*5113495bSYour Name 
2375*5113495bSYour Name 
2376*5113495bSYour Name 
2377*5113495bSYour Name 			Indicates the DA address was a Multicast of Broadcast
2378*5113495bSYour Name 			address for this MSDU
2379*5113495bSYour Name 
2380*5113495bSYour Name 			<legal all>
2381*5113495bSYour Name */
2382*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_OFFSET 0x00000058
2383*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_LSB 26
2384*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_MASK 0x04000000
2385*5113495bSYour Name 
2386*5113495bSYour Name /* Description		RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT
2387*5113495bSYour Name 
2388*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
2389*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
2390*5113495bSYour Name 			buffer used by the MSDU
2391*5113495bSYour Name 
2392*5113495bSYour Name 
2393*5113495bSYour Name 
2394*5113495bSYour Name 			Indicates an unsuccessful MAC destination address search
2395*5113495bSYour Name 			due to the expiring of the search timer for this MSDU
2396*5113495bSYour Name 
2397*5113495bSYour Name 			<legal all>
2398*5113495bSYour Name */
2399*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_OFFSET 0x00000058
2400*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_LSB 27
2401*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_MASK 0x08000000
2402*5113495bSYour Name 
2403*5113495bSYour Name /* Description		RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A
2404*5113495bSYour Name 
2405*5113495bSYour Name 			<legal 0>
2406*5113495bSYour Name */
2407*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A_OFFSET 0x00000058
2408*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A_LSB 28
2409*5113495bSYour Name #define RX_MSDU_LINK_22_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A_MASK 0xf0000000
2410*5113495bSYour Name 
2411*5113495bSYour Name /* Description		RX_MSDU_LINK_23_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_RESERVED_1A
2412*5113495bSYour Name 
2413*5113495bSYour Name 			<legal 0>
2414*5113495bSYour Name */
2415*5113495bSYour Name #define RX_MSDU_LINK_23_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_RESERVED_1A_OFFSET 0x0000005c
2416*5113495bSYour Name #define RX_MSDU_LINK_23_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_RESERVED_1A_LSB 0
2417*5113495bSYour Name #define RX_MSDU_LINK_23_MSDU_3_RX_MSDU_DESC_INFO_DETAILS_RESERVED_1A_MASK 0xffffffff
2418*5113495bSYour Name 
2419*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_msdu_details msdu_4 */
2420*5113495bSYour Name 
2421*5113495bSYour Name 
2422*5113495bSYour Name  /* EXTERNAL REFERENCE : struct buffer_addr_info buffer_addr_info_details */
2423*5113495bSYour Name 
2424*5113495bSYour Name 
2425*5113495bSYour Name /* Description		RX_MSDU_LINK_24_MSDU_4_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0
2426*5113495bSYour Name 
2427*5113495bSYour Name 			Address (lower 32 bits) of the MSDU buffer OR
2428*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
2429*5113495bSYour Name 
2430*5113495bSYour Name 
2431*5113495bSYour Name 
2432*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2433*5113495bSYour Name 
2434*5113495bSYour Name 			<legal all>
2435*5113495bSYour Name */
2436*5113495bSYour Name #define RX_MSDU_LINK_24_MSDU_4_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_OFFSET 0x00000060
2437*5113495bSYour Name #define RX_MSDU_LINK_24_MSDU_4_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_LSB 0
2438*5113495bSYour Name #define RX_MSDU_LINK_24_MSDU_4_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_MASK 0xffffffff
2439*5113495bSYour Name 
2440*5113495bSYour Name /* Description		RX_MSDU_LINK_25_MSDU_4_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32
2441*5113495bSYour Name 
2442*5113495bSYour Name 			Address (upper 8 bits) of the MSDU buffer OR
2443*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
2444*5113495bSYour Name 
2445*5113495bSYour Name 
2446*5113495bSYour Name 
2447*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2448*5113495bSYour Name 
2449*5113495bSYour Name 			<legal all>
2450*5113495bSYour Name */
2451*5113495bSYour Name #define RX_MSDU_LINK_25_MSDU_4_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_OFFSET 0x00000064
2452*5113495bSYour Name #define RX_MSDU_LINK_25_MSDU_4_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_LSB 0
2453*5113495bSYour Name #define RX_MSDU_LINK_25_MSDU_4_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_MASK 0x000000ff
2454*5113495bSYour Name 
2455*5113495bSYour Name /* Description		RX_MSDU_LINK_25_MSDU_4_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER
2456*5113495bSYour Name 
2457*5113495bSYour Name 			Consumer: WBM
2458*5113495bSYour Name 
2459*5113495bSYour Name 			Producer: SW/FW
2460*5113495bSYour Name 
2461*5113495bSYour Name 
2462*5113495bSYour Name 
2463*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2464*5113495bSYour Name 
2465*5113495bSYour Name 
2466*5113495bSYour Name 
2467*5113495bSYour Name 			Indicates to which buffer manager the buffer OR
2468*5113495bSYour Name 			MSDU_EXTENSION descriptor OR link descriptor that is being
2469*5113495bSYour Name 			pointed to shall be returned after the frame has been
2470*5113495bSYour Name 			processed. It is used by WBM for routing purposes.
2471*5113495bSYour Name 
2472*5113495bSYour Name 
2473*5113495bSYour Name 
2474*5113495bSYour Name 			<enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned
2475*5113495bSYour Name 			to the WMB buffer idle list
2476*5113495bSYour Name 
2477*5113495bSYour Name 			<enum 1 WBM_IDLE_DESC_LIST> This buffer shall be
2478*5113495bSYour Name 			returned to the WMB idle link descriptor idle list
2479*5113495bSYour Name 
2480*5113495bSYour Name 			<enum 2 FW_BM> This buffer shall be returned to the FW
2481*5113495bSYour Name 
2482*5113495bSYour Name 			<enum 3 SW0_BM> This buffer shall be returned to the SW,
2483*5113495bSYour Name 			ring 0
2484*5113495bSYour Name 
2485*5113495bSYour Name 			<enum 4 SW1_BM> This buffer shall be returned to the SW,
2486*5113495bSYour Name 			ring 1
2487*5113495bSYour Name 
2488*5113495bSYour Name 			<enum 5 SW2_BM> This buffer shall be returned to the SW,
2489*5113495bSYour Name 			ring 2
2490*5113495bSYour Name 
2491*5113495bSYour Name 			<enum 6 SW3_BM> This buffer shall be returned to the SW,
2492*5113495bSYour Name 			ring 3
2493*5113495bSYour Name 
2494*5113495bSYour Name 			<enum 7 SW4_BM> This buffer shall be returned to the SW,
2495*5113495bSYour Name 			ring 4
2496*5113495bSYour Name 
2497*5113495bSYour Name 
2498*5113495bSYour Name 
2499*5113495bSYour Name 			<legal all>
2500*5113495bSYour Name */
2501*5113495bSYour Name #define RX_MSDU_LINK_25_MSDU_4_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_OFFSET 0x00000064
2502*5113495bSYour Name #define RX_MSDU_LINK_25_MSDU_4_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_LSB 8
2503*5113495bSYour Name #define RX_MSDU_LINK_25_MSDU_4_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_MASK 0x00000700
2504*5113495bSYour Name 
2505*5113495bSYour Name /* Description		RX_MSDU_LINK_25_MSDU_4_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE
2506*5113495bSYour Name 
2507*5113495bSYour Name 			Cookie field exclusively used by SW.
2508*5113495bSYour Name 
2509*5113495bSYour Name 
2510*5113495bSYour Name 
2511*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2512*5113495bSYour Name 
2513*5113495bSYour Name 
2514*5113495bSYour Name 
2515*5113495bSYour Name 			HW ignores the contents, accept that it passes the
2516*5113495bSYour Name 			programmed value on to other descriptors together with the
2517*5113495bSYour Name 			physical address
2518*5113495bSYour Name 
2519*5113495bSYour Name 
2520*5113495bSYour Name 
2521*5113495bSYour Name 			Field can be used by SW to for example associate the
2522*5113495bSYour Name 			buffers physical address with the virtual address
2523*5113495bSYour Name 
2524*5113495bSYour Name 			The bit definitions as used by SW are within SW HLD
2525*5113495bSYour Name 			specification
2526*5113495bSYour Name 
2527*5113495bSYour Name 
2528*5113495bSYour Name 
2529*5113495bSYour Name 			NOTE:
2530*5113495bSYour Name 
2531*5113495bSYour Name 			The three most significant bits can have a special
2532*5113495bSYour Name 			meaning in case this struct is embedded in a TX_MPDU_DETAILS
2533*5113495bSYour Name 			STRUCT, and field transmit_bw_restriction is set
2534*5113495bSYour Name 
2535*5113495bSYour Name 
2536*5113495bSYour Name 
2537*5113495bSYour Name 			In case of NON punctured transmission:
2538*5113495bSYour Name 
2539*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only
2540*5113495bSYour Name 
2541*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only
2542*5113495bSYour Name 
2543*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only
2544*5113495bSYour Name 
2545*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only
2546*5113495bSYour Name 
2547*5113495bSYour Name 
2548*5113495bSYour Name 
2549*5113495bSYour Name 			In case of punctured transmission:
2550*5113495bSYour Name 
2551*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only
2552*5113495bSYour Name 
2553*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only
2554*5113495bSYour Name 
2555*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only
2556*5113495bSYour Name 
2557*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only
2558*5113495bSYour Name 
2559*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only
2560*5113495bSYour Name 
2561*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only
2562*5113495bSYour Name 
2563*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only
2564*5113495bSYour Name 
2565*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only
2566*5113495bSYour Name 
2567*5113495bSYour Name 
2568*5113495bSYour Name 
2569*5113495bSYour Name 			Note: a punctured transmission is indicated by the
2570*5113495bSYour Name 			presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler
2571*5113495bSYour Name 			TLV
2572*5113495bSYour Name 
2573*5113495bSYour Name 
2574*5113495bSYour Name 
2575*5113495bSYour Name 			<legal all>
2576*5113495bSYour Name */
2577*5113495bSYour Name #define RX_MSDU_LINK_25_MSDU_4_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_OFFSET 0x00000064
2578*5113495bSYour Name #define RX_MSDU_LINK_25_MSDU_4_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_LSB 11
2579*5113495bSYour Name #define RX_MSDU_LINK_25_MSDU_4_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_MASK 0xfffff800
2580*5113495bSYour Name 
2581*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_msdu_desc_info rx_msdu_desc_info_details */
2582*5113495bSYour Name 
2583*5113495bSYour Name 
2584*5113495bSYour Name /* Description		RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG
2585*5113495bSYour Name 
2586*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
2587*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
2588*5113495bSYour Name 			buffer used by the MSDU
2589*5113495bSYour Name 
2590*5113495bSYour Name 
2591*5113495bSYour Name 
2592*5113495bSYour Name 			<enum 0 Not_first_msdu> This is not the first MSDU in
2593*5113495bSYour Name 			the MPDU.
2594*5113495bSYour Name 
2595*5113495bSYour Name 			<enum 1 first_msdu> This MSDU is the first one in the
2596*5113495bSYour Name 			MPDU.
2597*5113495bSYour Name 
2598*5113495bSYour Name 
2599*5113495bSYour Name 
2600*5113495bSYour Name 			<legal all>
2601*5113495bSYour Name */
2602*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000068
2603*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_LSB 0
2604*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_MASK 0x00000001
2605*5113495bSYour Name 
2606*5113495bSYour Name /* Description		RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG
2607*5113495bSYour Name 
2608*5113495bSYour Name 			Consumer: WBM/REO/SW/FW
2609*5113495bSYour Name 
2610*5113495bSYour Name 			Producer: RXDMA
2611*5113495bSYour Name 
2612*5113495bSYour Name 
2613*5113495bSYour Name 
2614*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
2615*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
2616*5113495bSYour Name 			buffer used by the MSDU
2617*5113495bSYour Name 
2618*5113495bSYour Name 
2619*5113495bSYour Name 
2620*5113495bSYour Name 			<enum 0 Not_last_msdu> There are more MSDUs linked to
2621*5113495bSYour Name 			this MSDU that belongs to this MPDU
2622*5113495bSYour Name 
2623*5113495bSYour Name 			<enum 1 Last_msdu> this MSDU is the last one in the
2624*5113495bSYour Name 			MPDU. This setting is only allowed in combination with
2625*5113495bSYour Name 			'Msdu_continuation' set to 0. This implies that when an msdu
2626*5113495bSYour Name 			is spread out over multiple buffers and thus
2627*5113495bSYour Name 			msdu_continuation is set, only for the very last buffer of
2628*5113495bSYour Name 			the msdu, can the 'last_msdu_in_mpdu_flag' be set.
2629*5113495bSYour Name 
2630*5113495bSYour Name 
2631*5113495bSYour Name 
2632*5113495bSYour Name 			When both first_msdu_in_mpdu_flag and
2633*5113495bSYour Name 			last_msdu_in_mpdu_flag are set, the MPDU that this MSDU
2634*5113495bSYour Name 			belongs to only contains a single MSDU.
2635*5113495bSYour Name 
2636*5113495bSYour Name 
2637*5113495bSYour Name 
2638*5113495bSYour Name 
2639*5113495bSYour Name 
2640*5113495bSYour Name 			<legal all>
2641*5113495bSYour Name */
2642*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000068
2643*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_LSB 1
2644*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_MASK 0x00000002
2645*5113495bSYour Name 
2646*5113495bSYour Name /* Description		RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION
2647*5113495bSYour Name 
2648*5113495bSYour Name 			When set, this MSDU buffer was not able to hold the
2649*5113495bSYour Name 			entire MSDU. The next buffer will therefor contain
2650*5113495bSYour Name 			additional information related to this MSDU.
2651*5113495bSYour Name 
2652*5113495bSYour Name 
2653*5113495bSYour Name 
2654*5113495bSYour Name 			<legal all>
2655*5113495bSYour Name */
2656*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_OFFSET 0x00000068
2657*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_LSB 2
2658*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_MASK 0x00000004
2659*5113495bSYour Name 
2660*5113495bSYour Name /* Description		RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH
2661*5113495bSYour Name 
2662*5113495bSYour Name 			Parsed from RX_MSDU_START TLV . In the case MSDU spans
2663*5113495bSYour Name 			over multiple buffers, this field will be valid in the First
2664*5113495bSYour Name 			buffer used by MSDU.
2665*5113495bSYour Name 
2666*5113495bSYour Name 
2667*5113495bSYour Name 
2668*5113495bSYour Name 			Full MSDU length in bytes after decapsulation.
2669*5113495bSYour Name 
2670*5113495bSYour Name 
2671*5113495bSYour Name 
2672*5113495bSYour Name 			This field is still valid for MPDU frames without
2673*5113495bSYour Name 			A-MSDU.  It still represents MSDU length after decapsulation
2674*5113495bSYour Name 
2675*5113495bSYour Name 
2676*5113495bSYour Name 
2677*5113495bSYour Name 			Or in case of RAW MPDUs, it indicates the length of the
2678*5113495bSYour Name 			entire MPDU (without FCS field)
2679*5113495bSYour Name 
2680*5113495bSYour Name 			<legal all>
2681*5113495bSYour Name */
2682*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_OFFSET 0x00000068
2683*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_LSB 3
2684*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_MASK 0x0001fff8
2685*5113495bSYour Name 
2686*5113495bSYour Name /* Description		RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION
2687*5113495bSYour Name 
2688*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
2689*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
2690*5113495bSYour Name 			buffer used by the MSDU
2691*5113495bSYour Name 
2692*5113495bSYour Name 
2693*5113495bSYour Name 
2694*5113495bSYour Name 			The ID of the REO exit ring where the MSDU frame shall
2695*5113495bSYour Name 			push after (MPDU level) reordering has finished.
2696*5113495bSYour Name 
2697*5113495bSYour Name 
2698*5113495bSYour Name 
2699*5113495bSYour Name 			<enum 0 reo_destination_tcl> Reo will push the frame
2700*5113495bSYour Name 			into the REO2TCL ring
2701*5113495bSYour Name 
2702*5113495bSYour Name 			<enum 1 reo_destination_sw1> Reo will push the frame
2703*5113495bSYour Name 			into the REO2SW1 ring
2704*5113495bSYour Name 
2705*5113495bSYour Name 			<enum 2 reo_destination_sw2> Reo will push the frame
2706*5113495bSYour Name 			into the REO2SW2 ring
2707*5113495bSYour Name 
2708*5113495bSYour Name 			<enum 3 reo_destination_sw3> Reo will push the frame
2709*5113495bSYour Name 			into the REO2SW3 ring
2710*5113495bSYour Name 
2711*5113495bSYour Name 			<enum 4 reo_destination_sw4> Reo will push the frame
2712*5113495bSYour Name 			into the REO2SW4 ring
2713*5113495bSYour Name 
2714*5113495bSYour Name 			<enum 5 reo_destination_release> Reo will push the frame
2715*5113495bSYour Name 			into the REO_release ring
2716*5113495bSYour Name 
2717*5113495bSYour Name 			<enum 6 reo_destination_fw> Reo will push the frame into
2718*5113495bSYour Name 			the REO2FW ring
2719*5113495bSYour Name 
2720*5113495bSYour Name 			<enum 7 reo_destination_sw5> Reo will push the frame
2721*5113495bSYour Name 			into the REO2SW5 ring (REO remaps this in chips without
2722*5113495bSYour Name 			REO2SW5 ring, e.g. Pine)
2723*5113495bSYour Name 
2724*5113495bSYour Name 			<enum 8 reo_destination_sw6> Reo will push the frame
2725*5113495bSYour Name 			into the REO2SW6 ring (REO remaps this in chips without
2726*5113495bSYour Name 			REO2SW6 ring, e.g. Pine)
2727*5113495bSYour Name 
2728*5113495bSYour Name 			 <enum 9 reo_destination_9> REO remaps this <enum 10
2729*5113495bSYour Name 			reo_destination_10> REO remaps this
2730*5113495bSYour Name 
2731*5113495bSYour Name 			<enum 11 reo_destination_11> REO remaps this
2732*5113495bSYour Name 
2733*5113495bSYour Name 			<enum 12 reo_destination_12> REO remaps this <enum 13
2734*5113495bSYour Name 			reo_destination_13> REO remaps this
2735*5113495bSYour Name 
2736*5113495bSYour Name 			<enum 14 reo_destination_14> REO remaps this
2737*5113495bSYour Name 
2738*5113495bSYour Name 			<enum 15 reo_destination_15> REO remaps this
2739*5113495bSYour Name 
2740*5113495bSYour Name 			<enum 16 reo_destination_16> REO remaps this
2741*5113495bSYour Name 
2742*5113495bSYour Name 			<enum 17 reo_destination_17> REO remaps this
2743*5113495bSYour Name 
2744*5113495bSYour Name 			<enum 18 reo_destination_18> REO remaps this
2745*5113495bSYour Name 
2746*5113495bSYour Name 			<enum 19 reo_destination_19> REO remaps this
2747*5113495bSYour Name 
2748*5113495bSYour Name 			<enum 20 reo_destination_20> REO remaps this
2749*5113495bSYour Name 
2750*5113495bSYour Name 			<enum 21 reo_destination_21> REO remaps this
2751*5113495bSYour Name 
2752*5113495bSYour Name 			<enum 22 reo_destination_22> REO remaps this
2753*5113495bSYour Name 
2754*5113495bSYour Name 			<enum 23 reo_destination_23> REO remaps this
2755*5113495bSYour Name 
2756*5113495bSYour Name 			<enum 24 reo_destination_24> REO remaps this
2757*5113495bSYour Name 
2758*5113495bSYour Name 			<enum 25 reo_destination_25> REO remaps this
2759*5113495bSYour Name 
2760*5113495bSYour Name 			<enum 26 reo_destination_26> REO remaps this
2761*5113495bSYour Name 
2762*5113495bSYour Name 			<enum 27 reo_destination_27> REO remaps this
2763*5113495bSYour Name 
2764*5113495bSYour Name 			<enum 28 reo_destination_28> REO remaps this
2765*5113495bSYour Name 
2766*5113495bSYour Name 			<enum 29 reo_destination_29> REO remaps this
2767*5113495bSYour Name 
2768*5113495bSYour Name 			<enum 30 reo_destination_30> REO remaps this
2769*5113495bSYour Name 
2770*5113495bSYour Name 			<enum 31 reo_destination_31> REO remaps this
2771*5113495bSYour Name 
2772*5113495bSYour Name 
2773*5113495bSYour Name 
2774*5113495bSYour Name 			<legal all>
2775*5113495bSYour Name */
2776*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_OFFSET 0x00000068
2777*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_LSB 17
2778*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_MASK 0x003e0000
2779*5113495bSYour Name 
2780*5113495bSYour Name /* Description		RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP
2781*5113495bSYour Name 
2782*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
2783*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
2784*5113495bSYour Name 			buffer used by the MSDU
2785*5113495bSYour Name 
2786*5113495bSYour Name 
2787*5113495bSYour Name 
2788*5113495bSYour Name 			When set, REO shall drop this MSDU and not forward it to
2789*5113495bSYour Name 			any other ring...
2790*5113495bSYour Name 
2791*5113495bSYour Name 			<legal all>
2792*5113495bSYour Name */
2793*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_OFFSET 0x00000068
2794*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_LSB 22
2795*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_MASK 0x00400000
2796*5113495bSYour Name 
2797*5113495bSYour Name /* Description		RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID
2798*5113495bSYour Name 
2799*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
2800*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
2801*5113495bSYour Name 			buffer used by the MSDU
2802*5113495bSYour Name 
2803*5113495bSYour Name 
2804*5113495bSYour Name 
2805*5113495bSYour Name 			Indicates that OLE found a valid SA entry for this MSDU
2806*5113495bSYour Name 
2807*5113495bSYour Name 			<legal all>
2808*5113495bSYour Name */
2809*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_OFFSET 0x00000068
2810*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_LSB 23
2811*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_MASK 0x00800000
2812*5113495bSYour Name 
2813*5113495bSYour Name /* Description		RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT
2814*5113495bSYour Name 
2815*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
2816*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
2817*5113495bSYour Name 			buffer used by the MSDU
2818*5113495bSYour Name 
2819*5113495bSYour Name 
2820*5113495bSYour Name 
2821*5113495bSYour Name 			Indicates an unsuccessful MAC source address search due
2822*5113495bSYour Name 			to the expiring of the search timer for this MSDU
2823*5113495bSYour Name 
2824*5113495bSYour Name 			<legal all>
2825*5113495bSYour Name */
2826*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_OFFSET 0x00000068
2827*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_LSB 24
2828*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_MASK 0x01000000
2829*5113495bSYour Name 
2830*5113495bSYour Name /* Description		RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID
2831*5113495bSYour Name 
2832*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
2833*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
2834*5113495bSYour Name 			buffer used by the MSDU
2835*5113495bSYour Name 
2836*5113495bSYour Name 
2837*5113495bSYour Name 
2838*5113495bSYour Name 			Indicates that OLE found a valid DA entry for this MSDU
2839*5113495bSYour Name 
2840*5113495bSYour Name 			<legal all>
2841*5113495bSYour Name */
2842*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_OFFSET 0x00000068
2843*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_LSB 25
2844*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_MASK 0x02000000
2845*5113495bSYour Name 
2846*5113495bSYour Name /* Description		RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC
2847*5113495bSYour Name 
2848*5113495bSYour Name 			Field Only valid if da_is_valid is set
2849*5113495bSYour Name 
2850*5113495bSYour Name 
2851*5113495bSYour Name 
2852*5113495bSYour Name 			Indicates the DA address was a Multicast of Broadcast
2853*5113495bSYour Name 			address for this MSDU
2854*5113495bSYour Name 
2855*5113495bSYour Name 			<legal all>
2856*5113495bSYour Name */
2857*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_OFFSET 0x00000068
2858*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_LSB 26
2859*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_MASK 0x04000000
2860*5113495bSYour Name 
2861*5113495bSYour Name /* Description		RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT
2862*5113495bSYour Name 
2863*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
2864*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
2865*5113495bSYour Name 			buffer used by the MSDU
2866*5113495bSYour Name 
2867*5113495bSYour Name 
2868*5113495bSYour Name 
2869*5113495bSYour Name 			Indicates an unsuccessful MAC destination address search
2870*5113495bSYour Name 			due to the expiring of the search timer for this MSDU
2871*5113495bSYour Name 
2872*5113495bSYour Name 			<legal all>
2873*5113495bSYour Name */
2874*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_OFFSET 0x00000068
2875*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_LSB 27
2876*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_MASK 0x08000000
2877*5113495bSYour Name 
2878*5113495bSYour Name /* Description		RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A
2879*5113495bSYour Name 
2880*5113495bSYour Name 			<legal 0>
2881*5113495bSYour Name */
2882*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A_OFFSET 0x00000068
2883*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A_LSB 28
2884*5113495bSYour Name #define RX_MSDU_LINK_26_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A_MASK 0xf0000000
2885*5113495bSYour Name 
2886*5113495bSYour Name /* Description		RX_MSDU_LINK_27_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_RESERVED_1A
2887*5113495bSYour Name 
2888*5113495bSYour Name 			<legal 0>
2889*5113495bSYour Name */
2890*5113495bSYour Name #define RX_MSDU_LINK_27_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_RESERVED_1A_OFFSET 0x0000006c
2891*5113495bSYour Name #define RX_MSDU_LINK_27_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_RESERVED_1A_LSB 0
2892*5113495bSYour Name #define RX_MSDU_LINK_27_MSDU_4_RX_MSDU_DESC_INFO_DETAILS_RESERVED_1A_MASK 0xffffffff
2893*5113495bSYour Name 
2894*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_msdu_details msdu_5 */
2895*5113495bSYour Name 
2896*5113495bSYour Name 
2897*5113495bSYour Name  /* EXTERNAL REFERENCE : struct buffer_addr_info buffer_addr_info_details */
2898*5113495bSYour Name 
2899*5113495bSYour Name 
2900*5113495bSYour Name /* Description		RX_MSDU_LINK_28_MSDU_5_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0
2901*5113495bSYour Name 
2902*5113495bSYour Name 			Address (lower 32 bits) of the MSDU buffer OR
2903*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
2904*5113495bSYour Name 
2905*5113495bSYour Name 
2906*5113495bSYour Name 
2907*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2908*5113495bSYour Name 
2909*5113495bSYour Name 			<legal all>
2910*5113495bSYour Name */
2911*5113495bSYour Name #define RX_MSDU_LINK_28_MSDU_5_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_OFFSET 0x00000070
2912*5113495bSYour Name #define RX_MSDU_LINK_28_MSDU_5_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_LSB 0
2913*5113495bSYour Name #define RX_MSDU_LINK_28_MSDU_5_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_31_0_MASK 0xffffffff
2914*5113495bSYour Name 
2915*5113495bSYour Name /* Description		RX_MSDU_LINK_29_MSDU_5_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32
2916*5113495bSYour Name 
2917*5113495bSYour Name 			Address (upper 8 bits) of the MSDU buffer OR
2918*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
2919*5113495bSYour Name 
2920*5113495bSYour Name 
2921*5113495bSYour Name 
2922*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2923*5113495bSYour Name 
2924*5113495bSYour Name 			<legal all>
2925*5113495bSYour Name */
2926*5113495bSYour Name #define RX_MSDU_LINK_29_MSDU_5_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_OFFSET 0x00000074
2927*5113495bSYour Name #define RX_MSDU_LINK_29_MSDU_5_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_LSB 0
2928*5113495bSYour Name #define RX_MSDU_LINK_29_MSDU_5_BUFFER_ADDR_INFO_DETAILS_BUFFER_ADDR_39_32_MASK 0x000000ff
2929*5113495bSYour Name 
2930*5113495bSYour Name /* Description		RX_MSDU_LINK_29_MSDU_5_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER
2931*5113495bSYour Name 
2932*5113495bSYour Name 			Consumer: WBM
2933*5113495bSYour Name 
2934*5113495bSYour Name 			Producer: SW/FW
2935*5113495bSYour Name 
2936*5113495bSYour Name 
2937*5113495bSYour Name 
2938*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2939*5113495bSYour Name 
2940*5113495bSYour Name 
2941*5113495bSYour Name 
2942*5113495bSYour Name 			Indicates to which buffer manager the buffer OR
2943*5113495bSYour Name 			MSDU_EXTENSION descriptor OR link descriptor that is being
2944*5113495bSYour Name 			pointed to shall be returned after the frame has been
2945*5113495bSYour Name 			processed. It is used by WBM for routing purposes.
2946*5113495bSYour Name 
2947*5113495bSYour Name 
2948*5113495bSYour Name 
2949*5113495bSYour Name 			<enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned
2950*5113495bSYour Name 			to the WMB buffer idle list
2951*5113495bSYour Name 
2952*5113495bSYour Name 			<enum 1 WBM_IDLE_DESC_LIST> This buffer shall be
2953*5113495bSYour Name 			returned to the WMB idle link descriptor idle list
2954*5113495bSYour Name 
2955*5113495bSYour Name 			<enum 2 FW_BM> This buffer shall be returned to the FW
2956*5113495bSYour Name 
2957*5113495bSYour Name 			<enum 3 SW0_BM> This buffer shall be returned to the SW,
2958*5113495bSYour Name 			ring 0
2959*5113495bSYour Name 
2960*5113495bSYour Name 			<enum 4 SW1_BM> This buffer shall be returned to the SW,
2961*5113495bSYour Name 			ring 1
2962*5113495bSYour Name 
2963*5113495bSYour Name 			<enum 5 SW2_BM> This buffer shall be returned to the SW,
2964*5113495bSYour Name 			ring 2
2965*5113495bSYour Name 
2966*5113495bSYour Name 			<enum 6 SW3_BM> This buffer shall be returned to the SW,
2967*5113495bSYour Name 			ring 3
2968*5113495bSYour Name 
2969*5113495bSYour Name 			<enum 7 SW4_BM> This buffer shall be returned to the SW,
2970*5113495bSYour Name 			ring 4
2971*5113495bSYour Name 
2972*5113495bSYour Name 
2973*5113495bSYour Name 
2974*5113495bSYour Name 			<legal all>
2975*5113495bSYour Name */
2976*5113495bSYour Name #define RX_MSDU_LINK_29_MSDU_5_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_OFFSET 0x00000074
2977*5113495bSYour Name #define RX_MSDU_LINK_29_MSDU_5_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_LSB 8
2978*5113495bSYour Name #define RX_MSDU_LINK_29_MSDU_5_BUFFER_ADDR_INFO_DETAILS_RETURN_BUFFER_MANAGER_MASK 0x00000700
2979*5113495bSYour Name 
2980*5113495bSYour Name /* Description		RX_MSDU_LINK_29_MSDU_5_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE
2981*5113495bSYour Name 
2982*5113495bSYour Name 			Cookie field exclusively used by SW.
2983*5113495bSYour Name 
2984*5113495bSYour Name 
2985*5113495bSYour Name 
2986*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2987*5113495bSYour Name 
2988*5113495bSYour Name 
2989*5113495bSYour Name 
2990*5113495bSYour Name 			HW ignores the contents, accept that it passes the
2991*5113495bSYour Name 			programmed value on to other descriptors together with the
2992*5113495bSYour Name 			physical address
2993*5113495bSYour Name 
2994*5113495bSYour Name 
2995*5113495bSYour Name 
2996*5113495bSYour Name 			Field can be used by SW to for example associate the
2997*5113495bSYour Name 			buffers physical address with the virtual address
2998*5113495bSYour Name 
2999*5113495bSYour Name 			The bit definitions as used by SW are within SW HLD
3000*5113495bSYour Name 			specification
3001*5113495bSYour Name 
3002*5113495bSYour Name 
3003*5113495bSYour Name 
3004*5113495bSYour Name 			NOTE:
3005*5113495bSYour Name 
3006*5113495bSYour Name 			The three most significant bits can have a special
3007*5113495bSYour Name 			meaning in case this struct is embedded in a TX_MPDU_DETAILS
3008*5113495bSYour Name 			STRUCT, and field transmit_bw_restriction is set
3009*5113495bSYour Name 
3010*5113495bSYour Name 
3011*5113495bSYour Name 
3012*5113495bSYour Name 			In case of NON punctured transmission:
3013*5113495bSYour Name 
3014*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only
3015*5113495bSYour Name 
3016*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only
3017*5113495bSYour Name 
3018*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only
3019*5113495bSYour Name 
3020*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only
3021*5113495bSYour Name 
3022*5113495bSYour Name 
3023*5113495bSYour Name 
3024*5113495bSYour Name 			In case of punctured transmission:
3025*5113495bSYour Name 
3026*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only
3027*5113495bSYour Name 
3028*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only
3029*5113495bSYour Name 
3030*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only
3031*5113495bSYour Name 
3032*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only
3033*5113495bSYour Name 
3034*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only
3035*5113495bSYour Name 
3036*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only
3037*5113495bSYour Name 
3038*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only
3039*5113495bSYour Name 
3040*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only
3041*5113495bSYour Name 
3042*5113495bSYour Name 
3043*5113495bSYour Name 
3044*5113495bSYour Name 			Note: a punctured transmission is indicated by the
3045*5113495bSYour Name 			presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler
3046*5113495bSYour Name 			TLV
3047*5113495bSYour Name 
3048*5113495bSYour Name 
3049*5113495bSYour Name 
3050*5113495bSYour Name 			<legal all>
3051*5113495bSYour Name */
3052*5113495bSYour Name #define RX_MSDU_LINK_29_MSDU_5_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_OFFSET 0x00000074
3053*5113495bSYour Name #define RX_MSDU_LINK_29_MSDU_5_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_LSB 11
3054*5113495bSYour Name #define RX_MSDU_LINK_29_MSDU_5_BUFFER_ADDR_INFO_DETAILS_SW_BUFFER_COOKIE_MASK 0xfffff800
3055*5113495bSYour Name 
3056*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_msdu_desc_info rx_msdu_desc_info_details */
3057*5113495bSYour Name 
3058*5113495bSYour Name 
3059*5113495bSYour Name /* Description		RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG
3060*5113495bSYour Name 
3061*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
3062*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
3063*5113495bSYour Name 			buffer used by the MSDU
3064*5113495bSYour Name 
3065*5113495bSYour Name 
3066*5113495bSYour Name 
3067*5113495bSYour Name 			<enum 0 Not_first_msdu> This is not the first MSDU in
3068*5113495bSYour Name 			the MPDU.
3069*5113495bSYour Name 
3070*5113495bSYour Name 			<enum 1 first_msdu> This MSDU is the first one in the
3071*5113495bSYour Name 			MPDU.
3072*5113495bSYour Name 
3073*5113495bSYour Name 
3074*5113495bSYour Name 
3075*5113495bSYour Name 			<legal all>
3076*5113495bSYour Name */
3077*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000078
3078*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_LSB 0
3079*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_MASK 0x00000001
3080*5113495bSYour Name 
3081*5113495bSYour Name /* Description		RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG
3082*5113495bSYour Name 
3083*5113495bSYour Name 			Consumer: WBM/REO/SW/FW
3084*5113495bSYour Name 
3085*5113495bSYour Name 			Producer: RXDMA
3086*5113495bSYour Name 
3087*5113495bSYour Name 
3088*5113495bSYour Name 
3089*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
3090*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
3091*5113495bSYour Name 			buffer used by the MSDU
3092*5113495bSYour Name 
3093*5113495bSYour Name 
3094*5113495bSYour Name 
3095*5113495bSYour Name 			<enum 0 Not_last_msdu> There are more MSDUs linked to
3096*5113495bSYour Name 			this MSDU that belongs to this MPDU
3097*5113495bSYour Name 
3098*5113495bSYour Name 			<enum 1 Last_msdu> this MSDU is the last one in the
3099*5113495bSYour Name 			MPDU. This setting is only allowed in combination with
3100*5113495bSYour Name 			'Msdu_continuation' set to 0. This implies that when an msdu
3101*5113495bSYour Name 			is spread out over multiple buffers and thus
3102*5113495bSYour Name 			msdu_continuation is set, only for the very last buffer of
3103*5113495bSYour Name 			the msdu, can the 'last_msdu_in_mpdu_flag' be set.
3104*5113495bSYour Name 
3105*5113495bSYour Name 
3106*5113495bSYour Name 
3107*5113495bSYour Name 			When both first_msdu_in_mpdu_flag and
3108*5113495bSYour Name 			last_msdu_in_mpdu_flag are set, the MPDU that this MSDU
3109*5113495bSYour Name 			belongs to only contains a single MSDU.
3110*5113495bSYour Name 
3111*5113495bSYour Name 
3112*5113495bSYour Name 
3113*5113495bSYour Name 
3114*5113495bSYour Name 
3115*5113495bSYour Name 			<legal all>
3116*5113495bSYour Name */
3117*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000078
3118*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_LSB 1
3119*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_MASK 0x00000002
3120*5113495bSYour Name 
3121*5113495bSYour Name /* Description		RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION
3122*5113495bSYour Name 
3123*5113495bSYour Name 			When set, this MSDU buffer was not able to hold the
3124*5113495bSYour Name 			entire MSDU. The next buffer will therefor contain
3125*5113495bSYour Name 			additional information related to this MSDU.
3126*5113495bSYour Name 
3127*5113495bSYour Name 
3128*5113495bSYour Name 
3129*5113495bSYour Name 			<legal all>
3130*5113495bSYour Name */
3131*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_OFFSET 0x00000078
3132*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_LSB 2
3133*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_MASK 0x00000004
3134*5113495bSYour Name 
3135*5113495bSYour Name /* Description		RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH
3136*5113495bSYour Name 
3137*5113495bSYour Name 			Parsed from RX_MSDU_START TLV . In the case MSDU spans
3138*5113495bSYour Name 			over multiple buffers, this field will be valid in the First
3139*5113495bSYour Name 			buffer used by MSDU.
3140*5113495bSYour Name 
3141*5113495bSYour Name 
3142*5113495bSYour Name 
3143*5113495bSYour Name 			Full MSDU length in bytes after decapsulation.
3144*5113495bSYour Name 
3145*5113495bSYour Name 
3146*5113495bSYour Name 
3147*5113495bSYour Name 			This field is still valid for MPDU frames without
3148*5113495bSYour Name 			A-MSDU.  It still represents MSDU length after decapsulation
3149*5113495bSYour Name 
3150*5113495bSYour Name 
3151*5113495bSYour Name 
3152*5113495bSYour Name 			Or in case of RAW MPDUs, it indicates the length of the
3153*5113495bSYour Name 			entire MPDU (without FCS field)
3154*5113495bSYour Name 
3155*5113495bSYour Name 			<legal all>
3156*5113495bSYour Name */
3157*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_OFFSET 0x00000078
3158*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_LSB 3
3159*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_MASK 0x0001fff8
3160*5113495bSYour Name 
3161*5113495bSYour Name /* Description		RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION
3162*5113495bSYour Name 
3163*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
3164*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
3165*5113495bSYour Name 			buffer used by the MSDU
3166*5113495bSYour Name 
3167*5113495bSYour Name 
3168*5113495bSYour Name 
3169*5113495bSYour Name 			The ID of the REO exit ring where the MSDU frame shall
3170*5113495bSYour Name 			push after (MPDU level) reordering has finished.
3171*5113495bSYour Name 
3172*5113495bSYour Name 
3173*5113495bSYour Name 
3174*5113495bSYour Name 			<enum 0 reo_destination_tcl> Reo will push the frame
3175*5113495bSYour Name 			into the REO2TCL ring
3176*5113495bSYour Name 
3177*5113495bSYour Name 			<enum 1 reo_destination_sw1> Reo will push the frame
3178*5113495bSYour Name 			into the REO2SW1 ring
3179*5113495bSYour Name 
3180*5113495bSYour Name 			<enum 2 reo_destination_sw2> Reo will push the frame
3181*5113495bSYour Name 			into the REO2SW2 ring
3182*5113495bSYour Name 
3183*5113495bSYour Name 			<enum 3 reo_destination_sw3> Reo will push the frame
3184*5113495bSYour Name 			into the REO2SW3 ring
3185*5113495bSYour Name 
3186*5113495bSYour Name 			<enum 4 reo_destination_sw4> Reo will push the frame
3187*5113495bSYour Name 			into the REO2SW4 ring
3188*5113495bSYour Name 
3189*5113495bSYour Name 			<enum 5 reo_destination_release> Reo will push the frame
3190*5113495bSYour Name 			into the REO_release ring
3191*5113495bSYour Name 
3192*5113495bSYour Name 			<enum 6 reo_destination_fw> Reo will push the frame into
3193*5113495bSYour Name 			the REO2FW ring
3194*5113495bSYour Name 
3195*5113495bSYour Name 			<enum 7 reo_destination_sw5> Reo will push the frame
3196*5113495bSYour Name 			into the REO2SW5 ring (REO remaps this in chips without
3197*5113495bSYour Name 			REO2SW5 ring, e.g. Pine)
3198*5113495bSYour Name 
3199*5113495bSYour Name 			<enum 8 reo_destination_sw6> Reo will push the frame
3200*5113495bSYour Name 			into the REO2SW6 ring (REO remaps this in chips without
3201*5113495bSYour Name 			REO2SW6 ring, e.g. Pine)
3202*5113495bSYour Name 
3203*5113495bSYour Name 			 <enum 9 reo_destination_9> REO remaps this <enum 10
3204*5113495bSYour Name 			reo_destination_10> REO remaps this
3205*5113495bSYour Name 
3206*5113495bSYour Name 			<enum 11 reo_destination_11> REO remaps this
3207*5113495bSYour Name 
3208*5113495bSYour Name 			<enum 12 reo_destination_12> REO remaps this <enum 13
3209*5113495bSYour Name 			reo_destination_13> REO remaps this
3210*5113495bSYour Name 
3211*5113495bSYour Name 			<enum 14 reo_destination_14> REO remaps this
3212*5113495bSYour Name 
3213*5113495bSYour Name 			<enum 15 reo_destination_15> REO remaps this
3214*5113495bSYour Name 
3215*5113495bSYour Name 			<enum 16 reo_destination_16> REO remaps this
3216*5113495bSYour Name 
3217*5113495bSYour Name 			<enum 17 reo_destination_17> REO remaps this
3218*5113495bSYour Name 
3219*5113495bSYour Name 			<enum 18 reo_destination_18> REO remaps this
3220*5113495bSYour Name 
3221*5113495bSYour Name 			<enum 19 reo_destination_19> REO remaps this
3222*5113495bSYour Name 
3223*5113495bSYour Name 			<enum 20 reo_destination_20> REO remaps this
3224*5113495bSYour Name 
3225*5113495bSYour Name 			<enum 21 reo_destination_21> REO remaps this
3226*5113495bSYour Name 
3227*5113495bSYour Name 			<enum 22 reo_destination_22> REO remaps this
3228*5113495bSYour Name 
3229*5113495bSYour Name 			<enum 23 reo_destination_23> REO remaps this
3230*5113495bSYour Name 
3231*5113495bSYour Name 			<enum 24 reo_destination_24> REO remaps this
3232*5113495bSYour Name 
3233*5113495bSYour Name 			<enum 25 reo_destination_25> REO remaps this
3234*5113495bSYour Name 
3235*5113495bSYour Name 			<enum 26 reo_destination_26> REO remaps this
3236*5113495bSYour Name 
3237*5113495bSYour Name 			<enum 27 reo_destination_27> REO remaps this
3238*5113495bSYour Name 
3239*5113495bSYour Name 			<enum 28 reo_destination_28> REO remaps this
3240*5113495bSYour Name 
3241*5113495bSYour Name 			<enum 29 reo_destination_29> REO remaps this
3242*5113495bSYour Name 
3243*5113495bSYour Name 			<enum 30 reo_destination_30> REO remaps this
3244*5113495bSYour Name 
3245*5113495bSYour Name 			<enum 31 reo_destination_31> REO remaps this
3246*5113495bSYour Name 
3247*5113495bSYour Name 
3248*5113495bSYour Name 
3249*5113495bSYour Name 			<legal all>
3250*5113495bSYour Name */
3251*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_OFFSET 0x00000078
3252*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_LSB 17
3253*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_REO_DESTINATION_INDICATION_MASK 0x003e0000
3254*5113495bSYour Name 
3255*5113495bSYour Name /* Description		RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP
3256*5113495bSYour Name 
3257*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
3258*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
3259*5113495bSYour Name 			buffer used by the MSDU
3260*5113495bSYour Name 
3261*5113495bSYour Name 
3262*5113495bSYour Name 
3263*5113495bSYour Name 			When set, REO shall drop this MSDU and not forward it to
3264*5113495bSYour Name 			any other ring...
3265*5113495bSYour Name 
3266*5113495bSYour Name 			<legal all>
3267*5113495bSYour Name */
3268*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_OFFSET 0x00000078
3269*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_LSB 22
3270*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_MASK 0x00400000
3271*5113495bSYour Name 
3272*5113495bSYour Name /* Description		RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID
3273*5113495bSYour Name 
3274*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
3275*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
3276*5113495bSYour Name 			buffer used by the MSDU
3277*5113495bSYour Name 
3278*5113495bSYour Name 
3279*5113495bSYour Name 
3280*5113495bSYour Name 			Indicates that OLE found a valid SA entry for this MSDU
3281*5113495bSYour Name 
3282*5113495bSYour Name 			<legal all>
3283*5113495bSYour Name */
3284*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_OFFSET 0x00000078
3285*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_LSB 23
3286*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_MASK 0x00800000
3287*5113495bSYour Name 
3288*5113495bSYour Name /* Description		RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT
3289*5113495bSYour Name 
3290*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
3291*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
3292*5113495bSYour Name 			buffer used by the MSDU
3293*5113495bSYour Name 
3294*5113495bSYour Name 
3295*5113495bSYour Name 
3296*5113495bSYour Name 			Indicates an unsuccessful MAC source address search due
3297*5113495bSYour Name 			to the expiring of the search timer for this MSDU
3298*5113495bSYour Name 
3299*5113495bSYour Name 			<legal all>
3300*5113495bSYour Name */
3301*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_OFFSET 0x00000078
3302*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_LSB 24
3303*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_MASK 0x01000000
3304*5113495bSYour Name 
3305*5113495bSYour Name /* Description		RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID
3306*5113495bSYour Name 
3307*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
3308*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
3309*5113495bSYour Name 			buffer used by the MSDU
3310*5113495bSYour Name 
3311*5113495bSYour Name 
3312*5113495bSYour Name 
3313*5113495bSYour Name 			Indicates that OLE found a valid DA entry for this MSDU
3314*5113495bSYour Name 
3315*5113495bSYour Name 			<legal all>
3316*5113495bSYour Name */
3317*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_OFFSET 0x00000078
3318*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_LSB 25
3319*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_MASK 0x02000000
3320*5113495bSYour Name 
3321*5113495bSYour Name /* Description		RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC
3322*5113495bSYour Name 
3323*5113495bSYour Name 			Field Only valid if da_is_valid is set
3324*5113495bSYour Name 
3325*5113495bSYour Name 
3326*5113495bSYour Name 
3327*5113495bSYour Name 			Indicates the DA address was a Multicast of Broadcast
3328*5113495bSYour Name 			address for this MSDU
3329*5113495bSYour Name 
3330*5113495bSYour Name 			<legal all>
3331*5113495bSYour Name */
3332*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_OFFSET 0x00000078
3333*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_LSB 26
3334*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_MASK 0x04000000
3335*5113495bSYour Name 
3336*5113495bSYour Name /* Description		RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT
3337*5113495bSYour Name 
3338*5113495bSYour Name 			Parsed from RX_MSDU_END TLV . In the case MSDU spans
3339*5113495bSYour Name 			over multiple buffers, this field will be valid in the Last
3340*5113495bSYour Name 			buffer used by the MSDU
3341*5113495bSYour Name 
3342*5113495bSYour Name 
3343*5113495bSYour Name 
3344*5113495bSYour Name 			Indicates an unsuccessful MAC destination address search
3345*5113495bSYour Name 			due to the expiring of the search timer for this MSDU
3346*5113495bSYour Name 
3347*5113495bSYour Name 			<legal all>
3348*5113495bSYour Name */
3349*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_OFFSET 0x00000078
3350*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_LSB 27
3351*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_MASK 0x08000000
3352*5113495bSYour Name 
3353*5113495bSYour Name /* Description		RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A
3354*5113495bSYour Name 
3355*5113495bSYour Name 			<legal 0>
3356*5113495bSYour Name */
3357*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A_OFFSET 0x00000078
3358*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A_LSB 28
3359*5113495bSYour Name #define RX_MSDU_LINK_30_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A_MASK 0xf0000000
3360*5113495bSYour Name 
3361*5113495bSYour Name /* Description		RX_MSDU_LINK_31_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_RESERVED_1A
3362*5113495bSYour Name 
3363*5113495bSYour Name 			<legal 0>
3364*5113495bSYour Name */
3365*5113495bSYour Name #define RX_MSDU_LINK_31_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_RESERVED_1A_OFFSET 0x0000007c
3366*5113495bSYour Name #define RX_MSDU_LINK_31_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_RESERVED_1A_LSB 0
3367*5113495bSYour Name #define RX_MSDU_LINK_31_MSDU_5_RX_MSDU_DESC_INFO_DETAILS_RESERVED_1A_MASK 0xffffffff
3368*5113495bSYour Name 
3369*5113495bSYour Name 
3370*5113495bSYour Name #endif // _RX_MSDU_LINK_H_
3371