1*5113495bSYour Name /* 2*5113495bSYour Name * Copyright (c) 2016-2017 The Linux Foundation. All rights reserved. 3*5113495bSYour Name * 4*5113495bSYour Name * Permission to use, copy, modify, and/or distribute this software for 5*5113495bSYour Name * any purpose with or without fee is hereby granted, provided that the 6*5113495bSYour Name * above copyright notice and this permission notice appear in all 7*5113495bSYour Name * copies. 8*5113495bSYour Name * 9*5113495bSYour Name * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL 10*5113495bSYour Name * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED 11*5113495bSYour Name * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE 12*5113495bSYour Name * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL 13*5113495bSYour Name * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 14*5113495bSYour Name * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 15*5113495bSYour Name * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 16*5113495bSYour Name * PERFORMANCE OF THIS SOFTWARE. 17*5113495bSYour Name */ 18*5113495bSYour Name 19*5113495bSYour Name // 20*5113495bSYour Name // DO NOT EDIT! This file is automatically generated 21*5113495bSYour Name // These definitions are tied to a particular hardware layout 22*5113495bSYour Name 23*5113495bSYour Name 24*5113495bSYour Name #ifndef _RX_ATTENTION_H_ 25*5113495bSYour Name #define _RX_ATTENTION_H_ 26*5113495bSYour Name #if !defined(__ASSEMBLER__) 27*5113495bSYour Name #endif 28*5113495bSYour Name 29*5113495bSYour Name 30*5113495bSYour Name // ################ START SUMMARY ################# 31*5113495bSYour Name // 32*5113495bSYour Name // Dword Fields 33*5113495bSYour Name // 0 rxpcu_mpdu_filter_in_category[1:0], sw_frame_group_id[8:2], reserved_0[15:9], phy_ppdu_id[31:16] 34*5113495bSYour Name // 1 first_mpdu[0], reserved_1a[1], mcast_bcast[2], ast_index_not_found[3], ast_index_timeout[4], power_mgmt[5], non_qos[6], null_data[7], mgmt_type[8], ctrl_type[9], more_data[10], eosp[11], a_msdu_error[12], fragment_flag[13], order[14], cce_match[15], overflow_err[16], msdu_length_err[17], tcp_udp_chksum_fail[18], ip_chksum_fail[19], sa_idx_invalid[20], da_idx_invalid[21], reserved_1b[22], rx_in_tx_decrypt_byp[23], encrypt_required[24], directed[25], buffer_fragment[26], mpdu_length_err[27], tkip_mic_err[28], decrypt_err[29], unencrypted_frame_err[30], fcs_err[31] 35*5113495bSYour Name // 2 flow_idx_timeout[0], flow_idx_invalid[1], wifi_parser_error[2], amsdu_parser_error[3], sa_idx_timeout[4], da_idx_timeout[5], msdu_limit_error[6], da_is_valid[7], da_is_mcbc[8], sa_is_valid[9], decrypt_status_code[12:10], rx_bitmap_not_updated[13], reserved_2[30:14], msdu_done[31] 36*5113495bSYour Name // 37*5113495bSYour Name // ################ END SUMMARY ################# 38*5113495bSYour Name 39*5113495bSYour Name #define NUM_OF_DWORDS_RX_ATTENTION 3 40*5113495bSYour Name 41*5113495bSYour Name struct rx_attention { 42*5113495bSYour Name uint32_t rxpcu_mpdu_filter_in_category : 2, //[1:0] 43*5113495bSYour Name sw_frame_group_id : 7, //[8:2] 44*5113495bSYour Name reserved_0 : 7, //[15:9] 45*5113495bSYour Name phy_ppdu_id : 16; //[31:16] 46*5113495bSYour Name uint32_t first_mpdu : 1, //[0] 47*5113495bSYour Name reserved_1a : 1, //[1] 48*5113495bSYour Name mcast_bcast : 1, //[2] 49*5113495bSYour Name ast_index_not_found : 1, //[3] 50*5113495bSYour Name ast_index_timeout : 1, //[4] 51*5113495bSYour Name power_mgmt : 1, //[5] 52*5113495bSYour Name non_qos : 1, //[6] 53*5113495bSYour Name null_data : 1, //[7] 54*5113495bSYour Name mgmt_type : 1, //[8] 55*5113495bSYour Name ctrl_type : 1, //[9] 56*5113495bSYour Name more_data : 1, //[10] 57*5113495bSYour Name eosp : 1, //[11] 58*5113495bSYour Name a_msdu_error : 1, //[12] 59*5113495bSYour Name fragment_flag : 1, //[13] 60*5113495bSYour Name order : 1, //[14] 61*5113495bSYour Name cce_match : 1, //[15] 62*5113495bSYour Name overflow_err : 1, //[16] 63*5113495bSYour Name msdu_length_err : 1, //[17] 64*5113495bSYour Name tcp_udp_chksum_fail : 1, //[18] 65*5113495bSYour Name ip_chksum_fail : 1, //[19] 66*5113495bSYour Name sa_idx_invalid : 1, //[20] 67*5113495bSYour Name da_idx_invalid : 1, //[21] 68*5113495bSYour Name reserved_1b : 1, //[22] 69*5113495bSYour Name rx_in_tx_decrypt_byp : 1, //[23] 70*5113495bSYour Name encrypt_required : 1, //[24] 71*5113495bSYour Name directed : 1, //[25] 72*5113495bSYour Name buffer_fragment : 1, //[26] 73*5113495bSYour Name mpdu_length_err : 1, //[27] 74*5113495bSYour Name tkip_mic_err : 1, //[28] 75*5113495bSYour Name decrypt_err : 1, //[29] 76*5113495bSYour Name unencrypted_frame_err : 1, //[30] 77*5113495bSYour Name fcs_err : 1; //[31] 78*5113495bSYour Name uint32_t flow_idx_timeout : 1, //[0] 79*5113495bSYour Name flow_idx_invalid : 1, //[1] 80*5113495bSYour Name wifi_parser_error : 1, //[2] 81*5113495bSYour Name amsdu_parser_error : 1, //[3] 82*5113495bSYour Name sa_idx_timeout : 1, //[4] 83*5113495bSYour Name da_idx_timeout : 1, //[5] 84*5113495bSYour Name msdu_limit_error : 1, //[6] 85*5113495bSYour Name da_is_valid : 1, //[7] 86*5113495bSYour Name da_is_mcbc : 1, //[8] 87*5113495bSYour Name sa_is_valid : 1, //[9] 88*5113495bSYour Name decrypt_status_code : 3, //[12:10] 89*5113495bSYour Name rx_bitmap_not_updated : 1, //[13] 90*5113495bSYour Name reserved_2 : 17, //[30:14] 91*5113495bSYour Name msdu_done : 1; //[31] 92*5113495bSYour Name }; 93*5113495bSYour Name 94*5113495bSYour Name /* 95*5113495bSYour Name 96*5113495bSYour Name rxpcu_mpdu_filter_in_category 97*5113495bSYour Name 98*5113495bSYour Name Field indicates what the reason was that this MPDU frame 99*5113495bSYour Name was allowed to come into the receive path by RXPCU 100*5113495bSYour Name 101*5113495bSYour Name <enum 0 rxpcu_filter_pass> This MPDU passed the normal 102*5113495bSYour Name frame filter programming of rxpcu 103*5113495bSYour Name 104*5113495bSYour Name <enum 1 rxpcu_monitor_client> This MPDU did NOT pass the 105*5113495bSYour Name regular frame filter and would have been dropped, were it 106*5113495bSYour Name not for the frame fitting into the 'monitor_client' 107*5113495bSYour Name category. 108*5113495bSYour Name 109*5113495bSYour Name <enum 2 rxpcu_monitor_other> This MPDU did NOT pass the 110*5113495bSYour Name regular frame filter and also did not pass the 111*5113495bSYour Name rxpcu_monitor_client filter. It would have been dropped 112*5113495bSYour Name accept that it did pass the 'monitor_other' category. 113*5113495bSYour Name 114*5113495bSYour Name <legal 0-2> 115*5113495bSYour Name 116*5113495bSYour Name sw_frame_group_id 117*5113495bSYour Name 118*5113495bSYour Name SW processes frames based on certain classifications. 119*5113495bSYour Name This field indicates to what sw classification this MPDU is 120*5113495bSYour Name mapped. 121*5113495bSYour Name 122*5113495bSYour Name The classification is given in priority order 123*5113495bSYour Name 124*5113495bSYour Name 125*5113495bSYour Name 126*5113495bSYour Name <enum 0 sw_frame_group_NDP_frame> 127*5113495bSYour Name 128*5113495bSYour Name 129*5113495bSYour Name 130*5113495bSYour Name <enum 1 sw_frame_group_Multicast_data> 131*5113495bSYour Name 132*5113495bSYour Name <enum 2 sw_frame_group_Unicast_data> 133*5113495bSYour Name 134*5113495bSYour Name <enum 3 sw_frame_group_Null_data > This includes mpdus 135*5113495bSYour Name of type Data Null as well as QoS Data Null 136*5113495bSYour Name 137*5113495bSYour Name 138*5113495bSYour Name 139*5113495bSYour Name <enum 4 sw_frame_group_mgmt_0000 > 140*5113495bSYour Name 141*5113495bSYour Name <enum 5 sw_frame_group_mgmt_0001 > 142*5113495bSYour Name 143*5113495bSYour Name <enum 6 sw_frame_group_mgmt_0010 > 144*5113495bSYour Name 145*5113495bSYour Name <enum 7 sw_frame_group_mgmt_0011 > 146*5113495bSYour Name 147*5113495bSYour Name <enum 8 sw_frame_group_mgmt_0100 > 148*5113495bSYour Name 149*5113495bSYour Name <enum 9 sw_frame_group_mgmt_0101 > 150*5113495bSYour Name 151*5113495bSYour Name <enum 10 sw_frame_group_mgmt_0110 > 152*5113495bSYour Name 153*5113495bSYour Name <enum 11 sw_frame_group_mgmt_0111 > 154*5113495bSYour Name 155*5113495bSYour Name <enum 12 sw_frame_group_mgmt_1000 > 156*5113495bSYour Name 157*5113495bSYour Name <enum 13 sw_frame_group_mgmt_1001 > 158*5113495bSYour Name 159*5113495bSYour Name <enum 14 sw_frame_group_mgmt_1010 > 160*5113495bSYour Name 161*5113495bSYour Name <enum 15 sw_frame_group_mgmt_1011 > 162*5113495bSYour Name 163*5113495bSYour Name <enum 16 sw_frame_group_mgmt_1100 > 164*5113495bSYour Name 165*5113495bSYour Name <enum 17 sw_frame_group_mgmt_1101 > 166*5113495bSYour Name 167*5113495bSYour Name <enum 18 sw_frame_group_mgmt_1110 > 168*5113495bSYour Name 169*5113495bSYour Name <enum 19 sw_frame_group_mgmt_1111 > 170*5113495bSYour Name 171*5113495bSYour Name 172*5113495bSYour Name 173*5113495bSYour Name <enum 20 sw_frame_group_ctrl_0000 > 174*5113495bSYour Name 175*5113495bSYour Name <enum 21 sw_frame_group_ctrl_0001 > 176*5113495bSYour Name 177*5113495bSYour Name <enum 22 sw_frame_group_ctrl_0010 > 178*5113495bSYour Name 179*5113495bSYour Name <enum 23 sw_frame_group_ctrl_0011 > 180*5113495bSYour Name 181*5113495bSYour Name <enum 24 sw_frame_group_ctrl_0100 > 182*5113495bSYour Name 183*5113495bSYour Name <enum 25 sw_frame_group_ctrl_0101 > 184*5113495bSYour Name 185*5113495bSYour Name <enum 26 sw_frame_group_ctrl_0110 > 186*5113495bSYour Name 187*5113495bSYour Name <enum 27 sw_frame_group_ctrl_0111 > 188*5113495bSYour Name 189*5113495bSYour Name <enum 28 sw_frame_group_ctrl_1000 > 190*5113495bSYour Name 191*5113495bSYour Name <enum 29 sw_frame_group_ctrl_1001 > 192*5113495bSYour Name 193*5113495bSYour Name <enum 30 sw_frame_group_ctrl_1010 > 194*5113495bSYour Name 195*5113495bSYour Name <enum 31 sw_frame_group_ctrl_1011 > 196*5113495bSYour Name 197*5113495bSYour Name <enum 32 sw_frame_group_ctrl_1100 > 198*5113495bSYour Name 199*5113495bSYour Name <enum 33 sw_frame_group_ctrl_1101 > 200*5113495bSYour Name 201*5113495bSYour Name <enum 34 sw_frame_group_ctrl_1110 > 202*5113495bSYour Name 203*5113495bSYour Name <enum 35 sw_frame_group_ctrl_1111 > 204*5113495bSYour Name 205*5113495bSYour Name 206*5113495bSYour Name 207*5113495bSYour Name <enum 36 sw_frame_group_unsupported> This covers type 3 208*5113495bSYour Name and protocol version != 0 209*5113495bSYour Name 210*5113495bSYour Name 211*5113495bSYour Name 212*5113495bSYour Name 213*5113495bSYour Name 214*5113495bSYour Name 215*5113495bSYour Name <legal 0-37> 216*5113495bSYour Name 217*5113495bSYour Name reserved_0 218*5113495bSYour Name 219*5113495bSYour Name <legal 0> 220*5113495bSYour Name 221*5113495bSYour Name phy_ppdu_id 222*5113495bSYour Name 223*5113495bSYour Name A ppdu counter value that PHY increments for every PPDU 224*5113495bSYour Name received. The counter value wraps around 225*5113495bSYour Name 226*5113495bSYour Name <legal all> 227*5113495bSYour Name 228*5113495bSYour Name first_mpdu 229*5113495bSYour Name 230*5113495bSYour Name Indicates the first MSDU of the PPDU. If both 231*5113495bSYour Name first_mpdu and last_mpdu are set in the MSDU then this is a 232*5113495bSYour Name not an A-MPDU frame but a stand alone MPDU. Interior MPDU 233*5113495bSYour Name in an A-MPDU shall have both first_mpdu and last_mpdu bits 234*5113495bSYour Name set to 0. The PPDU start status will only be valid when 235*5113495bSYour Name this bit is set. 236*5113495bSYour Name 237*5113495bSYour Name reserved_1a 238*5113495bSYour Name 239*5113495bSYour Name <legal 0> 240*5113495bSYour Name 241*5113495bSYour Name mcast_bcast 242*5113495bSYour Name 243*5113495bSYour Name Multicast / broadcast indicator. Only set when the MAC 244*5113495bSYour Name address 1 bit 0 is set indicating mcast/bcast and the BSSID 245*5113495bSYour Name matches one of the 4 BSSID registers. Only set when 246*5113495bSYour Name first_msdu is set. 247*5113495bSYour Name 248*5113495bSYour Name ast_index_not_found 249*5113495bSYour Name 250*5113495bSYour Name Only valid when first_msdu is set. 251*5113495bSYour Name 252*5113495bSYour Name 253*5113495bSYour Name 254*5113495bSYour Name Indicates no AST matching entries within the the max 255*5113495bSYour Name search count. 256*5113495bSYour Name 257*5113495bSYour Name ast_index_timeout 258*5113495bSYour Name 259*5113495bSYour Name Only valid when first_msdu is set. 260*5113495bSYour Name 261*5113495bSYour Name 262*5113495bSYour Name 263*5113495bSYour Name Indicates an unsuccessful search in the address seach 264*5113495bSYour Name table due to timeout. 265*5113495bSYour Name 266*5113495bSYour Name power_mgmt 267*5113495bSYour Name 268*5113495bSYour Name Power management bit set in the 802.11 header. Only set 269*5113495bSYour Name when first_msdu is set. 270*5113495bSYour Name 271*5113495bSYour Name non_qos 272*5113495bSYour Name 273*5113495bSYour Name Set if packet is not a non-QoS data frame. Only set 274*5113495bSYour Name when first_msdu is set. 275*5113495bSYour Name 276*5113495bSYour Name null_data 277*5113495bSYour Name 278*5113495bSYour Name Set if frame type indicates either null data or QoS null 279*5113495bSYour Name data format. Only set when first_msdu is set. 280*5113495bSYour Name 281*5113495bSYour Name mgmt_type 282*5113495bSYour Name 283*5113495bSYour Name Set if packet is a management packet. Only set when 284*5113495bSYour Name first_msdu is set. 285*5113495bSYour Name 286*5113495bSYour Name ctrl_type 287*5113495bSYour Name 288*5113495bSYour Name Set if packet is a control packet. Only set when 289*5113495bSYour Name first_msdu is set. 290*5113495bSYour Name 291*5113495bSYour Name more_data 292*5113495bSYour Name 293*5113495bSYour Name Set if more bit in frame control is set. Only set when 294*5113495bSYour Name first_msdu is set. 295*5113495bSYour Name 296*5113495bSYour Name eosp 297*5113495bSYour Name 298*5113495bSYour Name Set if the EOSP (end of service period) bit in the QoS 299*5113495bSYour Name control field is set. Only set when first_msdu is set. 300*5113495bSYour Name 301*5113495bSYour Name a_msdu_error 302*5113495bSYour Name 303*5113495bSYour Name Set if number of MSDUs in A-MSDU is above a threshold or 304*5113495bSYour Name if the size of the MSDU is invalid. This receive buffer 305*5113495bSYour Name will contain all of the remainder of the MSDUs in this MPDU 306*5113495bSYour Name without decapsulation. 307*5113495bSYour Name 308*5113495bSYour Name fragment_flag 309*5113495bSYour Name 310*5113495bSYour Name Indicates that this is an 802.11 fragment frame. This 311*5113495bSYour Name is set when either the more_frag bit is set in the frame 312*5113495bSYour Name control or the fragment number is not zero. Only set when 313*5113495bSYour Name first_msdu is set. 314*5113495bSYour Name 315*5113495bSYour Name order 316*5113495bSYour Name 317*5113495bSYour Name Set if the order bit in the frame control is set. Only 318*5113495bSYour Name set when first_msdu is set. 319*5113495bSYour Name 320*5113495bSYour Name cce_match 321*5113495bSYour Name 322*5113495bSYour Name Indicates that this status has a corresponding MSDU that 323*5113495bSYour Name requires FW processing. The OLE will have classification 324*5113495bSYour Name ring mask registers which will indicate the ring(s) for 325*5113495bSYour Name packets and descriptors which need FW attention. 326*5113495bSYour Name 327*5113495bSYour Name overflow_err 328*5113495bSYour Name 329*5113495bSYour Name RXPCU Receive FIFO ran out of space to receive the full 330*5113495bSYour Name MPDU. Therefor this MPDU is terminated early and is thus 331*5113495bSYour Name corrupted. 332*5113495bSYour Name 333*5113495bSYour Name 334*5113495bSYour Name 335*5113495bSYour Name This MPDU will not be ACKed. 336*5113495bSYour Name 337*5113495bSYour Name RXPCU might still be able to correctly receive the 338*5113495bSYour Name following MPDUs in the PPDU if enough fifo space became 339*5113495bSYour Name available in time 340*5113495bSYour Name 341*5113495bSYour Name msdu_length_err 342*5113495bSYour Name 343*5113495bSYour Name Indicates that the MSDU length from the 802.3 344*5113495bSYour Name encapsulated length field extends beyond the MPDU boundary 345*5113495bSYour Name or if the length is less than 14 bytes. 346*5113495bSYour Name 347*5113495bSYour Name Merged with original other_msdu_err: Indicates that the 348*5113495bSYour Name MSDU threshold was exceeded and thus all the rest of the 349*5113495bSYour Name MSDUs will not be scattered and will not be decasulated but 350*5113495bSYour Name will be DMA'ed in RAW format as a single MSDU buffer 351*5113495bSYour Name 352*5113495bSYour Name tcp_udp_chksum_fail 353*5113495bSYour Name 354*5113495bSYour Name Indicates that the computed checksum (tcp_udp_chksum) 355*5113495bSYour Name did not match the checksum in the TCP/UDP header. 356*5113495bSYour Name 357*5113495bSYour Name ip_chksum_fail 358*5113495bSYour Name 359*5113495bSYour Name Indicates that the computed checksum did not match the 360*5113495bSYour Name checksum in the IP header. 361*5113495bSYour Name 362*5113495bSYour Name sa_idx_invalid 363*5113495bSYour Name 364*5113495bSYour Name Indicates no matching entry was found in the address 365*5113495bSYour Name search table for the source MAC address. 366*5113495bSYour Name 367*5113495bSYour Name da_idx_invalid 368*5113495bSYour Name 369*5113495bSYour Name Indicates no matching entry was found in the address 370*5113495bSYour Name search table for the destination MAC address. 371*5113495bSYour Name 372*5113495bSYour Name reserved_1b 373*5113495bSYour Name 374*5113495bSYour Name 375*5113495bSYour Name rx_in_tx_decrypt_byp 376*5113495bSYour Name 377*5113495bSYour Name Indicates that RX packet is not decrypted as Crypto is 378*5113495bSYour Name busy with TX packet processing. 379*5113495bSYour Name 380*5113495bSYour Name encrypt_required 381*5113495bSYour Name 382*5113495bSYour Name Indicates that this data type frame is not encrypted 383*5113495bSYour Name even if the policy for this MPDU requires encryption as 384*5113495bSYour Name indicated in the peer entry key type. 385*5113495bSYour Name 386*5113495bSYour Name directed 387*5113495bSYour Name 388*5113495bSYour Name MPDU is a directed packet which means that the RA 389*5113495bSYour Name matched our STA addresses. In proxySTA it means that the TA 390*5113495bSYour Name matched an entry in our address search table with the 391*5113495bSYour Name corresponding no_ack bit is the address search entry 392*5113495bSYour Name cleared. 393*5113495bSYour Name 394*5113495bSYour Name buffer_fragment 395*5113495bSYour Name 396*5113495bSYour Name Indicates that at least one of the rx buffers has been 397*5113495bSYour Name fragmented. If set the FW should look at the rx_frag_info 398*5113495bSYour Name descriptor described below. 399*5113495bSYour Name 400*5113495bSYour Name mpdu_length_err 401*5113495bSYour Name 402*5113495bSYour Name Indicates that the MPDU was pre-maturely terminated 403*5113495bSYour Name resulting in a truncated MPDU. Don't trust the MPDU length 404*5113495bSYour Name field. 405*5113495bSYour Name 406*5113495bSYour Name tkip_mic_err 407*5113495bSYour Name 408*5113495bSYour Name Indicates that the MPDU Michael integrity check failed 409*5113495bSYour Name 410*5113495bSYour Name decrypt_err 411*5113495bSYour Name 412*5113495bSYour Name Indicates that the MPDU decrypt integrity check failed 413*5113495bSYour Name or CRYPTO received an encrypted frame, but did not get a 414*5113495bSYour Name valid corresponding key id in the peer entry. 415*5113495bSYour Name 416*5113495bSYour Name unencrypted_frame_err 417*5113495bSYour Name 418*5113495bSYour Name Copied here by RX OLE from the RX_MPDU_END TLV 419*5113495bSYour Name 420*5113495bSYour Name fcs_err 421*5113495bSYour Name 422*5113495bSYour Name Indicates that the MPDU FCS check failed 423*5113495bSYour Name 424*5113495bSYour Name flow_idx_timeout 425*5113495bSYour Name 426*5113495bSYour Name Indicates an unsuccessful flow search due to the 427*5113495bSYour Name expiring of the search timer. 428*5113495bSYour Name 429*5113495bSYour Name <legal all> 430*5113495bSYour Name 431*5113495bSYour Name flow_idx_invalid 432*5113495bSYour Name 433*5113495bSYour Name flow id is not valid 434*5113495bSYour Name 435*5113495bSYour Name <legal all> 436*5113495bSYour Name 437*5113495bSYour Name wifi_parser_error 438*5113495bSYour Name 439*5113495bSYour Name Indicates that the WiFi frame has one of the following 440*5113495bSYour Name errors 441*5113495bSYour Name 442*5113495bSYour Name o has less than minimum allowed bytes as per standard 443*5113495bSYour Name 444*5113495bSYour Name o has incomplete VLAN LLC/SNAP (only for non A-MSDUs) 445*5113495bSYour Name 446*5113495bSYour Name <legal all> 447*5113495bSYour Name 448*5113495bSYour Name amsdu_parser_error 449*5113495bSYour Name 450*5113495bSYour Name A-MSDU could not be properly de-agregated. 451*5113495bSYour Name 452*5113495bSYour Name <legal all> 453*5113495bSYour Name 454*5113495bSYour Name sa_idx_timeout 455*5113495bSYour Name 456*5113495bSYour Name Indicates an unsuccessful MAC source address search due 457*5113495bSYour Name to the expiring of the search timer. 458*5113495bSYour Name 459*5113495bSYour Name da_idx_timeout 460*5113495bSYour Name 461*5113495bSYour Name Indicates an unsuccessful MAC destination address search 462*5113495bSYour Name due to the expiring of the search timer. 463*5113495bSYour Name 464*5113495bSYour Name msdu_limit_error 465*5113495bSYour Name 466*5113495bSYour Name Indicates that the MSDU threshold was exceeded and thus 467*5113495bSYour Name all the rest of the MSDUs will not be scattered and will not 468*5113495bSYour Name be decasulated but will be DMA'ed in RAW format as a single 469*5113495bSYour Name MSDU buffer 470*5113495bSYour Name 471*5113495bSYour Name da_is_valid 472*5113495bSYour Name 473*5113495bSYour Name Indicates that OLE found a valid DA entry 474*5113495bSYour Name 475*5113495bSYour Name da_is_mcbc 476*5113495bSYour Name 477*5113495bSYour Name Field Only valid if da_is_valid is set 478*5113495bSYour Name 479*5113495bSYour Name 480*5113495bSYour Name 481*5113495bSYour Name Indicates the DA address was a Multicast of Broadcast 482*5113495bSYour Name address. 483*5113495bSYour Name 484*5113495bSYour Name sa_is_valid 485*5113495bSYour Name 486*5113495bSYour Name Indicates that OLE found a valid SA entry 487*5113495bSYour Name 488*5113495bSYour Name decrypt_status_code 489*5113495bSYour Name 490*5113495bSYour Name Field provides insight into the decryption performed 491*5113495bSYour Name 492*5113495bSYour Name 493*5113495bSYour Name 494*5113495bSYour Name <enum 0 decrypt_ok> Frame had protection enabled and 495*5113495bSYour Name decrypted properly 496*5113495bSYour Name 497*5113495bSYour Name <enum 1 decrypt_unprotected_frame > Frame is unprotected 498*5113495bSYour Name and hence bypassed 499*5113495bSYour Name 500*5113495bSYour Name <enum 2 decrypt_data_err > Frame has protection enabled 501*5113495bSYour Name and could not be properly decrypted due to MIC/ICV mismatch 502*5113495bSYour Name etc. 503*5113495bSYour Name 504*5113495bSYour Name <enum 3 decrypt_key_invalid > Frame has protection 505*5113495bSYour Name enabled but the key that was required to decrypt this frame 506*5113495bSYour Name was not valid 507*5113495bSYour Name 508*5113495bSYour Name <enum 4 decrypt_peer_entry_invalid > Frame has 509*5113495bSYour Name protection enabled but the key that was required to decrypt 510*5113495bSYour Name this frame was not valid 511*5113495bSYour Name 512*5113495bSYour Name <enum 5 decrypt_other > Reserved for other indications 513*5113495bSYour Name 514*5113495bSYour Name 515*5113495bSYour Name 516*5113495bSYour Name <legal 0 - 5> 517*5113495bSYour Name 518*5113495bSYour Name rx_bitmap_not_updated 519*5113495bSYour Name 520*5113495bSYour Name Frame is received, but RXPCU could not update the 521*5113495bSYour Name receive bitmap due to (temporary) fifo contraints. 522*5113495bSYour Name 523*5113495bSYour Name <legal all> 524*5113495bSYour Name 525*5113495bSYour Name reserved_2 526*5113495bSYour Name 527*5113495bSYour Name <legal 0> 528*5113495bSYour Name 529*5113495bSYour Name msdu_done 530*5113495bSYour Name 531*5113495bSYour Name If set indicates that the RX packet data, RX header 532*5113495bSYour Name data, RX PPDU start descriptor, RX MPDU start/end 533*5113495bSYour Name descriptor, RX MSDU start/end descriptors and RX Attention 534*5113495bSYour Name descriptor are all valid. This bit must be in the last 535*5113495bSYour Name octet of the descriptor. 536*5113495bSYour Name */ 537*5113495bSYour Name 538*5113495bSYour Name 539*5113495bSYour Name /* Description RX_ATTENTION_0_RXPCU_MPDU_FILTER_IN_CATEGORY 540*5113495bSYour Name 541*5113495bSYour Name Field indicates what the reason was that this MPDU frame 542*5113495bSYour Name was allowed to come into the receive path by RXPCU 543*5113495bSYour Name 544*5113495bSYour Name <enum 0 rxpcu_filter_pass> This MPDU passed the normal 545*5113495bSYour Name frame filter programming of rxpcu 546*5113495bSYour Name 547*5113495bSYour Name <enum 1 rxpcu_monitor_client> This MPDU did NOT pass the 548*5113495bSYour Name regular frame filter and would have been dropped, were it 549*5113495bSYour Name not for the frame fitting into the 'monitor_client' 550*5113495bSYour Name category. 551*5113495bSYour Name 552*5113495bSYour Name <enum 2 rxpcu_monitor_other> This MPDU did NOT pass the 553*5113495bSYour Name regular frame filter and also did not pass the 554*5113495bSYour Name rxpcu_monitor_client filter. It would have been dropped 555*5113495bSYour Name accept that it did pass the 'monitor_other' category. 556*5113495bSYour Name 557*5113495bSYour Name <legal 0-2> 558*5113495bSYour Name */ 559*5113495bSYour Name #define RX_ATTENTION_0_RXPCU_MPDU_FILTER_IN_CATEGORY_OFFSET 0x00000000 560*5113495bSYour Name #define RX_ATTENTION_0_RXPCU_MPDU_FILTER_IN_CATEGORY_LSB 0 561*5113495bSYour Name #define RX_ATTENTION_0_RXPCU_MPDU_FILTER_IN_CATEGORY_MASK 0x00000003 562*5113495bSYour Name 563*5113495bSYour Name /* Description RX_ATTENTION_0_SW_FRAME_GROUP_ID 564*5113495bSYour Name 565*5113495bSYour Name SW processes frames based on certain classifications. 566*5113495bSYour Name This field indicates to what sw classification this MPDU is 567*5113495bSYour Name mapped. 568*5113495bSYour Name 569*5113495bSYour Name The classification is given in priority order 570*5113495bSYour Name 571*5113495bSYour Name 572*5113495bSYour Name 573*5113495bSYour Name <enum 0 sw_frame_group_NDP_frame> 574*5113495bSYour Name 575*5113495bSYour Name 576*5113495bSYour Name 577*5113495bSYour Name <enum 1 sw_frame_group_Multicast_data> 578*5113495bSYour Name 579*5113495bSYour Name <enum 2 sw_frame_group_Unicast_data> 580*5113495bSYour Name 581*5113495bSYour Name <enum 3 sw_frame_group_Null_data > This includes mpdus 582*5113495bSYour Name of type Data Null as well as QoS Data Null 583*5113495bSYour Name 584*5113495bSYour Name 585*5113495bSYour Name 586*5113495bSYour Name <enum 4 sw_frame_group_mgmt_0000 > 587*5113495bSYour Name 588*5113495bSYour Name <enum 5 sw_frame_group_mgmt_0001 > 589*5113495bSYour Name 590*5113495bSYour Name <enum 6 sw_frame_group_mgmt_0010 > 591*5113495bSYour Name 592*5113495bSYour Name <enum 7 sw_frame_group_mgmt_0011 > 593*5113495bSYour Name 594*5113495bSYour Name <enum 8 sw_frame_group_mgmt_0100 > 595*5113495bSYour Name 596*5113495bSYour Name <enum 9 sw_frame_group_mgmt_0101 > 597*5113495bSYour Name 598*5113495bSYour Name <enum 10 sw_frame_group_mgmt_0110 > 599*5113495bSYour Name 600*5113495bSYour Name <enum 11 sw_frame_group_mgmt_0111 > 601*5113495bSYour Name 602*5113495bSYour Name <enum 12 sw_frame_group_mgmt_1000 > 603*5113495bSYour Name 604*5113495bSYour Name <enum 13 sw_frame_group_mgmt_1001 > 605*5113495bSYour Name 606*5113495bSYour Name <enum 14 sw_frame_group_mgmt_1010 > 607*5113495bSYour Name 608*5113495bSYour Name <enum 15 sw_frame_group_mgmt_1011 > 609*5113495bSYour Name 610*5113495bSYour Name <enum 16 sw_frame_group_mgmt_1100 > 611*5113495bSYour Name 612*5113495bSYour Name <enum 17 sw_frame_group_mgmt_1101 > 613*5113495bSYour Name 614*5113495bSYour Name <enum 18 sw_frame_group_mgmt_1110 > 615*5113495bSYour Name 616*5113495bSYour Name <enum 19 sw_frame_group_mgmt_1111 > 617*5113495bSYour Name 618*5113495bSYour Name 619*5113495bSYour Name 620*5113495bSYour Name <enum 20 sw_frame_group_ctrl_0000 > 621*5113495bSYour Name 622*5113495bSYour Name <enum 21 sw_frame_group_ctrl_0001 > 623*5113495bSYour Name 624*5113495bSYour Name <enum 22 sw_frame_group_ctrl_0010 > 625*5113495bSYour Name 626*5113495bSYour Name <enum 23 sw_frame_group_ctrl_0011 > 627*5113495bSYour Name 628*5113495bSYour Name <enum 24 sw_frame_group_ctrl_0100 > 629*5113495bSYour Name 630*5113495bSYour Name <enum 25 sw_frame_group_ctrl_0101 > 631*5113495bSYour Name 632*5113495bSYour Name <enum 26 sw_frame_group_ctrl_0110 > 633*5113495bSYour Name 634*5113495bSYour Name <enum 27 sw_frame_group_ctrl_0111 > 635*5113495bSYour Name 636*5113495bSYour Name <enum 28 sw_frame_group_ctrl_1000 > 637*5113495bSYour Name 638*5113495bSYour Name <enum 29 sw_frame_group_ctrl_1001 > 639*5113495bSYour Name 640*5113495bSYour Name <enum 30 sw_frame_group_ctrl_1010 > 641*5113495bSYour Name 642*5113495bSYour Name <enum 31 sw_frame_group_ctrl_1011 > 643*5113495bSYour Name 644*5113495bSYour Name <enum 32 sw_frame_group_ctrl_1100 > 645*5113495bSYour Name 646*5113495bSYour Name <enum 33 sw_frame_group_ctrl_1101 > 647*5113495bSYour Name 648*5113495bSYour Name <enum 34 sw_frame_group_ctrl_1110 > 649*5113495bSYour Name 650*5113495bSYour Name <enum 35 sw_frame_group_ctrl_1111 > 651*5113495bSYour Name 652*5113495bSYour Name 653*5113495bSYour Name 654*5113495bSYour Name <enum 36 sw_frame_group_unsupported> This covers type 3 655*5113495bSYour Name and protocol version != 0 656*5113495bSYour Name 657*5113495bSYour Name 658*5113495bSYour Name 659*5113495bSYour Name 660*5113495bSYour Name 661*5113495bSYour Name 662*5113495bSYour Name <legal 0-37> 663*5113495bSYour Name */ 664*5113495bSYour Name #define RX_ATTENTION_0_SW_FRAME_GROUP_ID_OFFSET 0x00000000 665*5113495bSYour Name #define RX_ATTENTION_0_SW_FRAME_GROUP_ID_LSB 2 666*5113495bSYour Name #define RX_ATTENTION_0_SW_FRAME_GROUP_ID_MASK 0x000001fc 667*5113495bSYour Name 668*5113495bSYour Name /* Description RX_ATTENTION_0_RESERVED_0 669*5113495bSYour Name 670*5113495bSYour Name <legal 0> 671*5113495bSYour Name */ 672*5113495bSYour Name #define RX_ATTENTION_0_RESERVED_0_OFFSET 0x00000000 673*5113495bSYour Name #define RX_ATTENTION_0_RESERVED_0_LSB 9 674*5113495bSYour Name #define RX_ATTENTION_0_RESERVED_0_MASK 0x0000fe00 675*5113495bSYour Name 676*5113495bSYour Name /* Description RX_ATTENTION_0_PHY_PPDU_ID 677*5113495bSYour Name 678*5113495bSYour Name A ppdu counter value that PHY increments for every PPDU 679*5113495bSYour Name received. The counter value wraps around 680*5113495bSYour Name 681*5113495bSYour Name <legal all> 682*5113495bSYour Name */ 683*5113495bSYour Name #define RX_ATTENTION_0_PHY_PPDU_ID_OFFSET 0x00000000 684*5113495bSYour Name #define RX_ATTENTION_0_PHY_PPDU_ID_LSB 16 685*5113495bSYour Name #define RX_ATTENTION_0_PHY_PPDU_ID_MASK 0xffff0000 686*5113495bSYour Name 687*5113495bSYour Name /* Description RX_ATTENTION_1_FIRST_MPDU 688*5113495bSYour Name 689*5113495bSYour Name Indicates the first MSDU of the PPDU. If both 690*5113495bSYour Name first_mpdu and last_mpdu are set in the MSDU then this is a 691*5113495bSYour Name not an A-MPDU frame but a stand alone MPDU. Interior MPDU 692*5113495bSYour Name in an A-MPDU shall have both first_mpdu and last_mpdu bits 693*5113495bSYour Name set to 0. The PPDU start status will only be valid when 694*5113495bSYour Name this bit is set. 695*5113495bSYour Name */ 696*5113495bSYour Name #define RX_ATTENTION_1_FIRST_MPDU_OFFSET 0x00000004 697*5113495bSYour Name #define RX_ATTENTION_1_FIRST_MPDU_LSB 0 698*5113495bSYour Name #define RX_ATTENTION_1_FIRST_MPDU_MASK 0x00000001 699*5113495bSYour Name 700*5113495bSYour Name /* Description RX_ATTENTION_1_RESERVED_1A 701*5113495bSYour Name 702*5113495bSYour Name <legal 0> 703*5113495bSYour Name */ 704*5113495bSYour Name #define RX_ATTENTION_1_RESERVED_1A_OFFSET 0x00000004 705*5113495bSYour Name #define RX_ATTENTION_1_RESERVED_1A_LSB 1 706*5113495bSYour Name #define RX_ATTENTION_1_RESERVED_1A_MASK 0x00000002 707*5113495bSYour Name 708*5113495bSYour Name /* Description RX_ATTENTION_1_MCAST_BCAST 709*5113495bSYour Name 710*5113495bSYour Name Multicast / broadcast indicator. Only set when the MAC 711*5113495bSYour Name address 1 bit 0 is set indicating mcast/bcast and the BSSID 712*5113495bSYour Name matches one of the 4 BSSID registers. Only set when 713*5113495bSYour Name first_msdu is set. 714*5113495bSYour Name */ 715*5113495bSYour Name #define RX_ATTENTION_1_MCAST_BCAST_OFFSET 0x00000004 716*5113495bSYour Name #define RX_ATTENTION_1_MCAST_BCAST_LSB 2 717*5113495bSYour Name #define RX_ATTENTION_1_MCAST_BCAST_MASK 0x00000004 718*5113495bSYour Name 719*5113495bSYour Name /* Description RX_ATTENTION_1_AST_INDEX_NOT_FOUND 720*5113495bSYour Name 721*5113495bSYour Name Only valid when first_msdu is set. 722*5113495bSYour Name 723*5113495bSYour Name 724*5113495bSYour Name 725*5113495bSYour Name Indicates no AST matching entries within the the max 726*5113495bSYour Name search count. 727*5113495bSYour Name */ 728*5113495bSYour Name #define RX_ATTENTION_1_AST_INDEX_NOT_FOUND_OFFSET 0x00000004 729*5113495bSYour Name #define RX_ATTENTION_1_AST_INDEX_NOT_FOUND_LSB 3 730*5113495bSYour Name #define RX_ATTENTION_1_AST_INDEX_NOT_FOUND_MASK 0x00000008 731*5113495bSYour Name 732*5113495bSYour Name /* Description RX_ATTENTION_1_AST_INDEX_TIMEOUT 733*5113495bSYour Name 734*5113495bSYour Name Only valid when first_msdu is set. 735*5113495bSYour Name 736*5113495bSYour Name 737*5113495bSYour Name 738*5113495bSYour Name Indicates an unsuccessful search in the address seach 739*5113495bSYour Name table due to timeout. 740*5113495bSYour Name */ 741*5113495bSYour Name #define RX_ATTENTION_1_AST_INDEX_TIMEOUT_OFFSET 0x00000004 742*5113495bSYour Name #define RX_ATTENTION_1_AST_INDEX_TIMEOUT_LSB 4 743*5113495bSYour Name #define RX_ATTENTION_1_AST_INDEX_TIMEOUT_MASK 0x00000010 744*5113495bSYour Name 745*5113495bSYour Name /* Description RX_ATTENTION_1_POWER_MGMT 746*5113495bSYour Name 747*5113495bSYour Name Power management bit set in the 802.11 header. Only set 748*5113495bSYour Name when first_msdu is set. 749*5113495bSYour Name */ 750*5113495bSYour Name #define RX_ATTENTION_1_POWER_MGMT_OFFSET 0x00000004 751*5113495bSYour Name #define RX_ATTENTION_1_POWER_MGMT_LSB 5 752*5113495bSYour Name #define RX_ATTENTION_1_POWER_MGMT_MASK 0x00000020 753*5113495bSYour Name 754*5113495bSYour Name /* Description RX_ATTENTION_1_NON_QOS 755*5113495bSYour Name 756*5113495bSYour Name Set if packet is not a non-QoS data frame. Only set 757*5113495bSYour Name when first_msdu is set. 758*5113495bSYour Name */ 759*5113495bSYour Name #define RX_ATTENTION_1_NON_QOS_OFFSET 0x00000004 760*5113495bSYour Name #define RX_ATTENTION_1_NON_QOS_LSB 6 761*5113495bSYour Name #define RX_ATTENTION_1_NON_QOS_MASK 0x00000040 762*5113495bSYour Name 763*5113495bSYour Name /* Description RX_ATTENTION_1_NULL_DATA 764*5113495bSYour Name 765*5113495bSYour Name Set if frame type indicates either null data or QoS null 766*5113495bSYour Name data format. Only set when first_msdu is set. 767*5113495bSYour Name */ 768*5113495bSYour Name #define RX_ATTENTION_1_NULL_DATA_OFFSET 0x00000004 769*5113495bSYour Name #define RX_ATTENTION_1_NULL_DATA_LSB 7 770*5113495bSYour Name #define RX_ATTENTION_1_NULL_DATA_MASK 0x00000080 771*5113495bSYour Name 772*5113495bSYour Name /* Description RX_ATTENTION_1_MGMT_TYPE 773*5113495bSYour Name 774*5113495bSYour Name Set if packet is a management packet. Only set when 775*5113495bSYour Name first_msdu is set. 776*5113495bSYour Name */ 777*5113495bSYour Name #define RX_ATTENTION_1_MGMT_TYPE_OFFSET 0x00000004 778*5113495bSYour Name #define RX_ATTENTION_1_MGMT_TYPE_LSB 8 779*5113495bSYour Name #define RX_ATTENTION_1_MGMT_TYPE_MASK 0x00000100 780*5113495bSYour Name 781*5113495bSYour Name /* Description RX_ATTENTION_1_CTRL_TYPE 782*5113495bSYour Name 783*5113495bSYour Name Set if packet is a control packet. Only set when 784*5113495bSYour Name first_msdu is set. 785*5113495bSYour Name */ 786*5113495bSYour Name #define RX_ATTENTION_1_CTRL_TYPE_OFFSET 0x00000004 787*5113495bSYour Name #define RX_ATTENTION_1_CTRL_TYPE_LSB 9 788*5113495bSYour Name #define RX_ATTENTION_1_CTRL_TYPE_MASK 0x00000200 789*5113495bSYour Name 790*5113495bSYour Name /* Description RX_ATTENTION_1_MORE_DATA 791*5113495bSYour Name 792*5113495bSYour Name Set if more bit in frame control is set. Only set when 793*5113495bSYour Name first_msdu is set. 794*5113495bSYour Name */ 795*5113495bSYour Name #define RX_ATTENTION_1_MORE_DATA_OFFSET 0x00000004 796*5113495bSYour Name #define RX_ATTENTION_1_MORE_DATA_LSB 10 797*5113495bSYour Name #define RX_ATTENTION_1_MORE_DATA_MASK 0x00000400 798*5113495bSYour Name 799*5113495bSYour Name /* Description RX_ATTENTION_1_EOSP 800*5113495bSYour Name 801*5113495bSYour Name Set if the EOSP (end of service period) bit in the QoS 802*5113495bSYour Name control field is set. Only set when first_msdu is set. 803*5113495bSYour Name */ 804*5113495bSYour Name #define RX_ATTENTION_1_EOSP_OFFSET 0x00000004 805*5113495bSYour Name #define RX_ATTENTION_1_EOSP_LSB 11 806*5113495bSYour Name #define RX_ATTENTION_1_EOSP_MASK 0x00000800 807*5113495bSYour Name 808*5113495bSYour Name /* Description RX_ATTENTION_1_A_MSDU_ERROR 809*5113495bSYour Name 810*5113495bSYour Name Set if number of MSDUs in A-MSDU is above a threshold or 811*5113495bSYour Name if the size of the MSDU is invalid. This receive buffer 812*5113495bSYour Name will contain all of the remainder of the MSDUs in this MPDU 813*5113495bSYour Name without decapsulation. 814*5113495bSYour Name */ 815*5113495bSYour Name #define RX_ATTENTION_1_A_MSDU_ERROR_OFFSET 0x00000004 816*5113495bSYour Name #define RX_ATTENTION_1_A_MSDU_ERROR_LSB 12 817*5113495bSYour Name #define RX_ATTENTION_1_A_MSDU_ERROR_MASK 0x00001000 818*5113495bSYour Name 819*5113495bSYour Name /* Description RX_ATTENTION_1_FRAGMENT_FLAG 820*5113495bSYour Name 821*5113495bSYour Name Indicates that this is an 802.11 fragment frame. This 822*5113495bSYour Name is set when either the more_frag bit is set in the frame 823*5113495bSYour Name control or the fragment number is not zero. Only set when 824*5113495bSYour Name first_msdu is set. 825*5113495bSYour Name */ 826*5113495bSYour Name #define RX_ATTENTION_1_FRAGMENT_FLAG_OFFSET 0x00000004 827*5113495bSYour Name #define RX_ATTENTION_1_FRAGMENT_FLAG_LSB 13 828*5113495bSYour Name #define RX_ATTENTION_1_FRAGMENT_FLAG_MASK 0x00002000 829*5113495bSYour Name 830*5113495bSYour Name /* Description RX_ATTENTION_1_ORDER 831*5113495bSYour Name 832*5113495bSYour Name Set if the order bit in the frame control is set. Only 833*5113495bSYour Name set when first_msdu is set. 834*5113495bSYour Name */ 835*5113495bSYour Name #define RX_ATTENTION_1_ORDER_OFFSET 0x00000004 836*5113495bSYour Name #define RX_ATTENTION_1_ORDER_LSB 14 837*5113495bSYour Name #define RX_ATTENTION_1_ORDER_MASK 0x00004000 838*5113495bSYour Name 839*5113495bSYour Name /* Description RX_ATTENTION_1_CCE_MATCH 840*5113495bSYour Name 841*5113495bSYour Name Indicates that this status has a corresponding MSDU that 842*5113495bSYour Name requires FW processing. The OLE will have classification 843*5113495bSYour Name ring mask registers which will indicate the ring(s) for 844*5113495bSYour Name packets and descriptors which need FW attention. 845*5113495bSYour Name */ 846*5113495bSYour Name #define RX_ATTENTION_1_CCE_MATCH_OFFSET 0x00000004 847*5113495bSYour Name #define RX_ATTENTION_1_CCE_MATCH_LSB 15 848*5113495bSYour Name #define RX_ATTENTION_1_CCE_MATCH_MASK 0x00008000 849*5113495bSYour Name 850*5113495bSYour Name /* Description RX_ATTENTION_1_OVERFLOW_ERR 851*5113495bSYour Name 852*5113495bSYour Name RXPCU Receive FIFO ran out of space to receive the full 853*5113495bSYour Name MPDU. Therefor this MPDU is terminated early and is thus 854*5113495bSYour Name corrupted. 855*5113495bSYour Name 856*5113495bSYour Name 857*5113495bSYour Name 858*5113495bSYour Name This MPDU will not be ACKed. 859*5113495bSYour Name 860*5113495bSYour Name RXPCU might still be able to correctly receive the 861*5113495bSYour Name following MPDUs in the PPDU if enough fifo space became 862*5113495bSYour Name available in time 863*5113495bSYour Name */ 864*5113495bSYour Name #define RX_ATTENTION_1_OVERFLOW_ERR_OFFSET 0x00000004 865*5113495bSYour Name #define RX_ATTENTION_1_OVERFLOW_ERR_LSB 16 866*5113495bSYour Name #define RX_ATTENTION_1_OVERFLOW_ERR_MASK 0x00010000 867*5113495bSYour Name 868*5113495bSYour Name /* Description RX_ATTENTION_1_MSDU_LENGTH_ERR 869*5113495bSYour Name 870*5113495bSYour Name Indicates that the MSDU length from the 802.3 871*5113495bSYour Name encapsulated length field extends beyond the MPDU boundary 872*5113495bSYour Name or if the length is less than 14 bytes. 873*5113495bSYour Name 874*5113495bSYour Name Merged with original other_msdu_err: Indicates that the 875*5113495bSYour Name MSDU threshold was exceeded and thus all the rest of the 876*5113495bSYour Name MSDUs will not be scattered and will not be decasulated but 877*5113495bSYour Name will be DMA'ed in RAW format as a single MSDU buffer 878*5113495bSYour Name */ 879*5113495bSYour Name #define RX_ATTENTION_1_MSDU_LENGTH_ERR_OFFSET 0x00000004 880*5113495bSYour Name #define RX_ATTENTION_1_MSDU_LENGTH_ERR_LSB 17 881*5113495bSYour Name #define RX_ATTENTION_1_MSDU_LENGTH_ERR_MASK 0x00020000 882*5113495bSYour Name 883*5113495bSYour Name /* Description RX_ATTENTION_1_TCP_UDP_CHKSUM_FAIL 884*5113495bSYour Name 885*5113495bSYour Name Indicates that the computed checksum (tcp_udp_chksum) 886*5113495bSYour Name did not match the checksum in the TCP/UDP header. 887*5113495bSYour Name */ 888*5113495bSYour Name #define RX_ATTENTION_1_TCP_UDP_CHKSUM_FAIL_OFFSET 0x00000004 889*5113495bSYour Name #define RX_ATTENTION_1_TCP_UDP_CHKSUM_FAIL_LSB 18 890*5113495bSYour Name #define RX_ATTENTION_1_TCP_UDP_CHKSUM_FAIL_MASK 0x00040000 891*5113495bSYour Name 892*5113495bSYour Name /* Description RX_ATTENTION_1_IP_CHKSUM_FAIL 893*5113495bSYour Name 894*5113495bSYour Name Indicates that the computed checksum did not match the 895*5113495bSYour Name checksum in the IP header. 896*5113495bSYour Name */ 897*5113495bSYour Name #define RX_ATTENTION_1_IP_CHKSUM_FAIL_OFFSET 0x00000004 898*5113495bSYour Name #define RX_ATTENTION_1_IP_CHKSUM_FAIL_LSB 19 899*5113495bSYour Name #define RX_ATTENTION_1_IP_CHKSUM_FAIL_MASK 0x00080000 900*5113495bSYour Name 901*5113495bSYour Name /* Description RX_ATTENTION_1_SA_IDX_INVALID 902*5113495bSYour Name 903*5113495bSYour Name Indicates no matching entry was found in the address 904*5113495bSYour Name search table for the source MAC address. 905*5113495bSYour Name */ 906*5113495bSYour Name #define RX_ATTENTION_1_SA_IDX_INVALID_OFFSET 0x00000004 907*5113495bSYour Name #define RX_ATTENTION_1_SA_IDX_INVALID_LSB 20 908*5113495bSYour Name #define RX_ATTENTION_1_SA_IDX_INVALID_MASK 0x00100000 909*5113495bSYour Name 910*5113495bSYour Name /* Description RX_ATTENTION_1_DA_IDX_INVALID 911*5113495bSYour Name 912*5113495bSYour Name Indicates no matching entry was found in the address 913*5113495bSYour Name search table for the destination MAC address. 914*5113495bSYour Name */ 915*5113495bSYour Name #define RX_ATTENTION_1_DA_IDX_INVALID_OFFSET 0x00000004 916*5113495bSYour Name #define RX_ATTENTION_1_DA_IDX_INVALID_LSB 21 917*5113495bSYour Name #define RX_ATTENTION_1_DA_IDX_INVALID_MASK 0x00200000 918*5113495bSYour Name 919*5113495bSYour Name /* Description RX_ATTENTION_1_RESERVED_1B 920*5113495bSYour Name 921*5113495bSYour Name */ 922*5113495bSYour Name #define RX_ATTENTION_1_RESERVED_1B_OFFSET 0x00000004 923*5113495bSYour Name #define RX_ATTENTION_1_RESERVED_1B_LSB 22 924*5113495bSYour Name #define RX_ATTENTION_1_RESERVED_1B_MASK 0x00400000 925*5113495bSYour Name 926*5113495bSYour Name /* Description RX_ATTENTION_1_RX_IN_TX_DECRYPT_BYP 927*5113495bSYour Name 928*5113495bSYour Name Indicates that RX packet is not decrypted as Crypto is 929*5113495bSYour Name busy with TX packet processing. 930*5113495bSYour Name */ 931*5113495bSYour Name #define RX_ATTENTION_1_RX_IN_TX_DECRYPT_BYP_OFFSET 0x00000004 932*5113495bSYour Name #define RX_ATTENTION_1_RX_IN_TX_DECRYPT_BYP_LSB 23 933*5113495bSYour Name #define RX_ATTENTION_1_RX_IN_TX_DECRYPT_BYP_MASK 0x00800000 934*5113495bSYour Name 935*5113495bSYour Name /* Description RX_ATTENTION_1_ENCRYPT_REQUIRED 936*5113495bSYour Name 937*5113495bSYour Name Indicates that this data type frame is not encrypted 938*5113495bSYour Name even if the policy for this MPDU requires encryption as 939*5113495bSYour Name indicated in the peer entry key type. 940*5113495bSYour Name */ 941*5113495bSYour Name #define RX_ATTENTION_1_ENCRYPT_REQUIRED_OFFSET 0x00000004 942*5113495bSYour Name #define RX_ATTENTION_1_ENCRYPT_REQUIRED_LSB 24 943*5113495bSYour Name #define RX_ATTENTION_1_ENCRYPT_REQUIRED_MASK 0x01000000 944*5113495bSYour Name 945*5113495bSYour Name /* Description RX_ATTENTION_1_DIRECTED 946*5113495bSYour Name 947*5113495bSYour Name MPDU is a directed packet which means that the RA 948*5113495bSYour Name matched our STA addresses. In proxySTA it means that the TA 949*5113495bSYour Name matched an entry in our address search table with the 950*5113495bSYour Name corresponding no_ack bit is the address search entry 951*5113495bSYour Name cleared. 952*5113495bSYour Name */ 953*5113495bSYour Name #define RX_ATTENTION_1_DIRECTED_OFFSET 0x00000004 954*5113495bSYour Name #define RX_ATTENTION_1_DIRECTED_LSB 25 955*5113495bSYour Name #define RX_ATTENTION_1_DIRECTED_MASK 0x02000000 956*5113495bSYour Name 957*5113495bSYour Name /* Description RX_ATTENTION_1_BUFFER_FRAGMENT 958*5113495bSYour Name 959*5113495bSYour Name Indicates that at least one of the rx buffers has been 960*5113495bSYour Name fragmented. If set the FW should look at the rx_frag_info 961*5113495bSYour Name descriptor described below. 962*5113495bSYour Name */ 963*5113495bSYour Name #define RX_ATTENTION_1_BUFFER_FRAGMENT_OFFSET 0x00000004 964*5113495bSYour Name #define RX_ATTENTION_1_BUFFER_FRAGMENT_LSB 26 965*5113495bSYour Name #define RX_ATTENTION_1_BUFFER_FRAGMENT_MASK 0x04000000 966*5113495bSYour Name 967*5113495bSYour Name /* Description RX_ATTENTION_1_MPDU_LENGTH_ERR 968*5113495bSYour Name 969*5113495bSYour Name Indicates that the MPDU was pre-maturely terminated 970*5113495bSYour Name resulting in a truncated MPDU. Don't trust the MPDU length 971*5113495bSYour Name field. 972*5113495bSYour Name */ 973*5113495bSYour Name #define RX_ATTENTION_1_MPDU_LENGTH_ERR_OFFSET 0x00000004 974*5113495bSYour Name #define RX_ATTENTION_1_MPDU_LENGTH_ERR_LSB 27 975*5113495bSYour Name #define RX_ATTENTION_1_MPDU_LENGTH_ERR_MASK 0x08000000 976*5113495bSYour Name 977*5113495bSYour Name /* Description RX_ATTENTION_1_TKIP_MIC_ERR 978*5113495bSYour Name 979*5113495bSYour Name Indicates that the MPDU Michael integrity check failed 980*5113495bSYour Name */ 981*5113495bSYour Name #define RX_ATTENTION_1_TKIP_MIC_ERR_OFFSET 0x00000004 982*5113495bSYour Name #define RX_ATTENTION_1_TKIP_MIC_ERR_LSB 28 983*5113495bSYour Name #define RX_ATTENTION_1_TKIP_MIC_ERR_MASK 0x10000000 984*5113495bSYour Name 985*5113495bSYour Name /* Description RX_ATTENTION_1_DECRYPT_ERR 986*5113495bSYour Name 987*5113495bSYour Name Indicates that the MPDU decrypt integrity check failed 988*5113495bSYour Name or CRYPTO received an encrypted frame, but did not get a 989*5113495bSYour Name valid corresponding key id in the peer entry. 990*5113495bSYour Name */ 991*5113495bSYour Name #define RX_ATTENTION_1_DECRYPT_ERR_OFFSET 0x00000004 992*5113495bSYour Name #define RX_ATTENTION_1_DECRYPT_ERR_LSB 29 993*5113495bSYour Name #define RX_ATTENTION_1_DECRYPT_ERR_MASK 0x20000000 994*5113495bSYour Name 995*5113495bSYour Name /* Description RX_ATTENTION_1_UNENCRYPTED_FRAME_ERR 996*5113495bSYour Name 997*5113495bSYour Name Copied here by RX OLE from the RX_MPDU_END TLV 998*5113495bSYour Name */ 999*5113495bSYour Name #define RX_ATTENTION_1_UNENCRYPTED_FRAME_ERR_OFFSET 0x00000004 1000*5113495bSYour Name #define RX_ATTENTION_1_UNENCRYPTED_FRAME_ERR_LSB 30 1001*5113495bSYour Name #define RX_ATTENTION_1_UNENCRYPTED_FRAME_ERR_MASK 0x40000000 1002*5113495bSYour Name 1003*5113495bSYour Name /* Description RX_ATTENTION_1_FCS_ERR 1004*5113495bSYour Name 1005*5113495bSYour Name Indicates that the MPDU FCS check failed 1006*5113495bSYour Name */ 1007*5113495bSYour Name #define RX_ATTENTION_1_FCS_ERR_OFFSET 0x00000004 1008*5113495bSYour Name #define RX_ATTENTION_1_FCS_ERR_LSB 31 1009*5113495bSYour Name #define RX_ATTENTION_1_FCS_ERR_MASK 0x80000000 1010*5113495bSYour Name 1011*5113495bSYour Name /* Description RX_ATTENTION_2_FLOW_IDX_TIMEOUT 1012*5113495bSYour Name 1013*5113495bSYour Name Indicates an unsuccessful flow search due to the 1014*5113495bSYour Name expiring of the search timer. 1015*5113495bSYour Name 1016*5113495bSYour Name <legal all> 1017*5113495bSYour Name */ 1018*5113495bSYour Name #define RX_ATTENTION_2_FLOW_IDX_TIMEOUT_OFFSET 0x00000008 1019*5113495bSYour Name #define RX_ATTENTION_2_FLOW_IDX_TIMEOUT_LSB 0 1020*5113495bSYour Name #define RX_ATTENTION_2_FLOW_IDX_TIMEOUT_MASK 0x00000001 1021*5113495bSYour Name 1022*5113495bSYour Name /* Description RX_ATTENTION_2_FLOW_IDX_INVALID 1023*5113495bSYour Name 1024*5113495bSYour Name flow id is not valid 1025*5113495bSYour Name 1026*5113495bSYour Name <legal all> 1027*5113495bSYour Name */ 1028*5113495bSYour Name #define RX_ATTENTION_2_FLOW_IDX_INVALID_OFFSET 0x00000008 1029*5113495bSYour Name #define RX_ATTENTION_2_FLOW_IDX_INVALID_LSB 1 1030*5113495bSYour Name #define RX_ATTENTION_2_FLOW_IDX_INVALID_MASK 0x00000002 1031*5113495bSYour Name 1032*5113495bSYour Name /* Description RX_ATTENTION_2_WIFI_PARSER_ERROR 1033*5113495bSYour Name 1034*5113495bSYour Name Indicates that the WiFi frame has one of the following 1035*5113495bSYour Name errors 1036*5113495bSYour Name 1037*5113495bSYour Name o has less than minimum allowed bytes as per standard 1038*5113495bSYour Name 1039*5113495bSYour Name o has incomplete VLAN LLC/SNAP (only for non A-MSDUs) 1040*5113495bSYour Name 1041*5113495bSYour Name <legal all> 1042*5113495bSYour Name */ 1043*5113495bSYour Name #define RX_ATTENTION_2_WIFI_PARSER_ERROR_OFFSET 0x00000008 1044*5113495bSYour Name #define RX_ATTENTION_2_WIFI_PARSER_ERROR_LSB 2 1045*5113495bSYour Name #define RX_ATTENTION_2_WIFI_PARSER_ERROR_MASK 0x00000004 1046*5113495bSYour Name 1047*5113495bSYour Name /* Description RX_ATTENTION_2_AMSDU_PARSER_ERROR 1048*5113495bSYour Name 1049*5113495bSYour Name A-MSDU could not be properly de-agregated. 1050*5113495bSYour Name 1051*5113495bSYour Name <legal all> 1052*5113495bSYour Name */ 1053*5113495bSYour Name #define RX_ATTENTION_2_AMSDU_PARSER_ERROR_OFFSET 0x00000008 1054*5113495bSYour Name #define RX_ATTENTION_2_AMSDU_PARSER_ERROR_LSB 3 1055*5113495bSYour Name #define RX_ATTENTION_2_AMSDU_PARSER_ERROR_MASK 0x00000008 1056*5113495bSYour Name 1057*5113495bSYour Name /* Description RX_ATTENTION_2_SA_IDX_TIMEOUT 1058*5113495bSYour Name 1059*5113495bSYour Name Indicates an unsuccessful MAC source address search due 1060*5113495bSYour Name to the expiring of the search timer. 1061*5113495bSYour Name */ 1062*5113495bSYour Name #define RX_ATTENTION_2_SA_IDX_TIMEOUT_OFFSET 0x00000008 1063*5113495bSYour Name #define RX_ATTENTION_2_SA_IDX_TIMEOUT_LSB 4 1064*5113495bSYour Name #define RX_ATTENTION_2_SA_IDX_TIMEOUT_MASK 0x00000010 1065*5113495bSYour Name 1066*5113495bSYour Name /* Description RX_ATTENTION_2_DA_IDX_TIMEOUT 1067*5113495bSYour Name 1068*5113495bSYour Name Indicates an unsuccessful MAC destination address search 1069*5113495bSYour Name due to the expiring of the search timer. 1070*5113495bSYour Name */ 1071*5113495bSYour Name #define RX_ATTENTION_2_DA_IDX_TIMEOUT_OFFSET 0x00000008 1072*5113495bSYour Name #define RX_ATTENTION_2_DA_IDX_TIMEOUT_LSB 5 1073*5113495bSYour Name #define RX_ATTENTION_2_DA_IDX_TIMEOUT_MASK 0x00000020 1074*5113495bSYour Name 1075*5113495bSYour Name /* Description RX_ATTENTION_2_MSDU_LIMIT_ERROR 1076*5113495bSYour Name 1077*5113495bSYour Name Indicates that the MSDU threshold was exceeded and thus 1078*5113495bSYour Name all the rest of the MSDUs will not be scattered and will not 1079*5113495bSYour Name be decasulated but will be DMA'ed in RAW format as a single 1080*5113495bSYour Name MSDU buffer 1081*5113495bSYour Name */ 1082*5113495bSYour Name #define RX_ATTENTION_2_MSDU_LIMIT_ERROR_OFFSET 0x00000008 1083*5113495bSYour Name #define RX_ATTENTION_2_MSDU_LIMIT_ERROR_LSB 6 1084*5113495bSYour Name #define RX_ATTENTION_2_MSDU_LIMIT_ERROR_MASK 0x00000040 1085*5113495bSYour Name 1086*5113495bSYour Name /* Description RX_ATTENTION_2_DA_IS_VALID 1087*5113495bSYour Name 1088*5113495bSYour Name Indicates that OLE found a valid DA entry 1089*5113495bSYour Name */ 1090*5113495bSYour Name #define RX_ATTENTION_2_DA_IS_VALID_OFFSET 0x00000008 1091*5113495bSYour Name #define RX_ATTENTION_2_DA_IS_VALID_LSB 7 1092*5113495bSYour Name #define RX_ATTENTION_2_DA_IS_VALID_MASK 0x00000080 1093*5113495bSYour Name 1094*5113495bSYour Name /* Description RX_ATTENTION_2_DA_IS_MCBC 1095*5113495bSYour Name 1096*5113495bSYour Name Field Only valid if da_is_valid is set 1097*5113495bSYour Name 1098*5113495bSYour Name 1099*5113495bSYour Name 1100*5113495bSYour Name Indicates the DA address was a Multicast of Broadcast 1101*5113495bSYour Name address. 1102*5113495bSYour Name */ 1103*5113495bSYour Name #define RX_ATTENTION_2_DA_IS_MCBC_OFFSET 0x00000008 1104*5113495bSYour Name #define RX_ATTENTION_2_DA_IS_MCBC_LSB 8 1105*5113495bSYour Name #define RX_ATTENTION_2_DA_IS_MCBC_MASK 0x00000100 1106*5113495bSYour Name 1107*5113495bSYour Name /* Description RX_ATTENTION_2_SA_IS_VALID 1108*5113495bSYour Name 1109*5113495bSYour Name Indicates that OLE found a valid SA entry 1110*5113495bSYour Name */ 1111*5113495bSYour Name #define RX_ATTENTION_2_SA_IS_VALID_OFFSET 0x00000008 1112*5113495bSYour Name #define RX_ATTENTION_2_SA_IS_VALID_LSB 9 1113*5113495bSYour Name #define RX_ATTENTION_2_SA_IS_VALID_MASK 0x00000200 1114*5113495bSYour Name 1115*5113495bSYour Name /* Description RX_ATTENTION_2_DECRYPT_STATUS_CODE 1116*5113495bSYour Name 1117*5113495bSYour Name Field provides insight into the decryption performed 1118*5113495bSYour Name 1119*5113495bSYour Name 1120*5113495bSYour Name 1121*5113495bSYour Name <enum 0 decrypt_ok> Frame had protection enabled and 1122*5113495bSYour Name decrypted properly 1123*5113495bSYour Name 1124*5113495bSYour Name <enum 1 decrypt_unprotected_frame > Frame is unprotected 1125*5113495bSYour Name and hence bypassed 1126*5113495bSYour Name 1127*5113495bSYour Name <enum 2 decrypt_data_err > Frame has protection enabled 1128*5113495bSYour Name and could not be properly decrypted due to MIC/ICV mismatch 1129*5113495bSYour Name etc. 1130*5113495bSYour Name 1131*5113495bSYour Name <enum 3 decrypt_key_invalid > Frame has protection 1132*5113495bSYour Name enabled but the key that was required to decrypt this frame 1133*5113495bSYour Name was not valid 1134*5113495bSYour Name 1135*5113495bSYour Name <enum 4 decrypt_peer_entry_invalid > Frame has 1136*5113495bSYour Name protection enabled but the key that was required to decrypt 1137*5113495bSYour Name this frame was not valid 1138*5113495bSYour Name 1139*5113495bSYour Name <enum 5 decrypt_other > Reserved for other indications 1140*5113495bSYour Name 1141*5113495bSYour Name 1142*5113495bSYour Name 1143*5113495bSYour Name <legal 0 - 5> 1144*5113495bSYour Name */ 1145*5113495bSYour Name #define RX_ATTENTION_2_DECRYPT_STATUS_CODE_OFFSET 0x00000008 1146*5113495bSYour Name #define RX_ATTENTION_2_DECRYPT_STATUS_CODE_LSB 10 1147*5113495bSYour Name #define RX_ATTENTION_2_DECRYPT_STATUS_CODE_MASK 0x00001c00 1148*5113495bSYour Name 1149*5113495bSYour Name /* Description RX_ATTENTION_2_RX_BITMAP_NOT_UPDATED 1150*5113495bSYour Name 1151*5113495bSYour Name Frame is received, but RXPCU could not update the 1152*5113495bSYour Name receive bitmap due to (temporary) fifo contraints. 1153*5113495bSYour Name 1154*5113495bSYour Name <legal all> 1155*5113495bSYour Name */ 1156*5113495bSYour Name #define RX_ATTENTION_2_RX_BITMAP_NOT_UPDATED_OFFSET 0x00000008 1157*5113495bSYour Name #define RX_ATTENTION_2_RX_BITMAP_NOT_UPDATED_LSB 13 1158*5113495bSYour Name #define RX_ATTENTION_2_RX_BITMAP_NOT_UPDATED_MASK 0x00002000 1159*5113495bSYour Name 1160*5113495bSYour Name /* Description RX_ATTENTION_2_RESERVED_2 1161*5113495bSYour Name 1162*5113495bSYour Name <legal 0> 1163*5113495bSYour Name */ 1164*5113495bSYour Name #define RX_ATTENTION_2_RESERVED_2_OFFSET 0x00000008 1165*5113495bSYour Name #define RX_ATTENTION_2_RESERVED_2_LSB 14 1166*5113495bSYour Name #define RX_ATTENTION_2_RESERVED_2_MASK 0x7fffc000 1167*5113495bSYour Name 1168*5113495bSYour Name /* Description RX_ATTENTION_2_MSDU_DONE 1169*5113495bSYour Name 1170*5113495bSYour Name If set indicates that the RX packet data, RX header 1171*5113495bSYour Name data, RX PPDU start descriptor, RX MPDU start/end 1172*5113495bSYour Name descriptor, RX MSDU start/end descriptors and RX Attention 1173*5113495bSYour Name descriptor are all valid. This bit must be in the last 1174*5113495bSYour Name octet of the descriptor. 1175*5113495bSYour Name */ 1176*5113495bSYour Name #define RX_ATTENTION_2_MSDU_DONE_OFFSET 0x00000008 1177*5113495bSYour Name #define RX_ATTENTION_2_MSDU_DONE_LSB 31 1178*5113495bSYour Name #define RX_ATTENTION_2_MSDU_DONE_MASK 0x80000000 1179*5113495bSYour Name 1180*5113495bSYour Name 1181*5113495bSYour Name #endif // _RX_ATTENTION_H_ 1182