xref: /wlan-driver/fw-api/hw/qcn9000/rx_mpdu_start.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1*5113495bSYour Name /*
2*5113495bSYour Name  * Copyright (c) 2019, The Linux Foundation. All rights reserved.
3*5113495bSYour Name  *
4*5113495bSYour Name  * Permission to use, copy, modify, and/or distribute this software for any
5*5113495bSYour Name  * purpose with or without fee is hereby granted, provided that the above
6*5113495bSYour Name  * copyright notice and this permission notice appear in all copies.
7*5113495bSYour Name  *
8*5113495bSYour Name  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9*5113495bSYour Name  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10*5113495bSYour Name  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11*5113495bSYour Name  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12*5113495bSYour Name  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13*5113495bSYour Name  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14*5113495bSYour Name  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15*5113495bSYour Name  */
16*5113495bSYour Name 
17*5113495bSYour Name #ifndef _RX_MPDU_START_H_
18*5113495bSYour Name #define _RX_MPDU_START_H_
19*5113495bSYour Name #if !defined(__ASSEMBLER__)
20*5113495bSYour Name #endif
21*5113495bSYour Name 
22*5113495bSYour Name #include "rx_mpdu_info.h"
23*5113495bSYour Name 
24*5113495bSYour Name // ################ START SUMMARY #################
25*5113495bSYour Name //
26*5113495bSYour Name //	Dword	Fields
27*5113495bSYour Name //	0-22	struct rx_mpdu_info rx_mpdu_info_details;
28*5113495bSYour Name //
29*5113495bSYour Name // ################ END SUMMARY #################
30*5113495bSYour Name 
31*5113495bSYour Name #define NUM_OF_DWORDS_RX_MPDU_START 23
32*5113495bSYour Name 
33*5113495bSYour Name struct rx_mpdu_start {
34*5113495bSYour Name     struct            rx_mpdu_info                       rx_mpdu_info_details;
35*5113495bSYour Name };
36*5113495bSYour Name 
37*5113495bSYour Name /*
38*5113495bSYour Name 
39*5113495bSYour Name struct rx_mpdu_info rx_mpdu_info_details
40*5113495bSYour Name 
41*5113495bSYour Name 			Structure containing all the MPDU header details that
42*5113495bSYour Name 			might be needed for other modules further down the received
43*5113495bSYour Name 			path
44*5113495bSYour Name */
45*5113495bSYour Name 
46*5113495bSYour Name 
47*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rx_mpdu_info rx_mpdu_info_details */
48*5113495bSYour Name 
49*5113495bSYour Name 
50*5113495bSYour Name  /* EXTERNAL REFERENCE : struct rxpt_classify_info rxpt_classify_info_details */
51*5113495bSYour Name 
52*5113495bSYour Name 
53*5113495bSYour Name /* Description		RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_REO_DESTINATION_INDICATION
54*5113495bSYour Name 
55*5113495bSYour Name 			The ID of the REO exit ring where the MSDU frame shall
56*5113495bSYour Name 			push after (MPDU level) reordering has finished.
57*5113495bSYour Name 
58*5113495bSYour Name 
59*5113495bSYour Name 
60*5113495bSYour Name 			<enum 0 reo_destination_tcl> Reo will push the frame
61*5113495bSYour Name 			into the REO2TCL ring
62*5113495bSYour Name 
63*5113495bSYour Name 			<enum 1 reo_destination_sw1> Reo will push the frame
64*5113495bSYour Name 			into the REO2SW1 ring
65*5113495bSYour Name 
66*5113495bSYour Name 			<enum 2 reo_destination_sw2> Reo will push the frame
67*5113495bSYour Name 			into the REO2SW2 ring
68*5113495bSYour Name 
69*5113495bSYour Name 			<enum 3 reo_destination_sw3> Reo will push the frame
70*5113495bSYour Name 			into the REO2SW3 ring
71*5113495bSYour Name 
72*5113495bSYour Name 			<enum 4 reo_destination_sw4> Reo will push the frame
73*5113495bSYour Name 			into the REO2SW4 ring
74*5113495bSYour Name 
75*5113495bSYour Name 			<enum 5 reo_destination_release> Reo will push the frame
76*5113495bSYour Name 			into the REO_release ring
77*5113495bSYour Name 
78*5113495bSYour Name 			<enum 6 reo_destination_fw> Reo will push the frame into
79*5113495bSYour Name 			the REO2FW ring
80*5113495bSYour Name 
81*5113495bSYour Name 			<enum 7 reo_destination_sw5> Reo will push the frame
82*5113495bSYour Name 			into the REO2SW5 ring (REO remaps this in chips without
83*5113495bSYour Name 			REO2SW5 ring, e.g. Pine)
84*5113495bSYour Name 
85*5113495bSYour Name 			<enum 8 reo_destination_sw6> Reo will push the frame
86*5113495bSYour Name 			into the REO2SW6 ring (REO remaps this in chips without
87*5113495bSYour Name 			REO2SW6 ring, e.g. Pine)
88*5113495bSYour Name 
89*5113495bSYour Name 			<enum 9 reo_destination_9> REO remaps this <enum 10
90*5113495bSYour Name 			reo_destination_10> REO remaps this
91*5113495bSYour Name 
92*5113495bSYour Name 			<enum 11 reo_destination_11> REO remaps this
93*5113495bSYour Name 
94*5113495bSYour Name 			<enum 12 reo_destination_12> REO remaps this <enum 13
95*5113495bSYour Name 			reo_destination_13> REO remaps this
96*5113495bSYour Name 
97*5113495bSYour Name 			<enum 14 reo_destination_14> REO remaps this
98*5113495bSYour Name 
99*5113495bSYour Name 			<enum 15 reo_destination_15> REO remaps this
100*5113495bSYour Name 
101*5113495bSYour Name 			<enum 16 reo_destination_16> REO remaps this
102*5113495bSYour Name 
103*5113495bSYour Name 			<enum 17 reo_destination_17> REO remaps this
104*5113495bSYour Name 
105*5113495bSYour Name 			<enum 18 reo_destination_18> REO remaps this
106*5113495bSYour Name 
107*5113495bSYour Name 			<enum 19 reo_destination_19> REO remaps this
108*5113495bSYour Name 
109*5113495bSYour Name 			<enum 20 reo_destination_20> REO remaps this
110*5113495bSYour Name 
111*5113495bSYour Name 			<enum 21 reo_destination_21> REO remaps this
112*5113495bSYour Name 
113*5113495bSYour Name 			<enum 22 reo_destination_22> REO remaps this
114*5113495bSYour Name 
115*5113495bSYour Name 			<enum 23 reo_destination_23> REO remaps this
116*5113495bSYour Name 
117*5113495bSYour Name 			<enum 24 reo_destination_24> REO remaps this
118*5113495bSYour Name 
119*5113495bSYour Name 			<enum 25 reo_destination_25> REO remaps this
120*5113495bSYour Name 
121*5113495bSYour Name 			<enum 26 reo_destination_26> REO remaps this
122*5113495bSYour Name 
123*5113495bSYour Name 			<enum 27 reo_destination_27> REO remaps this
124*5113495bSYour Name 
125*5113495bSYour Name 			<enum 28 reo_destination_28> REO remaps this
126*5113495bSYour Name 
127*5113495bSYour Name 			<enum 29 reo_destination_29> REO remaps this
128*5113495bSYour Name 
129*5113495bSYour Name 			<enum 30 reo_destination_30> REO remaps this
130*5113495bSYour Name 
131*5113495bSYour Name 			<enum 31 reo_destination_31> REO remaps this
132*5113495bSYour Name 
133*5113495bSYour Name 
134*5113495bSYour Name 
135*5113495bSYour Name 			<legal all>
136*5113495bSYour Name */
137*5113495bSYour Name #define RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_REO_DESTINATION_INDICATION_OFFSET 0x00000000
138*5113495bSYour Name #define RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_REO_DESTINATION_INDICATION_LSB 0
139*5113495bSYour Name #define RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_REO_DESTINATION_INDICATION_MASK 0x0000001f
140*5113495bSYour Name 
141*5113495bSYour Name /* Description		RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_LMAC_PEER_ID_MSB
142*5113495bSYour Name 
143*5113495bSYour Name 			If use_flow_id_toeplitz_clfy is set and lmac_peer_id_'sb
144*5113495bSYour Name 			is 2'b00, Rx OLE uses a REO desination indicati'n of {1'b1,
145*5113495bSYour Name 			hash[3:0]} using the chosen Toeplitz hash from Common Parser
146*5113495bSYour Name 			if flow search fails.
147*5113495bSYour Name 
148*5113495bSYour Name 			If use_flow_id_toeplitz_clfy is set and lmac_peer_id_msb
149*5113495bSYour Name 			's not 2'b00, Rx OLE uses a REO desination indication of
150*5113495bSYour Name 			{lmac_peer_id_msb, hash[2:0]} using the chosen Toeplitz hash
151*5113495bSYour Name 			from Common Parser if flow search fails.
152*5113495bSYour Name 
153*5113495bSYour Name 			This LMAC/peer-based routing is not supported in
154*5113495bSYour Name 			Hastings80 and HastingsPrime.
155*5113495bSYour Name 
156*5113495bSYour Name 			<legal 0>
157*5113495bSYour Name */
158*5113495bSYour Name #define RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_LMAC_PEER_ID_MSB_OFFSET 0x00000000
159*5113495bSYour Name #define RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_LMAC_PEER_ID_MSB_LSB 5
160*5113495bSYour Name #define RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_LMAC_PEER_ID_MSB_MASK 0x00000060
161*5113495bSYour Name 
162*5113495bSYour Name /* Description		RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_USE_FLOW_ID_TOEPLITZ_CLFY
163*5113495bSYour Name 
164*5113495bSYour Name 			Indication to Rx OLE to enable REO destination routing
165*5113495bSYour Name 			based on the chosen Toeplitz hash from Common Parser, in
166*5113495bSYour Name 			case flow search fails
167*5113495bSYour Name 
168*5113495bSYour Name 			<legal all>
169*5113495bSYour Name */
170*5113495bSYour Name #define RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_USE_FLOW_ID_TOEPLITZ_CLFY_OFFSET 0x00000000
171*5113495bSYour Name #define RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_USE_FLOW_ID_TOEPLITZ_CLFY_LSB 7
172*5113495bSYour Name #define RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_USE_FLOW_ID_TOEPLITZ_CLFY_MASK 0x00000080
173*5113495bSYour Name 
174*5113495bSYour Name /* Description		RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_UCAST_DATA
175*5113495bSYour Name 
176*5113495bSYour Name 			Filter pass Unicast data frame (matching
177*5113495bSYour Name 			rxpcu_filter_pass and sw_frame_group_Unicast_data) routing
178*5113495bSYour Name 			selection
179*5113495bSYour Name 
180*5113495bSYour Name 
181*5113495bSYour Name 
182*5113495bSYour Name 			1'b0: source and destination rings are selected from the
183*5113495bSYour Name 			RxOLE register settings for the packet type
184*5113495bSYour Name 
185*5113495bSYour Name 
186*5113495bSYour Name 
187*5113495bSYour Name 			1'b1: source ring and destination ring is selected from
188*5113495bSYour Name 			the rxdma0_source_ring_selection and
189*5113495bSYour Name 			rxdma0_destination_ring_selection fields in this STRUCT
190*5113495bSYour Name 
191*5113495bSYour Name 			<legal all>
192*5113495bSYour Name */
193*5113495bSYour Name #define RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_UCAST_DATA_OFFSET 0x00000000
194*5113495bSYour Name #define RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_UCAST_DATA_LSB 8
195*5113495bSYour Name #define RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_UCAST_DATA_MASK 0x00000100
196*5113495bSYour Name 
197*5113495bSYour Name /* Description		RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_MCAST_DATA
198*5113495bSYour Name 
199*5113495bSYour Name 			Filter pass Multicast data frame (matching
200*5113495bSYour Name 			rxpcu_filter_pass and sw_frame_group_Multicast_data) routing
201*5113495bSYour Name 			selection
202*5113495bSYour Name 
203*5113495bSYour Name 
204*5113495bSYour Name 
205*5113495bSYour Name 			1'b0: source and destination rings are selected from the
206*5113495bSYour Name 			RxOLE register settings for the packet type
207*5113495bSYour Name 
208*5113495bSYour Name 
209*5113495bSYour Name 
210*5113495bSYour Name 			1'b1: source ring and destination ring is selected from
211*5113495bSYour Name 			the rxdma0_source_ring_selection and
212*5113495bSYour Name 			rxdma0_destination_ring_selection fields in this STRUCT
213*5113495bSYour Name 
214*5113495bSYour Name 			<legal all>
215*5113495bSYour Name */
216*5113495bSYour Name #define RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_MCAST_DATA_OFFSET 0x00000000
217*5113495bSYour Name #define RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_MCAST_DATA_LSB 9
218*5113495bSYour Name #define RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_MCAST_DATA_MASK 0x00000200
219*5113495bSYour Name 
220*5113495bSYour Name /* Description		RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_1000
221*5113495bSYour Name 
222*5113495bSYour Name 			Filter pass BAR frame (matching rxpcu_filter_pass and
223*5113495bSYour Name 			sw_frame_group_ctrl_1000) routing selection
224*5113495bSYour Name 
225*5113495bSYour Name 
226*5113495bSYour Name 
227*5113495bSYour Name 			1'b0: source and destination rings are selected from the
228*5113495bSYour Name 			RxOLE register settings for the packet type
229*5113495bSYour Name 
230*5113495bSYour Name 
231*5113495bSYour Name 
232*5113495bSYour Name 			1'b1: source ring and destination ring is selected from
233*5113495bSYour Name 			the rxdma0_source_ring_selection and
234*5113495bSYour Name 			rxdma0_destination_ring_selection fields in this STRUCT
235*5113495bSYour Name 
236*5113495bSYour Name 			<legal all>
237*5113495bSYour Name */
238*5113495bSYour Name #define RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_1000_OFFSET 0x00000000
239*5113495bSYour Name #define RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_1000_LSB 10
240*5113495bSYour Name #define RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_1000_MASK 0x00000400
241*5113495bSYour Name 
242*5113495bSYour Name /* Description		RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_RXDMA0_SOURCE_RING_SELECTION
243*5113495bSYour Name 
244*5113495bSYour Name 			Field only valid when for the received frame type the
245*5113495bSYour Name 			corresponding pkt_selection_fp_... bit is set
246*5113495bSYour Name 
247*5113495bSYour Name 
248*5113495bSYour Name 
249*5113495bSYour Name 			<enum 0 wbm2rxdma_buf_source_ring> The data buffer for
250*5113495bSYour Name 
251*5113495bSYour Name 			<enum 1 fw2rxdma_buf_source_ring> The data buffer for
252*5113495bSYour Name 			this frame shall be sourced by fw2rxdma buffer source ring.
253*5113495bSYour Name 
254*5113495bSYour Name 			<enum 2 sw2rxdma_buf_source_ring> The data buffer for
255*5113495bSYour Name 			this frame shall be sourced by sw2rxdma buffer source ring.
256*5113495bSYour Name 
257*5113495bSYour Name 			<enum 3 no_buffer_ring> The frame shall not be written
258*5113495bSYour Name 			to any data buffer.
259*5113495bSYour Name 
260*5113495bSYour Name 
261*5113495bSYour Name 
262*5113495bSYour Name 			<legal all>
263*5113495bSYour Name */
264*5113495bSYour Name #define RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_RXDMA0_SOURCE_RING_SELECTION_OFFSET 0x00000000
265*5113495bSYour Name #define RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_RXDMA0_SOURCE_RING_SELECTION_LSB 11
266*5113495bSYour Name #define RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_RXDMA0_SOURCE_RING_SELECTION_MASK 0x00001800
267*5113495bSYour Name 
268*5113495bSYour Name /* Description		RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_RXDMA0_DESTINATION_RING_SELECTION
269*5113495bSYour Name 
270*5113495bSYour Name 			Field only valid when for the received frame type the
271*5113495bSYour Name 			corresponding pkt_selection_fp_... bit is set
272*5113495bSYour Name 
273*5113495bSYour Name 
274*5113495bSYour Name 
275*5113495bSYour Name 			<enum 0  rxdma_release_ring> RXDMA0 shall push the frame
276*5113495bSYour Name 			to the Release ring. Effectively this means the frame needs
277*5113495bSYour Name 			to be dropped.
278*5113495bSYour Name 
279*5113495bSYour Name 			<enum 1  rxdma2fw_ring> RXDMA0 shall push the frame to
280*5113495bSYour Name 			the FW ring.
281*5113495bSYour Name 
282*5113495bSYour Name 			<enum 2  rxdma2sw_ring> RXDMA0 shall push the frame to
283*5113495bSYour Name 			the SW ring.
284*5113495bSYour Name 
285*5113495bSYour Name 			<enum 3  rxdma2reo_ring> RXDMA0 shall push the frame to
286*5113495bSYour Name 			the REO entrance ring.
287*5113495bSYour Name 
288*5113495bSYour Name 
289*5113495bSYour Name 
290*5113495bSYour Name 			<legal all>
291*5113495bSYour Name */
292*5113495bSYour Name #define RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_RXDMA0_DESTINATION_RING_SELECTION_OFFSET 0x00000000
293*5113495bSYour Name #define RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_RXDMA0_DESTINATION_RING_SELECTION_LSB 13
294*5113495bSYour Name #define RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_RXDMA0_DESTINATION_RING_SELECTION_MASK 0x00006000
295*5113495bSYour Name 
296*5113495bSYour Name /* Description		RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_RESERVED_0B
297*5113495bSYour Name 
298*5113495bSYour Name 			<legal 0>
299*5113495bSYour Name */
300*5113495bSYour Name #define RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_RESERVED_0B_OFFSET 0x00000000
301*5113495bSYour Name #define RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_RESERVED_0B_LSB 15
302*5113495bSYour Name #define RX_MPDU_START_0_RX_MPDU_INFO_DETAILS_RXPT_CLASSIFY_INFO_DETAILS_RESERVED_0B_MASK 0xffff8000
303*5113495bSYour Name 
304*5113495bSYour Name /* Description		RX_MPDU_START_1_RX_MPDU_INFO_DETAILS_RX_REO_QUEUE_DESC_ADDR_31_0
305*5113495bSYour Name 
306*5113495bSYour Name 			In case of ndp or phy_err or AST_based_lookup_valid ==
307*5113495bSYour Name 			0, this field will be set to 0
308*5113495bSYour Name 
309*5113495bSYour Name 
310*5113495bSYour Name 
311*5113495bSYour Name 			Address (lower 32 bits) of the REO queue descriptor.
312*5113495bSYour Name 
313*5113495bSYour Name 
314*5113495bSYour Name 
315*5113495bSYour Name 			If no Peer entry lookup happened for this frame, the
316*5113495bSYour Name 			value wil be set to 0, and the frame shall never be pushed
317*5113495bSYour Name 			to REO entrance ring.
318*5113495bSYour Name 
319*5113495bSYour Name 			<legal all>
320*5113495bSYour Name */
321*5113495bSYour Name #define RX_MPDU_START_1_RX_MPDU_INFO_DETAILS_RX_REO_QUEUE_DESC_ADDR_31_0_OFFSET 0x00000004
322*5113495bSYour Name #define RX_MPDU_START_1_RX_MPDU_INFO_DETAILS_RX_REO_QUEUE_DESC_ADDR_31_0_LSB 0
323*5113495bSYour Name #define RX_MPDU_START_1_RX_MPDU_INFO_DETAILS_RX_REO_QUEUE_DESC_ADDR_31_0_MASK 0xffffffff
324*5113495bSYour Name 
325*5113495bSYour Name /* Description		RX_MPDU_START_2_RX_MPDU_INFO_DETAILS_RX_REO_QUEUE_DESC_ADDR_39_32
326*5113495bSYour Name 
327*5113495bSYour Name 			In case of ndp or phy_err or AST_based_lookup_valid ==
328*5113495bSYour Name 			0, this field will be set to 0
329*5113495bSYour Name 
330*5113495bSYour Name 
331*5113495bSYour Name 
332*5113495bSYour Name 			Address (upper 8 bits) of the REO queue descriptor.
333*5113495bSYour Name 
334*5113495bSYour Name 
335*5113495bSYour Name 
336*5113495bSYour Name 			If no Peer entry lookup happened for this frame, the
337*5113495bSYour Name 			value wil be set to 0, and the frame shall never be pushed
338*5113495bSYour Name 			to REO entrance ring.
339*5113495bSYour Name 
340*5113495bSYour Name 			<legal all>
341*5113495bSYour Name */
342*5113495bSYour Name #define RX_MPDU_START_2_RX_MPDU_INFO_DETAILS_RX_REO_QUEUE_DESC_ADDR_39_32_OFFSET 0x00000008
343*5113495bSYour Name #define RX_MPDU_START_2_RX_MPDU_INFO_DETAILS_RX_REO_QUEUE_DESC_ADDR_39_32_LSB 0
344*5113495bSYour Name #define RX_MPDU_START_2_RX_MPDU_INFO_DETAILS_RX_REO_QUEUE_DESC_ADDR_39_32_MASK 0x000000ff
345*5113495bSYour Name 
346*5113495bSYour Name /* Description		RX_MPDU_START_2_RX_MPDU_INFO_DETAILS_RECEIVE_QUEUE_NUMBER
347*5113495bSYour Name 
348*5113495bSYour Name 			In case of ndp or phy_err or AST_based_lookup_valid ==
349*5113495bSYour Name 			0, this field will be set to 0
350*5113495bSYour Name 
351*5113495bSYour Name 
352*5113495bSYour Name 
353*5113495bSYour Name 			Indicates the MPDU queue ID to which this MPDU link
354*5113495bSYour Name 			descriptor belongs
355*5113495bSYour Name 
356*5113495bSYour Name 			Used for tracking and debugging
357*5113495bSYour Name 
358*5113495bSYour Name 			<legal all>
359*5113495bSYour Name */
360*5113495bSYour Name #define RX_MPDU_START_2_RX_MPDU_INFO_DETAILS_RECEIVE_QUEUE_NUMBER_OFFSET 0x00000008
361*5113495bSYour Name #define RX_MPDU_START_2_RX_MPDU_INFO_DETAILS_RECEIVE_QUEUE_NUMBER_LSB 8
362*5113495bSYour Name #define RX_MPDU_START_2_RX_MPDU_INFO_DETAILS_RECEIVE_QUEUE_NUMBER_MASK 0x00ffff00
363*5113495bSYour Name 
364*5113495bSYour Name /* Description		RX_MPDU_START_2_RX_MPDU_INFO_DETAILS_PRE_DELIM_ERR_WARNING
365*5113495bSYour Name 
366*5113495bSYour Name 			Indicates that a delimiter FCS error was found in
367*5113495bSYour Name 			between the Previous MPDU and this MPDU.
368*5113495bSYour Name 
369*5113495bSYour Name 
370*5113495bSYour Name 
371*5113495bSYour Name 			Note that this is just a warning, and does not mean that
372*5113495bSYour Name 			this MPDU is corrupted in any way. If it is, there will be
373*5113495bSYour Name 			other errors indicated such as FCS or decrypt errors
374*5113495bSYour Name 
375*5113495bSYour Name 
376*5113495bSYour Name 
377*5113495bSYour Name 			In case of ndp or phy_err, this field will indicate at
378*5113495bSYour Name 			least one of delimiters located after the last MPDU in the
379*5113495bSYour Name 			previous PPDU has been corrupted.
380*5113495bSYour Name */
381*5113495bSYour Name #define RX_MPDU_START_2_RX_MPDU_INFO_DETAILS_PRE_DELIM_ERR_WARNING_OFFSET 0x00000008
382*5113495bSYour Name #define RX_MPDU_START_2_RX_MPDU_INFO_DETAILS_PRE_DELIM_ERR_WARNING_LSB 24
383*5113495bSYour Name #define RX_MPDU_START_2_RX_MPDU_INFO_DETAILS_PRE_DELIM_ERR_WARNING_MASK 0x01000000
384*5113495bSYour Name 
385*5113495bSYour Name /* Description		RX_MPDU_START_2_RX_MPDU_INFO_DETAILS_FIRST_DELIM_ERR
386*5113495bSYour Name 
387*5113495bSYour Name 			Indicates that the first delimiter had a FCS failure.
388*5113495bSYour Name 			Only valid when first_mpdu and first_msdu are set.
389*5113495bSYour Name 
390*5113495bSYour Name 
391*5113495bSYour Name 
392*5113495bSYour Name */
393*5113495bSYour Name #define RX_MPDU_START_2_RX_MPDU_INFO_DETAILS_FIRST_DELIM_ERR_OFFSET  0x00000008
394*5113495bSYour Name #define RX_MPDU_START_2_RX_MPDU_INFO_DETAILS_FIRST_DELIM_ERR_LSB     25
395*5113495bSYour Name #define RX_MPDU_START_2_RX_MPDU_INFO_DETAILS_FIRST_DELIM_ERR_MASK    0x02000000
396*5113495bSYour Name 
397*5113495bSYour Name /* Description		RX_MPDU_START_2_RX_MPDU_INFO_DETAILS_RESERVED_2A
398*5113495bSYour Name 
399*5113495bSYour Name 			<legal 0>
400*5113495bSYour Name */
401*5113495bSYour Name #define RX_MPDU_START_2_RX_MPDU_INFO_DETAILS_RESERVED_2A_OFFSET      0x00000008
402*5113495bSYour Name #define RX_MPDU_START_2_RX_MPDU_INFO_DETAILS_RESERVED_2A_LSB         26
403*5113495bSYour Name #define RX_MPDU_START_2_RX_MPDU_INFO_DETAILS_RESERVED_2A_MASK        0xfc000000
404*5113495bSYour Name 
405*5113495bSYour Name /* Description		RX_MPDU_START_3_RX_MPDU_INFO_DETAILS_PN_31_0
406*5113495bSYour Name 
407*5113495bSYour Name 
408*5113495bSYour Name 
409*5113495bSYour Name 
410*5113495bSYour Name 
411*5113495bSYour Name 			WEP: IV = {key_id_octet, pn2, pn1, pn0}.  Only pn[23:0]
412*5113495bSYour Name 			is valid.
413*5113495bSYour Name 
414*5113495bSYour Name 			TKIP: IV = {pn5, pn4, pn3, pn2, key_id_octet, pn0,
415*5113495bSYour Name 			WEPSeed[1], pn1}.  Only pn[47:0] is valid.
416*5113495bSYour Name 
417*5113495bSYour Name 			AES-CCM: IV = {pn5, pn4, pn3, pn2, key_id_octet, 0x0,
418*5113495bSYour Name 			pn1, pn0}.  Only pn[47:0] is valid.
419*5113495bSYour Name 
420*5113495bSYour Name 			WAPI: IV = {key_id_octet, 0x0, pn15, pn14, pn13, pn12,
421*5113495bSYour Name 			pn11, pn10, pn9, pn8, pn7, pn6, pn5, pn4, pn3, pn2, pn1,
422*5113495bSYour Name 			pn0}.  pn[127:0] are valid.
423*5113495bSYour Name 
424*5113495bSYour Name 
425*5113495bSYour Name 
426*5113495bSYour Name */
427*5113495bSYour Name #define RX_MPDU_START_3_RX_MPDU_INFO_DETAILS_PN_31_0_OFFSET          0x0000000c
428*5113495bSYour Name #define RX_MPDU_START_3_RX_MPDU_INFO_DETAILS_PN_31_0_LSB             0
429*5113495bSYour Name #define RX_MPDU_START_3_RX_MPDU_INFO_DETAILS_PN_31_0_MASK            0xffffffff
430*5113495bSYour Name 
431*5113495bSYour Name /* Description		RX_MPDU_START_4_RX_MPDU_INFO_DETAILS_PN_63_32
432*5113495bSYour Name 
433*5113495bSYour Name 
434*5113495bSYour Name 
435*5113495bSYour Name 
436*5113495bSYour Name 			Bits [63:32] of the PN number.   See description for
437*5113495bSYour Name 			pn_31_0.
438*5113495bSYour Name 
439*5113495bSYour Name 
440*5113495bSYour Name 
441*5113495bSYour Name */
442*5113495bSYour Name #define RX_MPDU_START_4_RX_MPDU_INFO_DETAILS_PN_63_32_OFFSET         0x00000010
443*5113495bSYour Name #define RX_MPDU_START_4_RX_MPDU_INFO_DETAILS_PN_63_32_LSB            0
444*5113495bSYour Name #define RX_MPDU_START_4_RX_MPDU_INFO_DETAILS_PN_63_32_MASK           0xffffffff
445*5113495bSYour Name 
446*5113495bSYour Name /* Description		RX_MPDU_START_5_RX_MPDU_INFO_DETAILS_PN_95_64
447*5113495bSYour Name 
448*5113495bSYour Name 
449*5113495bSYour Name 
450*5113495bSYour Name 
451*5113495bSYour Name 			Bits [95:64] of the PN number.  See description for
452*5113495bSYour Name 			pn_31_0.
453*5113495bSYour Name 
454*5113495bSYour Name 
455*5113495bSYour Name 
456*5113495bSYour Name */
457*5113495bSYour Name #define RX_MPDU_START_5_RX_MPDU_INFO_DETAILS_PN_95_64_OFFSET         0x00000014
458*5113495bSYour Name #define RX_MPDU_START_5_RX_MPDU_INFO_DETAILS_PN_95_64_LSB            0
459*5113495bSYour Name #define RX_MPDU_START_5_RX_MPDU_INFO_DETAILS_PN_95_64_MASK           0xffffffff
460*5113495bSYour Name 
461*5113495bSYour Name /* Description		RX_MPDU_START_6_RX_MPDU_INFO_DETAILS_PN_127_96
462*5113495bSYour Name 
463*5113495bSYour Name 
464*5113495bSYour Name 
465*5113495bSYour Name 
466*5113495bSYour Name 			Bits [127:96] of the PN number.  See description for
467*5113495bSYour Name 			pn_31_0.
468*5113495bSYour Name 
469*5113495bSYour Name 
470*5113495bSYour Name 
471*5113495bSYour Name */
472*5113495bSYour Name #define RX_MPDU_START_6_RX_MPDU_INFO_DETAILS_PN_127_96_OFFSET        0x00000018
473*5113495bSYour Name #define RX_MPDU_START_6_RX_MPDU_INFO_DETAILS_PN_127_96_LSB           0
474*5113495bSYour Name #define RX_MPDU_START_6_RX_MPDU_INFO_DETAILS_PN_127_96_MASK          0xffffffff
475*5113495bSYour Name 
476*5113495bSYour Name /* Description		RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_EPD_EN
477*5113495bSYour Name 
478*5113495bSYour Name 			Field only valid when AST_based_lookup_valid == 1.
479*5113495bSYour Name 
480*5113495bSYour Name 
481*5113495bSYour Name 
482*5113495bSYour Name 
483*5113495bSYour Name 
484*5113495bSYour Name 			In case of ndp or phy_err or AST_based_lookup_valid ==
485*5113495bSYour Name 			0, this field will be set to 0
486*5113495bSYour Name 
487*5113495bSYour Name 
488*5113495bSYour Name 
489*5113495bSYour Name 			If set to one use EPD instead of LPD
490*5113495bSYour Name 
491*5113495bSYour Name 
492*5113495bSYour Name 
493*5113495bSYour Name 
494*5113495bSYour Name 			<legal all>
495*5113495bSYour Name */
496*5113495bSYour Name #define RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_EPD_EN_OFFSET           0x0000001c
497*5113495bSYour Name #define RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_EPD_EN_LSB              0
498*5113495bSYour Name #define RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_EPD_EN_MASK             0x00000001
499*5113495bSYour Name 
500*5113495bSYour Name /* Description		RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_ALL_FRAMES_SHALL_BE_ENCRYPTED
501*5113495bSYour Name 
502*5113495bSYour Name 			In case of ndp or phy_err or AST_based_lookup_valid ==
503*5113495bSYour Name 			0, this field will be set to 0
504*5113495bSYour Name 
505*5113495bSYour Name 
506*5113495bSYour Name 
507*5113495bSYour Name 			When set, all frames (data only ?) shall be encrypted.
508*5113495bSYour Name 			If not, RX CRYPTO shall set an error flag.
509*5113495bSYour Name 
510*5113495bSYour Name 			<legal all>
511*5113495bSYour Name */
512*5113495bSYour Name #define RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_ALL_FRAMES_SHALL_BE_ENCRYPTED_OFFSET 0x0000001c
513*5113495bSYour Name #define RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_ALL_FRAMES_SHALL_BE_ENCRYPTED_LSB 1
514*5113495bSYour Name #define RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_ALL_FRAMES_SHALL_BE_ENCRYPTED_MASK 0x00000002
515*5113495bSYour Name 
516*5113495bSYour Name /* Description		RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_ENCRYPT_TYPE
517*5113495bSYour Name 
518*5113495bSYour Name 			In case of ndp or phy_err or AST_based_lookup_valid ==
519*5113495bSYour Name 			0, this field will be set to 0
520*5113495bSYour Name 
521*5113495bSYour Name 
522*5113495bSYour Name 
523*5113495bSYour Name 			Indicates type of decrypt cipher used (as defined in the
524*5113495bSYour Name 			peer entry)
525*5113495bSYour Name 
526*5113495bSYour Name 
527*5113495bSYour Name 
528*5113495bSYour Name 			<enum 0 wep_40> WEP 40-bit
529*5113495bSYour Name 
530*5113495bSYour Name 			<enum 1 wep_104> WEP 104-bit
531*5113495bSYour Name 
532*5113495bSYour Name 			<enum 2 tkip_no_mic> TKIP without MIC
533*5113495bSYour Name 
534*5113495bSYour Name 			<enum 3 wep_128> WEP 128-bit
535*5113495bSYour Name 
536*5113495bSYour Name 			<enum 4 tkip_with_mic> TKIP with MIC
537*5113495bSYour Name 
538*5113495bSYour Name 			<enum 5 wapi> WAPI
539*5113495bSYour Name 
540*5113495bSYour Name 			<enum 6 aes_ccmp_128> AES CCMP 128
541*5113495bSYour Name 
542*5113495bSYour Name 			<enum 7 no_cipher> No crypto
543*5113495bSYour Name 
544*5113495bSYour Name 			<enum 8 aes_ccmp_256> AES CCMP 256
545*5113495bSYour Name 
546*5113495bSYour Name 			<enum 9 aes_gcmp_128> AES CCMP 128
547*5113495bSYour Name 
548*5113495bSYour Name 			<enum 10 aes_gcmp_256> AES CCMP 256
549*5113495bSYour Name 
550*5113495bSYour Name 			<enum 11 wapi_gcm_sm4> WAPI GCM SM4
551*5113495bSYour Name 
552*5113495bSYour Name 
553*5113495bSYour Name 
554*5113495bSYour Name 			<enum 12 wep_varied_width> WEP encryption. As for WEP
555*5113495bSYour Name 			per keyid the key bit width can vary, the key bit width for
556*5113495bSYour Name 			this MPDU will be indicated in field
557*5113495bSYour Name 			wep_key_width_for_variable key
558*5113495bSYour Name 
559*5113495bSYour Name 			<legal 0-12>
560*5113495bSYour Name */
561*5113495bSYour Name #define RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_ENCRYPT_TYPE_OFFSET     0x0000001c
562*5113495bSYour Name #define RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_ENCRYPT_TYPE_LSB        2
563*5113495bSYour Name #define RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_ENCRYPT_TYPE_MASK       0x0000003c
564*5113495bSYour Name 
565*5113495bSYour Name /* Description		RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_WEP_KEY_WIDTH_FOR_VARIABLE_KEY
566*5113495bSYour Name 
567*5113495bSYour Name 			Field only valid when key_type is set to
568*5113495bSYour Name 			wep_varied_width.
569*5113495bSYour Name 
570*5113495bSYour Name 
571*5113495bSYour Name 
572*5113495bSYour Name 			This field indicates the size of the wep key for this
573*5113495bSYour Name 			MPDU.
574*5113495bSYour Name 
575*5113495bSYour Name 
576*5113495bSYour Name 
577*5113495bSYour Name 			<enum 0 wep_varied_width_40> WEP 40-bit
578*5113495bSYour Name 
579*5113495bSYour Name 			<enum 1 wep_varied_width_104> WEP 104-bit
580*5113495bSYour Name 
581*5113495bSYour Name 			<enum 2 wep_varied_width_128> WEP 128-bit
582*5113495bSYour Name 
583*5113495bSYour Name 
584*5113495bSYour Name 
585*5113495bSYour Name 			<legal 0-2>
586*5113495bSYour Name */
587*5113495bSYour Name #define RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_WEP_KEY_WIDTH_FOR_VARIABLE_KEY_OFFSET 0x0000001c
588*5113495bSYour Name #define RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_WEP_KEY_WIDTH_FOR_VARIABLE_KEY_LSB 6
589*5113495bSYour Name #define RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_WEP_KEY_WIDTH_FOR_VARIABLE_KEY_MASK 0x000000c0
590*5113495bSYour Name 
591*5113495bSYour Name /* Description		RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_MESH_STA
592*5113495bSYour Name 
593*5113495bSYour Name 			In case of ndp or phy_err or AST_based_lookup_valid ==
594*5113495bSYour Name 			0, this field will be set to 0
595*5113495bSYour Name 
596*5113495bSYour Name 
597*5113495bSYour Name 
598*5113495bSYour Name 			When set, this is a Mesh (11s) STA.
599*5113495bSYour Name 
600*5113495bSYour Name 
601*5113495bSYour Name 
602*5113495bSYour Name 			The interpretation of the A-MSDU 'Length' field in the
603*5113495bSYour Name 			MPDU (if any) is decided by the e-numerations below.
604*5113495bSYour Name 
605*5113495bSYour Name 
606*5113495bSYour Name 
607*5113495bSYour Name 			<enum 0 MESH_DISABLE>
608*5113495bSYour Name 
609*5113495bSYour Name 			<enum 1 MESH_Q2Q> A-MSDU 'Length' is big endian and
610*5113495bSYour Name 			includes the length of Mesh Control.
611*5113495bSYour Name 
612*5113495bSYour Name 			<enum 2 MESH_11S_BE> A-MSDU 'Length' is big endian and
613*5113495bSYour Name 			excludes the length of Mesh Control.
614*5113495bSYour Name 
615*5113495bSYour Name 			<enum 3 MESH_11S_LE> A-MSDU 'Length' is little endian
616*5113495bSYour Name 			and excludes the length of Mesh Control. This is
617*5113495bSYour Name 			802.11s-compliant.
618*5113495bSYour Name 
619*5113495bSYour Name 			<legal all>
620*5113495bSYour Name */
621*5113495bSYour Name #define RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_MESH_STA_OFFSET         0x0000001c
622*5113495bSYour Name #define RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_MESH_STA_LSB            8
623*5113495bSYour Name #define RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_MESH_STA_MASK           0x00000300
624*5113495bSYour Name 
625*5113495bSYour Name /* Description		RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_BSSID_HIT
626*5113495bSYour Name 
627*5113495bSYour Name 			In case of ndp or phy_err or AST_based_lookup_valid ==
628*5113495bSYour Name 			0, this field will be set to 0
629*5113495bSYour Name 
630*5113495bSYour Name 
631*5113495bSYour Name 
632*5113495bSYour Name 			When set, the BSSID of the incoming frame matched one of
633*5113495bSYour Name 			the 8 BSSID register values
634*5113495bSYour Name 
635*5113495bSYour Name 
636*5113495bSYour Name 
637*5113495bSYour Name 			<legal all>
638*5113495bSYour Name */
639*5113495bSYour Name #define RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_BSSID_HIT_OFFSET        0x0000001c
640*5113495bSYour Name #define RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_BSSID_HIT_LSB           10
641*5113495bSYour Name #define RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_BSSID_HIT_MASK          0x00000400
642*5113495bSYour Name 
643*5113495bSYour Name /* Description		RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_BSSID_NUMBER
644*5113495bSYour Name 
645*5113495bSYour Name 			Field only valid when bssid_hit is set.
646*5113495bSYour Name 
647*5113495bSYour Name 
648*5113495bSYour Name 
649*5113495bSYour Name 			This number indicates which one out of the 8 BSSID
650*5113495bSYour Name 			register values matched the incoming frame
651*5113495bSYour Name 
652*5113495bSYour Name 			<legal all>
653*5113495bSYour Name */
654*5113495bSYour Name #define RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_BSSID_NUMBER_OFFSET     0x0000001c
655*5113495bSYour Name #define RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_BSSID_NUMBER_LSB        11
656*5113495bSYour Name #define RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_BSSID_NUMBER_MASK       0x00007800
657*5113495bSYour Name 
658*5113495bSYour Name /* Description		RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_TID
659*5113495bSYour Name 
660*5113495bSYour Name 			Field only valid when mpdu_qos_control_valid is set
661*5113495bSYour Name 
662*5113495bSYour Name 
663*5113495bSYour Name 
664*5113495bSYour Name 			The TID field in the QoS control field
665*5113495bSYour Name 
666*5113495bSYour Name 			<legal all>
667*5113495bSYour Name */
668*5113495bSYour Name #define RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_TID_OFFSET              0x0000001c
669*5113495bSYour Name #define RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_TID_LSB                 15
670*5113495bSYour Name #define RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_TID_MASK                0x00078000
671*5113495bSYour Name 
672*5113495bSYour Name /* Description		RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_RESERVED_7A
673*5113495bSYour Name 
674*5113495bSYour Name 			<legal 0>
675*5113495bSYour Name */
676*5113495bSYour Name #define RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_RESERVED_7A_OFFSET      0x0000001c
677*5113495bSYour Name #define RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_RESERVED_7A_LSB         19
678*5113495bSYour Name #define RX_MPDU_START_7_RX_MPDU_INFO_DETAILS_RESERVED_7A_MASK        0xfff80000
679*5113495bSYour Name 
680*5113495bSYour Name /* Description		RX_MPDU_START_8_RX_MPDU_INFO_DETAILS_PEER_META_DATA
681*5113495bSYour Name 
682*5113495bSYour Name 			In case of ndp or phy_err or AST_based_lookup_valid ==
683*5113495bSYour Name 			0, this field will be set to 0
684*5113495bSYour Name 
685*5113495bSYour Name 
686*5113495bSYour Name 
687*5113495bSYour Name 			Meta data that SW has programmed in the Peer table entry
688*5113495bSYour Name 			of the transmitting STA.
689*5113495bSYour Name 
690*5113495bSYour Name 			<legal all>
691*5113495bSYour Name */
692*5113495bSYour Name #define RX_MPDU_START_8_RX_MPDU_INFO_DETAILS_PEER_META_DATA_OFFSET   0x00000020
693*5113495bSYour Name #define RX_MPDU_START_8_RX_MPDU_INFO_DETAILS_PEER_META_DATA_LSB      0
694*5113495bSYour Name #define RX_MPDU_START_8_RX_MPDU_INFO_DETAILS_PEER_META_DATA_MASK     0xffffffff
695*5113495bSYour Name 
696*5113495bSYour Name /* Description		RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_RXPCU_MPDU_FILTER_IN_CATEGORY
697*5113495bSYour Name 
698*5113495bSYour Name 			Field indicates what the reason was that this MPDU frame
699*5113495bSYour Name 			was allowed to come into the receive path by RXPCU
700*5113495bSYour Name 
701*5113495bSYour Name 			<enum 0 rxpcu_filter_pass> This MPDU passed the normal
702*5113495bSYour Name 			frame filter programming of rxpcu
703*5113495bSYour Name 
704*5113495bSYour Name 			<enum 1 rxpcu_monitor_client> This MPDU did NOT pass the
705*5113495bSYour Name 			regular frame filter and would have been dropped, were it
706*5113495bSYour Name 			not for the frame fitting into the 'monitor_client'
707*5113495bSYour Name 			category.
708*5113495bSYour Name 
709*5113495bSYour Name 			<enum 2 rxpcu_monitor_other> This MPDU did NOT pass the
710*5113495bSYour Name 			regular frame filter and also did not pass the
711*5113495bSYour Name 			rxpcu_monitor_client filter. It would have been dropped
712*5113495bSYour Name 			accept that it did pass the 'monitor_other' category.
713*5113495bSYour Name 
714*5113495bSYour Name 
715*5113495bSYour Name 
716*5113495bSYour Name 			Note: for ndp frame, if it was expected because the
717*5113495bSYour Name 			preceding NDPA was filter_pass, the setting
718*5113495bSYour Name 			rxpcu_filter_pass will be used. This setting will also be
719*5113495bSYour Name 			used for every ndp frame in case Promiscuous mode is
720*5113495bSYour Name 			enabled.
721*5113495bSYour Name 
722*5113495bSYour Name 
723*5113495bSYour Name 
724*5113495bSYour Name 			In case promiscuous is not enabled, and an NDP is not
725*5113495bSYour Name 			preceded by a NPDA filter pass frame, the only other setting
726*5113495bSYour Name 			that could appear here for the NDP is rxpcu_monitor_other.
727*5113495bSYour Name 
728*5113495bSYour Name 			(rxpcu has a configuration bit specifically for this
729*5113495bSYour Name 			scenario)
730*5113495bSYour Name 
731*5113495bSYour Name 
732*5113495bSYour Name 
733*5113495bSYour Name 			Note: for
734*5113495bSYour Name 
735*5113495bSYour Name 			<legal 0-2>
736*5113495bSYour Name */
737*5113495bSYour Name #define RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_RXPCU_MPDU_FILTER_IN_CATEGORY_OFFSET 0x00000024
738*5113495bSYour Name #define RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_RXPCU_MPDU_FILTER_IN_CATEGORY_LSB 0
739*5113495bSYour Name #define RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_RXPCU_MPDU_FILTER_IN_CATEGORY_MASK 0x00000003
740*5113495bSYour Name 
741*5113495bSYour Name /* Description		RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_SW_FRAME_GROUP_ID
742*5113495bSYour Name 
743*5113495bSYour Name 			SW processes frames based on certain classifications.
744*5113495bSYour Name 			This field indicates to what sw classification this MPDU is
745*5113495bSYour Name 			mapped.
746*5113495bSYour Name 
747*5113495bSYour Name 			The classification is given in priority order
748*5113495bSYour Name 
749*5113495bSYour Name 
750*5113495bSYour Name 
751*5113495bSYour Name 			<enum 0 sw_frame_group_NDP_frame> Note: The
752*5113495bSYour Name 			corresponding Rxpcu_Mpdu_filter_in_category can be
753*5113495bSYour Name 			rxpcu_filter_pass or rxpcu_monitor_other
754*5113495bSYour Name 
755*5113495bSYour Name 
756*5113495bSYour Name 
757*5113495bSYour Name 			<enum 1 sw_frame_group_Multicast_data>
758*5113495bSYour Name 
759*5113495bSYour Name 			<enum 2 sw_frame_group_Unicast_data>
760*5113495bSYour Name 
761*5113495bSYour Name 			<enum 3 sw_frame_group_Null_data > This includes mpdus
762*5113495bSYour Name 			of type Data Null as well as QoS Data Null
763*5113495bSYour Name 
764*5113495bSYour Name 
765*5113495bSYour Name 
766*5113495bSYour Name 			<enum 4 sw_frame_group_mgmt_0000 >
767*5113495bSYour Name 
768*5113495bSYour Name 			<enum 5 sw_frame_group_mgmt_0001 >
769*5113495bSYour Name 
770*5113495bSYour Name 			<enum 6 sw_frame_group_mgmt_0010 >
771*5113495bSYour Name 
772*5113495bSYour Name 			<enum 7 sw_frame_group_mgmt_0011 >
773*5113495bSYour Name 
774*5113495bSYour Name 			<enum 8 sw_frame_group_mgmt_0100 >
775*5113495bSYour Name 
776*5113495bSYour Name 			<enum 9 sw_frame_group_mgmt_0101 >
777*5113495bSYour Name 
778*5113495bSYour Name 			<enum 10 sw_frame_group_mgmt_0110 >
779*5113495bSYour Name 
780*5113495bSYour Name 			<enum 11 sw_frame_group_mgmt_0111 >
781*5113495bSYour Name 
782*5113495bSYour Name 			<enum 12 sw_frame_group_mgmt_1000 >
783*5113495bSYour Name 
784*5113495bSYour Name 			<enum 13 sw_frame_group_mgmt_1001 >
785*5113495bSYour Name 
786*5113495bSYour Name 			<enum 14 sw_frame_group_mgmt_1010 >
787*5113495bSYour Name 
788*5113495bSYour Name 			<enum 15 sw_frame_group_mgmt_1011 >
789*5113495bSYour Name 
790*5113495bSYour Name 			<enum 16 sw_frame_group_mgmt_1100 >
791*5113495bSYour Name 
792*5113495bSYour Name 			<enum 17 sw_frame_group_mgmt_1101 >
793*5113495bSYour Name 
794*5113495bSYour Name 			<enum 18 sw_frame_group_mgmt_1110 >
795*5113495bSYour Name 
796*5113495bSYour Name 			<enum 19 sw_frame_group_mgmt_1111 >
797*5113495bSYour Name 
798*5113495bSYour Name 
799*5113495bSYour Name 
800*5113495bSYour Name 			<enum 20 sw_frame_group_ctrl_0000 >
801*5113495bSYour Name 
802*5113495bSYour Name 			<enum 21 sw_frame_group_ctrl_0001 >
803*5113495bSYour Name 
804*5113495bSYour Name 			<enum 22 sw_frame_group_ctrl_0010 >
805*5113495bSYour Name 
806*5113495bSYour Name 			<enum 23 sw_frame_group_ctrl_0011 >
807*5113495bSYour Name 
808*5113495bSYour Name 			<enum 24 sw_frame_group_ctrl_0100 >
809*5113495bSYour Name 
810*5113495bSYour Name 			<enum 25 sw_frame_group_ctrl_0101 >
811*5113495bSYour Name 
812*5113495bSYour Name 			<enum 26 sw_frame_group_ctrl_0110 >
813*5113495bSYour Name 
814*5113495bSYour Name 			<enum 27 sw_frame_group_ctrl_0111 >
815*5113495bSYour Name 
816*5113495bSYour Name 			<enum 28 sw_frame_group_ctrl_1000 >
817*5113495bSYour Name 
818*5113495bSYour Name 			<enum 29 sw_frame_group_ctrl_1001 >
819*5113495bSYour Name 
820*5113495bSYour Name 			<enum 30 sw_frame_group_ctrl_1010 >
821*5113495bSYour Name 
822*5113495bSYour Name 			<enum 31 sw_frame_group_ctrl_1011 >
823*5113495bSYour Name 
824*5113495bSYour Name 			<enum 32 sw_frame_group_ctrl_1100 >
825*5113495bSYour Name 
826*5113495bSYour Name 			<enum 33 sw_frame_group_ctrl_1101 >
827*5113495bSYour Name 
828*5113495bSYour Name 			<enum 34 sw_frame_group_ctrl_1110 >
829*5113495bSYour Name 
830*5113495bSYour Name 			<enum 35 sw_frame_group_ctrl_1111 >
831*5113495bSYour Name 
832*5113495bSYour Name 
833*5113495bSYour Name 
834*5113495bSYour Name 			<enum 36 sw_frame_group_unsupported> This covers type 3
835*5113495bSYour Name 			and protocol version != 0
836*5113495bSYour Name 
837*5113495bSYour Name 			Note: The corresponding Rxpcu_Mpdu_filter_in_category
838*5113495bSYour Name 			can only be rxpcu_monitor_other
839*5113495bSYour Name 
840*5113495bSYour Name 
841*5113495bSYour Name 
842*5113495bSYour Name 
843*5113495bSYour Name 			Note: The corresponding Rxpcu_Mpdu_filter_in_category
844*5113495bSYour Name 			can be rxpcu_filter_pass
845*5113495bSYour Name 
846*5113495bSYour Name 
847*5113495bSYour Name 
848*5113495bSYour Name 			<legal 0-37>
849*5113495bSYour Name */
850*5113495bSYour Name #define RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_SW_FRAME_GROUP_ID_OFFSET 0x00000024
851*5113495bSYour Name #define RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_SW_FRAME_GROUP_ID_LSB   2
852*5113495bSYour Name #define RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_SW_FRAME_GROUP_ID_MASK  0x000001fc
853*5113495bSYour Name 
854*5113495bSYour Name /* Description		RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_NDP_FRAME
855*5113495bSYour Name 
856*5113495bSYour Name 			When set, the received frame was an NDP frame, and thus
857*5113495bSYour Name 			there will be no MPDU data.
858*5113495bSYour Name 
859*5113495bSYour Name 			<legal all>
860*5113495bSYour Name */
861*5113495bSYour Name #define RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_NDP_FRAME_OFFSET        0x00000024
862*5113495bSYour Name #define RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_NDP_FRAME_LSB           9
863*5113495bSYour Name #define RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_NDP_FRAME_MASK          0x00000200
864*5113495bSYour Name 
865*5113495bSYour Name /* Description		RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_PHY_ERR
866*5113495bSYour Name 
867*5113495bSYour Name 			When set, a PHY error was received before MAC received
868*5113495bSYour Name 			any data, and thus there will be no MPDU data.
869*5113495bSYour Name 
870*5113495bSYour Name 			<legal all>
871*5113495bSYour Name */
872*5113495bSYour Name #define RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_PHY_ERR_OFFSET          0x00000024
873*5113495bSYour Name #define RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_PHY_ERR_LSB             10
874*5113495bSYour Name #define RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_PHY_ERR_MASK            0x00000400
875*5113495bSYour Name 
876*5113495bSYour Name /* Description		RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_PHY_ERR_DURING_MPDU_HEADER
877*5113495bSYour Name 
878*5113495bSYour Name 			When set, a PHY error was received before MAC received
879*5113495bSYour Name 			the complete MPDU header which was needed for proper
880*5113495bSYour Name 			decoding
881*5113495bSYour Name 
882*5113495bSYour Name 			<legal all>
883*5113495bSYour Name */
884*5113495bSYour Name #define RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_PHY_ERR_DURING_MPDU_HEADER_OFFSET 0x00000024
885*5113495bSYour Name #define RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_PHY_ERR_DURING_MPDU_HEADER_LSB 11
886*5113495bSYour Name #define RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_PHY_ERR_DURING_MPDU_HEADER_MASK 0x00000800
887*5113495bSYour Name 
888*5113495bSYour Name /* Description		RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_PROTOCOL_VERSION_ERR
889*5113495bSYour Name 
890*5113495bSYour Name 			Set when RXPCU detected a version error in the Frame
891*5113495bSYour Name 			control field
892*5113495bSYour Name 
893*5113495bSYour Name 			<legal all>
894*5113495bSYour Name */
895*5113495bSYour Name #define RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_PROTOCOL_VERSION_ERR_OFFSET 0x00000024
896*5113495bSYour Name #define RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_PROTOCOL_VERSION_ERR_LSB 12
897*5113495bSYour Name #define RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_PROTOCOL_VERSION_ERR_MASK 0x00001000
898*5113495bSYour Name 
899*5113495bSYour Name /* Description		RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_AST_BASED_LOOKUP_VALID
900*5113495bSYour Name 
901*5113495bSYour Name 			When set, AST based lookup for this frame has found a
902*5113495bSYour Name 			valid result.
903*5113495bSYour Name 
904*5113495bSYour Name 
905*5113495bSYour Name 
906*5113495bSYour Name 			Note that for NDP frame this will never be set
907*5113495bSYour Name 
908*5113495bSYour Name 			<legal all>
909*5113495bSYour Name */
910*5113495bSYour Name #define RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_AST_BASED_LOOKUP_VALID_OFFSET 0x00000024
911*5113495bSYour Name #define RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_AST_BASED_LOOKUP_VALID_LSB 13
912*5113495bSYour Name #define RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_AST_BASED_LOOKUP_VALID_MASK 0x00002000
913*5113495bSYour Name 
914*5113495bSYour Name /* Description		RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_RESERVED_9A
915*5113495bSYour Name 
916*5113495bSYour Name 			<legal 0>
917*5113495bSYour Name */
918*5113495bSYour Name #define RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_RESERVED_9A_OFFSET      0x00000024
919*5113495bSYour Name #define RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_RESERVED_9A_LSB         14
920*5113495bSYour Name #define RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_RESERVED_9A_MASK        0x0000c000
921*5113495bSYour Name 
922*5113495bSYour Name /* Description		RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_PHY_PPDU_ID
923*5113495bSYour Name 
924*5113495bSYour Name 			A ppdu counter value that PHY increments for every PPDU
925*5113495bSYour Name 			received. The counter value wraps around
926*5113495bSYour Name 
927*5113495bSYour Name 			<legal all>
928*5113495bSYour Name */
929*5113495bSYour Name #define RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_PHY_PPDU_ID_OFFSET      0x00000024
930*5113495bSYour Name #define RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_PHY_PPDU_ID_LSB         16
931*5113495bSYour Name #define RX_MPDU_START_9_RX_MPDU_INFO_DETAILS_PHY_PPDU_ID_MASK        0xffff0000
932*5113495bSYour Name 
933*5113495bSYour Name /* Description		RX_MPDU_START_10_RX_MPDU_INFO_DETAILS_AST_INDEX
934*5113495bSYour Name 
935*5113495bSYour Name 			This field indicates the index of the AST entry
936*5113495bSYour Name 			corresponding to this MPDU. It is provided by the GSE module
937*5113495bSYour Name 			instantiated in RXPCU.
938*5113495bSYour Name 
939*5113495bSYour Name 			A value of 0xFFFF indicates an invalid AST index,
940*5113495bSYour Name 			meaning that No AST entry was found or NO AST search was
941*5113495bSYour Name 			performed
942*5113495bSYour Name 
943*5113495bSYour Name 
944*5113495bSYour Name 
945*5113495bSYour Name 			In case of ndp or phy_err, this field will be set to
946*5113495bSYour Name 			0xFFFF
947*5113495bSYour Name 
948*5113495bSYour Name 			<legal all>
949*5113495bSYour Name */
950*5113495bSYour Name #define RX_MPDU_START_10_RX_MPDU_INFO_DETAILS_AST_INDEX_OFFSET       0x00000028
951*5113495bSYour Name #define RX_MPDU_START_10_RX_MPDU_INFO_DETAILS_AST_INDEX_LSB          0
952*5113495bSYour Name #define RX_MPDU_START_10_RX_MPDU_INFO_DETAILS_AST_INDEX_MASK         0x0000ffff
953*5113495bSYour Name 
954*5113495bSYour Name /* Description		RX_MPDU_START_10_RX_MPDU_INFO_DETAILS_SW_PEER_ID
955*5113495bSYour Name 
956*5113495bSYour Name 			In case of ndp or phy_err or AST_based_lookup_valid ==
957*5113495bSYour Name 			0, this field will be set to 0
958*5113495bSYour Name 
959*5113495bSYour Name 
960*5113495bSYour Name 
961*5113495bSYour Name 			This field indicates a unique peer identifier. It is set
962*5113495bSYour Name 			equal to field 'sw_peer_id' from the AST entry
963*5113495bSYour Name 
964*5113495bSYour Name 
965*5113495bSYour Name 
966*5113495bSYour Name 			<legal all>
967*5113495bSYour Name */
968*5113495bSYour Name #define RX_MPDU_START_10_RX_MPDU_INFO_DETAILS_SW_PEER_ID_OFFSET      0x00000028
969*5113495bSYour Name #define RX_MPDU_START_10_RX_MPDU_INFO_DETAILS_SW_PEER_ID_LSB         16
970*5113495bSYour Name #define RX_MPDU_START_10_RX_MPDU_INFO_DETAILS_SW_PEER_ID_MASK        0xffff0000
971*5113495bSYour Name 
972*5113495bSYour Name /* Description		RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_FRAME_CONTROL_VALID
973*5113495bSYour Name 
974*5113495bSYour Name 			When set, the field Mpdu_Frame_control_field has valid
975*5113495bSYour Name 			information
976*5113495bSYour Name 
977*5113495bSYour Name 
978*5113495bSYour Name 
979*5113495bSYour Name 
980*5113495bSYour Name 			<legal all>
981*5113495bSYour Name */
982*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_FRAME_CONTROL_VALID_OFFSET 0x0000002c
983*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_FRAME_CONTROL_VALID_LSB 0
984*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_FRAME_CONTROL_VALID_MASK 0x00000001
985*5113495bSYour Name 
986*5113495bSYour Name /* Description		RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_DURATION_VALID
987*5113495bSYour Name 
988*5113495bSYour Name 			When set, the field Mpdu_duration_field has valid
989*5113495bSYour Name 			information
990*5113495bSYour Name 
991*5113495bSYour Name 
992*5113495bSYour Name 
993*5113495bSYour Name 
994*5113495bSYour Name 			<legal all>
995*5113495bSYour Name */
996*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_DURATION_VALID_OFFSET 0x0000002c
997*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_DURATION_VALID_LSB 1
998*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_DURATION_VALID_MASK 0x00000002
999*5113495bSYour Name 
1000*5113495bSYour Name /* Description		RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD1_VALID
1001*5113495bSYour Name 
1002*5113495bSYour Name 			When set, the fields mac_addr_ad1_..... have valid
1003*5113495bSYour Name 			information
1004*5113495bSYour Name 
1005*5113495bSYour Name 
1006*5113495bSYour Name 
1007*5113495bSYour Name 
1008*5113495bSYour Name 			<legal all>
1009*5113495bSYour Name */
1010*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD1_VALID_OFFSET 0x0000002c
1011*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD1_VALID_LSB 2
1012*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD1_VALID_MASK 0x00000004
1013*5113495bSYour Name 
1014*5113495bSYour Name /* Description		RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD2_VALID
1015*5113495bSYour Name 
1016*5113495bSYour Name 			When set, the fields mac_addr_ad2_..... have valid
1017*5113495bSYour Name 			information
1018*5113495bSYour Name 
1019*5113495bSYour Name 
1020*5113495bSYour Name 
1021*5113495bSYour Name 
1022*5113495bSYour Name 
1023*5113495bSYour Name 
1024*5113495bSYour Name 
1025*5113495bSYour Name 			<legal all>
1026*5113495bSYour Name */
1027*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD2_VALID_OFFSET 0x0000002c
1028*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD2_VALID_LSB 3
1029*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD2_VALID_MASK 0x00000008
1030*5113495bSYour Name 
1031*5113495bSYour Name /* Description		RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD3_VALID
1032*5113495bSYour Name 
1033*5113495bSYour Name 			When set, the fields mac_addr_ad3_..... have valid
1034*5113495bSYour Name 			information
1035*5113495bSYour Name 
1036*5113495bSYour Name 
1037*5113495bSYour Name 
1038*5113495bSYour Name 
1039*5113495bSYour Name 
1040*5113495bSYour Name 
1041*5113495bSYour Name 
1042*5113495bSYour Name 			<legal all>
1043*5113495bSYour Name */
1044*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD3_VALID_OFFSET 0x0000002c
1045*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD3_VALID_LSB 4
1046*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD3_VALID_MASK 0x00000010
1047*5113495bSYour Name 
1048*5113495bSYour Name /* Description		RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD4_VALID
1049*5113495bSYour Name 
1050*5113495bSYour Name 			When set, the fields mac_addr_ad4_..... have valid
1051*5113495bSYour Name 			information
1052*5113495bSYour Name 
1053*5113495bSYour Name 
1054*5113495bSYour Name 
1055*5113495bSYour Name 
1056*5113495bSYour Name 
1057*5113495bSYour Name 
1058*5113495bSYour Name 
1059*5113495bSYour Name 			<legal all>
1060*5113495bSYour Name */
1061*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD4_VALID_OFFSET 0x0000002c
1062*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD4_VALID_LSB 5
1063*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD4_VALID_MASK 0x00000020
1064*5113495bSYour Name 
1065*5113495bSYour Name /* Description		RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_SEQUENCE_CONTROL_VALID
1066*5113495bSYour Name 
1067*5113495bSYour Name 			When set, the fields mpdu_sequence_control_field and
1068*5113495bSYour Name 			mpdu_sequence_number have valid information as well as field
1069*5113495bSYour Name 
1070*5113495bSYour Name 
1071*5113495bSYour Name 
1072*5113495bSYour Name 			For MPDUs without a sequence control field, this field
1073*5113495bSYour Name 			will not be set.
1074*5113495bSYour Name 
1075*5113495bSYour Name 
1076*5113495bSYour Name 
1077*5113495bSYour Name 
1078*5113495bSYour Name 			<legal all>
1079*5113495bSYour Name */
1080*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_SEQUENCE_CONTROL_VALID_OFFSET 0x0000002c
1081*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_SEQUENCE_CONTROL_VALID_LSB 6
1082*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_SEQUENCE_CONTROL_VALID_MASK 0x00000040
1083*5113495bSYour Name 
1084*5113495bSYour Name /* Description		RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_QOS_CONTROL_VALID
1085*5113495bSYour Name 
1086*5113495bSYour Name 			When set, the field mpdu_qos_control_field has valid
1087*5113495bSYour Name 			information
1088*5113495bSYour Name 
1089*5113495bSYour Name 
1090*5113495bSYour Name 
1091*5113495bSYour Name 			For MPDUs without a QoS control field, this field will
1092*5113495bSYour Name 			not be set.
1093*5113495bSYour Name 
1094*5113495bSYour Name 
1095*5113495bSYour Name 
1096*5113495bSYour Name 
1097*5113495bSYour Name 			<legal all>
1098*5113495bSYour Name */
1099*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_QOS_CONTROL_VALID_OFFSET 0x0000002c
1100*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_QOS_CONTROL_VALID_LSB 7
1101*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_QOS_CONTROL_VALID_MASK 0x00000080
1102*5113495bSYour Name 
1103*5113495bSYour Name /* Description		RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_HT_CONTROL_VALID
1104*5113495bSYour Name 
1105*5113495bSYour Name 			When set, the field mpdu_HT_control_field has valid
1106*5113495bSYour Name 			information
1107*5113495bSYour Name 
1108*5113495bSYour Name 
1109*5113495bSYour Name 
1110*5113495bSYour Name 			For MPDUs without a HT control field, this field will
1111*5113495bSYour Name 			not be set.
1112*5113495bSYour Name 
1113*5113495bSYour Name 
1114*5113495bSYour Name 
1115*5113495bSYour Name 
1116*5113495bSYour Name 			<legal all>
1117*5113495bSYour Name */
1118*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_HT_CONTROL_VALID_OFFSET 0x0000002c
1119*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_HT_CONTROL_VALID_LSB 8
1120*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_HT_CONTROL_VALID_MASK 0x00000100
1121*5113495bSYour Name 
1122*5113495bSYour Name /* Description		RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_FRAME_ENCRYPTION_INFO_VALID
1123*5113495bSYour Name 
1124*5113495bSYour Name 			When set, the encryption related info fields, like IV
1125*5113495bSYour Name 			and PN are valid
1126*5113495bSYour Name 
1127*5113495bSYour Name 
1128*5113495bSYour Name 
1129*5113495bSYour Name 			For MPDUs that are not encrypted, this will not be set.
1130*5113495bSYour Name 
1131*5113495bSYour Name 
1132*5113495bSYour Name 
1133*5113495bSYour Name 
1134*5113495bSYour Name 			<legal all>
1135*5113495bSYour Name */
1136*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_FRAME_ENCRYPTION_INFO_VALID_OFFSET 0x0000002c
1137*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_FRAME_ENCRYPTION_INFO_VALID_LSB 9
1138*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_FRAME_ENCRYPTION_INFO_VALID_MASK 0x00000200
1139*5113495bSYour Name 
1140*5113495bSYour Name /* Description		RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_FRAGMENT_NUMBER
1141*5113495bSYour Name 
1142*5113495bSYour Name 			Field only valid when Mpdu_sequence_control_valid is set
1143*5113495bSYour Name 			AND Fragment_flag is set
1144*5113495bSYour Name 
1145*5113495bSYour Name 
1146*5113495bSYour Name 
1147*5113495bSYour Name 			The fragment number from the 802.11 header
1148*5113495bSYour Name 
1149*5113495bSYour Name 
1150*5113495bSYour Name 
1151*5113495bSYour Name 			<legal all>
1152*5113495bSYour Name */
1153*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_FRAGMENT_NUMBER_OFFSET 0x0000002c
1154*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_FRAGMENT_NUMBER_LSB 10
1155*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_FRAGMENT_NUMBER_MASK 0x00003c00
1156*5113495bSYour Name 
1157*5113495bSYour Name /* Description		RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MORE_FRAGMENT_FLAG
1158*5113495bSYour Name 
1159*5113495bSYour Name 			The More Fragment bit setting from the MPDU header of
1160*5113495bSYour Name 			the received frame
1161*5113495bSYour Name 
1162*5113495bSYour Name 
1163*5113495bSYour Name 
1164*5113495bSYour Name 			<legal all>
1165*5113495bSYour Name */
1166*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MORE_FRAGMENT_FLAG_OFFSET 0x0000002c
1167*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MORE_FRAGMENT_FLAG_LSB 14
1168*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MORE_FRAGMENT_FLAG_MASK 0x00004000
1169*5113495bSYour Name 
1170*5113495bSYour Name /* Description		RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_RESERVED_11A
1171*5113495bSYour Name 
1172*5113495bSYour Name 			<legal 0>
1173*5113495bSYour Name */
1174*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_RESERVED_11A_OFFSET    0x0000002c
1175*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_RESERVED_11A_LSB       15
1176*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_RESERVED_11A_MASK      0x00008000
1177*5113495bSYour Name 
1178*5113495bSYour Name /* Description		RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_FR_DS
1179*5113495bSYour Name 
1180*5113495bSYour Name 			Field only valid when Mpdu_frame_control_valid is set
1181*5113495bSYour Name 
1182*5113495bSYour Name 
1183*5113495bSYour Name 
1184*5113495bSYour Name 			Set if the from DS bit is set in the frame control.
1185*5113495bSYour Name 
1186*5113495bSYour Name 			<legal all>
1187*5113495bSYour Name */
1188*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_FR_DS_OFFSET           0x0000002c
1189*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_FR_DS_LSB              16
1190*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_FR_DS_MASK             0x00010000
1191*5113495bSYour Name 
1192*5113495bSYour Name /* Description		RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_TO_DS
1193*5113495bSYour Name 
1194*5113495bSYour Name 			Field only valid when Mpdu_frame_control_valid is set
1195*5113495bSYour Name 
1196*5113495bSYour Name 
1197*5113495bSYour Name 
1198*5113495bSYour Name 			Set if the to DS bit is set in the frame control.
1199*5113495bSYour Name 
1200*5113495bSYour Name 			<legal all>
1201*5113495bSYour Name */
1202*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_TO_DS_OFFSET           0x0000002c
1203*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_TO_DS_LSB              17
1204*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_TO_DS_MASK             0x00020000
1205*5113495bSYour Name 
1206*5113495bSYour Name /* Description		RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_ENCRYPTED
1207*5113495bSYour Name 
1208*5113495bSYour Name 			Field only valid when Mpdu_frame_control_valid is set.
1209*5113495bSYour Name 
1210*5113495bSYour Name 
1211*5113495bSYour Name 
1212*5113495bSYour Name 			Protected bit from the frame control.
1213*5113495bSYour Name 
1214*5113495bSYour Name 			<legal all>
1215*5113495bSYour Name */
1216*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_ENCRYPTED_OFFSET       0x0000002c
1217*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_ENCRYPTED_LSB          18
1218*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_ENCRYPTED_MASK         0x00040000
1219*5113495bSYour Name 
1220*5113495bSYour Name /* Description		RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_RETRY
1221*5113495bSYour Name 
1222*5113495bSYour Name 			Field only valid when Mpdu_frame_control_valid is set.
1223*5113495bSYour Name 
1224*5113495bSYour Name 
1225*5113495bSYour Name 
1226*5113495bSYour Name 			Retry bit from the frame control.  Only valid when
1227*5113495bSYour Name 			first_msdu is set.
1228*5113495bSYour Name 
1229*5113495bSYour Name 			<legal all>
1230*5113495bSYour Name */
1231*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_RETRY_OFFSET      0x0000002c
1232*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_RETRY_LSB         19
1233*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_RETRY_MASK        0x00080000
1234*5113495bSYour Name 
1235*5113495bSYour Name /* Description		RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_SEQUENCE_NUMBER
1236*5113495bSYour Name 
1237*5113495bSYour Name 			Field only valid when Mpdu_sequence_control_valid is
1238*5113495bSYour Name 			set.
1239*5113495bSYour Name 
1240*5113495bSYour Name 
1241*5113495bSYour Name 
1242*5113495bSYour Name 			The sequence number from the 802.11 header.
1243*5113495bSYour Name 
1244*5113495bSYour Name 			<legal all>
1245*5113495bSYour Name */
1246*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_SEQUENCE_NUMBER_OFFSET 0x0000002c
1247*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_SEQUENCE_NUMBER_LSB 20
1248*5113495bSYour Name #define RX_MPDU_START_11_RX_MPDU_INFO_DETAILS_MPDU_SEQUENCE_NUMBER_MASK 0xfff00000
1249*5113495bSYour Name 
1250*5113495bSYour Name /* Description		RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_KEY_ID_OCTET
1251*5113495bSYour Name 
1252*5113495bSYour Name 
1253*5113495bSYour Name 
1254*5113495bSYour Name 
1255*5113495bSYour Name 			The key ID octet from the IV.
1256*5113495bSYour Name 
1257*5113495bSYour Name 
1258*5113495bSYour Name 
1259*5113495bSYour Name 			In case of ndp or phy_err or AST_based_lookup_valid ==
1260*5113495bSYour Name 			0, this field will be set to 0
1261*5113495bSYour Name 
1262*5113495bSYour Name 			<legal all>
1263*5113495bSYour Name */
1264*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_KEY_ID_OCTET_OFFSET    0x00000030
1265*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_KEY_ID_OCTET_LSB       0
1266*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_KEY_ID_OCTET_MASK      0x000000ff
1267*5113495bSYour Name 
1268*5113495bSYour Name /* Description		RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_NEW_PEER_ENTRY
1269*5113495bSYour Name 
1270*5113495bSYour Name 			In case of ndp or phy_err or AST_based_lookup_valid ==
1271*5113495bSYour Name 			0, this field will be set to 0
1272*5113495bSYour Name 
1273*5113495bSYour Name 
1274*5113495bSYour Name 
1275*5113495bSYour Name 			Set if new RX_PEER_ENTRY TLV follows. If clear,
1276*5113495bSYour Name 			RX_PEER_ENTRY doesn't follow so RX DECRYPTION module either
1277*5113495bSYour Name 			uses old peer entry or not decrypt.
1278*5113495bSYour Name 
1279*5113495bSYour Name 			<legal all>
1280*5113495bSYour Name */
1281*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_NEW_PEER_ENTRY_OFFSET  0x00000030
1282*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_NEW_PEER_ENTRY_LSB     8
1283*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_NEW_PEER_ENTRY_MASK    0x00000100
1284*5113495bSYour Name 
1285*5113495bSYour Name /* Description		RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_DECRYPT_NEEDED
1286*5113495bSYour Name 
1287*5113495bSYour Name 			In case of ndp or phy_err or AST_based_lookup_valid ==
1288*5113495bSYour Name 			0, this field will be set to 0
1289*5113495bSYour Name 
1290*5113495bSYour Name 
1291*5113495bSYour Name 
1292*5113495bSYour Name 			Set if decryption is needed.
1293*5113495bSYour Name 
1294*5113495bSYour Name 
1295*5113495bSYour Name 
1296*5113495bSYour Name 			Note:
1297*5113495bSYour Name 
1298*5113495bSYour Name 			When RXPCU sets bit 'ast_index_not_found' and/or
1299*5113495bSYour Name 			ast_index_timeout', RXPCU will also ensure that this bit is
1300*5113495bSYour Name 			NOT set
1301*5113495bSYour Name 
1302*5113495bSYour Name 			CRYPTO for that reason only needs to evaluate this bit
1303*5113495bSYour Name 			and non of the other ones.
1304*5113495bSYour Name 
1305*5113495bSYour Name 			<legal all>
1306*5113495bSYour Name */
1307*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_DECRYPT_NEEDED_OFFSET  0x00000030
1308*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_DECRYPT_NEEDED_LSB     9
1309*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_DECRYPT_NEEDED_MASK    0x00000200
1310*5113495bSYour Name 
1311*5113495bSYour Name /* Description		RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_DECAP_TYPE
1312*5113495bSYour Name 
1313*5113495bSYour Name 			In case of ndp or phy_err or AST_based_lookup_valid ==
1314*5113495bSYour Name 			0, this field will be set to 0
1315*5113495bSYour Name 
1316*5113495bSYour Name 
1317*5113495bSYour Name 
1318*5113495bSYour Name 			Used by the OLE during decapsulation.
1319*5113495bSYour Name 
1320*5113495bSYour Name 
1321*5113495bSYour Name 
1322*5113495bSYour Name 			Indicates the decapsulation that HW will perform:
1323*5113495bSYour Name 
1324*5113495bSYour Name 
1325*5113495bSYour Name 
1326*5113495bSYour Name 			<enum 0 RAW> No encapsulation
1327*5113495bSYour Name 
1328*5113495bSYour Name 			<enum 1 Native_WiFi>
1329*5113495bSYour Name 
1330*5113495bSYour Name 			<enum 2 Ethernet> Ethernet 2 (DIX)  or 802.3 (uses
1331*5113495bSYour Name 			SNAP/LLC)
1332*5113495bSYour Name 
1333*5113495bSYour Name 			<enum 3 802_3> Indicate Ethernet
1334*5113495bSYour Name 
1335*5113495bSYour Name 
1336*5113495bSYour Name 
1337*5113495bSYour Name 			<legal all>
1338*5113495bSYour Name */
1339*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_DECAP_TYPE_OFFSET      0x00000030
1340*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_DECAP_TYPE_LSB         10
1341*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_DECAP_TYPE_MASK        0x00000c00
1342*5113495bSYour Name 
1343*5113495bSYour Name /* Description		RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_RX_INSERT_VLAN_C_TAG_PADDING
1344*5113495bSYour Name 
1345*5113495bSYour Name 			In case of ndp or phy_err or AST_based_lookup_valid ==
1346*5113495bSYour Name 			0, this field will be set to 0
1347*5113495bSYour Name 
1348*5113495bSYour Name 
1349*5113495bSYour Name 
1350*5113495bSYour Name 			Insert 4 byte of all zeros as VLAN tag if the rx payload
1351*5113495bSYour Name 			does not have VLAN. Used during decapsulation.
1352*5113495bSYour Name 
1353*5113495bSYour Name 			<legal all>
1354*5113495bSYour Name */
1355*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_RX_INSERT_VLAN_C_TAG_PADDING_OFFSET 0x00000030
1356*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_RX_INSERT_VLAN_C_TAG_PADDING_LSB 12
1357*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_RX_INSERT_VLAN_C_TAG_PADDING_MASK 0x00001000
1358*5113495bSYour Name 
1359*5113495bSYour Name /* Description		RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_RX_INSERT_VLAN_S_TAG_PADDING
1360*5113495bSYour Name 
1361*5113495bSYour Name 			In case of ndp or phy_err or AST_based_lookup_valid ==
1362*5113495bSYour Name 			0, this field will be set to 0
1363*5113495bSYour Name 
1364*5113495bSYour Name 
1365*5113495bSYour Name 
1366*5113495bSYour Name 			Insert 4 byte of all zeros as double VLAN tag if the rx
1367*5113495bSYour Name 			payload does not have VLAN. Used during
1368*5113495bSYour Name 
1369*5113495bSYour Name 			<legal all>
1370*5113495bSYour Name */
1371*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_RX_INSERT_VLAN_S_TAG_PADDING_OFFSET 0x00000030
1372*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_RX_INSERT_VLAN_S_TAG_PADDING_LSB 13
1373*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_RX_INSERT_VLAN_S_TAG_PADDING_MASK 0x00002000
1374*5113495bSYour Name 
1375*5113495bSYour Name /* Description		RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_STRIP_VLAN_C_TAG_DECAP
1376*5113495bSYour Name 
1377*5113495bSYour Name 			In case of ndp or phy_err or AST_based_lookup_valid ==
1378*5113495bSYour Name 			0, this field will be set to 0
1379*5113495bSYour Name 
1380*5113495bSYour Name 
1381*5113495bSYour Name 
1382*5113495bSYour Name 			Strip the VLAN during decapsulation.  Used by the OLE.
1383*5113495bSYour Name 
1384*5113495bSYour Name 			<legal all>
1385*5113495bSYour Name */
1386*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_STRIP_VLAN_C_TAG_DECAP_OFFSET 0x00000030
1387*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_STRIP_VLAN_C_TAG_DECAP_LSB 14
1388*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_STRIP_VLAN_C_TAG_DECAP_MASK 0x00004000
1389*5113495bSYour Name 
1390*5113495bSYour Name /* Description		RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_STRIP_VLAN_S_TAG_DECAP
1391*5113495bSYour Name 
1392*5113495bSYour Name 			In case of ndp or phy_err or AST_based_lookup_valid ==
1393*5113495bSYour Name 			0, this field will be set to 0
1394*5113495bSYour Name 
1395*5113495bSYour Name 
1396*5113495bSYour Name 
1397*5113495bSYour Name 			Strip the double VLAN during decapsulation.  Used by
1398*5113495bSYour Name 			the OLE.
1399*5113495bSYour Name 
1400*5113495bSYour Name 			<legal all>
1401*5113495bSYour Name */
1402*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_STRIP_VLAN_S_TAG_DECAP_OFFSET 0x00000030
1403*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_STRIP_VLAN_S_TAG_DECAP_LSB 15
1404*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_STRIP_VLAN_S_TAG_DECAP_MASK 0x00008000
1405*5113495bSYour Name 
1406*5113495bSYour Name /* Description		RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_PRE_DELIM_COUNT
1407*5113495bSYour Name 
1408*5113495bSYour Name 			The number of delimiters before this MPDU.
1409*5113495bSYour Name 
1410*5113495bSYour Name 
1411*5113495bSYour Name 
1412*5113495bSYour Name 			Note that this number is cleared at PPDU start.
1413*5113495bSYour Name 
1414*5113495bSYour Name 
1415*5113495bSYour Name 
1416*5113495bSYour Name 			If this MPDU is the first received MPDU in the PPDU and
1417*5113495bSYour Name 			this MPDU gets filtered-in, this field will indicate the
1418*5113495bSYour Name 			number of delimiters located after the last MPDU in the
1419*5113495bSYour Name 			previous PPDU.
1420*5113495bSYour Name 
1421*5113495bSYour Name 
1422*5113495bSYour Name 
1423*5113495bSYour Name 			If this MPDU is located after the first received MPDU in
1424*5113495bSYour Name 			an PPDU, this field will indicate the number of delimiters
1425*5113495bSYour Name 			located between the previous MPDU and this MPDU.
1426*5113495bSYour Name 
1427*5113495bSYour Name 
1428*5113495bSYour Name 
1429*5113495bSYour Name 			In case of ndp or phy_err, this field will indicate the
1430*5113495bSYour Name 			number of delimiters located after the last MPDU in the
1431*5113495bSYour Name 			previous PPDU.
1432*5113495bSYour Name 
1433*5113495bSYour Name 			<legal all>
1434*5113495bSYour Name */
1435*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_PRE_DELIM_COUNT_OFFSET 0x00000030
1436*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_PRE_DELIM_COUNT_LSB    16
1437*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_PRE_DELIM_COUNT_MASK   0x0fff0000
1438*5113495bSYour Name 
1439*5113495bSYour Name /* Description		RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_AMPDU_FLAG
1440*5113495bSYour Name 
1441*5113495bSYour Name 			When set, received frame was part of an A-MPDU.
1442*5113495bSYour Name 
1443*5113495bSYour Name 
1444*5113495bSYour Name 
1445*5113495bSYour Name 
1446*5113495bSYour Name 			<legal all>
1447*5113495bSYour Name */
1448*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_AMPDU_FLAG_OFFSET      0x00000030
1449*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_AMPDU_FLAG_LSB         28
1450*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_AMPDU_FLAG_MASK        0x10000000
1451*5113495bSYour Name 
1452*5113495bSYour Name /* Description		RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_BAR_FRAME
1453*5113495bSYour Name 
1454*5113495bSYour Name 			In case of ndp or phy_err or AST_based_lookup_valid ==
1455*5113495bSYour Name 			0, this field will be set to 0
1456*5113495bSYour Name 
1457*5113495bSYour Name 
1458*5113495bSYour Name 
1459*5113495bSYour Name 			When set, received frame is a BAR frame
1460*5113495bSYour Name 
1461*5113495bSYour Name 			<legal all>
1462*5113495bSYour Name */
1463*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_BAR_FRAME_OFFSET       0x00000030
1464*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_BAR_FRAME_LSB          29
1465*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_BAR_FRAME_MASK         0x20000000
1466*5113495bSYour Name 
1467*5113495bSYour Name /* Description		RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_RAW_MPDU
1468*5113495bSYour Name 
1469*5113495bSYour Name 			Consumer: SW
1470*5113495bSYour Name 
1471*5113495bSYour Name 			Producer: RXOLE
1472*5113495bSYour Name 
1473*5113495bSYour Name 
1474*5113495bSYour Name 
1475*5113495bSYour Name 			RXPCU sets this field to 0 and RXOLE overwrites it.
1476*5113495bSYour Name 
1477*5113495bSYour Name 
1478*5113495bSYour Name 
1479*5113495bSYour Name 			Set to 1 by RXOLE when it has not performed any 802.11
1480*5113495bSYour Name 			to Ethernet/Natvie WiFi header conversion on this MPDU.
1481*5113495bSYour Name 
1482*5113495bSYour Name 			<legal all>
1483*5113495bSYour Name */
1484*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_RAW_MPDU_OFFSET        0x00000030
1485*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_RAW_MPDU_LSB           30
1486*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_RAW_MPDU_MASK          0x40000000
1487*5113495bSYour Name 
1488*5113495bSYour Name /* Description		RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_RESERVED_12
1489*5113495bSYour Name 
1490*5113495bSYour Name 			<legal 0>
1491*5113495bSYour Name */
1492*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_RESERVED_12_OFFSET     0x00000030
1493*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_RESERVED_12_LSB        31
1494*5113495bSYour Name #define RX_MPDU_START_12_RX_MPDU_INFO_DETAILS_RESERVED_12_MASK       0x80000000
1495*5113495bSYour Name 
1496*5113495bSYour Name /* Description		RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_MPDU_LENGTH
1497*5113495bSYour Name 
1498*5113495bSYour Name 			In case of ndp or phy_err this field will be set to 0
1499*5113495bSYour Name 
1500*5113495bSYour Name 
1501*5113495bSYour Name 
1502*5113495bSYour Name 			MPDU length before decapsulation.
1503*5113495bSYour Name 
1504*5113495bSYour Name 			<legal all>
1505*5113495bSYour Name */
1506*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_MPDU_LENGTH_OFFSET     0x00000034
1507*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_MPDU_LENGTH_LSB        0
1508*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_MPDU_LENGTH_MASK       0x00003fff
1509*5113495bSYour Name 
1510*5113495bSYour Name /* Description		RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_FIRST_MPDU
1511*5113495bSYour Name 
1512*5113495bSYour Name 			See definition in RX attention descriptor
1513*5113495bSYour Name 
1514*5113495bSYour Name 
1515*5113495bSYour Name 
1516*5113495bSYour Name 			In case of ndp or phy_err, this field will be set. Note
1517*5113495bSYour Name 			however that there will not actually be any data contents in
1518*5113495bSYour Name 			the MPDU.
1519*5113495bSYour Name 
1520*5113495bSYour Name 			<legal all>
1521*5113495bSYour Name */
1522*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_FIRST_MPDU_OFFSET      0x00000034
1523*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_FIRST_MPDU_LSB         14
1524*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_FIRST_MPDU_MASK        0x00004000
1525*5113495bSYour Name 
1526*5113495bSYour Name /* Description		RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_MCAST_BCAST
1527*5113495bSYour Name 
1528*5113495bSYour Name 			In case of ndp or phy_err or Phy_err_during_mpdu_header
1529*5113495bSYour Name 			this field will be set to 0
1530*5113495bSYour Name 
1531*5113495bSYour Name 
1532*5113495bSYour Name 
1533*5113495bSYour Name 			See definition in RX attention descriptor
1534*5113495bSYour Name 
1535*5113495bSYour Name 			<legal all>
1536*5113495bSYour Name */
1537*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_MCAST_BCAST_OFFSET     0x00000034
1538*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_MCAST_BCAST_LSB        15
1539*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_MCAST_BCAST_MASK       0x00008000
1540*5113495bSYour Name 
1541*5113495bSYour Name /* Description		RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_AST_INDEX_NOT_FOUND
1542*5113495bSYour Name 
1543*5113495bSYour Name 			In case of ndp or phy_err or Phy_err_during_mpdu_header
1544*5113495bSYour Name 			this field will be set to 0
1545*5113495bSYour Name 
1546*5113495bSYour Name 
1547*5113495bSYour Name 
1548*5113495bSYour Name 			See definition in RX attention descriptor
1549*5113495bSYour Name 
1550*5113495bSYour Name 			<legal all>
1551*5113495bSYour Name */
1552*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_AST_INDEX_NOT_FOUND_OFFSET 0x00000034
1553*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_AST_INDEX_NOT_FOUND_LSB 16
1554*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_AST_INDEX_NOT_FOUND_MASK 0x00010000
1555*5113495bSYour Name 
1556*5113495bSYour Name /* Description		RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_AST_INDEX_TIMEOUT
1557*5113495bSYour Name 
1558*5113495bSYour Name 			In case of ndp or phy_err or Phy_err_during_mpdu_header
1559*5113495bSYour Name 			this field will be set to 0
1560*5113495bSYour Name 
1561*5113495bSYour Name 
1562*5113495bSYour Name 
1563*5113495bSYour Name 			See definition in RX attention descriptor
1564*5113495bSYour Name 
1565*5113495bSYour Name 			<legal all>
1566*5113495bSYour Name */
1567*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_AST_INDEX_TIMEOUT_OFFSET 0x00000034
1568*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_AST_INDEX_TIMEOUT_LSB  17
1569*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_AST_INDEX_TIMEOUT_MASK 0x00020000
1570*5113495bSYour Name 
1571*5113495bSYour Name /* Description		RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_POWER_MGMT
1572*5113495bSYour Name 
1573*5113495bSYour Name 			In case of ndp or phy_err or Phy_err_during_mpdu_header
1574*5113495bSYour Name 			this field will be set to 0
1575*5113495bSYour Name 
1576*5113495bSYour Name 
1577*5113495bSYour Name 
1578*5113495bSYour Name 			See definition in RX attention descriptor
1579*5113495bSYour Name 
1580*5113495bSYour Name 			<legal all>
1581*5113495bSYour Name */
1582*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_POWER_MGMT_OFFSET      0x00000034
1583*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_POWER_MGMT_LSB         18
1584*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_POWER_MGMT_MASK        0x00040000
1585*5113495bSYour Name 
1586*5113495bSYour Name /* Description		RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_NON_QOS
1587*5113495bSYour Name 
1588*5113495bSYour Name 			In case of ndp or phy_err or Phy_err_during_mpdu_header
1589*5113495bSYour Name 			this field will be set to 1
1590*5113495bSYour Name 
1591*5113495bSYour Name 
1592*5113495bSYour Name 
1593*5113495bSYour Name 			See definition in RX attention descriptor
1594*5113495bSYour Name 
1595*5113495bSYour Name 			<legal all>
1596*5113495bSYour Name */
1597*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_NON_QOS_OFFSET         0x00000034
1598*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_NON_QOS_LSB            19
1599*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_NON_QOS_MASK           0x00080000
1600*5113495bSYour Name 
1601*5113495bSYour Name /* Description		RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_NULL_DATA
1602*5113495bSYour Name 
1603*5113495bSYour Name 			In case of ndp or phy_err or Phy_err_during_mpdu_header
1604*5113495bSYour Name 			this field will be set to 0
1605*5113495bSYour Name 
1606*5113495bSYour Name 
1607*5113495bSYour Name 
1608*5113495bSYour Name 			See definition in RX attention descriptor
1609*5113495bSYour Name 
1610*5113495bSYour Name 			<legal all>
1611*5113495bSYour Name */
1612*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_NULL_DATA_OFFSET       0x00000034
1613*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_NULL_DATA_LSB          20
1614*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_NULL_DATA_MASK         0x00100000
1615*5113495bSYour Name 
1616*5113495bSYour Name /* Description		RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_MGMT_TYPE
1617*5113495bSYour Name 
1618*5113495bSYour Name 			In case of ndp or phy_err or Phy_err_during_mpdu_header
1619*5113495bSYour Name 			this field will be set to 0
1620*5113495bSYour Name 
1621*5113495bSYour Name 
1622*5113495bSYour Name 
1623*5113495bSYour Name 			See definition in RX attention descriptor
1624*5113495bSYour Name 
1625*5113495bSYour Name 			<legal all>
1626*5113495bSYour Name */
1627*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_MGMT_TYPE_OFFSET       0x00000034
1628*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_MGMT_TYPE_LSB          21
1629*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_MGMT_TYPE_MASK         0x00200000
1630*5113495bSYour Name 
1631*5113495bSYour Name /* Description		RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_CTRL_TYPE
1632*5113495bSYour Name 
1633*5113495bSYour Name 			In case of ndp or phy_err or Phy_err_during_mpdu_header
1634*5113495bSYour Name 			this field will be set to 0
1635*5113495bSYour Name 
1636*5113495bSYour Name 
1637*5113495bSYour Name 
1638*5113495bSYour Name 			See definition in RX attention descriptor
1639*5113495bSYour Name 
1640*5113495bSYour Name 			<legal all>
1641*5113495bSYour Name */
1642*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_CTRL_TYPE_OFFSET       0x00000034
1643*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_CTRL_TYPE_LSB          22
1644*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_CTRL_TYPE_MASK         0x00400000
1645*5113495bSYour Name 
1646*5113495bSYour Name /* Description		RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_MORE_DATA
1647*5113495bSYour Name 
1648*5113495bSYour Name 			In case of ndp or phy_err or Phy_err_during_mpdu_header
1649*5113495bSYour Name 			this field will be set to 0
1650*5113495bSYour Name 
1651*5113495bSYour Name 
1652*5113495bSYour Name 
1653*5113495bSYour Name 			See definition in RX attention descriptor
1654*5113495bSYour Name 
1655*5113495bSYour Name 			<legal all>
1656*5113495bSYour Name */
1657*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_MORE_DATA_OFFSET       0x00000034
1658*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_MORE_DATA_LSB          23
1659*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_MORE_DATA_MASK         0x00800000
1660*5113495bSYour Name 
1661*5113495bSYour Name /* Description		RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_EOSP
1662*5113495bSYour Name 
1663*5113495bSYour Name 			In case of ndp or phy_err or Phy_err_during_mpdu_header
1664*5113495bSYour Name 			this field will be set to 0
1665*5113495bSYour Name 
1666*5113495bSYour Name 
1667*5113495bSYour Name 
1668*5113495bSYour Name 			See definition in RX attention descriptor
1669*5113495bSYour Name 
1670*5113495bSYour Name 			<legal all>
1671*5113495bSYour Name */
1672*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_EOSP_OFFSET            0x00000034
1673*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_EOSP_LSB               24
1674*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_EOSP_MASK              0x01000000
1675*5113495bSYour Name 
1676*5113495bSYour Name /* Description		RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_FRAGMENT_FLAG
1677*5113495bSYour Name 
1678*5113495bSYour Name 			In case of ndp or phy_err or Phy_err_during_mpdu_header
1679*5113495bSYour Name 			this field will be set to 0
1680*5113495bSYour Name 
1681*5113495bSYour Name 
1682*5113495bSYour Name 
1683*5113495bSYour Name 			See definition in RX attention descriptor
1684*5113495bSYour Name 
1685*5113495bSYour Name 			<legal all>
1686*5113495bSYour Name */
1687*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_FRAGMENT_FLAG_OFFSET   0x00000034
1688*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_FRAGMENT_FLAG_LSB      25
1689*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_FRAGMENT_FLAG_MASK     0x02000000
1690*5113495bSYour Name 
1691*5113495bSYour Name /* Description		RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_ORDER
1692*5113495bSYour Name 
1693*5113495bSYour Name 			In case of ndp or phy_err or Phy_err_during_mpdu_header
1694*5113495bSYour Name 			this field will be set to 0
1695*5113495bSYour Name 
1696*5113495bSYour Name 
1697*5113495bSYour Name 
1698*5113495bSYour Name 			See definition in RX attention descriptor
1699*5113495bSYour Name 
1700*5113495bSYour Name 
1701*5113495bSYour Name 
1702*5113495bSYour Name 			<legal all>
1703*5113495bSYour Name */
1704*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_ORDER_OFFSET           0x00000034
1705*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_ORDER_LSB              26
1706*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_ORDER_MASK             0x04000000
1707*5113495bSYour Name 
1708*5113495bSYour Name /* Description		RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_U_APSD_TRIGGER
1709*5113495bSYour Name 
1710*5113495bSYour Name 			In case of ndp or phy_err or Phy_err_during_mpdu_header
1711*5113495bSYour Name 			this field will be set to 0
1712*5113495bSYour Name 
1713*5113495bSYour Name 
1714*5113495bSYour Name 
1715*5113495bSYour Name 			See definition in RX attention descriptor
1716*5113495bSYour Name 
1717*5113495bSYour Name 			<legal all>
1718*5113495bSYour Name */
1719*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_U_APSD_TRIGGER_OFFSET  0x00000034
1720*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_U_APSD_TRIGGER_LSB     27
1721*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_U_APSD_TRIGGER_MASK    0x08000000
1722*5113495bSYour Name 
1723*5113495bSYour Name /* Description		RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_ENCRYPT_REQUIRED
1724*5113495bSYour Name 
1725*5113495bSYour Name 			In case of ndp or phy_err or Phy_err_during_mpdu_header
1726*5113495bSYour Name 			this field will be set to 0
1727*5113495bSYour Name 
1728*5113495bSYour Name 
1729*5113495bSYour Name 
1730*5113495bSYour Name 			See definition in RX attention descriptor
1731*5113495bSYour Name 
1732*5113495bSYour Name 			<legal all>
1733*5113495bSYour Name */
1734*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_ENCRYPT_REQUIRED_OFFSET 0x00000034
1735*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_ENCRYPT_REQUIRED_LSB   28
1736*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_ENCRYPT_REQUIRED_MASK  0x10000000
1737*5113495bSYour Name 
1738*5113495bSYour Name /* Description		RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_DIRECTED
1739*5113495bSYour Name 
1740*5113495bSYour Name 			In case of ndp or phy_err or Phy_err_during_mpdu_header
1741*5113495bSYour Name 			this field will be set to 0
1742*5113495bSYour Name 
1743*5113495bSYour Name 
1744*5113495bSYour Name 
1745*5113495bSYour Name 			See definition in RX attention descriptor
1746*5113495bSYour Name 
1747*5113495bSYour Name 			<legal all>
1748*5113495bSYour Name */
1749*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_DIRECTED_OFFSET        0x00000034
1750*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_DIRECTED_LSB           29
1751*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_DIRECTED_MASK          0x20000000
1752*5113495bSYour Name 
1753*5113495bSYour Name /* Description		RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_AMSDU_PRESENT
1754*5113495bSYour Name 
1755*5113495bSYour Name 			Field only valid when Mpdu_qos_control_valid is set
1756*5113495bSYour Name 
1757*5113495bSYour Name 
1758*5113495bSYour Name 
1759*5113495bSYour Name 			The 'amsdu_present' bit within the QoS control field of
1760*5113495bSYour Name 			the MPDU
1761*5113495bSYour Name 
1762*5113495bSYour Name 			<legal all>
1763*5113495bSYour Name */
1764*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_AMSDU_PRESENT_OFFSET   0x00000034
1765*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_AMSDU_PRESENT_LSB      30
1766*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_AMSDU_PRESENT_MASK     0x40000000
1767*5113495bSYour Name 
1768*5113495bSYour Name /* Description		RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_RESERVED_13
1769*5113495bSYour Name 
1770*5113495bSYour Name 			<legal 0>
1771*5113495bSYour Name */
1772*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_RESERVED_13_OFFSET     0x00000034
1773*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_RESERVED_13_LSB        31
1774*5113495bSYour Name #define RX_MPDU_START_13_RX_MPDU_INFO_DETAILS_RESERVED_13_MASK       0x80000000
1775*5113495bSYour Name 
1776*5113495bSYour Name /* Description		RX_MPDU_START_14_RX_MPDU_INFO_DETAILS_MPDU_FRAME_CONTROL_FIELD
1777*5113495bSYour Name 
1778*5113495bSYour Name 			Field only valid when Mpdu_frame_control_valid is set
1779*5113495bSYour Name 
1780*5113495bSYour Name 
1781*5113495bSYour Name 
1782*5113495bSYour Name 			The frame control field of this received MPDU.
1783*5113495bSYour Name 
1784*5113495bSYour Name 
1785*5113495bSYour Name 
1786*5113495bSYour Name 			Field only valid when Ndp_frame and phy_err are NOT set
1787*5113495bSYour Name 
1788*5113495bSYour Name 
1789*5113495bSYour Name 
1790*5113495bSYour Name 			Bytes 0 + 1 of the received MPDU
1791*5113495bSYour Name 
1792*5113495bSYour Name 			<legal all>
1793*5113495bSYour Name */
1794*5113495bSYour Name #define RX_MPDU_START_14_RX_MPDU_INFO_DETAILS_MPDU_FRAME_CONTROL_FIELD_OFFSET 0x00000038
1795*5113495bSYour Name #define RX_MPDU_START_14_RX_MPDU_INFO_DETAILS_MPDU_FRAME_CONTROL_FIELD_LSB 0
1796*5113495bSYour Name #define RX_MPDU_START_14_RX_MPDU_INFO_DETAILS_MPDU_FRAME_CONTROL_FIELD_MASK 0x0000ffff
1797*5113495bSYour Name 
1798*5113495bSYour Name /* Description		RX_MPDU_START_14_RX_MPDU_INFO_DETAILS_MPDU_DURATION_FIELD
1799*5113495bSYour Name 
1800*5113495bSYour Name 			Field only valid when Mpdu_duration_valid is set
1801*5113495bSYour Name 
1802*5113495bSYour Name 
1803*5113495bSYour Name 
1804*5113495bSYour Name 			The duration field of this received MPDU.
1805*5113495bSYour Name 
1806*5113495bSYour Name 			<legal all>
1807*5113495bSYour Name */
1808*5113495bSYour Name #define RX_MPDU_START_14_RX_MPDU_INFO_DETAILS_MPDU_DURATION_FIELD_OFFSET 0x00000038
1809*5113495bSYour Name #define RX_MPDU_START_14_RX_MPDU_INFO_DETAILS_MPDU_DURATION_FIELD_LSB 16
1810*5113495bSYour Name #define RX_MPDU_START_14_RX_MPDU_INFO_DETAILS_MPDU_DURATION_FIELD_MASK 0xffff0000
1811*5113495bSYour Name 
1812*5113495bSYour Name /* Description		RX_MPDU_START_15_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD1_31_0
1813*5113495bSYour Name 
1814*5113495bSYour Name 			Field only valid when mac_addr_ad1_valid is set
1815*5113495bSYour Name 
1816*5113495bSYour Name 
1817*5113495bSYour Name 
1818*5113495bSYour Name 			The Least Significant 4 bytes of the Received Frames MAC
1819*5113495bSYour Name 			Address AD1
1820*5113495bSYour Name 
1821*5113495bSYour Name 			<legal all>
1822*5113495bSYour Name */
1823*5113495bSYour Name #define RX_MPDU_START_15_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD1_31_0_OFFSET 0x0000003c
1824*5113495bSYour Name #define RX_MPDU_START_15_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD1_31_0_LSB  0
1825*5113495bSYour Name #define RX_MPDU_START_15_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD1_31_0_MASK 0xffffffff
1826*5113495bSYour Name 
1827*5113495bSYour Name /* Description		RX_MPDU_START_16_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD1_47_32
1828*5113495bSYour Name 
1829*5113495bSYour Name 			Field only valid when mac_addr_ad1_valid is set
1830*5113495bSYour Name 
1831*5113495bSYour Name 
1832*5113495bSYour Name 
1833*5113495bSYour Name 			The 2 most significant bytes of the Received Frames MAC
1834*5113495bSYour Name 			Address AD1
1835*5113495bSYour Name 
1836*5113495bSYour Name 			<legal all>
1837*5113495bSYour Name */
1838*5113495bSYour Name #define RX_MPDU_START_16_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD1_47_32_OFFSET 0x00000040
1839*5113495bSYour Name #define RX_MPDU_START_16_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD1_47_32_LSB 0
1840*5113495bSYour Name #define RX_MPDU_START_16_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD1_47_32_MASK 0x0000ffff
1841*5113495bSYour Name 
1842*5113495bSYour Name /* Description		RX_MPDU_START_16_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD2_15_0
1843*5113495bSYour Name 
1844*5113495bSYour Name 			Field only valid when mac_addr_ad2_valid is set
1845*5113495bSYour Name 
1846*5113495bSYour Name 
1847*5113495bSYour Name 
1848*5113495bSYour Name 			The Least Significant 2 bytes of the Received Frames MAC
1849*5113495bSYour Name 			Address AD2
1850*5113495bSYour Name 
1851*5113495bSYour Name 			<legal all>
1852*5113495bSYour Name */
1853*5113495bSYour Name #define RX_MPDU_START_16_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD2_15_0_OFFSET 0x00000040
1854*5113495bSYour Name #define RX_MPDU_START_16_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD2_15_0_LSB  16
1855*5113495bSYour Name #define RX_MPDU_START_16_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD2_15_0_MASK 0xffff0000
1856*5113495bSYour Name 
1857*5113495bSYour Name /* Description		RX_MPDU_START_17_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD2_47_16
1858*5113495bSYour Name 
1859*5113495bSYour Name 			Field only valid when mac_addr_ad2_valid is set
1860*5113495bSYour Name 
1861*5113495bSYour Name 
1862*5113495bSYour Name 
1863*5113495bSYour Name 			The 4 most significant bytes of the Received Frames MAC
1864*5113495bSYour Name 			Address AD2
1865*5113495bSYour Name 
1866*5113495bSYour Name 			<legal all>
1867*5113495bSYour Name */
1868*5113495bSYour Name #define RX_MPDU_START_17_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD2_47_16_OFFSET 0x00000044
1869*5113495bSYour Name #define RX_MPDU_START_17_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD2_47_16_LSB 0
1870*5113495bSYour Name #define RX_MPDU_START_17_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD2_47_16_MASK 0xffffffff
1871*5113495bSYour Name 
1872*5113495bSYour Name /* Description		RX_MPDU_START_18_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD3_31_0
1873*5113495bSYour Name 
1874*5113495bSYour Name 			Field only valid when mac_addr_ad3_valid is set
1875*5113495bSYour Name 
1876*5113495bSYour Name 
1877*5113495bSYour Name 
1878*5113495bSYour Name 			The Least Significant 4 bytes of the Received Frames MAC
1879*5113495bSYour Name 			Address AD3
1880*5113495bSYour Name 
1881*5113495bSYour Name 			<legal all>
1882*5113495bSYour Name */
1883*5113495bSYour Name #define RX_MPDU_START_18_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD3_31_0_OFFSET 0x00000048
1884*5113495bSYour Name #define RX_MPDU_START_18_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD3_31_0_LSB  0
1885*5113495bSYour Name #define RX_MPDU_START_18_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD3_31_0_MASK 0xffffffff
1886*5113495bSYour Name 
1887*5113495bSYour Name /* Description		RX_MPDU_START_19_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD3_47_32
1888*5113495bSYour Name 
1889*5113495bSYour Name 			Field only valid when mac_addr_ad3_valid is set
1890*5113495bSYour Name 
1891*5113495bSYour Name 
1892*5113495bSYour Name 
1893*5113495bSYour Name 			The 2 most significant bytes of the Received Frames MAC
1894*5113495bSYour Name 			Address AD3
1895*5113495bSYour Name 
1896*5113495bSYour Name 			<legal all>
1897*5113495bSYour Name */
1898*5113495bSYour Name #define RX_MPDU_START_19_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD3_47_32_OFFSET 0x0000004c
1899*5113495bSYour Name #define RX_MPDU_START_19_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD3_47_32_LSB 0
1900*5113495bSYour Name #define RX_MPDU_START_19_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD3_47_32_MASK 0x0000ffff
1901*5113495bSYour Name 
1902*5113495bSYour Name /* Description		RX_MPDU_START_19_RX_MPDU_INFO_DETAILS_MPDU_SEQUENCE_CONTROL_FIELD
1903*5113495bSYour Name 
1904*5113495bSYour Name 
1905*5113495bSYour Name 
1906*5113495bSYour Name 
1907*5113495bSYour Name 			The sequence control field of the MPDU
1908*5113495bSYour Name 
1909*5113495bSYour Name 			<legal all>
1910*5113495bSYour Name */
1911*5113495bSYour Name #define RX_MPDU_START_19_RX_MPDU_INFO_DETAILS_MPDU_SEQUENCE_CONTROL_FIELD_OFFSET 0x0000004c
1912*5113495bSYour Name #define RX_MPDU_START_19_RX_MPDU_INFO_DETAILS_MPDU_SEQUENCE_CONTROL_FIELD_LSB 16
1913*5113495bSYour Name #define RX_MPDU_START_19_RX_MPDU_INFO_DETAILS_MPDU_SEQUENCE_CONTROL_FIELD_MASK 0xffff0000
1914*5113495bSYour Name 
1915*5113495bSYour Name /* Description		RX_MPDU_START_20_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD4_31_0
1916*5113495bSYour Name 
1917*5113495bSYour Name 			Field only valid when mac_addr_ad4_valid is set
1918*5113495bSYour Name 
1919*5113495bSYour Name 
1920*5113495bSYour Name 
1921*5113495bSYour Name 			The Least Significant 4 bytes of the Received Frames MAC
1922*5113495bSYour Name 			Address AD4
1923*5113495bSYour Name 
1924*5113495bSYour Name 			<legal all>
1925*5113495bSYour Name */
1926*5113495bSYour Name #define RX_MPDU_START_20_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD4_31_0_OFFSET 0x00000050
1927*5113495bSYour Name #define RX_MPDU_START_20_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD4_31_0_LSB  0
1928*5113495bSYour Name #define RX_MPDU_START_20_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD4_31_0_MASK 0xffffffff
1929*5113495bSYour Name 
1930*5113495bSYour Name /* Description		RX_MPDU_START_21_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD4_47_32
1931*5113495bSYour Name 
1932*5113495bSYour Name 			Field only valid when mac_addr_ad4_valid is set
1933*5113495bSYour Name 
1934*5113495bSYour Name 
1935*5113495bSYour Name 
1936*5113495bSYour Name 			The 2 most significant bytes of the Received Frames MAC
1937*5113495bSYour Name 			Address AD4
1938*5113495bSYour Name 
1939*5113495bSYour Name 			<legal all>
1940*5113495bSYour Name */
1941*5113495bSYour Name #define RX_MPDU_START_21_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD4_47_32_OFFSET 0x00000054
1942*5113495bSYour Name #define RX_MPDU_START_21_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD4_47_32_LSB 0
1943*5113495bSYour Name #define RX_MPDU_START_21_RX_MPDU_INFO_DETAILS_MAC_ADDR_AD4_47_32_MASK 0x0000ffff
1944*5113495bSYour Name 
1945*5113495bSYour Name /* Description		RX_MPDU_START_21_RX_MPDU_INFO_DETAILS_MPDU_QOS_CONTROL_FIELD
1946*5113495bSYour Name 
1947*5113495bSYour Name 			Field only valid when mpdu_qos_control_valid is set
1948*5113495bSYour Name 
1949*5113495bSYour Name 
1950*5113495bSYour Name 
1951*5113495bSYour Name 			The sequence control field of the MPDU
1952*5113495bSYour Name 
1953*5113495bSYour Name 			<legal all>
1954*5113495bSYour Name */
1955*5113495bSYour Name #define RX_MPDU_START_21_RX_MPDU_INFO_DETAILS_MPDU_QOS_CONTROL_FIELD_OFFSET 0x00000054
1956*5113495bSYour Name #define RX_MPDU_START_21_RX_MPDU_INFO_DETAILS_MPDU_QOS_CONTROL_FIELD_LSB 16
1957*5113495bSYour Name #define RX_MPDU_START_21_RX_MPDU_INFO_DETAILS_MPDU_QOS_CONTROL_FIELD_MASK 0xffff0000
1958*5113495bSYour Name 
1959*5113495bSYour Name /* Description		RX_MPDU_START_22_RX_MPDU_INFO_DETAILS_MPDU_HT_CONTROL_FIELD
1960*5113495bSYour Name 
1961*5113495bSYour Name 			Field only valid when mpdu_qos_control_valid is set
1962*5113495bSYour Name 
1963*5113495bSYour Name 
1964*5113495bSYour Name 
1965*5113495bSYour Name 			The HT control field of the MPDU
1966*5113495bSYour Name 
1967*5113495bSYour Name 			<legal all>
1968*5113495bSYour Name */
1969*5113495bSYour Name #define RX_MPDU_START_22_RX_MPDU_INFO_DETAILS_MPDU_HT_CONTROL_FIELD_OFFSET 0x00000058
1970*5113495bSYour Name #define RX_MPDU_START_22_RX_MPDU_INFO_DETAILS_MPDU_HT_CONTROL_FIELD_LSB 0
1971*5113495bSYour Name #define RX_MPDU_START_22_RX_MPDU_INFO_DETAILS_MPDU_HT_CONTROL_FIELD_MASK 0xffffffff
1972*5113495bSYour Name 
1973*5113495bSYour Name 
1974*5113495bSYour Name #endif // _RX_MPDU_START_H_
1975