xref: /wlan-driver/fw-api/hw/qca9574/rx_reo_queue_ext.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1*5113495bSYour Name /*
2*5113495bSYour Name  * Copyright (c) 2021 The Linux Foundation. All rights reserved.
3*5113495bSYour Name  *
4*5113495bSYour Name  * Permission to use, copy, modify, and/or distribute this software for any
5*5113495bSYour Name  * purpose with or without fee is hereby granted, provided that the above
6*5113495bSYour Name  * copyright notice and this permission notice appear in all copies.
7*5113495bSYour Name  *
8*5113495bSYour Name  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9*5113495bSYour Name  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10*5113495bSYour Name  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11*5113495bSYour Name  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12*5113495bSYour Name  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13*5113495bSYour Name  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14*5113495bSYour Name  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15*5113495bSYour Name  */
16*5113495bSYour Name 
17*5113495bSYour Name // $ATH_LICENSE_HW_HDR_C$
18*5113495bSYour Name //
19*5113495bSYour Name // DO NOT EDIT!  This file is automatically generated
20*5113495bSYour Name //               These definitions are tied to a particular hardware layout
21*5113495bSYour Name 
22*5113495bSYour Name 
23*5113495bSYour Name #ifndef _RX_REO_QUEUE_EXT_H_
24*5113495bSYour Name #define _RX_REO_QUEUE_EXT_H_
25*5113495bSYour Name #if !defined(__ASSEMBLER__)
26*5113495bSYour Name #endif
27*5113495bSYour Name 
28*5113495bSYour Name #include "uniform_descriptor_header.h"
29*5113495bSYour Name #include "rx_mpdu_link_ptr.h"
30*5113495bSYour Name 
31*5113495bSYour Name // ################ START SUMMARY #################
32*5113495bSYour Name //
33*5113495bSYour Name //	Dword	Fields
34*5113495bSYour Name //	0	struct uniform_descriptor_header descriptor_header;
35*5113495bSYour Name //	1	reserved_1a[31:0]
36*5113495bSYour Name //	2-3	struct rx_mpdu_link_ptr mpdu_link_pointer_0;
37*5113495bSYour Name //	4-5	struct rx_mpdu_link_ptr mpdu_link_pointer_1;
38*5113495bSYour Name //	6-7	struct rx_mpdu_link_ptr mpdu_link_pointer_2;
39*5113495bSYour Name //	8-9	struct rx_mpdu_link_ptr mpdu_link_pointer_3;
40*5113495bSYour Name //	10-11	struct rx_mpdu_link_ptr mpdu_link_pointer_4;
41*5113495bSYour Name //	12-13	struct rx_mpdu_link_ptr mpdu_link_pointer_5;
42*5113495bSYour Name //	14-15	struct rx_mpdu_link_ptr mpdu_link_pointer_6;
43*5113495bSYour Name //	16-17	struct rx_mpdu_link_ptr mpdu_link_pointer_7;
44*5113495bSYour Name //	18-19	struct rx_mpdu_link_ptr mpdu_link_pointer_8;
45*5113495bSYour Name //	20-21	struct rx_mpdu_link_ptr mpdu_link_pointer_9;
46*5113495bSYour Name //	22-23	struct rx_mpdu_link_ptr mpdu_link_pointer_10;
47*5113495bSYour Name //	24-25	struct rx_mpdu_link_ptr mpdu_link_pointer_11;
48*5113495bSYour Name //	26-27	struct rx_mpdu_link_ptr mpdu_link_pointer_12;
49*5113495bSYour Name //	28-29	struct rx_mpdu_link_ptr mpdu_link_pointer_13;
50*5113495bSYour Name //	30-31	struct rx_mpdu_link_ptr mpdu_link_pointer_14;
51*5113495bSYour Name //
52*5113495bSYour Name // ################ END SUMMARY #################
53*5113495bSYour Name 
54*5113495bSYour Name #define NUM_OF_DWORDS_RX_REO_QUEUE_EXT 32
55*5113495bSYour Name 
56*5113495bSYour Name struct rx_reo_queue_ext {
57*5113495bSYour Name     struct            uniform_descriptor_header                       descriptor_header;
58*5113495bSYour Name              uint32_t reserved_1a                     : 32; //[31:0]
59*5113495bSYour Name     struct            rx_mpdu_link_ptr                       mpdu_link_pointer_0;
60*5113495bSYour Name     struct            rx_mpdu_link_ptr                       mpdu_link_pointer_1;
61*5113495bSYour Name     struct            rx_mpdu_link_ptr                       mpdu_link_pointer_2;
62*5113495bSYour Name     struct            rx_mpdu_link_ptr                       mpdu_link_pointer_3;
63*5113495bSYour Name     struct            rx_mpdu_link_ptr                       mpdu_link_pointer_4;
64*5113495bSYour Name     struct            rx_mpdu_link_ptr                       mpdu_link_pointer_5;
65*5113495bSYour Name     struct            rx_mpdu_link_ptr                       mpdu_link_pointer_6;
66*5113495bSYour Name     struct            rx_mpdu_link_ptr                       mpdu_link_pointer_7;
67*5113495bSYour Name     struct            rx_mpdu_link_ptr                       mpdu_link_pointer_8;
68*5113495bSYour Name     struct            rx_mpdu_link_ptr                       mpdu_link_pointer_9;
69*5113495bSYour Name     struct            rx_mpdu_link_ptr                       mpdu_link_pointer_10;
70*5113495bSYour Name     struct            rx_mpdu_link_ptr                       mpdu_link_pointer_11;
71*5113495bSYour Name     struct            rx_mpdu_link_ptr                       mpdu_link_pointer_12;
72*5113495bSYour Name     struct            rx_mpdu_link_ptr                       mpdu_link_pointer_13;
73*5113495bSYour Name     struct            rx_mpdu_link_ptr                       mpdu_link_pointer_14;
74*5113495bSYour Name };
75*5113495bSYour Name 
76*5113495bSYour Name /*
77*5113495bSYour Name 
78*5113495bSYour Name struct uniform_descriptor_header descriptor_header
79*5113495bSYour Name 
80*5113495bSYour Name 			Details about which module owns this struct.
81*5113495bSYour Name 
82*5113495bSYour Name 			Note that sub field Buffer_type shall be set to
83*5113495bSYour Name 			Receive_REO_queue_ext_descriptor
84*5113495bSYour Name 
85*5113495bSYour Name reserved_1a
86*5113495bSYour Name 
87*5113495bSYour Name 			<legal 0>
88*5113495bSYour Name 
89*5113495bSYour Name struct rx_mpdu_link_ptr mpdu_link_pointer_0
90*5113495bSYour Name 
91*5113495bSYour Name 			Consumer: REO
92*5113495bSYour Name 
93*5113495bSYour Name 			Producer: REO
94*5113495bSYour Name 
95*5113495bSYour Name 
96*5113495bSYour Name 
97*5113495bSYour Name 			Pointer to the next MPDU_link descriptor in the MPDU
98*5113495bSYour Name 			queue
99*5113495bSYour Name 
100*5113495bSYour Name struct rx_mpdu_link_ptr mpdu_link_pointer_1
101*5113495bSYour Name 
102*5113495bSYour Name 			Consumer: REO
103*5113495bSYour Name 
104*5113495bSYour Name 			Producer: REO
105*5113495bSYour Name 
106*5113495bSYour Name 
107*5113495bSYour Name 
108*5113495bSYour Name 			Pointer to the next MPDU_link descriptor in the MPDU
109*5113495bSYour Name 			queue
110*5113495bSYour Name 
111*5113495bSYour Name struct rx_mpdu_link_ptr mpdu_link_pointer_2
112*5113495bSYour Name 
113*5113495bSYour Name 			Consumer: REO
114*5113495bSYour Name 
115*5113495bSYour Name 			Producer: REO
116*5113495bSYour Name 
117*5113495bSYour Name 
118*5113495bSYour Name 
119*5113495bSYour Name 			Pointer to the next MPDU_link descriptor in the MPDU
120*5113495bSYour Name 			queue
121*5113495bSYour Name 
122*5113495bSYour Name struct rx_mpdu_link_ptr mpdu_link_pointer_3
123*5113495bSYour Name 
124*5113495bSYour Name 			Consumer: REO
125*5113495bSYour Name 
126*5113495bSYour Name 			Producer: REO
127*5113495bSYour Name 
128*5113495bSYour Name 
129*5113495bSYour Name 
130*5113495bSYour Name 			Pointer to the next MPDU_link descriptor in the MPDU
131*5113495bSYour Name 			queue
132*5113495bSYour Name 
133*5113495bSYour Name struct rx_mpdu_link_ptr mpdu_link_pointer_4
134*5113495bSYour Name 
135*5113495bSYour Name 			Consumer: REO
136*5113495bSYour Name 
137*5113495bSYour Name 			Producer: REO
138*5113495bSYour Name 
139*5113495bSYour Name 
140*5113495bSYour Name 
141*5113495bSYour Name 			Pointer to the next MPDU_link descriptor in the MPDU
142*5113495bSYour Name 			queue
143*5113495bSYour Name 
144*5113495bSYour Name struct rx_mpdu_link_ptr mpdu_link_pointer_5
145*5113495bSYour Name 
146*5113495bSYour Name 			Consumer: REO
147*5113495bSYour Name 
148*5113495bSYour Name 			Producer: REO
149*5113495bSYour Name 
150*5113495bSYour Name 
151*5113495bSYour Name 
152*5113495bSYour Name 			Pointer to the next MPDU_link descriptor in the MPDU
153*5113495bSYour Name 			queue
154*5113495bSYour Name 
155*5113495bSYour Name struct rx_mpdu_link_ptr mpdu_link_pointer_6
156*5113495bSYour Name 
157*5113495bSYour Name 			Consumer: REO
158*5113495bSYour Name 
159*5113495bSYour Name 			Producer: REO
160*5113495bSYour Name 
161*5113495bSYour Name 
162*5113495bSYour Name 
163*5113495bSYour Name 			Pointer to the next MPDU_link descriptor in the MPDU
164*5113495bSYour Name 			queue
165*5113495bSYour Name 
166*5113495bSYour Name struct rx_mpdu_link_ptr mpdu_link_pointer_7
167*5113495bSYour Name 
168*5113495bSYour Name 			Consumer: REO
169*5113495bSYour Name 
170*5113495bSYour Name 			Producer: REO
171*5113495bSYour Name 
172*5113495bSYour Name 
173*5113495bSYour Name 
174*5113495bSYour Name 			Pointer to the next MPDU_link descriptor in the MPDU
175*5113495bSYour Name 			queue
176*5113495bSYour Name 
177*5113495bSYour Name struct rx_mpdu_link_ptr mpdu_link_pointer_8
178*5113495bSYour Name 
179*5113495bSYour Name 			Consumer: REO
180*5113495bSYour Name 
181*5113495bSYour Name 			Producer: REO
182*5113495bSYour Name 
183*5113495bSYour Name 
184*5113495bSYour Name 
185*5113495bSYour Name 			Pointer to the next MPDU_link descriptor in the MPDU
186*5113495bSYour Name 			queue
187*5113495bSYour Name 
188*5113495bSYour Name struct rx_mpdu_link_ptr mpdu_link_pointer_9
189*5113495bSYour Name 
190*5113495bSYour Name 			Consumer: REO
191*5113495bSYour Name 
192*5113495bSYour Name 			Producer: REO
193*5113495bSYour Name 
194*5113495bSYour Name 
195*5113495bSYour Name 
196*5113495bSYour Name 			Pointer to the next MPDU_link descriptor in the MPDU
197*5113495bSYour Name 			queue
198*5113495bSYour Name 
199*5113495bSYour Name struct rx_mpdu_link_ptr mpdu_link_pointer_10
200*5113495bSYour Name 
201*5113495bSYour Name 			Consumer: REO
202*5113495bSYour Name 
203*5113495bSYour Name 			Producer: REO
204*5113495bSYour Name 
205*5113495bSYour Name 
206*5113495bSYour Name 
207*5113495bSYour Name 			Pointer to the next MPDU_link descriptor in the MPDU
208*5113495bSYour Name 			queue
209*5113495bSYour Name 
210*5113495bSYour Name struct rx_mpdu_link_ptr mpdu_link_pointer_11
211*5113495bSYour Name 
212*5113495bSYour Name 			Consumer: REO
213*5113495bSYour Name 
214*5113495bSYour Name 			Producer: REO
215*5113495bSYour Name 
216*5113495bSYour Name 
217*5113495bSYour Name 
218*5113495bSYour Name 			Pointer to the next MPDU_link descriptor in the MPDU
219*5113495bSYour Name 			queue
220*5113495bSYour Name 
221*5113495bSYour Name struct rx_mpdu_link_ptr mpdu_link_pointer_12
222*5113495bSYour Name 
223*5113495bSYour Name 			Consumer: REO
224*5113495bSYour Name 
225*5113495bSYour Name 			Producer: REO
226*5113495bSYour Name 
227*5113495bSYour Name 
228*5113495bSYour Name 
229*5113495bSYour Name 			Pointer to the next MPDU_link descriptor in the MPDU
230*5113495bSYour Name 			queue
231*5113495bSYour Name 
232*5113495bSYour Name struct rx_mpdu_link_ptr mpdu_link_pointer_13
233*5113495bSYour Name 
234*5113495bSYour Name 			Consumer: REO
235*5113495bSYour Name 
236*5113495bSYour Name 			Producer: REO
237*5113495bSYour Name 
238*5113495bSYour Name 
239*5113495bSYour Name 
240*5113495bSYour Name 			Pointer to the next MPDU_link descriptor in the MPDU
241*5113495bSYour Name 			queue
242*5113495bSYour Name 
243*5113495bSYour Name struct rx_mpdu_link_ptr mpdu_link_pointer_14
244*5113495bSYour Name 
245*5113495bSYour Name 			Consumer: REO
246*5113495bSYour Name 
247*5113495bSYour Name 			Producer: REO
248*5113495bSYour Name 
249*5113495bSYour Name 
250*5113495bSYour Name 
251*5113495bSYour Name 			Pointer to the next MPDU_link descriptor in the MPDU
252*5113495bSYour Name 			queue
253*5113495bSYour Name */
254*5113495bSYour Name 
255*5113495bSYour Name 
256*5113495bSYour Name  /* EXTERNAL REFERENCE : struct uniform_descriptor_header descriptor_header */
257*5113495bSYour Name 
258*5113495bSYour Name 
259*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_0_DESCRIPTOR_HEADER_OWNER
260*5113495bSYour Name 
261*5113495bSYour Name 			Consumer: In DEBUG mode: WBM, TQM, TXDMA, RXDMA, REO
262*5113495bSYour Name 
263*5113495bSYour Name 			Producer: In DEBUG mode: WBM, TQM, TXDMA, RXDMA, REO
264*5113495bSYour Name 
265*5113495bSYour Name 
266*5113495bSYour Name 
267*5113495bSYour Name 			The owner of this data structure:
268*5113495bSYour Name 
269*5113495bSYour Name 			<enum 0 WBM_owned> Buffer Manager currently owns this
270*5113495bSYour Name 			data structure.
271*5113495bSYour Name 
272*5113495bSYour Name 			<enum 1 SW_OR_FW_owned> Software of FW currently owns
273*5113495bSYour Name 			this data structure.
274*5113495bSYour Name 
275*5113495bSYour Name 			<enum 2 TQM_owned> Transmit Queue Manager currently owns
276*5113495bSYour Name 			this data structure.
277*5113495bSYour Name 
278*5113495bSYour Name 			<enum 3 RXDMA_owned> Receive DMA currently owns this
279*5113495bSYour Name 			data structure.
280*5113495bSYour Name 
281*5113495bSYour Name 			<enum 4 REO_owned> Reorder currently owns this data
282*5113495bSYour Name 			structure.
283*5113495bSYour Name 
284*5113495bSYour Name 			<enum 5 SWITCH_owned> SWITCH currently owns this data
285*5113495bSYour Name 			structure.
286*5113495bSYour Name 
287*5113495bSYour Name 
288*5113495bSYour Name 
289*5113495bSYour Name 			<legal 0-5>
290*5113495bSYour Name */
291*5113495bSYour Name #define RX_REO_QUEUE_EXT_0_DESCRIPTOR_HEADER_OWNER_OFFSET            0x00000000
292*5113495bSYour Name #define RX_REO_QUEUE_EXT_0_DESCRIPTOR_HEADER_OWNER_LSB               0
293*5113495bSYour Name #define RX_REO_QUEUE_EXT_0_DESCRIPTOR_HEADER_OWNER_MASK              0x0000000f
294*5113495bSYour Name 
295*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_0_DESCRIPTOR_HEADER_BUFFER_TYPE
296*5113495bSYour Name 
297*5113495bSYour Name 			Consumer: In DEBUG mode: WBM, TQM, TXDMA, RXDMA, REO
298*5113495bSYour Name 
299*5113495bSYour Name 			Producer: In DEBUG mode: WBM, TQM, TXDMA, RXDMA, REO
300*5113495bSYour Name 
301*5113495bSYour Name 
302*5113495bSYour Name 
303*5113495bSYour Name 			Field describing what contents format is of this
304*5113495bSYour Name 			descriptor
305*5113495bSYour Name 
306*5113495bSYour Name 
307*5113495bSYour Name 
308*5113495bSYour Name 			<enum 0 Transmit_MSDU_Link_descriptor >
309*5113495bSYour Name 
310*5113495bSYour Name 			<enum 1 Transmit_MPDU_Link_descriptor >
311*5113495bSYour Name 
312*5113495bSYour Name 			<enum 2 Transmit_MPDU_Queue_head_descriptor>
313*5113495bSYour Name 
314*5113495bSYour Name 			<enum 3 Transmit_MPDU_Queue_ext_descriptor>
315*5113495bSYour Name 
316*5113495bSYour Name 			<enum 4 Transmit_flow_descriptor>
317*5113495bSYour Name 
318*5113495bSYour Name 			<enum 5 Transmit_buffer > NOT TO BE USED:
319*5113495bSYour Name 
320*5113495bSYour Name 
321*5113495bSYour Name 
322*5113495bSYour Name 			<enum 6 Receive_MSDU_Link_descriptor >
323*5113495bSYour Name 
324*5113495bSYour Name 			<enum 7 Receive_MPDU_Link_descriptor >
325*5113495bSYour Name 
326*5113495bSYour Name 			<enum 8 Receive_REO_queue_descriptor >
327*5113495bSYour Name 
328*5113495bSYour Name 			<enum 9 Receive_REO_queue_ext_descriptor >
329*5113495bSYour Name 
330*5113495bSYour Name 
331*5113495bSYour Name 
332*5113495bSYour Name 			<enum 10 Receive_buffer >
333*5113495bSYour Name 
334*5113495bSYour Name 
335*5113495bSYour Name 
336*5113495bSYour Name 			<enum 11 Idle_link_list_entry>
337*5113495bSYour Name 
338*5113495bSYour Name 
339*5113495bSYour Name 
340*5113495bSYour Name 			<legal 0-11>
341*5113495bSYour Name */
342*5113495bSYour Name #define RX_REO_QUEUE_EXT_0_DESCRIPTOR_HEADER_BUFFER_TYPE_OFFSET      0x00000000
343*5113495bSYour Name #define RX_REO_QUEUE_EXT_0_DESCRIPTOR_HEADER_BUFFER_TYPE_LSB         4
344*5113495bSYour Name #define RX_REO_QUEUE_EXT_0_DESCRIPTOR_HEADER_BUFFER_TYPE_MASK        0x000000f0
345*5113495bSYour Name 
346*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_0_DESCRIPTOR_HEADER_RESERVED_0A
347*5113495bSYour Name 
348*5113495bSYour Name 			<legal 0>
349*5113495bSYour Name */
350*5113495bSYour Name #define RX_REO_QUEUE_EXT_0_DESCRIPTOR_HEADER_RESERVED_0A_OFFSET      0x00000000
351*5113495bSYour Name #define RX_REO_QUEUE_EXT_0_DESCRIPTOR_HEADER_RESERVED_0A_LSB         8
352*5113495bSYour Name #define RX_REO_QUEUE_EXT_0_DESCRIPTOR_HEADER_RESERVED_0A_MASK        0xffffff00
353*5113495bSYour Name 
354*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_1_RESERVED_1A
355*5113495bSYour Name 
356*5113495bSYour Name 			<legal 0>
357*5113495bSYour Name */
358*5113495bSYour Name #define RX_REO_QUEUE_EXT_1_RESERVED_1A_OFFSET                        0x00000004
359*5113495bSYour Name #define RX_REO_QUEUE_EXT_1_RESERVED_1A_LSB                           0
360*5113495bSYour Name #define RX_REO_QUEUE_EXT_1_RESERVED_1A_MASK                          0xffffffff
361*5113495bSYour Name 
362*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_mpdu_link_ptr mpdu_link_pointer_0 */
363*5113495bSYour Name 
364*5113495bSYour Name 
365*5113495bSYour Name  /* EXTERNAL REFERENCE : struct buffer_addr_info mpdu_link_desc_addr_info */
366*5113495bSYour Name 
367*5113495bSYour Name 
368*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_2_MPDU_LINK_POINTER_0_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0
369*5113495bSYour Name 
370*5113495bSYour Name 			Address (lower 32 bits) of the MSDU buffer OR
371*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
372*5113495bSYour Name 
373*5113495bSYour Name 
374*5113495bSYour Name 
375*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
376*5113495bSYour Name 
377*5113495bSYour Name 			<legal all>
378*5113495bSYour Name */
379*5113495bSYour Name #define RX_REO_QUEUE_EXT_2_MPDU_LINK_POINTER_0_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_OFFSET 0x00000008
380*5113495bSYour Name #define RX_REO_QUEUE_EXT_2_MPDU_LINK_POINTER_0_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_LSB 0
381*5113495bSYour Name #define RX_REO_QUEUE_EXT_2_MPDU_LINK_POINTER_0_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_MASK 0xffffffff
382*5113495bSYour Name 
383*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_3_MPDU_LINK_POINTER_0_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32
384*5113495bSYour Name 
385*5113495bSYour Name 			Address (upper 8 bits) of the MSDU buffer OR
386*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
387*5113495bSYour Name 
388*5113495bSYour Name 
389*5113495bSYour Name 
390*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
391*5113495bSYour Name 
392*5113495bSYour Name 			<legal all>
393*5113495bSYour Name */
394*5113495bSYour Name #define RX_REO_QUEUE_EXT_3_MPDU_LINK_POINTER_0_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_OFFSET 0x0000000c
395*5113495bSYour Name #define RX_REO_QUEUE_EXT_3_MPDU_LINK_POINTER_0_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_LSB 0
396*5113495bSYour Name #define RX_REO_QUEUE_EXT_3_MPDU_LINK_POINTER_0_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_MASK 0x000000ff
397*5113495bSYour Name 
398*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_3_MPDU_LINK_POINTER_0_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER
399*5113495bSYour Name 
400*5113495bSYour Name 			Consumer: WBM
401*5113495bSYour Name 
402*5113495bSYour Name 			Producer: SW/FW
403*5113495bSYour Name 
404*5113495bSYour Name 
405*5113495bSYour Name 
406*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
407*5113495bSYour Name 
408*5113495bSYour Name 
409*5113495bSYour Name 
410*5113495bSYour Name 			Indicates to which buffer manager the buffer OR
411*5113495bSYour Name 			MSDU_EXTENSION descriptor OR link descriptor that is being
412*5113495bSYour Name 			pointed to shall be returned after the frame has been
413*5113495bSYour Name 			processed. It is used by WBM for routing purposes.
414*5113495bSYour Name 
415*5113495bSYour Name 
416*5113495bSYour Name 
417*5113495bSYour Name 			<enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned
418*5113495bSYour Name 			to the WMB buffer idle list
419*5113495bSYour Name 
420*5113495bSYour Name 			<enum 1 WBM_IDLE_DESC_LIST> This buffer shall be
421*5113495bSYour Name 			returned to the WMB idle link descriptor idle list
422*5113495bSYour Name 
423*5113495bSYour Name 			<enum 2 FW_BM> This buffer shall be returned to the FW
424*5113495bSYour Name 
425*5113495bSYour Name 			<enum 3 SW0_BM> This buffer shall be returned to the SW,
426*5113495bSYour Name 			ring 0
427*5113495bSYour Name 
428*5113495bSYour Name 			<enum 4 SW1_BM> This buffer shall be returned to the SW,
429*5113495bSYour Name 			ring 1
430*5113495bSYour Name 
431*5113495bSYour Name 			<enum 5 SW2_BM> This buffer shall be returned to the SW,
432*5113495bSYour Name 			ring 2
433*5113495bSYour Name 
434*5113495bSYour Name 			<enum 6 SW3_BM> This buffer shall be returned to the SW,
435*5113495bSYour Name 			ring 3
436*5113495bSYour Name 
437*5113495bSYour Name 			<enum 7 SW4_BM> This buffer shall be returned to the SW,
438*5113495bSYour Name 			ring 3
439*5113495bSYour Name 
440*5113495bSYour Name 
441*5113495bSYour Name 
442*5113495bSYour Name 			<legal all>
443*5113495bSYour Name */
444*5113495bSYour Name #define RX_REO_QUEUE_EXT_3_MPDU_LINK_POINTER_0_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_OFFSET 0x0000000c
445*5113495bSYour Name #define RX_REO_QUEUE_EXT_3_MPDU_LINK_POINTER_0_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_LSB 8
446*5113495bSYour Name #define RX_REO_QUEUE_EXT_3_MPDU_LINK_POINTER_0_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_MASK 0x00000700
447*5113495bSYour Name 
448*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_3_MPDU_LINK_POINTER_0_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE
449*5113495bSYour Name 
450*5113495bSYour Name 			Cookie field exclusively used by SW.
451*5113495bSYour Name 
452*5113495bSYour Name 
453*5113495bSYour Name 
454*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
455*5113495bSYour Name 
456*5113495bSYour Name 
457*5113495bSYour Name 
458*5113495bSYour Name 			HW ignores the contents, accept that it passes the
459*5113495bSYour Name 			programmed value on to other descriptors together with the
460*5113495bSYour Name 			physical address
461*5113495bSYour Name 
462*5113495bSYour Name 
463*5113495bSYour Name 
464*5113495bSYour Name 			Field can be used by SW to for example associate the
465*5113495bSYour Name 			buffers physical address with the virtual address
466*5113495bSYour Name 
467*5113495bSYour Name 			The bit definitions as used by SW are within SW HLD
468*5113495bSYour Name 			specification
469*5113495bSYour Name 
470*5113495bSYour Name 
471*5113495bSYour Name 
472*5113495bSYour Name 			NOTE:
473*5113495bSYour Name 
474*5113495bSYour Name 			The three most significant bits can have a special
475*5113495bSYour Name 			meaning in case this struct is embedded in a TX_MPDU_DETAILS
476*5113495bSYour Name 			STRUCT, and field transmit_bw_restriction is set
477*5113495bSYour Name 
478*5113495bSYour Name 
479*5113495bSYour Name 
480*5113495bSYour Name 			In case of NON punctured transmission:
481*5113495bSYour Name 
482*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only
483*5113495bSYour Name 
484*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only
485*5113495bSYour Name 
486*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only
487*5113495bSYour Name 
488*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only
489*5113495bSYour Name 
490*5113495bSYour Name 
491*5113495bSYour Name 
492*5113495bSYour Name 			In case of punctured transmission:
493*5113495bSYour Name 
494*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only
495*5113495bSYour Name 
496*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only
497*5113495bSYour Name 
498*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only
499*5113495bSYour Name 
500*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only
501*5113495bSYour Name 
502*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only
503*5113495bSYour Name 
504*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only
505*5113495bSYour Name 
506*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only
507*5113495bSYour Name 
508*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only
509*5113495bSYour Name 
510*5113495bSYour Name 
511*5113495bSYour Name 
512*5113495bSYour Name 			Note: a punctured transmission is indicated by the
513*5113495bSYour Name 			presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler
514*5113495bSYour Name 			TLV
515*5113495bSYour Name 
516*5113495bSYour Name 
517*5113495bSYour Name 
518*5113495bSYour Name 			<legal all>
519*5113495bSYour Name */
520*5113495bSYour Name #define RX_REO_QUEUE_EXT_3_MPDU_LINK_POINTER_0_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_OFFSET 0x0000000c
521*5113495bSYour Name #define RX_REO_QUEUE_EXT_3_MPDU_LINK_POINTER_0_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_LSB 11
522*5113495bSYour Name #define RX_REO_QUEUE_EXT_3_MPDU_LINK_POINTER_0_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_MASK 0xfffff800
523*5113495bSYour Name 
524*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_mpdu_link_ptr mpdu_link_pointer_1 */
525*5113495bSYour Name 
526*5113495bSYour Name 
527*5113495bSYour Name  /* EXTERNAL REFERENCE : struct buffer_addr_info mpdu_link_desc_addr_info */
528*5113495bSYour Name 
529*5113495bSYour Name 
530*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_4_MPDU_LINK_POINTER_1_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0
531*5113495bSYour Name 
532*5113495bSYour Name 			Address (lower 32 bits) of the MSDU buffer OR
533*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
534*5113495bSYour Name 
535*5113495bSYour Name 
536*5113495bSYour Name 
537*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
538*5113495bSYour Name 
539*5113495bSYour Name 			<legal all>
540*5113495bSYour Name */
541*5113495bSYour Name #define RX_REO_QUEUE_EXT_4_MPDU_LINK_POINTER_1_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_OFFSET 0x00000010
542*5113495bSYour Name #define RX_REO_QUEUE_EXT_4_MPDU_LINK_POINTER_1_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_LSB 0
543*5113495bSYour Name #define RX_REO_QUEUE_EXT_4_MPDU_LINK_POINTER_1_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_MASK 0xffffffff
544*5113495bSYour Name 
545*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_5_MPDU_LINK_POINTER_1_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32
546*5113495bSYour Name 
547*5113495bSYour Name 			Address (upper 8 bits) of the MSDU buffer OR
548*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
549*5113495bSYour Name 
550*5113495bSYour Name 
551*5113495bSYour Name 
552*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
553*5113495bSYour Name 
554*5113495bSYour Name 			<legal all>
555*5113495bSYour Name */
556*5113495bSYour Name #define RX_REO_QUEUE_EXT_5_MPDU_LINK_POINTER_1_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_OFFSET 0x00000014
557*5113495bSYour Name #define RX_REO_QUEUE_EXT_5_MPDU_LINK_POINTER_1_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_LSB 0
558*5113495bSYour Name #define RX_REO_QUEUE_EXT_5_MPDU_LINK_POINTER_1_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_MASK 0x000000ff
559*5113495bSYour Name 
560*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_5_MPDU_LINK_POINTER_1_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER
561*5113495bSYour Name 
562*5113495bSYour Name 			Consumer: WBM
563*5113495bSYour Name 
564*5113495bSYour Name 			Producer: SW/FW
565*5113495bSYour Name 
566*5113495bSYour Name 
567*5113495bSYour Name 
568*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
569*5113495bSYour Name 
570*5113495bSYour Name 
571*5113495bSYour Name 
572*5113495bSYour Name 			Indicates to which buffer manager the buffer OR
573*5113495bSYour Name 			MSDU_EXTENSION descriptor OR link descriptor that is being
574*5113495bSYour Name 			pointed to shall be returned after the frame has been
575*5113495bSYour Name 			processed. It is used by WBM for routing purposes.
576*5113495bSYour Name 
577*5113495bSYour Name 
578*5113495bSYour Name 
579*5113495bSYour Name 			<enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned
580*5113495bSYour Name 			to the WMB buffer idle list
581*5113495bSYour Name 
582*5113495bSYour Name 			<enum 1 WBM_IDLE_DESC_LIST> This buffer shall be
583*5113495bSYour Name 			returned to the WMB idle link descriptor idle list
584*5113495bSYour Name 
585*5113495bSYour Name 			<enum 2 FW_BM> This buffer shall be returned to the FW
586*5113495bSYour Name 
587*5113495bSYour Name 			<enum 3 SW0_BM> This buffer shall be returned to the SW,
588*5113495bSYour Name 			ring 0
589*5113495bSYour Name 
590*5113495bSYour Name 			<enum 4 SW1_BM> This buffer shall be returned to the SW,
591*5113495bSYour Name 			ring 1
592*5113495bSYour Name 
593*5113495bSYour Name 			<enum 5 SW2_BM> This buffer shall be returned to the SW,
594*5113495bSYour Name 			ring 2
595*5113495bSYour Name 
596*5113495bSYour Name 			<enum 6 SW3_BM> This buffer shall be returned to the SW,
597*5113495bSYour Name 			ring 3
598*5113495bSYour Name 
599*5113495bSYour Name 			<enum 7 SW4_BM> This buffer shall be returned to the SW,
600*5113495bSYour Name 			ring 3
601*5113495bSYour Name 
602*5113495bSYour Name 
603*5113495bSYour Name 
604*5113495bSYour Name 			<legal all>
605*5113495bSYour Name */
606*5113495bSYour Name #define RX_REO_QUEUE_EXT_5_MPDU_LINK_POINTER_1_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_OFFSET 0x00000014
607*5113495bSYour Name #define RX_REO_QUEUE_EXT_5_MPDU_LINK_POINTER_1_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_LSB 8
608*5113495bSYour Name #define RX_REO_QUEUE_EXT_5_MPDU_LINK_POINTER_1_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_MASK 0x00000700
609*5113495bSYour Name 
610*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_5_MPDU_LINK_POINTER_1_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE
611*5113495bSYour Name 
612*5113495bSYour Name 			Cookie field exclusively used by SW.
613*5113495bSYour Name 
614*5113495bSYour Name 
615*5113495bSYour Name 
616*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
617*5113495bSYour Name 
618*5113495bSYour Name 
619*5113495bSYour Name 
620*5113495bSYour Name 			HW ignores the contents, accept that it passes the
621*5113495bSYour Name 			programmed value on to other descriptors together with the
622*5113495bSYour Name 			physical address
623*5113495bSYour Name 
624*5113495bSYour Name 
625*5113495bSYour Name 
626*5113495bSYour Name 			Field can be used by SW to for example associate the
627*5113495bSYour Name 			buffers physical address with the virtual address
628*5113495bSYour Name 
629*5113495bSYour Name 			The bit definitions as used by SW are within SW HLD
630*5113495bSYour Name 			specification
631*5113495bSYour Name 
632*5113495bSYour Name 
633*5113495bSYour Name 
634*5113495bSYour Name 			NOTE:
635*5113495bSYour Name 
636*5113495bSYour Name 			The three most significant bits can have a special
637*5113495bSYour Name 			meaning in case this struct is embedded in a TX_MPDU_DETAILS
638*5113495bSYour Name 			STRUCT, and field transmit_bw_restriction is set
639*5113495bSYour Name 
640*5113495bSYour Name 
641*5113495bSYour Name 
642*5113495bSYour Name 			In case of NON punctured transmission:
643*5113495bSYour Name 
644*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only
645*5113495bSYour Name 
646*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only
647*5113495bSYour Name 
648*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only
649*5113495bSYour Name 
650*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only
651*5113495bSYour Name 
652*5113495bSYour Name 
653*5113495bSYour Name 
654*5113495bSYour Name 			In case of punctured transmission:
655*5113495bSYour Name 
656*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only
657*5113495bSYour Name 
658*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only
659*5113495bSYour Name 
660*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only
661*5113495bSYour Name 
662*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only
663*5113495bSYour Name 
664*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only
665*5113495bSYour Name 
666*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only
667*5113495bSYour Name 
668*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only
669*5113495bSYour Name 
670*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only
671*5113495bSYour Name 
672*5113495bSYour Name 
673*5113495bSYour Name 
674*5113495bSYour Name 			Note: a punctured transmission is indicated by the
675*5113495bSYour Name 			presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler
676*5113495bSYour Name 			TLV
677*5113495bSYour Name 
678*5113495bSYour Name 
679*5113495bSYour Name 
680*5113495bSYour Name 			<legal all>
681*5113495bSYour Name */
682*5113495bSYour Name #define RX_REO_QUEUE_EXT_5_MPDU_LINK_POINTER_1_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_OFFSET 0x00000014
683*5113495bSYour Name #define RX_REO_QUEUE_EXT_5_MPDU_LINK_POINTER_1_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_LSB 11
684*5113495bSYour Name #define RX_REO_QUEUE_EXT_5_MPDU_LINK_POINTER_1_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_MASK 0xfffff800
685*5113495bSYour Name 
686*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_mpdu_link_ptr mpdu_link_pointer_2 */
687*5113495bSYour Name 
688*5113495bSYour Name 
689*5113495bSYour Name  /* EXTERNAL REFERENCE : struct buffer_addr_info mpdu_link_desc_addr_info */
690*5113495bSYour Name 
691*5113495bSYour Name 
692*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_6_MPDU_LINK_POINTER_2_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0
693*5113495bSYour Name 
694*5113495bSYour Name 			Address (lower 32 bits) of the MSDU buffer OR
695*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
696*5113495bSYour Name 
697*5113495bSYour Name 
698*5113495bSYour Name 
699*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
700*5113495bSYour Name 
701*5113495bSYour Name 			<legal all>
702*5113495bSYour Name */
703*5113495bSYour Name #define RX_REO_QUEUE_EXT_6_MPDU_LINK_POINTER_2_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_OFFSET 0x00000018
704*5113495bSYour Name #define RX_REO_QUEUE_EXT_6_MPDU_LINK_POINTER_2_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_LSB 0
705*5113495bSYour Name #define RX_REO_QUEUE_EXT_6_MPDU_LINK_POINTER_2_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_MASK 0xffffffff
706*5113495bSYour Name 
707*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_7_MPDU_LINK_POINTER_2_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32
708*5113495bSYour Name 
709*5113495bSYour Name 			Address (upper 8 bits) of the MSDU buffer OR
710*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
711*5113495bSYour Name 
712*5113495bSYour Name 
713*5113495bSYour Name 
714*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
715*5113495bSYour Name 
716*5113495bSYour Name 			<legal all>
717*5113495bSYour Name */
718*5113495bSYour Name #define RX_REO_QUEUE_EXT_7_MPDU_LINK_POINTER_2_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_OFFSET 0x0000001c
719*5113495bSYour Name #define RX_REO_QUEUE_EXT_7_MPDU_LINK_POINTER_2_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_LSB 0
720*5113495bSYour Name #define RX_REO_QUEUE_EXT_7_MPDU_LINK_POINTER_2_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_MASK 0x000000ff
721*5113495bSYour Name 
722*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_7_MPDU_LINK_POINTER_2_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER
723*5113495bSYour Name 
724*5113495bSYour Name 			Consumer: WBM
725*5113495bSYour Name 
726*5113495bSYour Name 			Producer: SW/FW
727*5113495bSYour Name 
728*5113495bSYour Name 
729*5113495bSYour Name 
730*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
731*5113495bSYour Name 
732*5113495bSYour Name 
733*5113495bSYour Name 
734*5113495bSYour Name 			Indicates to which buffer manager the buffer OR
735*5113495bSYour Name 			MSDU_EXTENSION descriptor OR link descriptor that is being
736*5113495bSYour Name 			pointed to shall be returned after the frame has been
737*5113495bSYour Name 			processed. It is used by WBM for routing purposes.
738*5113495bSYour Name 
739*5113495bSYour Name 
740*5113495bSYour Name 
741*5113495bSYour Name 			<enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned
742*5113495bSYour Name 			to the WMB buffer idle list
743*5113495bSYour Name 
744*5113495bSYour Name 			<enum 1 WBM_IDLE_DESC_LIST> This buffer shall be
745*5113495bSYour Name 			returned to the WMB idle link descriptor idle list
746*5113495bSYour Name 
747*5113495bSYour Name 			<enum 2 FW_BM> This buffer shall be returned to the FW
748*5113495bSYour Name 
749*5113495bSYour Name 			<enum 3 SW0_BM> This buffer shall be returned to the SW,
750*5113495bSYour Name 			ring 0
751*5113495bSYour Name 
752*5113495bSYour Name 			<enum 4 SW1_BM> This buffer shall be returned to the SW,
753*5113495bSYour Name 			ring 1
754*5113495bSYour Name 
755*5113495bSYour Name 			<enum 5 SW2_BM> This buffer shall be returned to the SW,
756*5113495bSYour Name 			ring 2
757*5113495bSYour Name 
758*5113495bSYour Name 			<enum 6 SW3_BM> This buffer shall be returned to the SW,
759*5113495bSYour Name 			ring 3
760*5113495bSYour Name 
761*5113495bSYour Name 			<enum 7 SW4_BM> This buffer shall be returned to the SW,
762*5113495bSYour Name 			ring 3
763*5113495bSYour Name 
764*5113495bSYour Name 
765*5113495bSYour Name 
766*5113495bSYour Name 			<legal all>
767*5113495bSYour Name */
768*5113495bSYour Name #define RX_REO_QUEUE_EXT_7_MPDU_LINK_POINTER_2_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_OFFSET 0x0000001c
769*5113495bSYour Name #define RX_REO_QUEUE_EXT_7_MPDU_LINK_POINTER_2_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_LSB 8
770*5113495bSYour Name #define RX_REO_QUEUE_EXT_7_MPDU_LINK_POINTER_2_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_MASK 0x00000700
771*5113495bSYour Name 
772*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_7_MPDU_LINK_POINTER_2_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE
773*5113495bSYour Name 
774*5113495bSYour Name 			Cookie field exclusively used by SW.
775*5113495bSYour Name 
776*5113495bSYour Name 
777*5113495bSYour Name 
778*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
779*5113495bSYour Name 
780*5113495bSYour Name 
781*5113495bSYour Name 
782*5113495bSYour Name 			HW ignores the contents, accept that it passes the
783*5113495bSYour Name 			programmed value on to other descriptors together with the
784*5113495bSYour Name 			physical address
785*5113495bSYour Name 
786*5113495bSYour Name 
787*5113495bSYour Name 
788*5113495bSYour Name 			Field can be used by SW to for example associate the
789*5113495bSYour Name 			buffers physical address with the virtual address
790*5113495bSYour Name 
791*5113495bSYour Name 			The bit definitions as used by SW are within SW HLD
792*5113495bSYour Name 			specification
793*5113495bSYour Name 
794*5113495bSYour Name 
795*5113495bSYour Name 
796*5113495bSYour Name 			NOTE:
797*5113495bSYour Name 
798*5113495bSYour Name 			The three most significant bits can have a special
799*5113495bSYour Name 			meaning in case this struct is embedded in a TX_MPDU_DETAILS
800*5113495bSYour Name 			STRUCT, and field transmit_bw_restriction is set
801*5113495bSYour Name 
802*5113495bSYour Name 
803*5113495bSYour Name 
804*5113495bSYour Name 			In case of NON punctured transmission:
805*5113495bSYour Name 
806*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only
807*5113495bSYour Name 
808*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only
809*5113495bSYour Name 
810*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only
811*5113495bSYour Name 
812*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only
813*5113495bSYour Name 
814*5113495bSYour Name 
815*5113495bSYour Name 
816*5113495bSYour Name 			In case of punctured transmission:
817*5113495bSYour Name 
818*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only
819*5113495bSYour Name 
820*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only
821*5113495bSYour Name 
822*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only
823*5113495bSYour Name 
824*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only
825*5113495bSYour Name 
826*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only
827*5113495bSYour Name 
828*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only
829*5113495bSYour Name 
830*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only
831*5113495bSYour Name 
832*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only
833*5113495bSYour Name 
834*5113495bSYour Name 
835*5113495bSYour Name 
836*5113495bSYour Name 			Note: a punctured transmission is indicated by the
837*5113495bSYour Name 			presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler
838*5113495bSYour Name 			TLV
839*5113495bSYour Name 
840*5113495bSYour Name 
841*5113495bSYour Name 
842*5113495bSYour Name 			<legal all>
843*5113495bSYour Name */
844*5113495bSYour Name #define RX_REO_QUEUE_EXT_7_MPDU_LINK_POINTER_2_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_OFFSET 0x0000001c
845*5113495bSYour Name #define RX_REO_QUEUE_EXT_7_MPDU_LINK_POINTER_2_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_LSB 11
846*5113495bSYour Name #define RX_REO_QUEUE_EXT_7_MPDU_LINK_POINTER_2_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_MASK 0xfffff800
847*5113495bSYour Name 
848*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_mpdu_link_ptr mpdu_link_pointer_3 */
849*5113495bSYour Name 
850*5113495bSYour Name 
851*5113495bSYour Name  /* EXTERNAL REFERENCE : struct buffer_addr_info mpdu_link_desc_addr_info */
852*5113495bSYour Name 
853*5113495bSYour Name 
854*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_8_MPDU_LINK_POINTER_3_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0
855*5113495bSYour Name 
856*5113495bSYour Name 			Address (lower 32 bits) of the MSDU buffer OR
857*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
858*5113495bSYour Name 
859*5113495bSYour Name 
860*5113495bSYour Name 
861*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
862*5113495bSYour Name 
863*5113495bSYour Name 			<legal all>
864*5113495bSYour Name */
865*5113495bSYour Name #define RX_REO_QUEUE_EXT_8_MPDU_LINK_POINTER_3_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_OFFSET 0x00000020
866*5113495bSYour Name #define RX_REO_QUEUE_EXT_8_MPDU_LINK_POINTER_3_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_LSB 0
867*5113495bSYour Name #define RX_REO_QUEUE_EXT_8_MPDU_LINK_POINTER_3_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_MASK 0xffffffff
868*5113495bSYour Name 
869*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_9_MPDU_LINK_POINTER_3_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32
870*5113495bSYour Name 
871*5113495bSYour Name 			Address (upper 8 bits) of the MSDU buffer OR
872*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
873*5113495bSYour Name 
874*5113495bSYour Name 
875*5113495bSYour Name 
876*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
877*5113495bSYour Name 
878*5113495bSYour Name 			<legal all>
879*5113495bSYour Name */
880*5113495bSYour Name #define RX_REO_QUEUE_EXT_9_MPDU_LINK_POINTER_3_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_OFFSET 0x00000024
881*5113495bSYour Name #define RX_REO_QUEUE_EXT_9_MPDU_LINK_POINTER_3_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_LSB 0
882*5113495bSYour Name #define RX_REO_QUEUE_EXT_9_MPDU_LINK_POINTER_3_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_MASK 0x000000ff
883*5113495bSYour Name 
884*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_9_MPDU_LINK_POINTER_3_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER
885*5113495bSYour Name 
886*5113495bSYour Name 			Consumer: WBM
887*5113495bSYour Name 
888*5113495bSYour Name 			Producer: SW/FW
889*5113495bSYour Name 
890*5113495bSYour Name 
891*5113495bSYour Name 
892*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
893*5113495bSYour Name 
894*5113495bSYour Name 
895*5113495bSYour Name 
896*5113495bSYour Name 			Indicates to which buffer manager the buffer OR
897*5113495bSYour Name 			MSDU_EXTENSION descriptor OR link descriptor that is being
898*5113495bSYour Name 			pointed to shall be returned after the frame has been
899*5113495bSYour Name 			processed. It is used by WBM for routing purposes.
900*5113495bSYour Name 
901*5113495bSYour Name 
902*5113495bSYour Name 
903*5113495bSYour Name 			<enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned
904*5113495bSYour Name 			to the WMB buffer idle list
905*5113495bSYour Name 
906*5113495bSYour Name 			<enum 1 WBM_IDLE_DESC_LIST> This buffer shall be
907*5113495bSYour Name 			returned to the WMB idle link descriptor idle list
908*5113495bSYour Name 
909*5113495bSYour Name 			<enum 2 FW_BM> This buffer shall be returned to the FW
910*5113495bSYour Name 
911*5113495bSYour Name 			<enum 3 SW0_BM> This buffer shall be returned to the SW,
912*5113495bSYour Name 			ring 0
913*5113495bSYour Name 
914*5113495bSYour Name 			<enum 4 SW1_BM> This buffer shall be returned to the SW,
915*5113495bSYour Name 			ring 1
916*5113495bSYour Name 
917*5113495bSYour Name 			<enum 5 SW2_BM> This buffer shall be returned to the SW,
918*5113495bSYour Name 			ring 2
919*5113495bSYour Name 
920*5113495bSYour Name 			<enum 6 SW3_BM> This buffer shall be returned to the SW,
921*5113495bSYour Name 			ring 3
922*5113495bSYour Name 
923*5113495bSYour Name 			<enum 7 SW4_BM> This buffer shall be returned to the SW,
924*5113495bSYour Name 			ring 3
925*5113495bSYour Name 
926*5113495bSYour Name 
927*5113495bSYour Name 
928*5113495bSYour Name 			<legal all>
929*5113495bSYour Name */
930*5113495bSYour Name #define RX_REO_QUEUE_EXT_9_MPDU_LINK_POINTER_3_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_OFFSET 0x00000024
931*5113495bSYour Name #define RX_REO_QUEUE_EXT_9_MPDU_LINK_POINTER_3_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_LSB 8
932*5113495bSYour Name #define RX_REO_QUEUE_EXT_9_MPDU_LINK_POINTER_3_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_MASK 0x00000700
933*5113495bSYour Name 
934*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_9_MPDU_LINK_POINTER_3_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE
935*5113495bSYour Name 
936*5113495bSYour Name 			Cookie field exclusively used by SW.
937*5113495bSYour Name 
938*5113495bSYour Name 
939*5113495bSYour Name 
940*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
941*5113495bSYour Name 
942*5113495bSYour Name 
943*5113495bSYour Name 
944*5113495bSYour Name 			HW ignores the contents, accept that it passes the
945*5113495bSYour Name 			programmed value on to other descriptors together with the
946*5113495bSYour Name 			physical address
947*5113495bSYour Name 
948*5113495bSYour Name 
949*5113495bSYour Name 
950*5113495bSYour Name 			Field can be used by SW to for example associate the
951*5113495bSYour Name 			buffers physical address with the virtual address
952*5113495bSYour Name 
953*5113495bSYour Name 			The bit definitions as used by SW are within SW HLD
954*5113495bSYour Name 			specification
955*5113495bSYour Name 
956*5113495bSYour Name 
957*5113495bSYour Name 
958*5113495bSYour Name 			NOTE:
959*5113495bSYour Name 
960*5113495bSYour Name 			The three most significant bits can have a special
961*5113495bSYour Name 			meaning in case this struct is embedded in a TX_MPDU_DETAILS
962*5113495bSYour Name 			STRUCT, and field transmit_bw_restriction is set
963*5113495bSYour Name 
964*5113495bSYour Name 
965*5113495bSYour Name 
966*5113495bSYour Name 			In case of NON punctured transmission:
967*5113495bSYour Name 
968*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only
969*5113495bSYour Name 
970*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only
971*5113495bSYour Name 
972*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only
973*5113495bSYour Name 
974*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only
975*5113495bSYour Name 
976*5113495bSYour Name 
977*5113495bSYour Name 
978*5113495bSYour Name 			In case of punctured transmission:
979*5113495bSYour Name 
980*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only
981*5113495bSYour Name 
982*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only
983*5113495bSYour Name 
984*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only
985*5113495bSYour Name 
986*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only
987*5113495bSYour Name 
988*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only
989*5113495bSYour Name 
990*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only
991*5113495bSYour Name 
992*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only
993*5113495bSYour Name 
994*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only
995*5113495bSYour Name 
996*5113495bSYour Name 
997*5113495bSYour Name 
998*5113495bSYour Name 			Note: a punctured transmission is indicated by the
999*5113495bSYour Name 			presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler
1000*5113495bSYour Name 			TLV
1001*5113495bSYour Name 
1002*5113495bSYour Name 
1003*5113495bSYour Name 
1004*5113495bSYour Name 			<legal all>
1005*5113495bSYour Name */
1006*5113495bSYour Name #define RX_REO_QUEUE_EXT_9_MPDU_LINK_POINTER_3_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_OFFSET 0x00000024
1007*5113495bSYour Name #define RX_REO_QUEUE_EXT_9_MPDU_LINK_POINTER_3_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_LSB 11
1008*5113495bSYour Name #define RX_REO_QUEUE_EXT_9_MPDU_LINK_POINTER_3_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_MASK 0xfffff800
1009*5113495bSYour Name 
1010*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_mpdu_link_ptr mpdu_link_pointer_4 */
1011*5113495bSYour Name 
1012*5113495bSYour Name 
1013*5113495bSYour Name  /* EXTERNAL REFERENCE : struct buffer_addr_info mpdu_link_desc_addr_info */
1014*5113495bSYour Name 
1015*5113495bSYour Name 
1016*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_10_MPDU_LINK_POINTER_4_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0
1017*5113495bSYour Name 
1018*5113495bSYour Name 			Address (lower 32 bits) of the MSDU buffer OR
1019*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
1020*5113495bSYour Name 
1021*5113495bSYour Name 
1022*5113495bSYour Name 
1023*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1024*5113495bSYour Name 
1025*5113495bSYour Name 			<legal all>
1026*5113495bSYour Name */
1027*5113495bSYour Name #define RX_REO_QUEUE_EXT_10_MPDU_LINK_POINTER_4_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_OFFSET 0x00000028
1028*5113495bSYour Name #define RX_REO_QUEUE_EXT_10_MPDU_LINK_POINTER_4_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_LSB 0
1029*5113495bSYour Name #define RX_REO_QUEUE_EXT_10_MPDU_LINK_POINTER_4_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_MASK 0xffffffff
1030*5113495bSYour Name 
1031*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_11_MPDU_LINK_POINTER_4_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32
1032*5113495bSYour Name 
1033*5113495bSYour Name 			Address (upper 8 bits) of the MSDU buffer OR
1034*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
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 			<legal all>
1041*5113495bSYour Name */
1042*5113495bSYour Name #define RX_REO_QUEUE_EXT_11_MPDU_LINK_POINTER_4_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_OFFSET 0x0000002c
1043*5113495bSYour Name #define RX_REO_QUEUE_EXT_11_MPDU_LINK_POINTER_4_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_LSB 0
1044*5113495bSYour Name #define RX_REO_QUEUE_EXT_11_MPDU_LINK_POINTER_4_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_MASK 0x000000ff
1045*5113495bSYour Name 
1046*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_11_MPDU_LINK_POINTER_4_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER
1047*5113495bSYour Name 
1048*5113495bSYour Name 			Consumer: WBM
1049*5113495bSYour Name 
1050*5113495bSYour Name 			Producer: SW/FW
1051*5113495bSYour Name 
1052*5113495bSYour Name 
1053*5113495bSYour Name 
1054*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1055*5113495bSYour Name 
1056*5113495bSYour Name 
1057*5113495bSYour Name 
1058*5113495bSYour Name 			Indicates to which buffer manager the buffer OR
1059*5113495bSYour Name 			MSDU_EXTENSION descriptor OR link descriptor that is being
1060*5113495bSYour Name 			pointed to shall be returned after the frame has been
1061*5113495bSYour Name 			processed. It is used by WBM for routing purposes.
1062*5113495bSYour Name 
1063*5113495bSYour Name 
1064*5113495bSYour Name 
1065*5113495bSYour Name 			<enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned
1066*5113495bSYour Name 			to the WMB buffer idle list
1067*5113495bSYour Name 
1068*5113495bSYour Name 			<enum 1 WBM_IDLE_DESC_LIST> This buffer shall be
1069*5113495bSYour Name 			returned to the WMB idle link descriptor idle list
1070*5113495bSYour Name 
1071*5113495bSYour Name 			<enum 2 FW_BM> This buffer shall be returned to the FW
1072*5113495bSYour Name 
1073*5113495bSYour Name 			<enum 3 SW0_BM> This buffer shall be returned to the SW,
1074*5113495bSYour Name 			ring 0
1075*5113495bSYour Name 
1076*5113495bSYour Name 			<enum 4 SW1_BM> This buffer shall be returned to the SW,
1077*5113495bSYour Name 			ring 1
1078*5113495bSYour Name 
1079*5113495bSYour Name 			<enum 5 SW2_BM> This buffer shall be returned to the SW,
1080*5113495bSYour Name 			ring 2
1081*5113495bSYour Name 
1082*5113495bSYour Name 			<enum 6 SW3_BM> This buffer shall be returned to the SW,
1083*5113495bSYour Name 			ring 3
1084*5113495bSYour Name 
1085*5113495bSYour Name 			<enum 7 SW4_BM> This buffer shall be returned to the SW,
1086*5113495bSYour Name 			ring 3
1087*5113495bSYour Name 
1088*5113495bSYour Name 
1089*5113495bSYour Name 
1090*5113495bSYour Name 			<legal all>
1091*5113495bSYour Name */
1092*5113495bSYour Name #define RX_REO_QUEUE_EXT_11_MPDU_LINK_POINTER_4_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_OFFSET 0x0000002c
1093*5113495bSYour Name #define RX_REO_QUEUE_EXT_11_MPDU_LINK_POINTER_4_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_LSB 8
1094*5113495bSYour Name #define RX_REO_QUEUE_EXT_11_MPDU_LINK_POINTER_4_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_MASK 0x00000700
1095*5113495bSYour Name 
1096*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_11_MPDU_LINK_POINTER_4_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE
1097*5113495bSYour Name 
1098*5113495bSYour Name 			Cookie field exclusively used by SW.
1099*5113495bSYour Name 
1100*5113495bSYour Name 
1101*5113495bSYour Name 
1102*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1103*5113495bSYour Name 
1104*5113495bSYour Name 
1105*5113495bSYour Name 
1106*5113495bSYour Name 			HW ignores the contents, accept that it passes the
1107*5113495bSYour Name 			programmed value on to other descriptors together with the
1108*5113495bSYour Name 			physical address
1109*5113495bSYour Name 
1110*5113495bSYour Name 
1111*5113495bSYour Name 
1112*5113495bSYour Name 			Field can be used by SW to for example associate the
1113*5113495bSYour Name 			buffers physical address with the virtual address
1114*5113495bSYour Name 
1115*5113495bSYour Name 			The bit definitions as used by SW are within SW HLD
1116*5113495bSYour Name 			specification
1117*5113495bSYour Name 
1118*5113495bSYour Name 
1119*5113495bSYour Name 
1120*5113495bSYour Name 			NOTE:
1121*5113495bSYour Name 
1122*5113495bSYour Name 			The three most significant bits can have a special
1123*5113495bSYour Name 			meaning in case this struct is embedded in a TX_MPDU_DETAILS
1124*5113495bSYour Name 			STRUCT, and field transmit_bw_restriction is set
1125*5113495bSYour Name 
1126*5113495bSYour Name 
1127*5113495bSYour Name 
1128*5113495bSYour Name 			In case of NON punctured transmission:
1129*5113495bSYour Name 
1130*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only
1131*5113495bSYour Name 
1132*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only
1133*5113495bSYour Name 
1134*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only
1135*5113495bSYour Name 
1136*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only
1137*5113495bSYour Name 
1138*5113495bSYour Name 
1139*5113495bSYour Name 
1140*5113495bSYour Name 			In case of punctured transmission:
1141*5113495bSYour Name 
1142*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only
1143*5113495bSYour Name 
1144*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only
1145*5113495bSYour Name 
1146*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only
1147*5113495bSYour Name 
1148*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only
1149*5113495bSYour Name 
1150*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only
1151*5113495bSYour Name 
1152*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only
1153*5113495bSYour Name 
1154*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only
1155*5113495bSYour Name 
1156*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only
1157*5113495bSYour Name 
1158*5113495bSYour Name 
1159*5113495bSYour Name 
1160*5113495bSYour Name 			Note: a punctured transmission is indicated by the
1161*5113495bSYour Name 			presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler
1162*5113495bSYour Name 			TLV
1163*5113495bSYour Name 
1164*5113495bSYour Name 
1165*5113495bSYour Name 
1166*5113495bSYour Name 			<legal all>
1167*5113495bSYour Name */
1168*5113495bSYour Name #define RX_REO_QUEUE_EXT_11_MPDU_LINK_POINTER_4_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_OFFSET 0x0000002c
1169*5113495bSYour Name #define RX_REO_QUEUE_EXT_11_MPDU_LINK_POINTER_4_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_LSB 11
1170*5113495bSYour Name #define RX_REO_QUEUE_EXT_11_MPDU_LINK_POINTER_4_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_MASK 0xfffff800
1171*5113495bSYour Name 
1172*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_mpdu_link_ptr mpdu_link_pointer_5 */
1173*5113495bSYour Name 
1174*5113495bSYour Name 
1175*5113495bSYour Name  /* EXTERNAL REFERENCE : struct buffer_addr_info mpdu_link_desc_addr_info */
1176*5113495bSYour Name 
1177*5113495bSYour Name 
1178*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_12_MPDU_LINK_POINTER_5_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0
1179*5113495bSYour Name 
1180*5113495bSYour Name 			Address (lower 32 bits) of the MSDU buffer OR
1181*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
1182*5113495bSYour Name 
1183*5113495bSYour Name 
1184*5113495bSYour Name 
1185*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1186*5113495bSYour Name 
1187*5113495bSYour Name 			<legal all>
1188*5113495bSYour Name */
1189*5113495bSYour Name #define RX_REO_QUEUE_EXT_12_MPDU_LINK_POINTER_5_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_OFFSET 0x00000030
1190*5113495bSYour Name #define RX_REO_QUEUE_EXT_12_MPDU_LINK_POINTER_5_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_LSB 0
1191*5113495bSYour Name #define RX_REO_QUEUE_EXT_12_MPDU_LINK_POINTER_5_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_MASK 0xffffffff
1192*5113495bSYour Name 
1193*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_13_MPDU_LINK_POINTER_5_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32
1194*5113495bSYour Name 
1195*5113495bSYour Name 			Address (upper 8 bits) of the MSDU buffer OR
1196*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
1197*5113495bSYour Name 
1198*5113495bSYour Name 
1199*5113495bSYour Name 
1200*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1201*5113495bSYour Name 
1202*5113495bSYour Name 			<legal all>
1203*5113495bSYour Name */
1204*5113495bSYour Name #define RX_REO_QUEUE_EXT_13_MPDU_LINK_POINTER_5_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_OFFSET 0x00000034
1205*5113495bSYour Name #define RX_REO_QUEUE_EXT_13_MPDU_LINK_POINTER_5_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_LSB 0
1206*5113495bSYour Name #define RX_REO_QUEUE_EXT_13_MPDU_LINK_POINTER_5_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_MASK 0x000000ff
1207*5113495bSYour Name 
1208*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_13_MPDU_LINK_POINTER_5_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER
1209*5113495bSYour Name 
1210*5113495bSYour Name 			Consumer: WBM
1211*5113495bSYour Name 
1212*5113495bSYour Name 			Producer: SW/FW
1213*5113495bSYour Name 
1214*5113495bSYour Name 
1215*5113495bSYour Name 
1216*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1217*5113495bSYour Name 
1218*5113495bSYour Name 
1219*5113495bSYour Name 
1220*5113495bSYour Name 			Indicates to which buffer manager the buffer OR
1221*5113495bSYour Name 			MSDU_EXTENSION descriptor OR link descriptor that is being
1222*5113495bSYour Name 			pointed to shall be returned after the frame has been
1223*5113495bSYour Name 			processed. It is used by WBM for routing purposes.
1224*5113495bSYour Name 
1225*5113495bSYour Name 
1226*5113495bSYour Name 
1227*5113495bSYour Name 			<enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned
1228*5113495bSYour Name 			to the WMB buffer idle list
1229*5113495bSYour Name 
1230*5113495bSYour Name 			<enum 1 WBM_IDLE_DESC_LIST> This buffer shall be
1231*5113495bSYour Name 			returned to the WMB idle link descriptor idle list
1232*5113495bSYour Name 
1233*5113495bSYour Name 			<enum 2 FW_BM> This buffer shall be returned to the FW
1234*5113495bSYour Name 
1235*5113495bSYour Name 			<enum 3 SW0_BM> This buffer shall be returned to the SW,
1236*5113495bSYour Name 			ring 0
1237*5113495bSYour Name 
1238*5113495bSYour Name 			<enum 4 SW1_BM> This buffer shall be returned to the SW,
1239*5113495bSYour Name 			ring 1
1240*5113495bSYour Name 
1241*5113495bSYour Name 			<enum 5 SW2_BM> This buffer shall be returned to the SW,
1242*5113495bSYour Name 			ring 2
1243*5113495bSYour Name 
1244*5113495bSYour Name 			<enum 6 SW3_BM> This buffer shall be returned to the SW,
1245*5113495bSYour Name 			ring 3
1246*5113495bSYour Name 
1247*5113495bSYour Name 			<enum 7 SW4_BM> This buffer shall be returned to the SW,
1248*5113495bSYour Name 			ring 3
1249*5113495bSYour Name 
1250*5113495bSYour Name 
1251*5113495bSYour Name 
1252*5113495bSYour Name 			<legal all>
1253*5113495bSYour Name */
1254*5113495bSYour Name #define RX_REO_QUEUE_EXT_13_MPDU_LINK_POINTER_5_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_OFFSET 0x00000034
1255*5113495bSYour Name #define RX_REO_QUEUE_EXT_13_MPDU_LINK_POINTER_5_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_LSB 8
1256*5113495bSYour Name #define RX_REO_QUEUE_EXT_13_MPDU_LINK_POINTER_5_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_MASK 0x00000700
1257*5113495bSYour Name 
1258*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_13_MPDU_LINK_POINTER_5_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE
1259*5113495bSYour Name 
1260*5113495bSYour Name 			Cookie field exclusively used by SW.
1261*5113495bSYour Name 
1262*5113495bSYour Name 
1263*5113495bSYour Name 
1264*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1265*5113495bSYour Name 
1266*5113495bSYour Name 
1267*5113495bSYour Name 
1268*5113495bSYour Name 			HW ignores the contents, accept that it passes the
1269*5113495bSYour Name 			programmed value on to other descriptors together with the
1270*5113495bSYour Name 			physical address
1271*5113495bSYour Name 
1272*5113495bSYour Name 
1273*5113495bSYour Name 
1274*5113495bSYour Name 			Field can be used by SW to for example associate the
1275*5113495bSYour Name 			buffers physical address with the virtual address
1276*5113495bSYour Name 
1277*5113495bSYour Name 			The bit definitions as used by SW are within SW HLD
1278*5113495bSYour Name 			specification
1279*5113495bSYour Name 
1280*5113495bSYour Name 
1281*5113495bSYour Name 
1282*5113495bSYour Name 			NOTE:
1283*5113495bSYour Name 
1284*5113495bSYour Name 			The three most significant bits can have a special
1285*5113495bSYour Name 			meaning in case this struct is embedded in a TX_MPDU_DETAILS
1286*5113495bSYour Name 			STRUCT, and field transmit_bw_restriction is set
1287*5113495bSYour Name 
1288*5113495bSYour Name 
1289*5113495bSYour Name 
1290*5113495bSYour Name 			In case of NON punctured transmission:
1291*5113495bSYour Name 
1292*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only
1293*5113495bSYour Name 
1294*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only
1295*5113495bSYour Name 
1296*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only
1297*5113495bSYour Name 
1298*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only
1299*5113495bSYour Name 
1300*5113495bSYour Name 
1301*5113495bSYour Name 
1302*5113495bSYour Name 			In case of punctured transmission:
1303*5113495bSYour Name 
1304*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only
1305*5113495bSYour Name 
1306*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only
1307*5113495bSYour Name 
1308*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only
1309*5113495bSYour Name 
1310*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only
1311*5113495bSYour Name 
1312*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only
1313*5113495bSYour Name 
1314*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only
1315*5113495bSYour Name 
1316*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only
1317*5113495bSYour Name 
1318*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only
1319*5113495bSYour Name 
1320*5113495bSYour Name 
1321*5113495bSYour Name 
1322*5113495bSYour Name 			Note: a punctured transmission is indicated by the
1323*5113495bSYour Name 			presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler
1324*5113495bSYour Name 			TLV
1325*5113495bSYour Name 
1326*5113495bSYour Name 
1327*5113495bSYour Name 
1328*5113495bSYour Name 			<legal all>
1329*5113495bSYour Name */
1330*5113495bSYour Name #define RX_REO_QUEUE_EXT_13_MPDU_LINK_POINTER_5_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_OFFSET 0x00000034
1331*5113495bSYour Name #define RX_REO_QUEUE_EXT_13_MPDU_LINK_POINTER_5_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_LSB 11
1332*5113495bSYour Name #define RX_REO_QUEUE_EXT_13_MPDU_LINK_POINTER_5_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_MASK 0xfffff800
1333*5113495bSYour Name 
1334*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_mpdu_link_ptr mpdu_link_pointer_6 */
1335*5113495bSYour Name 
1336*5113495bSYour Name 
1337*5113495bSYour Name  /* EXTERNAL REFERENCE : struct buffer_addr_info mpdu_link_desc_addr_info */
1338*5113495bSYour Name 
1339*5113495bSYour Name 
1340*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_14_MPDU_LINK_POINTER_6_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0
1341*5113495bSYour Name 
1342*5113495bSYour Name 			Address (lower 32 bits) of the MSDU buffer OR
1343*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
1344*5113495bSYour Name 
1345*5113495bSYour Name 
1346*5113495bSYour Name 
1347*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1348*5113495bSYour Name 
1349*5113495bSYour Name 			<legal all>
1350*5113495bSYour Name */
1351*5113495bSYour Name #define RX_REO_QUEUE_EXT_14_MPDU_LINK_POINTER_6_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_OFFSET 0x00000038
1352*5113495bSYour Name #define RX_REO_QUEUE_EXT_14_MPDU_LINK_POINTER_6_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_LSB 0
1353*5113495bSYour Name #define RX_REO_QUEUE_EXT_14_MPDU_LINK_POINTER_6_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_MASK 0xffffffff
1354*5113495bSYour Name 
1355*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_15_MPDU_LINK_POINTER_6_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32
1356*5113495bSYour Name 
1357*5113495bSYour Name 			Address (upper 8 bits) of the MSDU buffer OR
1358*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
1359*5113495bSYour Name 
1360*5113495bSYour Name 
1361*5113495bSYour Name 
1362*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1363*5113495bSYour Name 
1364*5113495bSYour Name 			<legal all>
1365*5113495bSYour Name */
1366*5113495bSYour Name #define RX_REO_QUEUE_EXT_15_MPDU_LINK_POINTER_6_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_OFFSET 0x0000003c
1367*5113495bSYour Name #define RX_REO_QUEUE_EXT_15_MPDU_LINK_POINTER_6_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_LSB 0
1368*5113495bSYour Name #define RX_REO_QUEUE_EXT_15_MPDU_LINK_POINTER_6_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_MASK 0x000000ff
1369*5113495bSYour Name 
1370*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_15_MPDU_LINK_POINTER_6_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER
1371*5113495bSYour Name 
1372*5113495bSYour Name 			Consumer: WBM
1373*5113495bSYour Name 
1374*5113495bSYour Name 			Producer: SW/FW
1375*5113495bSYour Name 
1376*5113495bSYour Name 
1377*5113495bSYour Name 
1378*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1379*5113495bSYour Name 
1380*5113495bSYour Name 
1381*5113495bSYour Name 
1382*5113495bSYour Name 			Indicates to which buffer manager the buffer OR
1383*5113495bSYour Name 			MSDU_EXTENSION descriptor OR link descriptor that is being
1384*5113495bSYour Name 			pointed to shall be returned after the frame has been
1385*5113495bSYour Name 			processed. It is used by WBM for routing purposes.
1386*5113495bSYour Name 
1387*5113495bSYour Name 
1388*5113495bSYour Name 
1389*5113495bSYour Name 			<enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned
1390*5113495bSYour Name 			to the WMB buffer idle list
1391*5113495bSYour Name 
1392*5113495bSYour Name 			<enum 1 WBM_IDLE_DESC_LIST> This buffer shall be
1393*5113495bSYour Name 			returned to the WMB idle link descriptor idle list
1394*5113495bSYour Name 
1395*5113495bSYour Name 			<enum 2 FW_BM> This buffer shall be returned to the FW
1396*5113495bSYour Name 
1397*5113495bSYour Name 			<enum 3 SW0_BM> This buffer shall be returned to the SW,
1398*5113495bSYour Name 			ring 0
1399*5113495bSYour Name 
1400*5113495bSYour Name 			<enum 4 SW1_BM> This buffer shall be returned to the SW,
1401*5113495bSYour Name 			ring 1
1402*5113495bSYour Name 
1403*5113495bSYour Name 			<enum 5 SW2_BM> This buffer shall be returned to the SW,
1404*5113495bSYour Name 			ring 2
1405*5113495bSYour Name 
1406*5113495bSYour Name 			<enum 6 SW3_BM> This buffer shall be returned to the SW,
1407*5113495bSYour Name 			ring 3
1408*5113495bSYour Name 
1409*5113495bSYour Name 			<enum 7 SW4_BM> This buffer shall be returned to the SW,
1410*5113495bSYour Name 			ring 3
1411*5113495bSYour Name 
1412*5113495bSYour Name 
1413*5113495bSYour Name 
1414*5113495bSYour Name 			<legal all>
1415*5113495bSYour Name */
1416*5113495bSYour Name #define RX_REO_QUEUE_EXT_15_MPDU_LINK_POINTER_6_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_OFFSET 0x0000003c
1417*5113495bSYour Name #define RX_REO_QUEUE_EXT_15_MPDU_LINK_POINTER_6_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_LSB 8
1418*5113495bSYour Name #define RX_REO_QUEUE_EXT_15_MPDU_LINK_POINTER_6_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_MASK 0x00000700
1419*5113495bSYour Name 
1420*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_15_MPDU_LINK_POINTER_6_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE
1421*5113495bSYour Name 
1422*5113495bSYour Name 			Cookie field exclusively used by SW.
1423*5113495bSYour Name 
1424*5113495bSYour Name 
1425*5113495bSYour Name 
1426*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1427*5113495bSYour Name 
1428*5113495bSYour Name 
1429*5113495bSYour Name 
1430*5113495bSYour Name 			HW ignores the contents, accept that it passes the
1431*5113495bSYour Name 			programmed value on to other descriptors together with the
1432*5113495bSYour Name 			physical address
1433*5113495bSYour Name 
1434*5113495bSYour Name 
1435*5113495bSYour Name 
1436*5113495bSYour Name 			Field can be used by SW to for example associate the
1437*5113495bSYour Name 			buffers physical address with the virtual address
1438*5113495bSYour Name 
1439*5113495bSYour Name 			The bit definitions as used by SW are within SW HLD
1440*5113495bSYour Name 			specification
1441*5113495bSYour Name 
1442*5113495bSYour Name 
1443*5113495bSYour Name 
1444*5113495bSYour Name 			NOTE:
1445*5113495bSYour Name 
1446*5113495bSYour Name 			The three most significant bits can have a special
1447*5113495bSYour Name 			meaning in case this struct is embedded in a TX_MPDU_DETAILS
1448*5113495bSYour Name 			STRUCT, and field transmit_bw_restriction is set
1449*5113495bSYour Name 
1450*5113495bSYour Name 
1451*5113495bSYour Name 
1452*5113495bSYour Name 			In case of NON punctured transmission:
1453*5113495bSYour Name 
1454*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only
1455*5113495bSYour Name 
1456*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only
1457*5113495bSYour Name 
1458*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only
1459*5113495bSYour Name 
1460*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only
1461*5113495bSYour Name 
1462*5113495bSYour Name 
1463*5113495bSYour Name 
1464*5113495bSYour Name 			In case of punctured transmission:
1465*5113495bSYour Name 
1466*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only
1467*5113495bSYour Name 
1468*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only
1469*5113495bSYour Name 
1470*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only
1471*5113495bSYour Name 
1472*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only
1473*5113495bSYour Name 
1474*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only
1475*5113495bSYour Name 
1476*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only
1477*5113495bSYour Name 
1478*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only
1479*5113495bSYour Name 
1480*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only
1481*5113495bSYour Name 
1482*5113495bSYour Name 
1483*5113495bSYour Name 
1484*5113495bSYour Name 			Note: a punctured transmission is indicated by the
1485*5113495bSYour Name 			presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler
1486*5113495bSYour Name 			TLV
1487*5113495bSYour Name 
1488*5113495bSYour Name 
1489*5113495bSYour Name 
1490*5113495bSYour Name 			<legal all>
1491*5113495bSYour Name */
1492*5113495bSYour Name #define RX_REO_QUEUE_EXT_15_MPDU_LINK_POINTER_6_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_OFFSET 0x0000003c
1493*5113495bSYour Name #define RX_REO_QUEUE_EXT_15_MPDU_LINK_POINTER_6_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_LSB 11
1494*5113495bSYour Name #define RX_REO_QUEUE_EXT_15_MPDU_LINK_POINTER_6_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_MASK 0xfffff800
1495*5113495bSYour Name 
1496*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_mpdu_link_ptr mpdu_link_pointer_7 */
1497*5113495bSYour Name 
1498*5113495bSYour Name 
1499*5113495bSYour Name  /* EXTERNAL REFERENCE : struct buffer_addr_info mpdu_link_desc_addr_info */
1500*5113495bSYour Name 
1501*5113495bSYour Name 
1502*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_16_MPDU_LINK_POINTER_7_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0
1503*5113495bSYour Name 
1504*5113495bSYour Name 			Address (lower 32 bits) of the MSDU buffer OR
1505*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
1506*5113495bSYour Name 
1507*5113495bSYour Name 
1508*5113495bSYour Name 
1509*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1510*5113495bSYour Name 
1511*5113495bSYour Name 			<legal all>
1512*5113495bSYour Name */
1513*5113495bSYour Name #define RX_REO_QUEUE_EXT_16_MPDU_LINK_POINTER_7_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_OFFSET 0x00000040
1514*5113495bSYour Name #define RX_REO_QUEUE_EXT_16_MPDU_LINK_POINTER_7_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_LSB 0
1515*5113495bSYour Name #define RX_REO_QUEUE_EXT_16_MPDU_LINK_POINTER_7_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_MASK 0xffffffff
1516*5113495bSYour Name 
1517*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_17_MPDU_LINK_POINTER_7_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32
1518*5113495bSYour Name 
1519*5113495bSYour Name 			Address (upper 8 bits) of the MSDU buffer OR
1520*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
1521*5113495bSYour Name 
1522*5113495bSYour Name 
1523*5113495bSYour Name 
1524*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1525*5113495bSYour Name 
1526*5113495bSYour Name 			<legal all>
1527*5113495bSYour Name */
1528*5113495bSYour Name #define RX_REO_QUEUE_EXT_17_MPDU_LINK_POINTER_7_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_OFFSET 0x00000044
1529*5113495bSYour Name #define RX_REO_QUEUE_EXT_17_MPDU_LINK_POINTER_7_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_LSB 0
1530*5113495bSYour Name #define RX_REO_QUEUE_EXT_17_MPDU_LINK_POINTER_7_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_MASK 0x000000ff
1531*5113495bSYour Name 
1532*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_17_MPDU_LINK_POINTER_7_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER
1533*5113495bSYour Name 
1534*5113495bSYour Name 			Consumer: WBM
1535*5113495bSYour Name 
1536*5113495bSYour Name 			Producer: SW/FW
1537*5113495bSYour Name 
1538*5113495bSYour Name 
1539*5113495bSYour Name 
1540*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1541*5113495bSYour Name 
1542*5113495bSYour Name 
1543*5113495bSYour Name 
1544*5113495bSYour Name 			Indicates to which buffer manager the buffer OR
1545*5113495bSYour Name 			MSDU_EXTENSION descriptor OR link descriptor that is being
1546*5113495bSYour Name 			pointed to shall be returned after the frame has been
1547*5113495bSYour Name 			processed. It is used by WBM for routing purposes.
1548*5113495bSYour Name 
1549*5113495bSYour Name 
1550*5113495bSYour Name 
1551*5113495bSYour Name 			<enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned
1552*5113495bSYour Name 			to the WMB buffer idle list
1553*5113495bSYour Name 
1554*5113495bSYour Name 			<enum 1 WBM_IDLE_DESC_LIST> This buffer shall be
1555*5113495bSYour Name 			returned to the WMB idle link descriptor idle list
1556*5113495bSYour Name 
1557*5113495bSYour Name 			<enum 2 FW_BM> This buffer shall be returned to the FW
1558*5113495bSYour Name 
1559*5113495bSYour Name 			<enum 3 SW0_BM> This buffer shall be returned to the SW,
1560*5113495bSYour Name 			ring 0
1561*5113495bSYour Name 
1562*5113495bSYour Name 			<enum 4 SW1_BM> This buffer shall be returned to the SW,
1563*5113495bSYour Name 			ring 1
1564*5113495bSYour Name 
1565*5113495bSYour Name 			<enum 5 SW2_BM> This buffer shall be returned to the SW,
1566*5113495bSYour Name 			ring 2
1567*5113495bSYour Name 
1568*5113495bSYour Name 			<enum 6 SW3_BM> This buffer shall be returned to the SW,
1569*5113495bSYour Name 			ring 3
1570*5113495bSYour Name 
1571*5113495bSYour Name 			<enum 7 SW4_BM> This buffer shall be returned to the SW,
1572*5113495bSYour Name 			ring 3
1573*5113495bSYour Name 
1574*5113495bSYour Name 
1575*5113495bSYour Name 
1576*5113495bSYour Name 			<legal all>
1577*5113495bSYour Name */
1578*5113495bSYour Name #define RX_REO_QUEUE_EXT_17_MPDU_LINK_POINTER_7_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_OFFSET 0x00000044
1579*5113495bSYour Name #define RX_REO_QUEUE_EXT_17_MPDU_LINK_POINTER_7_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_LSB 8
1580*5113495bSYour Name #define RX_REO_QUEUE_EXT_17_MPDU_LINK_POINTER_7_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_MASK 0x00000700
1581*5113495bSYour Name 
1582*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_17_MPDU_LINK_POINTER_7_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE
1583*5113495bSYour Name 
1584*5113495bSYour Name 			Cookie field exclusively used by SW.
1585*5113495bSYour Name 
1586*5113495bSYour Name 
1587*5113495bSYour Name 
1588*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1589*5113495bSYour Name 
1590*5113495bSYour Name 
1591*5113495bSYour Name 
1592*5113495bSYour Name 			HW ignores the contents, accept that it passes the
1593*5113495bSYour Name 			programmed value on to other descriptors together with the
1594*5113495bSYour Name 			physical address
1595*5113495bSYour Name 
1596*5113495bSYour Name 
1597*5113495bSYour Name 
1598*5113495bSYour Name 			Field can be used by SW to for example associate the
1599*5113495bSYour Name 			buffers physical address with the virtual address
1600*5113495bSYour Name 
1601*5113495bSYour Name 			The bit definitions as used by SW are within SW HLD
1602*5113495bSYour Name 			specification
1603*5113495bSYour Name 
1604*5113495bSYour Name 
1605*5113495bSYour Name 
1606*5113495bSYour Name 			NOTE:
1607*5113495bSYour Name 
1608*5113495bSYour Name 			The three most significant bits can have a special
1609*5113495bSYour Name 			meaning in case this struct is embedded in a TX_MPDU_DETAILS
1610*5113495bSYour Name 			STRUCT, and field transmit_bw_restriction is set
1611*5113495bSYour Name 
1612*5113495bSYour Name 
1613*5113495bSYour Name 
1614*5113495bSYour Name 			In case of NON punctured transmission:
1615*5113495bSYour Name 
1616*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only
1617*5113495bSYour Name 
1618*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only
1619*5113495bSYour Name 
1620*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only
1621*5113495bSYour Name 
1622*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only
1623*5113495bSYour Name 
1624*5113495bSYour Name 
1625*5113495bSYour Name 
1626*5113495bSYour Name 			In case of punctured transmission:
1627*5113495bSYour Name 
1628*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only
1629*5113495bSYour Name 
1630*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only
1631*5113495bSYour Name 
1632*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only
1633*5113495bSYour Name 
1634*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only
1635*5113495bSYour Name 
1636*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only
1637*5113495bSYour Name 
1638*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only
1639*5113495bSYour Name 
1640*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only
1641*5113495bSYour Name 
1642*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only
1643*5113495bSYour Name 
1644*5113495bSYour Name 
1645*5113495bSYour Name 
1646*5113495bSYour Name 			Note: a punctured transmission is indicated by the
1647*5113495bSYour Name 			presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler
1648*5113495bSYour Name 			TLV
1649*5113495bSYour Name 
1650*5113495bSYour Name 
1651*5113495bSYour Name 
1652*5113495bSYour Name 			<legal all>
1653*5113495bSYour Name */
1654*5113495bSYour Name #define RX_REO_QUEUE_EXT_17_MPDU_LINK_POINTER_7_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_OFFSET 0x00000044
1655*5113495bSYour Name #define RX_REO_QUEUE_EXT_17_MPDU_LINK_POINTER_7_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_LSB 11
1656*5113495bSYour Name #define RX_REO_QUEUE_EXT_17_MPDU_LINK_POINTER_7_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_MASK 0xfffff800
1657*5113495bSYour Name 
1658*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_mpdu_link_ptr mpdu_link_pointer_8 */
1659*5113495bSYour Name 
1660*5113495bSYour Name 
1661*5113495bSYour Name  /* EXTERNAL REFERENCE : struct buffer_addr_info mpdu_link_desc_addr_info */
1662*5113495bSYour Name 
1663*5113495bSYour Name 
1664*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_18_MPDU_LINK_POINTER_8_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0
1665*5113495bSYour Name 
1666*5113495bSYour Name 			Address (lower 32 bits) of the MSDU buffer OR
1667*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
1668*5113495bSYour Name 
1669*5113495bSYour Name 
1670*5113495bSYour Name 
1671*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1672*5113495bSYour Name 
1673*5113495bSYour Name 			<legal all>
1674*5113495bSYour Name */
1675*5113495bSYour Name #define RX_REO_QUEUE_EXT_18_MPDU_LINK_POINTER_8_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_OFFSET 0x00000048
1676*5113495bSYour Name #define RX_REO_QUEUE_EXT_18_MPDU_LINK_POINTER_8_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_LSB 0
1677*5113495bSYour Name #define RX_REO_QUEUE_EXT_18_MPDU_LINK_POINTER_8_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_MASK 0xffffffff
1678*5113495bSYour Name 
1679*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_19_MPDU_LINK_POINTER_8_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32
1680*5113495bSYour Name 
1681*5113495bSYour Name 			Address (upper 8 bits) of the MSDU buffer OR
1682*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
1683*5113495bSYour Name 
1684*5113495bSYour Name 
1685*5113495bSYour Name 
1686*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1687*5113495bSYour Name 
1688*5113495bSYour Name 			<legal all>
1689*5113495bSYour Name */
1690*5113495bSYour Name #define RX_REO_QUEUE_EXT_19_MPDU_LINK_POINTER_8_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_OFFSET 0x0000004c
1691*5113495bSYour Name #define RX_REO_QUEUE_EXT_19_MPDU_LINK_POINTER_8_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_LSB 0
1692*5113495bSYour Name #define RX_REO_QUEUE_EXT_19_MPDU_LINK_POINTER_8_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_MASK 0x000000ff
1693*5113495bSYour Name 
1694*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_19_MPDU_LINK_POINTER_8_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER
1695*5113495bSYour Name 
1696*5113495bSYour Name 			Consumer: WBM
1697*5113495bSYour Name 
1698*5113495bSYour Name 			Producer: SW/FW
1699*5113495bSYour Name 
1700*5113495bSYour Name 
1701*5113495bSYour Name 
1702*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1703*5113495bSYour Name 
1704*5113495bSYour Name 
1705*5113495bSYour Name 
1706*5113495bSYour Name 			Indicates to which buffer manager the buffer OR
1707*5113495bSYour Name 			MSDU_EXTENSION descriptor OR link descriptor that is being
1708*5113495bSYour Name 			pointed to shall be returned after the frame has been
1709*5113495bSYour Name 			processed. It is used by WBM for routing purposes.
1710*5113495bSYour Name 
1711*5113495bSYour Name 
1712*5113495bSYour Name 
1713*5113495bSYour Name 			<enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned
1714*5113495bSYour Name 			to the WMB buffer idle list
1715*5113495bSYour Name 
1716*5113495bSYour Name 			<enum 1 WBM_IDLE_DESC_LIST> This buffer shall be
1717*5113495bSYour Name 			returned to the WMB idle link descriptor idle list
1718*5113495bSYour Name 
1719*5113495bSYour Name 			<enum 2 FW_BM> This buffer shall be returned to the FW
1720*5113495bSYour Name 
1721*5113495bSYour Name 			<enum 3 SW0_BM> This buffer shall be returned to the SW,
1722*5113495bSYour Name 			ring 0
1723*5113495bSYour Name 
1724*5113495bSYour Name 			<enum 4 SW1_BM> This buffer shall be returned to the SW,
1725*5113495bSYour Name 			ring 1
1726*5113495bSYour Name 
1727*5113495bSYour Name 			<enum 5 SW2_BM> This buffer shall be returned to the SW,
1728*5113495bSYour Name 			ring 2
1729*5113495bSYour Name 
1730*5113495bSYour Name 			<enum 6 SW3_BM> This buffer shall be returned to the SW,
1731*5113495bSYour Name 			ring 3
1732*5113495bSYour Name 
1733*5113495bSYour Name 			<enum 7 SW4_BM> This buffer shall be returned to the SW,
1734*5113495bSYour Name 			ring 3
1735*5113495bSYour Name 
1736*5113495bSYour Name 
1737*5113495bSYour Name 
1738*5113495bSYour Name 			<legal all>
1739*5113495bSYour Name */
1740*5113495bSYour Name #define RX_REO_QUEUE_EXT_19_MPDU_LINK_POINTER_8_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_OFFSET 0x0000004c
1741*5113495bSYour Name #define RX_REO_QUEUE_EXT_19_MPDU_LINK_POINTER_8_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_LSB 8
1742*5113495bSYour Name #define RX_REO_QUEUE_EXT_19_MPDU_LINK_POINTER_8_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_MASK 0x00000700
1743*5113495bSYour Name 
1744*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_19_MPDU_LINK_POINTER_8_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE
1745*5113495bSYour Name 
1746*5113495bSYour Name 			Cookie field exclusively used by SW.
1747*5113495bSYour Name 
1748*5113495bSYour Name 
1749*5113495bSYour Name 
1750*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1751*5113495bSYour Name 
1752*5113495bSYour Name 
1753*5113495bSYour Name 
1754*5113495bSYour Name 			HW ignores the contents, accept that it passes the
1755*5113495bSYour Name 			programmed value on to other descriptors together with the
1756*5113495bSYour Name 			physical address
1757*5113495bSYour Name 
1758*5113495bSYour Name 
1759*5113495bSYour Name 
1760*5113495bSYour Name 			Field can be used by SW to for example associate the
1761*5113495bSYour Name 			buffers physical address with the virtual address
1762*5113495bSYour Name 
1763*5113495bSYour Name 			The bit definitions as used by SW are within SW HLD
1764*5113495bSYour Name 			specification
1765*5113495bSYour Name 
1766*5113495bSYour Name 
1767*5113495bSYour Name 
1768*5113495bSYour Name 			NOTE:
1769*5113495bSYour Name 
1770*5113495bSYour Name 			The three most significant bits can have a special
1771*5113495bSYour Name 			meaning in case this struct is embedded in a TX_MPDU_DETAILS
1772*5113495bSYour Name 			STRUCT, and field transmit_bw_restriction is set
1773*5113495bSYour Name 
1774*5113495bSYour Name 
1775*5113495bSYour Name 
1776*5113495bSYour Name 			In case of NON punctured transmission:
1777*5113495bSYour Name 
1778*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only
1779*5113495bSYour Name 
1780*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only
1781*5113495bSYour Name 
1782*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only
1783*5113495bSYour Name 
1784*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only
1785*5113495bSYour Name 
1786*5113495bSYour Name 
1787*5113495bSYour Name 
1788*5113495bSYour Name 			In case of punctured transmission:
1789*5113495bSYour Name 
1790*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only
1791*5113495bSYour Name 
1792*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only
1793*5113495bSYour Name 
1794*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only
1795*5113495bSYour Name 
1796*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only
1797*5113495bSYour Name 
1798*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only
1799*5113495bSYour Name 
1800*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only
1801*5113495bSYour Name 
1802*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only
1803*5113495bSYour Name 
1804*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only
1805*5113495bSYour Name 
1806*5113495bSYour Name 
1807*5113495bSYour Name 
1808*5113495bSYour Name 			Note: a punctured transmission is indicated by the
1809*5113495bSYour Name 			presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler
1810*5113495bSYour Name 			TLV
1811*5113495bSYour Name 
1812*5113495bSYour Name 
1813*5113495bSYour Name 
1814*5113495bSYour Name 			<legal all>
1815*5113495bSYour Name */
1816*5113495bSYour Name #define RX_REO_QUEUE_EXT_19_MPDU_LINK_POINTER_8_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_OFFSET 0x0000004c
1817*5113495bSYour Name #define RX_REO_QUEUE_EXT_19_MPDU_LINK_POINTER_8_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_LSB 11
1818*5113495bSYour Name #define RX_REO_QUEUE_EXT_19_MPDU_LINK_POINTER_8_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_MASK 0xfffff800
1819*5113495bSYour Name 
1820*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_mpdu_link_ptr mpdu_link_pointer_9 */
1821*5113495bSYour Name 
1822*5113495bSYour Name 
1823*5113495bSYour Name  /* EXTERNAL REFERENCE : struct buffer_addr_info mpdu_link_desc_addr_info */
1824*5113495bSYour Name 
1825*5113495bSYour Name 
1826*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_20_MPDU_LINK_POINTER_9_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0
1827*5113495bSYour Name 
1828*5113495bSYour Name 			Address (lower 32 bits) of the MSDU buffer OR
1829*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
1830*5113495bSYour Name 
1831*5113495bSYour Name 
1832*5113495bSYour Name 
1833*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1834*5113495bSYour Name 
1835*5113495bSYour Name 			<legal all>
1836*5113495bSYour Name */
1837*5113495bSYour Name #define RX_REO_QUEUE_EXT_20_MPDU_LINK_POINTER_9_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_OFFSET 0x00000050
1838*5113495bSYour Name #define RX_REO_QUEUE_EXT_20_MPDU_LINK_POINTER_9_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_LSB 0
1839*5113495bSYour Name #define RX_REO_QUEUE_EXT_20_MPDU_LINK_POINTER_9_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_MASK 0xffffffff
1840*5113495bSYour Name 
1841*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_21_MPDU_LINK_POINTER_9_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32
1842*5113495bSYour Name 
1843*5113495bSYour Name 			Address (upper 8 bits) of the MSDU buffer OR
1844*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
1845*5113495bSYour Name 
1846*5113495bSYour Name 
1847*5113495bSYour Name 
1848*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1849*5113495bSYour Name 
1850*5113495bSYour Name 			<legal all>
1851*5113495bSYour Name */
1852*5113495bSYour Name #define RX_REO_QUEUE_EXT_21_MPDU_LINK_POINTER_9_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_OFFSET 0x00000054
1853*5113495bSYour Name #define RX_REO_QUEUE_EXT_21_MPDU_LINK_POINTER_9_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_LSB 0
1854*5113495bSYour Name #define RX_REO_QUEUE_EXT_21_MPDU_LINK_POINTER_9_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_MASK 0x000000ff
1855*5113495bSYour Name 
1856*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_21_MPDU_LINK_POINTER_9_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER
1857*5113495bSYour Name 
1858*5113495bSYour Name 			Consumer: WBM
1859*5113495bSYour Name 
1860*5113495bSYour Name 			Producer: SW/FW
1861*5113495bSYour Name 
1862*5113495bSYour Name 
1863*5113495bSYour Name 
1864*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1865*5113495bSYour Name 
1866*5113495bSYour Name 
1867*5113495bSYour Name 
1868*5113495bSYour Name 			Indicates to which buffer manager the buffer OR
1869*5113495bSYour Name 			MSDU_EXTENSION descriptor OR link descriptor that is being
1870*5113495bSYour Name 			pointed to shall be returned after the frame has been
1871*5113495bSYour Name 			processed. It is used by WBM for routing purposes.
1872*5113495bSYour Name 
1873*5113495bSYour Name 
1874*5113495bSYour Name 
1875*5113495bSYour Name 			<enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned
1876*5113495bSYour Name 			to the WMB buffer idle list
1877*5113495bSYour Name 
1878*5113495bSYour Name 			<enum 1 WBM_IDLE_DESC_LIST> This buffer shall be
1879*5113495bSYour Name 			returned to the WMB idle link descriptor idle list
1880*5113495bSYour Name 
1881*5113495bSYour Name 			<enum 2 FW_BM> This buffer shall be returned to the FW
1882*5113495bSYour Name 
1883*5113495bSYour Name 			<enum 3 SW0_BM> This buffer shall be returned to the SW,
1884*5113495bSYour Name 			ring 0
1885*5113495bSYour Name 
1886*5113495bSYour Name 			<enum 4 SW1_BM> This buffer shall be returned to the SW,
1887*5113495bSYour Name 			ring 1
1888*5113495bSYour Name 
1889*5113495bSYour Name 			<enum 5 SW2_BM> This buffer shall be returned to the SW,
1890*5113495bSYour Name 			ring 2
1891*5113495bSYour Name 
1892*5113495bSYour Name 			<enum 6 SW3_BM> This buffer shall be returned to the SW,
1893*5113495bSYour Name 			ring 3
1894*5113495bSYour Name 
1895*5113495bSYour Name 			<enum 7 SW4_BM> This buffer shall be returned to the SW,
1896*5113495bSYour Name 			ring 3
1897*5113495bSYour Name 
1898*5113495bSYour Name 
1899*5113495bSYour Name 
1900*5113495bSYour Name 			<legal all>
1901*5113495bSYour Name */
1902*5113495bSYour Name #define RX_REO_QUEUE_EXT_21_MPDU_LINK_POINTER_9_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_OFFSET 0x00000054
1903*5113495bSYour Name #define RX_REO_QUEUE_EXT_21_MPDU_LINK_POINTER_9_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_LSB 8
1904*5113495bSYour Name #define RX_REO_QUEUE_EXT_21_MPDU_LINK_POINTER_9_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_MASK 0x00000700
1905*5113495bSYour Name 
1906*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_21_MPDU_LINK_POINTER_9_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE
1907*5113495bSYour Name 
1908*5113495bSYour Name 			Cookie field exclusively used by SW.
1909*5113495bSYour Name 
1910*5113495bSYour Name 
1911*5113495bSYour Name 
1912*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1913*5113495bSYour Name 
1914*5113495bSYour Name 
1915*5113495bSYour Name 
1916*5113495bSYour Name 			HW ignores the contents, accept that it passes the
1917*5113495bSYour Name 			programmed value on to other descriptors together with the
1918*5113495bSYour Name 			physical address
1919*5113495bSYour Name 
1920*5113495bSYour Name 
1921*5113495bSYour Name 
1922*5113495bSYour Name 			Field can be used by SW to for example associate the
1923*5113495bSYour Name 			buffers physical address with the virtual address
1924*5113495bSYour Name 
1925*5113495bSYour Name 			The bit definitions as used by SW are within SW HLD
1926*5113495bSYour Name 			specification
1927*5113495bSYour Name 
1928*5113495bSYour Name 
1929*5113495bSYour Name 
1930*5113495bSYour Name 			NOTE:
1931*5113495bSYour Name 
1932*5113495bSYour Name 			The three most significant bits can have a special
1933*5113495bSYour Name 			meaning in case this struct is embedded in a TX_MPDU_DETAILS
1934*5113495bSYour Name 			STRUCT, and field transmit_bw_restriction is set
1935*5113495bSYour Name 
1936*5113495bSYour Name 
1937*5113495bSYour Name 
1938*5113495bSYour Name 			In case of NON punctured transmission:
1939*5113495bSYour Name 
1940*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only
1941*5113495bSYour Name 
1942*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only
1943*5113495bSYour Name 
1944*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only
1945*5113495bSYour Name 
1946*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only
1947*5113495bSYour Name 
1948*5113495bSYour Name 
1949*5113495bSYour Name 
1950*5113495bSYour Name 			In case of punctured transmission:
1951*5113495bSYour Name 
1952*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only
1953*5113495bSYour Name 
1954*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only
1955*5113495bSYour Name 
1956*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only
1957*5113495bSYour Name 
1958*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only
1959*5113495bSYour Name 
1960*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only
1961*5113495bSYour Name 
1962*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only
1963*5113495bSYour Name 
1964*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only
1965*5113495bSYour Name 
1966*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only
1967*5113495bSYour Name 
1968*5113495bSYour Name 
1969*5113495bSYour Name 
1970*5113495bSYour Name 			Note: a punctured transmission is indicated by the
1971*5113495bSYour Name 			presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler
1972*5113495bSYour Name 			TLV
1973*5113495bSYour Name 
1974*5113495bSYour Name 
1975*5113495bSYour Name 
1976*5113495bSYour Name 			<legal all>
1977*5113495bSYour Name */
1978*5113495bSYour Name #define RX_REO_QUEUE_EXT_21_MPDU_LINK_POINTER_9_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_OFFSET 0x00000054
1979*5113495bSYour Name #define RX_REO_QUEUE_EXT_21_MPDU_LINK_POINTER_9_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_LSB 11
1980*5113495bSYour Name #define RX_REO_QUEUE_EXT_21_MPDU_LINK_POINTER_9_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_MASK 0xfffff800
1981*5113495bSYour Name 
1982*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_mpdu_link_ptr mpdu_link_pointer_10 */
1983*5113495bSYour Name 
1984*5113495bSYour Name 
1985*5113495bSYour Name  /* EXTERNAL REFERENCE : struct buffer_addr_info mpdu_link_desc_addr_info */
1986*5113495bSYour Name 
1987*5113495bSYour Name 
1988*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_22_MPDU_LINK_POINTER_10_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0
1989*5113495bSYour Name 
1990*5113495bSYour Name 			Address (lower 32 bits) of the MSDU buffer OR
1991*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
1992*5113495bSYour Name 
1993*5113495bSYour Name 
1994*5113495bSYour Name 
1995*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
1996*5113495bSYour Name 
1997*5113495bSYour Name 			<legal all>
1998*5113495bSYour Name */
1999*5113495bSYour Name #define RX_REO_QUEUE_EXT_22_MPDU_LINK_POINTER_10_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_OFFSET 0x00000058
2000*5113495bSYour Name #define RX_REO_QUEUE_EXT_22_MPDU_LINK_POINTER_10_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_LSB 0
2001*5113495bSYour Name #define RX_REO_QUEUE_EXT_22_MPDU_LINK_POINTER_10_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_MASK 0xffffffff
2002*5113495bSYour Name 
2003*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_23_MPDU_LINK_POINTER_10_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32
2004*5113495bSYour Name 
2005*5113495bSYour Name 			Address (upper 8 bits) of the MSDU buffer OR
2006*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
2007*5113495bSYour Name 
2008*5113495bSYour Name 
2009*5113495bSYour Name 
2010*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2011*5113495bSYour Name 
2012*5113495bSYour Name 			<legal all>
2013*5113495bSYour Name */
2014*5113495bSYour Name #define RX_REO_QUEUE_EXT_23_MPDU_LINK_POINTER_10_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_OFFSET 0x0000005c
2015*5113495bSYour Name #define RX_REO_QUEUE_EXT_23_MPDU_LINK_POINTER_10_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_LSB 0
2016*5113495bSYour Name #define RX_REO_QUEUE_EXT_23_MPDU_LINK_POINTER_10_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_MASK 0x000000ff
2017*5113495bSYour Name 
2018*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_23_MPDU_LINK_POINTER_10_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER
2019*5113495bSYour Name 
2020*5113495bSYour Name 			Consumer: WBM
2021*5113495bSYour Name 
2022*5113495bSYour Name 			Producer: SW/FW
2023*5113495bSYour Name 
2024*5113495bSYour Name 
2025*5113495bSYour Name 
2026*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2027*5113495bSYour Name 
2028*5113495bSYour Name 
2029*5113495bSYour Name 
2030*5113495bSYour Name 			Indicates to which buffer manager the buffer OR
2031*5113495bSYour Name 			MSDU_EXTENSION descriptor OR link descriptor that is being
2032*5113495bSYour Name 			pointed to shall be returned after the frame has been
2033*5113495bSYour Name 			processed. It is used by WBM for routing purposes.
2034*5113495bSYour Name 
2035*5113495bSYour Name 
2036*5113495bSYour Name 
2037*5113495bSYour Name 			<enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned
2038*5113495bSYour Name 			to the WMB buffer idle list
2039*5113495bSYour Name 
2040*5113495bSYour Name 			<enum 1 WBM_IDLE_DESC_LIST> This buffer shall be
2041*5113495bSYour Name 			returned to the WMB idle link descriptor idle list
2042*5113495bSYour Name 
2043*5113495bSYour Name 			<enum 2 FW_BM> This buffer shall be returned to the FW
2044*5113495bSYour Name 
2045*5113495bSYour Name 			<enum 3 SW0_BM> This buffer shall be returned to the SW,
2046*5113495bSYour Name 			ring 0
2047*5113495bSYour Name 
2048*5113495bSYour Name 			<enum 4 SW1_BM> This buffer shall be returned to the SW,
2049*5113495bSYour Name 			ring 1
2050*5113495bSYour Name 
2051*5113495bSYour Name 			<enum 5 SW2_BM> This buffer shall be returned to the SW,
2052*5113495bSYour Name 			ring 2
2053*5113495bSYour Name 
2054*5113495bSYour Name 			<enum 6 SW3_BM> This buffer shall be returned to the SW,
2055*5113495bSYour Name 			ring 3
2056*5113495bSYour Name 
2057*5113495bSYour Name 			<enum 7 SW4_BM> This buffer shall be returned to the SW,
2058*5113495bSYour Name 			ring 3
2059*5113495bSYour Name 
2060*5113495bSYour Name 
2061*5113495bSYour Name 
2062*5113495bSYour Name 			<legal all>
2063*5113495bSYour Name */
2064*5113495bSYour Name #define RX_REO_QUEUE_EXT_23_MPDU_LINK_POINTER_10_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_OFFSET 0x0000005c
2065*5113495bSYour Name #define RX_REO_QUEUE_EXT_23_MPDU_LINK_POINTER_10_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_LSB 8
2066*5113495bSYour Name #define RX_REO_QUEUE_EXT_23_MPDU_LINK_POINTER_10_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_MASK 0x00000700
2067*5113495bSYour Name 
2068*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_23_MPDU_LINK_POINTER_10_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE
2069*5113495bSYour Name 
2070*5113495bSYour Name 			Cookie field exclusively used by SW.
2071*5113495bSYour Name 
2072*5113495bSYour Name 
2073*5113495bSYour Name 
2074*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2075*5113495bSYour Name 
2076*5113495bSYour Name 
2077*5113495bSYour Name 
2078*5113495bSYour Name 			HW ignores the contents, accept that it passes the
2079*5113495bSYour Name 			programmed value on to other descriptors together with the
2080*5113495bSYour Name 			physical address
2081*5113495bSYour Name 
2082*5113495bSYour Name 
2083*5113495bSYour Name 
2084*5113495bSYour Name 			Field can be used by SW to for example associate the
2085*5113495bSYour Name 			buffers physical address with the virtual address
2086*5113495bSYour Name 
2087*5113495bSYour Name 			The bit definitions as used by SW are within SW HLD
2088*5113495bSYour Name 			specification
2089*5113495bSYour Name 
2090*5113495bSYour Name 
2091*5113495bSYour Name 
2092*5113495bSYour Name 			NOTE:
2093*5113495bSYour Name 
2094*5113495bSYour Name 			The three most significant bits can have a special
2095*5113495bSYour Name 			meaning in case this struct is embedded in a TX_MPDU_DETAILS
2096*5113495bSYour Name 			STRUCT, and field transmit_bw_restriction is set
2097*5113495bSYour Name 
2098*5113495bSYour Name 
2099*5113495bSYour Name 
2100*5113495bSYour Name 			In case of NON punctured transmission:
2101*5113495bSYour Name 
2102*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only
2103*5113495bSYour Name 
2104*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only
2105*5113495bSYour Name 
2106*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only
2107*5113495bSYour Name 
2108*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only
2109*5113495bSYour Name 
2110*5113495bSYour Name 
2111*5113495bSYour Name 
2112*5113495bSYour Name 			In case of punctured transmission:
2113*5113495bSYour Name 
2114*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only
2115*5113495bSYour Name 
2116*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only
2117*5113495bSYour Name 
2118*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only
2119*5113495bSYour Name 
2120*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only
2121*5113495bSYour Name 
2122*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only
2123*5113495bSYour Name 
2124*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only
2125*5113495bSYour Name 
2126*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only
2127*5113495bSYour Name 
2128*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only
2129*5113495bSYour Name 
2130*5113495bSYour Name 
2131*5113495bSYour Name 
2132*5113495bSYour Name 			Note: a punctured transmission is indicated by the
2133*5113495bSYour Name 			presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler
2134*5113495bSYour Name 			TLV
2135*5113495bSYour Name 
2136*5113495bSYour Name 
2137*5113495bSYour Name 
2138*5113495bSYour Name 			<legal all>
2139*5113495bSYour Name */
2140*5113495bSYour Name #define RX_REO_QUEUE_EXT_23_MPDU_LINK_POINTER_10_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_OFFSET 0x0000005c
2141*5113495bSYour Name #define RX_REO_QUEUE_EXT_23_MPDU_LINK_POINTER_10_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_LSB 11
2142*5113495bSYour Name #define RX_REO_QUEUE_EXT_23_MPDU_LINK_POINTER_10_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_MASK 0xfffff800
2143*5113495bSYour Name 
2144*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_mpdu_link_ptr mpdu_link_pointer_11 */
2145*5113495bSYour Name 
2146*5113495bSYour Name 
2147*5113495bSYour Name  /* EXTERNAL REFERENCE : struct buffer_addr_info mpdu_link_desc_addr_info */
2148*5113495bSYour Name 
2149*5113495bSYour Name 
2150*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_24_MPDU_LINK_POINTER_11_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0
2151*5113495bSYour Name 
2152*5113495bSYour Name 			Address (lower 32 bits) of the MSDU buffer OR
2153*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
2154*5113495bSYour Name 
2155*5113495bSYour Name 
2156*5113495bSYour Name 
2157*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2158*5113495bSYour Name 
2159*5113495bSYour Name 			<legal all>
2160*5113495bSYour Name */
2161*5113495bSYour Name #define RX_REO_QUEUE_EXT_24_MPDU_LINK_POINTER_11_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_OFFSET 0x00000060
2162*5113495bSYour Name #define RX_REO_QUEUE_EXT_24_MPDU_LINK_POINTER_11_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_LSB 0
2163*5113495bSYour Name #define RX_REO_QUEUE_EXT_24_MPDU_LINK_POINTER_11_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_MASK 0xffffffff
2164*5113495bSYour Name 
2165*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_25_MPDU_LINK_POINTER_11_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32
2166*5113495bSYour Name 
2167*5113495bSYour Name 			Address (upper 8 bits) of the MSDU buffer OR
2168*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
2169*5113495bSYour Name 
2170*5113495bSYour Name 
2171*5113495bSYour Name 
2172*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2173*5113495bSYour Name 
2174*5113495bSYour Name 			<legal all>
2175*5113495bSYour Name */
2176*5113495bSYour Name #define RX_REO_QUEUE_EXT_25_MPDU_LINK_POINTER_11_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_OFFSET 0x00000064
2177*5113495bSYour Name #define RX_REO_QUEUE_EXT_25_MPDU_LINK_POINTER_11_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_LSB 0
2178*5113495bSYour Name #define RX_REO_QUEUE_EXT_25_MPDU_LINK_POINTER_11_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_MASK 0x000000ff
2179*5113495bSYour Name 
2180*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_25_MPDU_LINK_POINTER_11_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER
2181*5113495bSYour Name 
2182*5113495bSYour Name 			Consumer: WBM
2183*5113495bSYour Name 
2184*5113495bSYour Name 			Producer: SW/FW
2185*5113495bSYour Name 
2186*5113495bSYour Name 
2187*5113495bSYour Name 
2188*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2189*5113495bSYour Name 
2190*5113495bSYour Name 
2191*5113495bSYour Name 
2192*5113495bSYour Name 			Indicates to which buffer manager the buffer OR
2193*5113495bSYour Name 			MSDU_EXTENSION descriptor OR link descriptor that is being
2194*5113495bSYour Name 			pointed to shall be returned after the frame has been
2195*5113495bSYour Name 			processed. It is used by WBM for routing purposes.
2196*5113495bSYour Name 
2197*5113495bSYour Name 
2198*5113495bSYour Name 
2199*5113495bSYour Name 			<enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned
2200*5113495bSYour Name 			to the WMB buffer idle list
2201*5113495bSYour Name 
2202*5113495bSYour Name 			<enum 1 WBM_IDLE_DESC_LIST> This buffer shall be
2203*5113495bSYour Name 			returned to the WMB idle link descriptor idle list
2204*5113495bSYour Name 
2205*5113495bSYour Name 			<enum 2 FW_BM> This buffer shall be returned to the FW
2206*5113495bSYour Name 
2207*5113495bSYour Name 			<enum 3 SW0_BM> This buffer shall be returned to the SW,
2208*5113495bSYour Name 			ring 0
2209*5113495bSYour Name 
2210*5113495bSYour Name 			<enum 4 SW1_BM> This buffer shall be returned to the SW,
2211*5113495bSYour Name 			ring 1
2212*5113495bSYour Name 
2213*5113495bSYour Name 			<enum 5 SW2_BM> This buffer shall be returned to the SW,
2214*5113495bSYour Name 			ring 2
2215*5113495bSYour Name 
2216*5113495bSYour Name 			<enum 6 SW3_BM> This buffer shall be returned to the SW,
2217*5113495bSYour Name 			ring 3
2218*5113495bSYour Name 
2219*5113495bSYour Name 			<enum 7 SW4_BM> This buffer shall be returned to the SW,
2220*5113495bSYour Name 			ring 3
2221*5113495bSYour Name 
2222*5113495bSYour Name 
2223*5113495bSYour Name 
2224*5113495bSYour Name 			<legal all>
2225*5113495bSYour Name */
2226*5113495bSYour Name #define RX_REO_QUEUE_EXT_25_MPDU_LINK_POINTER_11_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_OFFSET 0x00000064
2227*5113495bSYour Name #define RX_REO_QUEUE_EXT_25_MPDU_LINK_POINTER_11_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_LSB 8
2228*5113495bSYour Name #define RX_REO_QUEUE_EXT_25_MPDU_LINK_POINTER_11_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_MASK 0x00000700
2229*5113495bSYour Name 
2230*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_25_MPDU_LINK_POINTER_11_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE
2231*5113495bSYour Name 
2232*5113495bSYour Name 			Cookie field exclusively used by SW.
2233*5113495bSYour Name 
2234*5113495bSYour Name 
2235*5113495bSYour Name 
2236*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2237*5113495bSYour Name 
2238*5113495bSYour Name 
2239*5113495bSYour Name 
2240*5113495bSYour Name 			HW ignores the contents, accept that it passes the
2241*5113495bSYour Name 			programmed value on to other descriptors together with the
2242*5113495bSYour Name 			physical address
2243*5113495bSYour Name 
2244*5113495bSYour Name 
2245*5113495bSYour Name 
2246*5113495bSYour Name 			Field can be used by SW to for example associate the
2247*5113495bSYour Name 			buffers physical address with the virtual address
2248*5113495bSYour Name 
2249*5113495bSYour Name 			The bit definitions as used by SW are within SW HLD
2250*5113495bSYour Name 			specification
2251*5113495bSYour Name 
2252*5113495bSYour Name 
2253*5113495bSYour Name 
2254*5113495bSYour Name 			NOTE:
2255*5113495bSYour Name 
2256*5113495bSYour Name 			The three most significant bits can have a special
2257*5113495bSYour Name 			meaning in case this struct is embedded in a TX_MPDU_DETAILS
2258*5113495bSYour Name 			STRUCT, and field transmit_bw_restriction is set
2259*5113495bSYour Name 
2260*5113495bSYour Name 
2261*5113495bSYour Name 
2262*5113495bSYour Name 			In case of NON punctured transmission:
2263*5113495bSYour Name 
2264*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only
2265*5113495bSYour Name 
2266*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only
2267*5113495bSYour Name 
2268*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only
2269*5113495bSYour Name 
2270*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only
2271*5113495bSYour Name 
2272*5113495bSYour Name 
2273*5113495bSYour Name 
2274*5113495bSYour Name 			In case of punctured transmission:
2275*5113495bSYour Name 
2276*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only
2277*5113495bSYour Name 
2278*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only
2279*5113495bSYour Name 
2280*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only
2281*5113495bSYour Name 
2282*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only
2283*5113495bSYour Name 
2284*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only
2285*5113495bSYour Name 
2286*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only
2287*5113495bSYour Name 
2288*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only
2289*5113495bSYour Name 
2290*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only
2291*5113495bSYour Name 
2292*5113495bSYour Name 
2293*5113495bSYour Name 
2294*5113495bSYour Name 			Note: a punctured transmission is indicated by the
2295*5113495bSYour Name 			presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler
2296*5113495bSYour Name 			TLV
2297*5113495bSYour Name 
2298*5113495bSYour Name 
2299*5113495bSYour Name 
2300*5113495bSYour Name 			<legal all>
2301*5113495bSYour Name */
2302*5113495bSYour Name #define RX_REO_QUEUE_EXT_25_MPDU_LINK_POINTER_11_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_OFFSET 0x00000064
2303*5113495bSYour Name #define RX_REO_QUEUE_EXT_25_MPDU_LINK_POINTER_11_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_LSB 11
2304*5113495bSYour Name #define RX_REO_QUEUE_EXT_25_MPDU_LINK_POINTER_11_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_MASK 0xfffff800
2305*5113495bSYour Name 
2306*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_mpdu_link_ptr mpdu_link_pointer_12 */
2307*5113495bSYour Name 
2308*5113495bSYour Name 
2309*5113495bSYour Name  /* EXTERNAL REFERENCE : struct buffer_addr_info mpdu_link_desc_addr_info */
2310*5113495bSYour Name 
2311*5113495bSYour Name 
2312*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_26_MPDU_LINK_POINTER_12_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0
2313*5113495bSYour Name 
2314*5113495bSYour Name 			Address (lower 32 bits) of the MSDU buffer OR
2315*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
2316*5113495bSYour Name 
2317*5113495bSYour Name 
2318*5113495bSYour Name 
2319*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2320*5113495bSYour Name 
2321*5113495bSYour Name 			<legal all>
2322*5113495bSYour Name */
2323*5113495bSYour Name #define RX_REO_QUEUE_EXT_26_MPDU_LINK_POINTER_12_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_OFFSET 0x00000068
2324*5113495bSYour Name #define RX_REO_QUEUE_EXT_26_MPDU_LINK_POINTER_12_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_LSB 0
2325*5113495bSYour Name #define RX_REO_QUEUE_EXT_26_MPDU_LINK_POINTER_12_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_MASK 0xffffffff
2326*5113495bSYour Name 
2327*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_27_MPDU_LINK_POINTER_12_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32
2328*5113495bSYour Name 
2329*5113495bSYour Name 			Address (upper 8 bits) of the MSDU buffer OR
2330*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
2331*5113495bSYour Name 
2332*5113495bSYour Name 
2333*5113495bSYour Name 
2334*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2335*5113495bSYour Name 
2336*5113495bSYour Name 			<legal all>
2337*5113495bSYour Name */
2338*5113495bSYour Name #define RX_REO_QUEUE_EXT_27_MPDU_LINK_POINTER_12_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_OFFSET 0x0000006c
2339*5113495bSYour Name #define RX_REO_QUEUE_EXT_27_MPDU_LINK_POINTER_12_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_LSB 0
2340*5113495bSYour Name #define RX_REO_QUEUE_EXT_27_MPDU_LINK_POINTER_12_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_MASK 0x000000ff
2341*5113495bSYour Name 
2342*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_27_MPDU_LINK_POINTER_12_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER
2343*5113495bSYour Name 
2344*5113495bSYour Name 			Consumer: WBM
2345*5113495bSYour Name 
2346*5113495bSYour Name 			Producer: SW/FW
2347*5113495bSYour Name 
2348*5113495bSYour Name 
2349*5113495bSYour Name 
2350*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2351*5113495bSYour Name 
2352*5113495bSYour Name 
2353*5113495bSYour Name 
2354*5113495bSYour Name 			Indicates to which buffer manager the buffer OR
2355*5113495bSYour Name 			MSDU_EXTENSION descriptor OR link descriptor that is being
2356*5113495bSYour Name 			pointed to shall be returned after the frame has been
2357*5113495bSYour Name 			processed. It is used by WBM for routing purposes.
2358*5113495bSYour Name 
2359*5113495bSYour Name 
2360*5113495bSYour Name 
2361*5113495bSYour Name 			<enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned
2362*5113495bSYour Name 			to the WMB buffer idle list
2363*5113495bSYour Name 
2364*5113495bSYour Name 			<enum 1 WBM_IDLE_DESC_LIST> This buffer shall be
2365*5113495bSYour Name 			returned to the WMB idle link descriptor idle list
2366*5113495bSYour Name 
2367*5113495bSYour Name 			<enum 2 FW_BM> This buffer shall be returned to the FW
2368*5113495bSYour Name 
2369*5113495bSYour Name 			<enum 3 SW0_BM> This buffer shall be returned to the SW,
2370*5113495bSYour Name 			ring 0
2371*5113495bSYour Name 
2372*5113495bSYour Name 			<enum 4 SW1_BM> This buffer shall be returned to the SW,
2373*5113495bSYour Name 			ring 1
2374*5113495bSYour Name 
2375*5113495bSYour Name 			<enum 5 SW2_BM> This buffer shall be returned to the SW,
2376*5113495bSYour Name 			ring 2
2377*5113495bSYour Name 
2378*5113495bSYour Name 			<enum 6 SW3_BM> This buffer shall be returned to the SW,
2379*5113495bSYour Name 			ring 3
2380*5113495bSYour Name 
2381*5113495bSYour Name 			<enum 7 SW4_BM> This buffer shall be returned to the SW,
2382*5113495bSYour Name 			ring 3
2383*5113495bSYour Name 
2384*5113495bSYour Name 
2385*5113495bSYour Name 
2386*5113495bSYour Name 			<legal all>
2387*5113495bSYour Name */
2388*5113495bSYour Name #define RX_REO_QUEUE_EXT_27_MPDU_LINK_POINTER_12_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_OFFSET 0x0000006c
2389*5113495bSYour Name #define RX_REO_QUEUE_EXT_27_MPDU_LINK_POINTER_12_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_LSB 8
2390*5113495bSYour Name #define RX_REO_QUEUE_EXT_27_MPDU_LINK_POINTER_12_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_MASK 0x00000700
2391*5113495bSYour Name 
2392*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_27_MPDU_LINK_POINTER_12_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE
2393*5113495bSYour Name 
2394*5113495bSYour Name 			Cookie field exclusively used by SW.
2395*5113495bSYour Name 
2396*5113495bSYour Name 
2397*5113495bSYour Name 
2398*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2399*5113495bSYour Name 
2400*5113495bSYour Name 
2401*5113495bSYour Name 
2402*5113495bSYour Name 			HW ignores the contents, accept that it passes the
2403*5113495bSYour Name 			programmed value on to other descriptors together with the
2404*5113495bSYour Name 			physical address
2405*5113495bSYour Name 
2406*5113495bSYour Name 
2407*5113495bSYour Name 
2408*5113495bSYour Name 			Field can be used by SW to for example associate the
2409*5113495bSYour Name 			buffers physical address with the virtual address
2410*5113495bSYour Name 
2411*5113495bSYour Name 			The bit definitions as used by SW are within SW HLD
2412*5113495bSYour Name 			specification
2413*5113495bSYour Name 
2414*5113495bSYour Name 
2415*5113495bSYour Name 
2416*5113495bSYour Name 			NOTE:
2417*5113495bSYour Name 
2418*5113495bSYour Name 			The three most significant bits can have a special
2419*5113495bSYour Name 			meaning in case this struct is embedded in a TX_MPDU_DETAILS
2420*5113495bSYour Name 			STRUCT, and field transmit_bw_restriction is set
2421*5113495bSYour Name 
2422*5113495bSYour Name 
2423*5113495bSYour Name 
2424*5113495bSYour Name 			In case of NON punctured transmission:
2425*5113495bSYour Name 
2426*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only
2427*5113495bSYour Name 
2428*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only
2429*5113495bSYour Name 
2430*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only
2431*5113495bSYour Name 
2432*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only
2433*5113495bSYour Name 
2434*5113495bSYour Name 
2435*5113495bSYour Name 
2436*5113495bSYour Name 			In case of punctured transmission:
2437*5113495bSYour Name 
2438*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only
2439*5113495bSYour Name 
2440*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only
2441*5113495bSYour Name 
2442*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only
2443*5113495bSYour Name 
2444*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only
2445*5113495bSYour Name 
2446*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only
2447*5113495bSYour Name 
2448*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only
2449*5113495bSYour Name 
2450*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only
2451*5113495bSYour Name 
2452*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only
2453*5113495bSYour Name 
2454*5113495bSYour Name 
2455*5113495bSYour Name 
2456*5113495bSYour Name 			Note: a punctured transmission is indicated by the
2457*5113495bSYour Name 			presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler
2458*5113495bSYour Name 			TLV
2459*5113495bSYour Name 
2460*5113495bSYour Name 
2461*5113495bSYour Name 
2462*5113495bSYour Name 			<legal all>
2463*5113495bSYour Name */
2464*5113495bSYour Name #define RX_REO_QUEUE_EXT_27_MPDU_LINK_POINTER_12_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_OFFSET 0x0000006c
2465*5113495bSYour Name #define RX_REO_QUEUE_EXT_27_MPDU_LINK_POINTER_12_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_LSB 11
2466*5113495bSYour Name #define RX_REO_QUEUE_EXT_27_MPDU_LINK_POINTER_12_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_MASK 0xfffff800
2467*5113495bSYour Name 
2468*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_mpdu_link_ptr mpdu_link_pointer_13 */
2469*5113495bSYour Name 
2470*5113495bSYour Name 
2471*5113495bSYour Name  /* EXTERNAL REFERENCE : struct buffer_addr_info mpdu_link_desc_addr_info */
2472*5113495bSYour Name 
2473*5113495bSYour Name 
2474*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_28_MPDU_LINK_POINTER_13_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0
2475*5113495bSYour Name 
2476*5113495bSYour Name 			Address (lower 32 bits) of the MSDU buffer OR
2477*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
2478*5113495bSYour Name 
2479*5113495bSYour Name 
2480*5113495bSYour Name 
2481*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2482*5113495bSYour Name 
2483*5113495bSYour Name 			<legal all>
2484*5113495bSYour Name */
2485*5113495bSYour Name #define RX_REO_QUEUE_EXT_28_MPDU_LINK_POINTER_13_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_OFFSET 0x00000070
2486*5113495bSYour Name #define RX_REO_QUEUE_EXT_28_MPDU_LINK_POINTER_13_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_LSB 0
2487*5113495bSYour Name #define RX_REO_QUEUE_EXT_28_MPDU_LINK_POINTER_13_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_MASK 0xffffffff
2488*5113495bSYour Name 
2489*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_29_MPDU_LINK_POINTER_13_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32
2490*5113495bSYour Name 
2491*5113495bSYour Name 			Address (upper 8 bits) of the MSDU buffer OR
2492*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
2493*5113495bSYour Name 
2494*5113495bSYour Name 
2495*5113495bSYour Name 
2496*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2497*5113495bSYour Name 
2498*5113495bSYour Name 			<legal all>
2499*5113495bSYour Name */
2500*5113495bSYour Name #define RX_REO_QUEUE_EXT_29_MPDU_LINK_POINTER_13_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_OFFSET 0x00000074
2501*5113495bSYour Name #define RX_REO_QUEUE_EXT_29_MPDU_LINK_POINTER_13_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_LSB 0
2502*5113495bSYour Name #define RX_REO_QUEUE_EXT_29_MPDU_LINK_POINTER_13_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_MASK 0x000000ff
2503*5113495bSYour Name 
2504*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_29_MPDU_LINK_POINTER_13_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER
2505*5113495bSYour Name 
2506*5113495bSYour Name 			Consumer: WBM
2507*5113495bSYour Name 
2508*5113495bSYour Name 			Producer: SW/FW
2509*5113495bSYour Name 
2510*5113495bSYour Name 
2511*5113495bSYour Name 
2512*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2513*5113495bSYour Name 
2514*5113495bSYour Name 
2515*5113495bSYour Name 
2516*5113495bSYour Name 			Indicates to which buffer manager the buffer OR
2517*5113495bSYour Name 			MSDU_EXTENSION descriptor OR link descriptor that is being
2518*5113495bSYour Name 			pointed to shall be returned after the frame has been
2519*5113495bSYour Name 			processed. It is used by WBM for routing purposes.
2520*5113495bSYour Name 
2521*5113495bSYour Name 
2522*5113495bSYour Name 
2523*5113495bSYour Name 			<enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned
2524*5113495bSYour Name 			to the WMB buffer idle list
2525*5113495bSYour Name 
2526*5113495bSYour Name 			<enum 1 WBM_IDLE_DESC_LIST> This buffer shall be
2527*5113495bSYour Name 			returned to the WMB idle link descriptor idle list
2528*5113495bSYour Name 
2529*5113495bSYour Name 			<enum 2 FW_BM> This buffer shall be returned to the FW
2530*5113495bSYour Name 
2531*5113495bSYour Name 			<enum 3 SW0_BM> This buffer shall be returned to the SW,
2532*5113495bSYour Name 			ring 0
2533*5113495bSYour Name 
2534*5113495bSYour Name 			<enum 4 SW1_BM> This buffer shall be returned to the SW,
2535*5113495bSYour Name 			ring 1
2536*5113495bSYour Name 
2537*5113495bSYour Name 			<enum 5 SW2_BM> This buffer shall be returned to the SW,
2538*5113495bSYour Name 			ring 2
2539*5113495bSYour Name 
2540*5113495bSYour Name 			<enum 6 SW3_BM> This buffer shall be returned to the SW,
2541*5113495bSYour Name 			ring 3
2542*5113495bSYour Name 
2543*5113495bSYour Name 			<enum 7 SW4_BM> This buffer shall be returned to the SW,
2544*5113495bSYour Name 			ring 3
2545*5113495bSYour Name 
2546*5113495bSYour Name 
2547*5113495bSYour Name 
2548*5113495bSYour Name 			<legal all>
2549*5113495bSYour Name */
2550*5113495bSYour Name #define RX_REO_QUEUE_EXT_29_MPDU_LINK_POINTER_13_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_OFFSET 0x00000074
2551*5113495bSYour Name #define RX_REO_QUEUE_EXT_29_MPDU_LINK_POINTER_13_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_LSB 8
2552*5113495bSYour Name #define RX_REO_QUEUE_EXT_29_MPDU_LINK_POINTER_13_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_MASK 0x00000700
2553*5113495bSYour Name 
2554*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_29_MPDU_LINK_POINTER_13_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE
2555*5113495bSYour Name 
2556*5113495bSYour Name 			Cookie field exclusively used by SW.
2557*5113495bSYour Name 
2558*5113495bSYour Name 
2559*5113495bSYour Name 
2560*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2561*5113495bSYour Name 
2562*5113495bSYour Name 
2563*5113495bSYour Name 
2564*5113495bSYour Name 			HW ignores the contents, accept that it passes the
2565*5113495bSYour Name 			programmed value on to other descriptors together with the
2566*5113495bSYour Name 			physical address
2567*5113495bSYour Name 
2568*5113495bSYour Name 
2569*5113495bSYour Name 
2570*5113495bSYour Name 			Field can be used by SW to for example associate the
2571*5113495bSYour Name 			buffers physical address with the virtual address
2572*5113495bSYour Name 
2573*5113495bSYour Name 			The bit definitions as used by SW are within SW HLD
2574*5113495bSYour Name 			specification
2575*5113495bSYour Name 
2576*5113495bSYour Name 
2577*5113495bSYour Name 
2578*5113495bSYour Name 			NOTE:
2579*5113495bSYour Name 
2580*5113495bSYour Name 			The three most significant bits can have a special
2581*5113495bSYour Name 			meaning in case this struct is embedded in a TX_MPDU_DETAILS
2582*5113495bSYour Name 			STRUCT, and field transmit_bw_restriction is set
2583*5113495bSYour Name 
2584*5113495bSYour Name 
2585*5113495bSYour Name 
2586*5113495bSYour Name 			In case of NON punctured transmission:
2587*5113495bSYour Name 
2588*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only
2589*5113495bSYour Name 
2590*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only
2591*5113495bSYour Name 
2592*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only
2593*5113495bSYour Name 
2594*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only
2595*5113495bSYour Name 
2596*5113495bSYour Name 
2597*5113495bSYour Name 
2598*5113495bSYour Name 			In case of punctured transmission:
2599*5113495bSYour Name 
2600*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only
2601*5113495bSYour Name 
2602*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only
2603*5113495bSYour Name 
2604*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only
2605*5113495bSYour Name 
2606*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only
2607*5113495bSYour Name 
2608*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only
2609*5113495bSYour Name 
2610*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only
2611*5113495bSYour Name 
2612*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only
2613*5113495bSYour Name 
2614*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only
2615*5113495bSYour Name 
2616*5113495bSYour Name 
2617*5113495bSYour Name 
2618*5113495bSYour Name 			Note: a punctured transmission is indicated by the
2619*5113495bSYour Name 			presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler
2620*5113495bSYour Name 			TLV
2621*5113495bSYour Name 
2622*5113495bSYour Name 
2623*5113495bSYour Name 
2624*5113495bSYour Name 			<legal all>
2625*5113495bSYour Name */
2626*5113495bSYour Name #define RX_REO_QUEUE_EXT_29_MPDU_LINK_POINTER_13_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_OFFSET 0x00000074
2627*5113495bSYour Name #define RX_REO_QUEUE_EXT_29_MPDU_LINK_POINTER_13_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_LSB 11
2628*5113495bSYour Name #define RX_REO_QUEUE_EXT_29_MPDU_LINK_POINTER_13_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_MASK 0xfffff800
2629*5113495bSYour Name 
2630*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_mpdu_link_ptr mpdu_link_pointer_14 */
2631*5113495bSYour Name 
2632*5113495bSYour Name 
2633*5113495bSYour Name  /* EXTERNAL REFERENCE : struct buffer_addr_info mpdu_link_desc_addr_info */
2634*5113495bSYour Name 
2635*5113495bSYour Name 
2636*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_30_MPDU_LINK_POINTER_14_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0
2637*5113495bSYour Name 
2638*5113495bSYour Name 			Address (lower 32 bits) of the MSDU buffer OR
2639*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
2640*5113495bSYour Name 
2641*5113495bSYour Name 
2642*5113495bSYour Name 
2643*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2644*5113495bSYour Name 
2645*5113495bSYour Name 			<legal all>
2646*5113495bSYour Name */
2647*5113495bSYour Name #define RX_REO_QUEUE_EXT_30_MPDU_LINK_POINTER_14_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_OFFSET 0x00000078
2648*5113495bSYour Name #define RX_REO_QUEUE_EXT_30_MPDU_LINK_POINTER_14_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_LSB 0
2649*5113495bSYour Name #define RX_REO_QUEUE_EXT_30_MPDU_LINK_POINTER_14_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_MASK 0xffffffff
2650*5113495bSYour Name 
2651*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_31_MPDU_LINK_POINTER_14_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32
2652*5113495bSYour Name 
2653*5113495bSYour Name 			Address (upper 8 bits) of the MSDU buffer OR
2654*5113495bSYour Name 			MSDU_EXTENSION descriptor OR Link Descriptor
2655*5113495bSYour Name 
2656*5113495bSYour Name 
2657*5113495bSYour Name 
2658*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2659*5113495bSYour Name 
2660*5113495bSYour Name 			<legal all>
2661*5113495bSYour Name */
2662*5113495bSYour Name #define RX_REO_QUEUE_EXT_31_MPDU_LINK_POINTER_14_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_OFFSET 0x0000007c
2663*5113495bSYour Name #define RX_REO_QUEUE_EXT_31_MPDU_LINK_POINTER_14_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_LSB 0
2664*5113495bSYour Name #define RX_REO_QUEUE_EXT_31_MPDU_LINK_POINTER_14_MPDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_MASK 0x000000ff
2665*5113495bSYour Name 
2666*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_31_MPDU_LINK_POINTER_14_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER
2667*5113495bSYour Name 
2668*5113495bSYour Name 			Consumer: WBM
2669*5113495bSYour Name 
2670*5113495bSYour Name 			Producer: SW/FW
2671*5113495bSYour Name 
2672*5113495bSYour Name 
2673*5113495bSYour Name 
2674*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2675*5113495bSYour Name 
2676*5113495bSYour Name 
2677*5113495bSYour Name 
2678*5113495bSYour Name 			Indicates to which buffer manager the buffer OR
2679*5113495bSYour Name 			MSDU_EXTENSION descriptor OR link descriptor that is being
2680*5113495bSYour Name 			pointed to shall be returned after the frame has been
2681*5113495bSYour Name 			processed. It is used by WBM for routing purposes.
2682*5113495bSYour Name 
2683*5113495bSYour Name 
2684*5113495bSYour Name 
2685*5113495bSYour Name 			<enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned
2686*5113495bSYour Name 			to the WMB buffer idle list
2687*5113495bSYour Name 
2688*5113495bSYour Name 			<enum 1 WBM_IDLE_DESC_LIST> This buffer shall be
2689*5113495bSYour Name 			returned to the WMB idle link descriptor idle list
2690*5113495bSYour Name 
2691*5113495bSYour Name 			<enum 2 FW_BM> This buffer shall be returned to the FW
2692*5113495bSYour Name 
2693*5113495bSYour Name 			<enum 3 SW0_BM> This buffer shall be returned to the SW,
2694*5113495bSYour Name 			ring 0
2695*5113495bSYour Name 
2696*5113495bSYour Name 			<enum 4 SW1_BM> This buffer shall be returned to the SW,
2697*5113495bSYour Name 			ring 1
2698*5113495bSYour Name 
2699*5113495bSYour Name 			<enum 5 SW2_BM> This buffer shall be returned to the SW,
2700*5113495bSYour Name 			ring 2
2701*5113495bSYour Name 
2702*5113495bSYour Name 			<enum 6 SW3_BM> This buffer shall be returned to the SW,
2703*5113495bSYour Name 			ring 3
2704*5113495bSYour Name 
2705*5113495bSYour Name 			<enum 7 SW4_BM> This buffer shall be returned to the SW,
2706*5113495bSYour Name 			ring 3
2707*5113495bSYour Name 
2708*5113495bSYour Name 
2709*5113495bSYour Name 
2710*5113495bSYour Name 			<legal all>
2711*5113495bSYour Name */
2712*5113495bSYour Name #define RX_REO_QUEUE_EXT_31_MPDU_LINK_POINTER_14_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_OFFSET 0x0000007c
2713*5113495bSYour Name #define RX_REO_QUEUE_EXT_31_MPDU_LINK_POINTER_14_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_LSB 8
2714*5113495bSYour Name #define RX_REO_QUEUE_EXT_31_MPDU_LINK_POINTER_14_MPDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_MASK 0x00000700
2715*5113495bSYour Name 
2716*5113495bSYour Name /* Description		RX_REO_QUEUE_EXT_31_MPDU_LINK_POINTER_14_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE
2717*5113495bSYour Name 
2718*5113495bSYour Name 			Cookie field exclusively used by SW.
2719*5113495bSYour Name 
2720*5113495bSYour Name 
2721*5113495bSYour Name 
2722*5113495bSYour Name 			In case of 'NULL' pointer, this field is set to 0
2723*5113495bSYour Name 
2724*5113495bSYour Name 
2725*5113495bSYour Name 
2726*5113495bSYour Name 			HW ignores the contents, accept that it passes the
2727*5113495bSYour Name 			programmed value on to other descriptors together with the
2728*5113495bSYour Name 			physical address
2729*5113495bSYour Name 
2730*5113495bSYour Name 
2731*5113495bSYour Name 
2732*5113495bSYour Name 			Field can be used by SW to for example associate the
2733*5113495bSYour Name 			buffers physical address with the virtual address
2734*5113495bSYour Name 
2735*5113495bSYour Name 			The bit definitions as used by SW are within SW HLD
2736*5113495bSYour Name 			specification
2737*5113495bSYour Name 
2738*5113495bSYour Name 
2739*5113495bSYour Name 
2740*5113495bSYour Name 			NOTE:
2741*5113495bSYour Name 
2742*5113495bSYour Name 			The three most significant bits can have a special
2743*5113495bSYour Name 			meaning in case this struct is embedded in a TX_MPDU_DETAILS
2744*5113495bSYour Name 			STRUCT, and field transmit_bw_restriction is set
2745*5113495bSYour Name 
2746*5113495bSYour Name 
2747*5113495bSYour Name 
2748*5113495bSYour Name 			In case of NON punctured transmission:
2749*5113495bSYour Name 
2750*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only
2751*5113495bSYour Name 
2752*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only
2753*5113495bSYour Name 
2754*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only
2755*5113495bSYour Name 
2756*5113495bSYour Name 			Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only
2757*5113495bSYour Name 
2758*5113495bSYour Name 
2759*5113495bSYour Name 
2760*5113495bSYour Name 			In case of punctured transmission:
2761*5113495bSYour Name 
2762*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only
2763*5113495bSYour Name 
2764*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only
2765*5113495bSYour Name 
2766*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only
2767*5113495bSYour Name 
2768*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only
2769*5113495bSYour Name 
2770*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only
2771*5113495bSYour Name 
2772*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only
2773*5113495bSYour Name 
2774*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only
2775*5113495bSYour Name 
2776*5113495bSYour Name 			Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only
2777*5113495bSYour Name 
2778*5113495bSYour Name 
2779*5113495bSYour Name 
2780*5113495bSYour Name 			Note: a punctured transmission is indicated by the
2781*5113495bSYour Name 			presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler
2782*5113495bSYour Name 			TLV
2783*5113495bSYour Name 
2784*5113495bSYour Name 
2785*5113495bSYour Name 
2786*5113495bSYour Name 			<legal all>
2787*5113495bSYour Name */
2788*5113495bSYour Name #define RX_REO_QUEUE_EXT_31_MPDU_LINK_POINTER_14_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_OFFSET 0x0000007c
2789*5113495bSYour Name #define RX_REO_QUEUE_EXT_31_MPDU_LINK_POINTER_14_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_LSB 11
2790*5113495bSYour Name #define RX_REO_QUEUE_EXT_31_MPDU_LINK_POINTER_14_MPDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_MASK 0xfffff800
2791*5113495bSYour Name 
2792*5113495bSYour Name 
2793*5113495bSYour Name #endif // _RX_REO_QUEUE_EXT_H_
2794