xref: /wlan-driver/fw-api/hw/kiwi/v2/reo_destination_ring.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1*5113495bSYour Name 
2*5113495bSYour Name /*
3*5113495bSYour Name  * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
4*5113495bSYour Name  *
5*5113495bSYour Name  * Permission to use, copy, modify, and/or distribute this software for
6*5113495bSYour Name  * any purpose with or without fee is hereby granted, provided that the
7*5113495bSYour Name  * above copyright notice and this permission notice appear in all
8*5113495bSYour Name  * copies.
9*5113495bSYour Name  *
10*5113495bSYour Name  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
11*5113495bSYour Name  * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
12*5113495bSYour Name  * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
13*5113495bSYour Name  * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
14*5113495bSYour Name  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
15*5113495bSYour Name  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
16*5113495bSYour Name  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17*5113495bSYour Name  * PERFORMANCE OF THIS SOFTWARE.
18*5113495bSYour Name  */
19*5113495bSYour Name 
20*5113495bSYour Name 
21*5113495bSYour Name 
22*5113495bSYour Name #ifndef _REO_DESTINATION_RING_H_
23*5113495bSYour Name #define _REO_DESTINATION_RING_H_
24*5113495bSYour Name #if !defined(__ASSEMBLER__)
25*5113495bSYour Name #endif
26*5113495bSYour Name 
27*5113495bSYour Name #include "rx_msdu_desc_info.h"
28*5113495bSYour Name #include "rx_mpdu_desc_info.h"
29*5113495bSYour Name #include "buffer_addr_info.h"
30*5113495bSYour Name #define NUM_OF_DWORDS_REO_DESTINATION_RING 8
31*5113495bSYour Name 
32*5113495bSYour Name struct reo_destination_ring {
33*5113495bSYour Name #ifndef WIFI_BIT_ORDER_BIG_ENDIAN
34*5113495bSYour Name              struct   buffer_addr_info                                          buf_or_link_desc_addr_info;
35*5113495bSYour Name              struct   rx_mpdu_desc_info                                         rx_mpdu_desc_info_details;
36*5113495bSYour Name              struct   rx_msdu_desc_info                                         rx_msdu_desc_info_details;
37*5113495bSYour Name              uint32_t buffer_virt_addr_31_0                                   : 32;
38*5113495bSYour Name              uint32_t buffer_virt_addr_63_32                                  : 32;
39*5113495bSYour Name              uint32_t reo_dest_buffer_type                                    :  1,
40*5113495bSYour Name                       reo_push_reason                                         :  2,
41*5113495bSYour Name                       reo_error_code                                          :  5,
42*5113495bSYour Name                       captured_msdu_data_size                                 :  4,
43*5113495bSYour Name                       sw_exception                                            :  1,
44*5113495bSYour Name                       src_link_id                                             :  3,
45*5113495bSYour Name                       reo_destination_struct_signature                        :  4,
46*5113495bSYour Name                       ring_id                                                 :  8,
47*5113495bSYour Name                       looping_count                                           :  4;
48*5113495bSYour Name #else
49*5113495bSYour Name              struct   buffer_addr_info                                          buf_or_link_desc_addr_info;
50*5113495bSYour Name              struct   rx_mpdu_desc_info                                         rx_mpdu_desc_info_details;
51*5113495bSYour Name              struct   rx_msdu_desc_info                                         rx_msdu_desc_info_details;
52*5113495bSYour Name              uint32_t buffer_virt_addr_31_0                                   : 32;
53*5113495bSYour Name              uint32_t buffer_virt_addr_63_32                                  : 32;
54*5113495bSYour Name              uint32_t looping_count                                           :  4,
55*5113495bSYour Name                       ring_id                                                 :  8,
56*5113495bSYour Name                       reo_destination_struct_signature                        :  4,
57*5113495bSYour Name                       src_link_id                                             :  3,
58*5113495bSYour Name                       sw_exception                                            :  1,
59*5113495bSYour Name                       captured_msdu_data_size                                 :  4,
60*5113495bSYour Name                       reo_error_code                                          :  5,
61*5113495bSYour Name                       reo_push_reason                                         :  2,
62*5113495bSYour Name                       reo_dest_buffer_type                                    :  1;
63*5113495bSYour Name #endif
64*5113495bSYour Name };
65*5113495bSYour Name 
66*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_OFFSET     0x00000000
67*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_LSB        0
68*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_MSB        31
69*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_MASK       0xffffffff
70*5113495bSYour Name 
71*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_OFFSET    0x00000004
72*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_LSB       0
73*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_MSB       7
74*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_MASK      0x000000ff
75*5113495bSYour Name 
76*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_OFFSET 0x00000004
77*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_LSB   8
78*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_MSB   11
79*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_MASK  0x00000f00
80*5113495bSYour Name 
81*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_OFFSET     0x00000004
82*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_LSB        12
83*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_MSB        31
84*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_MASK       0xfffff000
85*5113495bSYour Name 
86*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MSDU_COUNT_OFFSET            0x00000008
87*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MSDU_COUNT_LSB               0
88*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MSDU_COUNT_MSB               7
89*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MSDU_COUNT_MASK              0x000000ff
90*5113495bSYour Name 
91*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_FRAGMENT_FLAG_OFFSET         0x00000008
92*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_FRAGMENT_FLAG_LSB            8
93*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_FRAGMENT_FLAG_MSB            8
94*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_FRAGMENT_FLAG_MASK           0x00000100
95*5113495bSYour Name 
96*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MPDU_RETRY_BIT_OFFSET        0x00000008
97*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MPDU_RETRY_BIT_LSB           9
98*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MPDU_RETRY_BIT_MSB           9
99*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MPDU_RETRY_BIT_MASK          0x00000200
100*5113495bSYour Name 
101*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_AMPDU_FLAG_OFFSET            0x00000008
102*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_AMPDU_FLAG_LSB               10
103*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_AMPDU_FLAG_MSB               10
104*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_AMPDU_FLAG_MASK              0x00000400
105*5113495bSYour Name 
106*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_BAR_FRAME_OFFSET             0x00000008
107*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_BAR_FRAME_LSB                11
108*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_BAR_FRAME_MSB                11
109*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_BAR_FRAME_MASK               0x00000800
110*5113495bSYour Name 
111*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_PN_FIELDS_CONTAIN_VALID_INFO_OFFSET 0x00000008
112*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_PN_FIELDS_CONTAIN_VALID_INFO_LSB 12
113*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_PN_FIELDS_CONTAIN_VALID_INFO_MSB 12
114*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_PN_FIELDS_CONTAIN_VALID_INFO_MASK 0x00001000
115*5113495bSYour Name 
116*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_RAW_MPDU_OFFSET              0x00000008
117*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_RAW_MPDU_LSB                 13
118*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_RAW_MPDU_MSB                 13
119*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_RAW_MPDU_MASK                0x00002000
120*5113495bSYour Name 
121*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MORE_FRAGMENT_FLAG_OFFSET    0x00000008
122*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MORE_FRAGMENT_FLAG_LSB       14
123*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MORE_FRAGMENT_FLAG_MSB       14
124*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MORE_FRAGMENT_FLAG_MASK      0x00004000
125*5113495bSYour Name 
126*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_SRC_INFO_OFFSET              0x00000008
127*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_SRC_INFO_LSB                 15
128*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_SRC_INFO_MSB                 26
129*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_SRC_INFO_MASK                0x07ff8000
130*5113495bSYour Name 
131*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MPDU_QOS_CONTROL_VALID_OFFSET 0x00000008
132*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MPDU_QOS_CONTROL_VALID_LSB   27
133*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MPDU_QOS_CONTROL_VALID_MSB   27
134*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MPDU_QOS_CONTROL_VALID_MASK  0x08000000
135*5113495bSYour Name 
136*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_TID_OFFSET                   0x00000008
137*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_TID_LSB                      28
138*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_TID_MSB                      31
139*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_TID_MASK                     0xf0000000
140*5113495bSYour Name 
141*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_PEER_META_DATA_OFFSET        0x0000000c
142*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_PEER_META_DATA_LSB           0
143*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_PEER_META_DATA_MSB           31
144*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_PEER_META_DATA_MASK          0xffffffff
145*5113495bSYour Name 
146*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000010
147*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_LSB  0
148*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_MSB  0
149*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_MASK 0x00000001
150*5113495bSYour Name 
151*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000010
152*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_LSB   1
153*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_MSB   1
154*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_MASK  0x00000002
155*5113495bSYour Name 
156*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_OFFSET     0x00000010
157*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_LSB        2
158*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_MSB        2
159*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_MASK       0x00000004
160*5113495bSYour Name 
161*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_OFFSET           0x00000010
162*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_LSB              3
163*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_MSB              16
164*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_MASK             0x0001fff8
165*5113495bSYour Name 
166*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_OFFSET             0x00000010
167*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_LSB                17
168*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_MSB                17
169*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_MASK               0x00020000
170*5113495bSYour Name 
171*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_OFFSET           0x00000010
172*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_LSB              18
173*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_MSB              18
174*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_MASK             0x00040000
175*5113495bSYour Name 
176*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_OFFSET           0x00000010
177*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_LSB              19
178*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_MSB              19
179*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_MASK             0x00080000
180*5113495bSYour Name 
181*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_OFFSET            0x00000010
182*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_LSB               20
183*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_MSB               20
184*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_MASK              0x00100000
185*5113495bSYour Name 
186*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB_OFFSET 0x00000010
187*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB_LSB    21
188*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB_MSB    21
189*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB_MASK   0x00200000
190*5113495bSYour Name 
191*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL_OFFSET   0x00000010
192*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL_LSB      22
193*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL_MSB      22
194*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL_MASK     0x00400000
195*5113495bSYour Name 
196*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL_OFFSET        0x00000010
197*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL_LSB           23
198*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL_MSB           23
199*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL_MASK          0x00800000
200*5113495bSYour Name 
201*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_FR_DS_OFFSET                 0x00000010
202*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_FR_DS_LSB                    24
203*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_FR_DS_MSB                    24
204*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_FR_DS_MASK                   0x01000000
205*5113495bSYour Name 
206*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_TO_DS_OFFSET                 0x00000010
207*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_TO_DS_LSB                    25
208*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_TO_DS_MSB                    25
209*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_TO_DS_MASK                   0x02000000
210*5113495bSYour Name 
211*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_INTRA_BSS_OFFSET             0x00000010
212*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_INTRA_BSS_LSB                26
213*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_INTRA_BSS_MSB                26
214*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_INTRA_BSS_MASK               0x04000000
215*5113495bSYour Name 
216*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DEST_CHIP_ID_OFFSET          0x00000010
217*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DEST_CHIP_ID_LSB             27
218*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DEST_CHIP_ID_MSB             28
219*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DEST_CHIP_ID_MASK            0x18000000
220*5113495bSYour Name 
221*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DECAP_FORMAT_OFFSET          0x00000010
222*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DECAP_FORMAT_LSB             29
223*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DECAP_FORMAT_MSB             30
224*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DECAP_FORMAT_MASK            0x60000000
225*5113495bSYour Name 
226*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A_OFFSET           0x00000010
227*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A_LSB              31
228*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A_MSB              31
229*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A_MASK             0x80000000
230*5113495bSYour Name 
231*5113495bSYour Name #define REO_DESTINATION_RING_BUFFER_VIRT_ADDR_31_0_OFFSET                           0x00000014
232*5113495bSYour Name #define REO_DESTINATION_RING_BUFFER_VIRT_ADDR_31_0_LSB                              0
233*5113495bSYour Name #define REO_DESTINATION_RING_BUFFER_VIRT_ADDR_31_0_MSB                              31
234*5113495bSYour Name #define REO_DESTINATION_RING_BUFFER_VIRT_ADDR_31_0_MASK                             0xffffffff
235*5113495bSYour Name 
236*5113495bSYour Name #define REO_DESTINATION_RING_BUFFER_VIRT_ADDR_63_32_OFFSET                          0x00000018
237*5113495bSYour Name #define REO_DESTINATION_RING_BUFFER_VIRT_ADDR_63_32_LSB                             0
238*5113495bSYour Name #define REO_DESTINATION_RING_BUFFER_VIRT_ADDR_63_32_MSB                             31
239*5113495bSYour Name #define REO_DESTINATION_RING_BUFFER_VIRT_ADDR_63_32_MASK                            0xffffffff
240*5113495bSYour Name 
241*5113495bSYour Name #define REO_DESTINATION_RING_REO_DEST_BUFFER_TYPE_OFFSET                            0x0000001c
242*5113495bSYour Name #define REO_DESTINATION_RING_REO_DEST_BUFFER_TYPE_LSB                               0
243*5113495bSYour Name #define REO_DESTINATION_RING_REO_DEST_BUFFER_TYPE_MSB                               0
244*5113495bSYour Name #define REO_DESTINATION_RING_REO_DEST_BUFFER_TYPE_MASK                              0x00000001
245*5113495bSYour Name 
246*5113495bSYour Name #define REO_DESTINATION_RING_REO_PUSH_REASON_OFFSET                                 0x0000001c
247*5113495bSYour Name #define REO_DESTINATION_RING_REO_PUSH_REASON_LSB                                    1
248*5113495bSYour Name #define REO_DESTINATION_RING_REO_PUSH_REASON_MSB                                    2
249*5113495bSYour Name #define REO_DESTINATION_RING_REO_PUSH_REASON_MASK                                   0x00000006
250*5113495bSYour Name 
251*5113495bSYour Name #define REO_DESTINATION_RING_REO_ERROR_CODE_OFFSET                                  0x0000001c
252*5113495bSYour Name #define REO_DESTINATION_RING_REO_ERROR_CODE_LSB                                     3
253*5113495bSYour Name #define REO_DESTINATION_RING_REO_ERROR_CODE_MSB                                     7
254*5113495bSYour Name #define REO_DESTINATION_RING_REO_ERROR_CODE_MASK                                    0x000000f8
255*5113495bSYour Name 
256*5113495bSYour Name #define REO_DESTINATION_RING_CAPTURED_MSDU_DATA_SIZE_OFFSET                         0x0000001c
257*5113495bSYour Name #define REO_DESTINATION_RING_CAPTURED_MSDU_DATA_SIZE_LSB                            8
258*5113495bSYour Name #define REO_DESTINATION_RING_CAPTURED_MSDU_DATA_SIZE_MSB                            11
259*5113495bSYour Name #define REO_DESTINATION_RING_CAPTURED_MSDU_DATA_SIZE_MASK                           0x00000f00
260*5113495bSYour Name 
261*5113495bSYour Name #define REO_DESTINATION_RING_SW_EXCEPTION_OFFSET                                    0x0000001c
262*5113495bSYour Name #define REO_DESTINATION_RING_SW_EXCEPTION_LSB                                       12
263*5113495bSYour Name #define REO_DESTINATION_RING_SW_EXCEPTION_MSB                                       12
264*5113495bSYour Name #define REO_DESTINATION_RING_SW_EXCEPTION_MASK                                      0x00001000
265*5113495bSYour Name 
266*5113495bSYour Name #define REO_DESTINATION_RING_SRC_LINK_ID_OFFSET                                     0x0000001c
267*5113495bSYour Name #define REO_DESTINATION_RING_SRC_LINK_ID_LSB                                        13
268*5113495bSYour Name #define REO_DESTINATION_RING_SRC_LINK_ID_MSB                                        15
269*5113495bSYour Name #define REO_DESTINATION_RING_SRC_LINK_ID_MASK                                       0x0000e000
270*5113495bSYour Name 
271*5113495bSYour Name #define REO_DESTINATION_RING_REO_DESTINATION_STRUCT_SIGNATURE_OFFSET                0x0000001c
272*5113495bSYour Name #define REO_DESTINATION_RING_REO_DESTINATION_STRUCT_SIGNATURE_LSB                   16
273*5113495bSYour Name #define REO_DESTINATION_RING_REO_DESTINATION_STRUCT_SIGNATURE_MSB                   19
274*5113495bSYour Name #define REO_DESTINATION_RING_REO_DESTINATION_STRUCT_SIGNATURE_MASK                  0x000f0000
275*5113495bSYour Name 
276*5113495bSYour Name #define REO_DESTINATION_RING_RING_ID_OFFSET                                         0x0000001c
277*5113495bSYour Name #define REO_DESTINATION_RING_RING_ID_LSB                                            20
278*5113495bSYour Name #define REO_DESTINATION_RING_RING_ID_MSB                                            27
279*5113495bSYour Name #define REO_DESTINATION_RING_RING_ID_MASK                                           0x0ff00000
280*5113495bSYour Name 
281*5113495bSYour Name #define REO_DESTINATION_RING_LOOPING_COUNT_OFFSET                                   0x0000001c
282*5113495bSYour Name #define REO_DESTINATION_RING_LOOPING_COUNT_LSB                                      28
283*5113495bSYour Name #define REO_DESTINATION_RING_LOOPING_COUNT_MSB                                      31
284*5113495bSYour Name #define REO_DESTINATION_RING_LOOPING_COUNT_MASK                                     0xf0000000
285*5113495bSYour Name 
286*5113495bSYour Name #endif
287