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