1*5113495bSYour Name /* 2*5113495bSYour Name * Copyright (c) 2023 Qualcomm Innovation Center, Inc. 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_MPDU_INFO_H_ 18*5113495bSYour Name #define _RX_MPDU_INFO_H_ 19*5113495bSYour Name #if !defined(__ASSEMBLER__) 20*5113495bSYour Name #endif 21*5113495bSYour Name 22*5113495bSYour Name #include "rxpt_classify_info.h" 23*5113495bSYour Name #define NUM_OF_DWORDS_RX_MPDU_INFO 30 24*5113495bSYour Name 25*5113495bSYour Name 26*5113495bSYour Name struct rx_mpdu_info { 27*5113495bSYour Name #ifndef WIFI_BIT_ORDER_BIG_ENDIAN 28*5113495bSYour Name struct rxpt_classify_info rxpt_classify_info_details; 29*5113495bSYour Name uint32_t rx_reo_queue_desc_addr_31_0 : 32; // [31:0] 30*5113495bSYour Name uint32_t rx_reo_queue_desc_addr_39_32 : 8, // [7:0] 31*5113495bSYour Name receive_queue_number : 16, // [23:8] 32*5113495bSYour Name pre_delim_err_warning : 1, // [24:24] 33*5113495bSYour Name first_delim_err : 1, // [25:25] 34*5113495bSYour Name reserved_2a : 6; // [31:26] 35*5113495bSYour Name uint32_t pn_31_0 : 32; // [31:0] 36*5113495bSYour Name uint32_t pn_63_32 : 32; // [31:0] 37*5113495bSYour Name uint32_t pn_95_64 : 32; // [31:0] 38*5113495bSYour Name uint32_t pn_127_96 : 32; // [31:0] 39*5113495bSYour Name uint32_t epd_en : 1, // [0:0] 40*5113495bSYour Name all_frames_shall_be_encrypted : 1, // [1:1] 41*5113495bSYour Name encrypt_type : 4, // [5:2] 42*5113495bSYour Name wep_key_width_for_variable_key : 2, // [7:6] 43*5113495bSYour Name mesh_sta : 2, // [9:8] 44*5113495bSYour Name bssid_hit : 1, // [10:10] 45*5113495bSYour Name bssid_number : 4, // [14:11] 46*5113495bSYour Name tid : 4, // [18:15] 47*5113495bSYour Name reserved_7a : 13; // [31:19] 48*5113495bSYour Name uint32_t peer_meta_data : 32; // [31:0] 49*5113495bSYour Name uint32_t rxpcu_mpdu_filter_in_category : 2, // [1:0] 50*5113495bSYour Name sw_frame_group_id : 7, // [8:2] 51*5113495bSYour Name ndp_frame : 1, // [9:9] 52*5113495bSYour Name phy_err : 1, // [10:10] 53*5113495bSYour Name phy_err_during_mpdu_header : 1, // [11:11] 54*5113495bSYour Name protocol_version_err : 1, // [12:12] 55*5113495bSYour Name ast_based_lookup_valid : 1, // [13:13] 56*5113495bSYour Name ranging : 1, // [14:14] 57*5113495bSYour Name reserved_9a : 1, // [15:15] 58*5113495bSYour Name phy_ppdu_id : 16; // [31:16] 59*5113495bSYour Name uint32_t ast_index : 16, // [15:0] 60*5113495bSYour Name sw_peer_id : 16; // [31:16] 61*5113495bSYour Name uint32_t mpdu_frame_control_valid : 1, // [0:0] 62*5113495bSYour Name mpdu_duration_valid : 1, // [1:1] 63*5113495bSYour Name mac_addr_ad1_valid : 1, // [2:2] 64*5113495bSYour Name mac_addr_ad2_valid : 1, // [3:3] 65*5113495bSYour Name mac_addr_ad3_valid : 1, // [4:4] 66*5113495bSYour Name mac_addr_ad4_valid : 1, // [5:5] 67*5113495bSYour Name mpdu_sequence_control_valid : 1, // [6:6] 68*5113495bSYour Name mpdu_qos_control_valid : 1, // [7:7] 69*5113495bSYour Name mpdu_ht_control_valid : 1, // [8:8] 70*5113495bSYour Name frame_encryption_info_valid : 1, // [9:9] 71*5113495bSYour Name mpdu_fragment_number : 4, // [13:10] 72*5113495bSYour Name more_fragment_flag : 1, // [14:14] 73*5113495bSYour Name reserved_11a : 1, // [15:15] 74*5113495bSYour Name fr_ds : 1, // [16:16] 75*5113495bSYour Name to_ds : 1, // [17:17] 76*5113495bSYour Name encrypted : 1, // [18:18] 77*5113495bSYour Name mpdu_retry : 1, // [19:19] 78*5113495bSYour Name mpdu_sequence_number : 12; // [31:20] 79*5113495bSYour Name uint32_t key_id_octet : 8, // [7:0] 80*5113495bSYour Name new_peer_entry : 1, // [8:8] 81*5113495bSYour Name decrypt_needed : 1, // [9:9] 82*5113495bSYour Name decap_type : 2, // [11:10] 83*5113495bSYour Name rx_insert_vlan_c_tag_padding : 1, // [12:12] 84*5113495bSYour Name rx_insert_vlan_s_tag_padding : 1, // [13:13] 85*5113495bSYour Name strip_vlan_c_tag_decap : 1, // [14:14] 86*5113495bSYour Name strip_vlan_s_tag_decap : 1, // [15:15] 87*5113495bSYour Name pre_delim_count : 12, // [27:16] 88*5113495bSYour Name ampdu_flag : 1, // [28:28] 89*5113495bSYour Name bar_frame : 1, // [29:29] 90*5113495bSYour Name raw_mpdu : 1, // [30:30] 91*5113495bSYour Name reserved_12 : 1; // [31:31] 92*5113495bSYour Name uint32_t mpdu_length : 14, // [13:0] 93*5113495bSYour Name first_mpdu : 1, // [14:14] 94*5113495bSYour Name mcast_bcast : 1, // [15:15] 95*5113495bSYour Name ast_index_not_found : 1, // [16:16] 96*5113495bSYour Name ast_index_timeout : 1, // [17:17] 97*5113495bSYour Name power_mgmt : 1, // [18:18] 98*5113495bSYour Name non_qos : 1, // [19:19] 99*5113495bSYour Name null_data : 1, // [20:20] 100*5113495bSYour Name mgmt_type : 1, // [21:21] 101*5113495bSYour Name ctrl_type : 1, // [22:22] 102*5113495bSYour Name more_data : 1, // [23:23] 103*5113495bSYour Name eosp : 1, // [24:24] 104*5113495bSYour Name fragment_flag : 1, // [25:25] 105*5113495bSYour Name order : 1, // [26:26] 106*5113495bSYour Name u_apsd_trigger : 1, // [27:27] 107*5113495bSYour Name encrypt_required : 1, // [28:28] 108*5113495bSYour Name directed : 1, // [29:29] 109*5113495bSYour Name amsdu_present : 1, // [30:30] 110*5113495bSYour Name reserved_13 : 1; // [31:31] 111*5113495bSYour Name uint32_t mpdu_frame_control_field : 16, // [15:0] 112*5113495bSYour Name mpdu_duration_field : 16; // [31:16] 113*5113495bSYour Name uint32_t mac_addr_ad1_31_0 : 32; // [31:0] 114*5113495bSYour Name uint32_t mac_addr_ad1_47_32 : 16, // [15:0] 115*5113495bSYour Name mac_addr_ad2_15_0 : 16; // [31:16] 116*5113495bSYour Name uint32_t mac_addr_ad2_47_16 : 32; // [31:0] 117*5113495bSYour Name uint32_t mac_addr_ad3_31_0 : 32; // [31:0] 118*5113495bSYour Name uint32_t mac_addr_ad3_47_32 : 16, // [15:0] 119*5113495bSYour Name mpdu_sequence_control_field : 16; // [31:16] 120*5113495bSYour Name uint32_t mac_addr_ad4_31_0 : 32; // [31:0] 121*5113495bSYour Name uint32_t mac_addr_ad4_47_32 : 16, // [15:0] 122*5113495bSYour Name mpdu_qos_control_field : 16; // [31:16] 123*5113495bSYour Name uint32_t mpdu_ht_control_field : 32; // [31:0] 124*5113495bSYour Name uint32_t vdev_id : 8, // [7:0] 125*5113495bSYour Name service_code : 9, // [16:8] 126*5113495bSYour Name priority_valid : 1, // [17:17] 127*5113495bSYour Name src_info : 12, // [29:18] 128*5113495bSYour Name reserved_23a : 1, // [30:30] 129*5113495bSYour Name multi_link_addr_ad1_ad2_valid : 1; // [31:31] 130*5113495bSYour Name uint32_t multi_link_addr_ad1_31_0 : 32; // [31:0] 131*5113495bSYour Name uint32_t multi_link_addr_ad1_47_32 : 16, // [15:0] 132*5113495bSYour Name multi_link_addr_ad2_15_0 : 16; // [31:16] 133*5113495bSYour Name uint32_t multi_link_addr_ad2_47_16 : 32; // [31:0] 134*5113495bSYour Name uint32_t authorized_to_send_wds : 1, // [0:0] 135*5113495bSYour Name reserved_27a : 31; // [31:1] 136*5113495bSYour Name uint32_t reserved_28a : 32; // [31:0] 137*5113495bSYour Name uint32_t reserved_29a : 32; // [31:0] 138*5113495bSYour Name #else 139*5113495bSYour Name struct rxpt_classify_info rxpt_classify_info_details; 140*5113495bSYour Name uint32_t rx_reo_queue_desc_addr_31_0 : 32; // [31:0] 141*5113495bSYour Name uint32_t reserved_2a : 6, // [31:26] 142*5113495bSYour Name first_delim_err : 1, // [25:25] 143*5113495bSYour Name pre_delim_err_warning : 1, // [24:24] 144*5113495bSYour Name receive_queue_number : 16, // [23:8] 145*5113495bSYour Name rx_reo_queue_desc_addr_39_32 : 8; // [7:0] 146*5113495bSYour Name uint32_t pn_31_0 : 32; // [31:0] 147*5113495bSYour Name uint32_t pn_63_32 : 32; // [31:0] 148*5113495bSYour Name uint32_t pn_95_64 : 32; // [31:0] 149*5113495bSYour Name uint32_t pn_127_96 : 32; // [31:0] 150*5113495bSYour Name uint32_t reserved_7a : 13, // [31:19] 151*5113495bSYour Name tid : 4, // [18:15] 152*5113495bSYour Name bssid_number : 4, // [14:11] 153*5113495bSYour Name bssid_hit : 1, // [10:10] 154*5113495bSYour Name mesh_sta : 2, // [9:8] 155*5113495bSYour Name wep_key_width_for_variable_key : 2, // [7:6] 156*5113495bSYour Name encrypt_type : 4, // [5:2] 157*5113495bSYour Name all_frames_shall_be_encrypted : 1, // [1:1] 158*5113495bSYour Name epd_en : 1; // [0:0] 159*5113495bSYour Name uint32_t peer_meta_data : 32; // [31:0] 160*5113495bSYour Name uint32_t phy_ppdu_id : 16, // [31:16] 161*5113495bSYour Name reserved_9a : 1, // [15:15] 162*5113495bSYour Name ranging : 1, // [14:14] 163*5113495bSYour Name ast_based_lookup_valid : 1, // [13:13] 164*5113495bSYour Name protocol_version_err : 1, // [12:12] 165*5113495bSYour Name phy_err_during_mpdu_header : 1, // [11:11] 166*5113495bSYour Name phy_err : 1, // [10:10] 167*5113495bSYour Name ndp_frame : 1, // [9:9] 168*5113495bSYour Name sw_frame_group_id : 7, // [8:2] 169*5113495bSYour Name rxpcu_mpdu_filter_in_category : 2; // [1:0] 170*5113495bSYour Name uint32_t sw_peer_id : 16, // [31:16] 171*5113495bSYour Name ast_index : 16; // [15:0] 172*5113495bSYour Name uint32_t mpdu_sequence_number : 12, // [31:20] 173*5113495bSYour Name mpdu_retry : 1, // [19:19] 174*5113495bSYour Name encrypted : 1, // [18:18] 175*5113495bSYour Name to_ds : 1, // [17:17] 176*5113495bSYour Name fr_ds : 1, // [16:16] 177*5113495bSYour Name reserved_11a : 1, // [15:15] 178*5113495bSYour Name more_fragment_flag : 1, // [14:14] 179*5113495bSYour Name mpdu_fragment_number : 4, // [13:10] 180*5113495bSYour Name frame_encryption_info_valid : 1, // [9:9] 181*5113495bSYour Name mpdu_ht_control_valid : 1, // [8:8] 182*5113495bSYour Name mpdu_qos_control_valid : 1, // [7:7] 183*5113495bSYour Name mpdu_sequence_control_valid : 1, // [6:6] 184*5113495bSYour Name mac_addr_ad4_valid : 1, // [5:5] 185*5113495bSYour Name mac_addr_ad3_valid : 1, // [4:4] 186*5113495bSYour Name mac_addr_ad2_valid : 1, // [3:3] 187*5113495bSYour Name mac_addr_ad1_valid : 1, // [2:2] 188*5113495bSYour Name mpdu_duration_valid : 1, // [1:1] 189*5113495bSYour Name mpdu_frame_control_valid : 1; // [0:0] 190*5113495bSYour Name uint32_t reserved_12 : 1, // [31:31] 191*5113495bSYour Name raw_mpdu : 1, // [30:30] 192*5113495bSYour Name bar_frame : 1, // [29:29] 193*5113495bSYour Name ampdu_flag : 1, // [28:28] 194*5113495bSYour Name pre_delim_count : 12, // [27:16] 195*5113495bSYour Name strip_vlan_s_tag_decap : 1, // [15:15] 196*5113495bSYour Name strip_vlan_c_tag_decap : 1, // [14:14] 197*5113495bSYour Name rx_insert_vlan_s_tag_padding : 1, // [13:13] 198*5113495bSYour Name rx_insert_vlan_c_tag_padding : 1, // [12:12] 199*5113495bSYour Name decap_type : 2, // [11:10] 200*5113495bSYour Name decrypt_needed : 1, // [9:9] 201*5113495bSYour Name new_peer_entry : 1, // [8:8] 202*5113495bSYour Name key_id_octet : 8; // [7:0] 203*5113495bSYour Name uint32_t reserved_13 : 1, // [31:31] 204*5113495bSYour Name amsdu_present : 1, // [30:30] 205*5113495bSYour Name directed : 1, // [29:29] 206*5113495bSYour Name encrypt_required : 1, // [28:28] 207*5113495bSYour Name u_apsd_trigger : 1, // [27:27] 208*5113495bSYour Name order : 1, // [26:26] 209*5113495bSYour Name fragment_flag : 1, // [25:25] 210*5113495bSYour Name eosp : 1, // [24:24] 211*5113495bSYour Name more_data : 1, // [23:23] 212*5113495bSYour Name ctrl_type : 1, // [22:22] 213*5113495bSYour Name mgmt_type : 1, // [21:21] 214*5113495bSYour Name null_data : 1, // [20:20] 215*5113495bSYour Name non_qos : 1, // [19:19] 216*5113495bSYour Name power_mgmt : 1, // [18:18] 217*5113495bSYour Name ast_index_timeout : 1, // [17:17] 218*5113495bSYour Name ast_index_not_found : 1, // [16:16] 219*5113495bSYour Name mcast_bcast : 1, // [15:15] 220*5113495bSYour Name first_mpdu : 1, // [14:14] 221*5113495bSYour Name mpdu_length : 14; // [13:0] 222*5113495bSYour Name uint32_t mpdu_duration_field : 16, // [31:16] 223*5113495bSYour Name mpdu_frame_control_field : 16; // [15:0] 224*5113495bSYour Name uint32_t mac_addr_ad1_31_0 : 32; // [31:0] 225*5113495bSYour Name uint32_t mac_addr_ad2_15_0 : 16, // [31:16] 226*5113495bSYour Name mac_addr_ad1_47_32 : 16; // [15:0] 227*5113495bSYour Name uint32_t mac_addr_ad2_47_16 : 32; // [31:0] 228*5113495bSYour Name uint32_t mac_addr_ad3_31_0 : 32; // [31:0] 229*5113495bSYour Name uint32_t mpdu_sequence_control_field : 16, // [31:16] 230*5113495bSYour Name mac_addr_ad3_47_32 : 16; // [15:0] 231*5113495bSYour Name uint32_t mac_addr_ad4_31_0 : 32; // [31:0] 232*5113495bSYour Name uint32_t mpdu_qos_control_field : 16, // [31:16] 233*5113495bSYour Name mac_addr_ad4_47_32 : 16; // [15:0] 234*5113495bSYour Name uint32_t mpdu_ht_control_field : 32; // [31:0] 235*5113495bSYour Name uint32_t multi_link_addr_ad1_ad2_valid : 1, // [31:31] 236*5113495bSYour Name reserved_23a : 1, // [30:30] 237*5113495bSYour Name src_info : 12, // [29:18] 238*5113495bSYour Name priority_valid : 1, // [17:17] 239*5113495bSYour Name service_code : 9, // [16:8] 240*5113495bSYour Name vdev_id : 8; // [7:0] 241*5113495bSYour Name uint32_t multi_link_addr_ad1_31_0 : 32; // [31:0] 242*5113495bSYour Name uint32_t multi_link_addr_ad2_15_0 : 16, // [31:16] 243*5113495bSYour Name multi_link_addr_ad1_47_32 : 16; // [15:0] 244*5113495bSYour Name uint32_t multi_link_addr_ad2_47_16 : 32; // [31:0] 245*5113495bSYour Name uint32_t reserved_27a : 31, // [31:1] 246*5113495bSYour Name authorized_to_send_wds : 1; // [0:0] 247*5113495bSYour Name uint32_t reserved_28a : 32; // [31:0] 248*5113495bSYour Name uint32_t reserved_29a : 32; // [31:0] 249*5113495bSYour Name #endif 250*5113495bSYour Name }; 251*5113495bSYour Name 252*5113495bSYour Name 253*5113495bSYour Name /* Description RXPT_CLASSIFY_INFO_DETAILS 254*5113495bSYour Name 255*5113495bSYour Name In case of ndp or phy_err or AST_based_lookup_valid == 0, 256*5113495bSYour Name this field will be set to 0 257*5113495bSYour Name 258*5113495bSYour Name RXOLE related classification info 259*5113495bSYour Name <legal all 260*5113495bSYour Name */ 261*5113495bSYour Name 262*5113495bSYour Name 263*5113495bSYour Name /* Description REO_DESTINATION_INDICATION 264*5113495bSYour Name 265*5113495bSYour Name The ID of the REO exit ring where the MSDU frame shall push 266*5113495bSYour Name after (MPDU level) reordering has finished. 267*5113495bSYour Name 268*5113495bSYour Name <enum 0 reo_destination_sw0> Reo will push the frame into 269*5113495bSYour Name the REO2SW0 ring 270*5113495bSYour Name <enum 1 reo_destination_sw1> Reo will push the frame into 271*5113495bSYour Name the REO2SW1 ring 272*5113495bSYour Name <enum 2 reo_destination_sw2> Reo will push the frame into 273*5113495bSYour Name the REO2SW2 ring 274*5113495bSYour Name <enum 3 reo_destination_sw3> Reo will push the frame into 275*5113495bSYour Name the REO2SW3 ring 276*5113495bSYour Name <enum 4 reo_destination_sw4> Reo will push the frame into 277*5113495bSYour Name the REO2SW4 ring 278*5113495bSYour Name <enum 5 reo_destination_release> Reo will push the frame 279*5113495bSYour Name into the REO_release ring 280*5113495bSYour Name <enum 6 reo_destination_fw> Reo will push the frame into 281*5113495bSYour Name the REO2FW ring 282*5113495bSYour Name <enum 7 reo_destination_sw5> Reo will push the frame into 283*5113495bSYour Name the REO2SW5 ring (REO remaps this in chips without REO2SW5 284*5113495bSYour Name ring) 285*5113495bSYour Name <enum 8 reo_destination_sw6> Reo will push the frame into 286*5113495bSYour Name the REO2SW6 ring (REO remaps this in chips without REO2SW6 287*5113495bSYour Name ring) 288*5113495bSYour Name <enum 9 reo_destination_sw7> Reo will push the frame into 289*5113495bSYour Name the REO2SW7 ring (REO remaps this in chips without REO2SW7 290*5113495bSYour Name ring) 291*5113495bSYour Name <enum 10 reo_destination_sw8> Reo will push the frame into 292*5113495bSYour Name the REO2SW8 ring (REO remaps this in chips without REO2SW8 293*5113495bSYour Name ring) 294*5113495bSYour Name <enum 11 reo_destination_11> REO remaps this 295*5113495bSYour Name <enum 12 reo_destination_12> REO remaps this <enum 13 reo_destination_13> 296*5113495bSYour Name REO remaps this 297*5113495bSYour Name <enum 14 reo_destination_14> REO remaps this 298*5113495bSYour Name <enum 15 reo_destination_15> REO remaps this 299*5113495bSYour Name <enum 16 reo_destination_16> REO remaps this 300*5113495bSYour Name <enum 17 reo_destination_17> REO remaps this 301*5113495bSYour Name <enum 18 reo_destination_18> REO remaps this 302*5113495bSYour Name <enum 19 reo_destination_19> REO remaps this 303*5113495bSYour Name <enum 20 reo_destination_20> REO remaps this 304*5113495bSYour Name <enum 21 reo_destination_21> REO remaps this 305*5113495bSYour Name <enum 22 reo_destination_22> REO remaps this 306*5113495bSYour Name <enum 23 reo_destination_23> REO remaps this 307*5113495bSYour Name <enum 24 reo_destination_24> REO remaps this 308*5113495bSYour Name <enum 25 reo_destination_25> REO remaps this 309*5113495bSYour Name <enum 26 reo_destination_26> REO remaps this 310*5113495bSYour Name <enum 27 reo_destination_27> REO remaps this 311*5113495bSYour Name <enum 28 reo_destination_28> REO remaps this 312*5113495bSYour Name <enum 29 reo_destination_29> REO remaps this 313*5113495bSYour Name <enum 30 reo_destination_30> REO remaps this 314*5113495bSYour Name <enum 31 reo_destination_31> REO remaps this 315*5113495bSYour Name 316*5113495bSYour Name <legal all> 317*5113495bSYour Name */ 318*5113495bSYour Name 319*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_REO_DESTINATION_INDICATION_OFFSET 0x00000000 320*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_REO_DESTINATION_INDICATION_LSB 0 321*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_REO_DESTINATION_INDICATION_MSB 4 322*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_REO_DESTINATION_INDICATION_MASK 0x0000001f 323*5113495bSYour Name 324*5113495bSYour Name 325*5113495bSYour Name /* Description LMAC_PEER_ID_MSB 326*5113495bSYour Name 327*5113495bSYour Name If use_flow_id_toeplitz_clfy is set and lmac_peer_id_'sb 328*5113495bSYour Name is 2'b00, Rx OLE uses a REO desination indicati'n of {1'b1, 329*5113495bSYour Name hash[3:0]} using the chosen Toeplitz hash from Common Parser 330*5113495bSYour Name if flow search fails. 331*5113495bSYour Name If use_flow_id_toeplitz_clfy is set and lmac_peer_id_msb 332*5113495bSYour Name 's not 2'b00, Rx OLE uses a REO desination indication of 333*5113495bSYour Name {lmac_peer_id_msb, hash[2:0]} using the chosen Toeplitz 334*5113495bSYour Name hash from Common Parser if flow search fails. 335*5113495bSYour Name <legal all> 336*5113495bSYour Name */ 337*5113495bSYour Name 338*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_LMAC_PEER_ID_MSB_OFFSET 0x00000000 339*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_LMAC_PEER_ID_MSB_LSB 5 340*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_LMAC_PEER_ID_MSB_MSB 6 341*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_LMAC_PEER_ID_MSB_MASK 0x00000060 342*5113495bSYour Name 343*5113495bSYour Name 344*5113495bSYour Name /* Description USE_FLOW_ID_TOEPLITZ_CLFY 345*5113495bSYour Name 346*5113495bSYour Name Indication to Rx OLE to enable REO destination routing based 347*5113495bSYour Name on the chosen Toeplitz hash from Common Parser, in case 348*5113495bSYour Name flow search fails 349*5113495bSYour Name <legal all> 350*5113495bSYour Name */ 351*5113495bSYour Name 352*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_USE_FLOW_ID_TOEPLITZ_CLFY_OFFSET 0x00000000 353*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_USE_FLOW_ID_TOEPLITZ_CLFY_LSB 7 354*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_USE_FLOW_ID_TOEPLITZ_CLFY_MSB 7 355*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_USE_FLOW_ID_TOEPLITZ_CLFY_MASK 0x00000080 356*5113495bSYour Name 357*5113495bSYour Name 358*5113495bSYour Name /* Description PKT_SELECTION_FP_UCAST_DATA 359*5113495bSYour Name 360*5113495bSYour Name Filter pass Unicast data frame (matching rxpcu_filter_pass 361*5113495bSYour Name and sw_frame_group_Unicast_data) routing selection 362*5113495bSYour Name TODO: What about 'rxpcu_filter_pass_monior_ovrd'? 363*5113495bSYour Name 364*5113495bSYour Name 1'b0: source and destination rings are selected from the 365*5113495bSYour Name RxOLE register settings for the packet type 366*5113495bSYour Name 367*5113495bSYour Name 1'b1: source ring and destination ring is selected from 368*5113495bSYour Name the rxdma0_source_ring_selection and rxdma0_destination_ring_selection 369*5113495bSYour Name fields in this STRUCT 370*5113495bSYour Name <legal all> 371*5113495bSYour Name */ 372*5113495bSYour Name 373*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_UCAST_DATA_OFFSET 0x00000000 374*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_UCAST_DATA_LSB 8 375*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_UCAST_DATA_MSB 8 376*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_UCAST_DATA_MASK 0x00000100 377*5113495bSYour Name 378*5113495bSYour Name 379*5113495bSYour Name /* Description PKT_SELECTION_FP_MCAST_DATA 380*5113495bSYour Name 381*5113495bSYour Name Filter pass Multicast data frame (matching rxpcu_filter_pass 382*5113495bSYour Name and sw_frame_group_Multicast_data) routing selection 383*5113495bSYour Name TODO: What about 'rxpcu_filter_pass_monior_ovrd'? 384*5113495bSYour Name 385*5113495bSYour Name 1'b0: source and destination rings are selected from the 386*5113495bSYour Name RxOLE register settings for the packet type 387*5113495bSYour Name 388*5113495bSYour Name 1'b1: source ring and destination ring is selected from 389*5113495bSYour Name the rxdma0_source_ring_selection and rxdma0_destination_ring_selection 390*5113495bSYour Name fields in this STRUCT 391*5113495bSYour Name <legal all> 392*5113495bSYour Name */ 393*5113495bSYour Name 394*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_MCAST_DATA_OFFSET 0x00000000 395*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_MCAST_DATA_LSB 9 396*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_MCAST_DATA_MSB 9 397*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_MCAST_DATA_MASK 0x00000200 398*5113495bSYour Name 399*5113495bSYour Name 400*5113495bSYour Name /* Description PKT_SELECTION_FP_1000 401*5113495bSYour Name 402*5113495bSYour Name Filter pass BAR frame (matching rxpcu_filter_pass and sw_frame_group_ctrl_1000) 403*5113495bSYour Name routing selection 404*5113495bSYour Name TODO: What about 'rxpcu_filter_pass_monior_ovrd'? 405*5113495bSYour Name 406*5113495bSYour Name 1'b0: source and destination rings are selected from the 407*5113495bSYour Name RxOLE register settings for the packet type 408*5113495bSYour Name 409*5113495bSYour Name 1'b1: source ring and destination ring is selected from 410*5113495bSYour Name the rxdma0_source_ring_selection and rxdma0_destination_ring_selection 411*5113495bSYour Name fields in this STRUCT 412*5113495bSYour Name <legal all> 413*5113495bSYour Name */ 414*5113495bSYour Name 415*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_1000_OFFSET 0x00000000 416*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_1000_LSB 10 417*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_1000_MSB 10 418*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_PKT_SELECTION_FP_1000_MASK 0x00000400 419*5113495bSYour Name 420*5113495bSYour Name 421*5113495bSYour Name /* Description RXDMA0_SOURCE_RING_SELECTION 422*5113495bSYour Name 423*5113495bSYour Name Field only valid when for the received frame type the corresponding 424*5113495bSYour Name pkt_selection_fp_... bit is set 425*5113495bSYour Name 426*5113495bSYour Name <enum 0 sw2rxdma0_0_buf_source_ring> The data buffer for 427*5113495bSYour Name this frame shall be sourced by sw2rxdma0 buffer source 428*5113495bSYour Name ring. 429*5113495bSYour Name <enum 1 fw2rxdma0_pmac0_buf_source_ring> The data buffer 430*5113495bSYour Name for this frame shall be sourced by fw2rxdma buffer source 431*5113495bSYour Name ring for PMAC0. 432*5113495bSYour Name <enum 2 sw2rxdma0_1_buf_source_ring> The data buffer for 433*5113495bSYour Name this frame shall be sourced by sw2rxdma1 buffer source 434*5113495bSYour Name ring. 435*5113495bSYour Name <enum 3 no_buffer_rxdma0_ring> The frame shall not be written 436*5113495bSYour Name to any data buffer. 437*5113495bSYour Name <enum 4 sw2rxdma0_exception_buf_source_ring> The data buffer 438*5113495bSYour Name for this frame shall be sourced by sw2rxdma_exception buffer 439*5113495bSYour Name source ring. 440*5113495bSYour Name <enum 5 fw2rxdma0_pmac1_buf_source_ring> The data buffer 441*5113495bSYour Name for this frame shall be sourced by fw2rxdma buffer source 442*5113495bSYour Name ring for PMAC1. 443*5113495bSYour Name 444*5113495bSYour Name <legal 0-5> 445*5113495bSYour Name */ 446*5113495bSYour Name 447*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_RXDMA0_SOURCE_RING_SELECTION_OFFSET 0x00000000 448*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_RXDMA0_SOURCE_RING_SELECTION_LSB 11 449*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_RXDMA0_SOURCE_RING_SELECTION_MSB 13 450*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_RXDMA0_SOURCE_RING_SELECTION_MASK 0x00003800 451*5113495bSYour Name 452*5113495bSYour Name 453*5113495bSYour Name /* Description RXDMA0_DESTINATION_RING_SELECTION 454*5113495bSYour Name 455*5113495bSYour Name Field only valid when for the received frame type the corresponding 456*5113495bSYour Name pkt_selection_fp_... bit is set 457*5113495bSYour Name 458*5113495bSYour Name <enum 0 rxdma_release_ring> RXDMA0 shall push the frame 459*5113495bSYour Name to the Release ring. Effectively this means the frame needs 460*5113495bSYour Name to be dropped. 461*5113495bSYour Name <enum 1 rxdma2fw_pmac0_ring> RXDMA0 shall push the frame 462*5113495bSYour Name to the FW ring for PMAC0. 463*5113495bSYour Name <enum 2 rxdma2sw_ring> RXDMA0 shall push the frame to the 464*5113495bSYour Name SW ring. 465*5113495bSYour Name <enum 3 rxdma2reo_ring> RXDMA0 shall push the frame to 466*5113495bSYour Name the REO entrance ring. 467*5113495bSYour Name <enum 4 rxdma2fw_pmac1_ring> RXDMA0 shall push the frame 468*5113495bSYour Name to the FW ring for PMAC1. 469*5113495bSYour Name <enum 5 rxdma2reo_remote0_ring> RXDMA0 shall push the frame 470*5113495bSYour Name to the first MLO REO entrance ring. 471*5113495bSYour Name <enum 6 rxdma2reo_remote1_ring> RXDMA0 shall push the frame 472*5113495bSYour Name to the second MLO REO entrance ring. 473*5113495bSYour Name 474*5113495bSYour Name <legal 0-6> 475*5113495bSYour Name */ 476*5113495bSYour Name 477*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_RXDMA0_DESTINATION_RING_SELECTION_OFFSET 0x00000000 478*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_RXDMA0_DESTINATION_RING_SELECTION_LSB 14 479*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_RXDMA0_DESTINATION_RING_SELECTION_MSB 16 480*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_RXDMA0_DESTINATION_RING_SELECTION_MASK 0x0001c000 481*5113495bSYour Name 482*5113495bSYour Name 483*5113495bSYour Name /* Description MCAST_ECHO_DROP_ENABLE 484*5113495bSYour Name 485*5113495bSYour Name If set, for multicast packets, multicast echo check (i.e. 486*5113495bSYour Name SA search with mcast_echo_check = 1) shall be performed 487*5113495bSYour Name by RXOLE, and any multicast echo packets should be indicated 488*5113495bSYour Name to RXDMA for release to WBM 489*5113495bSYour Name 490*5113495bSYour Name <legal all> 491*5113495bSYour Name */ 492*5113495bSYour Name 493*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_MCAST_ECHO_DROP_ENABLE_OFFSET 0x00000000 494*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_MCAST_ECHO_DROP_ENABLE_LSB 17 495*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_MCAST_ECHO_DROP_ENABLE_MSB 17 496*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_MCAST_ECHO_DROP_ENABLE_MASK 0x00020000 497*5113495bSYour Name 498*5113495bSYour Name 499*5113495bSYour Name /* Description WDS_LEARNING_DETECT_EN 500*5113495bSYour Name 501*5113495bSYour Name If set, WDS learning detection based on SA search and notification 502*5113495bSYour Name to FW (using RXDMA0 status ring) is enabled and the "timestamp" 503*5113495bSYour Name field in address search failure cache-only entry should 504*5113495bSYour Name be used to avoid multiple WDS learning notifications. 505*5113495bSYour Name 506*5113495bSYour Name <legal all> 507*5113495bSYour Name */ 508*5113495bSYour Name 509*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_WDS_LEARNING_DETECT_EN_OFFSET 0x00000000 510*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_WDS_LEARNING_DETECT_EN_LSB 18 511*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_WDS_LEARNING_DETECT_EN_MSB 18 512*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_WDS_LEARNING_DETECT_EN_MASK 0x00040000 513*5113495bSYour Name 514*5113495bSYour Name 515*5113495bSYour Name /* Description INTRABSS_CHECK_EN 516*5113495bSYour Name 517*5113495bSYour Name If set, intra-BSS routing detection is enabled 518*5113495bSYour Name 519*5113495bSYour Name <legal all> 520*5113495bSYour Name */ 521*5113495bSYour Name 522*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_INTRABSS_CHECK_EN_OFFSET 0x00000000 523*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_INTRABSS_CHECK_EN_LSB 19 524*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_INTRABSS_CHECK_EN_MSB 19 525*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_INTRABSS_CHECK_EN_MASK 0x00080000 526*5113495bSYour Name 527*5113495bSYour Name 528*5113495bSYour Name /* Description USE_PPE 529*5113495bSYour Name 530*5113495bSYour Name Indicates to RXDMA to ignore the REO_destination_indication 531*5113495bSYour Name and use a programmed value corresponding to the REO2PPE 532*5113495bSYour Name ring 533*5113495bSYour Name 534*5113495bSYour Name This override to REO2PPE for packets requiring multiple 535*5113495bSYour Name buffers shall be disabled based on an RXDMA configuration, 536*5113495bSYour Name as PPE may not support such packets. 537*5113495bSYour Name 538*5113495bSYour Name <legal all> 539*5113495bSYour Name */ 540*5113495bSYour Name 541*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_USE_PPE_OFFSET 0x00000000 542*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_USE_PPE_LSB 20 543*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_USE_PPE_MSB 20 544*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_USE_PPE_MASK 0x00100000 545*5113495bSYour Name 546*5113495bSYour Name 547*5113495bSYour Name /* Description PPE_ROUTING_ENABLE 548*5113495bSYour Name 549*5113495bSYour Name Global enable/disable bit for routing to PPE, used to disable 550*5113495bSYour Name PPE routing even if RXOLE CCE or flow search indicate 'Use_PPE' 551*5113495bSYour Name 552*5113495bSYour Name 553*5113495bSYour Name This is set by SW for peers which are being handled by a 554*5113495bSYour Name host SW/accelerator subsystem that also handles packet 555*5113495bSYour Name buffer management for WiFi-to-PPE routing. 556*5113495bSYour Name 557*5113495bSYour Name This is cleared by SW for peers which are being handled 558*5113495bSYour Name by a different subsystem, completely disabling WiFi-to-PPE 559*5113495bSYour Name routing for such peers. 560*5113495bSYour Name 561*5113495bSYour Name <legal all> 562*5113495bSYour Name */ 563*5113495bSYour Name 564*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_PPE_ROUTING_ENABLE_OFFSET 0x00000000 565*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_PPE_ROUTING_ENABLE_LSB 21 566*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_PPE_ROUTING_ENABLE_MSB 21 567*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_PPE_ROUTING_ENABLE_MASK 0x00200000 568*5113495bSYour Name 569*5113495bSYour Name 570*5113495bSYour Name /* Description RESERVED_0B 571*5113495bSYour Name 572*5113495bSYour Name <legal 0> 573*5113495bSYour Name */ 574*5113495bSYour Name 575*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_RESERVED_0B_OFFSET 0x00000000 576*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_RESERVED_0B_LSB 22 577*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_RESERVED_0B_MSB 31 578*5113495bSYour Name #define RX_MPDU_INFO_RXPT_CLASSIFY_INFO_DETAILS_RESERVED_0B_MASK 0xffc00000 579*5113495bSYour Name 580*5113495bSYour Name 581*5113495bSYour Name /* Description RX_REO_QUEUE_DESC_ADDR_31_0 582*5113495bSYour Name 583*5113495bSYour Name In case of ndp or phy_err or AST_based_lookup_valid == 0, 584*5113495bSYour Name this field will be set to 0 585*5113495bSYour Name 586*5113495bSYour Name Address (lower 32 bits) of the REO queue descriptor. 587*5113495bSYour Name 588*5113495bSYour Name If no Peer entry lookup happened for this frame, the value 589*5113495bSYour Name wil be set to 0, and the frame shall never be pushed to 590*5113495bSYour Name REO entrance ring. 591*5113495bSYour Name <legal all> 592*5113495bSYour Name */ 593*5113495bSYour Name 594*5113495bSYour Name #define RX_MPDU_INFO_RX_REO_QUEUE_DESC_ADDR_31_0_OFFSET 0x00000004 595*5113495bSYour Name #define RX_MPDU_INFO_RX_REO_QUEUE_DESC_ADDR_31_0_LSB 0 596*5113495bSYour Name #define RX_MPDU_INFO_RX_REO_QUEUE_DESC_ADDR_31_0_MSB 31 597*5113495bSYour Name #define RX_MPDU_INFO_RX_REO_QUEUE_DESC_ADDR_31_0_MASK 0xffffffff 598*5113495bSYour Name 599*5113495bSYour Name 600*5113495bSYour Name /* Description RX_REO_QUEUE_DESC_ADDR_39_32 601*5113495bSYour Name 602*5113495bSYour Name In case of ndp or phy_err or AST_based_lookup_valid == 0, 603*5113495bSYour Name this field will be set to 0 604*5113495bSYour Name 605*5113495bSYour Name Address (upper 8 bits) of the REO queue descriptor. 606*5113495bSYour Name 607*5113495bSYour Name If no Peer entry lookup happened for this frame, the value 608*5113495bSYour Name wil be set to 0, and the frame shall never be pushed to 609*5113495bSYour Name REO entrance ring. 610*5113495bSYour Name <legal all> 611*5113495bSYour Name */ 612*5113495bSYour Name 613*5113495bSYour Name #define RX_MPDU_INFO_RX_REO_QUEUE_DESC_ADDR_39_32_OFFSET 0x00000008 614*5113495bSYour Name #define RX_MPDU_INFO_RX_REO_QUEUE_DESC_ADDR_39_32_LSB 0 615*5113495bSYour Name #define RX_MPDU_INFO_RX_REO_QUEUE_DESC_ADDR_39_32_MSB 7 616*5113495bSYour Name #define RX_MPDU_INFO_RX_REO_QUEUE_DESC_ADDR_39_32_MASK 0x000000ff 617*5113495bSYour Name 618*5113495bSYour Name 619*5113495bSYour Name /* Description RECEIVE_QUEUE_NUMBER 620*5113495bSYour Name 621*5113495bSYour Name In case of ndp or phy_err or AST_based_lookup_valid == 0, 622*5113495bSYour Name this field will be set to 0 623*5113495bSYour Name 624*5113495bSYour Name Indicates the MPDU queue ID to which this MPDU link descriptor 625*5113495bSYour Name belongs 626*5113495bSYour Name Used for tracking and debugging 627*5113495bSYour Name <legal all> 628*5113495bSYour Name */ 629*5113495bSYour Name 630*5113495bSYour Name #define RX_MPDU_INFO_RECEIVE_QUEUE_NUMBER_OFFSET 0x00000008 631*5113495bSYour Name #define RX_MPDU_INFO_RECEIVE_QUEUE_NUMBER_LSB 8 632*5113495bSYour Name #define RX_MPDU_INFO_RECEIVE_QUEUE_NUMBER_MSB 23 633*5113495bSYour Name #define RX_MPDU_INFO_RECEIVE_QUEUE_NUMBER_MASK 0x00ffff00 634*5113495bSYour Name 635*5113495bSYour Name 636*5113495bSYour Name /* Description PRE_DELIM_ERR_WARNING 637*5113495bSYour Name 638*5113495bSYour Name Indicates that a delimiter FCS error was found in between 639*5113495bSYour Name the Previous MPDU and this MPDU. 640*5113495bSYour Name 641*5113495bSYour Name Note that this is just a warning, and does not mean that 642*5113495bSYour Name this MPDU is corrupted in any way. If it is, there will 643*5113495bSYour Name be other errors indicated such as FCS or decrypt errors 644*5113495bSYour Name 645*5113495bSYour Name 646*5113495bSYour Name In case of ndp or phy_err, this field will indicate at least 647*5113495bSYour Name one of delimiters located after the last MPDU in the previous 648*5113495bSYour Name PPDU has been corrupted. 649*5113495bSYour Name */ 650*5113495bSYour Name 651*5113495bSYour Name #define RX_MPDU_INFO_PRE_DELIM_ERR_WARNING_OFFSET 0x00000008 652*5113495bSYour Name #define RX_MPDU_INFO_PRE_DELIM_ERR_WARNING_LSB 24 653*5113495bSYour Name #define RX_MPDU_INFO_PRE_DELIM_ERR_WARNING_MSB 24 654*5113495bSYour Name #define RX_MPDU_INFO_PRE_DELIM_ERR_WARNING_MASK 0x01000000 655*5113495bSYour Name 656*5113495bSYour Name 657*5113495bSYour Name /* Description FIRST_DELIM_ERR 658*5113495bSYour Name 659*5113495bSYour Name Indicates that the first delimiter had a FCS failure. Only 660*5113495bSYour Name valid when first_mpdu and first_msdu are set. 661*5113495bSYour Name 662*5113495bSYour Name In case of ndp or phy_err, this field will never be set. 663*5113495bSYour Name 664*5113495bSYour Name */ 665*5113495bSYour Name 666*5113495bSYour Name #define RX_MPDU_INFO_FIRST_DELIM_ERR_OFFSET 0x00000008 667*5113495bSYour Name #define RX_MPDU_INFO_FIRST_DELIM_ERR_LSB 25 668*5113495bSYour Name #define RX_MPDU_INFO_FIRST_DELIM_ERR_MSB 25 669*5113495bSYour Name #define RX_MPDU_INFO_FIRST_DELIM_ERR_MASK 0x02000000 670*5113495bSYour Name 671*5113495bSYour Name 672*5113495bSYour Name /* Description RESERVED_2A 673*5113495bSYour Name 674*5113495bSYour Name <legal 0> 675*5113495bSYour Name */ 676*5113495bSYour Name 677*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_2A_OFFSET 0x00000008 678*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_2A_LSB 26 679*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_2A_MSB 31 680*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_2A_MASK 0xfc000000 681*5113495bSYour Name 682*5113495bSYour Name 683*5113495bSYour Name /* Description PN_31_0 684*5113495bSYour Name 685*5113495bSYour Name Field only valid when Frame_encryption_info_valid is set 686*5113495bSYour Name 687*5113495bSYour Name 688*5113495bSYour Name Bits [31:0] of the PN number extracted from the IV field 689*5113495bSYour Name 690*5113495bSYour Name WEP: IV = {key_id_octet, pn2, pn1, pn0}. Only pn[23:0] 691*5113495bSYour Name is valid. 692*5113495bSYour Name TKIP: IV = {pn5, pn4, pn3, pn2, key_id_octet, pn0, WEPSeed[1], 693*5113495bSYour Name pn1}. Only pn[47:0] is valid. 694*5113495bSYour Name AES-CCM: IV = {pn5, pn4, pn3, pn2, key_id_octet, 0x0, pn1, 695*5113495bSYour Name pn0}. Only pn[47:0] is valid. 696*5113495bSYour Name WAPI: IV = {key_id_octet, 0x0, pn15, pn14, pn13, pn12, pn11, 697*5113495bSYour Name pn10, pn9, pn8, pn7, pn6, pn5, pn4, pn3, pn2, pn1, pn0}. 698*5113495bSYour Name pn[127:0] are valid. 699*5113495bSYour Name 700*5113495bSYour Name In case of ndp or phy_err, this field will never be set. 701*5113495bSYour Name 702*5113495bSYour Name */ 703*5113495bSYour Name 704*5113495bSYour Name #define RX_MPDU_INFO_PN_31_0_OFFSET 0x0000000c 705*5113495bSYour Name #define RX_MPDU_INFO_PN_31_0_LSB 0 706*5113495bSYour Name #define RX_MPDU_INFO_PN_31_0_MSB 31 707*5113495bSYour Name #define RX_MPDU_INFO_PN_31_0_MASK 0xffffffff 708*5113495bSYour Name 709*5113495bSYour Name 710*5113495bSYour Name /* Description PN_63_32 711*5113495bSYour Name 712*5113495bSYour Name Field only valid when Frame_encryption_info_valid is set 713*5113495bSYour Name 714*5113495bSYour Name 715*5113495bSYour Name Bits [63:32] of the PN number. See description for pn_31_0. 716*5113495bSYour Name 717*5113495bSYour Name 718*5113495bSYour Name In case of ndp or phy_err, this field will never be set. 719*5113495bSYour Name 720*5113495bSYour Name */ 721*5113495bSYour Name 722*5113495bSYour Name #define RX_MPDU_INFO_PN_63_32_OFFSET 0x00000010 723*5113495bSYour Name #define RX_MPDU_INFO_PN_63_32_LSB 0 724*5113495bSYour Name #define RX_MPDU_INFO_PN_63_32_MSB 31 725*5113495bSYour Name #define RX_MPDU_INFO_PN_63_32_MASK 0xffffffff 726*5113495bSYour Name 727*5113495bSYour Name 728*5113495bSYour Name /* Description PN_95_64 729*5113495bSYour Name 730*5113495bSYour Name Field only valid when Frame_encryption_info_valid is set 731*5113495bSYour Name 732*5113495bSYour Name 733*5113495bSYour Name Bits [95:64] of the PN number. See description for pn_31_0. 734*5113495bSYour Name 735*5113495bSYour Name 736*5113495bSYour Name In case of ndp or phy_err, this field will never be set. 737*5113495bSYour Name 738*5113495bSYour Name */ 739*5113495bSYour Name 740*5113495bSYour Name #define RX_MPDU_INFO_PN_95_64_OFFSET 0x00000014 741*5113495bSYour Name #define RX_MPDU_INFO_PN_95_64_LSB 0 742*5113495bSYour Name #define RX_MPDU_INFO_PN_95_64_MSB 31 743*5113495bSYour Name #define RX_MPDU_INFO_PN_95_64_MASK 0xffffffff 744*5113495bSYour Name 745*5113495bSYour Name 746*5113495bSYour Name /* Description PN_127_96 747*5113495bSYour Name 748*5113495bSYour Name Field only valid when Frame_encryption_info_valid is set 749*5113495bSYour Name 750*5113495bSYour Name 751*5113495bSYour Name Bits [127:96] of the PN number. See description for pn_31_0. 752*5113495bSYour Name 753*5113495bSYour Name 754*5113495bSYour Name In case of ndp or phy_err, this field will never be set. 755*5113495bSYour Name 756*5113495bSYour Name */ 757*5113495bSYour Name 758*5113495bSYour Name #define RX_MPDU_INFO_PN_127_96_OFFSET 0x00000018 759*5113495bSYour Name #define RX_MPDU_INFO_PN_127_96_LSB 0 760*5113495bSYour Name #define RX_MPDU_INFO_PN_127_96_MSB 31 761*5113495bSYour Name #define RX_MPDU_INFO_PN_127_96_MASK 0xffffffff 762*5113495bSYour Name 763*5113495bSYour Name 764*5113495bSYour Name /* Description EPD_EN 765*5113495bSYour Name 766*5113495bSYour Name Field only valid when AST_based_lookup_valid == 1. 767*5113495bSYour Name 768*5113495bSYour Name 769*5113495bSYour Name In case of ndp or phy_err or AST_based_lookup_valid == 0, 770*5113495bSYour Name this field will be set to 0 771*5113495bSYour Name 772*5113495bSYour Name If set to one use EPD instead of LPD 773*5113495bSYour Name 774*5113495bSYour Name In case of ndp or phy_err, this field will never be set. 775*5113495bSYour Name 776*5113495bSYour Name <legal all> 777*5113495bSYour Name */ 778*5113495bSYour Name 779*5113495bSYour Name #define RX_MPDU_INFO_EPD_EN_OFFSET 0x0000001c 780*5113495bSYour Name #define RX_MPDU_INFO_EPD_EN_LSB 0 781*5113495bSYour Name #define RX_MPDU_INFO_EPD_EN_MSB 0 782*5113495bSYour Name #define RX_MPDU_INFO_EPD_EN_MASK 0x00000001 783*5113495bSYour Name 784*5113495bSYour Name 785*5113495bSYour Name /* Description ALL_FRAMES_SHALL_BE_ENCRYPTED 786*5113495bSYour Name 787*5113495bSYour Name In case of ndp or phy_err or AST_based_lookup_valid == 0, 788*5113495bSYour Name this field will be set to 0 789*5113495bSYour Name 790*5113495bSYour Name When set, all frames (data only ?) shall be encrypted. If 791*5113495bSYour Name not, RX CRYPTO shall set an error flag. 792*5113495bSYour Name <legal all> 793*5113495bSYour Name */ 794*5113495bSYour Name 795*5113495bSYour Name #define RX_MPDU_INFO_ALL_FRAMES_SHALL_BE_ENCRYPTED_OFFSET 0x0000001c 796*5113495bSYour Name #define RX_MPDU_INFO_ALL_FRAMES_SHALL_BE_ENCRYPTED_LSB 1 797*5113495bSYour Name #define RX_MPDU_INFO_ALL_FRAMES_SHALL_BE_ENCRYPTED_MSB 1 798*5113495bSYour Name #define RX_MPDU_INFO_ALL_FRAMES_SHALL_BE_ENCRYPTED_MASK 0x00000002 799*5113495bSYour Name 800*5113495bSYour Name 801*5113495bSYour Name /* Description ENCRYPT_TYPE 802*5113495bSYour Name 803*5113495bSYour Name In case of ndp or phy_err or AST_based_lookup_valid == 0, 804*5113495bSYour Name this field will be set to 0 805*5113495bSYour Name 806*5113495bSYour Name Indicates type of decrypt cipher used (as defined in the 807*5113495bSYour Name peer entry) 808*5113495bSYour Name 809*5113495bSYour Name <enum 0 wep_40> WEP 40-bit 810*5113495bSYour Name <enum 1 wep_104> WEP 104-bit 811*5113495bSYour Name <enum 2 tkip_no_mic> TKIP without MIC 812*5113495bSYour Name <enum 3 wep_128> WEP 128-bit 813*5113495bSYour Name <enum 4 tkip_with_mic> TKIP with MIC 814*5113495bSYour Name <enum 5 wapi> WAPI 815*5113495bSYour Name <enum 6 aes_ccmp_128> AES CCMP 128 816*5113495bSYour Name <enum 7 no_cipher> No crypto 817*5113495bSYour Name <enum 8 aes_ccmp_256> AES CCMP 256 818*5113495bSYour Name <enum 9 aes_gcmp_128> AES CCMP 128 819*5113495bSYour Name <enum 10 aes_gcmp_256> AES CCMP 256 820*5113495bSYour Name <enum 11 wapi_gcm_sm4> WAPI GCM SM4 821*5113495bSYour Name 822*5113495bSYour Name <enum 12 wep_varied_width> WEP encryption. As for WEP per 823*5113495bSYour Name keyid the key bit width can vary, the key bit width for 824*5113495bSYour Name this MPDU will be indicated in field wep_key_width_for_variable 825*5113495bSYour Name key 826*5113495bSYour Name <legal 0-12> 827*5113495bSYour Name */ 828*5113495bSYour Name 829*5113495bSYour Name #define RX_MPDU_INFO_ENCRYPT_TYPE_OFFSET 0x0000001c 830*5113495bSYour Name #define RX_MPDU_INFO_ENCRYPT_TYPE_LSB 2 831*5113495bSYour Name #define RX_MPDU_INFO_ENCRYPT_TYPE_MSB 5 832*5113495bSYour Name #define RX_MPDU_INFO_ENCRYPT_TYPE_MASK 0x0000003c 833*5113495bSYour Name 834*5113495bSYour Name 835*5113495bSYour Name /* Description WEP_KEY_WIDTH_FOR_VARIABLE_KEY 836*5113495bSYour Name 837*5113495bSYour Name Field only valid when key_type is set to wep_varied_width. 838*5113495bSYour Name 839*5113495bSYour Name 840*5113495bSYour Name This field indicates the size of the wep key for this MPDU. 841*5113495bSYour Name 842*5113495bSYour Name 843*5113495bSYour Name <enum 0 wep_varied_width_40> WEP 40-bit 844*5113495bSYour Name <enum 1 wep_varied_width_104> WEP 104-bit 845*5113495bSYour Name <enum 2 wep_varied_width_128> WEP 128-bit 846*5113495bSYour Name 847*5113495bSYour Name <legal 0-2> 848*5113495bSYour Name */ 849*5113495bSYour Name 850*5113495bSYour Name #define RX_MPDU_INFO_WEP_KEY_WIDTH_FOR_VARIABLE_KEY_OFFSET 0x0000001c 851*5113495bSYour Name #define RX_MPDU_INFO_WEP_KEY_WIDTH_FOR_VARIABLE_KEY_LSB 6 852*5113495bSYour Name #define RX_MPDU_INFO_WEP_KEY_WIDTH_FOR_VARIABLE_KEY_MSB 7 853*5113495bSYour Name #define RX_MPDU_INFO_WEP_KEY_WIDTH_FOR_VARIABLE_KEY_MASK 0x000000c0 854*5113495bSYour Name 855*5113495bSYour Name 856*5113495bSYour Name /* Description MESH_STA 857*5113495bSYour Name 858*5113495bSYour Name In case of ndp or phy_err or AST_based_lookup_valid == 0, 859*5113495bSYour Name this field will be set to 0 860*5113495bSYour Name 861*5113495bSYour Name When set, this is a Mesh (11s) STA. 862*5113495bSYour Name 863*5113495bSYour Name The interpretation of the A-MSDU 'Length' field in the MPDU 864*5113495bSYour Name (if any) is decided by the e-numerations below. 865*5113495bSYour Name 866*5113495bSYour Name <enum 0 MESH_DISABLE> 867*5113495bSYour Name <enum 1 MESH_Q2Q> A-MSDU 'Length' is big endian and includes 868*5113495bSYour Name the length of Mesh Control. 869*5113495bSYour Name <enum 2 MESH_11S_BE> A-MSDU 'Length' is big endian and excludes 870*5113495bSYour Name the length of Mesh Control. 871*5113495bSYour Name <enum 3 MESH_11S_LE> A-MSDU 'Length' is little endian and 872*5113495bSYour Name excludes the length of Mesh Control. This is 802.11s-compliant. 873*5113495bSYour Name 874*5113495bSYour Name <legal all> 875*5113495bSYour Name */ 876*5113495bSYour Name 877*5113495bSYour Name #define RX_MPDU_INFO_MESH_STA_OFFSET 0x0000001c 878*5113495bSYour Name #define RX_MPDU_INFO_MESH_STA_LSB 8 879*5113495bSYour Name #define RX_MPDU_INFO_MESH_STA_MSB 9 880*5113495bSYour Name #define RX_MPDU_INFO_MESH_STA_MASK 0x00000300 881*5113495bSYour Name 882*5113495bSYour Name 883*5113495bSYour Name /* Description BSSID_HIT 884*5113495bSYour Name 885*5113495bSYour Name In case of ndp or phy_err or AST_based_lookup_valid == 0, 886*5113495bSYour Name this field will be set to 0 887*5113495bSYour Name 888*5113495bSYour Name When set, the BSSID of the incoming frame matched one of 889*5113495bSYour Name the 8 BSSID register values 890*5113495bSYour Name 891*5113495bSYour Name <legal all> 892*5113495bSYour Name */ 893*5113495bSYour Name 894*5113495bSYour Name #define RX_MPDU_INFO_BSSID_HIT_OFFSET 0x0000001c 895*5113495bSYour Name #define RX_MPDU_INFO_BSSID_HIT_LSB 10 896*5113495bSYour Name #define RX_MPDU_INFO_BSSID_HIT_MSB 10 897*5113495bSYour Name #define RX_MPDU_INFO_BSSID_HIT_MASK 0x00000400 898*5113495bSYour Name 899*5113495bSYour Name 900*5113495bSYour Name /* Description BSSID_NUMBER 901*5113495bSYour Name 902*5113495bSYour Name Field only valid when bssid_hit is set. 903*5113495bSYour Name 904*5113495bSYour Name This number indicates which one out of the 8 BSSID register 905*5113495bSYour Name values matched the incoming frame 906*5113495bSYour Name <legal all> 907*5113495bSYour Name */ 908*5113495bSYour Name 909*5113495bSYour Name #define RX_MPDU_INFO_BSSID_NUMBER_OFFSET 0x0000001c 910*5113495bSYour Name #define RX_MPDU_INFO_BSSID_NUMBER_LSB 11 911*5113495bSYour Name #define RX_MPDU_INFO_BSSID_NUMBER_MSB 14 912*5113495bSYour Name #define RX_MPDU_INFO_BSSID_NUMBER_MASK 0x00007800 913*5113495bSYour Name 914*5113495bSYour Name 915*5113495bSYour Name /* Description TID 916*5113495bSYour Name 917*5113495bSYour Name Field only valid when mpdu_qos_control_valid is set 918*5113495bSYour Name 919*5113495bSYour Name The TID field in the QoS control field 920*5113495bSYour Name <legal all> 921*5113495bSYour Name */ 922*5113495bSYour Name 923*5113495bSYour Name #define RX_MPDU_INFO_TID_OFFSET 0x0000001c 924*5113495bSYour Name #define RX_MPDU_INFO_TID_LSB 15 925*5113495bSYour Name #define RX_MPDU_INFO_TID_MSB 18 926*5113495bSYour Name #define RX_MPDU_INFO_TID_MASK 0x00078000 927*5113495bSYour Name 928*5113495bSYour Name 929*5113495bSYour Name /* Description RESERVED_7A 930*5113495bSYour Name 931*5113495bSYour Name <legal 0> 932*5113495bSYour Name */ 933*5113495bSYour Name 934*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_7A_OFFSET 0x0000001c 935*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_7A_LSB 19 936*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_7A_MSB 31 937*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_7A_MASK 0xfff80000 938*5113495bSYour Name 939*5113495bSYour Name 940*5113495bSYour Name /* Description PEER_META_DATA 941*5113495bSYour Name 942*5113495bSYour Name In case of ndp or phy_err or AST_based_lookup_valid == 0, 943*5113495bSYour Name this field will be set to 0 944*5113495bSYour Name 945*5113495bSYour Name Meta data that SW has programmed in the Peer table entry 946*5113495bSYour Name of the transmitting STA. 947*5113495bSYour Name <legal all> 948*5113495bSYour Name */ 949*5113495bSYour Name 950*5113495bSYour Name #define RX_MPDU_INFO_PEER_META_DATA_OFFSET 0x00000020 951*5113495bSYour Name #define RX_MPDU_INFO_PEER_META_DATA_LSB 0 952*5113495bSYour Name #define RX_MPDU_INFO_PEER_META_DATA_MSB 31 953*5113495bSYour Name #define RX_MPDU_INFO_PEER_META_DATA_MASK 0xffffffff 954*5113495bSYour Name 955*5113495bSYour Name 956*5113495bSYour Name /* Description RXPCU_MPDU_FILTER_IN_CATEGORY 957*5113495bSYour Name 958*5113495bSYour Name Field indicates what the reason was that this MPDU frame 959*5113495bSYour Name was allowed to come into the receive path by RXPCU 960*5113495bSYour Name <enum 0 rxpcu_filter_pass> This MPDU passed the normal frame 961*5113495bSYour Name filter programming of rxpcu 962*5113495bSYour Name <enum 1 rxpcu_monitor_client> This MPDU did NOT pass the 963*5113495bSYour Name regular frame filter and would have been dropped, were 964*5113495bSYour Name it not for the frame fitting into the 'monitor_client' category. 965*5113495bSYour Name 966*5113495bSYour Name <enum 2 rxpcu_monitor_other> This MPDU did NOT pass the 967*5113495bSYour Name regular frame filter and also did not pass the rxpcu_monitor_client 968*5113495bSYour Name filter. It would have been dropped accept that it did pass 969*5113495bSYour Name the 'monitor_other' category. 970*5113495bSYour Name <enum 3 rxpcu_filter_pass_monitor_ovrd> This MPDU passed 971*5113495bSYour Name the normal frame filter programming of RXPCU but additionally 972*5113495bSYour Name fit into the 'monitor_override_client' category. 973*5113495bSYour Name 974*5113495bSYour Name Note: for ndp frame, if it was expected because the preceding 975*5113495bSYour Name NDPA was filter_pass, the setting rxpcu_filter_pass will 976*5113495bSYour Name be used. This setting will also be used for every ndp frame 977*5113495bSYour Name in case Promiscuous mode is enabled. 978*5113495bSYour Name 979*5113495bSYour Name In case promiscuous is not enabled, and an NDP is not preceded 980*5113495bSYour Name by a NPDA filter pass frame, the only other setting that 981*5113495bSYour Name could appear here for the NDP is rxpcu_monitor_other. 982*5113495bSYour Name (rxpcu has a configuration bit specifically for this scenario) 983*5113495bSYour Name 984*5113495bSYour Name 985*5113495bSYour Name Note: for 986*5113495bSYour Name <legal 0-3> 987*5113495bSYour Name */ 988*5113495bSYour Name 989*5113495bSYour Name #define RX_MPDU_INFO_RXPCU_MPDU_FILTER_IN_CATEGORY_OFFSET 0x00000024 990*5113495bSYour Name #define RX_MPDU_INFO_RXPCU_MPDU_FILTER_IN_CATEGORY_LSB 0 991*5113495bSYour Name #define RX_MPDU_INFO_RXPCU_MPDU_FILTER_IN_CATEGORY_MSB 1 992*5113495bSYour Name #define RX_MPDU_INFO_RXPCU_MPDU_FILTER_IN_CATEGORY_MASK 0x00000003 993*5113495bSYour Name 994*5113495bSYour Name 995*5113495bSYour Name /* Description SW_FRAME_GROUP_ID 996*5113495bSYour Name 997*5113495bSYour Name SW processes frames based on certain classifications. This 998*5113495bSYour Name field indicates to what sw classification this MPDU is 999*5113495bSYour Name mapped. 1000*5113495bSYour Name The classification is given in priority order 1001*5113495bSYour Name 1002*5113495bSYour Name <enum 0 sw_frame_group_NDP_frame> Note: The corresponding 1003*5113495bSYour Name Rxpcu_Mpdu_filter_in_category can be rxpcu_filter_pass 1004*5113495bSYour Name or rxpcu_monitor_other 1005*5113495bSYour Name 1006*5113495bSYour Name <enum 1 sw_frame_group_Multicast_data> 1007*5113495bSYour Name <enum 2 sw_frame_group_Unicast_data> 1008*5113495bSYour Name <enum 3 sw_frame_group_Null_data > This includes mpdus of 1009*5113495bSYour Name type Data Null. 1010*5113495bSYour Name <enum 38 sw_frame_group_QoS_Null_data> This includes QoS 1011*5113495bSYour Name Null frames except in UL MU or TB PPDUs. 1012*5113495bSYour Name <enum 39 sw_frame_group_QoS_Null_data_TB> This includes 1013*5113495bSYour Name QoS Null frames in UL MU or TB PPDUs. 1014*5113495bSYour Name 1015*5113495bSYour Name <enum 4 sw_frame_group_mgmt_0000 > 1016*5113495bSYour Name <enum 5 sw_frame_group_mgmt_0001 > 1017*5113495bSYour Name <enum 6 sw_frame_group_mgmt_0010 > 1018*5113495bSYour Name <enum 7 sw_frame_group_mgmt_0011 > 1019*5113495bSYour Name <enum 8 sw_frame_group_mgmt_0100 > 1020*5113495bSYour Name <enum 9 sw_frame_group_mgmt_0101 > 1021*5113495bSYour Name <enum 10 sw_frame_group_mgmt_0110 > 1022*5113495bSYour Name <enum 11 sw_frame_group_mgmt_0111 > 1023*5113495bSYour Name <enum 12 sw_frame_group_mgmt_1000 > 1024*5113495bSYour Name <enum 13 sw_frame_group_mgmt_1001 > 1025*5113495bSYour Name <enum 14 sw_frame_group_mgmt_1010 > 1026*5113495bSYour Name <enum 15 sw_frame_group_mgmt_1011 > 1027*5113495bSYour Name <enum 16 sw_frame_group_mgmt_1100 > 1028*5113495bSYour Name <enum 17 sw_frame_group_mgmt_1101 > 1029*5113495bSYour Name <enum 18 sw_frame_group_mgmt_1110 > 1030*5113495bSYour Name <enum 19 sw_frame_group_mgmt_1111 > 1031*5113495bSYour Name 1032*5113495bSYour Name <enum 20 sw_frame_group_ctrl_0000 > 1033*5113495bSYour Name <enum 21 sw_frame_group_ctrl_0001 > 1034*5113495bSYour Name <enum 22 sw_frame_group_ctrl_0010 > 1035*5113495bSYour Name <enum 23 sw_frame_group_ctrl_0011 > 1036*5113495bSYour Name <enum 24 sw_frame_group_ctrl_0100 > 1037*5113495bSYour Name <enum 25 sw_frame_group_ctrl_0101 > 1038*5113495bSYour Name <enum 26 sw_frame_group_ctrl_0110 > 1039*5113495bSYour Name <enum 27 sw_frame_group_ctrl_0111 > 1040*5113495bSYour Name <enum 28 sw_frame_group_ctrl_1000 > 1041*5113495bSYour Name <enum 29 sw_frame_group_ctrl_1001 > 1042*5113495bSYour Name <enum 30 sw_frame_group_ctrl_1010 > 1043*5113495bSYour Name <enum 31 sw_frame_group_ctrl_1011 > 1044*5113495bSYour Name <enum 32 sw_frame_group_ctrl_1100 > 1045*5113495bSYour Name <enum 33 sw_frame_group_ctrl_1101 > 1046*5113495bSYour Name <enum 34 sw_frame_group_ctrl_1110 > 1047*5113495bSYour Name <enum 35 sw_frame_group_ctrl_1111 > 1048*5113495bSYour Name 1049*5113495bSYour Name <enum 36 sw_frame_group_unsupported> This covers type 3 1050*5113495bSYour Name and protocol version != 0 1051*5113495bSYour Name Note: The corresponding Rxpcu_Mpdu_filter_in_category can 1052*5113495bSYour Name only be rxpcu_monitor_other 1053*5113495bSYour Name 1054*5113495bSYour Name <enum 37 sw_frame_group_phy_error> PHY reported an error 1055*5113495bSYour Name 1056*5113495bSYour Name Note: The corresponding Rxpcu_Mpdu_filter_in_category can 1057*5113495bSYour Name be rxpcu_filter_pass 1058*5113495bSYour Name 1059*5113495bSYour Name <legal 0-39> 1060*5113495bSYour Name */ 1061*5113495bSYour Name 1062*5113495bSYour Name #define RX_MPDU_INFO_SW_FRAME_GROUP_ID_OFFSET 0x00000024 1063*5113495bSYour Name #define RX_MPDU_INFO_SW_FRAME_GROUP_ID_LSB 2 1064*5113495bSYour Name #define RX_MPDU_INFO_SW_FRAME_GROUP_ID_MSB 8 1065*5113495bSYour Name #define RX_MPDU_INFO_SW_FRAME_GROUP_ID_MASK 0x000001fc 1066*5113495bSYour Name 1067*5113495bSYour Name 1068*5113495bSYour Name /* Description NDP_FRAME 1069*5113495bSYour Name 1070*5113495bSYour Name When set, the received frame was an NDP frame, and thus 1071*5113495bSYour Name there will be no MPDU data. 1072*5113495bSYour Name TODO: Should this be extended to 2-bit e-num? 1073*5113495bSYour Name <legal all> 1074*5113495bSYour Name */ 1075*5113495bSYour Name 1076*5113495bSYour Name #define RX_MPDU_INFO_NDP_FRAME_OFFSET 0x00000024 1077*5113495bSYour Name #define RX_MPDU_INFO_NDP_FRAME_LSB 9 1078*5113495bSYour Name #define RX_MPDU_INFO_NDP_FRAME_MSB 9 1079*5113495bSYour Name #define RX_MPDU_INFO_NDP_FRAME_MASK 0x00000200 1080*5113495bSYour Name 1081*5113495bSYour Name 1082*5113495bSYour Name /* Description PHY_ERR 1083*5113495bSYour Name 1084*5113495bSYour Name When set, a PHY error was received before MAC received any 1085*5113495bSYour Name data, and thus there will be no MPDU data. 1086*5113495bSYour Name <legal all> 1087*5113495bSYour Name */ 1088*5113495bSYour Name 1089*5113495bSYour Name #define RX_MPDU_INFO_PHY_ERR_OFFSET 0x00000024 1090*5113495bSYour Name #define RX_MPDU_INFO_PHY_ERR_LSB 10 1091*5113495bSYour Name #define RX_MPDU_INFO_PHY_ERR_MSB 10 1092*5113495bSYour Name #define RX_MPDU_INFO_PHY_ERR_MASK 0x00000400 1093*5113495bSYour Name 1094*5113495bSYour Name 1095*5113495bSYour Name /* Description PHY_ERR_DURING_MPDU_HEADER 1096*5113495bSYour Name 1097*5113495bSYour Name When set, a PHY error was received before MAC received the 1098*5113495bSYour Name complete MPDU header which was needed for proper decoding 1099*5113495bSYour Name 1100*5113495bSYour Name <legal all> 1101*5113495bSYour Name */ 1102*5113495bSYour Name 1103*5113495bSYour Name #define RX_MPDU_INFO_PHY_ERR_DURING_MPDU_HEADER_OFFSET 0x00000024 1104*5113495bSYour Name #define RX_MPDU_INFO_PHY_ERR_DURING_MPDU_HEADER_LSB 11 1105*5113495bSYour Name #define RX_MPDU_INFO_PHY_ERR_DURING_MPDU_HEADER_MSB 11 1106*5113495bSYour Name #define RX_MPDU_INFO_PHY_ERR_DURING_MPDU_HEADER_MASK 0x00000800 1107*5113495bSYour Name 1108*5113495bSYour Name 1109*5113495bSYour Name /* Description PROTOCOL_VERSION_ERR 1110*5113495bSYour Name 1111*5113495bSYour Name Set when RXPCU detected a version error in the Frame control 1112*5113495bSYour Name field 1113*5113495bSYour Name <legal all> 1114*5113495bSYour Name */ 1115*5113495bSYour Name 1116*5113495bSYour Name #define RX_MPDU_INFO_PROTOCOL_VERSION_ERR_OFFSET 0x00000024 1117*5113495bSYour Name #define RX_MPDU_INFO_PROTOCOL_VERSION_ERR_LSB 12 1118*5113495bSYour Name #define RX_MPDU_INFO_PROTOCOL_VERSION_ERR_MSB 12 1119*5113495bSYour Name #define RX_MPDU_INFO_PROTOCOL_VERSION_ERR_MASK 0x00001000 1120*5113495bSYour Name 1121*5113495bSYour Name 1122*5113495bSYour Name /* Description AST_BASED_LOOKUP_VALID 1123*5113495bSYour Name 1124*5113495bSYour Name When set, AST based lookup for this frame has found a valid 1125*5113495bSYour Name result. 1126*5113495bSYour Name 1127*5113495bSYour Name Note that for NDP frame this will never be set 1128*5113495bSYour Name <legal all> 1129*5113495bSYour Name */ 1130*5113495bSYour Name 1131*5113495bSYour Name #define RX_MPDU_INFO_AST_BASED_LOOKUP_VALID_OFFSET 0x00000024 1132*5113495bSYour Name #define RX_MPDU_INFO_AST_BASED_LOOKUP_VALID_LSB 13 1133*5113495bSYour Name #define RX_MPDU_INFO_AST_BASED_LOOKUP_VALID_MSB 13 1134*5113495bSYour Name #define RX_MPDU_INFO_AST_BASED_LOOKUP_VALID_MASK 0x00002000 1135*5113495bSYour Name 1136*5113495bSYour Name 1137*5113495bSYour Name /* Description RANGING 1138*5113495bSYour Name 1139*5113495bSYour Name When set, a ranging NDPA or a ranging NDP was received. 1140*5113495bSYour Name 1141*5113495bSYour Name This field is only for FW visibility. HW is not expected 1142*5113495bSYour Name to take any action on this. 1143*5113495bSYour Name <legal all> 1144*5113495bSYour Name */ 1145*5113495bSYour Name 1146*5113495bSYour Name #define RX_MPDU_INFO_RANGING_OFFSET 0x00000024 1147*5113495bSYour Name #define RX_MPDU_INFO_RANGING_LSB 14 1148*5113495bSYour Name #define RX_MPDU_INFO_RANGING_MSB 14 1149*5113495bSYour Name #define RX_MPDU_INFO_RANGING_MASK 0x00004000 1150*5113495bSYour Name 1151*5113495bSYour Name 1152*5113495bSYour Name /* Description RESERVED_9A 1153*5113495bSYour Name 1154*5113495bSYour Name <legal 0> 1155*5113495bSYour Name */ 1156*5113495bSYour Name 1157*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_9A_OFFSET 0x00000024 1158*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_9A_LSB 15 1159*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_9A_MSB 15 1160*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_9A_MASK 0x00008000 1161*5113495bSYour Name 1162*5113495bSYour Name 1163*5113495bSYour Name /* Description PHY_PPDU_ID 1164*5113495bSYour Name 1165*5113495bSYour Name A ppdu counter value that PHY increments for every PPDU 1166*5113495bSYour Name received. The counter value wraps around 1167*5113495bSYour Name <legal all> 1168*5113495bSYour Name */ 1169*5113495bSYour Name 1170*5113495bSYour Name #define RX_MPDU_INFO_PHY_PPDU_ID_OFFSET 0x00000024 1171*5113495bSYour Name #define RX_MPDU_INFO_PHY_PPDU_ID_LSB 16 1172*5113495bSYour Name #define RX_MPDU_INFO_PHY_PPDU_ID_MSB 31 1173*5113495bSYour Name #define RX_MPDU_INFO_PHY_PPDU_ID_MASK 0xffff0000 1174*5113495bSYour Name 1175*5113495bSYour Name 1176*5113495bSYour Name /* Description AST_INDEX 1177*5113495bSYour Name 1178*5113495bSYour Name This field indicates the index of the AST entry corresponding 1179*5113495bSYour Name to this MPDU. It is provided by the GSE module instantiated 1180*5113495bSYour Name in RXPCU. 1181*5113495bSYour Name A value of 0xFFFF indicates an invalid AST index, meaning 1182*5113495bSYour Name that No AST entry was found or NO AST search was performed 1183*5113495bSYour Name 1184*5113495bSYour Name 1185*5113495bSYour Name In case of ndp or phy_err, this field will be set to 0xFFFF 1186*5113495bSYour Name 1187*5113495bSYour Name <legal all> 1188*5113495bSYour Name */ 1189*5113495bSYour Name 1190*5113495bSYour Name #define RX_MPDU_INFO_AST_INDEX_OFFSET 0x00000028 1191*5113495bSYour Name #define RX_MPDU_INFO_AST_INDEX_LSB 0 1192*5113495bSYour Name #define RX_MPDU_INFO_AST_INDEX_MSB 15 1193*5113495bSYour Name #define RX_MPDU_INFO_AST_INDEX_MASK 0x0000ffff 1194*5113495bSYour Name 1195*5113495bSYour Name 1196*5113495bSYour Name /* Description SW_PEER_ID 1197*5113495bSYour Name 1198*5113495bSYour Name In case of ndp or phy_err or AST_based_lookup_valid == 0, 1199*5113495bSYour Name this field will be set to 0 1200*5113495bSYour Name 1201*5113495bSYour Name This field indicates a unique peer identifier. It is set 1202*5113495bSYour Name equal to field 'sw_peer_id' from the AST entry 1203*5113495bSYour Name 1204*5113495bSYour Name <legal all> 1205*5113495bSYour Name */ 1206*5113495bSYour Name 1207*5113495bSYour Name #define RX_MPDU_INFO_SW_PEER_ID_OFFSET 0x00000028 1208*5113495bSYour Name #define RX_MPDU_INFO_SW_PEER_ID_LSB 16 1209*5113495bSYour Name #define RX_MPDU_INFO_SW_PEER_ID_MSB 31 1210*5113495bSYour Name #define RX_MPDU_INFO_SW_PEER_ID_MASK 0xffff0000 1211*5113495bSYour Name 1212*5113495bSYour Name 1213*5113495bSYour Name /* Description MPDU_FRAME_CONTROL_VALID 1214*5113495bSYour Name 1215*5113495bSYour Name When set, the field Mpdu_Frame_control_field has valid information 1216*5113495bSYour Name 1217*5113495bSYour Name 1218*5113495bSYour Name In case of ndp or phy_err, this field will never be set. 1219*5113495bSYour Name 1220*5113495bSYour Name <legal all> 1221*5113495bSYour Name */ 1222*5113495bSYour Name 1223*5113495bSYour Name #define RX_MPDU_INFO_MPDU_FRAME_CONTROL_VALID_OFFSET 0x0000002c 1224*5113495bSYour Name #define RX_MPDU_INFO_MPDU_FRAME_CONTROL_VALID_LSB 0 1225*5113495bSYour Name #define RX_MPDU_INFO_MPDU_FRAME_CONTROL_VALID_MSB 0 1226*5113495bSYour Name #define RX_MPDU_INFO_MPDU_FRAME_CONTROL_VALID_MASK 0x00000001 1227*5113495bSYour Name 1228*5113495bSYour Name 1229*5113495bSYour Name /* Description MPDU_DURATION_VALID 1230*5113495bSYour Name 1231*5113495bSYour Name When set, the field Mpdu_duration_field has valid information 1232*5113495bSYour Name 1233*5113495bSYour Name 1234*5113495bSYour Name In case of ndp or phy_err, this field will never be set. 1235*5113495bSYour Name 1236*5113495bSYour Name <legal all> 1237*5113495bSYour Name */ 1238*5113495bSYour Name 1239*5113495bSYour Name #define RX_MPDU_INFO_MPDU_DURATION_VALID_OFFSET 0x0000002c 1240*5113495bSYour Name #define RX_MPDU_INFO_MPDU_DURATION_VALID_LSB 1 1241*5113495bSYour Name #define RX_MPDU_INFO_MPDU_DURATION_VALID_MSB 1 1242*5113495bSYour Name #define RX_MPDU_INFO_MPDU_DURATION_VALID_MASK 0x00000002 1243*5113495bSYour Name 1244*5113495bSYour Name 1245*5113495bSYour Name /* Description MAC_ADDR_AD1_VALID 1246*5113495bSYour Name 1247*5113495bSYour Name When set, the fields mac_addr_ad1_..... have valid information 1248*5113495bSYour Name 1249*5113495bSYour Name 1250*5113495bSYour Name In case of ndp or phy_err, this field will never be set. 1251*5113495bSYour Name 1252*5113495bSYour Name <legal all> 1253*5113495bSYour Name */ 1254*5113495bSYour Name 1255*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD1_VALID_OFFSET 0x0000002c 1256*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD1_VALID_LSB 2 1257*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD1_VALID_MSB 2 1258*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD1_VALID_MASK 0x00000004 1259*5113495bSYour Name 1260*5113495bSYour Name 1261*5113495bSYour Name /* Description MAC_ADDR_AD2_VALID 1262*5113495bSYour Name 1263*5113495bSYour Name When set, the fields mac_addr_ad2_..... have valid information 1264*5113495bSYour Name 1265*5113495bSYour Name 1266*5113495bSYour Name For MPDUs without Address 2, this field will not be set. 1267*5113495bSYour Name 1268*5113495bSYour Name 1269*5113495bSYour Name In case of ndp or phy_err, this field will never be set. 1270*5113495bSYour Name 1271*5113495bSYour Name <legal all> 1272*5113495bSYour Name */ 1273*5113495bSYour Name 1274*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD2_VALID_OFFSET 0x0000002c 1275*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD2_VALID_LSB 3 1276*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD2_VALID_MSB 3 1277*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD2_VALID_MASK 0x00000008 1278*5113495bSYour Name 1279*5113495bSYour Name 1280*5113495bSYour Name /* Description MAC_ADDR_AD3_VALID 1281*5113495bSYour Name 1282*5113495bSYour Name When set, the fields mac_addr_ad3_..... have valid information 1283*5113495bSYour Name 1284*5113495bSYour Name 1285*5113495bSYour Name For MPDUs without Address 3, this field will not be set. 1286*5113495bSYour Name 1287*5113495bSYour Name 1288*5113495bSYour Name In case of ndp or phy_err, this field will never be set. 1289*5113495bSYour Name 1290*5113495bSYour Name <legal all> 1291*5113495bSYour Name */ 1292*5113495bSYour Name 1293*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD3_VALID_OFFSET 0x0000002c 1294*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD3_VALID_LSB 4 1295*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD3_VALID_MSB 4 1296*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD3_VALID_MASK 0x00000010 1297*5113495bSYour Name 1298*5113495bSYour Name 1299*5113495bSYour Name /* Description MAC_ADDR_AD4_VALID 1300*5113495bSYour Name 1301*5113495bSYour Name When set, the fields mac_addr_ad4_..... have valid information 1302*5113495bSYour Name 1303*5113495bSYour Name 1304*5113495bSYour Name For MPDUs without Address 4, this field will not be set. 1305*5113495bSYour Name 1306*5113495bSYour Name 1307*5113495bSYour Name In case of ndp or phy_err, this field will never be set. 1308*5113495bSYour Name 1309*5113495bSYour Name <legal all> 1310*5113495bSYour Name */ 1311*5113495bSYour Name 1312*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD4_VALID_OFFSET 0x0000002c 1313*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD4_VALID_LSB 5 1314*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD4_VALID_MSB 5 1315*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD4_VALID_MASK 0x00000020 1316*5113495bSYour Name 1317*5113495bSYour Name 1318*5113495bSYour Name /* Description MPDU_SEQUENCE_CONTROL_VALID 1319*5113495bSYour Name 1320*5113495bSYour Name When set, the fields mpdu_sequence_control_field and mpdu_sequence_number 1321*5113495bSYour Name have valid information as well as field 1322*5113495bSYour Name 1323*5113495bSYour Name For MPDUs without a sequence control field, this field will 1324*5113495bSYour Name not be set. 1325*5113495bSYour Name 1326*5113495bSYour Name In case of ndp or phy_err, this field will never be set. 1327*5113495bSYour Name 1328*5113495bSYour Name <legal all> 1329*5113495bSYour Name */ 1330*5113495bSYour Name 1331*5113495bSYour Name #define RX_MPDU_INFO_MPDU_SEQUENCE_CONTROL_VALID_OFFSET 0x0000002c 1332*5113495bSYour Name #define RX_MPDU_INFO_MPDU_SEQUENCE_CONTROL_VALID_LSB 6 1333*5113495bSYour Name #define RX_MPDU_INFO_MPDU_SEQUENCE_CONTROL_VALID_MSB 6 1334*5113495bSYour Name #define RX_MPDU_INFO_MPDU_SEQUENCE_CONTROL_VALID_MASK 0x00000040 1335*5113495bSYour Name 1336*5113495bSYour Name 1337*5113495bSYour Name /* Description MPDU_QOS_CONTROL_VALID 1338*5113495bSYour Name 1339*5113495bSYour Name When set, the field mpdu_qos_control_field has valid information 1340*5113495bSYour Name 1341*5113495bSYour Name 1342*5113495bSYour Name For MPDUs without a QoS control field, this field will not 1343*5113495bSYour Name be set. 1344*5113495bSYour Name 1345*5113495bSYour Name In case of ndp or phy_err, this field will never be set. 1346*5113495bSYour Name 1347*5113495bSYour Name <legal all> 1348*5113495bSYour Name */ 1349*5113495bSYour Name 1350*5113495bSYour Name #define RX_MPDU_INFO_MPDU_QOS_CONTROL_VALID_OFFSET 0x0000002c 1351*5113495bSYour Name #define RX_MPDU_INFO_MPDU_QOS_CONTROL_VALID_LSB 7 1352*5113495bSYour Name #define RX_MPDU_INFO_MPDU_QOS_CONTROL_VALID_MSB 7 1353*5113495bSYour Name #define RX_MPDU_INFO_MPDU_QOS_CONTROL_VALID_MASK 0x00000080 1354*5113495bSYour Name 1355*5113495bSYour Name 1356*5113495bSYour Name /* Description MPDU_HT_CONTROL_VALID 1357*5113495bSYour Name 1358*5113495bSYour Name When set, the field mpdu_HT_control_field has valid information 1359*5113495bSYour Name 1360*5113495bSYour Name 1361*5113495bSYour Name For MPDUs without a HT control field, this field will not 1362*5113495bSYour Name be set. 1363*5113495bSYour Name 1364*5113495bSYour Name In case of ndp or phy_err, this field will never be set. 1365*5113495bSYour Name 1366*5113495bSYour Name <legal all> 1367*5113495bSYour Name */ 1368*5113495bSYour Name 1369*5113495bSYour Name #define RX_MPDU_INFO_MPDU_HT_CONTROL_VALID_OFFSET 0x0000002c 1370*5113495bSYour Name #define RX_MPDU_INFO_MPDU_HT_CONTROL_VALID_LSB 8 1371*5113495bSYour Name #define RX_MPDU_INFO_MPDU_HT_CONTROL_VALID_MSB 8 1372*5113495bSYour Name #define RX_MPDU_INFO_MPDU_HT_CONTROL_VALID_MASK 0x00000100 1373*5113495bSYour Name 1374*5113495bSYour Name 1375*5113495bSYour Name /* Description FRAME_ENCRYPTION_INFO_VALID 1376*5113495bSYour Name 1377*5113495bSYour Name When set, the encryption related info fields, like IV and 1378*5113495bSYour Name PN are valid 1379*5113495bSYour Name 1380*5113495bSYour Name For MPDUs that are not encrypted, this will not be set. 1381*5113495bSYour Name 1382*5113495bSYour Name In case of ndp or phy_err, this field will never be set. 1383*5113495bSYour Name 1384*5113495bSYour Name <legal all> 1385*5113495bSYour Name */ 1386*5113495bSYour Name 1387*5113495bSYour Name #define RX_MPDU_INFO_FRAME_ENCRYPTION_INFO_VALID_OFFSET 0x0000002c 1388*5113495bSYour Name #define RX_MPDU_INFO_FRAME_ENCRYPTION_INFO_VALID_LSB 9 1389*5113495bSYour Name #define RX_MPDU_INFO_FRAME_ENCRYPTION_INFO_VALID_MSB 9 1390*5113495bSYour Name #define RX_MPDU_INFO_FRAME_ENCRYPTION_INFO_VALID_MASK 0x00000200 1391*5113495bSYour Name 1392*5113495bSYour Name 1393*5113495bSYour Name /* Description MPDU_FRAGMENT_NUMBER 1394*5113495bSYour Name 1395*5113495bSYour Name Field only valid when Mpdu_sequence_control_valid is set 1396*5113495bSYour Name AND Fragment_flag is set 1397*5113495bSYour Name 1398*5113495bSYour Name The fragment number from the 802.11 header 1399*5113495bSYour Name 1400*5113495bSYour Name <legal all> 1401*5113495bSYour Name */ 1402*5113495bSYour Name 1403*5113495bSYour Name #define RX_MPDU_INFO_MPDU_FRAGMENT_NUMBER_OFFSET 0x0000002c 1404*5113495bSYour Name #define RX_MPDU_INFO_MPDU_FRAGMENT_NUMBER_LSB 10 1405*5113495bSYour Name #define RX_MPDU_INFO_MPDU_FRAGMENT_NUMBER_MSB 13 1406*5113495bSYour Name #define RX_MPDU_INFO_MPDU_FRAGMENT_NUMBER_MASK 0x00003c00 1407*5113495bSYour Name 1408*5113495bSYour Name 1409*5113495bSYour Name /* Description MORE_FRAGMENT_FLAG 1410*5113495bSYour Name 1411*5113495bSYour Name The More Fragment bit setting from the MPDU header of the 1412*5113495bSYour Name received frame 1413*5113495bSYour Name 1414*5113495bSYour Name <legal all> 1415*5113495bSYour Name */ 1416*5113495bSYour Name 1417*5113495bSYour Name #define RX_MPDU_INFO_MORE_FRAGMENT_FLAG_OFFSET 0x0000002c 1418*5113495bSYour Name #define RX_MPDU_INFO_MORE_FRAGMENT_FLAG_LSB 14 1419*5113495bSYour Name #define RX_MPDU_INFO_MORE_FRAGMENT_FLAG_MSB 14 1420*5113495bSYour Name #define RX_MPDU_INFO_MORE_FRAGMENT_FLAG_MASK 0x00004000 1421*5113495bSYour Name 1422*5113495bSYour Name 1423*5113495bSYour Name /* Description RESERVED_11A 1424*5113495bSYour Name 1425*5113495bSYour Name <legal 0> 1426*5113495bSYour Name */ 1427*5113495bSYour Name 1428*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_11A_OFFSET 0x0000002c 1429*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_11A_LSB 15 1430*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_11A_MSB 15 1431*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_11A_MASK 0x00008000 1432*5113495bSYour Name 1433*5113495bSYour Name 1434*5113495bSYour Name /* Description FR_DS 1435*5113495bSYour Name 1436*5113495bSYour Name Field only valid when Mpdu_frame_control_valid is set 1437*5113495bSYour Name 1438*5113495bSYour Name Set if the from DS bit is set in the frame control. 1439*5113495bSYour Name <legal all> 1440*5113495bSYour Name */ 1441*5113495bSYour Name 1442*5113495bSYour Name #define RX_MPDU_INFO_FR_DS_OFFSET 0x0000002c 1443*5113495bSYour Name #define RX_MPDU_INFO_FR_DS_LSB 16 1444*5113495bSYour Name #define RX_MPDU_INFO_FR_DS_MSB 16 1445*5113495bSYour Name #define RX_MPDU_INFO_FR_DS_MASK 0x00010000 1446*5113495bSYour Name 1447*5113495bSYour Name 1448*5113495bSYour Name /* Description TO_DS 1449*5113495bSYour Name 1450*5113495bSYour Name Field only valid when Mpdu_frame_control_valid is set 1451*5113495bSYour Name 1452*5113495bSYour Name Set if the to DS bit is set in the frame control. 1453*5113495bSYour Name <legal all> 1454*5113495bSYour Name */ 1455*5113495bSYour Name 1456*5113495bSYour Name #define RX_MPDU_INFO_TO_DS_OFFSET 0x0000002c 1457*5113495bSYour Name #define RX_MPDU_INFO_TO_DS_LSB 17 1458*5113495bSYour Name #define RX_MPDU_INFO_TO_DS_MSB 17 1459*5113495bSYour Name #define RX_MPDU_INFO_TO_DS_MASK 0x00020000 1460*5113495bSYour Name 1461*5113495bSYour Name 1462*5113495bSYour Name /* Description ENCRYPTED 1463*5113495bSYour Name 1464*5113495bSYour Name Field only valid when Mpdu_frame_control_valid is set. 1465*5113495bSYour Name 1466*5113495bSYour Name Protected bit from the frame control. 1467*5113495bSYour Name <legal all> 1468*5113495bSYour Name */ 1469*5113495bSYour Name 1470*5113495bSYour Name #define RX_MPDU_INFO_ENCRYPTED_OFFSET 0x0000002c 1471*5113495bSYour Name #define RX_MPDU_INFO_ENCRYPTED_LSB 18 1472*5113495bSYour Name #define RX_MPDU_INFO_ENCRYPTED_MSB 18 1473*5113495bSYour Name #define RX_MPDU_INFO_ENCRYPTED_MASK 0x00040000 1474*5113495bSYour Name 1475*5113495bSYour Name 1476*5113495bSYour Name /* Description MPDU_RETRY 1477*5113495bSYour Name 1478*5113495bSYour Name Field only valid when Mpdu_frame_control_valid is set. 1479*5113495bSYour Name 1480*5113495bSYour Name Retry bit from the frame control. Only valid when first_msdu 1481*5113495bSYour Name is set. 1482*5113495bSYour Name <legal all> 1483*5113495bSYour Name */ 1484*5113495bSYour Name 1485*5113495bSYour Name #define RX_MPDU_INFO_MPDU_RETRY_OFFSET 0x0000002c 1486*5113495bSYour Name #define RX_MPDU_INFO_MPDU_RETRY_LSB 19 1487*5113495bSYour Name #define RX_MPDU_INFO_MPDU_RETRY_MSB 19 1488*5113495bSYour Name #define RX_MPDU_INFO_MPDU_RETRY_MASK 0x00080000 1489*5113495bSYour Name 1490*5113495bSYour Name 1491*5113495bSYour Name /* Description MPDU_SEQUENCE_NUMBER 1492*5113495bSYour Name 1493*5113495bSYour Name Field only valid when Mpdu_sequence_control_valid is set. 1494*5113495bSYour Name 1495*5113495bSYour Name 1496*5113495bSYour Name The sequence number from the 802.11 header. 1497*5113495bSYour Name <legal all> 1498*5113495bSYour Name */ 1499*5113495bSYour Name 1500*5113495bSYour Name #define RX_MPDU_INFO_MPDU_SEQUENCE_NUMBER_OFFSET 0x0000002c 1501*5113495bSYour Name #define RX_MPDU_INFO_MPDU_SEQUENCE_NUMBER_LSB 20 1502*5113495bSYour Name #define RX_MPDU_INFO_MPDU_SEQUENCE_NUMBER_MSB 31 1503*5113495bSYour Name #define RX_MPDU_INFO_MPDU_SEQUENCE_NUMBER_MASK 0xfff00000 1504*5113495bSYour Name 1505*5113495bSYour Name 1506*5113495bSYour Name /* Description KEY_ID_OCTET 1507*5113495bSYour Name 1508*5113495bSYour Name Field only valid when Frame_encryption_info_valid is set 1509*5113495bSYour Name 1510*5113495bSYour Name 1511*5113495bSYour Name The key ID octet from the IV. 1512*5113495bSYour Name 1513*5113495bSYour Name In case of ndp or phy_err or AST_based_lookup_valid == 0, 1514*5113495bSYour Name this field will be set to 0 1515*5113495bSYour Name <legal all> 1516*5113495bSYour Name */ 1517*5113495bSYour Name 1518*5113495bSYour Name #define RX_MPDU_INFO_KEY_ID_OCTET_OFFSET 0x00000030 1519*5113495bSYour Name #define RX_MPDU_INFO_KEY_ID_OCTET_LSB 0 1520*5113495bSYour Name #define RX_MPDU_INFO_KEY_ID_OCTET_MSB 7 1521*5113495bSYour Name #define RX_MPDU_INFO_KEY_ID_OCTET_MASK 0x000000ff 1522*5113495bSYour Name 1523*5113495bSYour Name 1524*5113495bSYour Name /* Description NEW_PEER_ENTRY 1525*5113495bSYour Name 1526*5113495bSYour Name In case of ndp or phy_err or AST_based_lookup_valid == 0, 1527*5113495bSYour Name this field will be set to 0 1528*5113495bSYour Name 1529*5113495bSYour Name Set if new RX_PEER_ENTRY TLV follows. If clear, RX_PEER_ENTRY 1530*5113495bSYour Name doesn't follow so RX DECRYPTION module either uses old 1531*5113495bSYour Name peer entry or not decrypt. 1532*5113495bSYour Name <legal all> 1533*5113495bSYour Name */ 1534*5113495bSYour Name 1535*5113495bSYour Name #define RX_MPDU_INFO_NEW_PEER_ENTRY_OFFSET 0x00000030 1536*5113495bSYour Name #define RX_MPDU_INFO_NEW_PEER_ENTRY_LSB 8 1537*5113495bSYour Name #define RX_MPDU_INFO_NEW_PEER_ENTRY_MSB 8 1538*5113495bSYour Name #define RX_MPDU_INFO_NEW_PEER_ENTRY_MASK 0x00000100 1539*5113495bSYour Name 1540*5113495bSYour Name 1541*5113495bSYour Name /* Description DECRYPT_NEEDED 1542*5113495bSYour Name 1543*5113495bSYour Name In case of ndp or phy_err or AST_based_lookup_valid == 0, 1544*5113495bSYour Name this field will be set to 0 1545*5113495bSYour Name 1546*5113495bSYour Name Set if decryption is needed. 1547*5113495bSYour Name 1548*5113495bSYour Name Note: 1549*5113495bSYour Name When RXPCU sets bit 'ast_index_not_found' and/or ast_index_timeout', 1550*5113495bSYour Name RXPCU will also ensure that this bit is NOT set 1551*5113495bSYour Name CRYPTO for that reason only needs to evaluate this bit and 1552*5113495bSYour Name non of the other ones. 1553*5113495bSYour Name <legal all> 1554*5113495bSYour Name */ 1555*5113495bSYour Name 1556*5113495bSYour Name #define RX_MPDU_INFO_DECRYPT_NEEDED_OFFSET 0x00000030 1557*5113495bSYour Name #define RX_MPDU_INFO_DECRYPT_NEEDED_LSB 9 1558*5113495bSYour Name #define RX_MPDU_INFO_DECRYPT_NEEDED_MSB 9 1559*5113495bSYour Name #define RX_MPDU_INFO_DECRYPT_NEEDED_MASK 0x00000200 1560*5113495bSYour Name 1561*5113495bSYour Name 1562*5113495bSYour Name /* Description DECAP_TYPE 1563*5113495bSYour Name 1564*5113495bSYour Name In case of ndp or phy_err or AST_based_lookup_valid == 0, 1565*5113495bSYour Name this field will be set to 0 1566*5113495bSYour Name 1567*5113495bSYour Name Used by the OLE during decapsulation. 1568*5113495bSYour Name 1569*5113495bSYour Name Indicates the decapsulation that HW will perform: 1570*5113495bSYour Name 1571*5113495bSYour Name <enum 0 RAW> No encapsulation 1572*5113495bSYour Name <enum 1 Native_WiFi> 1573*5113495bSYour Name <enum 2 Ethernet> Ethernet 2 (DIX) or 802.3 (uses SNAP/LLC) 1574*5113495bSYour Name 1575*5113495bSYour Name <enum 3 802_3> Indicate Ethernet 1576*5113495bSYour Name 1577*5113495bSYour Name <legal all> 1578*5113495bSYour Name */ 1579*5113495bSYour Name 1580*5113495bSYour Name #define RX_MPDU_INFO_DECAP_TYPE_OFFSET 0x00000030 1581*5113495bSYour Name #define RX_MPDU_INFO_DECAP_TYPE_LSB 10 1582*5113495bSYour Name #define RX_MPDU_INFO_DECAP_TYPE_MSB 11 1583*5113495bSYour Name #define RX_MPDU_INFO_DECAP_TYPE_MASK 0x00000c00 1584*5113495bSYour Name 1585*5113495bSYour Name 1586*5113495bSYour Name /* Description RX_INSERT_VLAN_C_TAG_PADDING 1587*5113495bSYour Name 1588*5113495bSYour Name In case of ndp or phy_err or AST_based_lookup_valid == 0, 1589*5113495bSYour Name this field will be set to 0 1590*5113495bSYour Name 1591*5113495bSYour Name Insert 4 byte of all zeros as VLAN tag if the rx payload 1592*5113495bSYour Name does not have VLAN. Used during decapsulation. 1593*5113495bSYour Name <legal all> 1594*5113495bSYour Name */ 1595*5113495bSYour Name 1596*5113495bSYour Name #define RX_MPDU_INFO_RX_INSERT_VLAN_C_TAG_PADDING_OFFSET 0x00000030 1597*5113495bSYour Name #define RX_MPDU_INFO_RX_INSERT_VLAN_C_TAG_PADDING_LSB 12 1598*5113495bSYour Name #define RX_MPDU_INFO_RX_INSERT_VLAN_C_TAG_PADDING_MSB 12 1599*5113495bSYour Name #define RX_MPDU_INFO_RX_INSERT_VLAN_C_TAG_PADDING_MASK 0x00001000 1600*5113495bSYour Name 1601*5113495bSYour Name 1602*5113495bSYour Name /* Description RX_INSERT_VLAN_S_TAG_PADDING 1603*5113495bSYour Name 1604*5113495bSYour Name In case of ndp or phy_err or AST_based_lookup_valid == 0, 1605*5113495bSYour Name this field will be set to 0 1606*5113495bSYour Name 1607*5113495bSYour Name Insert 4 byte of all zeros as double VLAN tag if the rx 1608*5113495bSYour Name payload does not have VLAN. Used during 1609*5113495bSYour Name <legal all> 1610*5113495bSYour Name */ 1611*5113495bSYour Name 1612*5113495bSYour Name #define RX_MPDU_INFO_RX_INSERT_VLAN_S_TAG_PADDING_OFFSET 0x00000030 1613*5113495bSYour Name #define RX_MPDU_INFO_RX_INSERT_VLAN_S_TAG_PADDING_LSB 13 1614*5113495bSYour Name #define RX_MPDU_INFO_RX_INSERT_VLAN_S_TAG_PADDING_MSB 13 1615*5113495bSYour Name #define RX_MPDU_INFO_RX_INSERT_VLAN_S_TAG_PADDING_MASK 0x00002000 1616*5113495bSYour Name 1617*5113495bSYour Name 1618*5113495bSYour Name /* Description STRIP_VLAN_C_TAG_DECAP 1619*5113495bSYour Name 1620*5113495bSYour Name In case of ndp or phy_err or AST_based_lookup_valid == 0, 1621*5113495bSYour Name this field will be set to 0 1622*5113495bSYour Name 1623*5113495bSYour Name Strip the VLAN during decapsulation. Used by the OLE. 1624*5113495bSYour Name <legal all> 1625*5113495bSYour Name */ 1626*5113495bSYour Name 1627*5113495bSYour Name #define RX_MPDU_INFO_STRIP_VLAN_C_TAG_DECAP_OFFSET 0x00000030 1628*5113495bSYour Name #define RX_MPDU_INFO_STRIP_VLAN_C_TAG_DECAP_LSB 14 1629*5113495bSYour Name #define RX_MPDU_INFO_STRIP_VLAN_C_TAG_DECAP_MSB 14 1630*5113495bSYour Name #define RX_MPDU_INFO_STRIP_VLAN_C_TAG_DECAP_MASK 0x00004000 1631*5113495bSYour Name 1632*5113495bSYour Name 1633*5113495bSYour Name /* Description STRIP_VLAN_S_TAG_DECAP 1634*5113495bSYour Name 1635*5113495bSYour Name In case of ndp or phy_err or AST_based_lookup_valid == 0, 1636*5113495bSYour Name this field will be set to 0 1637*5113495bSYour Name 1638*5113495bSYour Name Strip the double VLAN during decapsulation. Used by the 1639*5113495bSYour Name OLE. 1640*5113495bSYour Name <legal all> 1641*5113495bSYour Name */ 1642*5113495bSYour Name 1643*5113495bSYour Name #define RX_MPDU_INFO_STRIP_VLAN_S_TAG_DECAP_OFFSET 0x00000030 1644*5113495bSYour Name #define RX_MPDU_INFO_STRIP_VLAN_S_TAG_DECAP_LSB 15 1645*5113495bSYour Name #define RX_MPDU_INFO_STRIP_VLAN_S_TAG_DECAP_MSB 15 1646*5113495bSYour Name #define RX_MPDU_INFO_STRIP_VLAN_S_TAG_DECAP_MASK 0x00008000 1647*5113495bSYour Name 1648*5113495bSYour Name 1649*5113495bSYour Name /* Description PRE_DELIM_COUNT 1650*5113495bSYour Name 1651*5113495bSYour Name The number of delimiters before this MPDU. 1652*5113495bSYour Name 1653*5113495bSYour Name Note that this number is cleared at PPDU start. 1654*5113495bSYour Name 1655*5113495bSYour Name If this MPDU is the first received MPDU in the PPDU and 1656*5113495bSYour Name this MPDU gets filtered-in, this field will indicate the 1657*5113495bSYour Name number of delimiters located after the last MPDU in the 1658*5113495bSYour Name previous PPDU. 1659*5113495bSYour Name 1660*5113495bSYour Name If this MPDU is located after the first received MPDU in 1661*5113495bSYour Name an PPDU, this field will indicate the number of delimiters 1662*5113495bSYour Name located between the previous MPDU and this MPDU. 1663*5113495bSYour Name 1664*5113495bSYour Name In case of ndp or phy_err, this field will indicate the 1665*5113495bSYour Name number of delimiters located after the last MPDU in the 1666*5113495bSYour Name previous PPDU. 1667*5113495bSYour Name <legal all> 1668*5113495bSYour Name */ 1669*5113495bSYour Name 1670*5113495bSYour Name #define RX_MPDU_INFO_PRE_DELIM_COUNT_OFFSET 0x00000030 1671*5113495bSYour Name #define RX_MPDU_INFO_PRE_DELIM_COUNT_LSB 16 1672*5113495bSYour Name #define RX_MPDU_INFO_PRE_DELIM_COUNT_MSB 27 1673*5113495bSYour Name #define RX_MPDU_INFO_PRE_DELIM_COUNT_MASK 0x0fff0000 1674*5113495bSYour Name 1675*5113495bSYour Name 1676*5113495bSYour Name /* Description AMPDU_FLAG 1677*5113495bSYour Name 1678*5113495bSYour Name When set, received frame was part of an A-MPDU. 1679*5113495bSYour Name 1680*5113495bSYour Name In case of ndp or phy_err, this field will never be set. 1681*5113495bSYour Name 1682*5113495bSYour Name <legal all> 1683*5113495bSYour Name */ 1684*5113495bSYour Name 1685*5113495bSYour Name #define RX_MPDU_INFO_AMPDU_FLAG_OFFSET 0x00000030 1686*5113495bSYour Name #define RX_MPDU_INFO_AMPDU_FLAG_LSB 28 1687*5113495bSYour Name #define RX_MPDU_INFO_AMPDU_FLAG_MSB 28 1688*5113495bSYour Name #define RX_MPDU_INFO_AMPDU_FLAG_MASK 0x10000000 1689*5113495bSYour Name 1690*5113495bSYour Name 1691*5113495bSYour Name /* Description BAR_FRAME 1692*5113495bSYour Name 1693*5113495bSYour Name In case of ndp or phy_err or AST_based_lookup_valid == 0, 1694*5113495bSYour Name this field will be set to 0 1695*5113495bSYour Name 1696*5113495bSYour Name When set, received frame is a BAR frame 1697*5113495bSYour Name <legal all> 1698*5113495bSYour Name */ 1699*5113495bSYour Name 1700*5113495bSYour Name #define RX_MPDU_INFO_BAR_FRAME_OFFSET 0x00000030 1701*5113495bSYour Name #define RX_MPDU_INFO_BAR_FRAME_LSB 29 1702*5113495bSYour Name #define RX_MPDU_INFO_BAR_FRAME_MSB 29 1703*5113495bSYour Name #define RX_MPDU_INFO_BAR_FRAME_MASK 0x20000000 1704*5113495bSYour Name 1705*5113495bSYour Name 1706*5113495bSYour Name /* Description RAW_MPDU 1707*5113495bSYour Name 1708*5113495bSYour Name Consumer: SW 1709*5113495bSYour Name Producer: RXOLE 1710*5113495bSYour Name 1711*5113495bSYour Name RXPCU sets this field to 0 and RXOLE overwrites it. 1712*5113495bSYour Name 1713*5113495bSYour Name Set to 1 by RXOLE when it has not performed any 802.11 to 1714*5113495bSYour Name Ethernet/Natvie WiFi header conversion on this MPDU. 1715*5113495bSYour Name <legal all> 1716*5113495bSYour Name */ 1717*5113495bSYour Name 1718*5113495bSYour Name #define RX_MPDU_INFO_RAW_MPDU_OFFSET 0x00000030 1719*5113495bSYour Name #define RX_MPDU_INFO_RAW_MPDU_LSB 30 1720*5113495bSYour Name #define RX_MPDU_INFO_RAW_MPDU_MSB 30 1721*5113495bSYour Name #define RX_MPDU_INFO_RAW_MPDU_MASK 0x40000000 1722*5113495bSYour Name 1723*5113495bSYour Name 1724*5113495bSYour Name /* Description RESERVED_12 1725*5113495bSYour Name 1726*5113495bSYour Name <legal 0> 1727*5113495bSYour Name */ 1728*5113495bSYour Name 1729*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_12_OFFSET 0x00000030 1730*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_12_LSB 31 1731*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_12_MSB 31 1732*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_12_MASK 0x80000000 1733*5113495bSYour Name 1734*5113495bSYour Name 1735*5113495bSYour Name /* Description MPDU_LENGTH 1736*5113495bSYour Name 1737*5113495bSYour Name In case of ndp or phy_err this field will be set to 0 1738*5113495bSYour Name 1739*5113495bSYour Name MPDU length before decapsulation. 1740*5113495bSYour Name <legal all> 1741*5113495bSYour Name */ 1742*5113495bSYour Name 1743*5113495bSYour Name #define RX_MPDU_INFO_MPDU_LENGTH_OFFSET 0x00000034 1744*5113495bSYour Name #define RX_MPDU_INFO_MPDU_LENGTH_LSB 0 1745*5113495bSYour Name #define RX_MPDU_INFO_MPDU_LENGTH_MSB 13 1746*5113495bSYour Name #define RX_MPDU_INFO_MPDU_LENGTH_MASK 0x00003fff 1747*5113495bSYour Name 1748*5113495bSYour Name 1749*5113495bSYour Name /* Description FIRST_MPDU 1750*5113495bSYour Name 1751*5113495bSYour Name See definition in RX attention descriptor 1752*5113495bSYour Name 1753*5113495bSYour Name In case of ndp or phy_err, this field will be set. Note 1754*5113495bSYour Name however that there will not actually be any data contents 1755*5113495bSYour Name in the MPDU. 1756*5113495bSYour Name <legal all> 1757*5113495bSYour Name */ 1758*5113495bSYour Name 1759*5113495bSYour Name #define RX_MPDU_INFO_FIRST_MPDU_OFFSET 0x00000034 1760*5113495bSYour Name #define RX_MPDU_INFO_FIRST_MPDU_LSB 14 1761*5113495bSYour Name #define RX_MPDU_INFO_FIRST_MPDU_MSB 14 1762*5113495bSYour Name #define RX_MPDU_INFO_FIRST_MPDU_MASK 0x00004000 1763*5113495bSYour Name 1764*5113495bSYour Name 1765*5113495bSYour Name /* Description MCAST_BCAST 1766*5113495bSYour Name 1767*5113495bSYour Name In case of ndp or phy_err or Phy_err_during_mpdu_header 1768*5113495bSYour Name this field will be set to 0 1769*5113495bSYour Name 1770*5113495bSYour Name See definition in RX attention descriptor 1771*5113495bSYour Name <legal all> 1772*5113495bSYour Name */ 1773*5113495bSYour Name 1774*5113495bSYour Name #define RX_MPDU_INFO_MCAST_BCAST_OFFSET 0x00000034 1775*5113495bSYour Name #define RX_MPDU_INFO_MCAST_BCAST_LSB 15 1776*5113495bSYour Name #define RX_MPDU_INFO_MCAST_BCAST_MSB 15 1777*5113495bSYour Name #define RX_MPDU_INFO_MCAST_BCAST_MASK 0x00008000 1778*5113495bSYour Name 1779*5113495bSYour Name 1780*5113495bSYour Name /* Description AST_INDEX_NOT_FOUND 1781*5113495bSYour Name 1782*5113495bSYour Name In case of ndp or phy_err or Phy_err_during_mpdu_header 1783*5113495bSYour Name this field will be set to 0 1784*5113495bSYour Name 1785*5113495bSYour Name See definition in RX attention descriptor 1786*5113495bSYour Name <legal all> 1787*5113495bSYour Name */ 1788*5113495bSYour Name 1789*5113495bSYour Name #define RX_MPDU_INFO_AST_INDEX_NOT_FOUND_OFFSET 0x00000034 1790*5113495bSYour Name #define RX_MPDU_INFO_AST_INDEX_NOT_FOUND_LSB 16 1791*5113495bSYour Name #define RX_MPDU_INFO_AST_INDEX_NOT_FOUND_MSB 16 1792*5113495bSYour Name #define RX_MPDU_INFO_AST_INDEX_NOT_FOUND_MASK 0x00010000 1793*5113495bSYour Name 1794*5113495bSYour Name 1795*5113495bSYour Name /* Description AST_INDEX_TIMEOUT 1796*5113495bSYour Name 1797*5113495bSYour Name In case of ndp or phy_err or Phy_err_during_mpdu_header 1798*5113495bSYour Name this field will be set to 0 1799*5113495bSYour Name 1800*5113495bSYour Name See definition in RX attention descriptor 1801*5113495bSYour Name <legal all> 1802*5113495bSYour Name */ 1803*5113495bSYour Name 1804*5113495bSYour Name #define RX_MPDU_INFO_AST_INDEX_TIMEOUT_OFFSET 0x00000034 1805*5113495bSYour Name #define RX_MPDU_INFO_AST_INDEX_TIMEOUT_LSB 17 1806*5113495bSYour Name #define RX_MPDU_INFO_AST_INDEX_TIMEOUT_MSB 17 1807*5113495bSYour Name #define RX_MPDU_INFO_AST_INDEX_TIMEOUT_MASK 0x00020000 1808*5113495bSYour Name 1809*5113495bSYour Name 1810*5113495bSYour Name /* Description POWER_MGMT 1811*5113495bSYour Name 1812*5113495bSYour Name In case of ndp or phy_err or Phy_err_during_mpdu_header 1813*5113495bSYour Name this field will be set to 0 1814*5113495bSYour Name 1815*5113495bSYour Name See definition in RX attention descriptor 1816*5113495bSYour Name <legal all> 1817*5113495bSYour Name */ 1818*5113495bSYour Name 1819*5113495bSYour Name #define RX_MPDU_INFO_POWER_MGMT_OFFSET 0x00000034 1820*5113495bSYour Name #define RX_MPDU_INFO_POWER_MGMT_LSB 18 1821*5113495bSYour Name #define RX_MPDU_INFO_POWER_MGMT_MSB 18 1822*5113495bSYour Name #define RX_MPDU_INFO_POWER_MGMT_MASK 0x00040000 1823*5113495bSYour Name 1824*5113495bSYour Name 1825*5113495bSYour Name /* Description NON_QOS 1826*5113495bSYour Name 1827*5113495bSYour Name In case of ndp or phy_err or Phy_err_during_mpdu_header 1828*5113495bSYour Name this field will be set to 1 1829*5113495bSYour Name 1830*5113495bSYour Name See definition in RX attention descriptor 1831*5113495bSYour Name <legal all> 1832*5113495bSYour Name */ 1833*5113495bSYour Name 1834*5113495bSYour Name #define RX_MPDU_INFO_NON_QOS_OFFSET 0x00000034 1835*5113495bSYour Name #define RX_MPDU_INFO_NON_QOS_LSB 19 1836*5113495bSYour Name #define RX_MPDU_INFO_NON_QOS_MSB 19 1837*5113495bSYour Name #define RX_MPDU_INFO_NON_QOS_MASK 0x00080000 1838*5113495bSYour Name 1839*5113495bSYour Name 1840*5113495bSYour Name /* Description NULL_DATA 1841*5113495bSYour Name 1842*5113495bSYour Name In case of ndp or phy_err or Phy_err_during_mpdu_header 1843*5113495bSYour Name this field will be set to 0 1844*5113495bSYour Name 1845*5113495bSYour Name See definition in RX attention descriptor 1846*5113495bSYour Name <legal all> 1847*5113495bSYour Name */ 1848*5113495bSYour Name 1849*5113495bSYour Name #define RX_MPDU_INFO_NULL_DATA_OFFSET 0x00000034 1850*5113495bSYour Name #define RX_MPDU_INFO_NULL_DATA_LSB 20 1851*5113495bSYour Name #define RX_MPDU_INFO_NULL_DATA_MSB 20 1852*5113495bSYour Name #define RX_MPDU_INFO_NULL_DATA_MASK 0x00100000 1853*5113495bSYour Name 1854*5113495bSYour Name 1855*5113495bSYour Name /* Description MGMT_TYPE 1856*5113495bSYour Name 1857*5113495bSYour Name In case of ndp or phy_err or Phy_err_during_mpdu_header 1858*5113495bSYour Name this field will be set to 0 1859*5113495bSYour Name 1860*5113495bSYour Name See definition in RX attention descriptor 1861*5113495bSYour Name <legal all> 1862*5113495bSYour Name */ 1863*5113495bSYour Name 1864*5113495bSYour Name #define RX_MPDU_INFO_MGMT_TYPE_OFFSET 0x00000034 1865*5113495bSYour Name #define RX_MPDU_INFO_MGMT_TYPE_LSB 21 1866*5113495bSYour Name #define RX_MPDU_INFO_MGMT_TYPE_MSB 21 1867*5113495bSYour Name #define RX_MPDU_INFO_MGMT_TYPE_MASK 0x00200000 1868*5113495bSYour Name 1869*5113495bSYour Name 1870*5113495bSYour Name /* Description CTRL_TYPE 1871*5113495bSYour Name 1872*5113495bSYour Name In case of ndp or phy_err or Phy_err_during_mpdu_header 1873*5113495bSYour Name this field will be set to 0 1874*5113495bSYour Name 1875*5113495bSYour Name See definition in RX attention descriptor 1876*5113495bSYour Name <legal all> 1877*5113495bSYour Name */ 1878*5113495bSYour Name 1879*5113495bSYour Name #define RX_MPDU_INFO_CTRL_TYPE_OFFSET 0x00000034 1880*5113495bSYour Name #define RX_MPDU_INFO_CTRL_TYPE_LSB 22 1881*5113495bSYour Name #define RX_MPDU_INFO_CTRL_TYPE_MSB 22 1882*5113495bSYour Name #define RX_MPDU_INFO_CTRL_TYPE_MASK 0x00400000 1883*5113495bSYour Name 1884*5113495bSYour Name 1885*5113495bSYour Name /* Description MORE_DATA 1886*5113495bSYour Name 1887*5113495bSYour Name In case of ndp or phy_err or Phy_err_during_mpdu_header 1888*5113495bSYour Name this field will be set to 0 1889*5113495bSYour Name 1890*5113495bSYour Name See definition in RX attention descriptor 1891*5113495bSYour Name <legal all> 1892*5113495bSYour Name */ 1893*5113495bSYour Name 1894*5113495bSYour Name #define RX_MPDU_INFO_MORE_DATA_OFFSET 0x00000034 1895*5113495bSYour Name #define RX_MPDU_INFO_MORE_DATA_LSB 23 1896*5113495bSYour Name #define RX_MPDU_INFO_MORE_DATA_MSB 23 1897*5113495bSYour Name #define RX_MPDU_INFO_MORE_DATA_MASK 0x00800000 1898*5113495bSYour Name 1899*5113495bSYour Name 1900*5113495bSYour Name /* Description EOSP 1901*5113495bSYour Name 1902*5113495bSYour Name In case of ndp or phy_err or Phy_err_during_mpdu_header 1903*5113495bSYour Name this field will be set to 0 1904*5113495bSYour Name 1905*5113495bSYour Name See definition in RX attention descriptor 1906*5113495bSYour Name <legal all> 1907*5113495bSYour Name */ 1908*5113495bSYour Name 1909*5113495bSYour Name #define RX_MPDU_INFO_EOSP_OFFSET 0x00000034 1910*5113495bSYour Name #define RX_MPDU_INFO_EOSP_LSB 24 1911*5113495bSYour Name #define RX_MPDU_INFO_EOSP_MSB 24 1912*5113495bSYour Name #define RX_MPDU_INFO_EOSP_MASK 0x01000000 1913*5113495bSYour Name 1914*5113495bSYour Name 1915*5113495bSYour Name /* Description FRAGMENT_FLAG 1916*5113495bSYour Name 1917*5113495bSYour Name In case of ndp or phy_err or Phy_err_during_mpdu_header 1918*5113495bSYour Name this field will be set to 0 1919*5113495bSYour Name 1920*5113495bSYour Name See definition in RX attention descriptor 1921*5113495bSYour Name <legal all> 1922*5113495bSYour Name */ 1923*5113495bSYour Name 1924*5113495bSYour Name #define RX_MPDU_INFO_FRAGMENT_FLAG_OFFSET 0x00000034 1925*5113495bSYour Name #define RX_MPDU_INFO_FRAGMENT_FLAG_LSB 25 1926*5113495bSYour Name #define RX_MPDU_INFO_FRAGMENT_FLAG_MSB 25 1927*5113495bSYour Name #define RX_MPDU_INFO_FRAGMENT_FLAG_MASK 0x02000000 1928*5113495bSYour Name 1929*5113495bSYour Name 1930*5113495bSYour Name /* Description ORDER 1931*5113495bSYour Name 1932*5113495bSYour Name In case of ndp or phy_err or Phy_err_during_mpdu_header 1933*5113495bSYour Name this field will be set to 0 1934*5113495bSYour Name 1935*5113495bSYour Name See definition in RX attention descriptor 1936*5113495bSYour Name 1937*5113495bSYour Name <legal all> 1938*5113495bSYour Name */ 1939*5113495bSYour Name 1940*5113495bSYour Name #define RX_MPDU_INFO_ORDER_OFFSET 0x00000034 1941*5113495bSYour Name #define RX_MPDU_INFO_ORDER_LSB 26 1942*5113495bSYour Name #define RX_MPDU_INFO_ORDER_MSB 26 1943*5113495bSYour Name #define RX_MPDU_INFO_ORDER_MASK 0x04000000 1944*5113495bSYour Name 1945*5113495bSYour Name 1946*5113495bSYour Name /* Description U_APSD_TRIGGER 1947*5113495bSYour Name 1948*5113495bSYour Name In case of ndp or phy_err or Phy_err_during_mpdu_header 1949*5113495bSYour Name this field will be set to 0 1950*5113495bSYour Name 1951*5113495bSYour Name See definition in RX attention descriptor 1952*5113495bSYour Name <legal all> 1953*5113495bSYour Name */ 1954*5113495bSYour Name 1955*5113495bSYour Name #define RX_MPDU_INFO_U_APSD_TRIGGER_OFFSET 0x00000034 1956*5113495bSYour Name #define RX_MPDU_INFO_U_APSD_TRIGGER_LSB 27 1957*5113495bSYour Name #define RX_MPDU_INFO_U_APSD_TRIGGER_MSB 27 1958*5113495bSYour Name #define RX_MPDU_INFO_U_APSD_TRIGGER_MASK 0x08000000 1959*5113495bSYour Name 1960*5113495bSYour Name 1961*5113495bSYour Name /* Description ENCRYPT_REQUIRED 1962*5113495bSYour Name 1963*5113495bSYour Name In case of ndp or phy_err or Phy_err_during_mpdu_header 1964*5113495bSYour Name this field will be set to 0 1965*5113495bSYour Name 1966*5113495bSYour Name See definition in RX attention descriptor 1967*5113495bSYour Name <legal all> 1968*5113495bSYour Name */ 1969*5113495bSYour Name 1970*5113495bSYour Name #define RX_MPDU_INFO_ENCRYPT_REQUIRED_OFFSET 0x00000034 1971*5113495bSYour Name #define RX_MPDU_INFO_ENCRYPT_REQUIRED_LSB 28 1972*5113495bSYour Name #define RX_MPDU_INFO_ENCRYPT_REQUIRED_MSB 28 1973*5113495bSYour Name #define RX_MPDU_INFO_ENCRYPT_REQUIRED_MASK 0x10000000 1974*5113495bSYour Name 1975*5113495bSYour Name 1976*5113495bSYour Name /* Description DIRECTED 1977*5113495bSYour Name 1978*5113495bSYour Name In case of ndp or phy_err or Phy_err_during_mpdu_header 1979*5113495bSYour Name this field will be set to 0 1980*5113495bSYour Name 1981*5113495bSYour Name See definition in RX attention descriptor 1982*5113495bSYour Name <legal all> 1983*5113495bSYour Name */ 1984*5113495bSYour Name 1985*5113495bSYour Name #define RX_MPDU_INFO_DIRECTED_OFFSET 0x00000034 1986*5113495bSYour Name #define RX_MPDU_INFO_DIRECTED_LSB 29 1987*5113495bSYour Name #define RX_MPDU_INFO_DIRECTED_MSB 29 1988*5113495bSYour Name #define RX_MPDU_INFO_DIRECTED_MASK 0x20000000 1989*5113495bSYour Name 1990*5113495bSYour Name 1991*5113495bSYour Name /* Description AMSDU_PRESENT 1992*5113495bSYour Name 1993*5113495bSYour Name Field only valid when Mpdu_qos_control_valid is set 1994*5113495bSYour Name 1995*5113495bSYour Name The 'amsdu_present' bit within the QoS control field of 1996*5113495bSYour Name the MPDU 1997*5113495bSYour Name <legal all> 1998*5113495bSYour Name */ 1999*5113495bSYour Name 2000*5113495bSYour Name #define RX_MPDU_INFO_AMSDU_PRESENT_OFFSET 0x00000034 2001*5113495bSYour Name #define RX_MPDU_INFO_AMSDU_PRESENT_LSB 30 2002*5113495bSYour Name #define RX_MPDU_INFO_AMSDU_PRESENT_MSB 30 2003*5113495bSYour Name #define RX_MPDU_INFO_AMSDU_PRESENT_MASK 0x40000000 2004*5113495bSYour Name 2005*5113495bSYour Name 2006*5113495bSYour Name /* Description RESERVED_13 2007*5113495bSYour Name 2008*5113495bSYour Name Field only valid when Mpdu_qos_control_valid is set 2009*5113495bSYour Name 2010*5113495bSYour Name This indicates whether the 'Ack policy' field within the 2011*5113495bSYour Name QoS control field of the MPDU indicates 'no-Ack.' 2012*5113495bSYour Name <legal all> 2013*5113495bSYour Name */ 2014*5113495bSYour Name 2015*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_13_OFFSET 0x00000034 2016*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_13_LSB 31 2017*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_13_MSB 31 2018*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_13_MASK 0x80000000 2019*5113495bSYour Name 2020*5113495bSYour Name 2021*5113495bSYour Name /* Description MPDU_FRAME_CONTROL_FIELD 2022*5113495bSYour Name 2023*5113495bSYour Name Field only valid when Mpdu_frame_control_valid is set 2024*5113495bSYour Name 2025*5113495bSYour Name The frame control field of this received MPDU. 2026*5113495bSYour Name 2027*5113495bSYour Name Field only valid when Ndp_frame and phy_err are NOT set 2028*5113495bSYour Name 2029*5113495bSYour Name Bytes 0 + 1 of the received MPDU 2030*5113495bSYour Name <legal all> 2031*5113495bSYour Name */ 2032*5113495bSYour Name 2033*5113495bSYour Name #define RX_MPDU_INFO_MPDU_FRAME_CONTROL_FIELD_OFFSET 0x00000038 2034*5113495bSYour Name #define RX_MPDU_INFO_MPDU_FRAME_CONTROL_FIELD_LSB 0 2035*5113495bSYour Name #define RX_MPDU_INFO_MPDU_FRAME_CONTROL_FIELD_MSB 15 2036*5113495bSYour Name #define RX_MPDU_INFO_MPDU_FRAME_CONTROL_FIELD_MASK 0x0000ffff 2037*5113495bSYour Name 2038*5113495bSYour Name 2039*5113495bSYour Name /* Description MPDU_DURATION_FIELD 2040*5113495bSYour Name 2041*5113495bSYour Name Field only valid when Mpdu_duration_valid is set 2042*5113495bSYour Name 2043*5113495bSYour Name The duration field of this received MPDU. 2044*5113495bSYour Name <legal all> 2045*5113495bSYour Name */ 2046*5113495bSYour Name 2047*5113495bSYour Name #define RX_MPDU_INFO_MPDU_DURATION_FIELD_OFFSET 0x00000038 2048*5113495bSYour Name #define RX_MPDU_INFO_MPDU_DURATION_FIELD_LSB 16 2049*5113495bSYour Name #define RX_MPDU_INFO_MPDU_DURATION_FIELD_MSB 31 2050*5113495bSYour Name #define RX_MPDU_INFO_MPDU_DURATION_FIELD_MASK 0xffff0000 2051*5113495bSYour Name 2052*5113495bSYour Name 2053*5113495bSYour Name /* Description MAC_ADDR_AD1_31_0 2054*5113495bSYour Name 2055*5113495bSYour Name Field only valid when mac_addr_ad1_valid is set 2056*5113495bSYour Name 2057*5113495bSYour Name The Least Significant 4 bytes of the Received Frames MAC 2058*5113495bSYour Name Address AD1 2059*5113495bSYour Name <legal all> 2060*5113495bSYour Name */ 2061*5113495bSYour Name 2062*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD1_31_0_OFFSET 0x0000003c 2063*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD1_31_0_LSB 0 2064*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD1_31_0_MSB 31 2065*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD1_31_0_MASK 0xffffffff 2066*5113495bSYour Name 2067*5113495bSYour Name 2068*5113495bSYour Name /* Description MAC_ADDR_AD1_47_32 2069*5113495bSYour Name 2070*5113495bSYour Name Field only valid when mac_addr_ad1_valid is set 2071*5113495bSYour Name 2072*5113495bSYour Name The 2 most significant bytes of the Received Frames MAC 2073*5113495bSYour Name Address AD1 2074*5113495bSYour Name <legal all> 2075*5113495bSYour Name */ 2076*5113495bSYour Name 2077*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD1_47_32_OFFSET 0x00000040 2078*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD1_47_32_LSB 0 2079*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD1_47_32_MSB 15 2080*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD1_47_32_MASK 0x0000ffff 2081*5113495bSYour Name 2082*5113495bSYour Name 2083*5113495bSYour Name /* Description MAC_ADDR_AD2_15_0 2084*5113495bSYour Name 2085*5113495bSYour Name Field only valid when mac_addr_ad2_valid is set 2086*5113495bSYour Name 2087*5113495bSYour Name The Least Significant 2 bytes of the Received Frames MAC 2088*5113495bSYour Name Address AD2 2089*5113495bSYour Name <legal all> 2090*5113495bSYour Name */ 2091*5113495bSYour Name 2092*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD2_15_0_OFFSET 0x00000040 2093*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD2_15_0_LSB 16 2094*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD2_15_0_MSB 31 2095*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD2_15_0_MASK 0xffff0000 2096*5113495bSYour Name 2097*5113495bSYour Name 2098*5113495bSYour Name /* Description MAC_ADDR_AD2_47_16 2099*5113495bSYour Name 2100*5113495bSYour Name Field only valid when mac_addr_ad2_valid is set 2101*5113495bSYour Name 2102*5113495bSYour Name The 4 most significant bytes of the Received Frames MAC 2103*5113495bSYour Name Address AD2 2104*5113495bSYour Name <legal all> 2105*5113495bSYour Name */ 2106*5113495bSYour Name 2107*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD2_47_16_OFFSET 0x00000044 2108*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD2_47_16_LSB 0 2109*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD2_47_16_MSB 31 2110*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD2_47_16_MASK 0xffffffff 2111*5113495bSYour Name 2112*5113495bSYour Name 2113*5113495bSYour Name /* Description MAC_ADDR_AD3_31_0 2114*5113495bSYour Name 2115*5113495bSYour Name Field only valid when mac_addr_ad3_valid is set 2116*5113495bSYour Name 2117*5113495bSYour Name The Least Significant 4 bytes of the Received Frames MAC 2118*5113495bSYour Name Address AD3 2119*5113495bSYour Name <legal all> 2120*5113495bSYour Name */ 2121*5113495bSYour Name 2122*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD3_31_0_OFFSET 0x00000048 2123*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD3_31_0_LSB 0 2124*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD3_31_0_MSB 31 2125*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD3_31_0_MASK 0xffffffff 2126*5113495bSYour Name 2127*5113495bSYour Name 2128*5113495bSYour Name /* Description MAC_ADDR_AD3_47_32 2129*5113495bSYour Name 2130*5113495bSYour Name Field only valid when mac_addr_ad3_valid is set 2131*5113495bSYour Name 2132*5113495bSYour Name The 2 most significant bytes of the Received Frames MAC 2133*5113495bSYour Name Address AD3 2134*5113495bSYour Name <legal all> 2135*5113495bSYour Name */ 2136*5113495bSYour Name 2137*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD3_47_32_OFFSET 0x0000004c 2138*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD3_47_32_LSB 0 2139*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD3_47_32_MSB 15 2140*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD3_47_32_MASK 0x0000ffff 2141*5113495bSYour Name 2142*5113495bSYour Name 2143*5113495bSYour Name /* Description MPDU_SEQUENCE_CONTROL_FIELD 2144*5113495bSYour Name 2145*5113495bSYour Name Field only valid when mpdu_sequence_control_valid is set 2146*5113495bSYour Name 2147*5113495bSYour Name 2148*5113495bSYour Name The sequence control field of the MPDU 2149*5113495bSYour Name <legal all> 2150*5113495bSYour Name */ 2151*5113495bSYour Name 2152*5113495bSYour Name #define RX_MPDU_INFO_MPDU_SEQUENCE_CONTROL_FIELD_OFFSET 0x0000004c 2153*5113495bSYour Name #define RX_MPDU_INFO_MPDU_SEQUENCE_CONTROL_FIELD_LSB 16 2154*5113495bSYour Name #define RX_MPDU_INFO_MPDU_SEQUENCE_CONTROL_FIELD_MSB 31 2155*5113495bSYour Name #define RX_MPDU_INFO_MPDU_SEQUENCE_CONTROL_FIELD_MASK 0xffff0000 2156*5113495bSYour Name 2157*5113495bSYour Name 2158*5113495bSYour Name /* Description MAC_ADDR_AD4_31_0 2159*5113495bSYour Name 2160*5113495bSYour Name Field only valid when mac_addr_ad4_valid is set 2161*5113495bSYour Name 2162*5113495bSYour Name The Least Significant 4 bytes of the Received Frames MAC 2163*5113495bSYour Name Address AD4 2164*5113495bSYour Name <legal all> 2165*5113495bSYour Name */ 2166*5113495bSYour Name 2167*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD4_31_0_OFFSET 0x00000050 2168*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD4_31_0_LSB 0 2169*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD4_31_0_MSB 31 2170*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD4_31_0_MASK 0xffffffff 2171*5113495bSYour Name 2172*5113495bSYour Name 2173*5113495bSYour Name /* Description MAC_ADDR_AD4_47_32 2174*5113495bSYour Name 2175*5113495bSYour Name Field only valid when mac_addr_ad4_valid is set 2176*5113495bSYour Name 2177*5113495bSYour Name The 2 most significant bytes of the Received Frames MAC 2178*5113495bSYour Name Address AD4 2179*5113495bSYour Name <legal all> 2180*5113495bSYour Name */ 2181*5113495bSYour Name 2182*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD4_47_32_OFFSET 0x00000054 2183*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD4_47_32_LSB 0 2184*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD4_47_32_MSB 15 2185*5113495bSYour Name #define RX_MPDU_INFO_MAC_ADDR_AD4_47_32_MASK 0x0000ffff 2186*5113495bSYour Name 2187*5113495bSYour Name 2188*5113495bSYour Name /* Description MPDU_QOS_CONTROL_FIELD 2189*5113495bSYour Name 2190*5113495bSYour Name Field only valid when mpdu_qos_control_valid is set 2191*5113495bSYour Name 2192*5113495bSYour Name The sequence control field of the MPDU 2193*5113495bSYour Name <legal all> 2194*5113495bSYour Name */ 2195*5113495bSYour Name 2196*5113495bSYour Name #define RX_MPDU_INFO_MPDU_QOS_CONTROL_FIELD_OFFSET 0x00000054 2197*5113495bSYour Name #define RX_MPDU_INFO_MPDU_QOS_CONTROL_FIELD_LSB 16 2198*5113495bSYour Name #define RX_MPDU_INFO_MPDU_QOS_CONTROL_FIELD_MSB 31 2199*5113495bSYour Name #define RX_MPDU_INFO_MPDU_QOS_CONTROL_FIELD_MASK 0xffff0000 2200*5113495bSYour Name 2201*5113495bSYour Name 2202*5113495bSYour Name /* Description MPDU_HT_CONTROL_FIELD 2203*5113495bSYour Name 2204*5113495bSYour Name Field only valid when mpdu_qos_control_valid is set 2205*5113495bSYour Name 2206*5113495bSYour Name The HT control field of the MPDU 2207*5113495bSYour Name <legal all> 2208*5113495bSYour Name */ 2209*5113495bSYour Name 2210*5113495bSYour Name #define RX_MPDU_INFO_MPDU_HT_CONTROL_FIELD_OFFSET 0x00000058 2211*5113495bSYour Name #define RX_MPDU_INFO_MPDU_HT_CONTROL_FIELD_LSB 0 2212*5113495bSYour Name #define RX_MPDU_INFO_MPDU_HT_CONTROL_FIELD_MSB 31 2213*5113495bSYour Name #define RX_MPDU_INFO_MPDU_HT_CONTROL_FIELD_MASK 0xffffffff 2214*5113495bSYour Name 2215*5113495bSYour Name 2216*5113495bSYour Name /* Description VDEV_ID 2217*5113495bSYour Name 2218*5113495bSYour Name Consumer: RXOLE 2219*5113495bSYour Name Producer: FW 2220*5113495bSYour Name 2221*5113495bSYour Name Virtual device associated with this peer 2222*5113495bSYour Name 2223*5113495bSYour Name RXOLE uses this to determine intra-BSS routing. 2224*5113495bSYour Name 2225*5113495bSYour Name <legal all> 2226*5113495bSYour Name */ 2227*5113495bSYour Name 2228*5113495bSYour Name #define RX_MPDU_INFO_VDEV_ID_OFFSET 0x0000005c 2229*5113495bSYour Name #define RX_MPDU_INFO_VDEV_ID_LSB 0 2230*5113495bSYour Name #define RX_MPDU_INFO_VDEV_ID_MSB 7 2231*5113495bSYour Name #define RX_MPDU_INFO_VDEV_ID_MASK 0x000000ff 2232*5113495bSYour Name 2233*5113495bSYour Name 2234*5113495bSYour Name /* Description SERVICE_CODE 2235*5113495bSYour Name 2236*5113495bSYour Name Opaque service code between PPE and Wi-Fi 2237*5113495bSYour Name 2238*5113495bSYour Name This field gets passed on by REO to PPE in the EDMA descriptor 2239*5113495bSYour Name ('REO_TO_PPE_RING'). 2240*5113495bSYour Name 2241*5113495bSYour Name <legal all> 2242*5113495bSYour Name */ 2243*5113495bSYour Name 2244*5113495bSYour Name #define RX_MPDU_INFO_SERVICE_CODE_OFFSET 0x0000005c 2245*5113495bSYour Name #define RX_MPDU_INFO_SERVICE_CODE_LSB 8 2246*5113495bSYour Name #define RX_MPDU_INFO_SERVICE_CODE_MSB 16 2247*5113495bSYour Name #define RX_MPDU_INFO_SERVICE_CODE_MASK 0x0001ff00 2248*5113495bSYour Name 2249*5113495bSYour Name 2250*5113495bSYour Name /* Description PRIORITY_VALID 2251*5113495bSYour Name 2252*5113495bSYour Name This field gets passed on by REO to PPE in the EDMA descriptor 2253*5113495bSYour Name ('REO_TO_PPE_RING'). 2254*5113495bSYour Name 2255*5113495bSYour Name <legal all> 2256*5113495bSYour Name */ 2257*5113495bSYour Name 2258*5113495bSYour Name #define RX_MPDU_INFO_PRIORITY_VALID_OFFSET 0x0000005c 2259*5113495bSYour Name #define RX_MPDU_INFO_PRIORITY_VALID_LSB 17 2260*5113495bSYour Name #define RX_MPDU_INFO_PRIORITY_VALID_MSB 17 2261*5113495bSYour Name #define RX_MPDU_INFO_PRIORITY_VALID_MASK 0x00020000 2262*5113495bSYour Name 2263*5113495bSYour Name 2264*5113495bSYour Name /* Description SRC_INFO 2265*5113495bSYour Name 2266*5113495bSYour Name Source (virtual) device/interface info. associated with 2267*5113495bSYour Name this peer 2268*5113495bSYour Name 2269*5113495bSYour Name This field gets passed on by REO to PPE in the EDMA descriptor 2270*5113495bSYour Name ('REO_TO_PPE_RING'). 2271*5113495bSYour Name 2272*5113495bSYour Name <legal all> 2273*5113495bSYour Name */ 2274*5113495bSYour Name 2275*5113495bSYour Name #define RX_MPDU_INFO_SRC_INFO_OFFSET 0x0000005c 2276*5113495bSYour Name #define RX_MPDU_INFO_SRC_INFO_LSB 18 2277*5113495bSYour Name #define RX_MPDU_INFO_SRC_INFO_MSB 29 2278*5113495bSYour Name #define RX_MPDU_INFO_SRC_INFO_MASK 0x3ffc0000 2279*5113495bSYour Name 2280*5113495bSYour Name 2281*5113495bSYour Name /* Description RESERVED_23A 2282*5113495bSYour Name 2283*5113495bSYour Name <legal 0> 2284*5113495bSYour Name */ 2285*5113495bSYour Name 2286*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_23A_OFFSET 0x0000005c 2287*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_23A_LSB 30 2288*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_23A_MSB 30 2289*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_23A_MASK 0x40000000 2290*5113495bSYour Name 2291*5113495bSYour Name 2292*5113495bSYour Name /* Description MULTI_LINK_ADDR_AD1_AD2_VALID 2293*5113495bSYour Name 2294*5113495bSYour Name If set, Rx OLE shall convert Address1 and Address2 of received 2295*5113495bSYour Name data frames to multi-link addresses during decapsulation 2296*5113495bSYour Name to Ethernet or Native WiFi 2297*5113495bSYour Name <legal all> 2298*5113495bSYour Name */ 2299*5113495bSYour Name 2300*5113495bSYour Name #define RX_MPDU_INFO_MULTI_LINK_ADDR_AD1_AD2_VALID_OFFSET 0x0000005c 2301*5113495bSYour Name #define RX_MPDU_INFO_MULTI_LINK_ADDR_AD1_AD2_VALID_LSB 31 2302*5113495bSYour Name #define RX_MPDU_INFO_MULTI_LINK_ADDR_AD1_AD2_VALID_MSB 31 2303*5113495bSYour Name #define RX_MPDU_INFO_MULTI_LINK_ADDR_AD1_AD2_VALID_MASK 0x80000000 2304*5113495bSYour Name 2305*5113495bSYour Name 2306*5113495bSYour Name /* Description MULTI_LINK_ADDR_AD1_31_0 2307*5113495bSYour Name 2308*5113495bSYour Name Field only valid if Multi_link_addr_ad1_ad2_valid is set 2309*5113495bSYour Name 2310*5113495bSYour Name 2311*5113495bSYour Name Multi-link receiver address (address1), bits [31:0] 2312*5113495bSYour Name */ 2313*5113495bSYour Name 2314*5113495bSYour Name #define RX_MPDU_INFO_MULTI_LINK_ADDR_AD1_31_0_OFFSET 0x00000060 2315*5113495bSYour Name #define RX_MPDU_INFO_MULTI_LINK_ADDR_AD1_31_0_LSB 0 2316*5113495bSYour Name #define RX_MPDU_INFO_MULTI_LINK_ADDR_AD1_31_0_MSB 31 2317*5113495bSYour Name #define RX_MPDU_INFO_MULTI_LINK_ADDR_AD1_31_0_MASK 0xffffffff 2318*5113495bSYour Name 2319*5113495bSYour Name 2320*5113495bSYour Name /* Description MULTI_LINK_ADDR_AD1_47_32 2321*5113495bSYour Name 2322*5113495bSYour Name Field only valid if Multi_link_addr_ad1_ad2_valid is set 2323*5113495bSYour Name 2324*5113495bSYour Name 2325*5113495bSYour Name Multi-link receiver address (address1), bits [47:32] 2326*5113495bSYour Name */ 2327*5113495bSYour Name 2328*5113495bSYour Name #define RX_MPDU_INFO_MULTI_LINK_ADDR_AD1_47_32_OFFSET 0x00000064 2329*5113495bSYour Name #define RX_MPDU_INFO_MULTI_LINK_ADDR_AD1_47_32_LSB 0 2330*5113495bSYour Name #define RX_MPDU_INFO_MULTI_LINK_ADDR_AD1_47_32_MSB 15 2331*5113495bSYour Name #define RX_MPDU_INFO_MULTI_LINK_ADDR_AD1_47_32_MASK 0x0000ffff 2332*5113495bSYour Name 2333*5113495bSYour Name 2334*5113495bSYour Name /* Description MULTI_LINK_ADDR_AD2_15_0 2335*5113495bSYour Name 2336*5113495bSYour Name Field only valid if Multi_link_addr_ad1_ad2_valid is set 2337*5113495bSYour Name 2338*5113495bSYour Name 2339*5113495bSYour Name Multi-link transmitter address (address2), bits [15:0] 2340*5113495bSYour Name */ 2341*5113495bSYour Name 2342*5113495bSYour Name #define RX_MPDU_INFO_MULTI_LINK_ADDR_AD2_15_0_OFFSET 0x00000064 2343*5113495bSYour Name #define RX_MPDU_INFO_MULTI_LINK_ADDR_AD2_15_0_LSB 16 2344*5113495bSYour Name #define RX_MPDU_INFO_MULTI_LINK_ADDR_AD2_15_0_MSB 31 2345*5113495bSYour Name #define RX_MPDU_INFO_MULTI_LINK_ADDR_AD2_15_0_MASK 0xffff0000 2346*5113495bSYour Name 2347*5113495bSYour Name 2348*5113495bSYour Name /* Description MULTI_LINK_ADDR_AD2_47_16 2349*5113495bSYour Name 2350*5113495bSYour Name Field only valid if Multi_link_addr_ad1_ad2_valid is set 2351*5113495bSYour Name 2352*5113495bSYour Name 2353*5113495bSYour Name Multi-link transmitter address (address2), bits [47:16] 2354*5113495bSYour Name */ 2355*5113495bSYour Name 2356*5113495bSYour Name #define RX_MPDU_INFO_MULTI_LINK_ADDR_AD2_47_16_OFFSET 0x00000068 2357*5113495bSYour Name #define RX_MPDU_INFO_MULTI_LINK_ADDR_AD2_47_16_LSB 0 2358*5113495bSYour Name #define RX_MPDU_INFO_MULTI_LINK_ADDR_AD2_47_16_MSB 31 2359*5113495bSYour Name #define RX_MPDU_INFO_MULTI_LINK_ADDR_AD2_47_16_MASK 0xffffffff 2360*5113495bSYour Name 2361*5113495bSYour Name 2362*5113495bSYour Name /* Description AUTHORIZED_TO_SEND_WDS 2363*5113495bSYour Name 2364*5113495bSYour Name If not set, RXDMA shall perform error-routing for WDS packets 2365*5113495bSYour Name as the sender is not authorized and might misuse WDS frame 2366*5113495bSYour Name format to inject packets with arbitrary DA/SA. 2367*5113495bSYour Name <legal all> 2368*5113495bSYour Name */ 2369*5113495bSYour Name 2370*5113495bSYour Name #define RX_MPDU_INFO_AUTHORIZED_TO_SEND_WDS_OFFSET 0x0000006c 2371*5113495bSYour Name #define RX_MPDU_INFO_AUTHORIZED_TO_SEND_WDS_LSB 0 2372*5113495bSYour Name #define RX_MPDU_INFO_AUTHORIZED_TO_SEND_WDS_MSB 0 2373*5113495bSYour Name #define RX_MPDU_INFO_AUTHORIZED_TO_SEND_WDS_MASK 0x00000001 2374*5113495bSYour Name 2375*5113495bSYour Name 2376*5113495bSYour Name /* Description RESERVED_27A 2377*5113495bSYour Name 2378*5113495bSYour Name Bit 1: disallow_mcbc_da_in_unicast_mpdu: 2379*5113495bSYour Name 2380*5113495bSYour Name If set, RX OLE shall disallow multicast/broadcast DA in 2381*5113495bSYour Name A-MSDU subframes in case of ToDS=0 MPDUs. This may be enabled 2382*5113495bSYour Name for TDLS peers. 2383*5113495bSYour Name <legal 0-1> 2384*5113495bSYour Name */ 2385*5113495bSYour Name 2386*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_27A_OFFSET 0x0000006c 2387*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_27A_LSB 1 2388*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_27A_MSB 31 2389*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_27A_MASK 0xfffffffe 2390*5113495bSYour Name 2391*5113495bSYour Name 2392*5113495bSYour Name /* Description RESERVED_28A 2393*5113495bSYour Name 2394*5113495bSYour Name <legal 0> 2395*5113495bSYour Name */ 2396*5113495bSYour Name 2397*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_28A_OFFSET 0x00000070 2398*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_28A_LSB 0 2399*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_28A_MSB 31 2400*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_28A_MASK 0xffffffff 2401*5113495bSYour Name 2402*5113495bSYour Name 2403*5113495bSYour Name /* Description RESERVED_29A 2404*5113495bSYour Name 2405*5113495bSYour Name <legal 0> 2406*5113495bSYour Name */ 2407*5113495bSYour Name 2408*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_29A_OFFSET 0x00000074 2409*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_29A_LSB 0 2410*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_29A_MSB 31 2411*5113495bSYour Name #define RX_MPDU_INFO_RESERVED_29A_MASK 0xffffffff 2412*5113495bSYour Name 2413*5113495bSYour Name 2414*5113495bSYour Name 2415*5113495bSYour Name #endif // RX_MPDU_INFO 2416