xref: /wlan-driver/fw-api/hw/peach/v2/rx_location_info.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1*5113495bSYour Name /*
2*5113495bSYour Name  * Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved.
3*5113495bSYour Name  *
4*5113495bSYour Name  * Permission to use, copy, modify, and/or distribute this software for any
5*5113495bSYour Name  * purpose with or without fee is hereby granted, provided that the above
6*5113495bSYour Name  * copyright notice and this permission notice appear in all copies.
7*5113495bSYour Name  *
8*5113495bSYour Name  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9*5113495bSYour Name  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10*5113495bSYour Name  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11*5113495bSYour Name  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12*5113495bSYour Name  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13*5113495bSYour Name  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14*5113495bSYour Name  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15*5113495bSYour Name  */
16*5113495bSYour Name 
17*5113495bSYour Name 
18*5113495bSYour Name #ifndef _RX_LOCATION_INFO_H_
19*5113495bSYour Name #define _RX_LOCATION_INFO_H_
20*5113495bSYour Name 
21*5113495bSYour Name #define NUM_OF_DWORDS_RX_LOCATION_INFO 28
22*5113495bSYour Name 
23*5113495bSYour Name struct rx_location_info {
24*5113495bSYour Name #ifndef WIFI_BIT_ORDER_BIG_ENDIAN
25*5113495bSYour Name              uint32_t rx_location_info_valid                                  :  1,
26*5113495bSYour Name                       rtt_hw_ifft_mode                                        :  1,
27*5113495bSYour Name                       rtt_11az_mode                                           :  2,
28*5113495bSYour Name                       reserved_0                                              :  4,
29*5113495bSYour Name                       rtt_num_fac                                             :  8,
30*5113495bSYour Name                       rtt_rx_chain_mask                                       :  8,
31*5113495bSYour Name                       rtt_num_streams                                         :  8;
32*5113495bSYour Name              uint32_t rtt_first_selected_chain                                :  8,
33*5113495bSYour Name                       rtt_second_selected_chain                               :  8,
34*5113495bSYour Name                       rtt_cfr_status                                          :  8,
35*5113495bSYour Name                       rtt_cir_status                                          :  8;
36*5113495bSYour Name              uint32_t rtt_che_buffer_pointer_low32                            : 32;
37*5113495bSYour Name              uint32_t rtt_che_buffer_pointer_high8                            :  8,
38*5113495bSYour Name                       reserved_3                                              :  8,
39*5113495bSYour Name                       rtt_pkt_bw_vht                                          :  4,
40*5113495bSYour Name                       rtt_pkt_bw_leg                                          :  4,
41*5113495bSYour Name                       rtt_mcs_rate                                            :  8;
42*5113495bSYour Name              uint32_t rtt_cfo_measurement                                     : 16,
43*5113495bSYour Name                       rtt_preamble_type                                       :  8,
44*5113495bSYour Name                       rtt_gi_type                                             :  8;
45*5113495bSYour Name              uint32_t rx_start_ts                                             : 32;
46*5113495bSYour Name              uint32_t rx_start_ts_upper                                       : 32;
47*5113495bSYour Name              uint32_t rx_end_ts                                               : 32;
48*5113495bSYour Name              uint32_t gain_chain0                                             : 16,
49*5113495bSYour Name                       gain_chain1                                             : 16;
50*5113495bSYour Name              uint32_t gain_chain2                                             : 16,
51*5113495bSYour Name                       gain_chain3                                             : 16;
52*5113495bSYour Name              uint32_t gain_report_status                                      :  8,
53*5113495bSYour Name                       rtt_timing_backoff_sel                                  :  8,
54*5113495bSYour Name                       rtt_fac_combined                                        : 16;
55*5113495bSYour Name              uint32_t rtt_fac_0                                               : 16,
56*5113495bSYour Name                       rtt_fac_1                                               : 16;
57*5113495bSYour Name              uint32_t rtt_fac_2                                               : 16,
58*5113495bSYour Name                       rtt_fac_3                                               : 16;
59*5113495bSYour Name              uint32_t rtt_fac_4                                               : 16,
60*5113495bSYour Name                       rtt_fac_5                                               : 16;
61*5113495bSYour Name              uint32_t rtt_fac_6                                               : 16,
62*5113495bSYour Name                       rtt_fac_7                                               : 16;
63*5113495bSYour Name              uint32_t rtt_fac_8                                               : 16,
64*5113495bSYour Name                       rtt_fac_9                                               : 16;
65*5113495bSYour Name              uint32_t rtt_fac_10                                              : 16,
66*5113495bSYour Name                       rtt_fac_11                                              : 16;
67*5113495bSYour Name              uint32_t rtt_fac_12                                              : 16,
68*5113495bSYour Name                       rtt_fac_13                                              : 16;
69*5113495bSYour Name              uint32_t rtt_fac_14                                              : 16,
70*5113495bSYour Name                       rtt_fac_15                                              : 16;
71*5113495bSYour Name              uint32_t rtt_fac_16                                              : 16,
72*5113495bSYour Name                       rtt_fac_17                                              : 16;
73*5113495bSYour Name              uint32_t rtt_fac_18                                              : 16,
74*5113495bSYour Name                       rtt_fac_19                                              : 16;
75*5113495bSYour Name              uint32_t rtt_fac_20                                              : 16,
76*5113495bSYour Name                       rtt_fac_21                                              : 16;
77*5113495bSYour Name              uint32_t rtt_fac_22                                              : 16,
78*5113495bSYour Name                       rtt_fac_23                                              : 16;
79*5113495bSYour Name              uint32_t rtt_fac_24                                              : 16,
80*5113495bSYour Name                       rtt_fac_25                                              : 16;
81*5113495bSYour Name              uint32_t rtt_fac_26                                              : 16,
82*5113495bSYour Name                       rtt_fac_27                                              : 16;
83*5113495bSYour Name              uint32_t rtt_fac_28                                              : 16,
84*5113495bSYour Name                       rtt_fac_29                                              : 16;
85*5113495bSYour Name              uint32_t rtt_fac_30                                              : 16,
86*5113495bSYour Name                       rtt_fac_31                                              : 16;
87*5113495bSYour Name              uint32_t reserved_27a                                            : 32;
88*5113495bSYour Name #else
89*5113495bSYour Name              uint32_t rtt_num_streams                                         :  8,
90*5113495bSYour Name                       rtt_rx_chain_mask                                       :  8,
91*5113495bSYour Name                       rtt_num_fac                                             :  8,
92*5113495bSYour Name                       reserved_0                                              :  4,
93*5113495bSYour Name                       rtt_11az_mode                                           :  2,
94*5113495bSYour Name                       rtt_hw_ifft_mode                                        :  1,
95*5113495bSYour Name                       rx_location_info_valid                                  :  1;
96*5113495bSYour Name              uint32_t rtt_cir_status                                          :  8,
97*5113495bSYour Name                       rtt_cfr_status                                          :  8,
98*5113495bSYour Name                       rtt_second_selected_chain                               :  8,
99*5113495bSYour Name                       rtt_first_selected_chain                                :  8;
100*5113495bSYour Name              uint32_t rtt_che_buffer_pointer_low32                            : 32;
101*5113495bSYour Name              uint32_t rtt_mcs_rate                                            :  8,
102*5113495bSYour Name                       rtt_pkt_bw_leg                                          :  4,
103*5113495bSYour Name                       rtt_pkt_bw_vht                                          :  4,
104*5113495bSYour Name                       reserved_3                                              :  8,
105*5113495bSYour Name                       rtt_che_buffer_pointer_high8                            :  8;
106*5113495bSYour Name              uint32_t rtt_gi_type                                             :  8,
107*5113495bSYour Name                       rtt_preamble_type                                       :  8,
108*5113495bSYour Name                       rtt_cfo_measurement                                     : 16;
109*5113495bSYour Name              uint32_t rx_start_ts                                             : 32;
110*5113495bSYour Name              uint32_t rx_start_ts_upper                                       : 32;
111*5113495bSYour Name              uint32_t rx_end_ts                                               : 32;
112*5113495bSYour Name              uint32_t gain_chain1                                             : 16,
113*5113495bSYour Name                       gain_chain0                                             : 16;
114*5113495bSYour Name              uint32_t gain_chain3                                             : 16,
115*5113495bSYour Name                       gain_chain2                                             : 16;
116*5113495bSYour Name              uint32_t rtt_fac_combined                                        : 16,
117*5113495bSYour Name                       rtt_timing_backoff_sel                                  :  8,
118*5113495bSYour Name                       gain_report_status                                      :  8;
119*5113495bSYour Name              uint32_t rtt_fac_1                                               : 16,
120*5113495bSYour Name                       rtt_fac_0                                               : 16;
121*5113495bSYour Name              uint32_t rtt_fac_3                                               : 16,
122*5113495bSYour Name                       rtt_fac_2                                               : 16;
123*5113495bSYour Name              uint32_t rtt_fac_5                                               : 16,
124*5113495bSYour Name                       rtt_fac_4                                               : 16;
125*5113495bSYour Name              uint32_t rtt_fac_7                                               : 16,
126*5113495bSYour Name                       rtt_fac_6                                               : 16;
127*5113495bSYour Name              uint32_t rtt_fac_9                                               : 16,
128*5113495bSYour Name                       rtt_fac_8                                               : 16;
129*5113495bSYour Name              uint32_t rtt_fac_11                                              : 16,
130*5113495bSYour Name                       rtt_fac_10                                              : 16;
131*5113495bSYour Name              uint32_t rtt_fac_13                                              : 16,
132*5113495bSYour Name                       rtt_fac_12                                              : 16;
133*5113495bSYour Name              uint32_t rtt_fac_15                                              : 16,
134*5113495bSYour Name                       rtt_fac_14                                              : 16;
135*5113495bSYour Name              uint32_t rtt_fac_17                                              : 16,
136*5113495bSYour Name                       rtt_fac_16                                              : 16;
137*5113495bSYour Name              uint32_t rtt_fac_19                                              : 16,
138*5113495bSYour Name                       rtt_fac_18                                              : 16;
139*5113495bSYour Name              uint32_t rtt_fac_21                                              : 16,
140*5113495bSYour Name                       rtt_fac_20                                              : 16;
141*5113495bSYour Name              uint32_t rtt_fac_23                                              : 16,
142*5113495bSYour Name                       rtt_fac_22                                              : 16;
143*5113495bSYour Name              uint32_t rtt_fac_25                                              : 16,
144*5113495bSYour Name                       rtt_fac_24                                              : 16;
145*5113495bSYour Name              uint32_t rtt_fac_27                                              : 16,
146*5113495bSYour Name                       rtt_fac_26                                              : 16;
147*5113495bSYour Name              uint32_t rtt_fac_29                                              : 16,
148*5113495bSYour Name                       rtt_fac_28                                              : 16;
149*5113495bSYour Name              uint32_t rtt_fac_31                                              : 16,
150*5113495bSYour Name                       rtt_fac_30                                              : 16;
151*5113495bSYour Name              uint32_t reserved_27a                                            : 32;
152*5113495bSYour Name #endif
153*5113495bSYour Name };
154*5113495bSYour Name 
155*5113495bSYour Name #define RX_LOCATION_INFO_RX_LOCATION_INFO_VALID_OFFSET                              0x00000000
156*5113495bSYour Name #define RX_LOCATION_INFO_RX_LOCATION_INFO_VALID_LSB                                 0
157*5113495bSYour Name #define RX_LOCATION_INFO_RX_LOCATION_INFO_VALID_MSB                                 0
158*5113495bSYour Name #define RX_LOCATION_INFO_RX_LOCATION_INFO_VALID_MASK                                0x00000001
159*5113495bSYour Name 
160*5113495bSYour Name #define RX_LOCATION_INFO_RTT_HW_IFFT_MODE_OFFSET                                    0x00000000
161*5113495bSYour Name #define RX_LOCATION_INFO_RTT_HW_IFFT_MODE_LSB                                       1
162*5113495bSYour Name #define RX_LOCATION_INFO_RTT_HW_IFFT_MODE_MSB                                       1
163*5113495bSYour Name #define RX_LOCATION_INFO_RTT_HW_IFFT_MODE_MASK                                      0x00000002
164*5113495bSYour Name 
165*5113495bSYour Name #define RX_LOCATION_INFO_RTT_11AZ_MODE_OFFSET                                       0x00000000
166*5113495bSYour Name #define RX_LOCATION_INFO_RTT_11AZ_MODE_LSB                                          2
167*5113495bSYour Name #define RX_LOCATION_INFO_RTT_11AZ_MODE_MSB                                          3
168*5113495bSYour Name #define RX_LOCATION_INFO_RTT_11AZ_MODE_MASK                                         0x0000000c
169*5113495bSYour Name 
170*5113495bSYour Name #define RX_LOCATION_INFO_RESERVED_0_OFFSET                                          0x00000000
171*5113495bSYour Name #define RX_LOCATION_INFO_RESERVED_0_LSB                                             4
172*5113495bSYour Name #define RX_LOCATION_INFO_RESERVED_0_MSB                                             7
173*5113495bSYour Name #define RX_LOCATION_INFO_RESERVED_0_MASK                                            0x000000f0
174*5113495bSYour Name 
175*5113495bSYour Name #define RX_LOCATION_INFO_RTT_NUM_FAC_OFFSET                                         0x00000000
176*5113495bSYour Name #define RX_LOCATION_INFO_RTT_NUM_FAC_LSB                                            8
177*5113495bSYour Name #define RX_LOCATION_INFO_RTT_NUM_FAC_MSB                                            15
178*5113495bSYour Name #define RX_LOCATION_INFO_RTT_NUM_FAC_MASK                                           0x0000ff00
179*5113495bSYour Name 
180*5113495bSYour Name #define RX_LOCATION_INFO_RTT_RX_CHAIN_MASK_OFFSET                                   0x00000000
181*5113495bSYour Name #define RX_LOCATION_INFO_RTT_RX_CHAIN_MASK_LSB                                      16
182*5113495bSYour Name #define RX_LOCATION_INFO_RTT_RX_CHAIN_MASK_MSB                                      23
183*5113495bSYour Name #define RX_LOCATION_INFO_RTT_RX_CHAIN_MASK_MASK                                     0x00ff0000
184*5113495bSYour Name 
185*5113495bSYour Name #define RX_LOCATION_INFO_RTT_NUM_STREAMS_OFFSET                                     0x00000000
186*5113495bSYour Name #define RX_LOCATION_INFO_RTT_NUM_STREAMS_LSB                                        24
187*5113495bSYour Name #define RX_LOCATION_INFO_RTT_NUM_STREAMS_MSB                                        31
188*5113495bSYour Name #define RX_LOCATION_INFO_RTT_NUM_STREAMS_MASK                                       0xff000000
189*5113495bSYour Name 
190*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FIRST_SELECTED_CHAIN_OFFSET                            0x00000004
191*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FIRST_SELECTED_CHAIN_LSB                               0
192*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FIRST_SELECTED_CHAIN_MSB                               7
193*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FIRST_SELECTED_CHAIN_MASK                              0x000000ff
194*5113495bSYour Name 
195*5113495bSYour Name #define RX_LOCATION_INFO_RTT_SECOND_SELECTED_CHAIN_OFFSET                           0x00000004
196*5113495bSYour Name #define RX_LOCATION_INFO_RTT_SECOND_SELECTED_CHAIN_LSB                              8
197*5113495bSYour Name #define RX_LOCATION_INFO_RTT_SECOND_SELECTED_CHAIN_MSB                              15
198*5113495bSYour Name #define RX_LOCATION_INFO_RTT_SECOND_SELECTED_CHAIN_MASK                             0x0000ff00
199*5113495bSYour Name 
200*5113495bSYour Name #define RX_LOCATION_INFO_RTT_CFR_STATUS_OFFSET                                      0x00000004
201*5113495bSYour Name #define RX_LOCATION_INFO_RTT_CFR_STATUS_LSB                                         16
202*5113495bSYour Name #define RX_LOCATION_INFO_RTT_CFR_STATUS_MSB                                         23
203*5113495bSYour Name #define RX_LOCATION_INFO_RTT_CFR_STATUS_MASK                                        0x00ff0000
204*5113495bSYour Name 
205*5113495bSYour Name #define RX_LOCATION_INFO_RTT_CIR_STATUS_OFFSET                                      0x00000004
206*5113495bSYour Name #define RX_LOCATION_INFO_RTT_CIR_STATUS_LSB                                         24
207*5113495bSYour Name #define RX_LOCATION_INFO_RTT_CIR_STATUS_MSB                                         31
208*5113495bSYour Name #define RX_LOCATION_INFO_RTT_CIR_STATUS_MASK                                        0xff000000
209*5113495bSYour Name 
210*5113495bSYour Name #define RX_LOCATION_INFO_RTT_CHE_BUFFER_POINTER_LOW32_OFFSET                        0x00000008
211*5113495bSYour Name #define RX_LOCATION_INFO_RTT_CHE_BUFFER_POINTER_LOW32_LSB                           0
212*5113495bSYour Name #define RX_LOCATION_INFO_RTT_CHE_BUFFER_POINTER_LOW32_MSB                           31
213*5113495bSYour Name #define RX_LOCATION_INFO_RTT_CHE_BUFFER_POINTER_LOW32_MASK                          0xffffffff
214*5113495bSYour Name 
215*5113495bSYour Name #define RX_LOCATION_INFO_RTT_CHE_BUFFER_POINTER_HIGH8_OFFSET                        0x0000000c
216*5113495bSYour Name #define RX_LOCATION_INFO_RTT_CHE_BUFFER_POINTER_HIGH8_LSB                           0
217*5113495bSYour Name #define RX_LOCATION_INFO_RTT_CHE_BUFFER_POINTER_HIGH8_MSB                           7
218*5113495bSYour Name #define RX_LOCATION_INFO_RTT_CHE_BUFFER_POINTER_HIGH8_MASK                          0x000000ff
219*5113495bSYour Name 
220*5113495bSYour Name #define RX_LOCATION_INFO_RESERVED_3_OFFSET                                          0x0000000c
221*5113495bSYour Name #define RX_LOCATION_INFO_RESERVED_3_LSB                                             8
222*5113495bSYour Name #define RX_LOCATION_INFO_RESERVED_3_MSB                                             15
223*5113495bSYour Name #define RX_LOCATION_INFO_RESERVED_3_MASK                                            0x0000ff00
224*5113495bSYour Name 
225*5113495bSYour Name #define RX_LOCATION_INFO_RTT_PKT_BW_VHT_OFFSET                                      0x0000000c
226*5113495bSYour Name #define RX_LOCATION_INFO_RTT_PKT_BW_VHT_LSB                                         16
227*5113495bSYour Name #define RX_LOCATION_INFO_RTT_PKT_BW_VHT_MSB                                         19
228*5113495bSYour Name #define RX_LOCATION_INFO_RTT_PKT_BW_VHT_MASK                                        0x000f0000
229*5113495bSYour Name 
230*5113495bSYour Name #define RX_LOCATION_INFO_RTT_PKT_BW_LEG_OFFSET                                      0x0000000c
231*5113495bSYour Name #define RX_LOCATION_INFO_RTT_PKT_BW_LEG_LSB                                         20
232*5113495bSYour Name #define RX_LOCATION_INFO_RTT_PKT_BW_LEG_MSB                                         23
233*5113495bSYour Name #define RX_LOCATION_INFO_RTT_PKT_BW_LEG_MASK                                        0x00f00000
234*5113495bSYour Name 
235*5113495bSYour Name #define RX_LOCATION_INFO_RTT_MCS_RATE_OFFSET                                        0x0000000c
236*5113495bSYour Name #define RX_LOCATION_INFO_RTT_MCS_RATE_LSB                                           24
237*5113495bSYour Name #define RX_LOCATION_INFO_RTT_MCS_RATE_MSB                                           31
238*5113495bSYour Name #define RX_LOCATION_INFO_RTT_MCS_RATE_MASK                                          0xff000000
239*5113495bSYour Name 
240*5113495bSYour Name #define RX_LOCATION_INFO_RTT_CFO_MEASUREMENT_OFFSET                                 0x00000010
241*5113495bSYour Name #define RX_LOCATION_INFO_RTT_CFO_MEASUREMENT_LSB                                    0
242*5113495bSYour Name #define RX_LOCATION_INFO_RTT_CFO_MEASUREMENT_MSB                                    15
243*5113495bSYour Name #define RX_LOCATION_INFO_RTT_CFO_MEASUREMENT_MASK                                   0x0000ffff
244*5113495bSYour Name 
245*5113495bSYour Name #define RX_LOCATION_INFO_RTT_PREAMBLE_TYPE_OFFSET                                   0x00000010
246*5113495bSYour Name #define RX_LOCATION_INFO_RTT_PREAMBLE_TYPE_LSB                                      16
247*5113495bSYour Name #define RX_LOCATION_INFO_RTT_PREAMBLE_TYPE_MSB                                      23
248*5113495bSYour Name #define RX_LOCATION_INFO_RTT_PREAMBLE_TYPE_MASK                                     0x00ff0000
249*5113495bSYour Name 
250*5113495bSYour Name #define RX_LOCATION_INFO_RTT_GI_TYPE_OFFSET                                         0x00000010
251*5113495bSYour Name #define RX_LOCATION_INFO_RTT_GI_TYPE_LSB                                            24
252*5113495bSYour Name #define RX_LOCATION_INFO_RTT_GI_TYPE_MSB                                            31
253*5113495bSYour Name #define RX_LOCATION_INFO_RTT_GI_TYPE_MASK                                           0xff000000
254*5113495bSYour Name 
255*5113495bSYour Name #define RX_LOCATION_INFO_RX_START_TS_OFFSET                                         0x00000014
256*5113495bSYour Name #define RX_LOCATION_INFO_RX_START_TS_LSB                                            0
257*5113495bSYour Name #define RX_LOCATION_INFO_RX_START_TS_MSB                                            31
258*5113495bSYour Name #define RX_LOCATION_INFO_RX_START_TS_MASK                                           0xffffffff
259*5113495bSYour Name 
260*5113495bSYour Name #define RX_LOCATION_INFO_RX_START_TS_UPPER_OFFSET                                   0x00000018
261*5113495bSYour Name #define RX_LOCATION_INFO_RX_START_TS_UPPER_LSB                                      0
262*5113495bSYour Name #define RX_LOCATION_INFO_RX_START_TS_UPPER_MSB                                      31
263*5113495bSYour Name #define RX_LOCATION_INFO_RX_START_TS_UPPER_MASK                                     0xffffffff
264*5113495bSYour Name 
265*5113495bSYour Name #define RX_LOCATION_INFO_RX_END_TS_OFFSET                                           0x0000001c
266*5113495bSYour Name #define RX_LOCATION_INFO_RX_END_TS_LSB                                              0
267*5113495bSYour Name #define RX_LOCATION_INFO_RX_END_TS_MSB                                              31
268*5113495bSYour Name #define RX_LOCATION_INFO_RX_END_TS_MASK                                             0xffffffff
269*5113495bSYour Name 
270*5113495bSYour Name #define RX_LOCATION_INFO_GAIN_CHAIN0_OFFSET                                         0x00000020
271*5113495bSYour Name #define RX_LOCATION_INFO_GAIN_CHAIN0_LSB                                            0
272*5113495bSYour Name #define RX_LOCATION_INFO_GAIN_CHAIN0_MSB                                            15
273*5113495bSYour Name #define RX_LOCATION_INFO_GAIN_CHAIN0_MASK                                           0x0000ffff
274*5113495bSYour Name 
275*5113495bSYour Name #define RX_LOCATION_INFO_GAIN_CHAIN1_OFFSET                                         0x00000020
276*5113495bSYour Name #define RX_LOCATION_INFO_GAIN_CHAIN1_LSB                                            16
277*5113495bSYour Name #define RX_LOCATION_INFO_GAIN_CHAIN1_MSB                                            31
278*5113495bSYour Name #define RX_LOCATION_INFO_GAIN_CHAIN1_MASK                                           0xffff0000
279*5113495bSYour Name 
280*5113495bSYour Name #define RX_LOCATION_INFO_GAIN_CHAIN2_OFFSET                                         0x00000024
281*5113495bSYour Name #define RX_LOCATION_INFO_GAIN_CHAIN2_LSB                                            0
282*5113495bSYour Name #define RX_LOCATION_INFO_GAIN_CHAIN2_MSB                                            15
283*5113495bSYour Name #define RX_LOCATION_INFO_GAIN_CHAIN2_MASK                                           0x0000ffff
284*5113495bSYour Name 
285*5113495bSYour Name #define RX_LOCATION_INFO_GAIN_CHAIN3_OFFSET                                         0x00000024
286*5113495bSYour Name #define RX_LOCATION_INFO_GAIN_CHAIN3_LSB                                            16
287*5113495bSYour Name #define RX_LOCATION_INFO_GAIN_CHAIN3_MSB                                            31
288*5113495bSYour Name #define RX_LOCATION_INFO_GAIN_CHAIN3_MASK                                           0xffff0000
289*5113495bSYour Name 
290*5113495bSYour Name #define RX_LOCATION_INFO_GAIN_REPORT_STATUS_OFFSET                                  0x00000028
291*5113495bSYour Name #define RX_LOCATION_INFO_GAIN_REPORT_STATUS_LSB                                     0
292*5113495bSYour Name #define RX_LOCATION_INFO_GAIN_REPORT_STATUS_MSB                                     7
293*5113495bSYour Name #define RX_LOCATION_INFO_GAIN_REPORT_STATUS_MASK                                    0x000000ff
294*5113495bSYour Name 
295*5113495bSYour Name #define RX_LOCATION_INFO_RTT_TIMING_BACKOFF_SEL_OFFSET                              0x00000028
296*5113495bSYour Name #define RX_LOCATION_INFO_RTT_TIMING_BACKOFF_SEL_LSB                                 8
297*5113495bSYour Name #define RX_LOCATION_INFO_RTT_TIMING_BACKOFF_SEL_MSB                                 15
298*5113495bSYour Name #define RX_LOCATION_INFO_RTT_TIMING_BACKOFF_SEL_MASK                                0x0000ff00
299*5113495bSYour Name 
300*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_COMBINED_OFFSET                                    0x00000028
301*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_COMBINED_LSB                                       16
302*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_COMBINED_MSB                                       31
303*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_COMBINED_MASK                                      0xffff0000
304*5113495bSYour Name 
305*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_0_OFFSET                                           0x0000002c
306*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_0_LSB                                              0
307*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_0_MSB                                              15
308*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_0_MASK                                             0x0000ffff
309*5113495bSYour Name 
310*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_1_OFFSET                                           0x0000002c
311*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_1_LSB                                              16
312*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_1_MSB                                              31
313*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_1_MASK                                             0xffff0000
314*5113495bSYour Name 
315*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_2_OFFSET                                           0x00000030
316*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_2_LSB                                              0
317*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_2_MSB                                              15
318*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_2_MASK                                             0x0000ffff
319*5113495bSYour Name 
320*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_3_OFFSET                                           0x00000030
321*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_3_LSB                                              16
322*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_3_MSB                                              31
323*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_3_MASK                                             0xffff0000
324*5113495bSYour Name 
325*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_4_OFFSET                                           0x00000034
326*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_4_LSB                                              0
327*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_4_MSB                                              15
328*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_4_MASK                                             0x0000ffff
329*5113495bSYour Name 
330*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_5_OFFSET                                           0x00000034
331*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_5_LSB                                              16
332*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_5_MSB                                              31
333*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_5_MASK                                             0xffff0000
334*5113495bSYour Name 
335*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_6_OFFSET                                           0x00000038
336*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_6_LSB                                              0
337*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_6_MSB                                              15
338*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_6_MASK                                             0x0000ffff
339*5113495bSYour Name 
340*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_7_OFFSET                                           0x00000038
341*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_7_LSB                                              16
342*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_7_MSB                                              31
343*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_7_MASK                                             0xffff0000
344*5113495bSYour Name 
345*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_8_OFFSET                                           0x0000003c
346*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_8_LSB                                              0
347*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_8_MSB                                              15
348*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_8_MASK                                             0x0000ffff
349*5113495bSYour Name 
350*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_9_OFFSET                                           0x0000003c
351*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_9_LSB                                              16
352*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_9_MSB                                              31
353*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_9_MASK                                             0xffff0000
354*5113495bSYour Name 
355*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_10_OFFSET                                          0x00000040
356*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_10_LSB                                             0
357*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_10_MSB                                             15
358*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_10_MASK                                            0x0000ffff
359*5113495bSYour Name 
360*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_11_OFFSET                                          0x00000040
361*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_11_LSB                                             16
362*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_11_MSB                                             31
363*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_11_MASK                                            0xffff0000
364*5113495bSYour Name 
365*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_12_OFFSET                                          0x00000044
366*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_12_LSB                                             0
367*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_12_MSB                                             15
368*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_12_MASK                                            0x0000ffff
369*5113495bSYour Name 
370*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_13_OFFSET                                          0x00000044
371*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_13_LSB                                             16
372*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_13_MSB                                             31
373*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_13_MASK                                            0xffff0000
374*5113495bSYour Name 
375*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_14_OFFSET                                          0x00000048
376*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_14_LSB                                             0
377*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_14_MSB                                             15
378*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_14_MASK                                            0x0000ffff
379*5113495bSYour Name 
380*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_15_OFFSET                                          0x00000048
381*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_15_LSB                                             16
382*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_15_MSB                                             31
383*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_15_MASK                                            0xffff0000
384*5113495bSYour Name 
385*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_16_OFFSET                                          0x0000004c
386*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_16_LSB                                             0
387*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_16_MSB                                             15
388*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_16_MASK                                            0x0000ffff
389*5113495bSYour Name 
390*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_17_OFFSET                                          0x0000004c
391*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_17_LSB                                             16
392*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_17_MSB                                             31
393*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_17_MASK                                            0xffff0000
394*5113495bSYour Name 
395*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_18_OFFSET                                          0x00000050
396*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_18_LSB                                             0
397*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_18_MSB                                             15
398*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_18_MASK                                            0x0000ffff
399*5113495bSYour Name 
400*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_19_OFFSET                                          0x00000050
401*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_19_LSB                                             16
402*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_19_MSB                                             31
403*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_19_MASK                                            0xffff0000
404*5113495bSYour Name 
405*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_20_OFFSET                                          0x00000054
406*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_20_LSB                                             0
407*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_20_MSB                                             15
408*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_20_MASK                                            0x0000ffff
409*5113495bSYour Name 
410*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_21_OFFSET                                          0x00000054
411*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_21_LSB                                             16
412*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_21_MSB                                             31
413*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_21_MASK                                            0xffff0000
414*5113495bSYour Name 
415*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_22_OFFSET                                          0x00000058
416*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_22_LSB                                             0
417*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_22_MSB                                             15
418*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_22_MASK                                            0x0000ffff
419*5113495bSYour Name 
420*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_23_OFFSET                                          0x00000058
421*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_23_LSB                                             16
422*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_23_MSB                                             31
423*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_23_MASK                                            0xffff0000
424*5113495bSYour Name 
425*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_24_OFFSET                                          0x0000005c
426*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_24_LSB                                             0
427*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_24_MSB                                             15
428*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_24_MASK                                            0x0000ffff
429*5113495bSYour Name 
430*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_25_OFFSET                                          0x0000005c
431*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_25_LSB                                             16
432*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_25_MSB                                             31
433*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_25_MASK                                            0xffff0000
434*5113495bSYour Name 
435*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_26_OFFSET                                          0x00000060
436*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_26_LSB                                             0
437*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_26_MSB                                             15
438*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_26_MASK                                            0x0000ffff
439*5113495bSYour Name 
440*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_27_OFFSET                                          0x00000060
441*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_27_LSB                                             16
442*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_27_MSB                                             31
443*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_27_MASK                                            0xffff0000
444*5113495bSYour Name 
445*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_28_OFFSET                                          0x00000064
446*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_28_LSB                                             0
447*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_28_MSB                                             15
448*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_28_MASK                                            0x0000ffff
449*5113495bSYour Name 
450*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_29_OFFSET                                          0x00000064
451*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_29_LSB                                             16
452*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_29_MSB                                             31
453*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_29_MASK                                            0xffff0000
454*5113495bSYour Name 
455*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_30_OFFSET                                          0x00000068
456*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_30_LSB                                             0
457*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_30_MSB                                             15
458*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_30_MASK                                            0x0000ffff
459*5113495bSYour Name 
460*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_31_OFFSET                                          0x00000068
461*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_31_LSB                                             16
462*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_31_MSB                                             31
463*5113495bSYour Name #define RX_LOCATION_INFO_RTT_FAC_31_MASK                                            0xffff0000
464*5113495bSYour Name 
465*5113495bSYour Name #define RX_LOCATION_INFO_RESERVED_27A_OFFSET                                        0x0000006c
466*5113495bSYour Name #define RX_LOCATION_INFO_RESERVED_27A_LSB                                           0
467*5113495bSYour Name #define RX_LOCATION_INFO_RESERVED_27A_MSB                                           31
468*5113495bSYour Name #define RX_LOCATION_INFO_RESERVED_27A_MASK                                          0xffffffff
469*5113495bSYour Name 
470*5113495bSYour Name #endif
471