1 /*
2  * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
3  *
4  * Permission to use, copy, modify, and/or distribute this software for any
5  * purpose with or without fee is hereby granted, provided that the above
6  * copyright notice and this permission notice appear in all copies.
7  *
8  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15  */
16 
17 
18 #ifndef _RECEIVE_RSSI_INFO_H_
19 #define _RECEIVE_RSSI_INFO_H_
20 
21 #define NUM_OF_DWORDS_RECEIVE_RSSI_INFO 16
22 
23 struct receive_rssi_info {
24 #ifndef WIFI_BIT_ORDER_BIG_ENDIAN
25              uint32_t rssi_pri20_chain0                                       :  8,
26                       rssi_ext20_chain0                                       :  8,
27                       rssi_ext40_low20_chain0                                 :  8,
28                       rssi_ext40_high20_chain0                                :  8;
29              uint32_t rssi_ext80_low20_chain0                                 :  8,
30                       rssi_ext80_low_high20_chain0                            :  8,
31                       rssi_ext80_high_low20_chain0                            :  8,
32                       rssi_ext80_high20_chain0                                :  8;
33              uint32_t rssi_ext160_0_chain0                                    :  8,
34                       rssi_ext160_1_chain0                                    :  8,
35                       rssi_ext160_2_chain0                                    :  8,
36                       rssi_ext160_3_chain0                                    :  8;
37              uint32_t rssi_ext160_4_chain0                                    :  8,
38                       rssi_ext160_5_chain0                                    :  8,
39                       rssi_ext160_6_chain0                                    :  8,
40                       rssi_ext160_7_chain0                                    :  8;
41              uint32_t rssi_pri20_chain1                                       :  8,
42                       rssi_ext20_chain1                                       :  8,
43                       rssi_ext40_low20_chain1                                 :  8,
44                       rssi_ext40_high20_chain1                                :  8;
45              uint32_t rssi_ext80_low20_chain1                                 :  8,
46                       rssi_ext80_low_high20_chain1                            :  8,
47                       rssi_ext80_high_low20_chain1                            :  8,
48                       rssi_ext80_high20_chain1                                :  8;
49              uint32_t rssi_ext160_0_chain1                                    :  8,
50                       rssi_ext160_1_chain1                                    :  8,
51                       rssi_ext160_2_chain1                                    :  8,
52                       rssi_ext160_3_chain1                                    :  8;
53              uint32_t rssi_ext160_4_chain1                                    :  8,
54                       rssi_ext160_5_chain1                                    :  8,
55                       rssi_ext160_6_chain1                                    :  8,
56                       rssi_ext160_7_chain1                                    :  8;
57              uint32_t rssi_pri20_chain2                                       :  8,
58                       rssi_ext20_chain2                                       :  8,
59                       rssi_ext40_low20_chain2                                 :  8,
60                       rssi_ext40_high20_chain2                                :  8;
61              uint32_t rssi_ext80_low20_chain2                                 :  8,
62                       rssi_ext80_low_high20_chain2                            :  8,
63                       rssi_ext80_high_low20_chain2                            :  8,
64                       rssi_ext80_high20_chain2                                :  8;
65              uint32_t rssi_ext160_0_chain2                                    :  8,
66                       rssi_ext160_1_chain2                                    :  8,
67                       rssi_ext160_2_chain2                                    :  8,
68                       rssi_ext160_3_chain2                                    :  8;
69              uint32_t rssi_ext160_4_chain2                                    :  8,
70                       rssi_ext160_5_chain2                                    :  8,
71                       rssi_ext160_6_chain2                                    :  8,
72                       rssi_ext160_7_chain2                                    :  8;
73              uint32_t rssi_pri20_chain3                                       :  8,
74                       rssi_ext20_chain3                                       :  8,
75                       rssi_ext40_low20_chain3                                 :  8,
76                       rssi_ext40_high20_chain3                                :  8;
77              uint32_t rssi_ext80_low20_chain3                                 :  8,
78                       rssi_ext80_low_high20_chain3                            :  8,
79                       rssi_ext80_high_low20_chain3                            :  8,
80                       rssi_ext80_high20_chain3                                :  8;
81              uint32_t rssi_ext160_0_chain3                                    :  8,
82                       rssi_ext160_1_chain3                                    :  8,
83                       rssi_ext160_2_chain3                                    :  8,
84                       rssi_ext160_3_chain3                                    :  8;
85              uint32_t rssi_ext160_4_chain3                                    :  8,
86                       rssi_ext160_5_chain3                                    :  8,
87                       rssi_ext160_6_chain3                                    :  8,
88                       rssi_ext160_7_chain3                                    :  8;
89 #else
90              uint32_t rssi_ext40_high20_chain0                                :  8,
91                       rssi_ext40_low20_chain0                                 :  8,
92                       rssi_ext20_chain0                                       :  8,
93                       rssi_pri20_chain0                                       :  8;
94              uint32_t rssi_ext80_high20_chain0                                :  8,
95                       rssi_ext80_high_low20_chain0                            :  8,
96                       rssi_ext80_low_high20_chain0                            :  8,
97                       rssi_ext80_low20_chain0                                 :  8;
98              uint32_t rssi_ext160_3_chain0                                    :  8,
99                       rssi_ext160_2_chain0                                    :  8,
100                       rssi_ext160_1_chain0                                    :  8,
101                       rssi_ext160_0_chain0                                    :  8;
102              uint32_t rssi_ext160_7_chain0                                    :  8,
103                       rssi_ext160_6_chain0                                    :  8,
104                       rssi_ext160_5_chain0                                    :  8,
105                       rssi_ext160_4_chain0                                    :  8;
106              uint32_t rssi_ext40_high20_chain1                                :  8,
107                       rssi_ext40_low20_chain1                                 :  8,
108                       rssi_ext20_chain1                                       :  8,
109                       rssi_pri20_chain1                                       :  8;
110              uint32_t rssi_ext80_high20_chain1                                :  8,
111                       rssi_ext80_high_low20_chain1                            :  8,
112                       rssi_ext80_low_high20_chain1                            :  8,
113                       rssi_ext80_low20_chain1                                 :  8;
114              uint32_t rssi_ext160_3_chain1                                    :  8,
115                       rssi_ext160_2_chain1                                    :  8,
116                       rssi_ext160_1_chain1                                    :  8,
117                       rssi_ext160_0_chain1                                    :  8;
118              uint32_t rssi_ext160_7_chain1                                    :  8,
119                       rssi_ext160_6_chain1                                    :  8,
120                       rssi_ext160_5_chain1                                    :  8,
121                       rssi_ext160_4_chain1                                    :  8;
122              uint32_t rssi_ext40_high20_chain2                                :  8,
123                       rssi_ext40_low20_chain2                                 :  8,
124                       rssi_ext20_chain2                                       :  8,
125                       rssi_pri20_chain2                                       :  8;
126              uint32_t rssi_ext80_high20_chain2                                :  8,
127                       rssi_ext80_high_low20_chain2                            :  8,
128                       rssi_ext80_low_high20_chain2                            :  8,
129                       rssi_ext80_low20_chain2                                 :  8;
130              uint32_t rssi_ext160_3_chain2                                    :  8,
131                       rssi_ext160_2_chain2                                    :  8,
132                       rssi_ext160_1_chain2                                    :  8,
133                       rssi_ext160_0_chain2                                    :  8;
134              uint32_t rssi_ext160_7_chain2                                    :  8,
135                       rssi_ext160_6_chain2                                    :  8,
136                       rssi_ext160_5_chain2                                    :  8,
137                       rssi_ext160_4_chain2                                    :  8;
138              uint32_t rssi_ext40_high20_chain3                                :  8,
139                       rssi_ext40_low20_chain3                                 :  8,
140                       rssi_ext20_chain3                                       :  8,
141                       rssi_pri20_chain3                                       :  8;
142              uint32_t rssi_ext80_high20_chain3                                :  8,
143                       rssi_ext80_high_low20_chain3                            :  8,
144                       rssi_ext80_low_high20_chain3                            :  8,
145                       rssi_ext80_low20_chain3                                 :  8;
146              uint32_t rssi_ext160_3_chain3                                    :  8,
147                       rssi_ext160_2_chain3                                    :  8,
148                       rssi_ext160_1_chain3                                    :  8,
149                       rssi_ext160_0_chain3                                    :  8;
150              uint32_t rssi_ext160_7_chain3                                    :  8,
151                       rssi_ext160_6_chain3                                    :  8,
152                       rssi_ext160_5_chain3                                    :  8,
153                       rssi_ext160_4_chain3                                    :  8;
154 #endif
155 };
156 
157 #define RECEIVE_RSSI_INFO_RSSI_PRI20_CHAIN0_OFFSET                                  0x00000000
158 #define RECEIVE_RSSI_INFO_RSSI_PRI20_CHAIN0_LSB                                     0
159 #define RECEIVE_RSSI_INFO_RSSI_PRI20_CHAIN0_MSB                                     7
160 #define RECEIVE_RSSI_INFO_RSSI_PRI20_CHAIN0_MASK                                    0x000000ff
161 
162 #define RECEIVE_RSSI_INFO_RSSI_EXT20_CHAIN0_OFFSET                                  0x00000000
163 #define RECEIVE_RSSI_INFO_RSSI_EXT20_CHAIN0_LSB                                     8
164 #define RECEIVE_RSSI_INFO_RSSI_EXT20_CHAIN0_MSB                                     15
165 #define RECEIVE_RSSI_INFO_RSSI_EXT20_CHAIN0_MASK                                    0x0000ff00
166 
167 #define RECEIVE_RSSI_INFO_RSSI_EXT40_LOW20_CHAIN0_OFFSET                            0x00000000
168 #define RECEIVE_RSSI_INFO_RSSI_EXT40_LOW20_CHAIN0_LSB                               16
169 #define RECEIVE_RSSI_INFO_RSSI_EXT40_LOW20_CHAIN0_MSB                               23
170 #define RECEIVE_RSSI_INFO_RSSI_EXT40_LOW20_CHAIN0_MASK                              0x00ff0000
171 
172 #define RECEIVE_RSSI_INFO_RSSI_EXT40_HIGH20_CHAIN0_OFFSET                           0x00000000
173 #define RECEIVE_RSSI_INFO_RSSI_EXT40_HIGH20_CHAIN0_LSB                              24
174 #define RECEIVE_RSSI_INFO_RSSI_EXT40_HIGH20_CHAIN0_MSB                              31
175 #define RECEIVE_RSSI_INFO_RSSI_EXT40_HIGH20_CHAIN0_MASK                             0xff000000
176 
177 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW20_CHAIN0_OFFSET                            0x00000004
178 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW20_CHAIN0_LSB                               0
179 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW20_CHAIN0_MSB                               7
180 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW20_CHAIN0_MASK                              0x000000ff
181 
182 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW_HIGH20_CHAIN0_OFFSET                       0x00000004
183 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW_HIGH20_CHAIN0_LSB                          8
184 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW_HIGH20_CHAIN0_MSB                          15
185 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW_HIGH20_CHAIN0_MASK                         0x0000ff00
186 
187 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH_LOW20_CHAIN0_OFFSET                       0x00000004
188 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH_LOW20_CHAIN0_LSB                          16
189 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH_LOW20_CHAIN0_MSB                          23
190 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH_LOW20_CHAIN0_MASK                         0x00ff0000
191 
192 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH20_CHAIN0_OFFSET                           0x00000004
193 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH20_CHAIN0_LSB                              24
194 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH20_CHAIN0_MSB                              31
195 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH20_CHAIN0_MASK                             0xff000000
196 
197 #define RECEIVE_RSSI_INFO_RSSI_EXT160_0_CHAIN0_OFFSET                               0x00000008
198 #define RECEIVE_RSSI_INFO_RSSI_EXT160_0_CHAIN0_LSB                                  0
199 #define RECEIVE_RSSI_INFO_RSSI_EXT160_0_CHAIN0_MSB                                  7
200 #define RECEIVE_RSSI_INFO_RSSI_EXT160_0_CHAIN0_MASK                                 0x000000ff
201 
202 #define RECEIVE_RSSI_INFO_RSSI_EXT160_1_CHAIN0_OFFSET                               0x00000008
203 #define RECEIVE_RSSI_INFO_RSSI_EXT160_1_CHAIN0_LSB                                  8
204 #define RECEIVE_RSSI_INFO_RSSI_EXT160_1_CHAIN0_MSB                                  15
205 #define RECEIVE_RSSI_INFO_RSSI_EXT160_1_CHAIN0_MASK                                 0x0000ff00
206 
207 #define RECEIVE_RSSI_INFO_RSSI_EXT160_2_CHAIN0_OFFSET                               0x00000008
208 #define RECEIVE_RSSI_INFO_RSSI_EXT160_2_CHAIN0_LSB                                  16
209 #define RECEIVE_RSSI_INFO_RSSI_EXT160_2_CHAIN0_MSB                                  23
210 #define RECEIVE_RSSI_INFO_RSSI_EXT160_2_CHAIN0_MASK                                 0x00ff0000
211 
212 #define RECEIVE_RSSI_INFO_RSSI_EXT160_3_CHAIN0_OFFSET                               0x00000008
213 #define RECEIVE_RSSI_INFO_RSSI_EXT160_3_CHAIN0_LSB                                  24
214 #define RECEIVE_RSSI_INFO_RSSI_EXT160_3_CHAIN0_MSB                                  31
215 #define RECEIVE_RSSI_INFO_RSSI_EXT160_3_CHAIN0_MASK                                 0xff000000
216 
217 #define RECEIVE_RSSI_INFO_RSSI_EXT160_4_CHAIN0_OFFSET                               0x0000000c
218 #define RECEIVE_RSSI_INFO_RSSI_EXT160_4_CHAIN0_LSB                                  0
219 #define RECEIVE_RSSI_INFO_RSSI_EXT160_4_CHAIN0_MSB                                  7
220 #define RECEIVE_RSSI_INFO_RSSI_EXT160_4_CHAIN0_MASK                                 0x000000ff
221 
222 #define RECEIVE_RSSI_INFO_RSSI_EXT160_5_CHAIN0_OFFSET                               0x0000000c
223 #define RECEIVE_RSSI_INFO_RSSI_EXT160_5_CHAIN0_LSB                                  8
224 #define RECEIVE_RSSI_INFO_RSSI_EXT160_5_CHAIN0_MSB                                  15
225 #define RECEIVE_RSSI_INFO_RSSI_EXT160_5_CHAIN0_MASK                                 0x0000ff00
226 
227 #define RECEIVE_RSSI_INFO_RSSI_EXT160_6_CHAIN0_OFFSET                               0x0000000c
228 #define RECEIVE_RSSI_INFO_RSSI_EXT160_6_CHAIN0_LSB                                  16
229 #define RECEIVE_RSSI_INFO_RSSI_EXT160_6_CHAIN0_MSB                                  23
230 #define RECEIVE_RSSI_INFO_RSSI_EXT160_6_CHAIN0_MASK                                 0x00ff0000
231 
232 #define RECEIVE_RSSI_INFO_RSSI_EXT160_7_CHAIN0_OFFSET                               0x0000000c
233 #define RECEIVE_RSSI_INFO_RSSI_EXT160_7_CHAIN0_LSB                                  24
234 #define RECEIVE_RSSI_INFO_RSSI_EXT160_7_CHAIN0_MSB                                  31
235 #define RECEIVE_RSSI_INFO_RSSI_EXT160_7_CHAIN0_MASK                                 0xff000000
236 
237 #define RECEIVE_RSSI_INFO_RSSI_PRI20_CHAIN1_OFFSET                                  0x00000010
238 #define RECEIVE_RSSI_INFO_RSSI_PRI20_CHAIN1_LSB                                     0
239 #define RECEIVE_RSSI_INFO_RSSI_PRI20_CHAIN1_MSB                                     7
240 #define RECEIVE_RSSI_INFO_RSSI_PRI20_CHAIN1_MASK                                    0x000000ff
241 
242 #define RECEIVE_RSSI_INFO_RSSI_EXT20_CHAIN1_OFFSET                                  0x00000010
243 #define RECEIVE_RSSI_INFO_RSSI_EXT20_CHAIN1_LSB                                     8
244 #define RECEIVE_RSSI_INFO_RSSI_EXT20_CHAIN1_MSB                                     15
245 #define RECEIVE_RSSI_INFO_RSSI_EXT20_CHAIN1_MASK                                    0x0000ff00
246 
247 #define RECEIVE_RSSI_INFO_RSSI_EXT40_LOW20_CHAIN1_OFFSET                            0x00000010
248 #define RECEIVE_RSSI_INFO_RSSI_EXT40_LOW20_CHAIN1_LSB                               16
249 #define RECEIVE_RSSI_INFO_RSSI_EXT40_LOW20_CHAIN1_MSB                               23
250 #define RECEIVE_RSSI_INFO_RSSI_EXT40_LOW20_CHAIN1_MASK                              0x00ff0000
251 
252 #define RECEIVE_RSSI_INFO_RSSI_EXT40_HIGH20_CHAIN1_OFFSET                           0x00000010
253 #define RECEIVE_RSSI_INFO_RSSI_EXT40_HIGH20_CHAIN1_LSB                              24
254 #define RECEIVE_RSSI_INFO_RSSI_EXT40_HIGH20_CHAIN1_MSB                              31
255 #define RECEIVE_RSSI_INFO_RSSI_EXT40_HIGH20_CHAIN1_MASK                             0xff000000
256 
257 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW20_CHAIN1_OFFSET                            0x00000014
258 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW20_CHAIN1_LSB                               0
259 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW20_CHAIN1_MSB                               7
260 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW20_CHAIN1_MASK                              0x000000ff
261 
262 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW_HIGH20_CHAIN1_OFFSET                       0x00000014
263 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW_HIGH20_CHAIN1_LSB                          8
264 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW_HIGH20_CHAIN1_MSB                          15
265 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW_HIGH20_CHAIN1_MASK                         0x0000ff00
266 
267 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH_LOW20_CHAIN1_OFFSET                       0x00000014
268 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH_LOW20_CHAIN1_LSB                          16
269 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH_LOW20_CHAIN1_MSB                          23
270 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH_LOW20_CHAIN1_MASK                         0x00ff0000
271 
272 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH20_CHAIN1_OFFSET                           0x00000014
273 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH20_CHAIN1_LSB                              24
274 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH20_CHAIN1_MSB                              31
275 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH20_CHAIN1_MASK                             0xff000000
276 
277 #define RECEIVE_RSSI_INFO_RSSI_EXT160_0_CHAIN1_OFFSET                               0x00000018
278 #define RECEIVE_RSSI_INFO_RSSI_EXT160_0_CHAIN1_LSB                                  0
279 #define RECEIVE_RSSI_INFO_RSSI_EXT160_0_CHAIN1_MSB                                  7
280 #define RECEIVE_RSSI_INFO_RSSI_EXT160_0_CHAIN1_MASK                                 0x000000ff
281 
282 #define RECEIVE_RSSI_INFO_RSSI_EXT160_1_CHAIN1_OFFSET                               0x00000018
283 #define RECEIVE_RSSI_INFO_RSSI_EXT160_1_CHAIN1_LSB                                  8
284 #define RECEIVE_RSSI_INFO_RSSI_EXT160_1_CHAIN1_MSB                                  15
285 #define RECEIVE_RSSI_INFO_RSSI_EXT160_1_CHAIN1_MASK                                 0x0000ff00
286 
287 #define RECEIVE_RSSI_INFO_RSSI_EXT160_2_CHAIN1_OFFSET                               0x00000018
288 #define RECEIVE_RSSI_INFO_RSSI_EXT160_2_CHAIN1_LSB                                  16
289 #define RECEIVE_RSSI_INFO_RSSI_EXT160_2_CHAIN1_MSB                                  23
290 #define RECEIVE_RSSI_INFO_RSSI_EXT160_2_CHAIN1_MASK                                 0x00ff0000
291 
292 #define RECEIVE_RSSI_INFO_RSSI_EXT160_3_CHAIN1_OFFSET                               0x00000018
293 #define RECEIVE_RSSI_INFO_RSSI_EXT160_3_CHAIN1_LSB                                  24
294 #define RECEIVE_RSSI_INFO_RSSI_EXT160_3_CHAIN1_MSB                                  31
295 #define RECEIVE_RSSI_INFO_RSSI_EXT160_3_CHAIN1_MASK                                 0xff000000
296 
297 #define RECEIVE_RSSI_INFO_RSSI_EXT160_4_CHAIN1_OFFSET                               0x0000001c
298 #define RECEIVE_RSSI_INFO_RSSI_EXT160_4_CHAIN1_LSB                                  0
299 #define RECEIVE_RSSI_INFO_RSSI_EXT160_4_CHAIN1_MSB                                  7
300 #define RECEIVE_RSSI_INFO_RSSI_EXT160_4_CHAIN1_MASK                                 0x000000ff
301 
302 #define RECEIVE_RSSI_INFO_RSSI_EXT160_5_CHAIN1_OFFSET                               0x0000001c
303 #define RECEIVE_RSSI_INFO_RSSI_EXT160_5_CHAIN1_LSB                                  8
304 #define RECEIVE_RSSI_INFO_RSSI_EXT160_5_CHAIN1_MSB                                  15
305 #define RECEIVE_RSSI_INFO_RSSI_EXT160_5_CHAIN1_MASK                                 0x0000ff00
306 
307 #define RECEIVE_RSSI_INFO_RSSI_EXT160_6_CHAIN1_OFFSET                               0x0000001c
308 #define RECEIVE_RSSI_INFO_RSSI_EXT160_6_CHAIN1_LSB                                  16
309 #define RECEIVE_RSSI_INFO_RSSI_EXT160_6_CHAIN1_MSB                                  23
310 #define RECEIVE_RSSI_INFO_RSSI_EXT160_6_CHAIN1_MASK                                 0x00ff0000
311 
312 #define RECEIVE_RSSI_INFO_RSSI_EXT160_7_CHAIN1_OFFSET                               0x0000001c
313 #define RECEIVE_RSSI_INFO_RSSI_EXT160_7_CHAIN1_LSB                                  24
314 #define RECEIVE_RSSI_INFO_RSSI_EXT160_7_CHAIN1_MSB                                  31
315 #define RECEIVE_RSSI_INFO_RSSI_EXT160_7_CHAIN1_MASK                                 0xff000000
316 
317 #define RECEIVE_RSSI_INFO_RSSI_PRI20_CHAIN2_OFFSET                                  0x00000020
318 #define RECEIVE_RSSI_INFO_RSSI_PRI20_CHAIN2_LSB                                     0
319 #define RECEIVE_RSSI_INFO_RSSI_PRI20_CHAIN2_MSB                                     7
320 #define RECEIVE_RSSI_INFO_RSSI_PRI20_CHAIN2_MASK                                    0x000000ff
321 
322 #define RECEIVE_RSSI_INFO_RSSI_EXT20_CHAIN2_OFFSET                                  0x00000020
323 #define RECEIVE_RSSI_INFO_RSSI_EXT20_CHAIN2_LSB                                     8
324 #define RECEIVE_RSSI_INFO_RSSI_EXT20_CHAIN2_MSB                                     15
325 #define RECEIVE_RSSI_INFO_RSSI_EXT20_CHAIN2_MASK                                    0x0000ff00
326 
327 #define RECEIVE_RSSI_INFO_RSSI_EXT40_LOW20_CHAIN2_OFFSET                            0x00000020
328 #define RECEIVE_RSSI_INFO_RSSI_EXT40_LOW20_CHAIN2_LSB                               16
329 #define RECEIVE_RSSI_INFO_RSSI_EXT40_LOW20_CHAIN2_MSB                               23
330 #define RECEIVE_RSSI_INFO_RSSI_EXT40_LOW20_CHAIN2_MASK                              0x00ff0000
331 
332 #define RECEIVE_RSSI_INFO_RSSI_EXT40_HIGH20_CHAIN2_OFFSET                           0x00000020
333 #define RECEIVE_RSSI_INFO_RSSI_EXT40_HIGH20_CHAIN2_LSB                              24
334 #define RECEIVE_RSSI_INFO_RSSI_EXT40_HIGH20_CHAIN2_MSB                              31
335 #define RECEIVE_RSSI_INFO_RSSI_EXT40_HIGH20_CHAIN2_MASK                             0xff000000
336 
337 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW20_CHAIN2_OFFSET                            0x00000024
338 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW20_CHAIN2_LSB                               0
339 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW20_CHAIN2_MSB                               7
340 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW20_CHAIN2_MASK                              0x000000ff
341 
342 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW_HIGH20_CHAIN2_OFFSET                       0x00000024
343 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW_HIGH20_CHAIN2_LSB                          8
344 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW_HIGH20_CHAIN2_MSB                          15
345 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW_HIGH20_CHAIN2_MASK                         0x0000ff00
346 
347 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH_LOW20_CHAIN2_OFFSET                       0x00000024
348 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH_LOW20_CHAIN2_LSB                          16
349 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH_LOW20_CHAIN2_MSB                          23
350 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH_LOW20_CHAIN2_MASK                         0x00ff0000
351 
352 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH20_CHAIN2_OFFSET                           0x00000024
353 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH20_CHAIN2_LSB                              24
354 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH20_CHAIN2_MSB                              31
355 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH20_CHAIN2_MASK                             0xff000000
356 
357 #define RECEIVE_RSSI_INFO_RSSI_EXT160_0_CHAIN2_OFFSET                               0x00000028
358 #define RECEIVE_RSSI_INFO_RSSI_EXT160_0_CHAIN2_LSB                                  0
359 #define RECEIVE_RSSI_INFO_RSSI_EXT160_0_CHAIN2_MSB                                  7
360 #define RECEIVE_RSSI_INFO_RSSI_EXT160_0_CHAIN2_MASK                                 0x000000ff
361 
362 #define RECEIVE_RSSI_INFO_RSSI_EXT160_1_CHAIN2_OFFSET                               0x00000028
363 #define RECEIVE_RSSI_INFO_RSSI_EXT160_1_CHAIN2_LSB                                  8
364 #define RECEIVE_RSSI_INFO_RSSI_EXT160_1_CHAIN2_MSB                                  15
365 #define RECEIVE_RSSI_INFO_RSSI_EXT160_1_CHAIN2_MASK                                 0x0000ff00
366 
367 #define RECEIVE_RSSI_INFO_RSSI_EXT160_2_CHAIN2_OFFSET                               0x00000028
368 #define RECEIVE_RSSI_INFO_RSSI_EXT160_2_CHAIN2_LSB                                  16
369 #define RECEIVE_RSSI_INFO_RSSI_EXT160_2_CHAIN2_MSB                                  23
370 #define RECEIVE_RSSI_INFO_RSSI_EXT160_2_CHAIN2_MASK                                 0x00ff0000
371 
372 #define RECEIVE_RSSI_INFO_RSSI_EXT160_3_CHAIN2_OFFSET                               0x00000028
373 #define RECEIVE_RSSI_INFO_RSSI_EXT160_3_CHAIN2_LSB                                  24
374 #define RECEIVE_RSSI_INFO_RSSI_EXT160_3_CHAIN2_MSB                                  31
375 #define RECEIVE_RSSI_INFO_RSSI_EXT160_3_CHAIN2_MASK                                 0xff000000
376 
377 #define RECEIVE_RSSI_INFO_RSSI_EXT160_4_CHAIN2_OFFSET                               0x0000002c
378 #define RECEIVE_RSSI_INFO_RSSI_EXT160_4_CHAIN2_LSB                                  0
379 #define RECEIVE_RSSI_INFO_RSSI_EXT160_4_CHAIN2_MSB                                  7
380 #define RECEIVE_RSSI_INFO_RSSI_EXT160_4_CHAIN2_MASK                                 0x000000ff
381 
382 #define RECEIVE_RSSI_INFO_RSSI_EXT160_5_CHAIN2_OFFSET                               0x0000002c
383 #define RECEIVE_RSSI_INFO_RSSI_EXT160_5_CHAIN2_LSB                                  8
384 #define RECEIVE_RSSI_INFO_RSSI_EXT160_5_CHAIN2_MSB                                  15
385 #define RECEIVE_RSSI_INFO_RSSI_EXT160_5_CHAIN2_MASK                                 0x0000ff00
386 
387 #define RECEIVE_RSSI_INFO_RSSI_EXT160_6_CHAIN2_OFFSET                               0x0000002c
388 #define RECEIVE_RSSI_INFO_RSSI_EXT160_6_CHAIN2_LSB                                  16
389 #define RECEIVE_RSSI_INFO_RSSI_EXT160_6_CHAIN2_MSB                                  23
390 #define RECEIVE_RSSI_INFO_RSSI_EXT160_6_CHAIN2_MASK                                 0x00ff0000
391 
392 #define RECEIVE_RSSI_INFO_RSSI_EXT160_7_CHAIN2_OFFSET                               0x0000002c
393 #define RECEIVE_RSSI_INFO_RSSI_EXT160_7_CHAIN2_LSB                                  24
394 #define RECEIVE_RSSI_INFO_RSSI_EXT160_7_CHAIN2_MSB                                  31
395 #define RECEIVE_RSSI_INFO_RSSI_EXT160_7_CHAIN2_MASK                                 0xff000000
396 
397 #define RECEIVE_RSSI_INFO_RSSI_PRI20_CHAIN3_OFFSET                                  0x00000030
398 #define RECEIVE_RSSI_INFO_RSSI_PRI20_CHAIN3_LSB                                     0
399 #define RECEIVE_RSSI_INFO_RSSI_PRI20_CHAIN3_MSB                                     7
400 #define RECEIVE_RSSI_INFO_RSSI_PRI20_CHAIN3_MASK                                    0x000000ff
401 
402 #define RECEIVE_RSSI_INFO_RSSI_EXT20_CHAIN3_OFFSET                                  0x00000030
403 #define RECEIVE_RSSI_INFO_RSSI_EXT20_CHAIN3_LSB                                     8
404 #define RECEIVE_RSSI_INFO_RSSI_EXT20_CHAIN3_MSB                                     15
405 #define RECEIVE_RSSI_INFO_RSSI_EXT20_CHAIN3_MASK                                    0x0000ff00
406 
407 #define RECEIVE_RSSI_INFO_RSSI_EXT40_LOW20_CHAIN3_OFFSET                            0x00000030
408 #define RECEIVE_RSSI_INFO_RSSI_EXT40_LOW20_CHAIN3_LSB                               16
409 #define RECEIVE_RSSI_INFO_RSSI_EXT40_LOW20_CHAIN3_MSB                               23
410 #define RECEIVE_RSSI_INFO_RSSI_EXT40_LOW20_CHAIN3_MASK                              0x00ff0000
411 
412 #define RECEIVE_RSSI_INFO_RSSI_EXT40_HIGH20_CHAIN3_OFFSET                           0x00000030
413 #define RECEIVE_RSSI_INFO_RSSI_EXT40_HIGH20_CHAIN3_LSB                              24
414 #define RECEIVE_RSSI_INFO_RSSI_EXT40_HIGH20_CHAIN3_MSB                              31
415 #define RECEIVE_RSSI_INFO_RSSI_EXT40_HIGH20_CHAIN3_MASK                             0xff000000
416 
417 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW20_CHAIN3_OFFSET                            0x00000034
418 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW20_CHAIN3_LSB                               0
419 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW20_CHAIN3_MSB                               7
420 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW20_CHAIN3_MASK                              0x000000ff
421 
422 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW_HIGH20_CHAIN3_OFFSET                       0x00000034
423 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW_HIGH20_CHAIN3_LSB                          8
424 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW_HIGH20_CHAIN3_MSB                          15
425 #define RECEIVE_RSSI_INFO_RSSI_EXT80_LOW_HIGH20_CHAIN3_MASK                         0x0000ff00
426 
427 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH_LOW20_CHAIN3_OFFSET                       0x00000034
428 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH_LOW20_CHAIN3_LSB                          16
429 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH_LOW20_CHAIN3_MSB                          23
430 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH_LOW20_CHAIN3_MASK                         0x00ff0000
431 
432 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH20_CHAIN3_OFFSET                           0x00000034
433 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH20_CHAIN3_LSB                              24
434 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH20_CHAIN3_MSB                              31
435 #define RECEIVE_RSSI_INFO_RSSI_EXT80_HIGH20_CHAIN3_MASK                             0xff000000
436 
437 #define RECEIVE_RSSI_INFO_RSSI_EXT160_0_CHAIN3_OFFSET                               0x00000038
438 #define RECEIVE_RSSI_INFO_RSSI_EXT160_0_CHAIN3_LSB                                  0
439 #define RECEIVE_RSSI_INFO_RSSI_EXT160_0_CHAIN3_MSB                                  7
440 #define RECEIVE_RSSI_INFO_RSSI_EXT160_0_CHAIN3_MASK                                 0x000000ff
441 
442 #define RECEIVE_RSSI_INFO_RSSI_EXT160_1_CHAIN3_OFFSET                               0x00000038
443 #define RECEIVE_RSSI_INFO_RSSI_EXT160_1_CHAIN3_LSB                                  8
444 #define RECEIVE_RSSI_INFO_RSSI_EXT160_1_CHAIN3_MSB                                  15
445 #define RECEIVE_RSSI_INFO_RSSI_EXT160_1_CHAIN3_MASK                                 0x0000ff00
446 
447 #define RECEIVE_RSSI_INFO_RSSI_EXT160_2_CHAIN3_OFFSET                               0x00000038
448 #define RECEIVE_RSSI_INFO_RSSI_EXT160_2_CHAIN3_LSB                                  16
449 #define RECEIVE_RSSI_INFO_RSSI_EXT160_2_CHAIN3_MSB                                  23
450 #define RECEIVE_RSSI_INFO_RSSI_EXT160_2_CHAIN3_MASK                                 0x00ff0000
451 
452 #define RECEIVE_RSSI_INFO_RSSI_EXT160_3_CHAIN3_OFFSET                               0x00000038
453 #define RECEIVE_RSSI_INFO_RSSI_EXT160_3_CHAIN3_LSB                                  24
454 #define RECEIVE_RSSI_INFO_RSSI_EXT160_3_CHAIN3_MSB                                  31
455 #define RECEIVE_RSSI_INFO_RSSI_EXT160_3_CHAIN3_MASK                                 0xff000000
456 
457 #define RECEIVE_RSSI_INFO_RSSI_EXT160_4_CHAIN3_OFFSET                               0x0000003c
458 #define RECEIVE_RSSI_INFO_RSSI_EXT160_4_CHAIN3_LSB                                  0
459 #define RECEIVE_RSSI_INFO_RSSI_EXT160_4_CHAIN3_MSB                                  7
460 #define RECEIVE_RSSI_INFO_RSSI_EXT160_4_CHAIN3_MASK                                 0x000000ff
461 
462 #define RECEIVE_RSSI_INFO_RSSI_EXT160_5_CHAIN3_OFFSET                               0x0000003c
463 #define RECEIVE_RSSI_INFO_RSSI_EXT160_5_CHAIN3_LSB                                  8
464 #define RECEIVE_RSSI_INFO_RSSI_EXT160_5_CHAIN3_MSB                                  15
465 #define RECEIVE_RSSI_INFO_RSSI_EXT160_5_CHAIN3_MASK                                 0x0000ff00
466 
467 #define RECEIVE_RSSI_INFO_RSSI_EXT160_6_CHAIN3_OFFSET                               0x0000003c
468 #define RECEIVE_RSSI_INFO_RSSI_EXT160_6_CHAIN3_LSB                                  16
469 #define RECEIVE_RSSI_INFO_RSSI_EXT160_6_CHAIN3_MSB                                  23
470 #define RECEIVE_RSSI_INFO_RSSI_EXT160_6_CHAIN3_MASK                                 0x00ff0000
471 
472 #define RECEIVE_RSSI_INFO_RSSI_EXT160_7_CHAIN3_OFFSET                               0x0000003c
473 #define RECEIVE_RSSI_INFO_RSSI_EXT160_7_CHAIN3_LSB                                  24
474 #define RECEIVE_RSSI_INFO_RSSI_EXT160_7_CHAIN3_MSB                                  31
475 #define RECEIVE_RSSI_INFO_RSSI_EXT160_7_CHAIN3_MASK                                 0xff000000
476 
477 #endif
478