phyrx_location.h 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911
  1. /*
  2. * Copyright (c) 2023 Qualcomm Innovation Center, Inc. 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. #ifndef _PHYRX_LOCATION_H_
  17. #define _PHYRX_LOCATION_H_
  18. #if !defined(__ASSEMBLER__)
  19. #endif
  20. #include "rx_location_info.h"
  21. #define NUM_OF_DWORDS_PHYRX_LOCATION 28
  22. #define NUM_OF_QWORDS_PHYRX_LOCATION 14
  23. struct phyrx_location {
  24. #ifndef WIFI_BIT_ORDER_BIG_ENDIAN
  25. struct rx_location_info rx_location_info_details;
  26. #else
  27. struct rx_location_info rx_location_info_details;
  28. #endif
  29. };
  30. /* Description RX_LOCATION_INFO_DETAILS
  31. Overview of location related info
  32. */
  33. /* Description RX_LOCATION_INFO_VALID
  34. <enum 0 rx_location_info_is_not_valid>
  35. <enum 1 rx_location_info_is_valid>
  36. <legal all>
  37. */
  38. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RX_LOCATION_INFO_VALID_OFFSET 0x0000000000000000
  39. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RX_LOCATION_INFO_VALID_LSB 0
  40. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RX_LOCATION_INFO_VALID_MSB 0
  41. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RX_LOCATION_INFO_VALID_MASK 0x0000000000000001
  42. /* Description RTT_HW_IFFT_MODE
  43. Indicator showing if HW IFFT mode or SW IFFT mode
  44. <enum 0 location_sw_ifft_mode>
  45. <enum 1 location_hw_ifft_mode>
  46. <legal all>
  47. */
  48. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_HW_IFFT_MODE_OFFSET 0x0000000000000000
  49. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_HW_IFFT_MODE_LSB 1
  50. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_HW_IFFT_MODE_MSB 1
  51. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_HW_IFFT_MODE_MASK 0x0000000000000002
  52. /* Description RTT_11AZ_MODE
  53. Indicator showing RTT5/.11mc or .11az mode for debug
  54. <enum 0 location_rtt5_mode> legacy RTT5/.11mc mode
  55. <enum 1 location_11az_ISTA> .11az ISTA location info. sent
  56. on Rx path after receiving R2I LMR
  57. <enum 2 location_RSVD>
  58. <enum 3 location_11az_RSTA> .11az RSTA location info. sent
  59. on Tx path after transmitting R2I LMR
  60. <legal all>
  61. */
  62. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_11AZ_MODE_OFFSET 0x0000000000000000
  63. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_11AZ_MODE_LSB 2
  64. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_11AZ_MODE_MSB 3
  65. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_11AZ_MODE_MASK 0x000000000000000c
  66. /* Description RESERVED_0
  67. <legal 0>
  68. */
  69. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RESERVED_0_OFFSET 0x0000000000000000
  70. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RESERVED_0_LSB 4
  71. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RESERVED_0_MSB 7
  72. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RESERVED_0_MASK 0x00000000000000f0
  73. /* Description RTT_NUM_FAC
  74. Number of valid first arrival correction (FAC) values (in
  75. fields rtt_fac_0 - rtt_fac_31)
  76. <legal 0-32>
  77. */
  78. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_NUM_FAC_OFFSET 0x0000000000000000
  79. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_NUM_FAC_LSB 8
  80. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_NUM_FAC_MSB 15
  81. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_NUM_FAC_MASK 0x000000000000ff00
  82. /* Description RTT_RX_CHAIN_MASK
  83. Rx chain mask, each bit is a Rx chain
  84. 0: the Rx chain is not used
  85. 1: the Rx chain is used
  86. Up to 4 Rx chains are supported.
  87. <legal all>
  88. */
  89. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_RX_CHAIN_MASK_OFFSET 0x0000000000000000
  90. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_RX_CHAIN_MASK_LSB 16
  91. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_RX_CHAIN_MASK_MSB 23
  92. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_RX_CHAIN_MASK_MASK 0x0000000000ff0000
  93. /* Description RTT_NUM_STREAMS
  94. Number of streams used
  95. Up to 8 streams are supported.
  96. <legal 0-8>
  97. */
  98. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_NUM_STREAMS_OFFSET 0x0000000000000000
  99. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_NUM_STREAMS_LSB 24
  100. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_NUM_STREAMS_MSB 31
  101. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_NUM_STREAMS_MASK 0x00000000ff000000
  102. /* Description RTT_FIRST_SELECTED_CHAIN
  103. For legacy RTT5/.11mc mode, this field shows the first selected
  104. Rx chain that is used for FAC calculations, when forced
  105. by a virtual register.
  106. <enum 0 location_selected_chain_is_0>
  107. <enum 1 location_selected_chain_is_1>
  108. <enum 2 location_selected_chain_is_2>
  109. <enum 3 location_selected_chain_is_3>
  110. <legal 0-3>
  111. */
  112. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FIRST_SELECTED_CHAIN_OFFSET 0x0000000000000000
  113. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FIRST_SELECTED_CHAIN_LSB 32
  114. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FIRST_SELECTED_CHAIN_MSB 39
  115. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FIRST_SELECTED_CHAIN_MASK 0x000000ff00000000
  116. /* Description RTT_SECOND_SELECTED_CHAIN
  117. For legacy RTT5/.11mc mode, this field shows the second
  118. selected Rx chain that is used for FAC calculations, when
  119. forced by a virtual register.
  120. <enum 0 location_selected_chain_is_0>
  121. <enum 1 location_selected_chain_is_1>
  122. <enum 2 location_selected_chain_is_2>
  123. <enum 3 location_selected_chain_is_3>
  124. <legal 0-3>
  125. */
  126. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_SECOND_SELECTED_CHAIN_OFFSET 0x0000000000000000
  127. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_SECOND_SELECTED_CHAIN_LSB 40
  128. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_SECOND_SELECTED_CHAIN_MSB 47
  129. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_SECOND_SELECTED_CHAIN_MASK 0x0000ff0000000000
  130. /* Description RTT_CFR_STATUS
  131. Status of channel frequency response dump
  132. <enum 0 location_CFR_dump_not_valid>
  133. <enum 1 location_CFR_dump_valid>
  134. <legal 0-1>
  135. */
  136. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_CFR_STATUS_OFFSET 0x0000000000000000
  137. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_CFR_STATUS_LSB 48
  138. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_CFR_STATUS_MSB 55
  139. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_CFR_STATUS_MASK 0x00ff000000000000
  140. /* Description RTT_CIR_STATUS
  141. Status of channel impulse response dump
  142. <enum 0 location_CIR_dump_not_valid>
  143. <enum 1 location_CIR_dump_valid>
  144. <legal 0-1>
  145. */
  146. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_CIR_STATUS_OFFSET 0x0000000000000000
  147. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_CIR_STATUS_LSB 56
  148. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_CIR_STATUS_MSB 63
  149. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_CIR_STATUS_MASK 0xff00000000000000
  150. /* Description RTT_CHE_BUFFER_POINTER_LOW32
  151. The low 32 bits of the 40 bits pointer pointed to the external
  152. RTT channel information buffer
  153. <legal all>
  154. */
  155. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_CHE_BUFFER_POINTER_LOW32_OFFSET 0x0000000000000008
  156. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_CHE_BUFFER_POINTER_LOW32_LSB 0
  157. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_CHE_BUFFER_POINTER_LOW32_MSB 31
  158. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_CHE_BUFFER_POINTER_LOW32_MASK 0x00000000ffffffff
  159. /* Description RTT_CHE_BUFFER_POINTER_HIGH8
  160. The high 8 bits of the 40 bits pointer pointed to the external
  161. RTT channel information buffer
  162. <legal all>
  163. */
  164. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_CHE_BUFFER_POINTER_HIGH8_OFFSET 0x0000000000000008
  165. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_CHE_BUFFER_POINTER_HIGH8_LSB 32
  166. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_CHE_BUFFER_POINTER_HIGH8_MSB 39
  167. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_CHE_BUFFER_POINTER_HIGH8_MASK 0x000000ff00000000
  168. /* Description RESERVED_3
  169. <legal 0>
  170. */
  171. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RESERVED_3_OFFSET 0x0000000000000008
  172. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RESERVED_3_LSB 40
  173. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RESERVED_3_MSB 47
  174. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RESERVED_3_MASK 0x0000ff0000000000
  175. /* Description RTT_PKT_BW_VHT
  176. Indicate the bandwidth of (V)HT/HE-LTF
  177. <enum 0 location_pkt_bw_20MHz>
  178. <enum 1 location_pkt_bw_40MHz>
  179. <enum 2 location_pkt_bw_80MHz>
  180. <enum 3 location_pkt_bw_160MHz>
  181. <enum 4 location_pkt_bw_240MHz> Only valid for CFR, FAC
  182. calculations are not PoR for 240 MHz.
  183. <enum 5 location_pkt_bw_320MHz> Only valid for CFR, FAC
  184. calculations are not PoR for 320 MHz.
  185. <legal 0-5>
  186. */
  187. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_PKT_BW_VHT_OFFSET 0x0000000000000008
  188. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_PKT_BW_VHT_LSB 48
  189. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_PKT_BW_VHT_MSB 51
  190. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_PKT_BW_VHT_MASK 0x000f000000000000
  191. /* Description RTT_PKT_BW_LEG
  192. Indicate the bandwidth of L-LTF
  193. <enum 0 location_pkt_bw_20MHz>
  194. <enum 1 location_pkt_bw_40MHz>
  195. <enum 2 location_pkt_bw_80MHz>
  196. <enum 3 location_pkt_bw_160MHz>
  197. <enum 4 location_pkt_bw_240MHz> Only valid for CFR, FAC
  198. calculations are not PoR for 240 MHz.
  199. <enum 5 location_pkt_bw_320MHz> Only valid for CFR, FAC
  200. calculations are not PoR for 320 MHz.
  201. <legal 0-5>
  202. */
  203. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_PKT_BW_LEG_OFFSET 0x0000000000000008
  204. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_PKT_BW_LEG_LSB 52
  205. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_PKT_BW_LEG_MSB 55
  206. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_PKT_BW_LEG_MASK 0x00f0000000000000
  207. /* Description RTT_MCS_RATE
  208. Bits 0~4 indicate MCS rate, if Legacy,
  209. 0: 48 Mbps,
  210. 1: 24 Mbps,
  211. 2: 12 Mbps,
  212. 3: 6 Mbps,
  213. 4: 54 Mbps,
  214. 5: 36 Mbps,
  215. 6: 18 Mbps,
  216. 7: 9 Mbps,
  217. 8-15: reserved
  218. if HT, 0-7: MCS0-MCS7, 8-15: reserved,
  219. if VHT, 0-9: MCS0-MCS9, 10-15: reserved,
  220. if HE or EHT, 0-11: MCS0-MCS11, 12-13: 4096QAM, 14-15: reserved
  221. <legal all>
  222. */
  223. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_MCS_RATE_OFFSET 0x0000000000000008
  224. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_MCS_RATE_LSB 56
  225. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_MCS_RATE_MSB 63
  226. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_MCS_RATE_MASK 0xff00000000000000
  227. /* Description RTT_CFO_MEASUREMENT
  228. CFO measurement. Needed for passive locationing
  229. 14 bits, signed 1.13. 13 bits fraction to provide a resolution
  230. of 153 Hz
  231. In units of cycles/800 ns
  232. <legal 0-16383>
  233. */
  234. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_CFO_MEASUREMENT_OFFSET 0x0000000000000010
  235. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_CFO_MEASUREMENT_LSB 0
  236. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_CFO_MEASUREMENT_MSB 15
  237. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_CFO_MEASUREMENT_MASK 0x000000000000ffff
  238. /* Description RTT_PREAMBLE_TYPE
  239. Indicate preamble type
  240. <enum 0 location_preamble_type_legacy>
  241. <enum 1 location_preamble_type_ht>
  242. <enum 2 location_preamble_type_vht>
  243. <enum 3 location_preamble_type_he_su_4xltf>
  244. <enum 4 location_preamble_type_he_su_2xltf>
  245. <enum 5 location_preamble_type_he_su_1xltf>
  246. <enum 6 location_preamble_type_he_trigger_based_ul_4xltf>
  247. <enum 7 location_preamble_type_he_trigger_based_ul_2xltf>
  248. <enum 8 location_preamble_type_he_trigger_based_ul_1xltf>
  249. <enum 9 location_preamble_type_he_mu_4xltf>
  250. <enum 10 location_preamble_type_he_mu_2xltf>
  251. <enum 11 location_preamble_type_he_mu_1xltf>
  252. <enum 12 location_preamble_type_he_extended_range_su_4xltf>
  253. <enum 13 location_preamble_type_he_extended_range_su_2xltf>
  254. <enum 14 location_preamble_type_he_extended_range_su_1xltf>
  255. <legal 0-14>
  256. */
  257. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_PREAMBLE_TYPE_OFFSET 0x0000000000000010
  258. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_PREAMBLE_TYPE_LSB 16
  259. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_PREAMBLE_TYPE_MSB 23
  260. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_PREAMBLE_TYPE_MASK 0x0000000000ff0000
  261. /* Description RTT_GI_TYPE
  262. Indicate GI (guard interval) type
  263. <enum 0 location_gi_0_8_us > HE related GI. Can also be
  264. used for HE
  265. <enum 1 location_gi_0_4_us > HE related GI. Can also be
  266. used for HE
  267. <enum 2 location_gi_1_6_us > HE related GI
  268. <enum 3 location_gi_3_2_us > HE related GI
  269. <legal 0 - 3>
  270. */
  271. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_GI_TYPE_OFFSET 0x0000000000000010
  272. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_GI_TYPE_LSB 24
  273. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_GI_TYPE_MSB 31
  274. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_GI_TYPE_MASK 0x00000000ff000000
  275. /* Description RX_START_TS
  276. RX packet start timestamp lower 32 bits
  277. It reports the time the first L-STF ADC sample arrived at
  278. RX antenna.
  279. The clock unit is 960MHz.
  280. <legal all>
  281. */
  282. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RX_START_TS_OFFSET 0x0000000000000010
  283. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RX_START_TS_LSB 32
  284. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RX_START_TS_MSB 63
  285. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RX_START_TS_MASK 0xffffffff00000000
  286. /* Description RX_START_TS_UPPER
  287. RX packet start timestamp upper 32 bits
  288. It reports the time the first L-STF ADC sample arrived at
  289. RX antenna.
  290. The clock unit is 960MHz.
  291. <legal all>
  292. */
  293. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RX_START_TS_UPPER_OFFSET 0x0000000000000018
  294. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RX_START_TS_UPPER_LSB 0
  295. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RX_START_TS_UPPER_MSB 31
  296. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RX_START_TS_UPPER_MASK 0x00000000ffffffff
  297. /* Description RX_END_TS
  298. RX packet end timestamp lower 32 bits
  299. It reports the time the last symbol's last ADC sample arrived
  300. at RX antenna.
  301. The clock unit is 960MHz. Only 32 bits are reported.
  302. <legal all>
  303. */
  304. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RX_END_TS_OFFSET 0x0000000000000018
  305. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RX_END_TS_LSB 32
  306. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RX_END_TS_MSB 63
  307. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RX_END_TS_MASK 0xffffffff00000000
  308. /* Description GAIN_CHAIN0
  309. Reports the total gain in dB and the gain table index to
  310. support angle of arrival for chain0
  311. */
  312. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_GAIN_CHAIN0_OFFSET 0x0000000000000020
  313. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_GAIN_CHAIN0_LSB 0
  314. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_GAIN_CHAIN0_MSB 15
  315. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_GAIN_CHAIN0_MASK 0x000000000000ffff
  316. /* Description GAIN_CHAIN1
  317. Reports the total gain in dB and the gain table index to
  318. support angle of arrival for chain1
  319. */
  320. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_GAIN_CHAIN1_OFFSET 0x0000000000000020
  321. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_GAIN_CHAIN1_LSB 16
  322. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_GAIN_CHAIN1_MSB 31
  323. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_GAIN_CHAIN1_MASK 0x00000000ffff0000
  324. /* Description GAIN_CHAIN2
  325. Reports the total gain in dB and the gain table index to
  326. support angle of arrival for chain2
  327. */
  328. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_GAIN_CHAIN2_OFFSET 0x0000000000000020
  329. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_GAIN_CHAIN2_LSB 32
  330. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_GAIN_CHAIN2_MSB 47
  331. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_GAIN_CHAIN2_MASK 0x0000ffff00000000
  332. /* Description GAIN_CHAIN3
  333. Reports the total gain in dB and the gain table index to
  334. support angle of arrival for chain3
  335. */
  336. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_GAIN_CHAIN3_OFFSET 0x0000000000000020
  337. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_GAIN_CHAIN3_LSB 48
  338. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_GAIN_CHAIN3_MSB 63
  339. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_GAIN_CHAIN3_MASK 0xffff000000000000
  340. /* Description GAIN_REPORT_STATUS
  341. Number of valid gain reports (in fields gain_chain0 - gain_chain_3)
  342. <legal 0-4>
  343. */
  344. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_GAIN_REPORT_STATUS_OFFSET 0x0000000000000028
  345. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_GAIN_REPORT_STATUS_LSB 0
  346. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_GAIN_REPORT_STATUS_MSB 7
  347. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_GAIN_REPORT_STATUS_MASK 0x00000000000000ff
  348. /* Description RTT_TIMING_BACKOFF_SEL
  349. Indicate which timing backoff value is used
  350. <enum 0 timing_backoff_low_rssi>
  351. <enum 1 timing_backoff_mid_rssi>
  352. <enum 2 timing_backoff_high_rssi>
  353. <enum 3 reserved>
  354. <legal 0-3>
  355. */
  356. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_TIMING_BACKOFF_SEL_OFFSET 0x0000000000000028
  357. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_TIMING_BACKOFF_SEL_LSB 8
  358. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_TIMING_BACKOFF_SEL_MSB 15
  359. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_TIMING_BACKOFF_SEL_MASK 0x000000000000ff00
  360. /* Description RTT_FAC_COMBINED
  361. Final adjusted and combined first arrival correction value
  362. <legal all>
  363. */
  364. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_COMBINED_OFFSET 0x0000000000000028
  365. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_COMBINED_LSB 16
  366. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_COMBINED_MSB 31
  367. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_COMBINED_MASK 0x00000000ffff0000
  368. /* Description RTT_FAC_0
  369. The fields 'rtt_fac_0' - 'rtt_fac_31' show the RTT first
  370. arrival correction (FAC) value computed from the LTFs on
  371. the selected Rx chains.
  372. 16 bits, signed 11.5. 11 integer bits to cover -3.2us to
  373. 3.2us, and 5 fraction bits to cover 160 MHz with 32x FAC
  374. interpolation.
  375. The clock unit is 320MHz.
  376. For .11az/MIMO, the FACs will be stored in spatial stream
  377. order with multiple chains reported together for each stream. [ss0-ch0,
  378. ss0-ch1, ..., ss1-ch0, ss1-ch1, ...]
  379. For legacy RTT5/.11mc, the FACs will be stored in preamble
  380. order with multiple chains reported together for each LTF. [legacy-ch0,
  381. legacy-ch1, ..., (v)ht/he-ch0, (v)ht/he-ch1, ...]
  382. */
  383. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_0_OFFSET 0x0000000000000028
  384. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_0_LSB 32
  385. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_0_MSB 47
  386. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_0_MASK 0x0000ffff00000000
  387. /* Description RTT_FAC_1
  388. See 'rtt_fac_0' description
  389. */
  390. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_1_OFFSET 0x0000000000000028
  391. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_1_LSB 48
  392. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_1_MSB 63
  393. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_1_MASK 0xffff000000000000
  394. /* Description RTT_FAC_2
  395. See 'rtt_fac_0' description
  396. */
  397. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_2_OFFSET 0x0000000000000030
  398. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_2_LSB 0
  399. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_2_MSB 15
  400. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_2_MASK 0x000000000000ffff
  401. /* Description RTT_FAC_3
  402. See 'rtt_fac_0' description
  403. */
  404. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_3_OFFSET 0x0000000000000030
  405. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_3_LSB 16
  406. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_3_MSB 31
  407. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_3_MASK 0x00000000ffff0000
  408. /* Description RTT_FAC_4
  409. See 'rtt_fac_0' description
  410. */
  411. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_4_OFFSET 0x0000000000000030
  412. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_4_LSB 32
  413. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_4_MSB 47
  414. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_4_MASK 0x0000ffff00000000
  415. /* Description RTT_FAC_5
  416. See 'rtt_fac_0' description
  417. */
  418. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_5_OFFSET 0x0000000000000030
  419. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_5_LSB 48
  420. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_5_MSB 63
  421. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_5_MASK 0xffff000000000000
  422. /* Description RTT_FAC_6
  423. See 'rtt_fac_0' description
  424. */
  425. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_6_OFFSET 0x0000000000000038
  426. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_6_LSB 0
  427. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_6_MSB 15
  428. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_6_MASK 0x000000000000ffff
  429. /* Description RTT_FAC_7
  430. See 'rtt_fac_0' description
  431. */
  432. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_7_OFFSET 0x0000000000000038
  433. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_7_LSB 16
  434. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_7_MSB 31
  435. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_7_MASK 0x00000000ffff0000
  436. /* Description RTT_FAC_8
  437. See 'rtt_fac_0' description
  438. */
  439. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_8_OFFSET 0x0000000000000038
  440. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_8_LSB 32
  441. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_8_MSB 47
  442. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_8_MASK 0x0000ffff00000000
  443. /* Description RTT_FAC_9
  444. See 'rtt_fac_0' description
  445. */
  446. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_9_OFFSET 0x0000000000000038
  447. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_9_LSB 48
  448. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_9_MSB 63
  449. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_9_MASK 0xffff000000000000
  450. /* Description RTT_FAC_10
  451. See 'rtt_fac_0' description
  452. */
  453. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_10_OFFSET 0x0000000000000040
  454. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_10_LSB 0
  455. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_10_MSB 15
  456. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_10_MASK 0x000000000000ffff
  457. /* Description RTT_FAC_11
  458. See 'rtt_fac_0' description
  459. */
  460. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_11_OFFSET 0x0000000000000040
  461. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_11_LSB 16
  462. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_11_MSB 31
  463. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_11_MASK 0x00000000ffff0000
  464. /* Description RTT_FAC_12
  465. See 'rtt_fac_0' description
  466. */
  467. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_12_OFFSET 0x0000000000000040
  468. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_12_LSB 32
  469. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_12_MSB 47
  470. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_12_MASK 0x0000ffff00000000
  471. /* Description RTT_FAC_13
  472. See 'rtt_fac_0' description
  473. */
  474. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_13_OFFSET 0x0000000000000040
  475. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_13_LSB 48
  476. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_13_MSB 63
  477. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_13_MASK 0xffff000000000000
  478. /* Description RTT_FAC_14
  479. See 'rtt_fac_0' description
  480. */
  481. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_14_OFFSET 0x0000000000000048
  482. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_14_LSB 0
  483. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_14_MSB 15
  484. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_14_MASK 0x000000000000ffff
  485. /* Description RTT_FAC_15
  486. See 'rtt_fac_0' description
  487. */
  488. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_15_OFFSET 0x0000000000000048
  489. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_15_LSB 16
  490. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_15_MSB 31
  491. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_15_MASK 0x00000000ffff0000
  492. /* Description RTT_FAC_16
  493. See 'rtt_fac_0' description
  494. */
  495. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_16_OFFSET 0x0000000000000048
  496. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_16_LSB 32
  497. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_16_MSB 47
  498. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_16_MASK 0x0000ffff00000000
  499. /* Description RTT_FAC_17
  500. See 'rtt_fac_0' description
  501. */
  502. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_17_OFFSET 0x0000000000000048
  503. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_17_LSB 48
  504. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_17_MSB 63
  505. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_17_MASK 0xffff000000000000
  506. /* Description RTT_FAC_18
  507. See 'rtt_fac_0' description
  508. */
  509. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_18_OFFSET 0x0000000000000050
  510. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_18_LSB 0
  511. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_18_MSB 15
  512. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_18_MASK 0x000000000000ffff
  513. /* Description RTT_FAC_19
  514. See 'rtt_fac_0' description
  515. */
  516. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_19_OFFSET 0x0000000000000050
  517. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_19_LSB 16
  518. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_19_MSB 31
  519. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_19_MASK 0x00000000ffff0000
  520. /* Description RTT_FAC_20
  521. See 'rtt_fac_0' description
  522. */
  523. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_20_OFFSET 0x0000000000000050
  524. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_20_LSB 32
  525. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_20_MSB 47
  526. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_20_MASK 0x0000ffff00000000
  527. /* Description RTT_FAC_21
  528. See 'rtt_fac_0' description
  529. */
  530. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_21_OFFSET 0x0000000000000050
  531. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_21_LSB 48
  532. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_21_MSB 63
  533. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_21_MASK 0xffff000000000000
  534. /* Description RTT_FAC_22
  535. See 'rtt_fac_0' description
  536. */
  537. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_22_OFFSET 0x0000000000000058
  538. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_22_LSB 0
  539. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_22_MSB 15
  540. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_22_MASK 0x000000000000ffff
  541. /* Description RTT_FAC_23
  542. See 'rtt_fac_0' description
  543. */
  544. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_23_OFFSET 0x0000000000000058
  545. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_23_LSB 16
  546. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_23_MSB 31
  547. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_23_MASK 0x00000000ffff0000
  548. /* Description RTT_FAC_24
  549. See 'rtt_fac_0' description
  550. */
  551. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_24_OFFSET 0x0000000000000058
  552. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_24_LSB 32
  553. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_24_MSB 47
  554. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_24_MASK 0x0000ffff00000000
  555. /* Description RTT_FAC_25
  556. See 'rtt_fac_0' description
  557. */
  558. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_25_OFFSET 0x0000000000000058
  559. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_25_LSB 48
  560. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_25_MSB 63
  561. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_25_MASK 0xffff000000000000
  562. /* Description RTT_FAC_26
  563. See 'rtt_fac_0' description
  564. */
  565. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_26_OFFSET 0x0000000000000060
  566. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_26_LSB 0
  567. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_26_MSB 15
  568. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_26_MASK 0x000000000000ffff
  569. /* Description RTT_FAC_27
  570. See 'rtt_fac_0' description
  571. */
  572. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_27_OFFSET 0x0000000000000060
  573. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_27_LSB 16
  574. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_27_MSB 31
  575. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_27_MASK 0x00000000ffff0000
  576. /* Description RTT_FAC_28
  577. See 'rtt_fac_0' description
  578. */
  579. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_28_OFFSET 0x0000000000000060
  580. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_28_LSB 32
  581. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_28_MSB 47
  582. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_28_MASK 0x0000ffff00000000
  583. /* Description RTT_FAC_29
  584. See 'rtt_fac_0' description
  585. */
  586. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_29_OFFSET 0x0000000000000060
  587. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_29_LSB 48
  588. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_29_MSB 63
  589. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_29_MASK 0xffff000000000000
  590. /* Description RTT_FAC_30
  591. See 'rtt_fac_0' description
  592. */
  593. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_30_OFFSET 0x0000000000000068
  594. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_30_LSB 0
  595. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_30_MSB 15
  596. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_30_MASK 0x000000000000ffff
  597. /* Description RTT_FAC_31
  598. See 'rtt_fac_0' description
  599. */
  600. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_31_OFFSET 0x0000000000000068
  601. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_31_LSB 16
  602. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_31_MSB 31
  603. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RTT_FAC_31_MASK 0x00000000ffff0000
  604. /* Description RESERVED_27A
  605. <legal 0>
  606. */
  607. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RESERVED_27A_OFFSET 0x0000000000000068
  608. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RESERVED_27A_LSB 32
  609. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RESERVED_27A_MSB 63
  610. #define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_RESERVED_27A_MASK 0xffffffff00000000
  611. #endif // PHYRX_LOCATION