xref: /wlan-driver/fw-api/hw/qca6490/v1/phyrx_other_receive_info_ru_details.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1*5113495bSYour Name /*
2*5113495bSYour Name  * Copyright (c) 2019 The Linux Foundation. All rights reserved.
3*5113495bSYour Name  *
4*5113495bSYour Name  * Permission to use, copy, modify, and/or distribute this software for
5*5113495bSYour Name  * any purpose with or without fee is hereby granted, provided that the
6*5113495bSYour Name  * above copyright notice and this permission notice appear in all
7*5113495bSYour Name  * copies.
8*5113495bSYour Name  *
9*5113495bSYour Name  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
10*5113495bSYour Name  * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
11*5113495bSYour Name  * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
12*5113495bSYour Name  * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
13*5113495bSYour Name  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
14*5113495bSYour Name  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
15*5113495bSYour Name  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16*5113495bSYour Name  * PERFORMANCE OF THIS SOFTWARE.
17*5113495bSYour Name  */
18*5113495bSYour Name 
19*5113495bSYour Name //
20*5113495bSYour Name // DO NOT EDIT!  This file is automatically generated
21*5113495bSYour Name //               These definitions are tied to a particular hardware layout
22*5113495bSYour Name 
23*5113495bSYour Name 
24*5113495bSYour Name #ifndef _PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_H_
25*5113495bSYour Name #define _PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_H_
26*5113495bSYour Name #if !defined(__ASSEMBLER__)
27*5113495bSYour Name #endif
28*5113495bSYour Name 
29*5113495bSYour Name 
30*5113495bSYour Name // ################ START SUMMARY #################
31*5113495bSYour Name //
32*5113495bSYour Name //	Dword	Fields
33*5113495bSYour Name //	0	ru_details_channel_0[31:0]
34*5113495bSYour Name //	1	ru_details_channel_1[31:0]
35*5113495bSYour Name //	2	spare[31:0]
36*5113495bSYour Name //
37*5113495bSYour Name // ################ END SUMMARY #################
38*5113495bSYour Name 
39*5113495bSYour Name #define NUM_OF_DWORDS_PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS 3
40*5113495bSYour Name 
41*5113495bSYour Name struct phyrx_other_receive_info_ru_details {
42*5113495bSYour Name              uint32_t ru_details_channel_0            : 32; //[31:0]
43*5113495bSYour Name              uint32_t ru_details_channel_1            : 32; //[31:0]
44*5113495bSYour Name              uint32_t spare                           : 32; //[31:0]
45*5113495bSYour Name };
46*5113495bSYour Name 
47*5113495bSYour Name /*
48*5113495bSYour Name 
49*5113495bSYour Name ru_details_channel_0
50*5113495bSYour Name 
51*5113495bSYour Name 			Ru_allocation from content channel 0
52*5113495bSYour Name 
53*5113495bSYour Name 			[7:0] for 20/40 MHz
54*5113495bSYour Name 
55*5113495bSYour Name 			[15:0] for 80 MHz
56*5113495bSYour Name 
57*5113495bSYour Name 			[31:0] for 160 MHz
58*5113495bSYour Name 
59*5113495bSYour Name 			<legal all>
60*5113495bSYour Name 
61*5113495bSYour Name ru_details_channel_1
62*5113495bSYour Name 
63*5113495bSYour Name 			Ru_allocation from content channel 1
64*5113495bSYour Name 
65*5113495bSYour Name 			[7:0] for 40 MHz
66*5113495bSYour Name 
67*5113495bSYour Name 			[15:0] for 80 MHz
68*5113495bSYour Name 
69*5113495bSYour Name 			[31:0] for 160 MHz
70*5113495bSYour Name 
71*5113495bSYour Name 			<legal all>
72*5113495bSYour Name 
73*5113495bSYour Name spare
74*5113495bSYour Name 
75*5113495bSYour Name 			Extra spare bits added to convey additional information
76*5113495bSYour Name 
77*5113495bSYour Name 			<legal all>
78*5113495bSYour Name */
79*5113495bSYour Name 
80*5113495bSYour Name 
81*5113495bSYour Name /* Description		PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_0_RU_DETAILS_CHANNEL_0
82*5113495bSYour Name 
83*5113495bSYour Name 			Ru_allocation from content channel 0
84*5113495bSYour Name 
85*5113495bSYour Name 			[7:0] for 20/40 MHz
86*5113495bSYour Name 
87*5113495bSYour Name 			[15:0] for 80 MHz
88*5113495bSYour Name 
89*5113495bSYour Name 			[31:0] for 160 MHz
90*5113495bSYour Name 
91*5113495bSYour Name 			<legal all>
92*5113495bSYour Name */
93*5113495bSYour Name #define PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_0_RU_DETAILS_CHANNEL_0_OFFSET 0x00000000
94*5113495bSYour Name #define PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_0_RU_DETAILS_CHANNEL_0_LSB 0
95*5113495bSYour Name #define PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_0_RU_DETAILS_CHANNEL_0_MASK 0xffffffff
96*5113495bSYour Name 
97*5113495bSYour Name /* Description		PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_1_RU_DETAILS_CHANNEL_1
98*5113495bSYour Name 
99*5113495bSYour Name 			Ru_allocation from content channel 1
100*5113495bSYour Name 
101*5113495bSYour Name 			[7:0] for 40 MHz
102*5113495bSYour Name 
103*5113495bSYour Name 			[15:0] for 80 MHz
104*5113495bSYour Name 
105*5113495bSYour Name 			[31:0] for 160 MHz
106*5113495bSYour Name 
107*5113495bSYour Name 			<legal all>
108*5113495bSYour Name */
109*5113495bSYour Name #define PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_1_RU_DETAILS_CHANNEL_1_OFFSET 0x00000004
110*5113495bSYour Name #define PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_1_RU_DETAILS_CHANNEL_1_LSB 0
111*5113495bSYour Name #define PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_1_RU_DETAILS_CHANNEL_1_MASK 0xffffffff
112*5113495bSYour Name 
113*5113495bSYour Name /* Description		PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_2_SPARE
114*5113495bSYour Name 
115*5113495bSYour Name 			Extra spare bits added to convey additional information
116*5113495bSYour Name 
117*5113495bSYour Name 			<legal all>
118*5113495bSYour Name */
119*5113495bSYour Name #define PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_2_SPARE_OFFSET           0x00000008
120*5113495bSYour Name #define PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_2_SPARE_LSB              0
121*5113495bSYour Name #define PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_2_SPARE_MASK             0xffffffff
122*5113495bSYour Name 
123*5113495bSYour Name 
124*5113495bSYour Name #endif // _PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_H_
125