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