rx_msdu_end.h 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308
  1. /*
  2. * Copyright (c) 2020 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 _RX_MSDU_END_H_
  21. #define _RX_MSDU_END_H_
  22. #if !defined(__ASSEMBLER__)
  23. #endif
  24. // ################ START SUMMARY #################
  25. //
  26. // Dword Fields
  27. // 0 rxpcu_mpdu_filter_in_category[1:0], sw_frame_group_id[8:2], reserved_0[15:9], phy_ppdu_id[31:16]
  28. // 1 ip_hdr_chksum[15:0], tcp_udp_chksum[31:16]
  29. // 2 key_id_octet[7:0], cce_super_rule[13:8], cce_classify_not_done_truncate[14], cce_classify_not_done_cce_dis[15], ext_wapi_pn_63_48[31:16]
  30. // 3 ext_wapi_pn_95_64[31:0]
  31. // 4 ext_wapi_pn_127_96[31:0]
  32. // 5 reported_mpdu_length[13:0], first_msdu[14], last_msdu[15], sa_idx_timeout[16], da_idx_timeout[17], msdu_limit_error[18], flow_idx_timeout[19], flow_idx_invalid[20], wifi_parser_error[21], amsdu_parser_error[22], sa_is_valid[23], da_is_valid[24], da_is_mcbc[25], l3_header_padding[27:26], reserved_5a[31:28]
  33. // 6 ipv6_options_crc[31:0]
  34. // 7 tcp_seq_number[31:0]
  35. // 8 tcp_ack_number[31:0]
  36. // 9 tcp_flag[8:0], lro_eligible[9], reserved_9a[15:10], window_size[31:16]
  37. // 10 da_offset[5:0], sa_offset[11:6], da_offset_valid[12], sa_offset_valid[13], reserved_10a[15:14], l3_type[31:16]
  38. // 11 rule_indication_31_0[31:0]
  39. // 12 rule_indication_63_32[31:0]
  40. // 13 sa_idx[15:0], da_idx_or_sw_peer_id[31:16]
  41. // 14 msdu_drop[0], reo_destination_indication[5:1], flow_idx[25:6], reserved_14[31:26]
  42. // 15 fse_metadata[31:0]
  43. // 16 cce_metadata[15:0], sa_sw_peer_id[31:16]
  44. //
  45. // ################ END SUMMARY #################
  46. #define NUM_OF_DWORDS_RX_MSDU_END 17
  47. struct rx_msdu_end {
  48. uint32_t rxpcu_mpdu_filter_in_category : 2, //[1:0]
  49. sw_frame_group_id : 7, //[8:2]
  50. reserved_0 : 7, //[15:9]
  51. phy_ppdu_id : 16; //[31:16]
  52. uint32_t ip_hdr_chksum : 16, //[15:0]
  53. tcp_udp_chksum : 16; //[31:16]
  54. uint32_t key_id_octet : 8, //[7:0]
  55. cce_super_rule : 6, //[13:8]
  56. cce_classify_not_done_truncate : 1, //[14]
  57. cce_classify_not_done_cce_dis : 1, //[15]
  58. ext_wapi_pn_63_48 : 16; //[31:16]
  59. uint32_t ext_wapi_pn_95_64 : 32; //[31:0]
  60. uint32_t ext_wapi_pn_127_96 : 32; //[31:0]
  61. uint32_t reported_mpdu_length : 14, //[13:0]
  62. first_msdu : 1, //[14]
  63. last_msdu : 1, //[15]
  64. sa_idx_timeout : 1, //[16]
  65. da_idx_timeout : 1, //[17]
  66. msdu_limit_error : 1, //[18]
  67. flow_idx_timeout : 1, //[19]
  68. flow_idx_invalid : 1, //[20]
  69. wifi_parser_error : 1, //[21]
  70. amsdu_parser_error : 1, //[22]
  71. sa_is_valid : 1, //[23]
  72. da_is_valid : 1, //[24]
  73. da_is_mcbc : 1, //[25]
  74. l3_header_padding : 2, //[27:26]
  75. reserved_5a : 4; //[31:28]
  76. uint32_t ipv6_options_crc : 32; //[31:0]
  77. uint32_t tcp_seq_number : 32; //[31:0]
  78. uint32_t tcp_ack_number : 32; //[31:0]
  79. uint32_t tcp_flag : 9, //[8:0]
  80. lro_eligible : 1, //[9]
  81. reserved_9a : 6, //[15:10]
  82. window_size : 16; //[31:16]
  83. uint32_t da_offset : 6, //[5:0]
  84. sa_offset : 6, //[11:6]
  85. da_offset_valid : 1, //[12]
  86. sa_offset_valid : 1, //[13]
  87. reserved_10a : 2, //[15:14]
  88. l3_type : 16; //[31:16]
  89. uint32_t rule_indication_31_0 : 32; //[31:0]
  90. uint32_t rule_indication_63_32 : 32; //[31:0]
  91. uint32_t sa_idx : 16, //[15:0]
  92. da_idx_or_sw_peer_id : 16; //[31:16]
  93. uint32_t msdu_drop : 1, //[0]
  94. reo_destination_indication : 5, //[5:1]
  95. flow_idx : 20, //[25:6]
  96. reserved_14 : 6; //[31:26]
  97. uint32_t fse_metadata : 32; //[31:0]
  98. uint32_t cce_metadata : 16, //[15:0]
  99. sa_sw_peer_id : 16; //[31:16]
  100. };
  101. /*
  102. rxpcu_mpdu_filter_in_category
  103. Field indicates what the reason was that this MPDU frame
  104. was allowed to come into the receive path by RXPCU
  105. <enum 0 rxpcu_filter_pass> This MPDU passed the normal
  106. frame filter programming of rxpcu
  107. <enum 1 rxpcu_monitor_client> This MPDU did NOT pass the
  108. regular frame filter and would have been dropped, were it
  109. not for the frame fitting into the 'monitor_client'
  110. category.
  111. <enum 2 rxpcu_monitor_other> This MPDU did NOT pass the
  112. regular frame filter and also did not pass the
  113. rxpcu_monitor_client filter. It would have been dropped
  114. accept that it did pass the 'monitor_other' category.
  115. <legal 0-2>
  116. sw_frame_group_id
  117. SW processes frames based on certain classifications.
  118. This field indicates to what sw classification this MPDU is
  119. mapped.
  120. The classification is given in priority order
  121. <enum 0 sw_frame_group_NDP_frame>
  122. <enum 1 sw_frame_group_Multicast_data>
  123. <enum 2 sw_frame_group_Unicast_data>
  124. <enum 3 sw_frame_group_Null_data > This includes mpdus
  125. of type Data Null as well as QoS Data Null
  126. <enum 4 sw_frame_group_mgmt_0000 >
  127. <enum 5 sw_frame_group_mgmt_0001 >
  128. <enum 6 sw_frame_group_mgmt_0010 >
  129. <enum 7 sw_frame_group_mgmt_0011 >
  130. <enum 8 sw_frame_group_mgmt_0100 >
  131. <enum 9 sw_frame_group_mgmt_0101 >
  132. <enum 10 sw_frame_group_mgmt_0110 >
  133. <enum 11 sw_frame_group_mgmt_0111 >
  134. <enum 12 sw_frame_group_mgmt_1000 >
  135. <enum 13 sw_frame_group_mgmt_1001 >
  136. <enum 14 sw_frame_group_mgmt_1010 >
  137. <enum 15 sw_frame_group_mgmt_1011 >
  138. <enum 16 sw_frame_group_mgmt_1100 >
  139. <enum 17 sw_frame_group_mgmt_1101 >
  140. <enum 18 sw_frame_group_mgmt_1110 >
  141. <enum 19 sw_frame_group_mgmt_1111 >
  142. <enum 20 sw_frame_group_ctrl_0000 >
  143. <enum 21 sw_frame_group_ctrl_0001 >
  144. <enum 22 sw_frame_group_ctrl_0010 >
  145. <enum 23 sw_frame_group_ctrl_0011 >
  146. <enum 24 sw_frame_group_ctrl_0100 >
  147. <enum 25 sw_frame_group_ctrl_0101 >
  148. <enum 26 sw_frame_group_ctrl_0110 >
  149. <enum 27 sw_frame_group_ctrl_0111 >
  150. <enum 28 sw_frame_group_ctrl_1000 >
  151. <enum 29 sw_frame_group_ctrl_1001 >
  152. <enum 30 sw_frame_group_ctrl_1010 >
  153. <enum 31 sw_frame_group_ctrl_1011 >
  154. <enum 32 sw_frame_group_ctrl_1100 >
  155. <enum 33 sw_frame_group_ctrl_1101 >
  156. <enum 34 sw_frame_group_ctrl_1110 >
  157. <enum 35 sw_frame_group_ctrl_1111 >
  158. <enum 36 sw_frame_group_unsupported> This covers type 3
  159. and protocol version != 0
  160. <legal 0-37>
  161. reserved_0
  162. <legal 0>
  163. phy_ppdu_id
  164. A ppdu counter value that PHY increments for every PPDU
  165. received. The counter value wraps around
  166. <legal all>
  167. ip_hdr_chksum
  168. This can include the IP header checksum or the pseudo
  169. header checksum used by TCP/UDP checksum.
  170. (with the first byte in the MSB and the second byte in
  171. the LSB, i.e. requiring a byte-swap for little-endian FW/SW
  172. w.r.t. the byte order in a packet)
  173. tcp_udp_chksum
  174. The value of the computed TCP/UDP checksum. A mode bit
  175. selects whether this checksum is the full checksum or the
  176. partial checksum which does not include the pseudo header.
  177. (with the first byte in the MSB and the second byte in the
  178. LSB, i.e. requiring a byte-swap for little-endian FW/SW
  179. w.r.t. the byte order in a packet)
  180. key_id_octet
  181. The key ID octet from the IV. Only valid when
  182. first_msdu is set.
  183. cce_super_rule
  184. Indicates the super filter rule
  185. cce_classify_not_done_truncate
  186. Classification failed due to truncated frame
  187. cce_classify_not_done_cce_dis
  188. Classification failed due to CCE global disable
  189. ext_wapi_pn_63_48
  190. Extension PN (packet number) which is only used by WAPI.
  191. This corresponds to WAPI PN bits [63:48] (pn6 and pn7).
  192. The WAPI PN bits [63:0] are in the pn field of the
  193. rx_mpdu_start descriptor.
  194. ext_wapi_pn_95_64
  195. Extension PN (packet number) which is only used by WAPI.
  196. This corresponds to WAPI PN bits [95:64] (pn8, pn9, pn10
  197. and pn11).
  198. ext_wapi_pn_127_96
  199. Extension PN (packet number) which is only used by WAPI.
  200. This corresponds to WAPI PN bits [127:96] (pn12, pn13,
  201. pn14, pn15).
  202. reported_mpdu_length
  203. MPDU length before decapsulation. Only valid when
  204. first_msdu is set. This field is taken directly from the
  205. length field of the A-MPDU delimiter or the preamble length
  206. field for non-A-MPDU frames.
  207. first_msdu
  208. Indicates the first MSDU of A-MSDU. If both first_msdu
  209. and last_msdu are set in the MSDU then this is a
  210. non-aggregated MSDU frame: normal MPDU. Interior MSDU in an
  211. A-MSDU shall have both first_mpdu and last_mpdu bits set to
  212. 0.
  213. last_msdu
  214. Indicates the last MSDU of the A-MSDU. MPDU end status
  215. is only valid when last_msdu is set.
  216. sa_idx_timeout
  217. Indicates an unsuccessful MAC source address search due
  218. to the expiring of the search timer.
  219. da_idx_timeout
  220. Indicates an unsuccessful MAC destination address search
  221. due to the expiring of the search timer.
  222. msdu_limit_error
  223. Indicates that the MSDU threshold was exceeded and thus
  224. all the rest of the MSDUs will not be scattered and will not
  225. be decapsulated but will be DMA'ed in RAW format as a single
  226. MSDU buffer
  227. flow_idx_timeout
  228. Indicates an unsuccessful flow search due to the
  229. expiring of the search timer.
  230. <legal all>
  231. flow_idx_invalid
  232. flow id is not valid
  233. <legal all>
  234. wifi_parser_error
  235. Indicates that the WiFi frame has one of the following
  236. errors
  237. o has less than minimum allowed bytes as per standard
  238. o has incomplete VLAN LLC/SNAP (only for non A-MSDUs)
  239. <legal all>
  240. amsdu_parser_error
  241. A-MSDU could not be properly de-agregated.
  242. <legal all>
  243. sa_is_valid
  244. Indicates that OLE found a valid SA entry
  245. da_is_valid
  246. Indicates that OLE found a valid DA entry
  247. da_is_mcbc
  248. Field Only valid if da_is_valid is set
  249. Indicates the DA address was a Multicast of Broadcast
  250. address.
  251. l3_header_padding
  252. Number of bytes padded to make sure that the L3 header
  253. will always start of a Dword boundary
  254. reserved_5a
  255. <legal 0>
  256. ipv6_options_crc
  257. 32 bit CRC computed out of IP v6 extension headers
  258. tcp_seq_number
  259. TCP sequence number (as a number assembled from a TCP
  260. packet in big-endian order, i.e. requiring a byte-swap for
  261. little-endian FW/SW w.r.t. the byte order in a packet)
  262. tcp_ack_number
  263. TCP acknowledge number (as a number assembled from a TCP
  264. packet in big-endian order, i.e. requiring a byte-swap for
  265. little-endian FW/SW w.r.t. the byte order in a packet)
  266. tcp_flag
  267. TCP flags
  268. {NS,CWR,ECE,URG,ACK,PSH, RST ,SYN,FIN}(with the NS bit
  269. in bit 8 and the FIN bit in bit 0, i.e. in big-endian order,
  270. i.e. requiring a byte-swap for little-endian FW/SW w.r.t.
  271. the byte order in a packet)
  272. lro_eligible
  273. Computed out of TCP and IP fields to indicate that this
  274. MSDU is eligible for LRO
  275. reserved_9a
  276. NOTE: DO not assign a field... Internally used in
  277. RXOLE..
  278. <legal 0>
  279. window_size
  280. TCP receive window size (as a number assembled from a
  281. TCP packet in big-endian order, i.e. requiring a byte-swap
  282. for little-endian FW/SW w.r.t. the byte order in a packet)
  283. da_offset
  284. Offset into MSDU buffer for DA
  285. sa_offset
  286. Offset into MSDU buffer for SA
  287. da_offset_valid
  288. da_offset field is valid. This will be set to 0 in case
  289. of a dynamic A-MSDU when DA is compressed
  290. sa_offset_valid
  291. sa_offset field is valid. This will be set to 0 in case
  292. of a dynamic A-MSDU when SA is compressed
  293. reserved_10a
  294. <legal 0>
  295. l3_type
  296. The 16-bit type value indicating the type of L3 later
  297. extracted from LLC/SNAP, set to zero if SNAP is not
  298. available
  299. rule_indication_31_0
  300. Bitmap indicating which of rules 31-0 have matched
  301. rule_indication_63_32
  302. Bitmap indicating which of rules 63-32 have matched
  303. sa_idx
  304. The offset in the address table which matches the MAC
  305. source address.
  306. da_idx_or_sw_peer_id
  307. Based on a register configuration in RXOLE, this field
  308. will contain:
  309. The offset in the address table which matches the
  310. destination address
  311. OR
  312. Sw_peer_id from the address search entry corresponding
  313. to the DA of the MSDU
  314. msdu_drop
  315. When set, REO shall drop this MSDU and not forward it to
  316. any other ring...
  317. <legal all>
  318. reo_destination_indication
  319. The ID of the REO exit ring where the MSDU frame shall
  320. push after (MPDU level) reordering has finished.
  321. <enum 0 reo_destination_tcl> Reo will push the frame
  322. into the REO2TCL ring
  323. <enum 1 reo_destination_sw1> Reo will push the frame
  324. into the REO2SW1 ring
  325. <enum 2 reo_destination_sw2> Reo will push the frame
  326. into the REO2SW1 ring
  327. <enum 3 reo_destination_sw3> Reo will push the frame
  328. into the REO2SW1 ring
  329. <enum 4 reo_destination_sw4> Reo will push the frame
  330. into the REO2SW1 ring
  331. <enum 5 reo_destination_release> Reo will push the frame
  332. into the REO_release ring
  333. <enum 6 reo_destination_fw> Reo will push the frame into
  334. the REO2FW ring
  335. <enum 7 reo_destination_7> REO remaps this
  336. <enum 8 reo_destination_8> REO remaps this <enum 9
  337. reo_destination_9> REO remaps this <enum 10
  338. reo_destination_10> REO remaps this
  339. <enum 11 reo_destination_11> REO remaps this
  340. <enum 12 reo_destination_12> REO remaps this <enum 13
  341. reo_destination_13> REO remaps this
  342. <enum 14 reo_destination_14> REO remaps this
  343. <enum 15 reo_destination_15> REO remaps this
  344. <enum 16 reo_destination_16> REO remaps this
  345. <enum 17 reo_destination_17> REO remaps this
  346. <enum 18 reo_destination_18> REO remaps this
  347. <enum 19 reo_destination_19> REO remaps this
  348. <enum 20 reo_destination_20> REO remaps this
  349. <enum 21 reo_destination_21> REO remaps this
  350. <enum 22 reo_destination_22> REO remaps this
  351. <enum 23 reo_destination_23> REO remaps this
  352. <enum 24 reo_destination_24> REO remaps this
  353. <enum 25 reo_destination_25> REO remaps this
  354. <enum 26 reo_destination_26> REO remaps this
  355. <enum 27 reo_destination_27> REO remaps this
  356. <enum 28 reo_destination_28> REO remaps this
  357. <enum 29 reo_destination_29> REO remaps this
  358. <enum 30 reo_destination_30> REO remaps this
  359. <enum 31 reo_destination_31> REO remaps this
  360. <legal all>
  361. flow_idx
  362. Flow table index
  363. <legal all>
  364. reserved_14
  365. <legal 0>
  366. fse_metadata
  367. FSE related meta data:
  368. <legal all>
  369. cce_metadata
  370. CCE related meta data:
  371. <legal all>
  372. sa_sw_peer_id
  373. sw_peer_id from the address search entry corresponding
  374. to the source address of the MSDU
  375. <legal 0>
  376. */
  377. /* Description RX_MSDU_END_0_RXPCU_MPDU_FILTER_IN_CATEGORY
  378. Field indicates what the reason was that this MPDU frame
  379. was allowed to come into the receive path by RXPCU
  380. <enum 0 rxpcu_filter_pass> This MPDU passed the normal
  381. frame filter programming of rxpcu
  382. <enum 1 rxpcu_monitor_client> This MPDU did NOT pass the
  383. regular frame filter and would have been dropped, were it
  384. not for the frame fitting into the 'monitor_client'
  385. category.
  386. <enum 2 rxpcu_monitor_other> This MPDU did NOT pass the
  387. regular frame filter and also did not pass the
  388. rxpcu_monitor_client filter. It would have been dropped
  389. accept that it did pass the 'monitor_other' category.
  390. <legal 0-2>
  391. */
  392. #define RX_MSDU_END_0_RXPCU_MPDU_FILTER_IN_CATEGORY_OFFSET 0x00000000
  393. #define RX_MSDU_END_0_RXPCU_MPDU_FILTER_IN_CATEGORY_LSB 0
  394. #define RX_MSDU_END_0_RXPCU_MPDU_FILTER_IN_CATEGORY_MASK 0x00000003
  395. /* Description RX_MSDU_END_0_SW_FRAME_GROUP_ID
  396. SW processes frames based on certain classifications.
  397. This field indicates to what sw classification this MPDU is
  398. mapped.
  399. The classification is given in priority order
  400. <enum 0 sw_frame_group_NDP_frame>
  401. <enum 1 sw_frame_group_Multicast_data>
  402. <enum 2 sw_frame_group_Unicast_data>
  403. <enum 3 sw_frame_group_Null_data > This includes mpdus
  404. of type Data Null as well as QoS Data Null
  405. <enum 4 sw_frame_group_mgmt_0000 >
  406. <enum 5 sw_frame_group_mgmt_0001 >
  407. <enum 6 sw_frame_group_mgmt_0010 >
  408. <enum 7 sw_frame_group_mgmt_0011 >
  409. <enum 8 sw_frame_group_mgmt_0100 >
  410. <enum 9 sw_frame_group_mgmt_0101 >
  411. <enum 10 sw_frame_group_mgmt_0110 >
  412. <enum 11 sw_frame_group_mgmt_0111 >
  413. <enum 12 sw_frame_group_mgmt_1000 >
  414. <enum 13 sw_frame_group_mgmt_1001 >
  415. <enum 14 sw_frame_group_mgmt_1010 >
  416. <enum 15 sw_frame_group_mgmt_1011 >
  417. <enum 16 sw_frame_group_mgmt_1100 >
  418. <enum 17 sw_frame_group_mgmt_1101 >
  419. <enum 18 sw_frame_group_mgmt_1110 >
  420. <enum 19 sw_frame_group_mgmt_1111 >
  421. <enum 20 sw_frame_group_ctrl_0000 >
  422. <enum 21 sw_frame_group_ctrl_0001 >
  423. <enum 22 sw_frame_group_ctrl_0010 >
  424. <enum 23 sw_frame_group_ctrl_0011 >
  425. <enum 24 sw_frame_group_ctrl_0100 >
  426. <enum 25 sw_frame_group_ctrl_0101 >
  427. <enum 26 sw_frame_group_ctrl_0110 >
  428. <enum 27 sw_frame_group_ctrl_0111 >
  429. <enum 28 sw_frame_group_ctrl_1000 >
  430. <enum 29 sw_frame_group_ctrl_1001 >
  431. <enum 30 sw_frame_group_ctrl_1010 >
  432. <enum 31 sw_frame_group_ctrl_1011 >
  433. <enum 32 sw_frame_group_ctrl_1100 >
  434. <enum 33 sw_frame_group_ctrl_1101 >
  435. <enum 34 sw_frame_group_ctrl_1110 >
  436. <enum 35 sw_frame_group_ctrl_1111 >
  437. <enum 36 sw_frame_group_unsupported> This covers type 3
  438. and protocol version != 0
  439. <legal 0-37>
  440. */
  441. #define RX_MSDU_END_0_SW_FRAME_GROUP_ID_OFFSET 0x00000000
  442. #define RX_MSDU_END_0_SW_FRAME_GROUP_ID_LSB 2
  443. #define RX_MSDU_END_0_SW_FRAME_GROUP_ID_MASK 0x000001fc
  444. /* Description RX_MSDU_END_0_RESERVED_0
  445. <legal 0>
  446. */
  447. #define RX_MSDU_END_0_RESERVED_0_OFFSET 0x00000000
  448. #define RX_MSDU_END_0_RESERVED_0_LSB 9
  449. #define RX_MSDU_END_0_RESERVED_0_MASK 0x0000fe00
  450. /* Description RX_MSDU_END_0_PHY_PPDU_ID
  451. A ppdu counter value that PHY increments for every PPDU
  452. received. The counter value wraps around
  453. <legal all>
  454. */
  455. #define RX_MSDU_END_0_PHY_PPDU_ID_OFFSET 0x00000000
  456. #define RX_MSDU_END_0_PHY_PPDU_ID_LSB 16
  457. #define RX_MSDU_END_0_PHY_PPDU_ID_MASK 0xffff0000
  458. /* Description RX_MSDU_END_1_IP_HDR_CHKSUM
  459. This can include the IP header checksum or the pseudo
  460. header checksum used by TCP/UDP checksum.
  461. (with the first byte in the MSB and the second byte in
  462. the LSB, i.e. requiring a byte-swap for little-endian FW/SW
  463. w.r.t. the byte order in a packet)
  464. */
  465. #define RX_MSDU_END_1_IP_HDR_CHKSUM_OFFSET 0x00000004
  466. #define RX_MSDU_END_1_IP_HDR_CHKSUM_LSB 0
  467. #define RX_MSDU_END_1_IP_HDR_CHKSUM_MASK 0x0000ffff
  468. /* Description RX_MSDU_END_1_TCP_UDP_CHKSUM
  469. The value of the computed TCP/UDP checksum. A mode bit
  470. selects whether this checksum is the full checksum or the
  471. partial checksum which does not include the pseudo header.
  472. (with the first byte in the MSB and the second byte in the
  473. LSB, i.e. requiring a byte-swap for little-endian FW/SW
  474. w.r.t. the byte order in a packet)
  475. */
  476. #define RX_MSDU_END_1_TCP_UDP_CHKSUM_OFFSET 0x00000004
  477. #define RX_MSDU_END_1_TCP_UDP_CHKSUM_LSB 16
  478. #define RX_MSDU_END_1_TCP_UDP_CHKSUM_MASK 0xffff0000
  479. /* Description RX_MSDU_END_2_KEY_ID_OCTET
  480. The key ID octet from the IV. Only valid when
  481. first_msdu is set.
  482. */
  483. #define RX_MSDU_END_2_KEY_ID_OCTET_OFFSET 0x00000008
  484. #define RX_MSDU_END_2_KEY_ID_OCTET_LSB 0
  485. #define RX_MSDU_END_2_KEY_ID_OCTET_MASK 0x000000ff
  486. /* Description RX_MSDU_END_2_CCE_SUPER_RULE
  487. Indicates the super filter rule
  488. */
  489. #define RX_MSDU_END_2_CCE_SUPER_RULE_OFFSET 0x00000008
  490. #define RX_MSDU_END_2_CCE_SUPER_RULE_LSB 8
  491. #define RX_MSDU_END_2_CCE_SUPER_RULE_MASK 0x00003f00
  492. /* Description RX_MSDU_END_2_CCE_CLASSIFY_NOT_DONE_TRUNCATE
  493. Classification failed due to truncated frame
  494. */
  495. #define RX_MSDU_END_2_CCE_CLASSIFY_NOT_DONE_TRUNCATE_OFFSET 0x00000008
  496. #define RX_MSDU_END_2_CCE_CLASSIFY_NOT_DONE_TRUNCATE_LSB 14
  497. #define RX_MSDU_END_2_CCE_CLASSIFY_NOT_DONE_TRUNCATE_MASK 0x00004000
  498. /* Description RX_MSDU_END_2_CCE_CLASSIFY_NOT_DONE_CCE_DIS
  499. Classification failed due to CCE global disable
  500. */
  501. #define RX_MSDU_END_2_CCE_CLASSIFY_NOT_DONE_CCE_DIS_OFFSET 0x00000008
  502. #define RX_MSDU_END_2_CCE_CLASSIFY_NOT_DONE_CCE_DIS_LSB 15
  503. #define RX_MSDU_END_2_CCE_CLASSIFY_NOT_DONE_CCE_DIS_MASK 0x00008000
  504. /* Description RX_MSDU_END_2_EXT_WAPI_PN_63_48
  505. Extension PN (packet number) which is only used by WAPI.
  506. This corresponds to WAPI PN bits [63:48] (pn6 and pn7).
  507. The WAPI PN bits [63:0] are in the pn field of the
  508. rx_mpdu_start descriptor.
  509. */
  510. #define RX_MSDU_END_2_EXT_WAPI_PN_63_48_OFFSET 0x00000008
  511. #define RX_MSDU_END_2_EXT_WAPI_PN_63_48_LSB 16
  512. #define RX_MSDU_END_2_EXT_WAPI_PN_63_48_MASK 0xffff0000
  513. /* Description RX_MSDU_END_3_EXT_WAPI_PN_95_64
  514. Extension PN (packet number) which is only used by WAPI.
  515. This corresponds to WAPI PN bits [95:64] (pn8, pn9, pn10
  516. and pn11).
  517. */
  518. #define RX_MSDU_END_3_EXT_WAPI_PN_95_64_OFFSET 0x0000000c
  519. #define RX_MSDU_END_3_EXT_WAPI_PN_95_64_LSB 0
  520. #define RX_MSDU_END_3_EXT_WAPI_PN_95_64_MASK 0xffffffff
  521. /* Description RX_MSDU_END_4_EXT_WAPI_PN_127_96
  522. Extension PN (packet number) which is only used by WAPI.
  523. This corresponds to WAPI PN bits [127:96] (pn12, pn13,
  524. pn14, pn15).
  525. */
  526. #define RX_MSDU_END_4_EXT_WAPI_PN_127_96_OFFSET 0x00000010
  527. #define RX_MSDU_END_4_EXT_WAPI_PN_127_96_LSB 0
  528. #define RX_MSDU_END_4_EXT_WAPI_PN_127_96_MASK 0xffffffff
  529. /* Description RX_MSDU_END_5_REPORTED_MPDU_LENGTH
  530. MPDU length before decapsulation. Only valid when
  531. first_msdu is set. This field is taken directly from the
  532. length field of the A-MPDU delimiter or the preamble length
  533. field for non-A-MPDU frames.
  534. */
  535. #define RX_MSDU_END_5_REPORTED_MPDU_LENGTH_OFFSET 0x00000014
  536. #define RX_MSDU_END_5_REPORTED_MPDU_LENGTH_LSB 0
  537. #define RX_MSDU_END_5_REPORTED_MPDU_LENGTH_MASK 0x00003fff
  538. /* Description RX_MSDU_END_5_FIRST_MSDU
  539. Indicates the first MSDU of A-MSDU. If both first_msdu
  540. and last_msdu are set in the MSDU then this is a
  541. non-aggregated MSDU frame: normal MPDU. Interior MSDU in an
  542. A-MSDU shall have both first_mpdu and last_mpdu bits set to
  543. 0.
  544. */
  545. #define RX_MSDU_END_5_FIRST_MSDU_OFFSET 0x00000014
  546. #define RX_MSDU_END_5_FIRST_MSDU_LSB 14
  547. #define RX_MSDU_END_5_FIRST_MSDU_MASK 0x00004000
  548. /* Description RX_MSDU_END_5_LAST_MSDU
  549. Indicates the last MSDU of the A-MSDU. MPDU end status
  550. is only valid when last_msdu is set.
  551. */
  552. #define RX_MSDU_END_5_LAST_MSDU_OFFSET 0x00000014
  553. #define RX_MSDU_END_5_LAST_MSDU_LSB 15
  554. #define RX_MSDU_END_5_LAST_MSDU_MASK 0x00008000
  555. /* Description RX_MSDU_END_5_SA_IDX_TIMEOUT
  556. Indicates an unsuccessful MAC source address search due
  557. to the expiring of the search timer.
  558. */
  559. #define RX_MSDU_END_5_SA_IDX_TIMEOUT_OFFSET 0x00000014
  560. #define RX_MSDU_END_5_SA_IDX_TIMEOUT_LSB 16
  561. #define RX_MSDU_END_5_SA_IDX_TIMEOUT_MASK 0x00010000
  562. /* Description RX_MSDU_END_5_DA_IDX_TIMEOUT
  563. Indicates an unsuccessful MAC destination address search
  564. due to the expiring of the search timer.
  565. */
  566. #define RX_MSDU_END_5_DA_IDX_TIMEOUT_OFFSET 0x00000014
  567. #define RX_MSDU_END_5_DA_IDX_TIMEOUT_LSB 17
  568. #define RX_MSDU_END_5_DA_IDX_TIMEOUT_MASK 0x00020000
  569. /* Description RX_MSDU_END_5_MSDU_LIMIT_ERROR
  570. Indicates that the MSDU threshold was exceeded and thus
  571. all the rest of the MSDUs will not be scattered and will not
  572. be decapsulated but will be DMA'ed in RAW format as a single
  573. MSDU buffer
  574. */
  575. #define RX_MSDU_END_5_MSDU_LIMIT_ERROR_OFFSET 0x00000014
  576. #define RX_MSDU_END_5_MSDU_LIMIT_ERROR_LSB 18
  577. #define RX_MSDU_END_5_MSDU_LIMIT_ERROR_MASK 0x00040000
  578. /* Description RX_MSDU_END_5_FLOW_IDX_TIMEOUT
  579. Indicates an unsuccessful flow search due to the
  580. expiring of the search timer.
  581. <legal all>
  582. */
  583. #define RX_MSDU_END_5_FLOW_IDX_TIMEOUT_OFFSET 0x00000014
  584. #define RX_MSDU_END_5_FLOW_IDX_TIMEOUT_LSB 19
  585. #define RX_MSDU_END_5_FLOW_IDX_TIMEOUT_MASK 0x00080000
  586. /* Description RX_MSDU_END_5_FLOW_IDX_INVALID
  587. flow id is not valid
  588. <legal all>
  589. */
  590. #define RX_MSDU_END_5_FLOW_IDX_INVALID_OFFSET 0x00000014
  591. #define RX_MSDU_END_5_FLOW_IDX_INVALID_LSB 20
  592. #define RX_MSDU_END_5_FLOW_IDX_INVALID_MASK 0x00100000
  593. /* Description RX_MSDU_END_5_WIFI_PARSER_ERROR
  594. Indicates that the WiFi frame has one of the following
  595. errors
  596. o has less than minimum allowed bytes as per standard
  597. o has incomplete VLAN LLC/SNAP (only for non A-MSDUs)
  598. <legal all>
  599. */
  600. #define RX_MSDU_END_5_WIFI_PARSER_ERROR_OFFSET 0x00000014
  601. #define RX_MSDU_END_5_WIFI_PARSER_ERROR_LSB 21
  602. #define RX_MSDU_END_5_WIFI_PARSER_ERROR_MASK 0x00200000
  603. /* Description RX_MSDU_END_5_AMSDU_PARSER_ERROR
  604. A-MSDU could not be properly de-agregated.
  605. <legal all>
  606. */
  607. #define RX_MSDU_END_5_AMSDU_PARSER_ERROR_OFFSET 0x00000014
  608. #define RX_MSDU_END_5_AMSDU_PARSER_ERROR_LSB 22
  609. #define RX_MSDU_END_5_AMSDU_PARSER_ERROR_MASK 0x00400000
  610. /* Description RX_MSDU_END_5_SA_IS_VALID
  611. Indicates that OLE found a valid SA entry
  612. */
  613. #define RX_MSDU_END_5_SA_IS_VALID_OFFSET 0x00000014
  614. #define RX_MSDU_END_5_SA_IS_VALID_LSB 23
  615. #define RX_MSDU_END_5_SA_IS_VALID_MASK 0x00800000
  616. /* Description RX_MSDU_END_5_DA_IS_VALID
  617. Indicates that OLE found a valid DA entry
  618. */
  619. #define RX_MSDU_END_5_DA_IS_VALID_OFFSET 0x00000014
  620. #define RX_MSDU_END_5_DA_IS_VALID_LSB 24
  621. #define RX_MSDU_END_5_DA_IS_VALID_MASK 0x01000000
  622. /* Description RX_MSDU_END_5_DA_IS_MCBC
  623. Field Only valid if da_is_valid is set
  624. Indicates the DA address was a Multicast of Broadcast
  625. address.
  626. */
  627. #define RX_MSDU_END_5_DA_IS_MCBC_OFFSET 0x00000014
  628. #define RX_MSDU_END_5_DA_IS_MCBC_LSB 25
  629. #define RX_MSDU_END_5_DA_IS_MCBC_MASK 0x02000000
  630. /* Description RX_MSDU_END_5_L3_HEADER_PADDING
  631. Number of bytes padded to make sure that the L3 header
  632. will always start of a Dword boundary
  633. */
  634. #define RX_MSDU_END_5_L3_HEADER_PADDING_OFFSET 0x00000014
  635. #define RX_MSDU_END_5_L3_HEADER_PADDING_LSB 26
  636. #define RX_MSDU_END_5_L3_HEADER_PADDING_MASK 0x0c000000
  637. /* Description RX_MSDU_END_5_RESERVED_5A
  638. <legal 0>
  639. */
  640. #define RX_MSDU_END_5_RESERVED_5A_OFFSET 0x00000014
  641. #define RX_MSDU_END_5_RESERVED_5A_LSB 28
  642. #define RX_MSDU_END_5_RESERVED_5A_MASK 0xf0000000
  643. /* Description RX_MSDU_END_6_IPV6_OPTIONS_CRC
  644. 32 bit CRC computed out of IP v6 extension headers
  645. */
  646. #define RX_MSDU_END_6_IPV6_OPTIONS_CRC_OFFSET 0x00000018
  647. #define RX_MSDU_END_6_IPV6_OPTIONS_CRC_LSB 0
  648. #define RX_MSDU_END_6_IPV6_OPTIONS_CRC_MASK 0xffffffff
  649. /* Description RX_MSDU_END_7_TCP_SEQ_NUMBER
  650. TCP sequence number (as a number assembled from a TCP
  651. packet in big-endian order, i.e. requiring a byte-swap for
  652. little-endian FW/SW w.r.t. the byte order in a packet)
  653. */
  654. #define RX_MSDU_END_7_TCP_SEQ_NUMBER_OFFSET 0x0000001c
  655. #define RX_MSDU_END_7_TCP_SEQ_NUMBER_LSB 0
  656. #define RX_MSDU_END_7_TCP_SEQ_NUMBER_MASK 0xffffffff
  657. /* Description RX_MSDU_END_8_TCP_ACK_NUMBER
  658. TCP acknowledge number (as a number assembled from a TCP
  659. packet in big-endian order, i.e. requiring a byte-swap for
  660. little-endian FW/SW w.r.t. the byte order in a packet)
  661. */
  662. #define RX_MSDU_END_8_TCP_ACK_NUMBER_OFFSET 0x00000020
  663. #define RX_MSDU_END_8_TCP_ACK_NUMBER_LSB 0
  664. #define RX_MSDU_END_8_TCP_ACK_NUMBER_MASK 0xffffffff
  665. /* Description RX_MSDU_END_9_TCP_FLAG
  666. TCP flags
  667. {NS,CWR,ECE,URG,ACK,PSH, RST ,SYN,FIN}(with the NS bit
  668. in bit 8 and the FIN bit in bit 0, i.e. in big-endian order,
  669. i.e. requiring a byte-swap for little-endian FW/SW w.r.t.
  670. the byte order in a packet)
  671. */
  672. #define RX_MSDU_END_9_TCP_FLAG_OFFSET 0x00000024
  673. #define RX_MSDU_END_9_TCP_FLAG_LSB 0
  674. #define RX_MSDU_END_9_TCP_FLAG_MASK 0x000001ff
  675. /* Description RX_MSDU_END_9_LRO_ELIGIBLE
  676. Computed out of TCP and IP fields to indicate that this
  677. MSDU is eligible for LRO
  678. */
  679. #define RX_MSDU_END_9_LRO_ELIGIBLE_OFFSET 0x00000024
  680. #define RX_MSDU_END_9_LRO_ELIGIBLE_LSB 9
  681. #define RX_MSDU_END_9_LRO_ELIGIBLE_MASK 0x00000200
  682. /* Description RX_MSDU_END_9_RESERVED_9A
  683. NOTE: DO not assign a field... Internally used in
  684. RXOLE..
  685. <legal 0>
  686. */
  687. #define RX_MSDU_END_9_RESERVED_9A_OFFSET 0x00000024
  688. #define RX_MSDU_END_9_RESERVED_9A_LSB 10
  689. #define RX_MSDU_END_9_RESERVED_9A_MASK 0x0000fc00
  690. /* Description RX_MSDU_END_9_WINDOW_SIZE
  691. TCP receive window size (as a number assembled from a
  692. TCP packet in big-endian order, i.e. requiring a byte-swap
  693. for little-endian FW/SW w.r.t. the byte order in a packet)
  694. */
  695. #define RX_MSDU_END_9_WINDOW_SIZE_OFFSET 0x00000024
  696. #define RX_MSDU_END_9_WINDOW_SIZE_LSB 16
  697. #define RX_MSDU_END_9_WINDOW_SIZE_MASK 0xffff0000
  698. /* Description RX_MSDU_END_10_DA_OFFSET
  699. Offset into MSDU buffer for DA
  700. */
  701. #define RX_MSDU_END_10_DA_OFFSET_OFFSET 0x00000028
  702. #define RX_MSDU_END_10_DA_OFFSET_LSB 0
  703. #define RX_MSDU_END_10_DA_OFFSET_MASK 0x0000003f
  704. /* Description RX_MSDU_END_10_SA_OFFSET
  705. Offset into MSDU buffer for SA
  706. */
  707. #define RX_MSDU_END_10_SA_OFFSET_OFFSET 0x00000028
  708. #define RX_MSDU_END_10_SA_OFFSET_LSB 6
  709. #define RX_MSDU_END_10_SA_OFFSET_MASK 0x00000fc0
  710. /* Description RX_MSDU_END_10_DA_OFFSET_VALID
  711. da_offset field is valid. This will be set to 0 in case
  712. of a dynamic A-MSDU when DA is compressed
  713. */
  714. #define RX_MSDU_END_10_DA_OFFSET_VALID_OFFSET 0x00000028
  715. #define RX_MSDU_END_10_DA_OFFSET_VALID_LSB 12
  716. #define RX_MSDU_END_10_DA_OFFSET_VALID_MASK 0x00001000
  717. /* Description RX_MSDU_END_10_SA_OFFSET_VALID
  718. sa_offset field is valid. This will be set to 0 in case
  719. of a dynamic A-MSDU when SA is compressed
  720. */
  721. #define RX_MSDU_END_10_SA_OFFSET_VALID_OFFSET 0x00000028
  722. #define RX_MSDU_END_10_SA_OFFSET_VALID_LSB 13
  723. #define RX_MSDU_END_10_SA_OFFSET_VALID_MASK 0x00002000
  724. /* Description RX_MSDU_END_10_RESERVED_10A
  725. <legal 0>
  726. */
  727. #define RX_MSDU_END_10_RESERVED_10A_OFFSET 0x00000028
  728. #define RX_MSDU_END_10_RESERVED_10A_LSB 14
  729. #define RX_MSDU_END_10_RESERVED_10A_MASK 0x0000c000
  730. /* Description RX_MSDU_END_10_L3_TYPE
  731. The 16-bit type value indicating the type of L3 later
  732. extracted from LLC/SNAP, set to zero if SNAP is not
  733. available
  734. */
  735. #define RX_MSDU_END_10_L3_TYPE_OFFSET 0x00000028
  736. #define RX_MSDU_END_10_L3_TYPE_LSB 16
  737. #define RX_MSDU_END_10_L3_TYPE_MASK 0xffff0000
  738. /* Description RX_MSDU_END_11_RULE_INDICATION_31_0
  739. Bitmap indicating which of rules 31-0 have matched
  740. */
  741. #define RX_MSDU_END_11_RULE_INDICATION_31_0_OFFSET 0x0000002c
  742. #define RX_MSDU_END_11_RULE_INDICATION_31_0_LSB 0
  743. #define RX_MSDU_END_11_RULE_INDICATION_31_0_MASK 0xffffffff
  744. /* Description RX_MSDU_END_12_RULE_INDICATION_63_32
  745. Bitmap indicating which of rules 63-32 have matched
  746. */
  747. #define RX_MSDU_END_12_RULE_INDICATION_63_32_OFFSET 0x00000030
  748. #define RX_MSDU_END_12_RULE_INDICATION_63_32_LSB 0
  749. #define RX_MSDU_END_12_RULE_INDICATION_63_32_MASK 0xffffffff
  750. /* Description RX_MSDU_END_13_SA_IDX
  751. The offset in the address table which matches the MAC
  752. source address.
  753. */
  754. #define RX_MSDU_END_13_SA_IDX_OFFSET 0x00000034
  755. #define RX_MSDU_END_13_SA_IDX_LSB 0
  756. #define RX_MSDU_END_13_SA_IDX_MASK 0x0000ffff
  757. /* Description RX_MSDU_END_13_DA_IDX_OR_SW_PEER_ID
  758. Based on a register configuration in RXOLE, this field
  759. will contain:
  760. The offset in the address table which matches the
  761. destination address
  762. OR
  763. Sw_peer_id from the address search entry corresponding
  764. to the DA of the MSDU
  765. */
  766. #define RX_MSDU_END_13_DA_IDX_OR_SW_PEER_ID_OFFSET 0x00000034
  767. #define RX_MSDU_END_13_DA_IDX_OR_SW_PEER_ID_LSB 16
  768. #define RX_MSDU_END_13_DA_IDX_OR_SW_PEER_ID_MASK 0xffff0000
  769. /* Description RX_MSDU_END_14_MSDU_DROP
  770. When set, REO shall drop this MSDU and not forward it to
  771. any other ring...
  772. <legal all>
  773. */
  774. #define RX_MSDU_END_14_MSDU_DROP_OFFSET 0x00000038
  775. #define RX_MSDU_END_14_MSDU_DROP_LSB 0
  776. #define RX_MSDU_END_14_MSDU_DROP_MASK 0x00000001
  777. /* Description RX_MSDU_END_14_REO_DESTINATION_INDICATION
  778. The ID of the REO exit ring where the MSDU frame shall
  779. push after (MPDU level) reordering has finished.
  780. <enum 0 reo_destination_tcl> Reo will push the frame
  781. into the REO2TCL ring
  782. <enum 1 reo_destination_sw1> Reo will push the frame
  783. into the REO2SW1 ring
  784. <enum 2 reo_destination_sw2> Reo will push the frame
  785. into the REO2SW1 ring
  786. <enum 3 reo_destination_sw3> Reo will push the frame
  787. into the REO2SW1 ring
  788. <enum 4 reo_destination_sw4> Reo will push the frame
  789. into the REO2SW1 ring
  790. <enum 5 reo_destination_release> Reo will push the frame
  791. into the REO_release ring
  792. <enum 6 reo_destination_fw> Reo will push the frame into
  793. the REO2FW ring
  794. <enum 7 reo_destination_7> REO remaps this
  795. <enum 8 reo_destination_8> REO remaps this <enum 9
  796. reo_destination_9> REO remaps this <enum 10
  797. reo_destination_10> REO remaps this
  798. <enum 11 reo_destination_11> REO remaps this
  799. <enum 12 reo_destination_12> REO remaps this <enum 13
  800. reo_destination_13> REO remaps this
  801. <enum 14 reo_destination_14> REO remaps this
  802. <enum 15 reo_destination_15> REO remaps this
  803. <enum 16 reo_destination_16> REO remaps this
  804. <enum 17 reo_destination_17> REO remaps this
  805. <enum 18 reo_destination_18> REO remaps this
  806. <enum 19 reo_destination_19> REO remaps this
  807. <enum 20 reo_destination_20> REO remaps this
  808. <enum 21 reo_destination_21> REO remaps this
  809. <enum 22 reo_destination_22> REO remaps this
  810. <enum 23 reo_destination_23> REO remaps this
  811. <enum 24 reo_destination_24> REO remaps this
  812. <enum 25 reo_destination_25> REO remaps this
  813. <enum 26 reo_destination_26> REO remaps this
  814. <enum 27 reo_destination_27> REO remaps this
  815. <enum 28 reo_destination_28> REO remaps this
  816. <enum 29 reo_destination_29> REO remaps this
  817. <enum 30 reo_destination_30> REO remaps this
  818. <enum 31 reo_destination_31> REO remaps this
  819. <legal all>
  820. */
  821. #define RX_MSDU_END_14_REO_DESTINATION_INDICATION_OFFSET 0x00000038
  822. #define RX_MSDU_END_14_REO_DESTINATION_INDICATION_LSB 1
  823. #define RX_MSDU_END_14_REO_DESTINATION_INDICATION_MASK 0x0000003e
  824. /* Description RX_MSDU_END_14_FLOW_IDX
  825. Flow table index
  826. <legal all>
  827. */
  828. #define RX_MSDU_END_14_FLOW_IDX_OFFSET 0x00000038
  829. #define RX_MSDU_END_14_FLOW_IDX_LSB 6
  830. #define RX_MSDU_END_14_FLOW_IDX_MASK 0x03ffffc0
  831. /* Description RX_MSDU_END_14_RESERVED_14
  832. <legal 0>
  833. */
  834. #define RX_MSDU_END_14_RESERVED_14_OFFSET 0x00000038
  835. #define RX_MSDU_END_14_RESERVED_14_LSB 26
  836. #define RX_MSDU_END_14_RESERVED_14_MASK 0xfc000000
  837. /* Description RX_MSDU_END_15_FSE_METADATA
  838. FSE related meta data:
  839. <legal all>
  840. */
  841. #define RX_MSDU_END_15_FSE_METADATA_OFFSET 0x0000003c
  842. #define RX_MSDU_END_15_FSE_METADATA_LSB 0
  843. #define RX_MSDU_END_15_FSE_METADATA_MASK 0xffffffff
  844. /* Description RX_MSDU_END_16_CCE_METADATA
  845. CCE related meta data:
  846. <legal all>
  847. */
  848. #define RX_MSDU_END_16_CCE_METADATA_OFFSET 0x00000040
  849. #define RX_MSDU_END_16_CCE_METADATA_LSB 0
  850. #define RX_MSDU_END_16_CCE_METADATA_MASK 0x0000ffff
  851. /* Description RX_MSDU_END_16_SA_SW_PEER_ID
  852. sw_peer_id from the address search entry corresponding
  853. to the source address of the MSDU
  854. <legal 0>
  855. */
  856. #define RX_MSDU_END_16_SA_SW_PEER_ID_OFFSET 0x00000040
  857. #define RX_MSDU_END_16_SA_SW_PEER_ID_LSB 16
  858. #define RX_MSDU_END_16_SA_SW_PEER_ID_MASK 0xffff0000
  859. #endif // _RX_MSDU_END_H_