xref: /wlan-driver/fw-api/hw/wcn7750/v1/rx_attention.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1*5113495bSYour Name /*
2*5113495bSYour Name  * Copyright (c) 2024 Qualcomm Innovation Center, Inc. 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 
18*5113495bSYour Name #ifndef _RX_ATTENTION_H_
19*5113495bSYour Name #define _RX_ATTENTION_H_
20*5113495bSYour Name 
21*5113495bSYour Name #define NUM_OF_DWORDS_RX_ATTENTION 3
22*5113495bSYour Name 
23*5113495bSYour Name struct rx_attention {
24*5113495bSYour Name #ifndef WIFI_BIT_ORDER_BIG_ENDIAN
25*5113495bSYour Name              uint32_t rxpcu_mpdu_filter_in_category                           :  2,
26*5113495bSYour Name                       sw_frame_group_id                                       :  7,
27*5113495bSYour Name                       reserved_0                                              :  7,
28*5113495bSYour Name                       phy_ppdu_id                                             : 16;
29*5113495bSYour Name              uint32_t first_mpdu                                              :  1,
30*5113495bSYour Name                       reserved_1a                                             :  1,
31*5113495bSYour Name                       mcast_bcast                                             :  1,
32*5113495bSYour Name                       ast_index_not_found                                     :  1,
33*5113495bSYour Name                       ast_index_timeout                                       :  1,
34*5113495bSYour Name                       power_mgmt                                              :  1,
35*5113495bSYour Name                       non_qos                                                 :  1,
36*5113495bSYour Name                       null_data                                               :  1,
37*5113495bSYour Name                       mgmt_type                                               :  1,
38*5113495bSYour Name                       ctrl_type                                               :  1,
39*5113495bSYour Name                       more_data                                               :  1,
40*5113495bSYour Name                       eosp                                                    :  1,
41*5113495bSYour Name                       a_msdu_error                                            :  1,
42*5113495bSYour Name                       fragment_flag                                           :  1,
43*5113495bSYour Name                       order                                                   :  1,
44*5113495bSYour Name                       cce_match                                               :  1,
45*5113495bSYour Name                       overflow_err                                            :  1,
46*5113495bSYour Name                       msdu_length_err                                         :  1,
47*5113495bSYour Name                       tcp_udp_chksum_fail                                     :  1,
48*5113495bSYour Name                       ip_chksum_fail                                          :  1,
49*5113495bSYour Name                       sa_idx_invalid                                          :  1,
50*5113495bSYour Name                       da_idx_invalid                                          :  1,
51*5113495bSYour Name                       reserved_1b                                             :  1,
52*5113495bSYour Name                       rx_in_tx_decrypt_byp                                    :  1,
53*5113495bSYour Name                       encrypt_required                                        :  1,
54*5113495bSYour Name                       directed                                                :  1,
55*5113495bSYour Name                       buffer_fragment                                         :  1,
56*5113495bSYour Name                       mpdu_length_err                                         :  1,
57*5113495bSYour Name                       tkip_mic_err                                            :  1,
58*5113495bSYour Name                       decrypt_err                                             :  1,
59*5113495bSYour Name                       unencrypted_frame_err                                   :  1,
60*5113495bSYour Name                       fcs_err                                                 :  1;
61*5113495bSYour Name              uint32_t flow_idx_timeout                                        :  1,
62*5113495bSYour Name                       flow_idx_invalid                                        :  1,
63*5113495bSYour Name                       wifi_parser_error                                       :  1,
64*5113495bSYour Name                       amsdu_parser_error                                      :  1,
65*5113495bSYour Name                       sa_idx_timeout                                          :  1,
66*5113495bSYour Name                       da_idx_timeout                                          :  1,
67*5113495bSYour Name                       msdu_limit_error                                        :  1,
68*5113495bSYour Name                       da_is_valid                                             :  1,
69*5113495bSYour Name                       da_is_mcbc                                              :  1,
70*5113495bSYour Name                       sa_is_valid                                             :  1,
71*5113495bSYour Name                       decrypt_status_code                                     :  3,
72*5113495bSYour Name                       rx_bitmap_not_updated                                   :  1,
73*5113495bSYour Name                       reserved_2                                              : 17,
74*5113495bSYour Name                       msdu_done                                               :  1;
75*5113495bSYour Name #else
76*5113495bSYour Name              uint32_t phy_ppdu_id                                             : 16,
77*5113495bSYour Name                       reserved_0                                              :  7,
78*5113495bSYour Name                       sw_frame_group_id                                       :  7,
79*5113495bSYour Name                       rxpcu_mpdu_filter_in_category                           :  2;
80*5113495bSYour Name              uint32_t fcs_err                                                 :  1,
81*5113495bSYour Name                       unencrypted_frame_err                                   :  1,
82*5113495bSYour Name                       decrypt_err                                             :  1,
83*5113495bSYour Name                       tkip_mic_err                                            :  1,
84*5113495bSYour Name                       mpdu_length_err                                         :  1,
85*5113495bSYour Name                       buffer_fragment                                         :  1,
86*5113495bSYour Name                       directed                                                :  1,
87*5113495bSYour Name                       encrypt_required                                        :  1,
88*5113495bSYour Name                       rx_in_tx_decrypt_byp                                    :  1,
89*5113495bSYour Name                       reserved_1b                                             :  1,
90*5113495bSYour Name                       da_idx_invalid                                          :  1,
91*5113495bSYour Name                       sa_idx_invalid                                          :  1,
92*5113495bSYour Name                       ip_chksum_fail                                          :  1,
93*5113495bSYour Name                       tcp_udp_chksum_fail                                     :  1,
94*5113495bSYour Name                       msdu_length_err                                         :  1,
95*5113495bSYour Name                       overflow_err                                            :  1,
96*5113495bSYour Name                       cce_match                                               :  1,
97*5113495bSYour Name                       order                                                   :  1,
98*5113495bSYour Name                       fragment_flag                                           :  1,
99*5113495bSYour Name                       a_msdu_error                                            :  1,
100*5113495bSYour Name                       eosp                                                    :  1,
101*5113495bSYour Name                       more_data                                               :  1,
102*5113495bSYour Name                       ctrl_type                                               :  1,
103*5113495bSYour Name                       mgmt_type                                               :  1,
104*5113495bSYour Name                       null_data                                               :  1,
105*5113495bSYour Name                       non_qos                                                 :  1,
106*5113495bSYour Name                       power_mgmt                                              :  1,
107*5113495bSYour Name                       ast_index_timeout                                       :  1,
108*5113495bSYour Name                       ast_index_not_found                                     :  1,
109*5113495bSYour Name                       mcast_bcast                                             :  1,
110*5113495bSYour Name                       reserved_1a                                             :  1,
111*5113495bSYour Name                       first_mpdu                                              :  1;
112*5113495bSYour Name              uint32_t msdu_done                                               :  1,
113*5113495bSYour Name                       reserved_2                                              : 17,
114*5113495bSYour Name                       rx_bitmap_not_updated                                   :  1,
115*5113495bSYour Name                       decrypt_status_code                                     :  3,
116*5113495bSYour Name                       sa_is_valid                                             :  1,
117*5113495bSYour Name                       da_is_mcbc                                              :  1,
118*5113495bSYour Name                       da_is_valid                                             :  1,
119*5113495bSYour Name                       msdu_limit_error                                        :  1,
120*5113495bSYour Name                       da_idx_timeout                                          :  1,
121*5113495bSYour Name                       sa_idx_timeout                                          :  1,
122*5113495bSYour Name                       amsdu_parser_error                                      :  1,
123*5113495bSYour Name                       wifi_parser_error                                       :  1,
124*5113495bSYour Name                       flow_idx_invalid                                        :  1,
125*5113495bSYour Name                       flow_idx_timeout                                        :  1;
126*5113495bSYour Name #endif
127*5113495bSYour Name };
128*5113495bSYour Name 
129*5113495bSYour Name #define RX_ATTENTION_RXPCU_MPDU_FILTER_IN_CATEGORY_OFFSET                           0x00000000
130*5113495bSYour Name #define RX_ATTENTION_RXPCU_MPDU_FILTER_IN_CATEGORY_LSB                              0
131*5113495bSYour Name #define RX_ATTENTION_RXPCU_MPDU_FILTER_IN_CATEGORY_MSB                              1
132*5113495bSYour Name #define RX_ATTENTION_RXPCU_MPDU_FILTER_IN_CATEGORY_MASK                             0x00000003
133*5113495bSYour Name 
134*5113495bSYour Name #define RX_ATTENTION_SW_FRAME_GROUP_ID_OFFSET                                       0x00000000
135*5113495bSYour Name #define RX_ATTENTION_SW_FRAME_GROUP_ID_LSB                                          2
136*5113495bSYour Name #define RX_ATTENTION_SW_FRAME_GROUP_ID_MSB                                          8
137*5113495bSYour Name #define RX_ATTENTION_SW_FRAME_GROUP_ID_MASK                                         0x000001fc
138*5113495bSYour Name 
139*5113495bSYour Name #define RX_ATTENTION_RESERVED_0_OFFSET                                              0x00000000
140*5113495bSYour Name #define RX_ATTENTION_RESERVED_0_LSB                                                 9
141*5113495bSYour Name #define RX_ATTENTION_RESERVED_0_MSB                                                 15
142*5113495bSYour Name #define RX_ATTENTION_RESERVED_0_MASK                                                0x0000fe00
143*5113495bSYour Name 
144*5113495bSYour Name #define RX_ATTENTION_PHY_PPDU_ID_OFFSET                                             0x00000000
145*5113495bSYour Name #define RX_ATTENTION_PHY_PPDU_ID_LSB                                                16
146*5113495bSYour Name #define RX_ATTENTION_PHY_PPDU_ID_MSB                                                31
147*5113495bSYour Name #define RX_ATTENTION_PHY_PPDU_ID_MASK                                               0xffff0000
148*5113495bSYour Name 
149*5113495bSYour Name #define RX_ATTENTION_FIRST_MPDU_OFFSET                                              0x00000004
150*5113495bSYour Name #define RX_ATTENTION_FIRST_MPDU_LSB                                                 0
151*5113495bSYour Name #define RX_ATTENTION_FIRST_MPDU_MSB                                                 0
152*5113495bSYour Name #define RX_ATTENTION_FIRST_MPDU_MASK                                                0x00000001
153*5113495bSYour Name 
154*5113495bSYour Name #define RX_ATTENTION_RESERVED_1A_OFFSET                                             0x00000004
155*5113495bSYour Name #define RX_ATTENTION_RESERVED_1A_LSB                                                1
156*5113495bSYour Name #define RX_ATTENTION_RESERVED_1A_MSB                                                1
157*5113495bSYour Name #define RX_ATTENTION_RESERVED_1A_MASK                                               0x00000002
158*5113495bSYour Name 
159*5113495bSYour Name #define RX_ATTENTION_MCAST_BCAST_OFFSET                                             0x00000004
160*5113495bSYour Name #define RX_ATTENTION_MCAST_BCAST_LSB                                                2
161*5113495bSYour Name #define RX_ATTENTION_MCAST_BCAST_MSB                                                2
162*5113495bSYour Name #define RX_ATTENTION_MCAST_BCAST_MASK                                               0x00000004
163*5113495bSYour Name 
164*5113495bSYour Name #define RX_ATTENTION_AST_INDEX_NOT_FOUND_OFFSET                                     0x00000004
165*5113495bSYour Name #define RX_ATTENTION_AST_INDEX_NOT_FOUND_LSB                                        3
166*5113495bSYour Name #define RX_ATTENTION_AST_INDEX_NOT_FOUND_MSB                                        3
167*5113495bSYour Name #define RX_ATTENTION_AST_INDEX_NOT_FOUND_MASK                                       0x00000008
168*5113495bSYour Name 
169*5113495bSYour Name #define RX_ATTENTION_AST_INDEX_TIMEOUT_OFFSET                                       0x00000004
170*5113495bSYour Name #define RX_ATTENTION_AST_INDEX_TIMEOUT_LSB                                          4
171*5113495bSYour Name #define RX_ATTENTION_AST_INDEX_TIMEOUT_MSB                                          4
172*5113495bSYour Name #define RX_ATTENTION_AST_INDEX_TIMEOUT_MASK                                         0x00000010
173*5113495bSYour Name 
174*5113495bSYour Name #define RX_ATTENTION_POWER_MGMT_OFFSET                                              0x00000004
175*5113495bSYour Name #define RX_ATTENTION_POWER_MGMT_LSB                                                 5
176*5113495bSYour Name #define RX_ATTENTION_POWER_MGMT_MSB                                                 5
177*5113495bSYour Name #define RX_ATTENTION_POWER_MGMT_MASK                                                0x00000020
178*5113495bSYour Name 
179*5113495bSYour Name #define RX_ATTENTION_NON_QOS_OFFSET                                                 0x00000004
180*5113495bSYour Name #define RX_ATTENTION_NON_QOS_LSB                                                    6
181*5113495bSYour Name #define RX_ATTENTION_NON_QOS_MSB                                                    6
182*5113495bSYour Name #define RX_ATTENTION_NON_QOS_MASK                                                   0x00000040
183*5113495bSYour Name 
184*5113495bSYour Name #define RX_ATTENTION_NULL_DATA_OFFSET                                               0x00000004
185*5113495bSYour Name #define RX_ATTENTION_NULL_DATA_LSB                                                  7
186*5113495bSYour Name #define RX_ATTENTION_NULL_DATA_MSB                                                  7
187*5113495bSYour Name #define RX_ATTENTION_NULL_DATA_MASK                                                 0x00000080
188*5113495bSYour Name 
189*5113495bSYour Name #define RX_ATTENTION_MGMT_TYPE_OFFSET                                               0x00000004
190*5113495bSYour Name #define RX_ATTENTION_MGMT_TYPE_LSB                                                  8
191*5113495bSYour Name #define RX_ATTENTION_MGMT_TYPE_MSB                                                  8
192*5113495bSYour Name #define RX_ATTENTION_MGMT_TYPE_MASK                                                 0x00000100
193*5113495bSYour Name 
194*5113495bSYour Name #define RX_ATTENTION_CTRL_TYPE_OFFSET                                               0x00000004
195*5113495bSYour Name #define RX_ATTENTION_CTRL_TYPE_LSB                                                  9
196*5113495bSYour Name #define RX_ATTENTION_CTRL_TYPE_MSB                                                  9
197*5113495bSYour Name #define RX_ATTENTION_CTRL_TYPE_MASK                                                 0x00000200
198*5113495bSYour Name 
199*5113495bSYour Name #define RX_ATTENTION_MORE_DATA_OFFSET                                               0x00000004
200*5113495bSYour Name #define RX_ATTENTION_MORE_DATA_LSB                                                  10
201*5113495bSYour Name #define RX_ATTENTION_MORE_DATA_MSB                                                  10
202*5113495bSYour Name #define RX_ATTENTION_MORE_DATA_MASK                                                 0x00000400
203*5113495bSYour Name 
204*5113495bSYour Name #define RX_ATTENTION_EOSP_OFFSET                                                    0x00000004
205*5113495bSYour Name #define RX_ATTENTION_EOSP_LSB                                                       11
206*5113495bSYour Name #define RX_ATTENTION_EOSP_MSB                                                       11
207*5113495bSYour Name #define RX_ATTENTION_EOSP_MASK                                                      0x00000800
208*5113495bSYour Name 
209*5113495bSYour Name #define RX_ATTENTION_A_MSDU_ERROR_OFFSET                                            0x00000004
210*5113495bSYour Name #define RX_ATTENTION_A_MSDU_ERROR_LSB                                               12
211*5113495bSYour Name #define RX_ATTENTION_A_MSDU_ERROR_MSB                                               12
212*5113495bSYour Name #define RX_ATTENTION_A_MSDU_ERROR_MASK                                              0x00001000
213*5113495bSYour Name 
214*5113495bSYour Name #define RX_ATTENTION_FRAGMENT_FLAG_OFFSET                                           0x00000004
215*5113495bSYour Name #define RX_ATTENTION_FRAGMENT_FLAG_LSB                                              13
216*5113495bSYour Name #define RX_ATTENTION_FRAGMENT_FLAG_MSB                                              13
217*5113495bSYour Name #define RX_ATTENTION_FRAGMENT_FLAG_MASK                                             0x00002000
218*5113495bSYour Name 
219*5113495bSYour Name #define RX_ATTENTION_ORDER_OFFSET                                                   0x00000004
220*5113495bSYour Name #define RX_ATTENTION_ORDER_LSB                                                      14
221*5113495bSYour Name #define RX_ATTENTION_ORDER_MSB                                                      14
222*5113495bSYour Name #define RX_ATTENTION_ORDER_MASK                                                     0x00004000
223*5113495bSYour Name 
224*5113495bSYour Name #define RX_ATTENTION_CCE_MATCH_OFFSET                                               0x00000004
225*5113495bSYour Name #define RX_ATTENTION_CCE_MATCH_LSB                                                  15
226*5113495bSYour Name #define RX_ATTENTION_CCE_MATCH_MSB                                                  15
227*5113495bSYour Name #define RX_ATTENTION_CCE_MATCH_MASK                                                 0x00008000
228*5113495bSYour Name 
229*5113495bSYour Name #define RX_ATTENTION_OVERFLOW_ERR_OFFSET                                            0x00000004
230*5113495bSYour Name #define RX_ATTENTION_OVERFLOW_ERR_LSB                                               16
231*5113495bSYour Name #define RX_ATTENTION_OVERFLOW_ERR_MSB                                               16
232*5113495bSYour Name #define RX_ATTENTION_OVERFLOW_ERR_MASK                                              0x00010000
233*5113495bSYour Name 
234*5113495bSYour Name #define RX_ATTENTION_MSDU_LENGTH_ERR_OFFSET                                         0x00000004
235*5113495bSYour Name #define RX_ATTENTION_MSDU_LENGTH_ERR_LSB                                            17
236*5113495bSYour Name #define RX_ATTENTION_MSDU_LENGTH_ERR_MSB                                            17
237*5113495bSYour Name #define RX_ATTENTION_MSDU_LENGTH_ERR_MASK                                           0x00020000
238*5113495bSYour Name 
239*5113495bSYour Name #define RX_ATTENTION_TCP_UDP_CHKSUM_FAIL_OFFSET                                     0x00000004
240*5113495bSYour Name #define RX_ATTENTION_TCP_UDP_CHKSUM_FAIL_LSB                                        18
241*5113495bSYour Name #define RX_ATTENTION_TCP_UDP_CHKSUM_FAIL_MSB                                        18
242*5113495bSYour Name #define RX_ATTENTION_TCP_UDP_CHKSUM_FAIL_MASK                                       0x00040000
243*5113495bSYour Name 
244*5113495bSYour Name #define RX_ATTENTION_IP_CHKSUM_FAIL_OFFSET                                          0x00000004
245*5113495bSYour Name #define RX_ATTENTION_IP_CHKSUM_FAIL_LSB                                             19
246*5113495bSYour Name #define RX_ATTENTION_IP_CHKSUM_FAIL_MSB                                             19
247*5113495bSYour Name #define RX_ATTENTION_IP_CHKSUM_FAIL_MASK                                            0x00080000
248*5113495bSYour Name 
249*5113495bSYour Name #define RX_ATTENTION_SA_IDX_INVALID_OFFSET                                          0x00000004
250*5113495bSYour Name #define RX_ATTENTION_SA_IDX_INVALID_LSB                                             20
251*5113495bSYour Name #define RX_ATTENTION_SA_IDX_INVALID_MSB                                             20
252*5113495bSYour Name #define RX_ATTENTION_SA_IDX_INVALID_MASK                                            0x00100000
253*5113495bSYour Name 
254*5113495bSYour Name #define RX_ATTENTION_DA_IDX_INVALID_OFFSET                                          0x00000004
255*5113495bSYour Name #define RX_ATTENTION_DA_IDX_INVALID_LSB                                             21
256*5113495bSYour Name #define RX_ATTENTION_DA_IDX_INVALID_MSB                                             21
257*5113495bSYour Name #define RX_ATTENTION_DA_IDX_INVALID_MASK                                            0x00200000
258*5113495bSYour Name 
259*5113495bSYour Name #define RX_ATTENTION_RESERVED_1B_OFFSET                                             0x00000004
260*5113495bSYour Name #define RX_ATTENTION_RESERVED_1B_LSB                                                22
261*5113495bSYour Name #define RX_ATTENTION_RESERVED_1B_MSB                                                22
262*5113495bSYour Name #define RX_ATTENTION_RESERVED_1B_MASK                                               0x00400000
263*5113495bSYour Name 
264*5113495bSYour Name #define RX_ATTENTION_RX_IN_TX_DECRYPT_BYP_OFFSET                                    0x00000004
265*5113495bSYour Name #define RX_ATTENTION_RX_IN_TX_DECRYPT_BYP_LSB                                       23
266*5113495bSYour Name #define RX_ATTENTION_RX_IN_TX_DECRYPT_BYP_MSB                                       23
267*5113495bSYour Name #define RX_ATTENTION_RX_IN_TX_DECRYPT_BYP_MASK                                      0x00800000
268*5113495bSYour Name 
269*5113495bSYour Name #define RX_ATTENTION_ENCRYPT_REQUIRED_OFFSET                                        0x00000004
270*5113495bSYour Name #define RX_ATTENTION_ENCRYPT_REQUIRED_LSB                                           24
271*5113495bSYour Name #define RX_ATTENTION_ENCRYPT_REQUIRED_MSB                                           24
272*5113495bSYour Name #define RX_ATTENTION_ENCRYPT_REQUIRED_MASK                                          0x01000000
273*5113495bSYour Name 
274*5113495bSYour Name #define RX_ATTENTION_DIRECTED_OFFSET                                                0x00000004
275*5113495bSYour Name #define RX_ATTENTION_DIRECTED_LSB                                                   25
276*5113495bSYour Name #define RX_ATTENTION_DIRECTED_MSB                                                   25
277*5113495bSYour Name #define RX_ATTENTION_DIRECTED_MASK                                                  0x02000000
278*5113495bSYour Name 
279*5113495bSYour Name #define RX_ATTENTION_BUFFER_FRAGMENT_OFFSET                                         0x00000004
280*5113495bSYour Name #define RX_ATTENTION_BUFFER_FRAGMENT_LSB                                            26
281*5113495bSYour Name #define RX_ATTENTION_BUFFER_FRAGMENT_MSB                                            26
282*5113495bSYour Name #define RX_ATTENTION_BUFFER_FRAGMENT_MASK                                           0x04000000
283*5113495bSYour Name 
284*5113495bSYour Name #define RX_ATTENTION_MPDU_LENGTH_ERR_OFFSET                                         0x00000004
285*5113495bSYour Name #define RX_ATTENTION_MPDU_LENGTH_ERR_LSB                                            27
286*5113495bSYour Name #define RX_ATTENTION_MPDU_LENGTH_ERR_MSB                                            27
287*5113495bSYour Name #define RX_ATTENTION_MPDU_LENGTH_ERR_MASK                                           0x08000000
288*5113495bSYour Name 
289*5113495bSYour Name #define RX_ATTENTION_TKIP_MIC_ERR_OFFSET                                            0x00000004
290*5113495bSYour Name #define RX_ATTENTION_TKIP_MIC_ERR_LSB                                               28
291*5113495bSYour Name #define RX_ATTENTION_TKIP_MIC_ERR_MSB                                               28
292*5113495bSYour Name #define RX_ATTENTION_TKIP_MIC_ERR_MASK                                              0x10000000
293*5113495bSYour Name 
294*5113495bSYour Name #define RX_ATTENTION_DECRYPT_ERR_OFFSET                                             0x00000004
295*5113495bSYour Name #define RX_ATTENTION_DECRYPT_ERR_LSB                                                29
296*5113495bSYour Name #define RX_ATTENTION_DECRYPT_ERR_MSB                                                29
297*5113495bSYour Name #define RX_ATTENTION_DECRYPT_ERR_MASK                                               0x20000000
298*5113495bSYour Name 
299*5113495bSYour Name #define RX_ATTENTION_UNENCRYPTED_FRAME_ERR_OFFSET                                   0x00000004
300*5113495bSYour Name #define RX_ATTENTION_UNENCRYPTED_FRAME_ERR_LSB                                      30
301*5113495bSYour Name #define RX_ATTENTION_UNENCRYPTED_FRAME_ERR_MSB                                      30
302*5113495bSYour Name #define RX_ATTENTION_UNENCRYPTED_FRAME_ERR_MASK                                     0x40000000
303*5113495bSYour Name 
304*5113495bSYour Name #define RX_ATTENTION_FCS_ERR_OFFSET                                                 0x00000004
305*5113495bSYour Name #define RX_ATTENTION_FCS_ERR_LSB                                                    31
306*5113495bSYour Name #define RX_ATTENTION_FCS_ERR_MSB                                                    31
307*5113495bSYour Name #define RX_ATTENTION_FCS_ERR_MASK                                                   0x80000000
308*5113495bSYour Name 
309*5113495bSYour Name #define RX_ATTENTION_FLOW_IDX_TIMEOUT_OFFSET                                        0x00000008
310*5113495bSYour Name #define RX_ATTENTION_FLOW_IDX_TIMEOUT_LSB                                           0
311*5113495bSYour Name #define RX_ATTENTION_FLOW_IDX_TIMEOUT_MSB                                           0
312*5113495bSYour Name #define RX_ATTENTION_FLOW_IDX_TIMEOUT_MASK                                          0x00000001
313*5113495bSYour Name 
314*5113495bSYour Name #define RX_ATTENTION_FLOW_IDX_INVALID_OFFSET                                        0x00000008
315*5113495bSYour Name #define RX_ATTENTION_FLOW_IDX_INVALID_LSB                                           1
316*5113495bSYour Name #define RX_ATTENTION_FLOW_IDX_INVALID_MSB                                           1
317*5113495bSYour Name #define RX_ATTENTION_FLOW_IDX_INVALID_MASK                                          0x00000002
318*5113495bSYour Name 
319*5113495bSYour Name #define RX_ATTENTION_WIFI_PARSER_ERROR_OFFSET                                       0x00000008
320*5113495bSYour Name #define RX_ATTENTION_WIFI_PARSER_ERROR_LSB                                          2
321*5113495bSYour Name #define RX_ATTENTION_WIFI_PARSER_ERROR_MSB                                          2
322*5113495bSYour Name #define RX_ATTENTION_WIFI_PARSER_ERROR_MASK                                         0x00000004
323*5113495bSYour Name 
324*5113495bSYour Name #define RX_ATTENTION_AMSDU_PARSER_ERROR_OFFSET                                      0x00000008
325*5113495bSYour Name #define RX_ATTENTION_AMSDU_PARSER_ERROR_LSB                                         3
326*5113495bSYour Name #define RX_ATTENTION_AMSDU_PARSER_ERROR_MSB                                         3
327*5113495bSYour Name #define RX_ATTENTION_AMSDU_PARSER_ERROR_MASK                                        0x00000008
328*5113495bSYour Name 
329*5113495bSYour Name #define RX_ATTENTION_SA_IDX_TIMEOUT_OFFSET                                          0x00000008
330*5113495bSYour Name #define RX_ATTENTION_SA_IDX_TIMEOUT_LSB                                             4
331*5113495bSYour Name #define RX_ATTENTION_SA_IDX_TIMEOUT_MSB                                             4
332*5113495bSYour Name #define RX_ATTENTION_SA_IDX_TIMEOUT_MASK                                            0x00000010
333*5113495bSYour Name 
334*5113495bSYour Name #define RX_ATTENTION_DA_IDX_TIMEOUT_OFFSET                                          0x00000008
335*5113495bSYour Name #define RX_ATTENTION_DA_IDX_TIMEOUT_LSB                                             5
336*5113495bSYour Name #define RX_ATTENTION_DA_IDX_TIMEOUT_MSB                                             5
337*5113495bSYour Name #define RX_ATTENTION_DA_IDX_TIMEOUT_MASK                                            0x00000020
338*5113495bSYour Name 
339*5113495bSYour Name #define RX_ATTENTION_MSDU_LIMIT_ERROR_OFFSET                                        0x00000008
340*5113495bSYour Name #define RX_ATTENTION_MSDU_LIMIT_ERROR_LSB                                           6
341*5113495bSYour Name #define RX_ATTENTION_MSDU_LIMIT_ERROR_MSB                                           6
342*5113495bSYour Name #define RX_ATTENTION_MSDU_LIMIT_ERROR_MASK                                          0x00000040
343*5113495bSYour Name 
344*5113495bSYour Name #define RX_ATTENTION_DA_IS_VALID_OFFSET                                             0x00000008
345*5113495bSYour Name #define RX_ATTENTION_DA_IS_VALID_LSB                                                7
346*5113495bSYour Name #define RX_ATTENTION_DA_IS_VALID_MSB                                                7
347*5113495bSYour Name #define RX_ATTENTION_DA_IS_VALID_MASK                                               0x00000080
348*5113495bSYour Name 
349*5113495bSYour Name #define RX_ATTENTION_DA_IS_MCBC_OFFSET                                              0x00000008
350*5113495bSYour Name #define RX_ATTENTION_DA_IS_MCBC_LSB                                                 8
351*5113495bSYour Name #define RX_ATTENTION_DA_IS_MCBC_MSB                                                 8
352*5113495bSYour Name #define RX_ATTENTION_DA_IS_MCBC_MASK                                                0x00000100
353*5113495bSYour Name 
354*5113495bSYour Name #define RX_ATTENTION_SA_IS_VALID_OFFSET                                             0x00000008
355*5113495bSYour Name #define RX_ATTENTION_SA_IS_VALID_LSB                                                9
356*5113495bSYour Name #define RX_ATTENTION_SA_IS_VALID_MSB                                                9
357*5113495bSYour Name #define RX_ATTENTION_SA_IS_VALID_MASK                                               0x00000200
358*5113495bSYour Name 
359*5113495bSYour Name #define RX_ATTENTION_DECRYPT_STATUS_CODE_OFFSET                                     0x00000008
360*5113495bSYour Name #define RX_ATTENTION_DECRYPT_STATUS_CODE_LSB                                        10
361*5113495bSYour Name #define RX_ATTENTION_DECRYPT_STATUS_CODE_MSB                                        12
362*5113495bSYour Name #define RX_ATTENTION_DECRYPT_STATUS_CODE_MASK                                       0x00001c00
363*5113495bSYour Name 
364*5113495bSYour Name #define RX_ATTENTION_RX_BITMAP_NOT_UPDATED_OFFSET                                   0x00000008
365*5113495bSYour Name #define RX_ATTENTION_RX_BITMAP_NOT_UPDATED_LSB                                      13
366*5113495bSYour Name #define RX_ATTENTION_RX_BITMAP_NOT_UPDATED_MSB                                      13
367*5113495bSYour Name #define RX_ATTENTION_RX_BITMAP_NOT_UPDATED_MASK                                     0x00002000
368*5113495bSYour Name 
369*5113495bSYour Name #define RX_ATTENTION_RESERVED_2_OFFSET                                              0x00000008
370*5113495bSYour Name #define RX_ATTENTION_RESERVED_2_LSB                                                 14
371*5113495bSYour Name #define RX_ATTENTION_RESERVED_2_MSB                                                 30
372*5113495bSYour Name #define RX_ATTENTION_RESERVED_2_MASK                                                0x7fffc000
373*5113495bSYour Name 
374*5113495bSYour Name #define RX_ATTENTION_MSDU_DONE_OFFSET                                               0x00000008
375*5113495bSYour Name #define RX_ATTENTION_MSDU_DONE_LSB                                                  31
376*5113495bSYour Name #define RX_ATTENTION_MSDU_DONE_MSB                                                  31
377*5113495bSYour Name #define RX_ATTENTION_MSDU_DONE_MASK                                                 0x80000000
378*5113495bSYour Name 
379*5113495bSYour Name #endif
380