xref: /wlan-dirver/fw-api/hw/qca5424/vht_sig_b_su20_info.h (revision e157a886749af4a591d29af2763a38c5f177eda0)
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_SU20_INFO_H_
20 #define _VHT_SIG_B_SU20_INFO_H_
21 #if !defined(__ASSEMBLER__)
22 #endif
23 
24 #define NUM_OF_DWORDS_VHT_SIG_B_SU20_INFO 1
25 
26 
27 struct vht_sig_b_su20_info {
28 #ifndef WIFI_BIT_ORDER_BIG_ENDIAN
29              uint32_t length                                                  : 17,
30                       vhtb_reserved                                           :  3,
31                       tail                                                    :  6,
32                       reserved                                                :  5,
33                       rx_ndp                                                  :  1;
34 #else
35              uint32_t rx_ndp                                                  :  1,
36                       reserved                                                :  5,
37                       tail                                                    :  6,
38                       vhtb_reserved                                           :  3,
39                       length                                                  : 17;
40 #endif
41 };
42 
43 
44 
45 
46 #define VHT_SIG_B_SU20_INFO_LENGTH_OFFSET                                           0x00000000
47 #define VHT_SIG_B_SU20_INFO_LENGTH_LSB                                              0
48 #define VHT_SIG_B_SU20_INFO_LENGTH_MSB                                              16
49 #define VHT_SIG_B_SU20_INFO_LENGTH_MASK                                             0x0001ffff
50 
51 
52 
53 
54 #define VHT_SIG_B_SU20_INFO_VHTB_RESERVED_OFFSET                                    0x00000000
55 #define VHT_SIG_B_SU20_INFO_VHTB_RESERVED_LSB                                       17
56 #define VHT_SIG_B_SU20_INFO_VHTB_RESERVED_MSB                                       19
57 #define VHT_SIG_B_SU20_INFO_VHTB_RESERVED_MASK                                      0x000e0000
58 
59 
60 
61 
62 #define VHT_SIG_B_SU20_INFO_TAIL_OFFSET                                             0x00000000
63 #define VHT_SIG_B_SU20_INFO_TAIL_LSB                                                20
64 #define VHT_SIG_B_SU20_INFO_TAIL_MSB                                                25
65 #define VHT_SIG_B_SU20_INFO_TAIL_MASK                                               0x03f00000
66 
67 
68 
69 
70 #define VHT_SIG_B_SU20_INFO_RESERVED_OFFSET                                         0x00000000
71 #define VHT_SIG_B_SU20_INFO_RESERVED_LSB                                            26
72 #define VHT_SIG_B_SU20_INFO_RESERVED_MSB                                            30
73 #define VHT_SIG_B_SU20_INFO_RESERVED_MASK                                           0x7c000000
74 
75 
76 
77 
78 #define VHT_SIG_B_SU20_INFO_RX_NDP_OFFSET                                           0x00000000
79 #define VHT_SIG_B_SU20_INFO_RX_NDP_LSB                                              31
80 #define VHT_SIG_B_SU20_INFO_RX_NDP_MSB                                              31
81 #define VHT_SIG_B_SU20_INFO_RX_NDP_MASK                                             0x80000000
82 
83 
84 
85 #endif
86