xref: /wlan-driver/fw-api/hw/qca5424/ru_allocation_160_info.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1*5113495bSYour Name 
2*5113495bSYour Name /*
3*5113495bSYour Name  * Copyright (c) 2024, Qualcomm Innovation Center, Inc. All rights reserved.
4*5113495bSYour Name  * SPDX-License-Identifier: ISC
5*5113495bSYour Name  */
6*5113495bSYour Name 
7*5113495bSYour Name 
8*5113495bSYour Name 
9*5113495bSYour Name 
10*5113495bSYour Name 
11*5113495bSYour Name 
12*5113495bSYour Name 
13*5113495bSYour Name 
14*5113495bSYour Name 
15*5113495bSYour Name 
16*5113495bSYour Name 
17*5113495bSYour Name 
18*5113495bSYour Name 
19*5113495bSYour Name #ifndef _RU_ALLOCATION_160_INFO_H_
20*5113495bSYour Name #define _RU_ALLOCATION_160_INFO_H_
21*5113495bSYour Name #if !defined(__ASSEMBLER__)
22*5113495bSYour Name #endif
23*5113495bSYour Name 
24*5113495bSYour Name #define NUM_OF_DWORDS_RU_ALLOCATION_160_INFO 4
25*5113495bSYour Name 
26*5113495bSYour Name 
27*5113495bSYour Name struct ru_allocation_160_info {
28*5113495bSYour Name #ifndef WIFI_BIT_ORDER_BIG_ENDIAN
29*5113495bSYour Name              uint32_t ru_allocation_band0_0                                   :  9,
30*5113495bSYour Name                       ru_allocation_band0_1                                   :  9,
31*5113495bSYour Name                       reserved_0a                                             :  6,
32*5113495bSYour Name                       ru_allocations_01_subband80_mask                        :  4,
33*5113495bSYour Name                       ru_allocations_23_subband80_mask                        :  4;
34*5113495bSYour Name              uint32_t ru_allocation_band0_2                                   :  9,
35*5113495bSYour Name                       ru_allocation_band0_3                                   :  9,
36*5113495bSYour Name                       reserved_1a                                             : 14;
37*5113495bSYour Name              uint32_t ru_allocation_band1_0                                   :  9,
38*5113495bSYour Name                       ru_allocation_band1_1                                   :  9,
39*5113495bSYour Name                       reserved_2a                                             : 14;
40*5113495bSYour Name              uint32_t ru_allocation_band1_2                                   :  9,
41*5113495bSYour Name                       ru_allocation_band1_3                                   :  9,
42*5113495bSYour Name                       reserved_3a                                             : 14;
43*5113495bSYour Name #else
44*5113495bSYour Name              uint32_t ru_allocations_23_subband80_mask                        :  4,
45*5113495bSYour Name                       ru_allocations_01_subband80_mask                        :  4,
46*5113495bSYour Name                       reserved_0a                                             :  6,
47*5113495bSYour Name                       ru_allocation_band0_1                                   :  9,
48*5113495bSYour Name                       ru_allocation_band0_0                                   :  9;
49*5113495bSYour Name              uint32_t reserved_1a                                             : 14,
50*5113495bSYour Name                       ru_allocation_band0_3                                   :  9,
51*5113495bSYour Name                       ru_allocation_band0_2                                   :  9;
52*5113495bSYour Name              uint32_t reserved_2a                                             : 14,
53*5113495bSYour Name                       ru_allocation_band1_1                                   :  9,
54*5113495bSYour Name                       ru_allocation_band1_0                                   :  9;
55*5113495bSYour Name              uint32_t reserved_3a                                             : 14,
56*5113495bSYour Name                       ru_allocation_band1_3                                   :  9,
57*5113495bSYour Name                       ru_allocation_band1_2                                   :  9;
58*5113495bSYour Name #endif
59*5113495bSYour Name };
60*5113495bSYour Name 
61*5113495bSYour Name 
62*5113495bSYour Name 
63*5113495bSYour Name 
64*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_0_OFFSET                         0x00000000
65*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_0_LSB                            0
66*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_0_MSB                            8
67*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_0_MASK                           0x000001ff
68*5113495bSYour Name 
69*5113495bSYour Name 
70*5113495bSYour Name 
71*5113495bSYour Name 
72*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_1_OFFSET                         0x00000000
73*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_1_LSB                            9
74*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_1_MSB                            17
75*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_1_MASK                           0x0003fe00
76*5113495bSYour Name 
77*5113495bSYour Name 
78*5113495bSYour Name 
79*5113495bSYour Name 
80*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_0A_OFFSET                                   0x00000000
81*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_0A_LSB                                      18
82*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_0A_MSB                                      23
83*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_0A_MASK                                     0x00fc0000
84*5113495bSYour Name 
85*5113495bSYour Name 
86*5113495bSYour Name 
87*5113495bSYour Name 
88*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATIONS_01_SUBBAND80_MASK_OFFSET              0x00000000
89*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATIONS_01_SUBBAND80_MASK_LSB                 24
90*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATIONS_01_SUBBAND80_MASK_MSB                 27
91*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATIONS_01_SUBBAND80_MASK_MASK                0x0f000000
92*5113495bSYour Name 
93*5113495bSYour Name 
94*5113495bSYour Name 
95*5113495bSYour Name 
96*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATIONS_23_SUBBAND80_MASK_OFFSET              0x00000000
97*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATIONS_23_SUBBAND80_MASK_LSB                 28
98*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATIONS_23_SUBBAND80_MASK_MSB                 31
99*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATIONS_23_SUBBAND80_MASK_MASK                0xf0000000
100*5113495bSYour Name 
101*5113495bSYour Name 
102*5113495bSYour Name 
103*5113495bSYour Name 
104*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_2_OFFSET                         0x00000004
105*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_2_LSB                            0
106*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_2_MSB                            8
107*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_2_MASK                           0x000001ff
108*5113495bSYour Name 
109*5113495bSYour Name 
110*5113495bSYour Name 
111*5113495bSYour Name 
112*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_3_OFFSET                         0x00000004
113*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_3_LSB                            9
114*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_3_MSB                            17
115*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_3_MASK                           0x0003fe00
116*5113495bSYour Name 
117*5113495bSYour Name 
118*5113495bSYour Name 
119*5113495bSYour Name 
120*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_1A_OFFSET                                   0x00000004
121*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_1A_LSB                                      18
122*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_1A_MSB                                      31
123*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_1A_MASK                                     0xfffc0000
124*5113495bSYour Name 
125*5113495bSYour Name 
126*5113495bSYour Name 
127*5113495bSYour Name 
128*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_0_OFFSET                         0x00000008
129*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_0_LSB                            0
130*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_0_MSB                            8
131*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_0_MASK                           0x000001ff
132*5113495bSYour Name 
133*5113495bSYour Name 
134*5113495bSYour Name 
135*5113495bSYour Name 
136*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_1_OFFSET                         0x00000008
137*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_1_LSB                            9
138*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_1_MSB                            17
139*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_1_MASK                           0x0003fe00
140*5113495bSYour Name 
141*5113495bSYour Name 
142*5113495bSYour Name 
143*5113495bSYour Name 
144*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_2A_OFFSET                                   0x00000008
145*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_2A_LSB                                      18
146*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_2A_MSB                                      31
147*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_2A_MASK                                     0xfffc0000
148*5113495bSYour Name 
149*5113495bSYour Name 
150*5113495bSYour Name 
151*5113495bSYour Name 
152*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_2_OFFSET                         0x0000000c
153*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_2_LSB                            0
154*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_2_MSB                            8
155*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_2_MASK                           0x000001ff
156*5113495bSYour Name 
157*5113495bSYour Name 
158*5113495bSYour Name 
159*5113495bSYour Name 
160*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_3_OFFSET                         0x0000000c
161*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_3_LSB                            9
162*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_3_MSB                            17
163*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_3_MASK                           0x0003fe00
164*5113495bSYour Name 
165*5113495bSYour Name 
166*5113495bSYour Name 
167*5113495bSYour Name 
168*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_3A_OFFSET                                   0x0000000c
169*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_3A_LSB                                      18
170*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_3A_MSB                                      31
171*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_3A_MASK                                     0xfffc0000
172*5113495bSYour Name 
173*5113495bSYour Name 
174*5113495bSYour Name 
175*5113495bSYour Name #endif
176