rx_msdu_end.h 41 KB

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