rx_msdu_end.h 39 KB

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