1 
2 /*
3  * Copyright (c) 2024, Qualcomm Innovation Center, Inc. All rights reserved.
4  * SPDX-License-Identifier: ISC
5  */
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 #ifndef _VHT_SIG_B_SU160_INFO_H_
20 #define _VHT_SIG_B_SU160_INFO_H_
21 #if !defined(__ASSEMBLER__)
22 #endif
23 
24 #define NUM_OF_DWORDS_VHT_SIG_B_SU160_INFO 8
25 
26 
27 struct vht_sig_b_su160_info {
28 #ifndef WIFI_BIT_ORDER_BIG_ENDIAN
29              uint32_t length                                                  : 21,
30                       vhtb_reserved                                           :  2,
31                       tail                                                    :  6,
32                       reserved_0                                              :  2,
33                       rx_ndp                                                  :  1;
34              uint32_t length_copy_a                                           : 21,
35                       vhtb_reserved_copy_a                                    :  2,
36                       tail_copy_a                                             :  6,
37                       reserved_1                                              :  2,
38                       rx_ndp_copy_a                                           :  1;
39              uint32_t length_copy_b                                           : 21,
40                       vhtb_reserved_copy_b                                    :  2,
41                       tail_copy_b                                             :  6,
42                       reserved_2                                              :  2,
43                       rx_ndp_copy_b                                           :  1;
44              uint32_t length_copy_c                                           : 21,
45                       vhtb_reserved_copy_c                                    :  2,
46                       tail_copy_c                                             :  6,
47                       reserved_3                                              :  2,
48                       rx_ndp_copy_c                                           :  1;
49              uint32_t length_copy_d                                           : 21,
50                       vhtb_reserved_copy_d                                    :  2,
51                       tail_copy_d                                             :  6,
52                       reserved_4                                              :  2,
53                       rx_ndp_copy_d                                           :  1;
54              uint32_t length_copy_e                                           : 21,
55                       vhtb_reserved_copy_e                                    :  2,
56                       tail_copy_e                                             :  6,
57                       reserved_5                                              :  2,
58                       rx_ndp_copy_e                                           :  1;
59              uint32_t length_copy_f                                           : 21,
60                       vhtb_reserved_copy_f                                    :  2,
61                       tail_copy_f                                             :  6,
62                       reserved_6                                              :  2,
63                       rx_ndp_copy_f                                           :  1;
64              uint32_t length_copy_g                                           : 21,
65                       vhtb_reserved_copy_g                                    :  2,
66                       tail_copy_g                                             :  6,
67                       reserved_7                                              :  2,
68                       rx_ndp_copy_g                                           :  1;
69 #else
70              uint32_t rx_ndp                                                  :  1,
71                       reserved_0                                              :  2,
72                       tail                                                    :  6,
73                       vhtb_reserved                                           :  2,
74                       length                                                  : 21;
75              uint32_t rx_ndp_copy_a                                           :  1,
76                       reserved_1                                              :  2,
77                       tail_copy_a                                             :  6,
78                       vhtb_reserved_copy_a                                    :  2,
79                       length_copy_a                                           : 21;
80              uint32_t rx_ndp_copy_b                                           :  1,
81                       reserved_2                                              :  2,
82                       tail_copy_b                                             :  6,
83                       vhtb_reserved_copy_b                                    :  2,
84                       length_copy_b                                           : 21;
85              uint32_t rx_ndp_copy_c                                           :  1,
86                       reserved_3                                              :  2,
87                       tail_copy_c                                             :  6,
88                       vhtb_reserved_copy_c                                    :  2,
89                       length_copy_c                                           : 21;
90              uint32_t rx_ndp_copy_d                                           :  1,
91                       reserved_4                                              :  2,
92                       tail_copy_d                                             :  6,
93                       vhtb_reserved_copy_d                                    :  2,
94                       length_copy_d                                           : 21;
95              uint32_t rx_ndp_copy_e                                           :  1,
96                       reserved_5                                              :  2,
97                       tail_copy_e                                             :  6,
98                       vhtb_reserved_copy_e                                    :  2,
99                       length_copy_e                                           : 21;
100              uint32_t rx_ndp_copy_f                                           :  1,
101                       reserved_6                                              :  2,
102                       tail_copy_f                                             :  6,
103                       vhtb_reserved_copy_f                                    :  2,
104                       length_copy_f                                           : 21;
105              uint32_t rx_ndp_copy_g                                           :  1,
106                       reserved_7                                              :  2,
107                       tail_copy_g                                             :  6,
108                       vhtb_reserved_copy_g                                    :  2,
109                       length_copy_g                                           : 21;
110 #endif
111 };
112 
113 
114 
115 
116 #define VHT_SIG_B_SU160_INFO_LENGTH_OFFSET                                          0x00000000
117 #define VHT_SIG_B_SU160_INFO_LENGTH_LSB                                             0
118 #define VHT_SIG_B_SU160_INFO_LENGTH_MSB                                             20
119 #define VHT_SIG_B_SU160_INFO_LENGTH_MASK                                            0x001fffff
120 
121 
122 
123 
124 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_OFFSET                                   0x00000000
125 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_LSB                                      21
126 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_MSB                                      22
127 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_MASK                                     0x00600000
128 
129 
130 
131 
132 #define VHT_SIG_B_SU160_INFO_TAIL_OFFSET                                            0x00000000
133 #define VHT_SIG_B_SU160_INFO_TAIL_LSB                                               23
134 #define VHT_SIG_B_SU160_INFO_TAIL_MSB                                               28
135 #define VHT_SIG_B_SU160_INFO_TAIL_MASK                                              0x1f800000
136 
137 
138 
139 
140 #define VHT_SIG_B_SU160_INFO_RESERVED_0_OFFSET                                      0x00000000
141 #define VHT_SIG_B_SU160_INFO_RESERVED_0_LSB                                         29
142 #define VHT_SIG_B_SU160_INFO_RESERVED_0_MSB                                         30
143 #define VHT_SIG_B_SU160_INFO_RESERVED_0_MASK                                        0x60000000
144 
145 
146 
147 
148 #define VHT_SIG_B_SU160_INFO_RX_NDP_OFFSET                                          0x00000000
149 #define VHT_SIG_B_SU160_INFO_RX_NDP_LSB                                             31
150 #define VHT_SIG_B_SU160_INFO_RX_NDP_MSB                                             31
151 #define VHT_SIG_B_SU160_INFO_RX_NDP_MASK                                            0x80000000
152 
153 
154 
155 
156 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_A_OFFSET                                   0x00000004
157 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_A_LSB                                      0
158 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_A_MSB                                      20
159 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_A_MASK                                     0x001fffff
160 
161 
162 
163 
164 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_A_OFFSET                            0x00000004
165 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_A_LSB                               21
166 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_A_MSB                               22
167 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_A_MASK                              0x00600000
168 
169 
170 
171 
172 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_A_OFFSET                                     0x00000004
173 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_A_LSB                                        23
174 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_A_MSB                                        28
175 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_A_MASK                                       0x1f800000
176 
177 
178 
179 
180 #define VHT_SIG_B_SU160_INFO_RESERVED_1_OFFSET                                      0x00000004
181 #define VHT_SIG_B_SU160_INFO_RESERVED_1_LSB                                         29
182 #define VHT_SIG_B_SU160_INFO_RESERVED_1_MSB                                         30
183 #define VHT_SIG_B_SU160_INFO_RESERVED_1_MASK                                        0x60000000
184 
185 
186 
187 
188 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_A_OFFSET                                   0x00000004
189 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_A_LSB                                      31
190 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_A_MSB                                      31
191 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_A_MASK                                     0x80000000
192 
193 
194 
195 
196 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_B_OFFSET                                   0x00000008
197 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_B_LSB                                      0
198 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_B_MSB                                      20
199 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_B_MASK                                     0x001fffff
200 
201 
202 
203 
204 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_B_OFFSET                            0x00000008
205 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_B_LSB                               21
206 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_B_MSB                               22
207 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_B_MASK                              0x00600000
208 
209 
210 
211 
212 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_B_OFFSET                                     0x00000008
213 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_B_LSB                                        23
214 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_B_MSB                                        28
215 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_B_MASK                                       0x1f800000
216 
217 
218 
219 
220 #define VHT_SIG_B_SU160_INFO_RESERVED_2_OFFSET                                      0x00000008
221 #define VHT_SIG_B_SU160_INFO_RESERVED_2_LSB                                         29
222 #define VHT_SIG_B_SU160_INFO_RESERVED_2_MSB                                         30
223 #define VHT_SIG_B_SU160_INFO_RESERVED_2_MASK                                        0x60000000
224 
225 
226 
227 
228 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_B_OFFSET                                   0x00000008
229 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_B_LSB                                      31
230 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_B_MSB                                      31
231 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_B_MASK                                     0x80000000
232 
233 
234 
235 
236 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_C_OFFSET                                   0x0000000c
237 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_C_LSB                                      0
238 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_C_MSB                                      20
239 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_C_MASK                                     0x001fffff
240 
241 
242 
243 
244 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_C_OFFSET                            0x0000000c
245 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_C_LSB                               21
246 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_C_MSB                               22
247 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_C_MASK                              0x00600000
248 
249 
250 
251 
252 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_C_OFFSET                                     0x0000000c
253 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_C_LSB                                        23
254 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_C_MSB                                        28
255 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_C_MASK                                       0x1f800000
256 
257 
258 
259 
260 #define VHT_SIG_B_SU160_INFO_RESERVED_3_OFFSET                                      0x0000000c
261 #define VHT_SIG_B_SU160_INFO_RESERVED_3_LSB                                         29
262 #define VHT_SIG_B_SU160_INFO_RESERVED_3_MSB                                         30
263 #define VHT_SIG_B_SU160_INFO_RESERVED_3_MASK                                        0x60000000
264 
265 
266 
267 
268 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_C_OFFSET                                   0x0000000c
269 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_C_LSB                                      31
270 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_C_MSB                                      31
271 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_C_MASK                                     0x80000000
272 
273 
274 
275 
276 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_D_OFFSET                                   0x00000010
277 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_D_LSB                                      0
278 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_D_MSB                                      20
279 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_D_MASK                                     0x001fffff
280 
281 
282 
283 
284 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_D_OFFSET                            0x00000010
285 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_D_LSB                               21
286 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_D_MSB                               22
287 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_D_MASK                              0x00600000
288 
289 
290 
291 
292 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_D_OFFSET                                     0x00000010
293 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_D_LSB                                        23
294 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_D_MSB                                        28
295 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_D_MASK                                       0x1f800000
296 
297 
298 
299 
300 #define VHT_SIG_B_SU160_INFO_RESERVED_4_OFFSET                                      0x00000010
301 #define VHT_SIG_B_SU160_INFO_RESERVED_4_LSB                                         29
302 #define VHT_SIG_B_SU160_INFO_RESERVED_4_MSB                                         30
303 #define VHT_SIG_B_SU160_INFO_RESERVED_4_MASK                                        0x60000000
304 
305 
306 
307 
308 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_D_OFFSET                                   0x00000010
309 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_D_LSB                                      31
310 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_D_MSB                                      31
311 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_D_MASK                                     0x80000000
312 
313 
314 
315 
316 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_E_OFFSET                                   0x00000014
317 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_E_LSB                                      0
318 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_E_MSB                                      20
319 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_E_MASK                                     0x001fffff
320 
321 
322 
323 
324 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_E_OFFSET                            0x00000014
325 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_E_LSB                               21
326 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_E_MSB                               22
327 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_E_MASK                              0x00600000
328 
329 
330 
331 
332 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_E_OFFSET                                     0x00000014
333 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_E_LSB                                        23
334 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_E_MSB                                        28
335 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_E_MASK                                       0x1f800000
336 
337 
338 
339 
340 #define VHT_SIG_B_SU160_INFO_RESERVED_5_OFFSET                                      0x00000014
341 #define VHT_SIG_B_SU160_INFO_RESERVED_5_LSB                                         29
342 #define VHT_SIG_B_SU160_INFO_RESERVED_5_MSB                                         30
343 #define VHT_SIG_B_SU160_INFO_RESERVED_5_MASK                                        0x60000000
344 
345 
346 
347 
348 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_E_OFFSET                                   0x00000014
349 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_E_LSB                                      31
350 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_E_MSB                                      31
351 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_E_MASK                                     0x80000000
352 
353 
354 
355 
356 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_F_OFFSET                                   0x00000018
357 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_F_LSB                                      0
358 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_F_MSB                                      20
359 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_F_MASK                                     0x001fffff
360 
361 
362 
363 
364 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_F_OFFSET                            0x00000018
365 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_F_LSB                               21
366 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_F_MSB                               22
367 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_F_MASK                              0x00600000
368 
369 
370 
371 
372 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_F_OFFSET                                     0x00000018
373 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_F_LSB                                        23
374 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_F_MSB                                        28
375 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_F_MASK                                       0x1f800000
376 
377 
378 
379 
380 #define VHT_SIG_B_SU160_INFO_RESERVED_6_OFFSET                                      0x00000018
381 #define VHT_SIG_B_SU160_INFO_RESERVED_6_LSB                                         29
382 #define VHT_SIG_B_SU160_INFO_RESERVED_6_MSB                                         30
383 #define VHT_SIG_B_SU160_INFO_RESERVED_6_MASK                                        0x60000000
384 
385 
386 
387 
388 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_F_OFFSET                                   0x00000018
389 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_F_LSB                                      31
390 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_F_MSB                                      31
391 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_F_MASK                                     0x80000000
392 
393 
394 
395 
396 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_G_OFFSET                                   0x0000001c
397 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_G_LSB                                      0
398 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_G_MSB                                      20
399 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_G_MASK                                     0x001fffff
400 
401 
402 
403 
404 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_G_OFFSET                            0x0000001c
405 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_G_LSB                               21
406 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_G_MSB                               22
407 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_G_MASK                              0x00600000
408 
409 
410 
411 
412 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_G_OFFSET                                     0x0000001c
413 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_G_LSB                                        23
414 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_G_MSB                                        28
415 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_G_MASK                                       0x1f800000
416 
417 
418 
419 
420 #define VHT_SIG_B_SU160_INFO_RESERVED_7_OFFSET                                      0x0000001c
421 #define VHT_SIG_B_SU160_INFO_RESERVED_7_LSB                                         29
422 #define VHT_SIG_B_SU160_INFO_RESERVED_7_MSB                                         30
423 #define VHT_SIG_B_SU160_INFO_RESERVED_7_MASK                                        0x60000000
424 
425 
426 
427 
428 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_G_OFFSET                                   0x0000001c
429 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_G_LSB                                      31
430 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_G_MSB                                      31
431 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_G_MASK                                     0x80000000
432 
433 
434 
435 #endif
436