phyrx_pkt_end_info.h 67 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902
  1. /*
  2. * Copyright (c) 2021 The Linux Foundation. All rights reserved.
  3. *
  4. * Permission to use, copy, modify, and/or distribute this software for any
  5. * purpose with or without fee is hereby granted, provided that the above
  6. * copyright notice and this permission notice appear in all copies.
  7. *
  8. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  9. * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  10. * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  11. * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  12. * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  13. * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  14. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  15. */
  16. // $ATH_LICENSE_HW_HDR_C$
  17. //
  18. // DO NOT EDIT! This file is automatically generated
  19. // These definitions are tied to a particular hardware layout
  20. #ifndef _PHYRX_PKT_END_INFO_H_
  21. #define _PHYRX_PKT_END_INFO_H_
  22. #if !defined(__ASSEMBLER__)
  23. #endif
  24. #include "rx_location_info.h"
  25. #include "rx_timing_offset_info.h"
  26. #include "receive_rssi_info.h"
  27. // ################ START SUMMARY #################
  28. //
  29. // Dword Fields
  30. // 0 phy_internal_nap[0], location_info_valid[1], timing_info_valid[2], rssi_info_valid[3], rx_frame_correction_needed[4], frameless_frame_received[5], reserved_0a[11:6], dl_ofdma_info_valid[12], dl_ofdma_ru_start_index[19:13], dl_ofdma_ru_width[26:20], reserved_0b[31:27]
  31. // 1 phy_timestamp_1_lower_32[31:0]
  32. // 2 phy_timestamp_1_upper_32[31:0]
  33. // 3 phy_timestamp_2_lower_32[31:0]
  34. // 4 phy_timestamp_2_upper_32[31:0]
  35. // 5-13 struct rx_location_info rx_location_info_details;
  36. // 14 struct rx_timing_offset_info rx_timing_offset_info_details;
  37. // 15-30 struct receive_rssi_info post_rssi_info_details;
  38. // 31 phy_sw_status_31_0[31:0]
  39. // 32 phy_sw_status_63_32[31:0]
  40. //
  41. // ################ END SUMMARY #################
  42. #define NUM_OF_DWORDS_PHYRX_PKT_END_INFO 33
  43. struct phyrx_pkt_end_info {
  44. uint32_t phy_internal_nap : 1, //[0]
  45. location_info_valid : 1, //[1]
  46. timing_info_valid : 1, //[2]
  47. rssi_info_valid : 1, //[3]
  48. rx_frame_correction_needed : 1, //[4]
  49. frameless_frame_received : 1, //[5]
  50. reserved_0a : 6, //[11:6]
  51. dl_ofdma_info_valid : 1, //[12]
  52. dl_ofdma_ru_start_index : 7, //[19:13]
  53. dl_ofdma_ru_width : 7, //[26:20]
  54. reserved_0b : 5; //[31:27]
  55. uint32_t phy_timestamp_1_lower_32 : 32; //[31:0]
  56. uint32_t phy_timestamp_1_upper_32 : 32; //[31:0]
  57. uint32_t phy_timestamp_2_lower_32 : 32; //[31:0]
  58. uint32_t phy_timestamp_2_upper_32 : 32; //[31:0]
  59. struct rx_location_info rx_location_info_details;
  60. struct rx_timing_offset_info rx_timing_offset_info_details;
  61. struct receive_rssi_info post_rssi_info_details;
  62. uint32_t phy_sw_status_31_0 : 32; //[31:0]
  63. uint32_t phy_sw_status_63_32 : 32; //[31:0]
  64. };
  65. /*
  66. phy_internal_nap
  67. When set, PHY RX entered an internal NAP state, as PHY
  68. determined that this reception was not destined to this
  69. device
  70. location_info_valid
  71. Indicates that the RX_LOCATION_INFO structure later on
  72. in the TLV contains valid info
  73. timing_info_valid
  74. Indicates that the RX_TIMING_OFFSET_INFO structure later
  75. on in the TLV contains valid info
  76. rssi_info_valid
  77. Indicates that the RECEIVE_RSSI_INFO structure later on
  78. in the TLV contains valid info
  79. rx_frame_correction_needed
  80. When clear, no action is needed in the MAC.
  81. When set, the falling edge of the rx_frame happened 4us
  82. too late. MAC will need to compensate for this delay in
  83. order to maintain proper SIFS timing and/or not to get
  84. de-slotted.
  85. PHY uses this for very short 11a frames.
  86. When set, PHY will have passed this TLV to the MAC up to
  87. 8 us into the 'real SIFS' time, and thus within 4us from the
  88. falling edge of the rx_frame.
  89. <legal all>
  90. frameless_frame_received
  91. When set, PHY has received the 'frameless frame' . Can
  92. be used in the 'MU-RTS -CTS exchange where CTS reception can
  93. be problematic.
  94. <legal all>
  95. reserved_0a
  96. <legal 0>
  97. dl_ofdma_info_valid
  98. When set, the following DL_ofdma_... fields are valid.
  99. It provides the MAC insight into which RU was allocated
  100. to this device.
  101. <legal all>
  102. dl_ofdma_ru_start_index
  103. RU index number to which User is assigned
  104. RU numbering is over the entire BW, starting from 0 and
  105. in increasing frequency order and not primary-secondary
  106. order
  107. <legal 0-73>
  108. dl_ofdma_ru_width
  109. The size of the RU for this user.
  110. In units of 1 (26 tone) RU
  111. <legal 1-74>
  112. reserved_0b
  113. <legal 0>
  114. phy_timestamp_1_lower_32
  115. TODO PHY: cleanup descriptionThe PHY timestamp in the
  116. AMPI of the first rising edge of rx_clear_pri after
  117. TX_PHY_DESC. . This field should set to 0 by the PHY and
  118. should be updated by the AMPI before being forwarded to the
  119. rest of the MAC. This field indicates the lower 32 bits of
  120. the timestamp
  121. phy_timestamp_1_upper_32
  122. TODO PHY: cleanup description
  123. The PHY timestamp in the AMPI of the first rising edge
  124. of rx_clear_pri after TX_PHY_DESC. This field should set to
  125. 0 by the PHY and should be updated by the AMPI before being
  126. forwarded to the rest of the MAC. This field indicates the
  127. upper 32 bits of the timestamp
  128. phy_timestamp_2_lower_32
  129. TODO PHY: cleanup description
  130. The PHY timestamp in the AMPI of the rising edge of
  131. rx_clear_pri after RX_RSSI_LEGACY. This field should set to
  132. 0 by the PHY and should be updated by the AMPI before being
  133. forwarded to the rest of the MAC. This field indicates the
  134. lower 32 bits of the timestamp
  135. phy_timestamp_2_upper_32
  136. TODO PHY: cleanup description
  137. The PHY timestamp in the AMPI of the rising edge of
  138. rx_clear_pri after RX_RSSI_LEGACY. This field should set to
  139. 0 by the PHY and should be updated by the AMPI before being
  140. forwarded to the rest of the MAC. This field indicates the
  141. upper 32 bits of the timestamp
  142. struct rx_location_info rx_location_info_details
  143. Overview of location related info
  144. struct rx_timing_offset_info rx_timing_offset_info_details
  145. Overview of timing offset related info
  146. struct receive_rssi_info post_rssi_info_details
  147. Overview of the post-RSSI values.
  148. phy_sw_status_31_0
  149. Some PHY micro code status that can be put in here.
  150. Details of definition within SW specification
  151. This field can be used for debugging, FW - SW message
  152. exchange, etc.
  153. It could for example be a pointer to a DDR memory
  154. location where PHY FW put some debug info.
  155. <legal all>
  156. phy_sw_status_63_32
  157. Some PHY micro code status that can be put in here.
  158. Details of definition within SW specification
  159. This field can be used for debugging, FW - SW message
  160. exchange, etc.
  161. It could for example be a pointer to a DDR memory
  162. location where PHY FW put some debug info.
  163. <legal all>
  164. */
  165. /* Description PHYRX_PKT_END_INFO_0_PHY_INTERNAL_NAP
  166. When set, PHY RX entered an internal NAP state, as PHY
  167. determined that this reception was not destined to this
  168. device
  169. */
  170. #define PHYRX_PKT_END_INFO_0_PHY_INTERNAL_NAP_OFFSET 0x00000000
  171. #define PHYRX_PKT_END_INFO_0_PHY_INTERNAL_NAP_LSB 0
  172. #define PHYRX_PKT_END_INFO_0_PHY_INTERNAL_NAP_MASK 0x00000001
  173. /* Description PHYRX_PKT_END_INFO_0_LOCATION_INFO_VALID
  174. Indicates that the RX_LOCATION_INFO structure later on
  175. in the TLV contains valid info
  176. */
  177. #define PHYRX_PKT_END_INFO_0_LOCATION_INFO_VALID_OFFSET 0x00000000
  178. #define PHYRX_PKT_END_INFO_0_LOCATION_INFO_VALID_LSB 1
  179. #define PHYRX_PKT_END_INFO_0_LOCATION_INFO_VALID_MASK 0x00000002
  180. /* Description PHYRX_PKT_END_INFO_0_TIMING_INFO_VALID
  181. Indicates that the RX_TIMING_OFFSET_INFO structure later
  182. on in the TLV contains valid info
  183. */
  184. #define PHYRX_PKT_END_INFO_0_TIMING_INFO_VALID_OFFSET 0x00000000
  185. #define PHYRX_PKT_END_INFO_0_TIMING_INFO_VALID_LSB 2
  186. #define PHYRX_PKT_END_INFO_0_TIMING_INFO_VALID_MASK 0x00000004
  187. /* Description PHYRX_PKT_END_INFO_0_RSSI_INFO_VALID
  188. Indicates that the RECEIVE_RSSI_INFO structure later on
  189. in the TLV contains valid info
  190. */
  191. #define PHYRX_PKT_END_INFO_0_RSSI_INFO_VALID_OFFSET 0x00000000
  192. #define PHYRX_PKT_END_INFO_0_RSSI_INFO_VALID_LSB 3
  193. #define PHYRX_PKT_END_INFO_0_RSSI_INFO_VALID_MASK 0x00000008
  194. /* Description PHYRX_PKT_END_INFO_0_RX_FRAME_CORRECTION_NEEDED
  195. When clear, no action is needed in the MAC.
  196. When set, the falling edge of the rx_frame happened 4us
  197. too late. MAC will need to compensate for this delay in
  198. order to maintain proper SIFS timing and/or not to get
  199. de-slotted.
  200. PHY uses this for very short 11a frames.
  201. When set, PHY will have passed this TLV to the MAC up to
  202. 8 us into the 'real SIFS' time, and thus within 4us from the
  203. falling edge of the rx_frame.
  204. <legal all>
  205. */
  206. #define PHYRX_PKT_END_INFO_0_RX_FRAME_CORRECTION_NEEDED_OFFSET 0x00000000
  207. #define PHYRX_PKT_END_INFO_0_RX_FRAME_CORRECTION_NEEDED_LSB 4
  208. #define PHYRX_PKT_END_INFO_0_RX_FRAME_CORRECTION_NEEDED_MASK 0x00000010
  209. /* Description PHYRX_PKT_END_INFO_0_FRAMELESS_FRAME_RECEIVED
  210. When set, PHY has received the 'frameless frame' . Can
  211. be used in the 'MU-RTS -CTS exchange where CTS reception can
  212. be problematic.
  213. <legal all>
  214. */
  215. #define PHYRX_PKT_END_INFO_0_FRAMELESS_FRAME_RECEIVED_OFFSET 0x00000000
  216. #define PHYRX_PKT_END_INFO_0_FRAMELESS_FRAME_RECEIVED_LSB 5
  217. #define PHYRX_PKT_END_INFO_0_FRAMELESS_FRAME_RECEIVED_MASK 0x00000020
  218. /* Description PHYRX_PKT_END_INFO_0_RESERVED_0A
  219. <legal 0>
  220. */
  221. #define PHYRX_PKT_END_INFO_0_RESERVED_0A_OFFSET 0x00000000
  222. #define PHYRX_PKT_END_INFO_0_RESERVED_0A_LSB 6
  223. #define PHYRX_PKT_END_INFO_0_RESERVED_0A_MASK 0x00000fc0
  224. /* Description PHYRX_PKT_END_INFO_0_DL_OFDMA_INFO_VALID
  225. When set, the following DL_ofdma_... fields are valid.
  226. It provides the MAC insight into which RU was allocated
  227. to this device.
  228. <legal all>
  229. */
  230. #define PHYRX_PKT_END_INFO_0_DL_OFDMA_INFO_VALID_OFFSET 0x00000000
  231. #define PHYRX_PKT_END_INFO_0_DL_OFDMA_INFO_VALID_LSB 12
  232. #define PHYRX_PKT_END_INFO_0_DL_OFDMA_INFO_VALID_MASK 0x00001000
  233. /* Description PHYRX_PKT_END_INFO_0_DL_OFDMA_RU_START_INDEX
  234. RU index number to which User is assigned
  235. RU numbering is over the entire BW, starting from 0 and
  236. in increasing frequency order and not primary-secondary
  237. order
  238. <legal 0-73>
  239. */
  240. #define PHYRX_PKT_END_INFO_0_DL_OFDMA_RU_START_INDEX_OFFSET 0x00000000
  241. #define PHYRX_PKT_END_INFO_0_DL_OFDMA_RU_START_INDEX_LSB 13
  242. #define PHYRX_PKT_END_INFO_0_DL_OFDMA_RU_START_INDEX_MASK 0x000fe000
  243. /* Description PHYRX_PKT_END_INFO_0_DL_OFDMA_RU_WIDTH
  244. The size of the RU for this user.
  245. In units of 1 (26 tone) RU
  246. <legal 1-74>
  247. */
  248. #define PHYRX_PKT_END_INFO_0_DL_OFDMA_RU_WIDTH_OFFSET 0x00000000
  249. #define PHYRX_PKT_END_INFO_0_DL_OFDMA_RU_WIDTH_LSB 20
  250. #define PHYRX_PKT_END_INFO_0_DL_OFDMA_RU_WIDTH_MASK 0x07f00000
  251. /* Description PHYRX_PKT_END_INFO_0_RESERVED_0B
  252. <legal 0>
  253. */
  254. #define PHYRX_PKT_END_INFO_0_RESERVED_0B_OFFSET 0x00000000
  255. #define PHYRX_PKT_END_INFO_0_RESERVED_0B_LSB 27
  256. #define PHYRX_PKT_END_INFO_0_RESERVED_0B_MASK 0xf8000000
  257. /* Description PHYRX_PKT_END_INFO_1_PHY_TIMESTAMP_1_LOWER_32
  258. TODO PHY: cleanup descriptionThe PHY timestamp in the
  259. AMPI of the first rising edge of rx_clear_pri after
  260. TX_PHY_DESC. . This field should set to 0 by the PHY and
  261. should be updated by the AMPI before being forwarded to the
  262. rest of the MAC. This field indicates the lower 32 bits of
  263. the timestamp
  264. */
  265. #define PHYRX_PKT_END_INFO_1_PHY_TIMESTAMP_1_LOWER_32_OFFSET 0x00000004
  266. #define PHYRX_PKT_END_INFO_1_PHY_TIMESTAMP_1_LOWER_32_LSB 0
  267. #define PHYRX_PKT_END_INFO_1_PHY_TIMESTAMP_1_LOWER_32_MASK 0xffffffff
  268. /* Description PHYRX_PKT_END_INFO_2_PHY_TIMESTAMP_1_UPPER_32
  269. TODO PHY: cleanup description
  270. The PHY timestamp in the AMPI of the first rising edge
  271. of rx_clear_pri after TX_PHY_DESC. This field should set to
  272. 0 by the PHY and should be updated by the AMPI before being
  273. forwarded to the rest of the MAC. This field indicates the
  274. upper 32 bits of the timestamp
  275. */
  276. #define PHYRX_PKT_END_INFO_2_PHY_TIMESTAMP_1_UPPER_32_OFFSET 0x00000008
  277. #define PHYRX_PKT_END_INFO_2_PHY_TIMESTAMP_1_UPPER_32_LSB 0
  278. #define PHYRX_PKT_END_INFO_2_PHY_TIMESTAMP_1_UPPER_32_MASK 0xffffffff
  279. /* Description PHYRX_PKT_END_INFO_3_PHY_TIMESTAMP_2_LOWER_32
  280. TODO PHY: cleanup description
  281. The PHY timestamp in the AMPI of the rising edge of
  282. rx_clear_pri after RX_RSSI_LEGACY. This field should set to
  283. 0 by the PHY and should be updated by the AMPI before being
  284. forwarded to the rest of the MAC. This field indicates the
  285. lower 32 bits of the timestamp
  286. */
  287. #define PHYRX_PKT_END_INFO_3_PHY_TIMESTAMP_2_LOWER_32_OFFSET 0x0000000c
  288. #define PHYRX_PKT_END_INFO_3_PHY_TIMESTAMP_2_LOWER_32_LSB 0
  289. #define PHYRX_PKT_END_INFO_3_PHY_TIMESTAMP_2_LOWER_32_MASK 0xffffffff
  290. /* Description PHYRX_PKT_END_INFO_4_PHY_TIMESTAMP_2_UPPER_32
  291. TODO PHY: cleanup description
  292. The PHY timestamp in the AMPI of the rising edge of
  293. rx_clear_pri after RX_RSSI_LEGACY. This field should set to
  294. 0 by the PHY and should be updated by the AMPI before being
  295. forwarded to the rest of the MAC. This field indicates the
  296. upper 32 bits of the timestamp
  297. */
  298. #define PHYRX_PKT_END_INFO_4_PHY_TIMESTAMP_2_UPPER_32_OFFSET 0x00000010
  299. #define PHYRX_PKT_END_INFO_4_PHY_TIMESTAMP_2_UPPER_32_LSB 0
  300. #define PHYRX_PKT_END_INFO_4_PHY_TIMESTAMP_2_UPPER_32_MASK 0xffffffff
  301. /* EXTERNAL REFERENCE : struct rx_location_info rx_location_info_details */
  302. /* Description PHYRX_PKT_END_INFO_5_RX_LOCATION_INFO_DETAILS_RTT_FAC_LEGACY
  303. For 20/40/80, this field shows the RTT first arrival
  304. correction value computed from L-LTF on the first selected
  305. Rx chain
  306. For 80+80, this field shows the RTT first arrival
  307. correction value computed from L-LTF on pri80 on the
  308. selected pri80 Rx chain
  309. 16 bits, signed 12.4. 12 bits integer to cover -6.4us to
  310. 6.4us, and 4 bits fraction to cover pri80 and 32x FAC
  311. interpolation
  312. clock unit is 320MHz
  313. <legal all>
  314. */
  315. #define PHYRX_PKT_END_INFO_5_RX_LOCATION_INFO_DETAILS_RTT_FAC_LEGACY_OFFSET 0x00000014
  316. #define PHYRX_PKT_END_INFO_5_RX_LOCATION_INFO_DETAILS_RTT_FAC_LEGACY_LSB 0
  317. #define PHYRX_PKT_END_INFO_5_RX_LOCATION_INFO_DETAILS_RTT_FAC_LEGACY_MASK 0x0000ffff
  318. /* Description PHYRX_PKT_END_INFO_5_RX_LOCATION_INFO_DETAILS_RTT_FAC_LEGACY_EXT80
  319. For 20/40/80, this field shows the RTT first arrival
  320. correction value computed from L-LTF on the second selected
  321. Rx chain
  322. For 80+80, this field shows the RTT first arrival
  323. correction value computed from L-LTF on ext80 on the
  324. selected ext80 Rx chain
  325. 16 bits, signed 12.4. 12 bits integer to cover -6.4us to
  326. 6.4us, and 4 bits fraction to cover ext80 and 32x FAC
  327. interpolation
  328. clock unit is 320MHz
  329. <legal all>
  330. */
  331. #define PHYRX_PKT_END_INFO_5_RX_LOCATION_INFO_DETAILS_RTT_FAC_LEGACY_EXT80_OFFSET 0x00000014
  332. #define PHYRX_PKT_END_INFO_5_RX_LOCATION_INFO_DETAILS_RTT_FAC_LEGACY_EXT80_LSB 16
  333. #define PHYRX_PKT_END_INFO_5_RX_LOCATION_INFO_DETAILS_RTT_FAC_LEGACY_EXT80_MASK 0xffff0000
  334. /* Description PHYRX_PKT_END_INFO_6_RX_LOCATION_INFO_DETAILS_RTT_FAC_VHT
  335. For 20/40/80, this field shows the RTT first arrival
  336. correction value computed from (V)HT/HE-LTF on the first
  337. selected Rx chain
  338. For 80+80, this field shows the RTT first arrival
  339. correction value computed from (V)HT/HE-LTF on pri80 on the
  340. selected pri80 Rx chain
  341. 16 bits, signed 12.4. 12 bits integer to cover -6.4us to
  342. 6.4us, and 4 bits fraction to cover pri80 and 32x FAC
  343. interpolation
  344. clock unit is 320MHz
  345. <legal all>
  346. */
  347. #define PHYRX_PKT_END_INFO_6_RX_LOCATION_INFO_DETAILS_RTT_FAC_VHT_OFFSET 0x00000018
  348. #define PHYRX_PKT_END_INFO_6_RX_LOCATION_INFO_DETAILS_RTT_FAC_VHT_LSB 0
  349. #define PHYRX_PKT_END_INFO_6_RX_LOCATION_INFO_DETAILS_RTT_FAC_VHT_MASK 0x0000ffff
  350. /* Description PHYRX_PKT_END_INFO_6_RX_LOCATION_INFO_DETAILS_RTT_FAC_VHT_EXT80
  351. For 20/40/80, this field shows the RTT first arrival
  352. correction value computed from (V)HT/HE-LTF on the second
  353. selected Rx chain
  354. For 80+80, this field shows the RTT first arrival
  355. correction value computed from (V)HT/HE-LTF on ext80 on the
  356. selected ext80 Rx chain
  357. 16 bits, signed 12.4. 12 bits integer to cover -6.4us to
  358. 6.4us, and 4 bits fraction to cover ext80 and 32x FAC
  359. interpolation
  360. clock unit is 320MHz
  361. <legal all>
  362. */
  363. #define PHYRX_PKT_END_INFO_6_RX_LOCATION_INFO_DETAILS_RTT_FAC_VHT_EXT80_OFFSET 0x00000018
  364. #define PHYRX_PKT_END_INFO_6_RX_LOCATION_INFO_DETAILS_RTT_FAC_VHT_EXT80_LSB 16
  365. #define PHYRX_PKT_END_INFO_6_RX_LOCATION_INFO_DETAILS_RTT_FAC_VHT_EXT80_MASK 0xffff0000
  366. /* Description PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_FAC_LEGACY_STATUS
  367. Status of rtt_fac_legacy
  368. <enum 0 location_fac_legacy_status_not_valid>
  369. <enum 1 location_fac_legacy_status_valid>
  370. <legal all>
  371. */
  372. #define PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_FAC_LEGACY_STATUS_OFFSET 0x0000001c
  373. #define PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_FAC_LEGACY_STATUS_LSB 0
  374. #define PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_FAC_LEGACY_STATUS_MASK 0x00000001
  375. /* Description PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_FAC_LEGACY_EXT80_STATUS
  376. Status of rtt_fac_legacy_ext80
  377. <enum 0 location_fac_legacy_ext80_status_not_valid>
  378. <enum 1 location_fac_legacy_ext80_status_valid>
  379. <legal all>
  380. */
  381. #define PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_FAC_LEGACY_EXT80_STATUS_OFFSET 0x0000001c
  382. #define PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_FAC_LEGACY_EXT80_STATUS_LSB 1
  383. #define PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_FAC_LEGACY_EXT80_STATUS_MASK 0x00000002
  384. /* Description PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_FAC_VHT_STATUS
  385. Status of rtt_fac_vht
  386. <enum 0 location_fac_vht_status_not_valid>
  387. <enum 1 location_fac_vht_status_valid>
  388. <legal all>
  389. */
  390. #define PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_FAC_VHT_STATUS_OFFSET 0x0000001c
  391. #define PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_FAC_VHT_STATUS_LSB 2
  392. #define PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_FAC_VHT_STATUS_MASK 0x00000004
  393. /* Description PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_FAC_VHT_EXT80_STATUS
  394. Status of rtt_fac_vht_ext80
  395. <enum 0 location_fac_vht_ext80_status_not_valid>
  396. <enum 1 location_fac_vht_ext80_status_valid>
  397. <legal all>
  398. */
  399. #define PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_FAC_VHT_EXT80_STATUS_OFFSET 0x0000001c
  400. #define PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_FAC_VHT_EXT80_STATUS_LSB 3
  401. #define PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_FAC_VHT_EXT80_STATUS_MASK 0x00000008
  402. /* Description PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_FAC_SIFS
  403. To support fine SIFS adjustment, need to provide FAC
  404. value @ integer number of 320 MHz clock cycles to MAC.  It
  405. is from L-LTF if it is a Legacy packet and from (V)HT/HE-LTF
  406. if it is a (V)HT/HE packet
  407. 12 bits, signed, no fractional part
  408. <legal all>
  409. */
  410. #define PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_FAC_SIFS_OFFSET 0x0000001c
  411. #define PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_FAC_SIFS_LSB 4
  412. #define PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_FAC_SIFS_MASK 0x0000fff0
  413. /* Description PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_FAC_SIFS_STATUS
  414. Status of rtt_fac_sifs
  415. 0: not valid
  416. 1: valid and from L-LTF
  417. 2: valid and from (V)HT/HE-LTF
  418. 3: reserved
  419. <legal 0-2>
  420. */
  421. #define PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_FAC_SIFS_STATUS_OFFSET 0x0000001c
  422. #define PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_FAC_SIFS_STATUS_LSB 16
  423. #define PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_FAC_SIFS_STATUS_MASK 0x00030000
  424. /* Description PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_CFR_STATUS
  425. Status of channel frequency response dump
  426. <enum 0 location_CFR_dump_not_valid>
  427. <enum 1 location_CFR_dump_valid>
  428. <legal all>
  429. */
  430. #define PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_CFR_STATUS_OFFSET 0x0000001c
  431. #define PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_CFR_STATUS_LSB 18
  432. #define PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_CFR_STATUS_MASK 0x00040000
  433. /* Description PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_CIR_STATUS
  434. Status of channel impulse response dump
  435. <enum 0 location_CIR_dump_not_valid>
  436. <enum 1 location_CIR_dump_valid>
  437. <legal all>
  438. */
  439. #define PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_CIR_STATUS_OFFSET 0x0000001c
  440. #define PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_CIR_STATUS_LSB 19
  441. #define PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_CIR_STATUS_MASK 0x00080000
  442. /* Description PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_CHANNEL_DUMP_SIZE
  443. Channel dump size.  It shows how many tones in CFR in
  444. one chain, for example, it will show 52 for Legacy20 and 484
  445. for VHT160
  446. <legal all>
  447. */
  448. #define PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_CHANNEL_DUMP_SIZE_OFFSET 0x0000001c
  449. #define PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_CHANNEL_DUMP_SIZE_LSB 20
  450. #define PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_CHANNEL_DUMP_SIZE_MASK 0x7ff00000
  451. /* Description PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_HW_IFFT_MODE
  452. Indicator showing if HW IFFT mode or SW IFFT mode
  453. <enum 0 location_sw_ifft_mode>
  454. <enum 1 location_hw_ifft_mode>
  455. <legal all>
  456. */
  457. #define PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_HW_IFFT_MODE_OFFSET 0x0000001c
  458. #define PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_HW_IFFT_MODE_LSB 31
  459. #define PHYRX_PKT_END_INFO_7_RX_LOCATION_INFO_DETAILS_RTT_HW_IFFT_MODE_MASK 0x80000000
  460. /* Description PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_BTCF_STATUS
  461. Indicate if BTCF is used to capture the timestamps
  462. <enum 0 location_not_BTCF_based_ts>
  463. <enum 1 location_BTCF_based_ts>
  464. <legal all>
  465. */
  466. #define PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_BTCF_STATUS_OFFSET 0x00000020
  467. #define PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_BTCF_STATUS_LSB 0
  468. #define PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_BTCF_STATUS_MASK 0x00000001
  469. /* Description PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_PREAMBLE_TYPE
  470. Indicate preamble type
  471. <enum 0 location_preamble_type_legacy>
  472. <enum 1 location_preamble_type_ht>
  473. <enum 2 location_preamble_type_vht>
  474. <enum 3 location_preamble_type_he_su_4xltf>
  475. <enum 4 location_preamble_type_he_su_2xltf>
  476. <enum 5 location_preamble_type_he_su_1xltf>
  477. <enum 6
  478. location_preamble_type_he_trigger_based_ul_4xltf>
  479. <enum 7
  480. location_preamble_type_he_trigger_based_ul_2xltf>
  481. <enum 8
  482. location_preamble_type_he_trigger_based_ul_1xltf>
  483. <enum 9 location_preamble_type_he_mu_4xltf>
  484. <enum 10 location_preamble_type_he_mu_2xltf>
  485. <enum 11 location_preamble_type_he_mu_1xltf>
  486. <enum 12
  487. location_preamble_type_he_extended_range_su_4xltf>
  488. <enum 13
  489. location_preamble_type_he_extended_range_su_2xltf>
  490. <enum 14
  491. location_preamble_type_he_extended_range_su_1xltf>
  492. <legal 0-14>
  493. */
  494. #define PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_PREAMBLE_TYPE_OFFSET 0x00000020
  495. #define PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_PREAMBLE_TYPE_LSB 1
  496. #define PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_PREAMBLE_TYPE_MASK 0x0000003e
  497. /* Description PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_PKT_BW_LEG
  498. Indicate the bandwidth of L-LTF
  499. <enum 0 location_pkt_bw_20MHz>
  500. <enum 1 location_pkt_bw_40MHz>
  501. <enum 2 location_pkt_bw_80MHz>
  502. <enum 3 location_pkt_bw_160MHz>
  503. <legal all>
  504. */
  505. #define PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_PKT_BW_LEG_OFFSET 0x00000020
  506. #define PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_PKT_BW_LEG_LSB 6
  507. #define PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_PKT_BW_LEG_MASK 0x000000c0
  508. /* Description PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_PKT_BW_VHT
  509. Indicate the bandwidth of (V)HT/HE-LTF
  510. <enum 0 location_pkt_bw_20MHz>
  511. <enum 1 location_pkt_bw_40MHz>
  512. <enum 2 location_pkt_bw_80MHz>
  513. <enum 3 location_pkt_bw_160MHz>
  514. <legal all>
  515. */
  516. #define PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_PKT_BW_VHT_OFFSET 0x00000020
  517. #define PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_PKT_BW_VHT_LSB 8
  518. #define PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_PKT_BW_VHT_MASK 0x00000300
  519. /* Description PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_GI_TYPE
  520. Indicate GI (guard interval) type
  521. <enum 0 gi_0_8_us > HE related GI. Can also be used
  522. for HE
  523. <enum 1 gi_0_4_us > HE related GI. Can also be used
  524. for HE
  525. <enum 2 gi_1_6_us > HE related GI
  526. <enum 3 gi_3_2_us > HE related GI
  527. <legal 0 - 3>
  528. */
  529. #define PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_GI_TYPE_OFFSET 0x00000020
  530. #define PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_GI_TYPE_LSB 10
  531. #define PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_GI_TYPE_MASK 0x00000c00
  532. /* Description PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_MCS_RATE
  533. Bits 0~4 indicate MCS rate, if Legacy,
  534. 0: 48 Mbps,
  535. 1: 24 Mbps,
  536. 2: 12 Mbps,
  537. 3: 6 Mbps,
  538. 4: 54 Mbps,
  539. 5: 36 Mbps,
  540. 6: 18 Mbps,
  541. 7: 9 Mbps,
  542. if HT, 0-7: MCS0-MCS7,
  543. if VHT, 0-9: MCS0-MCS9,
  544. <legal all>
  545. */
  546. #define PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_MCS_RATE_OFFSET 0x00000020
  547. #define PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_MCS_RATE_LSB 12
  548. #define PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_MCS_RATE_MASK 0x0001f000
  549. /* Description PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_STRONGEST_CHAIN
  550. For 20/40/80, this field shows the first selected Rx
  551. chain that is used in HW IFFT mode
  552. For 80+80, this field shows the selected pri80 Rx chain
  553. that is used in HW IFFT mode
  554. <enum 0 location_strongest_chain_is_0>
  555. <enum 1 location_strongest_chain_is_1>
  556. <enum 2 location_strongest_chain_is_2>
  557. <enum 3 location_strongest_chain_is_3>
  558. <enum 4 location_strongest_chain_is_4>
  559. <enum 5 location_strongest_chain_is_5>
  560. <enum 6 location_strongest_chain_is_6>
  561. <enum 7 location_strongest_chain_is_7>
  562. <legal all>
  563. */
  564. #define PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_STRONGEST_CHAIN_OFFSET 0x00000020
  565. #define PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_STRONGEST_CHAIN_LSB 17
  566. #define PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_STRONGEST_CHAIN_MASK 0x000e0000
  567. /* Description PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_STRONGEST_CHAIN_EXT80
  568. For 20/40/80, this field shows the second selected Rx
  569. chain that is used in HW IFFT mode
  570. For 80+80, this field shows the selected ext80 Rx chain
  571. that is used in HW IFFT mode
  572. <enum 0 location_strongest_chain_is_0>
  573. <enum 1 location_strongest_chain_is_1>
  574. <enum 2 location_strongest_chain_is_2>
  575. <enum 3 location_strongest_chain_is_3>
  576. <enum 4 location_strongest_chain_is_4>
  577. <enum 5 location_strongest_chain_is_5>
  578. <enum 6 location_strongest_chain_is_6>
  579. <enum 7 location_strongest_chain_is_7>
  580. <legal all>
  581. */
  582. #define PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_STRONGEST_CHAIN_EXT80_OFFSET 0x00000020
  583. #define PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_STRONGEST_CHAIN_EXT80_LSB 20
  584. #define PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_STRONGEST_CHAIN_EXT80_MASK 0x00700000
  585. /* Description PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_RX_CHAIN_MASK
  586. Rx chain mask, each bit is a Rx chain
  587. 0: the Rx chain is not used
  588. 1: the Rx chain is used
  589. Support up to 8 Rx chains
  590. <legal all>
  591. */
  592. #define PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_RX_CHAIN_MASK_OFFSET 0x00000020
  593. #define PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_RX_CHAIN_MASK_LSB 23
  594. #define PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RTT_RX_CHAIN_MASK_MASK 0x7f800000
  595. /* Description PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RESERVED_3
  596. <legal 0>
  597. */
  598. #define PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RESERVED_3_OFFSET 0x00000020
  599. #define PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RESERVED_3_LSB 31
  600. #define PHYRX_PKT_END_INFO_8_RX_LOCATION_INFO_DETAILS_RESERVED_3_MASK 0x80000000
  601. /* Description PHYRX_PKT_END_INFO_9_RX_LOCATION_INFO_DETAILS_RX_START_TS
  602. RX packet start timestamp
  603. It reports the time the first L-STF ADC sample arrived
  604. at RX antenna
  605. clock unit is 480MHz
  606. <legal all>
  607. */
  608. #define PHYRX_PKT_END_INFO_9_RX_LOCATION_INFO_DETAILS_RX_START_TS_OFFSET 0x00000024
  609. #define PHYRX_PKT_END_INFO_9_RX_LOCATION_INFO_DETAILS_RX_START_TS_LSB 0
  610. #define PHYRX_PKT_END_INFO_9_RX_LOCATION_INFO_DETAILS_RX_START_TS_MASK 0xffffffff
  611. /* Description PHYRX_PKT_END_INFO_10_RX_LOCATION_INFO_DETAILS_RX_END_TS
  612. RX packet end timestamp
  613. It reports the time the last symbol's last ADC sample
  614. arrived at RX antenna
  615. clock unit is 480MHz
  616. <legal all>
  617. */
  618. #define PHYRX_PKT_END_INFO_10_RX_LOCATION_INFO_DETAILS_RX_END_TS_OFFSET 0x00000028
  619. #define PHYRX_PKT_END_INFO_10_RX_LOCATION_INFO_DETAILS_RX_END_TS_LSB 0
  620. #define PHYRX_PKT_END_INFO_10_RX_LOCATION_INFO_DETAILS_RX_END_TS_MASK 0xffffffff
  621. /* Description PHYRX_PKT_END_INFO_11_RX_LOCATION_INFO_DETAILS_SFO_PHASE_PKT_START
  622. The phase of the SFO of the first symbol's first FFT
  623. input sample
  624. 12 bits, signed 6.6. 6 bits integer to cover -66.7ns to
  625. 66.7ns, and 6 bits fraction to provide a resolution of
  626. 0.03ns
  627. clock unit is 480MHz
  628. <legal all>
  629. */
  630. #define PHYRX_PKT_END_INFO_11_RX_LOCATION_INFO_DETAILS_SFO_PHASE_PKT_START_OFFSET 0x0000002c
  631. #define PHYRX_PKT_END_INFO_11_RX_LOCATION_INFO_DETAILS_SFO_PHASE_PKT_START_LSB 0
  632. #define PHYRX_PKT_END_INFO_11_RX_LOCATION_INFO_DETAILS_SFO_PHASE_PKT_START_MASK 0x00000fff
  633. /* Description PHYRX_PKT_END_INFO_11_RX_LOCATION_INFO_DETAILS_SFO_PHASE_PKT_END
  634. The phase of the SFO of the last symbol's last FFT input
  635. sample
  636. 12 bits, signed 6.6. 6 bits integer to cover -66.7ns to
  637. 66.7ns, and 6 bits fraction to provide a resolution of
  638. 0.03ns
  639. clock unit is 480MHz
  640. <legal all>
  641. */
  642. #define PHYRX_PKT_END_INFO_11_RX_LOCATION_INFO_DETAILS_SFO_PHASE_PKT_END_OFFSET 0x0000002c
  643. #define PHYRX_PKT_END_INFO_11_RX_LOCATION_INFO_DETAILS_SFO_PHASE_PKT_END_LSB 12
  644. #define PHYRX_PKT_END_INFO_11_RX_LOCATION_INFO_DETAILS_SFO_PHASE_PKT_END_MASK 0x00fff000
  645. /* Description PHYRX_PKT_END_INFO_11_RX_LOCATION_INFO_DETAILS_RTT_CHE_BUFFER_POINTER_HIGH8
  646. The high 8 bits of the 40 bits pointer pointed to the
  647. external RTT channel information buffer
  648. 8 bits
  649. <legal all>
  650. */
  651. #define PHYRX_PKT_END_INFO_11_RX_LOCATION_INFO_DETAILS_RTT_CHE_BUFFER_POINTER_HIGH8_OFFSET 0x0000002c
  652. #define PHYRX_PKT_END_INFO_11_RX_LOCATION_INFO_DETAILS_RTT_CHE_BUFFER_POINTER_HIGH8_LSB 24
  653. #define PHYRX_PKT_END_INFO_11_RX_LOCATION_INFO_DETAILS_RTT_CHE_BUFFER_POINTER_HIGH8_MASK 0xff000000
  654. /* Description PHYRX_PKT_END_INFO_12_RX_LOCATION_INFO_DETAILS_RTT_CHE_BUFFER_POINTER_LOW32
  655. The low 32 bits of the 40 bits pointer pointed to the
  656. external RTT channel information buffer
  657. 32 bits
  658. <legal all>
  659. */
  660. #define PHYRX_PKT_END_INFO_12_RX_LOCATION_INFO_DETAILS_RTT_CHE_BUFFER_POINTER_LOW32_OFFSET 0x00000030
  661. #define PHYRX_PKT_END_INFO_12_RX_LOCATION_INFO_DETAILS_RTT_CHE_BUFFER_POINTER_LOW32_LSB 0
  662. #define PHYRX_PKT_END_INFO_12_RX_LOCATION_INFO_DETAILS_RTT_CHE_BUFFER_POINTER_LOW32_MASK 0xffffffff
  663. /* Description PHYRX_PKT_END_INFO_13_RX_LOCATION_INFO_DETAILS_RTT_CFO_MEASUREMENT
  664. CFO measurement. Needed for passive locationing
  665. 14 bits, signed 1.13. 13 bits fraction to provide a
  666. resolution of 153 Hz
  667. In units of cycles/800 ns
  668. <legal all>
  669. */
  670. #define PHYRX_PKT_END_INFO_13_RX_LOCATION_INFO_DETAILS_RTT_CFO_MEASUREMENT_OFFSET 0x00000034
  671. #define PHYRX_PKT_END_INFO_13_RX_LOCATION_INFO_DETAILS_RTT_CFO_MEASUREMENT_LSB 0
  672. #define PHYRX_PKT_END_INFO_13_RX_LOCATION_INFO_DETAILS_RTT_CFO_MEASUREMENT_MASK 0x00003fff
  673. /* Description PHYRX_PKT_END_INFO_13_RX_LOCATION_INFO_DETAILS_RTT_CHAN_SPREAD
  674. Channel delay spread measurement. Needed for selecting
  675. GI length
  676. 8 bits, unsigned. At 25 ns step. Can represent up to
  677. 6375 ns
  678. In units of cycles @ 40 MHz
  679. <legal all>
  680. */
  681. #define PHYRX_PKT_END_INFO_13_RX_LOCATION_INFO_DETAILS_RTT_CHAN_SPREAD_OFFSET 0x00000034
  682. #define PHYRX_PKT_END_INFO_13_RX_LOCATION_INFO_DETAILS_RTT_CHAN_SPREAD_LSB 14
  683. #define PHYRX_PKT_END_INFO_13_RX_LOCATION_INFO_DETAILS_RTT_CHAN_SPREAD_MASK 0x003fc000
  684. /* Description PHYRX_PKT_END_INFO_13_RX_LOCATION_INFO_DETAILS_RTT_TIMING_BACKOFF_SEL
  685. Indicate which timing backoff value is used
  686. <enum 0 timing_backoff_low_rssi>
  687. <enum 1 timing_backoff_mid_rssi>
  688. <enum 2 timing_backoff_high_rssi>
  689. <enum 3 reserved>
  690. <legal all>
  691. */
  692. #define PHYRX_PKT_END_INFO_13_RX_LOCATION_INFO_DETAILS_RTT_TIMING_BACKOFF_SEL_OFFSET 0x00000034
  693. #define PHYRX_PKT_END_INFO_13_RX_LOCATION_INFO_DETAILS_RTT_TIMING_BACKOFF_SEL_LSB 22
  694. #define PHYRX_PKT_END_INFO_13_RX_LOCATION_INFO_DETAILS_RTT_TIMING_BACKOFF_SEL_MASK 0x00c00000
  695. /* Description PHYRX_PKT_END_INFO_13_RX_LOCATION_INFO_DETAILS_RESERVED_8
  696. <legal 0>
  697. */
  698. #define PHYRX_PKT_END_INFO_13_RX_LOCATION_INFO_DETAILS_RESERVED_8_OFFSET 0x00000034
  699. #define PHYRX_PKT_END_INFO_13_RX_LOCATION_INFO_DETAILS_RESERVED_8_LSB 24
  700. #define PHYRX_PKT_END_INFO_13_RX_LOCATION_INFO_DETAILS_RESERVED_8_MASK 0x7f000000
  701. /* Description PHYRX_PKT_END_INFO_13_RX_LOCATION_INFO_DETAILS_RX_LOCATION_INFO_VALID
  702. <enum 0 rx_location_info_is_not_valid>
  703. <enum 1 rx_location_info_is_valid>
  704. <legal all>
  705. */
  706. #define PHYRX_PKT_END_INFO_13_RX_LOCATION_INFO_DETAILS_RX_LOCATION_INFO_VALID_OFFSET 0x00000034
  707. #define PHYRX_PKT_END_INFO_13_RX_LOCATION_INFO_DETAILS_RX_LOCATION_INFO_VALID_LSB 31
  708. #define PHYRX_PKT_END_INFO_13_RX_LOCATION_INFO_DETAILS_RX_LOCATION_INFO_VALID_MASK 0x80000000
  709. /* EXTERNAL REFERENCE : struct rx_timing_offset_info rx_timing_offset_info_details */
  710. /* Description PHYRX_PKT_END_INFO_14_RX_TIMING_OFFSET_INFO_DETAILS_RESIDUAL_PHASE_OFFSET
  711. Cumulative reference frequency error at end of RX
  712. <legal all>
  713. */
  714. #define PHYRX_PKT_END_INFO_14_RX_TIMING_OFFSET_INFO_DETAILS_RESIDUAL_PHASE_OFFSET_OFFSET 0x00000038
  715. #define PHYRX_PKT_END_INFO_14_RX_TIMING_OFFSET_INFO_DETAILS_RESIDUAL_PHASE_OFFSET_LSB 0
  716. #define PHYRX_PKT_END_INFO_14_RX_TIMING_OFFSET_INFO_DETAILS_RESIDUAL_PHASE_OFFSET_MASK 0x00000fff
  717. /* Description PHYRX_PKT_END_INFO_14_RX_TIMING_OFFSET_INFO_DETAILS_RESERVED
  718. <legal 0>
  719. */
  720. #define PHYRX_PKT_END_INFO_14_RX_TIMING_OFFSET_INFO_DETAILS_RESERVED_OFFSET 0x00000038
  721. #define PHYRX_PKT_END_INFO_14_RX_TIMING_OFFSET_INFO_DETAILS_RESERVED_LSB 12
  722. #define PHYRX_PKT_END_INFO_14_RX_TIMING_OFFSET_INFO_DETAILS_RESERVED_MASK 0xfffff000
  723. /* EXTERNAL REFERENCE : struct receive_rssi_info post_rssi_info_details */
  724. /* Description PHYRX_PKT_END_INFO_15_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN0
  725. RSSI of RX PPDU on chain 0 of primary 20 MHz bandwidth.
  726. Value of 0x80 indicates invalid.
  727. */
  728. #define PHYRX_PKT_END_INFO_15_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN0_OFFSET 0x0000003c
  729. #define PHYRX_PKT_END_INFO_15_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN0_LSB 0
  730. #define PHYRX_PKT_END_INFO_15_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN0_MASK 0x000000ff
  731. /* Description PHYRX_PKT_END_INFO_15_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN0
  732. RSSI of RX PPDU on chain 0 of extension 20 MHz
  733. bandwidth.
  734. Value of 0x80 indicates invalid.
  735. */
  736. #define PHYRX_PKT_END_INFO_15_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN0_OFFSET 0x0000003c
  737. #define PHYRX_PKT_END_INFO_15_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN0_LSB 8
  738. #define PHYRX_PKT_END_INFO_15_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN0_MASK 0x0000ff00
  739. /* Description PHYRX_PKT_END_INFO_15_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN0
  740. RSSI of RX PPDU on chain 0 of extension 40, low 20 MHz
  741. bandwidth.
  742. Value of 0x80 indicates invalid.
  743. */
  744. #define PHYRX_PKT_END_INFO_15_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN0_OFFSET 0x0000003c
  745. #define PHYRX_PKT_END_INFO_15_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN0_LSB 16
  746. #define PHYRX_PKT_END_INFO_15_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN0_MASK 0x00ff0000
  747. /* Description PHYRX_PKT_END_INFO_15_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN0
  748. RSSI of RX PPDU on chain 0 of extension 40, high 20 MHz
  749. bandwidth.
  750. Value of 0x80 indicates invalid.
  751. */
  752. #define PHYRX_PKT_END_INFO_15_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN0_OFFSET 0x0000003c
  753. #define PHYRX_PKT_END_INFO_15_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN0_LSB 24
  754. #define PHYRX_PKT_END_INFO_15_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN0_MASK 0xff000000
  755. /* Description PHYRX_PKT_END_INFO_16_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN0
  756. RSSI of RX PPDU on chain 0 of extension 80, low 20 MHz
  757. bandwidth.
  758. Value of 0x80 indicates invalid.
  759. */
  760. #define PHYRX_PKT_END_INFO_16_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN0_OFFSET 0x00000040
  761. #define PHYRX_PKT_END_INFO_16_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN0_LSB 0
  762. #define PHYRX_PKT_END_INFO_16_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN0_MASK 0x000000ff
  763. /* Description PHYRX_PKT_END_INFO_16_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN0
  764. RSSI of RX PPDU on chain 0 of extension 80, low-high 20
  765. MHz bandwidth.
  766. Value of 0x80 indicates invalid.
  767. */
  768. #define PHYRX_PKT_END_INFO_16_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN0_OFFSET 0x00000040
  769. #define PHYRX_PKT_END_INFO_16_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN0_LSB 8
  770. #define PHYRX_PKT_END_INFO_16_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN0_MASK 0x0000ff00
  771. /* Description PHYRX_PKT_END_INFO_16_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN0
  772. RSSI of RX PPDU on chain 0 of extension 80, high-low 20
  773. MHz bandwidth.
  774. Value of 0x80 indicates invalid.
  775. */
  776. #define PHYRX_PKT_END_INFO_16_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN0_OFFSET 0x00000040
  777. #define PHYRX_PKT_END_INFO_16_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN0_LSB 16
  778. #define PHYRX_PKT_END_INFO_16_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN0_MASK 0x00ff0000
  779. /* Description PHYRX_PKT_END_INFO_16_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN0
  780. RSSI of RX PPDU on chain 0 of extension 80, high 20 MHz
  781. bandwidth.
  782. Value of 0x80 indicates invalid.
  783. */
  784. #define PHYRX_PKT_END_INFO_16_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN0_OFFSET 0x00000040
  785. #define PHYRX_PKT_END_INFO_16_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN0_LSB 24
  786. #define PHYRX_PKT_END_INFO_16_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN0_MASK 0xff000000
  787. /* Description PHYRX_PKT_END_INFO_17_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN1
  788. RSSI of RX PPDU on chain 1 of primary 20 MHz bandwidth.
  789. Value of 0x80 indicates invalid.
  790. */
  791. #define PHYRX_PKT_END_INFO_17_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN1_OFFSET 0x00000044
  792. #define PHYRX_PKT_END_INFO_17_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN1_LSB 0
  793. #define PHYRX_PKT_END_INFO_17_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN1_MASK 0x000000ff
  794. /* Description PHYRX_PKT_END_INFO_17_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN1
  795. RSSI of RX PPDU on chain 1 of extension 20 MHz
  796. bandwidth.
  797. Value of 0x80 indicates invalid.
  798. */
  799. #define PHYRX_PKT_END_INFO_17_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN1_OFFSET 0x00000044
  800. #define PHYRX_PKT_END_INFO_17_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN1_LSB 8
  801. #define PHYRX_PKT_END_INFO_17_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN1_MASK 0x0000ff00
  802. /* Description PHYRX_PKT_END_INFO_17_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN1
  803. RSSI of RX PPDU on chain 1 of extension 40, low 20 MHz
  804. bandwidth.
  805. Value of 0x80 indicates invalid.
  806. */
  807. #define PHYRX_PKT_END_INFO_17_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN1_OFFSET 0x00000044
  808. #define PHYRX_PKT_END_INFO_17_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN1_LSB 16
  809. #define PHYRX_PKT_END_INFO_17_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN1_MASK 0x00ff0000
  810. /* Description PHYRX_PKT_END_INFO_17_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN1
  811. RSSI of RX PPDU on chain 1 of extension 40, high 20 MHz
  812. bandwidth.
  813. Value of 0x80 indicates invalid.
  814. */
  815. #define PHYRX_PKT_END_INFO_17_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN1_OFFSET 0x00000044
  816. #define PHYRX_PKT_END_INFO_17_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN1_LSB 24
  817. #define PHYRX_PKT_END_INFO_17_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN1_MASK 0xff000000
  818. /* Description PHYRX_PKT_END_INFO_18_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN1
  819. RSSI of RX PPDU on chain 1 of extension 80, low 20 MHz
  820. bandwidth.
  821. Value of 0x80 indicates invalid.
  822. */
  823. #define PHYRX_PKT_END_INFO_18_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN1_OFFSET 0x00000048
  824. #define PHYRX_PKT_END_INFO_18_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN1_LSB 0
  825. #define PHYRX_PKT_END_INFO_18_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN1_MASK 0x000000ff
  826. /* Description PHYRX_PKT_END_INFO_18_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN1
  827. RSSI of RX PPDU on chain 1 of extension 80, low-high 20
  828. MHz bandwidth.
  829. Value of 0x80 indicates invalid.
  830. */
  831. #define PHYRX_PKT_END_INFO_18_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN1_OFFSET 0x00000048
  832. #define PHYRX_PKT_END_INFO_18_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN1_LSB 8
  833. #define PHYRX_PKT_END_INFO_18_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN1_MASK 0x0000ff00
  834. /* Description PHYRX_PKT_END_INFO_18_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN1
  835. RSSI of RX PPDU on chain 1 of extension 80, high-low 20
  836. MHz bandwidth.
  837. Value of 0x80 indicates invalid.
  838. */
  839. #define PHYRX_PKT_END_INFO_18_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN1_OFFSET 0x00000048
  840. #define PHYRX_PKT_END_INFO_18_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN1_LSB 16
  841. #define PHYRX_PKT_END_INFO_18_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN1_MASK 0x00ff0000
  842. /* Description PHYRX_PKT_END_INFO_18_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN1
  843. RSSI of RX PPDU on chain 1 of extension 80, high 20 MHz
  844. bandwidth.
  845. Value of 0x80 indicates invalid.
  846. */
  847. #define PHYRX_PKT_END_INFO_18_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN1_OFFSET 0x00000048
  848. #define PHYRX_PKT_END_INFO_18_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN1_LSB 24
  849. #define PHYRX_PKT_END_INFO_18_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN1_MASK 0xff000000
  850. /* Description PHYRX_PKT_END_INFO_19_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN2
  851. RSSI of RX PPDU on chain 2 of primary 20 MHz bandwidth.
  852. Value of 0x80 indicates invalid.
  853. */
  854. #define PHYRX_PKT_END_INFO_19_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN2_OFFSET 0x0000004c
  855. #define PHYRX_PKT_END_INFO_19_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN2_LSB 0
  856. #define PHYRX_PKT_END_INFO_19_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN2_MASK 0x000000ff
  857. /* Description PHYRX_PKT_END_INFO_19_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN2
  858. RSSI of RX PPDU on chain 2 of extension 20 MHz
  859. bandwidth.
  860. Value of 0x80 indicates invalid.
  861. */
  862. #define PHYRX_PKT_END_INFO_19_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN2_OFFSET 0x0000004c
  863. #define PHYRX_PKT_END_INFO_19_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN2_LSB 8
  864. #define PHYRX_PKT_END_INFO_19_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN2_MASK 0x0000ff00
  865. /* Description PHYRX_PKT_END_INFO_19_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN2
  866. RSSI of RX PPDU on chain 2 of extension 40, low 20 MHz
  867. bandwidth.
  868. Value of 0x80 indicates invalid.
  869. */
  870. #define PHYRX_PKT_END_INFO_19_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN2_OFFSET 0x0000004c
  871. #define PHYRX_PKT_END_INFO_19_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN2_LSB 16
  872. #define PHYRX_PKT_END_INFO_19_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN2_MASK 0x00ff0000
  873. /* Description PHYRX_PKT_END_INFO_19_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN2
  874. RSSI of RX PPDU on chain 2 of extension 40, high 20 MHz
  875. bandwidth.
  876. Value of 0x80 indicates invalid.
  877. */
  878. #define PHYRX_PKT_END_INFO_19_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN2_OFFSET 0x0000004c
  879. #define PHYRX_PKT_END_INFO_19_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN2_LSB 24
  880. #define PHYRX_PKT_END_INFO_19_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN2_MASK 0xff000000
  881. /* Description PHYRX_PKT_END_INFO_20_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN2
  882. RSSI of RX PPDU on chain 2 of extension 80, low 20 MHz
  883. bandwidth.
  884. Value of 0x80 indicates invalid.
  885. */
  886. #define PHYRX_PKT_END_INFO_20_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN2_OFFSET 0x00000050
  887. #define PHYRX_PKT_END_INFO_20_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN2_LSB 0
  888. #define PHYRX_PKT_END_INFO_20_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN2_MASK 0x000000ff
  889. /* Description PHYRX_PKT_END_INFO_20_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN2
  890. RSSI of RX PPDU on chain 2 of extension 80, low-high 20
  891. MHz bandwidth.
  892. Value of 0x80 indicates invalid.
  893. */
  894. #define PHYRX_PKT_END_INFO_20_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN2_OFFSET 0x00000050
  895. #define PHYRX_PKT_END_INFO_20_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN2_LSB 8
  896. #define PHYRX_PKT_END_INFO_20_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN2_MASK 0x0000ff00
  897. /* Description PHYRX_PKT_END_INFO_20_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN2
  898. RSSI of RX PPDU on chain 2 of extension 80, high-low 20
  899. MHz bandwidth.
  900. Value of 0x80 indicates invalid.
  901. */
  902. #define PHYRX_PKT_END_INFO_20_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN2_OFFSET 0x00000050
  903. #define PHYRX_PKT_END_INFO_20_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN2_LSB 16
  904. #define PHYRX_PKT_END_INFO_20_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN2_MASK 0x00ff0000
  905. /* Description PHYRX_PKT_END_INFO_20_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN2
  906. RSSI of RX PPDU on chain 2 of extension 80, high 20 MHz
  907. bandwidth.
  908. Value of 0x80 indicates invalid.
  909. */
  910. #define PHYRX_PKT_END_INFO_20_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN2_OFFSET 0x00000050
  911. #define PHYRX_PKT_END_INFO_20_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN2_LSB 24
  912. #define PHYRX_PKT_END_INFO_20_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN2_MASK 0xff000000
  913. /* Description PHYRX_PKT_END_INFO_21_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN3
  914. RSSI of RX PPDU on chain 3 of primary 20 MHz bandwidth.
  915. Value of 0x80 indicates invalid.
  916. */
  917. #define PHYRX_PKT_END_INFO_21_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN3_OFFSET 0x00000054
  918. #define PHYRX_PKT_END_INFO_21_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN3_LSB 0
  919. #define PHYRX_PKT_END_INFO_21_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN3_MASK 0x000000ff
  920. /* Description PHYRX_PKT_END_INFO_21_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN3
  921. RSSI of RX PPDU on chain 3 of extension 20 MHz
  922. bandwidth.
  923. Value of 0x80 indicates invalid.
  924. */
  925. #define PHYRX_PKT_END_INFO_21_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN3_OFFSET 0x00000054
  926. #define PHYRX_PKT_END_INFO_21_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN3_LSB 8
  927. #define PHYRX_PKT_END_INFO_21_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN3_MASK 0x0000ff00
  928. /* Description PHYRX_PKT_END_INFO_21_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN3
  929. RSSI of RX PPDU on chain 3 of extension 40, low 20 MHz
  930. bandwidth.
  931. Value of 0x80 indicates invalid.
  932. */
  933. #define PHYRX_PKT_END_INFO_21_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN3_OFFSET 0x00000054
  934. #define PHYRX_PKT_END_INFO_21_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN3_LSB 16
  935. #define PHYRX_PKT_END_INFO_21_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN3_MASK 0x00ff0000
  936. /* Description PHYRX_PKT_END_INFO_21_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN3
  937. RSSI of RX PPDU on chain 3 of extension 40, high 20 MHz
  938. bandwidth.
  939. Value of 0x80 indicates invalid.
  940. */
  941. #define PHYRX_PKT_END_INFO_21_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN3_OFFSET 0x00000054
  942. #define PHYRX_PKT_END_INFO_21_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN3_LSB 24
  943. #define PHYRX_PKT_END_INFO_21_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN3_MASK 0xff000000
  944. /* Description PHYRX_PKT_END_INFO_22_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN3
  945. RSSI of RX PPDU on chain 3 of extension 80, low 20 MHz
  946. bandwidth.
  947. Value of 0x80 indicates invalid.
  948. */
  949. #define PHYRX_PKT_END_INFO_22_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN3_OFFSET 0x00000058
  950. #define PHYRX_PKT_END_INFO_22_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN3_LSB 0
  951. #define PHYRX_PKT_END_INFO_22_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN3_MASK 0x000000ff
  952. /* Description PHYRX_PKT_END_INFO_22_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN3
  953. RSSI of RX PPDU on chain 3 of extension 80, low-high 20
  954. MHz bandwidth.
  955. Value of 0x80 indicates invalid.
  956. */
  957. #define PHYRX_PKT_END_INFO_22_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN3_OFFSET 0x00000058
  958. #define PHYRX_PKT_END_INFO_22_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN3_LSB 8
  959. #define PHYRX_PKT_END_INFO_22_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN3_MASK 0x0000ff00
  960. /* Description PHYRX_PKT_END_INFO_22_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN3
  961. RSSI of RX PPDU on chain 3 of extension 80, high-low 20
  962. MHz bandwidth.
  963. Value of 0x80 indicates invalid.
  964. */
  965. #define PHYRX_PKT_END_INFO_22_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN3_OFFSET 0x00000058
  966. #define PHYRX_PKT_END_INFO_22_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN3_LSB 16
  967. #define PHYRX_PKT_END_INFO_22_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN3_MASK 0x00ff0000
  968. /* Description PHYRX_PKT_END_INFO_22_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN3
  969. RSSI of RX PPDU on chain 3 of extension 80, high 20 MHz
  970. bandwidth.
  971. Value of 0x80 indicates invalid.
  972. */
  973. #define PHYRX_PKT_END_INFO_22_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN3_OFFSET 0x00000058
  974. #define PHYRX_PKT_END_INFO_22_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN3_LSB 24
  975. #define PHYRX_PKT_END_INFO_22_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN3_MASK 0xff000000
  976. /* Description PHYRX_PKT_END_INFO_23_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN4
  977. RSSI of RX PPDU on chain 4 of primary 20 MHz bandwidth.
  978. Value of 0x80 indicates invalid.
  979. */
  980. #define PHYRX_PKT_END_INFO_23_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN4_OFFSET 0x0000005c
  981. #define PHYRX_PKT_END_INFO_23_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN4_LSB 0
  982. #define PHYRX_PKT_END_INFO_23_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN4_MASK 0x000000ff
  983. /* Description PHYRX_PKT_END_INFO_23_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN4
  984. RSSI of RX PPDU on chain 4 of extension 20 MHz
  985. bandwidth.
  986. Value of 0x80 indicates invalid.
  987. */
  988. #define PHYRX_PKT_END_INFO_23_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN4_OFFSET 0x0000005c
  989. #define PHYRX_PKT_END_INFO_23_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN4_LSB 8
  990. #define PHYRX_PKT_END_INFO_23_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN4_MASK 0x0000ff00
  991. /* Description PHYRX_PKT_END_INFO_23_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN4
  992. RSSI of RX PPDU on chain 4 of extension 40, low 20 MHz
  993. bandwidth.
  994. Value of 0x80 indicates invalid.
  995. */
  996. #define PHYRX_PKT_END_INFO_23_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN4_OFFSET 0x0000005c
  997. #define PHYRX_PKT_END_INFO_23_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN4_LSB 16
  998. #define PHYRX_PKT_END_INFO_23_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN4_MASK 0x00ff0000
  999. /* Description PHYRX_PKT_END_INFO_23_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN4
  1000. RSSI of RX PPDU on chain 4 of extension 40, high 20 MHz
  1001. bandwidth.
  1002. Value of 0x80 indicates invalid.
  1003. */
  1004. #define PHYRX_PKT_END_INFO_23_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN4_OFFSET 0x0000005c
  1005. #define PHYRX_PKT_END_INFO_23_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN4_LSB 24
  1006. #define PHYRX_PKT_END_INFO_23_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN4_MASK 0xff000000
  1007. /* Description PHYRX_PKT_END_INFO_24_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN4
  1008. RSSI of RX PPDU on chain 4 of extension 80, low 20 MHz
  1009. bandwidth.
  1010. Value of 0x80 indicates invalid.
  1011. */
  1012. #define PHYRX_PKT_END_INFO_24_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN4_OFFSET 0x00000060
  1013. #define PHYRX_PKT_END_INFO_24_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN4_LSB 0
  1014. #define PHYRX_PKT_END_INFO_24_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN4_MASK 0x000000ff
  1015. /* Description PHYRX_PKT_END_INFO_24_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN4
  1016. RSSI of RX PPDU on chain 4 of extension 80, low-high 20
  1017. MHz bandwidth.
  1018. Value of 0x80 indicates invalid.
  1019. */
  1020. #define PHYRX_PKT_END_INFO_24_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN4_OFFSET 0x00000060
  1021. #define PHYRX_PKT_END_INFO_24_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN4_LSB 8
  1022. #define PHYRX_PKT_END_INFO_24_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN4_MASK 0x0000ff00
  1023. /* Description PHYRX_PKT_END_INFO_24_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN4
  1024. RSSI of RX PPDU on chain 4 of extension 80, high-low 20
  1025. MHz bandwidth.
  1026. Value of 0x80 indicates invalid.
  1027. */
  1028. #define PHYRX_PKT_END_INFO_24_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN4_OFFSET 0x00000060
  1029. #define PHYRX_PKT_END_INFO_24_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN4_LSB 16
  1030. #define PHYRX_PKT_END_INFO_24_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN4_MASK 0x00ff0000
  1031. /* Description PHYRX_PKT_END_INFO_24_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN4
  1032. RSSI of RX PPDU on chain 4 of extension 80, high 20 MHz
  1033. bandwidth.
  1034. Value of 0x80 indicates invalid.
  1035. */
  1036. #define PHYRX_PKT_END_INFO_24_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN4_OFFSET 0x00000060
  1037. #define PHYRX_PKT_END_INFO_24_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN4_LSB 24
  1038. #define PHYRX_PKT_END_INFO_24_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN4_MASK 0xff000000
  1039. /* Description PHYRX_PKT_END_INFO_25_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN5
  1040. RSSI of RX PPDU on chain 0 of primary 20 MHz bandwidth.
  1041. Value of 0x80 indicates invalid.
  1042. */
  1043. #define PHYRX_PKT_END_INFO_25_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN5_OFFSET 0x00000064
  1044. #define PHYRX_PKT_END_INFO_25_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN5_LSB 0
  1045. #define PHYRX_PKT_END_INFO_25_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN5_MASK 0x000000ff
  1046. /* Description PHYRX_PKT_END_INFO_25_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN5
  1047. RSSI of RX PPDU on chain 5 of extension 20 MHz
  1048. bandwidth.
  1049. Value of 0x80 indicates invalid.
  1050. */
  1051. #define PHYRX_PKT_END_INFO_25_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN5_OFFSET 0x00000064
  1052. #define PHYRX_PKT_END_INFO_25_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN5_LSB 8
  1053. #define PHYRX_PKT_END_INFO_25_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN5_MASK 0x0000ff00
  1054. /* Description PHYRX_PKT_END_INFO_25_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN5
  1055. RSSI of RX PPDU on chain 5 of extension 40, low 20 MHz
  1056. bandwidth.
  1057. Value of 0x80 indicates invalid.
  1058. */
  1059. #define PHYRX_PKT_END_INFO_25_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN5_OFFSET 0x00000064
  1060. #define PHYRX_PKT_END_INFO_25_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN5_LSB 16
  1061. #define PHYRX_PKT_END_INFO_25_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN5_MASK 0x00ff0000
  1062. /* Description PHYRX_PKT_END_INFO_25_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN5
  1063. RSSI of RX PPDU on chain 5 of extension 40, high 20 MHz
  1064. bandwidth.
  1065. Value of 0x80 indicates invalid.
  1066. */
  1067. #define PHYRX_PKT_END_INFO_25_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN5_OFFSET 0x00000064
  1068. #define PHYRX_PKT_END_INFO_25_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN5_LSB 24
  1069. #define PHYRX_PKT_END_INFO_25_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN5_MASK 0xff000000
  1070. /* Description PHYRX_PKT_END_INFO_26_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN5
  1071. RSSI of RX PPDU on chain 5 of extension 80, low 20 MHz
  1072. bandwidth.
  1073. Value of 0x80 indicates invalid.
  1074. */
  1075. #define PHYRX_PKT_END_INFO_26_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN5_OFFSET 0x00000068
  1076. #define PHYRX_PKT_END_INFO_26_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN5_LSB 0
  1077. #define PHYRX_PKT_END_INFO_26_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN5_MASK 0x000000ff
  1078. /* Description PHYRX_PKT_END_INFO_26_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN5
  1079. RSSI of RX PPDU on chain 5 of extension 80, low-high 20
  1080. MHz bandwidth.
  1081. Value of 0x80 indicates invalid.
  1082. */
  1083. #define PHYRX_PKT_END_INFO_26_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN5_OFFSET 0x00000068
  1084. #define PHYRX_PKT_END_INFO_26_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN5_LSB 8
  1085. #define PHYRX_PKT_END_INFO_26_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN5_MASK 0x0000ff00
  1086. /* Description PHYRX_PKT_END_INFO_26_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN5
  1087. RSSI of RX PPDU on chain 5 of extension 80, high-low 20
  1088. MHz bandwidth.
  1089. Value of 0x80 indicates invalid.
  1090. */
  1091. #define PHYRX_PKT_END_INFO_26_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN5_OFFSET 0x00000068
  1092. #define PHYRX_PKT_END_INFO_26_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN5_LSB 16
  1093. #define PHYRX_PKT_END_INFO_26_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN5_MASK 0x00ff0000
  1094. /* Description PHYRX_PKT_END_INFO_26_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN5
  1095. RSSI of RX PPDU on chain 5 of extension 80, high 20 MHz
  1096. bandwidth.
  1097. Value of 0x80 indicates invalid.
  1098. */
  1099. #define PHYRX_PKT_END_INFO_26_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN5_OFFSET 0x00000068
  1100. #define PHYRX_PKT_END_INFO_26_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN5_LSB 24
  1101. #define PHYRX_PKT_END_INFO_26_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN5_MASK 0xff000000
  1102. /* Description PHYRX_PKT_END_INFO_27_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN6
  1103. RSSI of RX PPDU on chain 6 of primary 20 MHz bandwidth.
  1104. Value of 0x80 indicates invalid.
  1105. */
  1106. #define PHYRX_PKT_END_INFO_27_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN6_OFFSET 0x0000006c
  1107. #define PHYRX_PKT_END_INFO_27_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN6_LSB 0
  1108. #define PHYRX_PKT_END_INFO_27_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN6_MASK 0x000000ff
  1109. /* Description PHYRX_PKT_END_INFO_27_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN6
  1110. RSSI of RX PPDU on chain 6 of extension 20 MHz
  1111. bandwidth.
  1112. Value of 0x80 indicates invalid.
  1113. */
  1114. #define PHYRX_PKT_END_INFO_27_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN6_OFFSET 0x0000006c
  1115. #define PHYRX_PKT_END_INFO_27_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN6_LSB 8
  1116. #define PHYRX_PKT_END_INFO_27_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN6_MASK 0x0000ff00
  1117. /* Description PHYRX_PKT_END_INFO_27_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN6
  1118. RSSI of RX PPDU on chain 6 of extension 40, low 20 MHz
  1119. bandwidth.
  1120. Value of 0x80 indicates invalid.
  1121. */
  1122. #define PHYRX_PKT_END_INFO_27_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN6_OFFSET 0x0000006c
  1123. #define PHYRX_PKT_END_INFO_27_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN6_LSB 16
  1124. #define PHYRX_PKT_END_INFO_27_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN6_MASK 0x00ff0000
  1125. /* Description PHYRX_PKT_END_INFO_27_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN6
  1126. RSSI of RX PPDU on chain 6 of extension 40, high 20 MHz
  1127. bandwidth.
  1128. Value of 0x80 indicates invalid.
  1129. */
  1130. #define PHYRX_PKT_END_INFO_27_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN6_OFFSET 0x0000006c
  1131. #define PHYRX_PKT_END_INFO_27_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN6_LSB 24
  1132. #define PHYRX_PKT_END_INFO_27_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN6_MASK 0xff000000
  1133. /* Description PHYRX_PKT_END_INFO_28_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN6
  1134. RSSI of RX PPDU on chain 6 of extension 80, low 20 MHz
  1135. bandwidth.
  1136. Value of 0x80 indicates invalid.
  1137. */
  1138. #define PHYRX_PKT_END_INFO_28_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN6_OFFSET 0x00000070
  1139. #define PHYRX_PKT_END_INFO_28_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN6_LSB 0
  1140. #define PHYRX_PKT_END_INFO_28_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN6_MASK 0x000000ff
  1141. /* Description PHYRX_PKT_END_INFO_28_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN6
  1142. RSSI of RX PPDU on chain 6 of extension 80, low-high 20
  1143. MHz bandwidth.
  1144. Value of 0x80 indicates invalid.
  1145. */
  1146. #define PHYRX_PKT_END_INFO_28_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN6_OFFSET 0x00000070
  1147. #define PHYRX_PKT_END_INFO_28_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN6_LSB 8
  1148. #define PHYRX_PKT_END_INFO_28_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN6_MASK 0x0000ff00
  1149. /* Description PHYRX_PKT_END_INFO_28_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN6
  1150. RSSI of RX PPDU on chain 6 of extension 80, high-low 20
  1151. MHz bandwidth.
  1152. Value of 0x80 indicates invalid.
  1153. */
  1154. #define PHYRX_PKT_END_INFO_28_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN6_OFFSET 0x00000070
  1155. #define PHYRX_PKT_END_INFO_28_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN6_LSB 16
  1156. #define PHYRX_PKT_END_INFO_28_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN6_MASK 0x00ff0000
  1157. /* Description PHYRX_PKT_END_INFO_28_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN6
  1158. RSSI of RX PPDU on chain 6 of extension 80, high 20 MHz
  1159. bandwidth.
  1160. Value of 0x80 indicates invalid.
  1161. */
  1162. #define PHYRX_PKT_END_INFO_28_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN6_OFFSET 0x00000070
  1163. #define PHYRX_PKT_END_INFO_28_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN6_LSB 24
  1164. #define PHYRX_PKT_END_INFO_28_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN6_MASK 0xff000000
  1165. /* Description PHYRX_PKT_END_INFO_29_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN7
  1166. RSSI of RX PPDU on chain 7 of primary 20 MHz bandwidth.
  1167. Value of 0x80 indicates invalid.
  1168. */
  1169. #define PHYRX_PKT_END_INFO_29_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN7_OFFSET 0x00000074
  1170. #define PHYRX_PKT_END_INFO_29_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN7_LSB 0
  1171. #define PHYRX_PKT_END_INFO_29_POST_RSSI_INFO_DETAILS_RSSI_PRI20_CHAIN7_MASK 0x000000ff
  1172. /* Description PHYRX_PKT_END_INFO_29_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN7
  1173. RSSI of RX PPDU on chain 7 of extension 20 MHz
  1174. bandwidth.
  1175. Value of 0x80 indicates invalid.
  1176. */
  1177. #define PHYRX_PKT_END_INFO_29_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN7_OFFSET 0x00000074
  1178. #define PHYRX_PKT_END_INFO_29_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN7_LSB 8
  1179. #define PHYRX_PKT_END_INFO_29_POST_RSSI_INFO_DETAILS_RSSI_EXT20_CHAIN7_MASK 0x0000ff00
  1180. /* Description PHYRX_PKT_END_INFO_29_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN7
  1181. RSSI of RX PPDU on chain 7 of extension 40, low 20 MHz
  1182. bandwidth.
  1183. Value of 0x80 indicates invalid.
  1184. */
  1185. #define PHYRX_PKT_END_INFO_29_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN7_OFFSET 0x00000074
  1186. #define PHYRX_PKT_END_INFO_29_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN7_LSB 16
  1187. #define PHYRX_PKT_END_INFO_29_POST_RSSI_INFO_DETAILS_RSSI_EXT40_LOW20_CHAIN7_MASK 0x00ff0000
  1188. /* Description PHYRX_PKT_END_INFO_29_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN7
  1189. RSSI of RX PPDU on chain 7 of extension 40, high 20 MHz
  1190. bandwidth.
  1191. Value of 0x80 indicates invalid.
  1192. */
  1193. #define PHYRX_PKT_END_INFO_29_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN7_OFFSET 0x00000074
  1194. #define PHYRX_PKT_END_INFO_29_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN7_LSB 24
  1195. #define PHYRX_PKT_END_INFO_29_POST_RSSI_INFO_DETAILS_RSSI_EXT40_HIGH20_CHAIN7_MASK 0xff000000
  1196. /* Description PHYRX_PKT_END_INFO_30_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN7
  1197. RSSI of RX PPDU on chain 7 of extension 80, low 20 MHz
  1198. bandwidth.
  1199. Value of 0x80 indicates invalid.
  1200. */
  1201. #define PHYRX_PKT_END_INFO_30_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN7_OFFSET 0x00000078
  1202. #define PHYRX_PKT_END_INFO_30_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN7_LSB 0
  1203. #define PHYRX_PKT_END_INFO_30_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW20_CHAIN7_MASK 0x000000ff
  1204. /* Description PHYRX_PKT_END_INFO_30_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN7
  1205. RSSI of RX PPDU on chain 7 of extension 80, low-high 20
  1206. MHz bandwidth.
  1207. Value of 0x80 indicates invalid.
  1208. */
  1209. #define PHYRX_PKT_END_INFO_30_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN7_OFFSET 0x00000078
  1210. #define PHYRX_PKT_END_INFO_30_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN7_LSB 8
  1211. #define PHYRX_PKT_END_INFO_30_POST_RSSI_INFO_DETAILS_RSSI_EXT80_LOW_HIGH20_CHAIN7_MASK 0x0000ff00
  1212. /* Description PHYRX_PKT_END_INFO_30_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN7
  1213. RSSI of RX PPDU on chain 7 of extension 80, high-low 20
  1214. MHz bandwidth.
  1215. Value of 0x80 indicates invalid.
  1216. */
  1217. #define PHYRX_PKT_END_INFO_30_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN7_OFFSET 0x00000078
  1218. #define PHYRX_PKT_END_INFO_30_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN7_LSB 16
  1219. #define PHYRX_PKT_END_INFO_30_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH_LOW20_CHAIN7_MASK 0x00ff0000
  1220. /* Description PHYRX_PKT_END_INFO_30_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN7
  1221. RSSI of RX PPDU on chain 7 of extension 80, high 20 MHz
  1222. bandwidth.
  1223. Value of 0x80 indicates invalid.
  1224. */
  1225. #define PHYRX_PKT_END_INFO_30_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN7_OFFSET 0x00000078
  1226. #define PHYRX_PKT_END_INFO_30_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN7_LSB 24
  1227. #define PHYRX_PKT_END_INFO_30_POST_RSSI_INFO_DETAILS_RSSI_EXT80_HIGH20_CHAIN7_MASK 0xff000000
  1228. /* Description PHYRX_PKT_END_INFO_31_PHY_SW_STATUS_31_0
  1229. Some PHY micro code status that can be put in here.
  1230. Details of definition within SW specification
  1231. This field can be used for debugging, FW - SW message
  1232. exchange, etc.
  1233. It could for example be a pointer to a DDR memory
  1234. location where PHY FW put some debug info.
  1235. <legal all>
  1236. */
  1237. #define PHYRX_PKT_END_INFO_31_PHY_SW_STATUS_31_0_OFFSET 0x0000007c
  1238. #define PHYRX_PKT_END_INFO_31_PHY_SW_STATUS_31_0_LSB 0
  1239. #define PHYRX_PKT_END_INFO_31_PHY_SW_STATUS_31_0_MASK 0xffffffff
  1240. /* Description PHYRX_PKT_END_INFO_32_PHY_SW_STATUS_63_32
  1241. Some PHY micro code status that can be put in here.
  1242. Details of definition within SW specification
  1243. This field can be used for debugging, FW - SW message
  1244. exchange, etc.
  1245. It could for example be a pointer to a DDR memory
  1246. location where PHY FW put some debug info.
  1247. <legal all>
  1248. */
  1249. #define PHYRX_PKT_END_INFO_32_PHY_SW_STATUS_63_32_OFFSET 0x00000080
  1250. #define PHYRX_PKT_END_INFO_32_PHY_SW_STATUS_63_32_LSB 0
  1251. #define PHYRX_PKT_END_INFO_32_PHY_SW_STATUS_63_32_MASK 0xffffffff
  1252. #endif // _PHYRX_PKT_END_INFO_H_