xref: /wlan-driver/fw-api/hw/kiwi/v2/wbm_release_ring_rx.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 _WBM_RELEASE_RING_RX_H_
23*5113495bSYour Name #define _WBM_RELEASE_RING_RX_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_WBM_RELEASE_RING_RX 8
31*5113495bSYour Name 
32*5113495bSYour Name struct wbm_release_ring_rx {
33*5113495bSYour Name #ifndef WIFI_BIT_ORDER_BIG_ENDIAN
34*5113495bSYour Name              struct   buffer_addr_info                                          released_buff_or_desc_addr_info;
35*5113495bSYour Name              uint32_t release_source_module                                   :  3,
36*5113495bSYour Name                       bm_action                                               :  3,
37*5113495bSYour Name                       buffer_or_desc_type                                     :  3,
38*5113495bSYour Name                       first_msdu_index                                        :  4,
39*5113495bSYour Name                       reserved_2a                                             :  2,
40*5113495bSYour Name                       cache_id                                                :  1,
41*5113495bSYour Name                       cookie_conversion_status                                :  1,
42*5113495bSYour Name                       rxdma_push_reason                                       :  2,
43*5113495bSYour Name                       rxdma_error_code                                        :  5,
44*5113495bSYour Name                       reo_push_reason                                         :  2,
45*5113495bSYour Name                       reo_error_code                                          :  5,
46*5113495bSYour Name                       wbm_internal_error                                      :  1;
47*5113495bSYour Name              struct   rx_mpdu_desc_info                                         rx_mpdu_desc_info_details;
48*5113495bSYour Name              struct   rx_msdu_desc_info                                         rx_msdu_desc_info_details;
49*5113495bSYour Name              uint32_t reserved_6a                                             : 32;
50*5113495bSYour Name              uint32_t reserved_7a                                             : 20,
51*5113495bSYour Name                       ring_id                                                 :  8,
52*5113495bSYour Name                       looping_count                                           :  4;
53*5113495bSYour Name #else
54*5113495bSYour Name              struct   buffer_addr_info                                          released_buff_or_desc_addr_info;
55*5113495bSYour Name              uint32_t wbm_internal_error                                      :  1,
56*5113495bSYour Name                       reo_error_code                                          :  5,
57*5113495bSYour Name                       reo_push_reason                                         :  2,
58*5113495bSYour Name                       rxdma_error_code                                        :  5,
59*5113495bSYour Name                       rxdma_push_reason                                       :  2,
60*5113495bSYour Name                       cookie_conversion_status                                :  1,
61*5113495bSYour Name                       cache_id                                                :  1,
62*5113495bSYour Name                       reserved_2a                                             :  2,
63*5113495bSYour Name                       first_msdu_index                                        :  4,
64*5113495bSYour Name                       buffer_or_desc_type                                     :  3,
65*5113495bSYour Name                       bm_action                                               :  3,
66*5113495bSYour Name                       release_source_module                                   :  3;
67*5113495bSYour Name              struct   rx_mpdu_desc_info                                         rx_mpdu_desc_info_details;
68*5113495bSYour Name              struct   rx_msdu_desc_info                                         rx_msdu_desc_info_details;
69*5113495bSYour Name              uint32_t reserved_6a                                             : 32;
70*5113495bSYour Name              uint32_t looping_count                                           :  4,
71*5113495bSYour Name                       ring_id                                                 :  8,
72*5113495bSYour Name                       reserved_7a                                             : 20;
73*5113495bSYour Name #endif
74*5113495bSYour Name };
75*5113495bSYour Name 
76*5113495bSYour Name #define WBM_RELEASE_RING_RX_RELEASED_BUFF_OR_DESC_ADDR_INFO_BUFFER_ADDR_31_0_OFFSET 0x00000000
77*5113495bSYour Name #define WBM_RELEASE_RING_RX_RELEASED_BUFF_OR_DESC_ADDR_INFO_BUFFER_ADDR_31_0_LSB    0
78*5113495bSYour Name #define WBM_RELEASE_RING_RX_RELEASED_BUFF_OR_DESC_ADDR_INFO_BUFFER_ADDR_31_0_MSB    31
79*5113495bSYour Name #define WBM_RELEASE_RING_RX_RELEASED_BUFF_OR_DESC_ADDR_INFO_BUFFER_ADDR_31_0_MASK   0xffffffff
80*5113495bSYour Name 
81*5113495bSYour Name #define WBM_RELEASE_RING_RX_RELEASED_BUFF_OR_DESC_ADDR_INFO_BUFFER_ADDR_39_32_OFFSET 0x00000004
82*5113495bSYour Name #define WBM_RELEASE_RING_RX_RELEASED_BUFF_OR_DESC_ADDR_INFO_BUFFER_ADDR_39_32_LSB   0
83*5113495bSYour Name #define WBM_RELEASE_RING_RX_RELEASED_BUFF_OR_DESC_ADDR_INFO_BUFFER_ADDR_39_32_MSB   7
84*5113495bSYour Name #define WBM_RELEASE_RING_RX_RELEASED_BUFF_OR_DESC_ADDR_INFO_BUFFER_ADDR_39_32_MASK  0x000000ff
85*5113495bSYour Name 
86*5113495bSYour Name #define WBM_RELEASE_RING_RX_RELEASED_BUFF_OR_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_OFFSET 0x00000004
87*5113495bSYour Name #define WBM_RELEASE_RING_RX_RELEASED_BUFF_OR_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_LSB 8
88*5113495bSYour Name #define WBM_RELEASE_RING_RX_RELEASED_BUFF_OR_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_MSB 11
89*5113495bSYour Name #define WBM_RELEASE_RING_RX_RELEASED_BUFF_OR_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_MASK 0x00000f00
90*5113495bSYour Name 
91*5113495bSYour Name #define WBM_RELEASE_RING_RX_RELEASED_BUFF_OR_DESC_ADDR_INFO_SW_BUFFER_COOKIE_OFFSET 0x00000004
92*5113495bSYour Name #define WBM_RELEASE_RING_RX_RELEASED_BUFF_OR_DESC_ADDR_INFO_SW_BUFFER_COOKIE_LSB    12
93*5113495bSYour Name #define WBM_RELEASE_RING_RX_RELEASED_BUFF_OR_DESC_ADDR_INFO_SW_BUFFER_COOKIE_MSB    31
94*5113495bSYour Name #define WBM_RELEASE_RING_RX_RELEASED_BUFF_OR_DESC_ADDR_INFO_SW_BUFFER_COOKIE_MASK   0xfffff000
95*5113495bSYour Name 
96*5113495bSYour Name #define WBM_RELEASE_RING_RX_RELEASE_SOURCE_MODULE_OFFSET                            0x00000008
97*5113495bSYour Name #define WBM_RELEASE_RING_RX_RELEASE_SOURCE_MODULE_LSB                               0
98*5113495bSYour Name #define WBM_RELEASE_RING_RX_RELEASE_SOURCE_MODULE_MSB                               2
99*5113495bSYour Name #define WBM_RELEASE_RING_RX_RELEASE_SOURCE_MODULE_MASK                              0x00000007
100*5113495bSYour Name 
101*5113495bSYour Name #define WBM_RELEASE_RING_RX_BM_ACTION_OFFSET                                        0x00000008
102*5113495bSYour Name #define WBM_RELEASE_RING_RX_BM_ACTION_LSB                                           3
103*5113495bSYour Name #define WBM_RELEASE_RING_RX_BM_ACTION_MSB                                           5
104*5113495bSYour Name #define WBM_RELEASE_RING_RX_BM_ACTION_MASK                                          0x00000038
105*5113495bSYour Name 
106*5113495bSYour Name #define WBM_RELEASE_RING_RX_BUFFER_OR_DESC_TYPE_OFFSET                              0x00000008
107*5113495bSYour Name #define WBM_RELEASE_RING_RX_BUFFER_OR_DESC_TYPE_LSB                                 6
108*5113495bSYour Name #define WBM_RELEASE_RING_RX_BUFFER_OR_DESC_TYPE_MSB                                 8
109*5113495bSYour Name #define WBM_RELEASE_RING_RX_BUFFER_OR_DESC_TYPE_MASK                                0x000001c0
110*5113495bSYour Name 
111*5113495bSYour Name #define WBM_RELEASE_RING_RX_FIRST_MSDU_INDEX_OFFSET                                 0x00000008
112*5113495bSYour Name #define WBM_RELEASE_RING_RX_FIRST_MSDU_INDEX_LSB                                    9
113*5113495bSYour Name #define WBM_RELEASE_RING_RX_FIRST_MSDU_INDEX_MSB                                    12
114*5113495bSYour Name #define WBM_RELEASE_RING_RX_FIRST_MSDU_INDEX_MASK                                   0x00001e00
115*5113495bSYour Name 
116*5113495bSYour Name #define WBM_RELEASE_RING_RX_RESERVED_2A_OFFSET                                      0x00000008
117*5113495bSYour Name #define WBM_RELEASE_RING_RX_RESERVED_2A_LSB                                         13
118*5113495bSYour Name #define WBM_RELEASE_RING_RX_RESERVED_2A_MSB                                         14
119*5113495bSYour Name #define WBM_RELEASE_RING_RX_RESERVED_2A_MASK                                        0x00006000
120*5113495bSYour Name 
121*5113495bSYour Name #define WBM_RELEASE_RING_RX_CACHE_ID_OFFSET                                         0x00000008
122*5113495bSYour Name #define WBM_RELEASE_RING_RX_CACHE_ID_LSB                                            15
123*5113495bSYour Name #define WBM_RELEASE_RING_RX_CACHE_ID_MSB                                            15
124*5113495bSYour Name #define WBM_RELEASE_RING_RX_CACHE_ID_MASK                                           0x00008000
125*5113495bSYour Name 
126*5113495bSYour Name #define WBM_RELEASE_RING_RX_COOKIE_CONVERSION_STATUS_OFFSET                         0x00000008
127*5113495bSYour Name #define WBM_RELEASE_RING_RX_COOKIE_CONVERSION_STATUS_LSB                            16
128*5113495bSYour Name #define WBM_RELEASE_RING_RX_COOKIE_CONVERSION_STATUS_MSB                            16
129*5113495bSYour Name #define WBM_RELEASE_RING_RX_COOKIE_CONVERSION_STATUS_MASK                           0x00010000
130*5113495bSYour Name 
131*5113495bSYour Name #define WBM_RELEASE_RING_RX_RXDMA_PUSH_REASON_OFFSET                                0x00000008
132*5113495bSYour Name #define WBM_RELEASE_RING_RX_RXDMA_PUSH_REASON_LSB                                   17
133*5113495bSYour Name #define WBM_RELEASE_RING_RX_RXDMA_PUSH_REASON_MSB                                   18
134*5113495bSYour Name #define WBM_RELEASE_RING_RX_RXDMA_PUSH_REASON_MASK                                  0x00060000
135*5113495bSYour Name 
136*5113495bSYour Name #define WBM_RELEASE_RING_RX_RXDMA_ERROR_CODE_OFFSET                                 0x00000008
137*5113495bSYour Name #define WBM_RELEASE_RING_RX_RXDMA_ERROR_CODE_LSB                                    19
138*5113495bSYour Name #define WBM_RELEASE_RING_RX_RXDMA_ERROR_CODE_MSB                                    23
139*5113495bSYour Name #define WBM_RELEASE_RING_RX_RXDMA_ERROR_CODE_MASK                                   0x00f80000
140*5113495bSYour Name 
141*5113495bSYour Name #define WBM_RELEASE_RING_RX_REO_PUSH_REASON_OFFSET                                  0x00000008
142*5113495bSYour Name #define WBM_RELEASE_RING_RX_REO_PUSH_REASON_LSB                                     24
143*5113495bSYour Name #define WBM_RELEASE_RING_RX_REO_PUSH_REASON_MSB                                     25
144*5113495bSYour Name #define WBM_RELEASE_RING_RX_REO_PUSH_REASON_MASK                                    0x03000000
145*5113495bSYour Name 
146*5113495bSYour Name #define WBM_RELEASE_RING_RX_REO_ERROR_CODE_OFFSET                                   0x00000008
147*5113495bSYour Name #define WBM_RELEASE_RING_RX_REO_ERROR_CODE_LSB                                      26
148*5113495bSYour Name #define WBM_RELEASE_RING_RX_REO_ERROR_CODE_MSB                                      30
149*5113495bSYour Name #define WBM_RELEASE_RING_RX_REO_ERROR_CODE_MASK                                     0x7c000000
150*5113495bSYour Name 
151*5113495bSYour Name #define WBM_RELEASE_RING_RX_WBM_INTERNAL_ERROR_OFFSET                               0x00000008
152*5113495bSYour Name #define WBM_RELEASE_RING_RX_WBM_INTERNAL_ERROR_LSB                                  31
153*5113495bSYour Name #define WBM_RELEASE_RING_RX_WBM_INTERNAL_ERROR_MSB                                  31
154*5113495bSYour Name #define WBM_RELEASE_RING_RX_WBM_INTERNAL_ERROR_MASK                                 0x80000000
155*5113495bSYour Name 
156*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_MSDU_COUNT_OFFSET             0x0000000c
157*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_MSDU_COUNT_LSB                0
158*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_MSDU_COUNT_MSB                7
159*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_MSDU_COUNT_MASK               0x000000ff
160*5113495bSYour Name 
161*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_FRAGMENT_FLAG_OFFSET          0x0000000c
162*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_FRAGMENT_FLAG_LSB             8
163*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_FRAGMENT_FLAG_MSB             8
164*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_FRAGMENT_FLAG_MASK            0x00000100
165*5113495bSYour Name 
166*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_MPDU_RETRY_BIT_OFFSET         0x0000000c
167*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_MPDU_RETRY_BIT_LSB            9
168*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_MPDU_RETRY_BIT_MSB            9
169*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_MPDU_RETRY_BIT_MASK           0x00000200
170*5113495bSYour Name 
171*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_AMPDU_FLAG_OFFSET             0x0000000c
172*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_AMPDU_FLAG_LSB                10
173*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_AMPDU_FLAG_MSB                10
174*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_AMPDU_FLAG_MASK               0x00000400
175*5113495bSYour Name 
176*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_BAR_FRAME_OFFSET              0x0000000c
177*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_BAR_FRAME_LSB                 11
178*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_BAR_FRAME_MSB                 11
179*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_BAR_FRAME_MASK                0x00000800
180*5113495bSYour Name 
181*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_PN_FIELDS_CONTAIN_VALID_INFO_OFFSET 0x0000000c
182*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_PN_FIELDS_CONTAIN_VALID_INFO_LSB 12
183*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_PN_FIELDS_CONTAIN_VALID_INFO_MSB 12
184*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_PN_FIELDS_CONTAIN_VALID_INFO_MASK 0x00001000
185*5113495bSYour Name 
186*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_RAW_MPDU_OFFSET               0x0000000c
187*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_RAW_MPDU_LSB                  13
188*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_RAW_MPDU_MSB                  13
189*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_RAW_MPDU_MASK                 0x00002000
190*5113495bSYour Name 
191*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_MORE_FRAGMENT_FLAG_OFFSET     0x0000000c
192*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_MORE_FRAGMENT_FLAG_LSB        14
193*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_MORE_FRAGMENT_FLAG_MSB        14
194*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_MORE_FRAGMENT_FLAG_MASK       0x00004000
195*5113495bSYour Name 
196*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_SRC_INFO_OFFSET               0x0000000c
197*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_SRC_INFO_LSB                  15
198*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_SRC_INFO_MSB                  26
199*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_SRC_INFO_MASK                 0x07ff8000
200*5113495bSYour Name 
201*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_MPDU_QOS_CONTROL_VALID_OFFSET 0x0000000c
202*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_MPDU_QOS_CONTROL_VALID_LSB    27
203*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_MPDU_QOS_CONTROL_VALID_MSB    27
204*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_MPDU_QOS_CONTROL_VALID_MASK   0x08000000
205*5113495bSYour Name 
206*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_TID_OFFSET                    0x0000000c
207*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_TID_LSB                       28
208*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_TID_MSB                       31
209*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_TID_MASK                      0xf0000000
210*5113495bSYour Name 
211*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_PEER_META_DATA_OFFSET         0x00000010
212*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_PEER_META_DATA_LSB            0
213*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_PEER_META_DATA_MSB            31
214*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MPDU_DESC_INFO_DETAILS_PEER_META_DATA_MASK           0xffffffff
215*5113495bSYour Name 
216*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000014
217*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_LSB   0
218*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_MSB   0
219*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_MASK  0x00000001
220*5113495bSYour Name 
221*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000014
222*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_LSB    1
223*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_MSB    1
224*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_MASK   0x00000002
225*5113495bSYour Name 
226*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_OFFSET      0x00000014
227*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_LSB         2
228*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_MSB         2
229*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_MASK        0x00000004
230*5113495bSYour Name 
231*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_OFFSET            0x00000014
232*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_LSB               3
233*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_MSB               16
234*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_MASK              0x0001fff8
235*5113495bSYour Name 
236*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_OFFSET              0x00000014
237*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_LSB                 17
238*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_MSB                 17
239*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_MASK                0x00020000
240*5113495bSYour Name 
241*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_OFFSET            0x00000014
242*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_LSB               18
243*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_MSB               18
244*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_MASK              0x00040000
245*5113495bSYour Name 
246*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_OFFSET            0x00000014
247*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_LSB               19
248*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_MSB               19
249*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_MASK              0x00080000
250*5113495bSYour Name 
251*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_OFFSET             0x00000014
252*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_LSB                20
253*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_MSB                20
254*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_MASK               0x00100000
255*5113495bSYour Name 
256*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB_OFFSET  0x00000014
257*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB_LSB     21
258*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB_MSB     21
259*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB_MASK    0x00200000
260*5113495bSYour Name 
261*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL_OFFSET    0x00000014
262*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL_LSB       22
263*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL_MSB       22
264*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL_MASK      0x00400000
265*5113495bSYour Name 
266*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL_OFFSET         0x00000014
267*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL_LSB            23
268*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL_MSB            23
269*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL_MASK           0x00800000
270*5113495bSYour Name 
271*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_FR_DS_OFFSET                  0x00000014
272*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_FR_DS_LSB                     24
273*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_FR_DS_MSB                     24
274*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_FR_DS_MASK                    0x01000000
275*5113495bSYour Name 
276*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_TO_DS_OFFSET                  0x00000014
277*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_TO_DS_LSB                     25
278*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_TO_DS_MSB                     25
279*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_TO_DS_MASK                    0x02000000
280*5113495bSYour Name 
281*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_INTRA_BSS_OFFSET              0x00000014
282*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_INTRA_BSS_LSB                 26
283*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_INTRA_BSS_MSB                 26
284*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_INTRA_BSS_MASK                0x04000000
285*5113495bSYour Name 
286*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_DEST_CHIP_ID_OFFSET           0x00000014
287*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_DEST_CHIP_ID_LSB              27
288*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_DEST_CHIP_ID_MSB              28
289*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_DEST_CHIP_ID_MASK             0x18000000
290*5113495bSYour Name 
291*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_DECAP_FORMAT_OFFSET           0x00000014
292*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_DECAP_FORMAT_LSB              29
293*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_DECAP_FORMAT_MSB              30
294*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_DECAP_FORMAT_MASK             0x60000000
295*5113495bSYour Name 
296*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A_OFFSET            0x00000014
297*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A_LSB               31
298*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A_MSB               31
299*5113495bSYour Name #define WBM_RELEASE_RING_RX_RX_MSDU_DESC_INFO_DETAILS_RESERVED_0A_MASK              0x80000000
300*5113495bSYour Name 
301*5113495bSYour Name #define WBM_RELEASE_RING_RX_RESERVED_6A_OFFSET                                      0x00000018
302*5113495bSYour Name #define WBM_RELEASE_RING_RX_RESERVED_6A_LSB                                         0
303*5113495bSYour Name #define WBM_RELEASE_RING_RX_RESERVED_6A_MSB                                         31
304*5113495bSYour Name #define WBM_RELEASE_RING_RX_RESERVED_6A_MASK                                        0xffffffff
305*5113495bSYour Name 
306*5113495bSYour Name #define WBM_RELEASE_RING_RX_RESERVED_7A_OFFSET                                      0x0000001c
307*5113495bSYour Name #define WBM_RELEASE_RING_RX_RESERVED_7A_LSB                                         0
308*5113495bSYour Name #define WBM_RELEASE_RING_RX_RESERVED_7A_MSB                                         19
309*5113495bSYour Name #define WBM_RELEASE_RING_RX_RESERVED_7A_MASK                                        0x000fffff
310*5113495bSYour Name 
311*5113495bSYour Name #define WBM_RELEASE_RING_RX_RING_ID_OFFSET                                          0x0000001c
312*5113495bSYour Name #define WBM_RELEASE_RING_RX_RING_ID_LSB                                             20
313*5113495bSYour Name #define WBM_RELEASE_RING_RX_RING_ID_MSB                                             27
314*5113495bSYour Name #define WBM_RELEASE_RING_RX_RING_ID_MASK                                            0x0ff00000
315*5113495bSYour Name 
316*5113495bSYour Name #define WBM_RELEASE_RING_RX_LOOPING_COUNT_OFFSET                                    0x0000001c
317*5113495bSYour Name #define WBM_RELEASE_RING_RX_LOOPING_COUNT_LSB                                       28
318*5113495bSYour Name #define WBM_RELEASE_RING_RX_LOOPING_COUNT_MSB                                       31
319*5113495bSYour Name #define WBM_RELEASE_RING_RX_LOOPING_COUNT_MASK                                      0xf0000000
320*5113495bSYour Name 
321*5113495bSYour Name #endif
322