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