xref: /wlan-driver/fw-api/hw/qca6290/11ax/v2/he_sig_b1_mu_info.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1 /*
2  * Copyright (c) 2016-2018 The Linux Foundation. All rights reserved.
3  *
4  * Permission to use, copy, modify, and/or distribute this software for
5  * any purpose with or without fee is hereby granted, provided that the
6  * above copyright notice and this permission notice appear in all
7  * copies.
8  *
9  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
10  * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
11  * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
12  * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
13  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
14  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
15  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16  * PERFORMANCE OF THIS SOFTWARE.
17  */
18 
19 #ifndef _HE_SIG_B1_MU_INFO_H_
20 #define _HE_SIG_B1_MU_INFO_H_
21 #if !defined(__ASSEMBLER__)
22 #endif
23 
24 
25 // ################ START SUMMARY #################
26 //
27 //	Dword	Fields
28 //	0	ru_allocation[7:0], reserved_0[31:8]
29 //
30 // ################ END SUMMARY #################
31 
32 #define NUM_OF_DWORDS_HE_SIG_B1_MU_INFO 1
33 
34 struct he_sig_b1_mu_info {
35              uint32_t ru_allocation                   :  8, //[7:0]
36                       reserved_0                      : 24; //[31:8]
37 };
38 
39 /*
40 
41 ru_allocation
42 
43 			RU allocation for the user(s) following this common
44 			portion of the SIG
45 
46 
47 
48 			For details, refer to  RU_TYPE description
49 
50 			<legal all>
51 
52 reserved_0
53 
54 			<legal 0>
55 */
56 
57 
58 /* Description		HE_SIG_B1_MU_INFO_0_RU_ALLOCATION
59 
60 			RU allocation for the user(s) following this common
61 			portion of the SIG
62 
63 
64 
65 			For details, refer to  RU_TYPE description
66 
67 			<legal all>
68 */
69 #define HE_SIG_B1_MU_INFO_0_RU_ALLOCATION_OFFSET                     0x00000000
70 #define HE_SIG_B1_MU_INFO_0_RU_ALLOCATION_LSB                        0
71 #define HE_SIG_B1_MU_INFO_0_RU_ALLOCATION_MASK                       0x000000ff
72 
73 /* Description		HE_SIG_B1_MU_INFO_0_RESERVED_0
74 
75 			<legal 0>
76 */
77 #define HE_SIG_B1_MU_INFO_0_RESERVED_0_OFFSET                        0x00000000
78 #define HE_SIG_B1_MU_INFO_0_RESERVED_0_LSB                           8
79 #define HE_SIG_B1_MU_INFO_0_RESERVED_0_MASK                          0xffffff00
80 
81 
82 #endif // _HE_SIG_B1_MU_INFO_H_
83