phyrx_location.h 34 KB

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