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