xref: /wlan-driver/fw-api/hw/qca6750/v1/phyrx_l_sig_b.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1 /*
2  * Copyright (c) 2020 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 //
20 // DO NOT EDIT!  This file is automatically generated
21 //               These definitions are tied to a particular hardware layout
22 
23 
24 #ifndef _PHYRX_L_SIG_B_H_
25 #define _PHYRX_L_SIG_B_H_
26 #if !defined(__ASSEMBLER__)
27 #endif
28 
29 #include "l_sig_b_info.h"
30 
31 // ################ START SUMMARY #################
32 //
33 //	Dword	Fields
34 //	0	struct l_sig_b_info phyrx_l_sig_b_info_details;
35 //
36 // ################ END SUMMARY #################
37 
38 #define NUM_OF_DWORDS_PHYRX_L_SIG_B 1
39 
40 struct phyrx_l_sig_b {
41     struct            l_sig_b_info                       phyrx_l_sig_b_info_details;
42 };
43 
44 /*
45 
46 struct l_sig_b_info phyrx_l_sig_b_info_details
47 
48 			See detailed description of the STRUCT
49 */
50 
51 
52  /* EXTERNAL REFERENCE : struct l_sig_b_info phyrx_l_sig_b_info_details */
53 
54 
55 /* Description		PHYRX_L_SIG_B_0_PHYRX_L_SIG_B_INFO_DETAILS_RATE
56 
57 			<enum 1    dsss_1_mpbs_long> DSSS 1 Mbps long
58 
59 			<enum 2    dsss_2_mbps_long> DSSS 2 Mbps long
60 
61 			<enum 3    cck_5_5_mbps_long> CCK 5.5 Mbps long
62 
63 			<enum 4    cck_11_mbps_long> CCK 11 Mbps long
64 
65 			<enum 5    dsss_2_mbps_short> DSSS 2 Mbps short
66 
67 			<enum 6    cck_5_5_mbps_short> CCK 5.5 Mbps short
68 
69 			<enum 7    cck_11_mbps_short> CCK 11 Mbps short
70 
71 			<legal 1-7>
72 */
73 #define PHYRX_L_SIG_B_0_PHYRX_L_SIG_B_INFO_DETAILS_RATE_OFFSET       0x00000000
74 #define PHYRX_L_SIG_B_0_PHYRX_L_SIG_B_INFO_DETAILS_RATE_LSB          0
75 #define PHYRX_L_SIG_B_0_PHYRX_L_SIG_B_INFO_DETAILS_RATE_MASK         0x0000000f
76 
77 /* Description		PHYRX_L_SIG_B_0_PHYRX_L_SIG_B_INFO_DETAILS_LENGTH
78 
79 			The length indicates the number of octets in this MPDU.
80 
81 			<legal all>
82 */
83 #define PHYRX_L_SIG_B_0_PHYRX_L_SIG_B_INFO_DETAILS_LENGTH_OFFSET     0x00000000
84 #define PHYRX_L_SIG_B_0_PHYRX_L_SIG_B_INFO_DETAILS_LENGTH_LSB        4
85 #define PHYRX_L_SIG_B_0_PHYRX_L_SIG_B_INFO_DETAILS_LENGTH_MASK       0x0000fff0
86 
87 /* Description		PHYRX_L_SIG_B_0_PHYRX_L_SIG_B_INFO_DETAILS_RESERVED
88 
89 			Reserved: Should be set to 0 by the transmitting MAC and
90 			ignored by the PHY <legal 0>
91 */
92 #define PHYRX_L_SIG_B_0_PHYRX_L_SIG_B_INFO_DETAILS_RESERVED_OFFSET   0x00000000
93 #define PHYRX_L_SIG_B_0_PHYRX_L_SIG_B_INFO_DETAILS_RESERVED_LSB      16
94 #define PHYRX_L_SIG_B_0_PHYRX_L_SIG_B_INFO_DETAILS_RESERVED_MASK     0xffff0000
95 
96 
97 #endif // _PHYRX_L_SIG_B_H_
98