rx_msdu_end.h 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284
  1. /*
  2. * Copyright (c) 2016-2017 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[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 : 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
  305. The offset in the address table which matches the MAC
  306. source address
  307. msdu_drop
  308. When set, REO shall drop this MSDU and not forward it to
  309. any other ring...
  310. <legal all>
  311. reo_destination_indication
  312. The ID of the REO exit ring where the MSDU frame shall
  313. push after (MPDU level) reordering has finished.
  314. <enum 0 reo_destination_tcl> Reo will push the frame
  315. into the REO2TCL ring
  316. <enum 1 reo_destination_sw1> Reo will push the frame
  317. into the REO2SW1 ring
  318. <enum 2 reo_destination_sw2> Reo will push the frame
  319. into the REO2SW1 ring
  320. <enum 3 reo_destination_sw3> Reo will push the frame
  321. into the REO2SW1 ring
  322. <enum 4 reo_destination_sw4> Reo will push the frame
  323. into the REO2SW1 ring
  324. <enum 5 reo_destination_release> Reo will push the frame
  325. into the REO_release ring
  326. <enum 6 reo_destination_fw> Reo will push the frame into
  327. the REO2FW ring
  328. <enum 7 reo_destination_7> REO remaps this
  329. <enum 8 reo_destination_8> REO remaps this <enum 9
  330. reo_destination_9> REO remaps this <enum 10
  331. reo_destination_10> REO remaps this
  332. <enum 11 reo_destination_11> REO remaps this
  333. <enum 12 reo_destination_12> REO remaps this <enum 13
  334. reo_destination_13> REO remaps this
  335. <enum 14 reo_destination_14> REO remaps this
  336. <enum 15 reo_destination_15> REO remaps this
  337. <enum 16 reo_destination_16> REO remaps this
  338. <enum 17 reo_destination_17> REO remaps this
  339. <enum 18 reo_destination_18> REO remaps this
  340. <enum 19 reo_destination_19> REO remaps this
  341. <enum 20 reo_destination_20> REO remaps this
  342. <enum 21 reo_destination_21> REO remaps this
  343. <enum 22 reo_destination_22> REO remaps this
  344. <enum 23 reo_destination_23> REO remaps this
  345. <enum 24 reo_destination_24> REO remaps this
  346. <enum 25 reo_destination_25> REO remaps this
  347. <enum 26 reo_destination_26> REO remaps this
  348. <enum 27 reo_destination_27> REO remaps this
  349. <enum 28 reo_destination_28> REO remaps this
  350. <enum 29 reo_destination_29> REO remaps this
  351. <enum 30 reo_destination_30> REO remaps this
  352. <enum 31 reo_destination_31> REO remaps this
  353. <legal all>
  354. flow_idx
  355. Flow table index
  356. <legal all>
  357. reserved_14
  358. <legal 0>
  359. fse_metadata
  360. FSE related meta data:
  361. <legal all>
  362. cce_metadata
  363. CCE related meta data:
  364. <legal all>
  365. sa_sw_peer_id
  366. sw_peer_id from the address search entry corresponding
  367. to the source address of the MSDU
  368. <legal 0>
  369. */
  370. /* Description RX_MSDU_END_0_RXPCU_MPDU_FILTER_IN_CATEGORY
  371. Field indicates what the reason was that this MPDU frame
  372. was allowed to come into the receive path by RXPCU
  373. <enum 0 rxpcu_filter_pass> This MPDU passed the normal
  374. frame filter programming of rxpcu
  375. <enum 1 rxpcu_monitor_client> This MPDU did NOT pass the
  376. regular frame filter and would have been dropped, were it
  377. not for the frame fitting into the 'monitor_client'
  378. category.
  379. <enum 2 rxpcu_monitor_other> This MPDU did NOT pass the
  380. regular frame filter and also did not pass the
  381. rxpcu_monitor_client filter. It would have been dropped
  382. accept that it did pass the 'monitor_other' category.
  383. <legal 0-2>
  384. */
  385. #define RX_MSDU_END_0_RXPCU_MPDU_FILTER_IN_CATEGORY_OFFSET 0x00000000
  386. #define RX_MSDU_END_0_RXPCU_MPDU_FILTER_IN_CATEGORY_LSB 0
  387. #define RX_MSDU_END_0_RXPCU_MPDU_FILTER_IN_CATEGORY_MASK 0x00000003
  388. /* Description RX_MSDU_END_0_SW_FRAME_GROUP_ID
  389. SW processes frames based on certain classifications.
  390. This field indicates to what sw classification this MPDU is
  391. mapped.
  392. The classification is given in priority order
  393. <enum 0 sw_frame_group_NDP_frame>
  394. <enum 1 sw_frame_group_Multicast_data>
  395. <enum 2 sw_frame_group_Unicast_data>
  396. <enum 3 sw_frame_group_Null_data > This includes mpdus
  397. of type Data Null as well as QoS Data Null
  398. <enum 4 sw_frame_group_mgmt_0000 >
  399. <enum 5 sw_frame_group_mgmt_0001 >
  400. <enum 6 sw_frame_group_mgmt_0010 >
  401. <enum 7 sw_frame_group_mgmt_0011 >
  402. <enum 8 sw_frame_group_mgmt_0100 >
  403. <enum 9 sw_frame_group_mgmt_0101 >
  404. <enum 10 sw_frame_group_mgmt_0110 >
  405. <enum 11 sw_frame_group_mgmt_0111 >
  406. <enum 12 sw_frame_group_mgmt_1000 >
  407. <enum 13 sw_frame_group_mgmt_1001 >
  408. <enum 14 sw_frame_group_mgmt_1010 >
  409. <enum 15 sw_frame_group_mgmt_1011 >
  410. <enum 16 sw_frame_group_mgmt_1100 >
  411. <enum 17 sw_frame_group_mgmt_1101 >
  412. <enum 18 sw_frame_group_mgmt_1110 >
  413. <enum 19 sw_frame_group_mgmt_1111 >
  414. <enum 20 sw_frame_group_ctrl_0000 >
  415. <enum 21 sw_frame_group_ctrl_0001 >
  416. <enum 22 sw_frame_group_ctrl_0010 >
  417. <enum 23 sw_frame_group_ctrl_0011 >
  418. <enum 24 sw_frame_group_ctrl_0100 >
  419. <enum 25 sw_frame_group_ctrl_0101 >
  420. <enum 26 sw_frame_group_ctrl_0110 >
  421. <enum 27 sw_frame_group_ctrl_0111 >
  422. <enum 28 sw_frame_group_ctrl_1000 >
  423. <enum 29 sw_frame_group_ctrl_1001 >
  424. <enum 30 sw_frame_group_ctrl_1010 >
  425. <enum 31 sw_frame_group_ctrl_1011 >
  426. <enum 32 sw_frame_group_ctrl_1100 >
  427. <enum 33 sw_frame_group_ctrl_1101 >
  428. <enum 34 sw_frame_group_ctrl_1110 >
  429. <enum 35 sw_frame_group_ctrl_1111 >
  430. <enum 36 sw_frame_group_unsupported> This covers type 3
  431. and protocol version != 0
  432. <legal 0-37>
  433. */
  434. #define RX_MSDU_END_0_SW_FRAME_GROUP_ID_OFFSET 0x00000000
  435. #define RX_MSDU_END_0_SW_FRAME_GROUP_ID_LSB 2
  436. #define RX_MSDU_END_0_SW_FRAME_GROUP_ID_MASK 0x000001fc
  437. /* Description RX_MSDU_END_0_RESERVED_0
  438. <legal 0>
  439. */
  440. #define RX_MSDU_END_0_RESERVED_0_OFFSET 0x00000000
  441. #define RX_MSDU_END_0_RESERVED_0_LSB 9
  442. #define RX_MSDU_END_0_RESERVED_0_MASK 0x0000fe00
  443. /* Description RX_MSDU_END_0_PHY_PPDU_ID
  444. A ppdu counter value that PHY increments for every PPDU
  445. received. The counter value wraps around
  446. <legal all>
  447. */
  448. #define RX_MSDU_END_0_PHY_PPDU_ID_OFFSET 0x00000000
  449. #define RX_MSDU_END_0_PHY_PPDU_ID_LSB 16
  450. #define RX_MSDU_END_0_PHY_PPDU_ID_MASK 0xffff0000
  451. /* Description RX_MSDU_END_1_IP_HDR_CHKSUM
  452. This can include the IP header checksum or the pseudo
  453. header checksum used by TCP/UDP checksum.
  454. (with the first byte in the MSB and the second byte in
  455. the LSB, i.e. requiring a byte-swap for little-endian FW/SW
  456. w.r.t. the byte order in a packet)
  457. */
  458. #define RX_MSDU_END_1_IP_HDR_CHKSUM_OFFSET 0x00000004
  459. #define RX_MSDU_END_1_IP_HDR_CHKSUM_LSB 0
  460. #define RX_MSDU_END_1_IP_HDR_CHKSUM_MASK 0x0000ffff
  461. /* Description RX_MSDU_END_1_TCP_UDP_CHKSUM
  462. The value of the computed TCP/UDP checksum. A mode bit
  463. selects whether this checksum is the full checksum or the
  464. partial checksum which does not include the pseudo header.
  465. (with the first byte in the MSB and the second byte in the
  466. LSB, i.e. requiring a byte-swap for little-endian FW/SW
  467. w.r.t. the byte order in a packet)
  468. */
  469. #define RX_MSDU_END_1_TCP_UDP_CHKSUM_OFFSET 0x00000004
  470. #define RX_MSDU_END_1_TCP_UDP_CHKSUM_LSB 16
  471. #define RX_MSDU_END_1_TCP_UDP_CHKSUM_MASK 0xffff0000
  472. /* Description RX_MSDU_END_2_KEY_ID_OCTET
  473. The key ID octet from the IV. Only valid when
  474. first_msdu is set.
  475. */
  476. #define RX_MSDU_END_2_KEY_ID_OCTET_OFFSET 0x00000008
  477. #define RX_MSDU_END_2_KEY_ID_OCTET_LSB 0
  478. #define RX_MSDU_END_2_KEY_ID_OCTET_MASK 0x000000ff
  479. /* Description RX_MSDU_END_2_CCE_SUPER_RULE
  480. Indicates the super filter rule
  481. */
  482. #define RX_MSDU_END_2_CCE_SUPER_RULE_OFFSET 0x00000008
  483. #define RX_MSDU_END_2_CCE_SUPER_RULE_LSB 8
  484. #define RX_MSDU_END_2_CCE_SUPER_RULE_MASK 0x00003f00
  485. /* Description RX_MSDU_END_2_CCE_CLASSIFY_NOT_DONE_TRUNCATE
  486. Classification failed due to truncated frame
  487. */
  488. #define RX_MSDU_END_2_CCE_CLASSIFY_NOT_DONE_TRUNCATE_OFFSET 0x00000008
  489. #define RX_MSDU_END_2_CCE_CLASSIFY_NOT_DONE_TRUNCATE_LSB 14
  490. #define RX_MSDU_END_2_CCE_CLASSIFY_NOT_DONE_TRUNCATE_MASK 0x00004000
  491. /* Description RX_MSDU_END_2_CCE_CLASSIFY_NOT_DONE_CCE_DIS
  492. Classification failed due to CCE global disable
  493. */
  494. #define RX_MSDU_END_2_CCE_CLASSIFY_NOT_DONE_CCE_DIS_OFFSET 0x00000008
  495. #define RX_MSDU_END_2_CCE_CLASSIFY_NOT_DONE_CCE_DIS_LSB 15
  496. #define RX_MSDU_END_2_CCE_CLASSIFY_NOT_DONE_CCE_DIS_MASK 0x00008000
  497. /* Description RX_MSDU_END_2_EXT_WAPI_PN_63_48
  498. Extension PN (packet number) which is only used by WAPI.
  499. This corresponds to WAPI PN bits [63:48] (pn6 and pn7).
  500. The WAPI PN bits [63:0] are in the pn field of the
  501. rx_mpdu_start descriptor.
  502. */
  503. #define RX_MSDU_END_2_EXT_WAPI_PN_63_48_OFFSET 0x00000008
  504. #define RX_MSDU_END_2_EXT_WAPI_PN_63_48_LSB 16
  505. #define RX_MSDU_END_2_EXT_WAPI_PN_63_48_MASK 0xffff0000
  506. /* Description RX_MSDU_END_3_EXT_WAPI_PN_95_64
  507. Extension PN (packet number) which is only used by WAPI.
  508. This corresponds to WAPI PN bits [95:64] (pn8, pn9, pn10
  509. and pn11).
  510. */
  511. #define RX_MSDU_END_3_EXT_WAPI_PN_95_64_OFFSET 0x0000000c
  512. #define RX_MSDU_END_3_EXT_WAPI_PN_95_64_LSB 0
  513. #define RX_MSDU_END_3_EXT_WAPI_PN_95_64_MASK 0xffffffff
  514. /* Description RX_MSDU_END_4_EXT_WAPI_PN_127_96
  515. Extension PN (packet number) which is only used by WAPI.
  516. This corresponds to WAPI PN bits [127:96] (pn12, pn13,
  517. pn14, pn15).
  518. */
  519. #define RX_MSDU_END_4_EXT_WAPI_PN_127_96_OFFSET 0x00000010
  520. #define RX_MSDU_END_4_EXT_WAPI_PN_127_96_LSB 0
  521. #define RX_MSDU_END_4_EXT_WAPI_PN_127_96_MASK 0xffffffff
  522. /* Description RX_MSDU_END_5_REPORTED_MPDU_LENGTH
  523. MPDU length before decapsulation. Only valid when
  524. first_msdu is set. This field is taken directly from the
  525. length field of the A-MPDU delimiter or the preamble length
  526. field for non-A-MPDU frames.
  527. */
  528. #define RX_MSDU_END_5_REPORTED_MPDU_LENGTH_OFFSET 0x00000014
  529. #define RX_MSDU_END_5_REPORTED_MPDU_LENGTH_LSB 0
  530. #define RX_MSDU_END_5_REPORTED_MPDU_LENGTH_MASK 0x00003fff
  531. /* Description RX_MSDU_END_5_FIRST_MSDU
  532. Indicates the first MSDU of A-MSDU. If both first_msdu
  533. and last_msdu are set in the MSDU then this is a
  534. non-aggregated MSDU frame: normal MPDU. Interior MSDU in an
  535. A-MSDU shall have both first_mpdu and last_mpdu bits set to
  536. 0.
  537. */
  538. #define RX_MSDU_END_5_FIRST_MSDU_OFFSET 0x00000014
  539. #define RX_MSDU_END_5_FIRST_MSDU_LSB 14
  540. #define RX_MSDU_END_5_FIRST_MSDU_MASK 0x00004000
  541. /* Description RX_MSDU_END_5_LAST_MSDU
  542. Indicates the last MSDU of the A-MSDU. MPDU end status
  543. is only valid when last_msdu is set.
  544. */
  545. #define RX_MSDU_END_5_LAST_MSDU_OFFSET 0x00000014
  546. #define RX_MSDU_END_5_LAST_MSDU_LSB 15
  547. #define RX_MSDU_END_5_LAST_MSDU_MASK 0x00008000
  548. /* Description RX_MSDU_END_5_SA_IDX_TIMEOUT
  549. Indicates an unsuccessful MAC source address search due
  550. to the expiring of the search timer.
  551. */
  552. #define RX_MSDU_END_5_SA_IDX_TIMEOUT_OFFSET 0x00000014
  553. #define RX_MSDU_END_5_SA_IDX_TIMEOUT_LSB 16
  554. #define RX_MSDU_END_5_SA_IDX_TIMEOUT_MASK 0x00010000
  555. /* Description RX_MSDU_END_5_DA_IDX_TIMEOUT
  556. Indicates an unsuccessful MAC destination address search
  557. due to the expiring of the search timer.
  558. */
  559. #define RX_MSDU_END_5_DA_IDX_TIMEOUT_OFFSET 0x00000014
  560. #define RX_MSDU_END_5_DA_IDX_TIMEOUT_LSB 17
  561. #define RX_MSDU_END_5_DA_IDX_TIMEOUT_MASK 0x00020000
  562. /* Description RX_MSDU_END_5_MSDU_LIMIT_ERROR
  563. Indicates that the MSDU threshold was exceeded and thus
  564. all the rest of the MSDUs will not be scattered and will not
  565. be decapsulated but will be DMA'ed in RAW format as a single
  566. MSDU buffer
  567. */
  568. #define RX_MSDU_END_5_MSDU_LIMIT_ERROR_OFFSET 0x00000014
  569. #define RX_MSDU_END_5_MSDU_LIMIT_ERROR_LSB 18
  570. #define RX_MSDU_END_5_MSDU_LIMIT_ERROR_MASK 0x00040000
  571. /* Description RX_MSDU_END_5_FLOW_IDX_TIMEOUT
  572. Indicates an unsuccessful flow search due to the
  573. expiring of the search timer.
  574. <legal all>
  575. */
  576. #define RX_MSDU_END_5_FLOW_IDX_TIMEOUT_OFFSET 0x00000014
  577. #define RX_MSDU_END_5_FLOW_IDX_TIMEOUT_LSB 19
  578. #define RX_MSDU_END_5_FLOW_IDX_TIMEOUT_MASK 0x00080000
  579. /* Description RX_MSDU_END_5_FLOW_IDX_INVALID
  580. flow id is not valid
  581. <legal all>
  582. */
  583. #define RX_MSDU_END_5_FLOW_IDX_INVALID_OFFSET 0x00000014
  584. #define RX_MSDU_END_5_FLOW_IDX_INVALID_LSB 20
  585. #define RX_MSDU_END_5_FLOW_IDX_INVALID_MASK 0x00100000
  586. /* Description RX_MSDU_END_5_WIFI_PARSER_ERROR
  587. Indicates that the WiFi frame has one of the following
  588. errors
  589. o has less than minimum allowed bytes as per standard
  590. o has incomplete VLAN LLC/SNAP (only for non A-MSDUs)
  591. <legal all>
  592. */
  593. #define RX_MSDU_END_5_WIFI_PARSER_ERROR_OFFSET 0x00000014
  594. #define RX_MSDU_END_5_WIFI_PARSER_ERROR_LSB 21
  595. #define RX_MSDU_END_5_WIFI_PARSER_ERROR_MASK 0x00200000
  596. /* Description RX_MSDU_END_5_AMSDU_PARSER_ERROR
  597. A-MSDU could not be properly de-agregated.
  598. <legal all>
  599. */
  600. #define RX_MSDU_END_5_AMSDU_PARSER_ERROR_OFFSET 0x00000014
  601. #define RX_MSDU_END_5_AMSDU_PARSER_ERROR_LSB 22
  602. #define RX_MSDU_END_5_AMSDU_PARSER_ERROR_MASK 0x00400000
  603. /* Description RX_MSDU_END_5_SA_IS_VALID
  604. Indicates that OLE found a valid SA entry
  605. */
  606. #define RX_MSDU_END_5_SA_IS_VALID_OFFSET 0x00000014
  607. #define RX_MSDU_END_5_SA_IS_VALID_LSB 23
  608. #define RX_MSDU_END_5_SA_IS_VALID_MASK 0x00800000
  609. /* Description RX_MSDU_END_5_DA_IS_VALID
  610. Indicates that OLE found a valid DA entry
  611. */
  612. #define RX_MSDU_END_5_DA_IS_VALID_OFFSET 0x00000014
  613. #define RX_MSDU_END_5_DA_IS_VALID_LSB 24
  614. #define RX_MSDU_END_5_DA_IS_VALID_MASK 0x01000000
  615. /* Description RX_MSDU_END_5_DA_IS_MCBC
  616. Field Only valid if da_is_valid is set
  617. Indicates the DA address was a Multicast of Broadcast
  618. address.
  619. */
  620. #define RX_MSDU_END_5_DA_IS_MCBC_OFFSET 0x00000014
  621. #define RX_MSDU_END_5_DA_IS_MCBC_LSB 25
  622. #define RX_MSDU_END_5_DA_IS_MCBC_MASK 0x02000000
  623. /* Description RX_MSDU_END_5_L3_HEADER_PADDING
  624. Number of bytes padded to make sure that the L3 header
  625. will always start of a Dword boundary
  626. */
  627. #define RX_MSDU_END_5_L3_HEADER_PADDING_OFFSET 0x00000014
  628. #define RX_MSDU_END_5_L3_HEADER_PADDING_LSB 26
  629. #define RX_MSDU_END_5_L3_HEADER_PADDING_MASK 0x0c000000
  630. /* Description RX_MSDU_END_5_RESERVED_5A
  631. <legal 0>
  632. */
  633. #define RX_MSDU_END_5_RESERVED_5A_OFFSET 0x00000014
  634. #define RX_MSDU_END_5_RESERVED_5A_LSB 28
  635. #define RX_MSDU_END_5_RESERVED_5A_MASK 0xf0000000
  636. /* Description RX_MSDU_END_6_IPV6_OPTIONS_CRC
  637. 32 bit CRC computed out of IP v6 extension headers
  638. */
  639. #define RX_MSDU_END_6_IPV6_OPTIONS_CRC_OFFSET 0x00000018
  640. #define RX_MSDU_END_6_IPV6_OPTIONS_CRC_LSB 0
  641. #define RX_MSDU_END_6_IPV6_OPTIONS_CRC_MASK 0xffffffff
  642. /* Description RX_MSDU_END_7_TCP_SEQ_NUMBER
  643. TCP sequence number (as a number assembled from a TCP
  644. packet in big-endian order, i.e. requiring a byte-swap for
  645. little-endian FW/SW w.r.t. the byte order in a packet)
  646. */
  647. #define RX_MSDU_END_7_TCP_SEQ_NUMBER_OFFSET 0x0000001c
  648. #define RX_MSDU_END_7_TCP_SEQ_NUMBER_LSB 0
  649. #define RX_MSDU_END_7_TCP_SEQ_NUMBER_MASK 0xffffffff
  650. /* Description RX_MSDU_END_8_TCP_ACK_NUMBER
  651. TCP acknowledge number (as a number assembled from a TCP
  652. packet in big-endian order, i.e. requiring a byte-swap for
  653. little-endian FW/SW w.r.t. the byte order in a packet)
  654. */
  655. #define RX_MSDU_END_8_TCP_ACK_NUMBER_OFFSET 0x00000020
  656. #define RX_MSDU_END_8_TCP_ACK_NUMBER_LSB 0
  657. #define RX_MSDU_END_8_TCP_ACK_NUMBER_MASK 0xffffffff
  658. /* Description RX_MSDU_END_9_TCP_FLAG
  659. TCP flags
  660. {NS,CWR,ECE,URG,ACK,PSH, RST ,SYN,FIN}(with the NS bit
  661. in bit 8 and the FIN bit in bit 0, i.e. in big-endian order,
  662. i.e. requiring a byte-swap for little-endian FW/SW w.r.t.
  663. the byte order in a packet)
  664. */
  665. #define RX_MSDU_END_9_TCP_FLAG_OFFSET 0x00000024
  666. #define RX_MSDU_END_9_TCP_FLAG_LSB 0
  667. #define RX_MSDU_END_9_TCP_FLAG_MASK 0x000001ff
  668. /* Description RX_MSDU_END_9_LRO_ELIGIBLE
  669. Computed out of TCP and IP fields to indicate that this
  670. MSDU is eligible for LRO
  671. */
  672. #define RX_MSDU_END_9_LRO_ELIGIBLE_OFFSET 0x00000024
  673. #define RX_MSDU_END_9_LRO_ELIGIBLE_LSB 9
  674. #define RX_MSDU_END_9_LRO_ELIGIBLE_MASK 0x00000200
  675. /* Description RX_MSDU_END_9_RESERVED_9A
  676. NOTE: DO not assign a field... Internally used in
  677. RXOLE..
  678. <legal 0>
  679. */
  680. #define RX_MSDU_END_9_RESERVED_9A_OFFSET 0x00000024
  681. #define RX_MSDU_END_9_RESERVED_9A_LSB 10
  682. #define RX_MSDU_END_9_RESERVED_9A_MASK 0x0000fc00
  683. /* Description RX_MSDU_END_9_WINDOW_SIZE
  684. TCP receive window size (as a number assembled from a
  685. TCP packet in big-endian order, i.e. requiring a byte-swap
  686. for little-endian FW/SW w.r.t. the byte order in a packet)
  687. */
  688. #define RX_MSDU_END_9_WINDOW_SIZE_OFFSET 0x00000024
  689. #define RX_MSDU_END_9_WINDOW_SIZE_LSB 16
  690. #define RX_MSDU_END_9_WINDOW_SIZE_MASK 0xffff0000
  691. /* Description RX_MSDU_END_10_DA_OFFSET
  692. Offset into MSDU buffer for DA
  693. */
  694. #define RX_MSDU_END_10_DA_OFFSET_OFFSET 0x00000028
  695. #define RX_MSDU_END_10_DA_OFFSET_LSB 0
  696. #define RX_MSDU_END_10_DA_OFFSET_MASK 0x0000003f
  697. /* Description RX_MSDU_END_10_SA_OFFSET
  698. Offset into MSDU buffer for SA
  699. */
  700. #define RX_MSDU_END_10_SA_OFFSET_OFFSET 0x00000028
  701. #define RX_MSDU_END_10_SA_OFFSET_LSB 6
  702. #define RX_MSDU_END_10_SA_OFFSET_MASK 0x00000fc0
  703. /* Description RX_MSDU_END_10_DA_OFFSET_VALID
  704. da_offset field is valid. This will be set to 0 in case
  705. of a dynamic A-MSDU when DA is compressed
  706. */
  707. #define RX_MSDU_END_10_DA_OFFSET_VALID_OFFSET 0x00000028
  708. #define RX_MSDU_END_10_DA_OFFSET_VALID_LSB 12
  709. #define RX_MSDU_END_10_DA_OFFSET_VALID_MASK 0x00001000
  710. /* Description RX_MSDU_END_10_SA_OFFSET_VALID
  711. sa_offset field is valid. This will be set to 0 in case
  712. of a dynamic A-MSDU when SA is compressed
  713. */
  714. #define RX_MSDU_END_10_SA_OFFSET_VALID_OFFSET 0x00000028
  715. #define RX_MSDU_END_10_SA_OFFSET_VALID_LSB 13
  716. #define RX_MSDU_END_10_SA_OFFSET_VALID_MASK 0x00002000
  717. /* Description RX_MSDU_END_10_RESERVED_10A
  718. <legal 0>
  719. */
  720. #define RX_MSDU_END_10_RESERVED_10A_OFFSET 0x00000028
  721. #define RX_MSDU_END_10_RESERVED_10A_LSB 14
  722. #define RX_MSDU_END_10_RESERVED_10A_MASK 0x0000c000
  723. /* Description RX_MSDU_END_10_L3_TYPE
  724. The 16-bit type value indicating the type of L3 later
  725. extracted from LLC/SNAP, set to zero if SNAP is not
  726. available
  727. */
  728. #define RX_MSDU_END_10_L3_TYPE_OFFSET 0x00000028
  729. #define RX_MSDU_END_10_L3_TYPE_LSB 16
  730. #define RX_MSDU_END_10_L3_TYPE_MASK 0xffff0000
  731. /* Description RX_MSDU_END_11_RULE_INDICATION_31_0
  732. Bitmap indicating which of rules 31-0 have matched
  733. */
  734. #define RX_MSDU_END_11_RULE_INDICATION_31_0_OFFSET 0x0000002c
  735. #define RX_MSDU_END_11_RULE_INDICATION_31_0_LSB 0
  736. #define RX_MSDU_END_11_RULE_INDICATION_31_0_MASK 0xffffffff
  737. /* Description RX_MSDU_END_12_RULE_INDICATION_63_32
  738. Bitmap indicating which of rules 63-32 have matched
  739. */
  740. #define RX_MSDU_END_12_RULE_INDICATION_63_32_OFFSET 0x00000030
  741. #define RX_MSDU_END_12_RULE_INDICATION_63_32_LSB 0
  742. #define RX_MSDU_END_12_RULE_INDICATION_63_32_MASK 0xffffffff
  743. /* Description RX_MSDU_END_13_SA_IDX
  744. The offset in the address table which matches the MAC
  745. source address.
  746. */
  747. #define RX_MSDU_END_13_SA_IDX_OFFSET 0x00000034
  748. #define RX_MSDU_END_13_SA_IDX_LSB 0
  749. #define RX_MSDU_END_13_SA_IDX_MASK 0x0000ffff
  750. /* Description RX_MSDU_END_13_DA_IDX
  751. The offset in the address table which matches the MAC
  752. source address
  753. */
  754. #define RX_MSDU_END_13_DA_IDX_OFFSET 0x00000034
  755. #define RX_MSDU_END_13_DA_IDX_LSB 16
  756. #define RX_MSDU_END_13_DA_IDX_MASK 0xffff0000
  757. /* Description RX_MSDU_END_14_MSDU_DROP
  758. When set, REO shall drop this MSDU and not forward it to
  759. any other ring...
  760. <legal all>
  761. */
  762. #define RX_MSDU_END_14_MSDU_DROP_OFFSET 0x00000038
  763. #define RX_MSDU_END_14_MSDU_DROP_LSB 0
  764. #define RX_MSDU_END_14_MSDU_DROP_MASK 0x00000001
  765. /* Description RX_MSDU_END_14_REO_DESTINATION_INDICATION
  766. The ID of the REO exit ring where the MSDU frame shall
  767. push after (MPDU level) reordering has finished.
  768. <enum 0 reo_destination_tcl> Reo will push the frame
  769. into the REO2TCL ring
  770. <enum 1 reo_destination_sw1> Reo will push the frame
  771. into the REO2SW1 ring
  772. <enum 2 reo_destination_sw2> Reo will push the frame
  773. into the REO2SW1 ring
  774. <enum 3 reo_destination_sw3> Reo will push the frame
  775. into the REO2SW1 ring
  776. <enum 4 reo_destination_sw4> Reo will push the frame
  777. into the REO2SW1 ring
  778. <enum 5 reo_destination_release> Reo will push the frame
  779. into the REO_release ring
  780. <enum 6 reo_destination_fw> Reo will push the frame into
  781. the REO2FW ring
  782. <enum 7 reo_destination_7> REO remaps this
  783. <enum 8 reo_destination_8> REO remaps this <enum 9
  784. reo_destination_9> REO remaps this <enum 10
  785. reo_destination_10> REO remaps this
  786. <enum 11 reo_destination_11> REO remaps this
  787. <enum 12 reo_destination_12> REO remaps this <enum 13
  788. reo_destination_13> REO remaps this
  789. <enum 14 reo_destination_14> REO remaps this
  790. <enum 15 reo_destination_15> REO remaps this
  791. <enum 16 reo_destination_16> REO remaps this
  792. <enum 17 reo_destination_17> REO remaps this
  793. <enum 18 reo_destination_18> REO remaps this
  794. <enum 19 reo_destination_19> REO remaps this
  795. <enum 20 reo_destination_20> REO remaps this
  796. <enum 21 reo_destination_21> REO remaps this
  797. <enum 22 reo_destination_22> REO remaps this
  798. <enum 23 reo_destination_23> REO remaps this
  799. <enum 24 reo_destination_24> REO remaps this
  800. <enum 25 reo_destination_25> REO remaps this
  801. <enum 26 reo_destination_26> REO remaps this
  802. <enum 27 reo_destination_27> REO remaps this
  803. <enum 28 reo_destination_28> REO remaps this
  804. <enum 29 reo_destination_29> REO remaps this
  805. <enum 30 reo_destination_30> REO remaps this
  806. <enum 31 reo_destination_31> REO remaps this
  807. <legal all>
  808. */
  809. #define RX_MSDU_END_14_REO_DESTINATION_INDICATION_OFFSET 0x00000038
  810. #define RX_MSDU_END_14_REO_DESTINATION_INDICATION_LSB 1
  811. #define RX_MSDU_END_14_REO_DESTINATION_INDICATION_MASK 0x0000003e
  812. /* Description RX_MSDU_END_14_FLOW_IDX
  813. Flow table index
  814. <legal all>
  815. */
  816. #define RX_MSDU_END_14_FLOW_IDX_OFFSET 0x00000038
  817. #define RX_MSDU_END_14_FLOW_IDX_LSB 6
  818. #define RX_MSDU_END_14_FLOW_IDX_MASK 0x03ffffc0
  819. /* Description RX_MSDU_END_14_RESERVED_14
  820. <legal 0>
  821. */
  822. #define RX_MSDU_END_14_RESERVED_14_OFFSET 0x00000038
  823. #define RX_MSDU_END_14_RESERVED_14_LSB 26
  824. #define RX_MSDU_END_14_RESERVED_14_MASK 0xfc000000
  825. /* Description RX_MSDU_END_15_FSE_METADATA
  826. FSE related meta data:
  827. <legal all>
  828. */
  829. #define RX_MSDU_END_15_FSE_METADATA_OFFSET 0x0000003c
  830. #define RX_MSDU_END_15_FSE_METADATA_LSB 0
  831. #define RX_MSDU_END_15_FSE_METADATA_MASK 0xffffffff
  832. /* Description RX_MSDU_END_16_CCE_METADATA
  833. CCE related meta data:
  834. <legal all>
  835. */
  836. #define RX_MSDU_END_16_CCE_METADATA_OFFSET 0x00000040
  837. #define RX_MSDU_END_16_CCE_METADATA_LSB 0
  838. #define RX_MSDU_END_16_CCE_METADATA_MASK 0x0000ffff
  839. /* Description RX_MSDU_END_16_SA_SW_PEER_ID
  840. sw_peer_id from the address search entry corresponding
  841. to the source address of the MSDU
  842. <legal 0>
  843. */
  844. #define RX_MSDU_END_16_SA_SW_PEER_ID_OFFSET 0x00000040
  845. #define RX_MSDU_END_16_SA_SW_PEER_ID_LSB 16
  846. #define RX_MSDU_END_16_SA_SW_PEER_ID_MASK 0xffff0000
  847. #endif // _RX_MSDU_END_H_