1 /* 2 * Copyright (c) 2016-2017 The Linux Foundation. All rights reserved. 3 * 4 * Permission to use, copy, modify, and/or distribute this software for 5 * any purpose with or without fee is hereby granted, provided that the 6 * above copyright notice and this permission notice appear in all 7 * copies. 8 * 9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL 10 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED 11 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE 12 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL 13 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 14 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 15 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 16 * PERFORMANCE OF THIS SOFTWARE. 17 */ 18 19 // DO NOT EDIT! This file is automatically generated 20 // These definitions are tied to a particular hardware layout 21 22 23 #ifndef _RX_PPDU_END_USER_STATS_EXT_H_ 24 #define _RX_PPDU_END_USER_STATS_EXT_H_ 25 #if !defined(__ASSEMBLER__) 26 #endif 27 28 #include "rx_rxpcu_classification_overview.h" 29 30 // ################ START SUMMARY ################# 31 // 32 // Dword Fields 33 // 0 struct rx_rxpcu_classification_overview rxpcu_classification_details; 34 // 1 fcs_ok_bitmap_95_64[31:0] 35 // 2 fcs_ok_bitmap_127_96[31:0] 36 // 3 fcs_ok_bitmap_159_128[31:0] 37 // 4 fcs_ok_bitmap_191_160[31:0] 38 // 5 fcs_ok_bitmap_223_192[31:0] 39 // 6 fcs_ok_bitmap_255_224[31:0] 40 // 41 // ################ END SUMMARY ################# 42 43 #define NUM_OF_DWORDS_RX_PPDU_END_USER_STATS_EXT 7 44 45 struct rx_ppdu_end_user_stats_ext { 46 struct rx_rxpcu_classification_overview rxpcu_classification_details; 47 uint32_t fcs_ok_bitmap_95_64 : 32; //[31:0] 48 uint32_t fcs_ok_bitmap_127_96 : 32; //[31:0] 49 uint32_t fcs_ok_bitmap_159_128 : 32; //[31:0] 50 uint32_t fcs_ok_bitmap_191_160 : 32; //[31:0] 51 uint32_t fcs_ok_bitmap_223_192 : 32; //[31:0] 52 uint32_t fcs_ok_bitmap_255_224 : 32; //[31:0] 53 }; 54 55 /* 56 57 struct rx_rxpcu_classification_overview rxpcu_classification_details 58 59 Details related to what RXPCU classification types of 60 MPDUs have been received 61 62 fcs_ok_bitmap_95_64 63 64 Bitmap indicates in order of received MPDUs, which MPDUs 65 had an passing FCS or had an error. 66 67 1: FCS OK 68 69 0: FCS error 70 71 <legal all> 72 73 fcs_ok_bitmap_127_96 74 75 Bitmap indicates in order of received MPDUs, which MPDUs 76 had an passing FCS or had an error. 77 78 1: FCS OK 79 80 0: FCS error 81 82 <legal all> 83 84 fcs_ok_bitmap_159_128 85 86 Bitmap indicates in order of received MPDUs, which MPDUs 87 had an passing FCS or had an error. 88 89 1: FCS OK 90 91 0: FCS error 92 93 <legal all> 94 95 fcs_ok_bitmap_191_160 96 97 Bitmap indicates in order of received MPDUs, which MPDUs 98 had an passing FCS or had an error. 99 100 1: FCS OK 101 102 0: FCS error 103 104 <legal all> 105 106 fcs_ok_bitmap_223_192 107 108 Bitmap indicates in order of received MPDUs, which MPDUs 109 had an passing FCS or had an error. 110 111 1: FCS OK 112 113 0: FCS error 114 115 <legal all> 116 117 fcs_ok_bitmap_255_224 118 119 Bitmap indicates in order of received MPDUs, which MPDUs 120 had an passing FCS or had an error. 121 122 1: FCS OK 123 124 0: FCS error 125 126 <legal all> 127 */ 128 129 #define RX_PPDU_END_USER_STATS_EXT_0_RX_RXPCU_CLASSIFICATION_OVERVIEW_RXPCU_CLASSIFICATION_DETAILS_OFFSET 0x00000000 130 #define RX_PPDU_END_USER_STATS_EXT_0_RX_RXPCU_CLASSIFICATION_OVERVIEW_RXPCU_CLASSIFICATION_DETAILS_LSB 0 131 #define RX_PPDU_END_USER_STATS_EXT_0_RX_RXPCU_CLASSIFICATION_OVERVIEW_RXPCU_CLASSIFICATION_DETAILS_MASK 0xffffffff 132 133 /* Description RX_PPDU_END_USER_STATS_EXT_1_FCS_OK_BITMAP_95_64 134 135 Bitmap indicates in order of received MPDUs, which MPDUs 136 had an passing FCS or had an error. 137 138 1: FCS OK 139 140 0: FCS error 141 142 <legal all> 143 */ 144 #define RX_PPDU_END_USER_STATS_EXT_1_FCS_OK_BITMAP_95_64_OFFSET 0x00000004 145 #define RX_PPDU_END_USER_STATS_EXT_1_FCS_OK_BITMAP_95_64_LSB 0 146 #define RX_PPDU_END_USER_STATS_EXT_1_FCS_OK_BITMAP_95_64_MASK 0xffffffff 147 148 /* Description RX_PPDU_END_USER_STATS_EXT_2_FCS_OK_BITMAP_127_96 149 150 Bitmap indicates in order of received MPDUs, which MPDUs 151 had an passing FCS or had an error. 152 153 1: FCS OK 154 155 0: FCS error 156 157 <legal all> 158 */ 159 #define RX_PPDU_END_USER_STATS_EXT_2_FCS_OK_BITMAP_127_96_OFFSET 0x00000008 160 #define RX_PPDU_END_USER_STATS_EXT_2_FCS_OK_BITMAP_127_96_LSB 0 161 #define RX_PPDU_END_USER_STATS_EXT_2_FCS_OK_BITMAP_127_96_MASK 0xffffffff 162 163 /* Description RX_PPDU_END_USER_STATS_EXT_3_FCS_OK_BITMAP_159_128 164 165 Bitmap indicates in order of received MPDUs, which MPDUs 166 had an passing FCS or had an error. 167 168 1: FCS OK 169 170 0: FCS error 171 172 <legal all> 173 */ 174 #define RX_PPDU_END_USER_STATS_EXT_3_FCS_OK_BITMAP_159_128_OFFSET 0x0000000c 175 #define RX_PPDU_END_USER_STATS_EXT_3_FCS_OK_BITMAP_159_128_LSB 0 176 #define RX_PPDU_END_USER_STATS_EXT_3_FCS_OK_BITMAP_159_128_MASK 0xffffffff 177 178 /* Description RX_PPDU_END_USER_STATS_EXT_4_FCS_OK_BITMAP_191_160 179 180 Bitmap indicates in order of received MPDUs, which MPDUs 181 had an passing FCS or had an error. 182 183 1: FCS OK 184 185 0: FCS error 186 187 <legal all> 188 */ 189 #define RX_PPDU_END_USER_STATS_EXT_4_FCS_OK_BITMAP_191_160_OFFSET 0x00000010 190 #define RX_PPDU_END_USER_STATS_EXT_4_FCS_OK_BITMAP_191_160_LSB 0 191 #define RX_PPDU_END_USER_STATS_EXT_4_FCS_OK_BITMAP_191_160_MASK 0xffffffff 192 193 /* Description RX_PPDU_END_USER_STATS_EXT_5_FCS_OK_BITMAP_223_192 194 195 Bitmap indicates in order of received MPDUs, which MPDUs 196 had an passing FCS or had an error. 197 198 1: FCS OK 199 200 0: FCS error 201 202 <legal all> 203 */ 204 #define RX_PPDU_END_USER_STATS_EXT_5_FCS_OK_BITMAP_223_192_OFFSET 0x00000014 205 #define RX_PPDU_END_USER_STATS_EXT_5_FCS_OK_BITMAP_223_192_LSB 0 206 #define RX_PPDU_END_USER_STATS_EXT_5_FCS_OK_BITMAP_223_192_MASK 0xffffffff 207 208 /* Description RX_PPDU_END_USER_STATS_EXT_6_FCS_OK_BITMAP_255_224 209 210 Bitmap indicates in order of received MPDUs, which MPDUs 211 had an passing FCS or had an error. 212 213 1: FCS OK 214 215 0: FCS error 216 217 <legal all> 218 */ 219 #define RX_PPDU_END_USER_STATS_EXT_6_FCS_OK_BITMAP_255_224_OFFSET 0x00000018 220 #define RX_PPDU_END_USER_STATS_EXT_6_FCS_OK_BITMAP_255_224_LSB 0 221 #define RX_PPDU_END_USER_STATS_EXT_6_FCS_OK_BITMAP_255_224_MASK 0xffffffff 222 223 224 #endif // _RX_PPDU_END_USER_STATS_EXT_H_ 225