1 /* 2 * Copyright (c) 2018 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 // $ATH_LICENSE_HW_HDR_C$ 20 // 21 // DO NOT EDIT! This file is automatically generated 22 // These definitions are tied to a particular hardware layout 23 24 25 #ifndef _PHYRX_ABORT_REQUEST_INFO_H_ 26 #define _PHYRX_ABORT_REQUEST_INFO_H_ 27 #if !defined(__ASSEMBLER__) 28 #endif 29 30 31 // ################ START SUMMARY ################# 32 // 33 // Dword Fields 34 // 0 phyrx_abort_reason[7:0], reserved_0[31:8] 35 // 36 // ################ END SUMMARY ################# 37 38 #define NUM_OF_DWORDS_PHYRX_ABORT_REQUEST_INFO 1 39 40 struct phyrx_abort_request_info { 41 uint32_t phyrx_abort_reason : 8, //[7:0] 42 reserved_0 : 24; //[31:8] 43 }; 44 45 /* 46 47 phyrx_abort_reason 48 49 <enum 0 phyrx_err_phy_off> Reception aborted due to 50 receiving a PHY_OFF TLV 51 52 <enum 1 phyrx_err_synth_off> 53 54 <enum 2 phyrx_err_ofdma_timing> 55 56 <enum 3 phyrx_err_ofdma_signal_parity> 57 58 <enum 4 phyrx_err_ofdma_rate_illegal> 59 60 <enum 5 phyrx_err_ofdma_length_illegal> 61 62 <enum 6 phyrx_err_ofdma_restart> 63 64 <enum 7 phyrx_err_ofdma_service> 65 66 <enum 8 phyrx_err_ppdu_ofdma_power_drop> 67 68 69 70 <enum 9 phyrx_err_cck_blokker> 71 72 <enum 10 phyrx_err_cck_timing> 73 74 <enum 11 phyrx_err_cck_header_crc> 75 76 <enum 12 phyrx_err_cck_rate_illegal> 77 78 <enum 13 phyrx_err_cck_length_illegal> 79 80 <enum 14 phyrx_err_cck_restart> 81 82 <enum 15 phyrx_err_cck_service> 83 84 <enum 16 phyrx_err_cck_power_drop> 85 86 87 88 <enum 17 phyrx_err_ht_crc_err> 89 90 <enum 18 phyrx_err_ht_length_illegal> 91 92 <enum 19 phyrx_err_ht_rate_illegal> 93 94 <enum 20 phyrx_err_ht_zlf> 95 96 <enum 21 phyrx_err_false_radar_ext> 97 98 99 100 <enum 22 phyrx_err_green_field> 101 102 103 104 <enum 23 phyrx_err_bw_gt_dyn_bw> 105 106 <enum 24 phyrx_err_leg_ht_mismatch> 107 108 <enum 25 phyrx_err_vht_crc_error> 109 110 <enum 26 phyrx_err_vht_siga_unsupported> 111 112 <enum 27 phyrx_err_vht_lsig_len_invalid> 113 114 <enum 28 phyrx_err_vht_ndp_or_zlf> 115 116 <enum 29 phyrx_err_vht_nsym_lt_zero> 117 118 <enum 30 phyrx_err_vht_rx_extra_symbol_mismatch> 119 120 <enum 31 phyrx_err_vht_rx_skip_group_id0> 121 122 <enum 32 phyrx_err_vht_rx_skip_group_id1to62> 123 124 <enum 33 phyrx_err_vht_rx_skip_group_id63> 125 126 <enum 34 phyrx_err_ofdm_ldpc_decoder_disabled> 127 128 <enum 35 phyrx_err_defer_nap> 129 130 <enum 36 phyrx_err_fdomain_timeout> 131 132 <enum 37 phyrx_err_lsig_rel_check> 133 134 <enum 38 phyrx_err_bt_collision> 135 136 <enum 39 phyrx_err_unsupported_mu_feedback> 137 138 <enum 40 phyrx_err_ppdu_tx_interrupt_rx> 139 140 <enum 41 phyrx_err_unsupported_cbf> 141 142 143 144 <enum 42 phyrx_err_other> Should not really be used. If 145 needed, ask for documentation update 146 147 148 149 <legal 0 - 42> 150 151 reserved_0 152 153 <legal 0> 154 */ 155 156 157 /* Description PHYRX_ABORT_REQUEST_INFO_0_PHYRX_ABORT_REASON 158 159 <enum 0 phyrx_err_phy_off> Reception aborted due to 160 receiving a PHY_OFF TLV 161 162 <enum 1 phyrx_err_synth_off> 163 164 <enum 2 phyrx_err_ofdma_timing> 165 166 <enum 3 phyrx_err_ofdma_signal_parity> 167 168 <enum 4 phyrx_err_ofdma_rate_illegal> 169 170 <enum 5 phyrx_err_ofdma_length_illegal> 171 172 <enum 6 phyrx_err_ofdma_restart> 173 174 <enum 7 phyrx_err_ofdma_service> 175 176 <enum 8 phyrx_err_ppdu_ofdma_power_drop> 177 178 179 180 <enum 9 phyrx_err_cck_blokker> 181 182 <enum 10 phyrx_err_cck_timing> 183 184 <enum 11 phyrx_err_cck_header_crc> 185 186 <enum 12 phyrx_err_cck_rate_illegal> 187 188 <enum 13 phyrx_err_cck_length_illegal> 189 190 <enum 14 phyrx_err_cck_restart> 191 192 <enum 15 phyrx_err_cck_service> 193 194 <enum 16 phyrx_err_cck_power_drop> 195 196 197 198 <enum 17 phyrx_err_ht_crc_err> 199 200 <enum 18 phyrx_err_ht_length_illegal> 201 202 <enum 19 phyrx_err_ht_rate_illegal> 203 204 <enum 20 phyrx_err_ht_zlf> 205 206 <enum 21 phyrx_err_false_radar_ext> 207 208 209 210 <enum 22 phyrx_err_green_field> 211 212 213 214 <enum 23 phyrx_err_bw_gt_dyn_bw> 215 216 <enum 24 phyrx_err_leg_ht_mismatch> 217 218 <enum 25 phyrx_err_vht_crc_error> 219 220 <enum 26 phyrx_err_vht_siga_unsupported> 221 222 <enum 27 phyrx_err_vht_lsig_len_invalid> 223 224 <enum 28 phyrx_err_vht_ndp_or_zlf> 225 226 <enum 29 phyrx_err_vht_nsym_lt_zero> 227 228 <enum 30 phyrx_err_vht_rx_extra_symbol_mismatch> 229 230 <enum 31 phyrx_err_vht_rx_skip_group_id0> 231 232 <enum 32 phyrx_err_vht_rx_skip_group_id1to62> 233 234 <enum 33 phyrx_err_vht_rx_skip_group_id63> 235 236 <enum 34 phyrx_err_ofdm_ldpc_decoder_disabled> 237 238 <enum 35 phyrx_err_defer_nap> 239 240 <enum 36 phyrx_err_fdomain_timeout> 241 242 <enum 37 phyrx_err_lsig_rel_check> 243 244 <enum 38 phyrx_err_bt_collision> 245 246 <enum 39 phyrx_err_unsupported_mu_feedback> 247 248 <enum 40 phyrx_err_ppdu_tx_interrupt_rx> 249 250 <enum 41 phyrx_err_unsupported_cbf> 251 252 253 254 <enum 42 phyrx_err_other> Should not really be used. If 255 needed, ask for documentation update 256 257 258 259 <legal 0 - 42> 260 */ 261 #define PHYRX_ABORT_REQUEST_INFO_0_PHYRX_ABORT_REASON_OFFSET 0x00000000 262 #define PHYRX_ABORT_REQUEST_INFO_0_PHYRX_ABORT_REASON_LSB 0 263 #define PHYRX_ABORT_REQUEST_INFO_0_PHYRX_ABORT_REASON_MASK 0x000000ff 264 265 /* Description PHYRX_ABORT_REQUEST_INFO_0_RESERVED_0 266 267 <legal 0> 268 */ 269 #define PHYRX_ABORT_REQUEST_INFO_0_RESERVED_0_OFFSET 0x00000000 270 #define PHYRX_ABORT_REQUEST_INFO_0_RESERVED_0_LSB 8 271 #define PHYRX_ABORT_REQUEST_INFO_0_RESERVED_0_MASK 0xffffff00 272 273 274 #endif // _PHYRX_ABORT_REQUEST_INFO_H_ 275