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