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_MU20_INFO_H_
20  #define _VHT_SIG_B_MU20_INFO_H_
21  #if !defined(__ASSEMBLER__)
22  #endif
23  
24  #define NUM_OF_DWORDS_VHT_SIG_B_MU20_INFO 1
25  
26  
27  struct vht_sig_b_mu20_info {
28  #ifndef WIFI_BIT_ORDER_BIG_ENDIAN
29               uint32_t length                                                  : 16,
30                        mcs                                                     :  4,
31                        tail                                                    :  6,
32                        mu_user_number                                          :  3,
33                        reserved_0                                              :  3;
34  #else
35               uint32_t reserved_0                                              :  3,
36                        mu_user_number                                          :  3,
37                        tail                                                    :  6,
38                        mcs                                                     :  4,
39                        length                                                  : 16;
40  #endif
41  };
42  
43  
44  
45  
46  #define VHT_SIG_B_MU20_INFO_LENGTH_OFFSET                                           0x00000000
47  #define VHT_SIG_B_MU20_INFO_LENGTH_LSB                                              0
48  #define VHT_SIG_B_MU20_INFO_LENGTH_MSB                                              15
49  #define VHT_SIG_B_MU20_INFO_LENGTH_MASK                                             0x0000ffff
50  
51  
52  
53  
54  #define VHT_SIG_B_MU20_INFO_MCS_OFFSET                                              0x00000000
55  #define VHT_SIG_B_MU20_INFO_MCS_LSB                                                 16
56  #define VHT_SIG_B_MU20_INFO_MCS_MSB                                                 19
57  #define VHT_SIG_B_MU20_INFO_MCS_MASK                                                0x000f0000
58  
59  
60  
61  
62  #define VHT_SIG_B_MU20_INFO_TAIL_OFFSET                                             0x00000000
63  #define VHT_SIG_B_MU20_INFO_TAIL_LSB                                                20
64  #define VHT_SIG_B_MU20_INFO_TAIL_MSB                                                25
65  #define VHT_SIG_B_MU20_INFO_TAIL_MASK                                               0x03f00000
66  
67  
68  
69  
70  #define VHT_SIG_B_MU20_INFO_MU_USER_NUMBER_OFFSET                                   0x00000000
71  #define VHT_SIG_B_MU20_INFO_MU_USER_NUMBER_LSB                                      26
72  #define VHT_SIG_B_MU20_INFO_MU_USER_NUMBER_MSB                                      28
73  #define VHT_SIG_B_MU20_INFO_MU_USER_NUMBER_MASK                                     0x1c000000
74  
75  
76  
77  
78  #define VHT_SIG_B_MU20_INFO_RESERVED_0_OFFSET                                       0x00000000
79  #define VHT_SIG_B_MU20_INFO_RESERVED_0_LSB                                          29
80  #define VHT_SIG_B_MU20_INFO_RESERVED_0_MSB                                          31
81  #define VHT_SIG_B_MU20_INFO_RESERVED_0_MASK                                         0xe0000000
82  
83  
84  
85  #endif
86