xref: /wlan-driver/fw-api/hw/qca5424/phyrx_other_receive_info_ru_details.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1 
2 /*
3  * Copyright (c) 2024, Qualcomm Innovation Center, Inc. All rights reserved.
4  * SPDX-License-Identifier: ISC
5  */
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 #ifndef _PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_H_
20 #define _PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_H_
21 #if !defined(__ASSEMBLER__)
22 #endif
23 
24 #define NUM_OF_DWORDS_PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS 4
25 
26 #define NUM_OF_QWORDS_PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS 2
27 
28 
29 struct phyrx_other_receive_info_ru_details {
30 #ifndef WIFI_BIT_ORDER_BIG_ENDIAN
31              uint32_t ru_details_channel_0                                    : 32;
32              uint32_t ru_details_channel_1                                    : 32;
33              uint32_t spare                                                   : 32;
34              uint32_t tlv64_padding                                           : 32;
35 #else
36              uint32_t ru_details_channel_0                                    : 32;
37              uint32_t ru_details_channel_1                                    : 32;
38              uint32_t spare                                                   : 32;
39              uint32_t tlv64_padding                                           : 32;
40 #endif
41 };
42 
43 
44 
45 
46 #define PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_RU_DETAILS_CHANNEL_0_OFFSET             0x0000000000000000
47 #define PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_RU_DETAILS_CHANNEL_0_LSB                0
48 #define PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_RU_DETAILS_CHANNEL_0_MSB                31
49 #define PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_RU_DETAILS_CHANNEL_0_MASK               0x00000000ffffffff
50 
51 
52 
53 
54 #define PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_RU_DETAILS_CHANNEL_1_OFFSET             0x0000000000000000
55 #define PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_RU_DETAILS_CHANNEL_1_LSB                32
56 #define PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_RU_DETAILS_CHANNEL_1_MSB                63
57 #define PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_RU_DETAILS_CHANNEL_1_MASK               0xffffffff00000000
58 
59 
60 
61 
62 #define PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_SPARE_OFFSET                            0x0000000000000008
63 #define PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_SPARE_LSB                               0
64 #define PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_SPARE_MSB                               31
65 #define PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_SPARE_MASK                              0x00000000ffffffff
66 
67 
68 
69 
70 #define PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_TLV64_PADDING_OFFSET                    0x0000000000000008
71 #define PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_TLV64_PADDING_LSB                       32
72 #define PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_TLV64_PADDING_MSB                       63
73 #define PHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_TLV64_PADDING_MASK                      0xffffffff00000000
74 
75 
76 
77 #endif
78