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 18*5113495bSYour Name #ifndef _REO_DESTINATION_RING_H_ 19*5113495bSYour Name #define _REO_DESTINATION_RING_H_ 20*5113495bSYour Name 21*5113495bSYour Name #include "rx_msdu_desc_info.h" 22*5113495bSYour Name #include "rx_mpdu_desc_info.h" 23*5113495bSYour Name #include "buffer_addr_info.h" 24*5113495bSYour Name #define NUM_OF_DWORDS_REO_DESTINATION_RING 8 25*5113495bSYour Name 26*5113495bSYour Name struct reo_destination_ring { 27*5113495bSYour Name #ifndef WIFI_BIT_ORDER_BIG_ENDIAN 28*5113495bSYour Name struct buffer_addr_info buf_or_link_desc_addr_info; 29*5113495bSYour Name struct rx_mpdu_desc_info rx_mpdu_desc_info_details; 30*5113495bSYour Name struct rx_msdu_desc_info rx_msdu_desc_info_details; 31*5113495bSYour Name uint32_t buffer_virt_addr_31_0 : 32; 32*5113495bSYour Name uint32_t buffer_virt_addr_63_32 : 32; 33*5113495bSYour Name uint32_t reo_dest_buffer_type : 1, 34*5113495bSYour Name reo_push_reason : 2, 35*5113495bSYour Name reo_error_code : 5, 36*5113495bSYour Name captured_msdu_data_size : 4, 37*5113495bSYour Name sw_exception : 1, 38*5113495bSYour Name src_link_id : 3, 39*5113495bSYour Name reo_destination_struct_signature : 4, 40*5113495bSYour Name ring_id : 8, 41*5113495bSYour Name looping_count : 4; 42*5113495bSYour Name #else 43*5113495bSYour Name struct buffer_addr_info buf_or_link_desc_addr_info; 44*5113495bSYour Name struct rx_mpdu_desc_info rx_mpdu_desc_info_details; 45*5113495bSYour Name struct rx_msdu_desc_info rx_msdu_desc_info_details; 46*5113495bSYour Name uint32_t buffer_virt_addr_31_0 : 32; 47*5113495bSYour Name uint32_t buffer_virt_addr_63_32 : 32; 48*5113495bSYour Name uint32_t looping_count : 4, 49*5113495bSYour Name ring_id : 8, 50*5113495bSYour Name reo_destination_struct_signature : 4, 51*5113495bSYour Name src_link_id : 3, 52*5113495bSYour Name sw_exception : 1, 53*5113495bSYour Name captured_msdu_data_size : 4, 54*5113495bSYour Name reo_error_code : 5, 55*5113495bSYour Name reo_push_reason : 2, 56*5113495bSYour Name reo_dest_buffer_type : 1; 57*5113495bSYour Name #endif 58*5113495bSYour Name }; 59*5113495bSYour Name 60*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_OFFSET 0x00000000 61*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_LSB 0 62*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_MSB 31 63*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_MASK 0xffffffff 64*5113495bSYour Name 65*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_OFFSET 0x00000004 66*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_LSB 0 67*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_MSB 7 68*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_MASK 0x000000ff 69*5113495bSYour Name 70*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_OFFSET 0x00000004 71*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_LSB 8 72*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_MSB 11 73*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_MASK 0x00000f00 74*5113495bSYour Name 75*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_OFFSET 0x00000004 76*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_LSB 12 77*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_MSB 31 78*5113495bSYour Name #define REO_DESTINATION_RING_BUF_OR_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_MASK 0xfffff000 79*5113495bSYour Name 80*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MSDU_COUNT_OFFSET 0x00000008 81*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MSDU_COUNT_LSB 0 82*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MSDU_COUNT_MSB 7 83*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MSDU_COUNT_MASK 0x000000ff 84*5113495bSYour Name 85*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_FRAGMENT_FLAG_OFFSET 0x00000008 86*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_FRAGMENT_FLAG_LSB 8 87*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_FRAGMENT_FLAG_MSB 8 88*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_FRAGMENT_FLAG_MASK 0x00000100 89*5113495bSYour Name 90*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MPDU_RETRY_BIT_OFFSET 0x00000008 91*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MPDU_RETRY_BIT_LSB 9 92*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MPDU_RETRY_BIT_MSB 9 93*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MPDU_RETRY_BIT_MASK 0x00000200 94*5113495bSYour Name 95*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_AMPDU_FLAG_OFFSET 0x00000008 96*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_AMPDU_FLAG_LSB 10 97*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_AMPDU_FLAG_MSB 10 98*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_AMPDU_FLAG_MASK 0x00000400 99*5113495bSYour Name 100*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_BAR_FRAME_OFFSET 0x00000008 101*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_BAR_FRAME_LSB 11 102*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_BAR_FRAME_MSB 11 103*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_BAR_FRAME_MASK 0x00000800 104*5113495bSYour Name 105*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_PN_FIELDS_CONTAIN_VALID_INFO_OFFSET 0x00000008 106*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_PN_FIELDS_CONTAIN_VALID_INFO_LSB 12 107*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_PN_FIELDS_CONTAIN_VALID_INFO_MSB 12 108*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_PN_FIELDS_CONTAIN_VALID_INFO_MASK 0x00001000 109*5113495bSYour Name 110*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_RAW_MPDU_OFFSET 0x00000008 111*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_RAW_MPDU_LSB 13 112*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_RAW_MPDU_MSB 13 113*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_RAW_MPDU_MASK 0x00002000 114*5113495bSYour Name 115*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MORE_FRAGMENT_FLAG_OFFSET 0x00000008 116*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MORE_FRAGMENT_FLAG_LSB 14 117*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MORE_FRAGMENT_FLAG_MSB 14 118*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MORE_FRAGMENT_FLAG_MASK 0x00004000 119*5113495bSYour Name 120*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_SRC_INFO_OFFSET 0x00000008 121*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_SRC_INFO_LSB 15 122*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_SRC_INFO_MSB 26 123*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_SRC_INFO_MASK 0x07ff8000 124*5113495bSYour Name 125*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MPDU_QOS_CONTROL_VALID_OFFSET 0x00000008 126*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MPDU_QOS_CONTROL_VALID_LSB 27 127*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MPDU_QOS_CONTROL_VALID_MSB 27 128*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_MPDU_QOS_CONTROL_VALID_MASK 0x08000000 129*5113495bSYour Name 130*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_TID_OFFSET 0x00000008 131*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_TID_LSB 28 132*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_TID_MSB 31 133*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_TID_MASK 0xf0000000 134*5113495bSYour Name 135*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_PEER_META_DATA_OFFSET 0x0000000c 136*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_PEER_META_DATA_LSB 0 137*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_PEER_META_DATA_MSB 31 138*5113495bSYour Name #define REO_DESTINATION_RING_RX_MPDU_DESC_INFO_DETAILS_PEER_META_DATA_MASK 0xffffffff 139*5113495bSYour Name 140*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000010 141*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_LSB 0 142*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_MSB 0 143*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_FIRST_MSDU_IN_MPDU_FLAG_MASK 0x00000001 144*5113495bSYour Name 145*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_OFFSET 0x00000010 146*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_LSB 1 147*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_MSB 1 148*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_LAST_MSDU_IN_MPDU_FLAG_MASK 0x00000002 149*5113495bSYour Name 150*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_OFFSET 0x00000010 151*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_LSB 2 152*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_MSB 2 153*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_MSDU_CONTINUATION_MASK 0x00000004 154*5113495bSYour Name 155*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_OFFSET 0x00000010 156*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_LSB 3 157*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_MSB 16 158*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_MSDU_LENGTH_MASK 0x0001fff8 159*5113495bSYour Name 160*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_OFFSET 0x00000010 161*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_LSB 17 162*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_MSB 17 163*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_MSDU_DROP_MASK 0x00020000 164*5113495bSYour Name 165*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_OFFSET 0x00000010 166*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_LSB 18 167*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_MSB 18 168*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_SA_IS_VALID_MASK 0x00040000 169*5113495bSYour Name 170*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_OFFSET 0x00000010 171*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_LSB 19 172*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_MSB 19 173*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DA_IS_VALID_MASK 0x00080000 174*5113495bSYour Name 175*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_OFFSET 0x00000010 176*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_LSB 20 177*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_MSB 20 178*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DA_IS_MCBC_MASK 0x00100000 179*5113495bSYour Name 180*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB_OFFSET 0x00000010 181*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB_LSB 21 182*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB_MSB 21 183*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_L3_HEADER_PADDING_MSB_MASK 0x00200000 184*5113495bSYour Name 185*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL_OFFSET 0x00000010 186*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL_LSB 22 187*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL_MSB 22 188*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_TCP_UDP_CHKSUM_FAIL_MASK 0x00400000 189*5113495bSYour Name 190*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL_OFFSET 0x00000010 191*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL_LSB 23 192*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL_MSB 23 193*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_IP_CHKSUM_FAIL_MASK 0x00800000 194*5113495bSYour Name 195*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_FR_DS_OFFSET 0x00000010 196*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_FR_DS_LSB 24 197*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_FR_DS_MSB 24 198*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_FR_DS_MASK 0x01000000 199*5113495bSYour Name 200*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_TO_DS_OFFSET 0x00000010 201*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_TO_DS_LSB 25 202*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_TO_DS_MSB 25 203*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_TO_DS_MASK 0x02000000 204*5113495bSYour Name 205*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_INTRA_BSS_OFFSET 0x00000010 206*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_INTRA_BSS_LSB 26 207*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_INTRA_BSS_MSB 26 208*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_INTRA_BSS_MASK 0x04000000 209*5113495bSYour Name 210*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DEST_CHIP_ID_OFFSET 0x00000010 211*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DEST_CHIP_ID_LSB 27 212*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DEST_CHIP_ID_MSB 28 213*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DEST_CHIP_ID_MASK 0x18000000 214*5113495bSYour Name 215*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DECAP_FORMAT_OFFSET 0x00000010 216*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DECAP_FORMAT_LSB 29 217*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DECAP_FORMAT_MSB 30 218*5113495bSYour Name #define REO_DESTINATION_RING_RX_MSDU_DESC_INFO_DETAILS_DECAP_FORMAT_MASK 0x60000000 219*5113495bSYour Name 220*5113495bSYour Name #define REO_DESTINATION_RING_BUFFER_VIRT_ADDR_31_0_OFFSET 0x00000014 221*5113495bSYour Name #define REO_DESTINATION_RING_BUFFER_VIRT_ADDR_31_0_LSB 0 222*5113495bSYour Name #define REO_DESTINATION_RING_BUFFER_VIRT_ADDR_31_0_MSB 31 223*5113495bSYour Name #define REO_DESTINATION_RING_BUFFER_VIRT_ADDR_31_0_MASK 0xffffffff 224*5113495bSYour Name 225*5113495bSYour Name #define REO_DESTINATION_RING_BUFFER_VIRT_ADDR_63_32_OFFSET 0x00000018 226*5113495bSYour Name #define REO_DESTINATION_RING_BUFFER_VIRT_ADDR_63_32_LSB 0 227*5113495bSYour Name #define REO_DESTINATION_RING_BUFFER_VIRT_ADDR_63_32_MSB 31 228*5113495bSYour Name #define REO_DESTINATION_RING_BUFFER_VIRT_ADDR_63_32_MASK 0xffffffff 229*5113495bSYour Name 230*5113495bSYour Name #define REO_DESTINATION_RING_REO_DEST_BUFFER_TYPE_OFFSET 0x0000001c 231*5113495bSYour Name #define REO_DESTINATION_RING_REO_DEST_BUFFER_TYPE_LSB 0 232*5113495bSYour Name #define REO_DESTINATION_RING_REO_DEST_BUFFER_TYPE_MSB 0 233*5113495bSYour Name #define REO_DESTINATION_RING_REO_DEST_BUFFER_TYPE_MASK 0x00000001 234*5113495bSYour Name 235*5113495bSYour Name #define REO_DESTINATION_RING_REO_PUSH_REASON_OFFSET 0x0000001c 236*5113495bSYour Name #define REO_DESTINATION_RING_REO_PUSH_REASON_LSB 1 237*5113495bSYour Name #define REO_DESTINATION_RING_REO_PUSH_REASON_MSB 2 238*5113495bSYour Name #define REO_DESTINATION_RING_REO_PUSH_REASON_MASK 0x00000006 239*5113495bSYour Name 240*5113495bSYour Name #define REO_DESTINATION_RING_REO_ERROR_CODE_OFFSET 0x0000001c 241*5113495bSYour Name #define REO_DESTINATION_RING_REO_ERROR_CODE_LSB 3 242*5113495bSYour Name #define REO_DESTINATION_RING_REO_ERROR_CODE_MSB 7 243*5113495bSYour Name #define REO_DESTINATION_RING_REO_ERROR_CODE_MASK 0x000000f8 244*5113495bSYour Name 245*5113495bSYour Name #define REO_DESTINATION_RING_CAPTURED_MSDU_DATA_SIZE_OFFSET 0x0000001c 246*5113495bSYour Name #define REO_DESTINATION_RING_CAPTURED_MSDU_DATA_SIZE_LSB 8 247*5113495bSYour Name #define REO_DESTINATION_RING_CAPTURED_MSDU_DATA_SIZE_MSB 11 248*5113495bSYour Name #define REO_DESTINATION_RING_CAPTURED_MSDU_DATA_SIZE_MASK 0x00000f00 249*5113495bSYour Name 250*5113495bSYour Name #define REO_DESTINATION_RING_SW_EXCEPTION_OFFSET 0x0000001c 251*5113495bSYour Name #define REO_DESTINATION_RING_SW_EXCEPTION_LSB 12 252*5113495bSYour Name #define REO_DESTINATION_RING_SW_EXCEPTION_MSB 12 253*5113495bSYour Name #define REO_DESTINATION_RING_SW_EXCEPTION_MASK 0x00001000 254*5113495bSYour Name 255*5113495bSYour Name #define REO_DESTINATION_RING_SRC_LINK_ID_OFFSET 0x0000001c 256*5113495bSYour Name #define REO_DESTINATION_RING_SRC_LINK_ID_LSB 13 257*5113495bSYour Name #define REO_DESTINATION_RING_SRC_LINK_ID_MSB 15 258*5113495bSYour Name #define REO_DESTINATION_RING_SRC_LINK_ID_MASK 0x0000e000 259*5113495bSYour Name 260*5113495bSYour Name #define REO_DESTINATION_RING_REO_DESTINATION_STRUCT_SIGNATURE_OFFSET 0x0000001c 261*5113495bSYour Name #define REO_DESTINATION_RING_REO_DESTINATION_STRUCT_SIGNATURE_LSB 16 262*5113495bSYour Name #define REO_DESTINATION_RING_REO_DESTINATION_STRUCT_SIGNATURE_MSB 19 263*5113495bSYour Name #define REO_DESTINATION_RING_REO_DESTINATION_STRUCT_SIGNATURE_MASK 0x000f0000 264*5113495bSYour Name 265*5113495bSYour Name #define REO_DESTINATION_RING_RING_ID_OFFSET 0x0000001c 266*5113495bSYour Name #define REO_DESTINATION_RING_RING_ID_LSB 20 267*5113495bSYour Name #define REO_DESTINATION_RING_RING_ID_MSB 27 268*5113495bSYour Name #define REO_DESTINATION_RING_RING_ID_MASK 0x0ff00000 269*5113495bSYour Name 270*5113495bSYour Name #define REO_DESTINATION_RING_LOOPING_COUNT_OFFSET 0x0000001c 271*5113495bSYour Name #define REO_DESTINATION_RING_LOOPING_COUNT_LSB 28 272*5113495bSYour Name #define REO_DESTINATION_RING_LOOPING_COUNT_MSB 31 273*5113495bSYour Name #define REO_DESTINATION_RING_LOOPING_COUNT_MASK 0xf0000000 274*5113495bSYour Name 275*5113495bSYour Name #endif 276