1 /*
2  * Copyright (c) 2020 The Linux Foundation. All rights reserved.
3  *
4  * Permission to use, copy, modify, and/or distribute this software for any
5  * purpose with or without fee is hereby granted, provided that the above
6  * copyright notice and this permission notice appear in all copies.
7  *
8  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15  */
16 
17 // $ATH_LICENSE_HW_HDR_C$
18 //
19 // DO NOT EDIT!  This file is automatically generated
20 //               These definitions are tied to a particular hardware layout
21 
22 
23 #ifndef _PHYRX_L_SIG_B_H_
24 #define _PHYRX_L_SIG_B_H_
25 #if !defined(__ASSEMBLER__)
26 #endif
27 
28 #include "l_sig_b_info.h"
29 
30 // ################ START SUMMARY #################
31 //
32 //	Dword	Fields
33 //	0	struct l_sig_b_info phyrx_l_sig_b_info_details;
34 //
35 // ################ END SUMMARY #################
36 
37 #define NUM_OF_DWORDS_PHYRX_L_SIG_B 1
38 
39 struct phyrx_l_sig_b {
40     struct            l_sig_b_info                       phyrx_l_sig_b_info_details;
41 };
42 
43 /*
44 
45 struct l_sig_b_info phyrx_l_sig_b_info_details
46 
47 			See detailed description of the STRUCT
48 */
49 
50 
51  /* EXTERNAL REFERENCE : struct l_sig_b_info phyrx_l_sig_b_info_details */
52 
53 
54 /* Description		PHYRX_L_SIG_B_0_PHYRX_L_SIG_B_INFO_DETAILS_RATE
55 
56 			<enum 1    dsss_1_mpbs_long> DSSS 1 Mbps long
57 
58 			<enum 2    dsss_2_mbps_long> DSSS 2 Mbps long
59 
60 			<enum 3    cck_5_5_mbps_long> CCK 5.5 Mbps long
61 
62 			<enum 4    cck_11_mbps_long> CCK 11 Mbps long
63 
64 			<enum 5    dsss_2_mbps_short> DSSS 2 Mbps short
65 
66 			<enum 6    cck_5_5_mbps_short> CCK 5.5 Mbps short
67 
68 			<enum 7    cck_11_mbps_short> CCK 11 Mbps short
69 
70 			<legal 1-7>
71 */
72 #define PHYRX_L_SIG_B_0_PHYRX_L_SIG_B_INFO_DETAILS_RATE_OFFSET       0x00000000
73 #define PHYRX_L_SIG_B_0_PHYRX_L_SIG_B_INFO_DETAILS_RATE_LSB          0
74 #define PHYRX_L_SIG_B_0_PHYRX_L_SIG_B_INFO_DETAILS_RATE_MASK         0x0000000f
75 
76 /* Description		PHYRX_L_SIG_B_0_PHYRX_L_SIG_B_INFO_DETAILS_LENGTH
77 
78 			The length indicates the number of octets in this MPDU.
79 
80 			<legal all>
81 */
82 #define PHYRX_L_SIG_B_0_PHYRX_L_SIG_B_INFO_DETAILS_LENGTH_OFFSET     0x00000000
83 #define PHYRX_L_SIG_B_0_PHYRX_L_SIG_B_INFO_DETAILS_LENGTH_LSB        4
84 #define PHYRX_L_SIG_B_0_PHYRX_L_SIG_B_INFO_DETAILS_LENGTH_MASK       0x0000fff0
85 
86 /* Description		PHYRX_L_SIG_B_0_PHYRX_L_SIG_B_INFO_DETAILS_RESERVED
87 
88 			Reserved: Should be set to 0 by the transmitting MAC and
89 			ignored by the PHY <legal 0>
90 */
91 #define PHYRX_L_SIG_B_0_PHYRX_L_SIG_B_INFO_DETAILS_RESERVED_OFFSET   0x00000000
92 #define PHYRX_L_SIG_B_0_PHYRX_L_SIG_B_INFO_DETAILS_RESERVED_LSB      16
93 #define PHYRX_L_SIG_B_0_PHYRX_L_SIG_B_INFO_DETAILS_RESERVED_MASK     0xffff0000
94 
95 
96 #endif // _PHYRX_L_SIG_B_H_
97