rx_msdu_end.h 37 KB

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