1 2 /* 3 * Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved. 4 * 5 * Permission to use, copy, modify, and/or distribute this software for any 6 * purpose with or without fee is hereby granted, provided that the above 7 * copyright notice and this permission notice appear in all copies. 8 * 9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 */ 17 18 19 20 21 22 23 24 25 26 27 #ifndef _VHT_SIG_B_SU160_INFO_H_ 28 #define _VHT_SIG_B_SU160_INFO_H_ 29 #if !defined(__ASSEMBLER__) 30 #endif 31 32 #define NUM_OF_DWORDS_VHT_SIG_B_SU160_INFO 8 33 34 35 struct vht_sig_b_su160_info { 36 #ifndef WIFI_BIT_ORDER_BIG_ENDIAN 37 uint32_t length : 21, // [20:0] 38 vhtb_reserved : 2, // [22:21] 39 tail : 6, // [28:23] 40 reserved_0 : 2, // [30:29] 41 rx_ndp : 1; // [31:31] 42 uint32_t length_copy_a : 21, // [20:0] 43 vhtb_reserved_copy_a : 2, // [22:21] 44 tail_copy_a : 6, // [28:23] 45 reserved_1 : 2, // [30:29] 46 rx_ndp_copy_a : 1; // [31:31] 47 uint32_t length_copy_b : 21, // [20:0] 48 vhtb_reserved_copy_b : 2, // [22:21] 49 tail_copy_b : 6, // [28:23] 50 reserved_2 : 2, // [30:29] 51 rx_ndp_copy_b : 1; // [31:31] 52 uint32_t length_copy_c : 21, // [20:0] 53 vhtb_reserved_copy_c : 2, // [22:21] 54 tail_copy_c : 6, // [28:23] 55 reserved_3 : 2, // [30:29] 56 rx_ndp_copy_c : 1; // [31:31] 57 uint32_t length_copy_d : 21, // [20:0] 58 vhtb_reserved_copy_d : 2, // [22:21] 59 tail_copy_d : 6, // [28:23] 60 reserved_4 : 2, // [30:29] 61 rx_ndp_copy_d : 1; // [31:31] 62 uint32_t length_copy_e : 21, // [20:0] 63 vhtb_reserved_copy_e : 2, // [22:21] 64 tail_copy_e : 6, // [28:23] 65 reserved_5 : 2, // [30:29] 66 rx_ndp_copy_e : 1; // [31:31] 67 uint32_t length_copy_f : 21, // [20:0] 68 vhtb_reserved_copy_f : 2, // [22:21] 69 tail_copy_f : 6, // [28:23] 70 reserved_6 : 2, // [30:29] 71 rx_ndp_copy_f : 1; // [31:31] 72 uint32_t length_copy_g : 21, // [20:0] 73 vhtb_reserved_copy_g : 2, // [22:21] 74 tail_copy_g : 6, // [28:23] 75 reserved_7 : 2, // [30:29] 76 rx_ndp_copy_g : 1; // [31:31] 77 #else 78 uint32_t rx_ndp : 1, // [31:31] 79 reserved_0 : 2, // [30:29] 80 tail : 6, // [28:23] 81 vhtb_reserved : 2, // [22:21] 82 length : 21; // [20:0] 83 uint32_t rx_ndp_copy_a : 1, // [31:31] 84 reserved_1 : 2, // [30:29] 85 tail_copy_a : 6, // [28:23] 86 vhtb_reserved_copy_a : 2, // [22:21] 87 length_copy_a : 21; // [20:0] 88 uint32_t rx_ndp_copy_b : 1, // [31:31] 89 reserved_2 : 2, // [30:29] 90 tail_copy_b : 6, // [28:23] 91 vhtb_reserved_copy_b : 2, // [22:21] 92 length_copy_b : 21; // [20:0] 93 uint32_t rx_ndp_copy_c : 1, // [31:31] 94 reserved_3 : 2, // [30:29] 95 tail_copy_c : 6, // [28:23] 96 vhtb_reserved_copy_c : 2, // [22:21] 97 length_copy_c : 21; // [20:0] 98 uint32_t rx_ndp_copy_d : 1, // [31:31] 99 reserved_4 : 2, // [30:29] 100 tail_copy_d : 6, // [28:23] 101 vhtb_reserved_copy_d : 2, // [22:21] 102 length_copy_d : 21; // [20:0] 103 uint32_t rx_ndp_copy_e : 1, // [31:31] 104 reserved_5 : 2, // [30:29] 105 tail_copy_e : 6, // [28:23] 106 vhtb_reserved_copy_e : 2, // [22:21] 107 length_copy_e : 21; // [20:0] 108 uint32_t rx_ndp_copy_f : 1, // [31:31] 109 reserved_6 : 2, // [30:29] 110 tail_copy_f : 6, // [28:23] 111 vhtb_reserved_copy_f : 2, // [22:21] 112 length_copy_f : 21; // [20:0] 113 uint32_t rx_ndp_copy_g : 1, // [31:31] 114 reserved_7 : 2, // [30:29] 115 tail_copy_g : 6, // [28:23] 116 vhtb_reserved_copy_g : 2, // [22:21] 117 length_copy_g : 21; // [20:0] 118 #endif 119 }; 120 121 122 123 124 #define VHT_SIG_B_SU160_INFO_LENGTH_OFFSET 0x00000000 125 #define VHT_SIG_B_SU160_INFO_LENGTH_LSB 0 126 #define VHT_SIG_B_SU160_INFO_LENGTH_MSB 20 127 #define VHT_SIG_B_SU160_INFO_LENGTH_MASK 0x001fffff 128 129 130 131 132 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_OFFSET 0x00000000 133 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_LSB 21 134 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_MSB 22 135 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_MASK 0x00600000 136 137 138 139 140 #define VHT_SIG_B_SU160_INFO_TAIL_OFFSET 0x00000000 141 #define VHT_SIG_B_SU160_INFO_TAIL_LSB 23 142 #define VHT_SIG_B_SU160_INFO_TAIL_MSB 28 143 #define VHT_SIG_B_SU160_INFO_TAIL_MASK 0x1f800000 144 145 146 147 148 #define VHT_SIG_B_SU160_INFO_RESERVED_0_OFFSET 0x00000000 149 #define VHT_SIG_B_SU160_INFO_RESERVED_0_LSB 29 150 #define VHT_SIG_B_SU160_INFO_RESERVED_0_MSB 30 151 #define VHT_SIG_B_SU160_INFO_RESERVED_0_MASK 0x60000000 152 153 154 155 156 #define VHT_SIG_B_SU160_INFO_RX_NDP_OFFSET 0x00000000 157 #define VHT_SIG_B_SU160_INFO_RX_NDP_LSB 31 158 #define VHT_SIG_B_SU160_INFO_RX_NDP_MSB 31 159 #define VHT_SIG_B_SU160_INFO_RX_NDP_MASK 0x80000000 160 161 162 163 164 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_A_OFFSET 0x00000004 165 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_A_LSB 0 166 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_A_MSB 20 167 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_A_MASK 0x001fffff 168 169 170 171 172 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_A_OFFSET 0x00000004 173 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_A_LSB 21 174 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_A_MSB 22 175 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_A_MASK 0x00600000 176 177 178 179 180 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_A_OFFSET 0x00000004 181 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_A_LSB 23 182 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_A_MSB 28 183 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_A_MASK 0x1f800000 184 185 186 187 188 #define VHT_SIG_B_SU160_INFO_RESERVED_1_OFFSET 0x00000004 189 #define VHT_SIG_B_SU160_INFO_RESERVED_1_LSB 29 190 #define VHT_SIG_B_SU160_INFO_RESERVED_1_MSB 30 191 #define VHT_SIG_B_SU160_INFO_RESERVED_1_MASK 0x60000000 192 193 194 195 196 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_A_OFFSET 0x00000004 197 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_A_LSB 31 198 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_A_MSB 31 199 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_A_MASK 0x80000000 200 201 202 203 204 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_B_OFFSET 0x00000008 205 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_B_LSB 0 206 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_B_MSB 20 207 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_B_MASK 0x001fffff 208 209 210 211 212 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_B_OFFSET 0x00000008 213 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_B_LSB 21 214 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_B_MSB 22 215 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_B_MASK 0x00600000 216 217 218 219 220 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_B_OFFSET 0x00000008 221 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_B_LSB 23 222 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_B_MSB 28 223 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_B_MASK 0x1f800000 224 225 226 227 228 #define VHT_SIG_B_SU160_INFO_RESERVED_2_OFFSET 0x00000008 229 #define VHT_SIG_B_SU160_INFO_RESERVED_2_LSB 29 230 #define VHT_SIG_B_SU160_INFO_RESERVED_2_MSB 30 231 #define VHT_SIG_B_SU160_INFO_RESERVED_2_MASK 0x60000000 232 233 234 235 236 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_B_OFFSET 0x00000008 237 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_B_LSB 31 238 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_B_MSB 31 239 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_B_MASK 0x80000000 240 241 242 243 244 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_C_OFFSET 0x0000000c 245 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_C_LSB 0 246 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_C_MSB 20 247 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_C_MASK 0x001fffff 248 249 250 251 252 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_C_OFFSET 0x0000000c 253 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_C_LSB 21 254 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_C_MSB 22 255 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_C_MASK 0x00600000 256 257 258 259 260 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_C_OFFSET 0x0000000c 261 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_C_LSB 23 262 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_C_MSB 28 263 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_C_MASK 0x1f800000 264 265 266 267 268 #define VHT_SIG_B_SU160_INFO_RESERVED_3_OFFSET 0x0000000c 269 #define VHT_SIG_B_SU160_INFO_RESERVED_3_LSB 29 270 #define VHT_SIG_B_SU160_INFO_RESERVED_3_MSB 30 271 #define VHT_SIG_B_SU160_INFO_RESERVED_3_MASK 0x60000000 272 273 274 275 276 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_C_OFFSET 0x0000000c 277 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_C_LSB 31 278 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_C_MSB 31 279 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_C_MASK 0x80000000 280 281 282 283 284 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_D_OFFSET 0x00000010 285 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_D_LSB 0 286 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_D_MSB 20 287 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_D_MASK 0x001fffff 288 289 290 291 292 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_D_OFFSET 0x00000010 293 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_D_LSB 21 294 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_D_MSB 22 295 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_D_MASK 0x00600000 296 297 298 299 300 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_D_OFFSET 0x00000010 301 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_D_LSB 23 302 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_D_MSB 28 303 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_D_MASK 0x1f800000 304 305 306 307 308 #define VHT_SIG_B_SU160_INFO_RESERVED_4_OFFSET 0x00000010 309 #define VHT_SIG_B_SU160_INFO_RESERVED_4_LSB 29 310 #define VHT_SIG_B_SU160_INFO_RESERVED_4_MSB 30 311 #define VHT_SIG_B_SU160_INFO_RESERVED_4_MASK 0x60000000 312 313 314 315 316 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_D_OFFSET 0x00000010 317 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_D_LSB 31 318 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_D_MSB 31 319 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_D_MASK 0x80000000 320 321 322 323 324 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_E_OFFSET 0x00000014 325 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_E_LSB 0 326 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_E_MSB 20 327 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_E_MASK 0x001fffff 328 329 330 331 332 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_E_OFFSET 0x00000014 333 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_E_LSB 21 334 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_E_MSB 22 335 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_E_MASK 0x00600000 336 337 338 339 340 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_E_OFFSET 0x00000014 341 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_E_LSB 23 342 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_E_MSB 28 343 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_E_MASK 0x1f800000 344 345 346 347 348 #define VHT_SIG_B_SU160_INFO_RESERVED_5_OFFSET 0x00000014 349 #define VHT_SIG_B_SU160_INFO_RESERVED_5_LSB 29 350 #define VHT_SIG_B_SU160_INFO_RESERVED_5_MSB 30 351 #define VHT_SIG_B_SU160_INFO_RESERVED_5_MASK 0x60000000 352 353 354 355 356 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_E_OFFSET 0x00000014 357 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_E_LSB 31 358 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_E_MSB 31 359 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_E_MASK 0x80000000 360 361 362 363 364 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_F_OFFSET 0x00000018 365 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_F_LSB 0 366 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_F_MSB 20 367 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_F_MASK 0x001fffff 368 369 370 371 372 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_F_OFFSET 0x00000018 373 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_F_LSB 21 374 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_F_MSB 22 375 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_F_MASK 0x00600000 376 377 378 379 380 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_F_OFFSET 0x00000018 381 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_F_LSB 23 382 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_F_MSB 28 383 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_F_MASK 0x1f800000 384 385 386 387 388 #define VHT_SIG_B_SU160_INFO_RESERVED_6_OFFSET 0x00000018 389 #define VHT_SIG_B_SU160_INFO_RESERVED_6_LSB 29 390 #define VHT_SIG_B_SU160_INFO_RESERVED_6_MSB 30 391 #define VHT_SIG_B_SU160_INFO_RESERVED_6_MASK 0x60000000 392 393 394 395 396 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_F_OFFSET 0x00000018 397 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_F_LSB 31 398 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_F_MSB 31 399 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_F_MASK 0x80000000 400 401 402 403 404 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_G_OFFSET 0x0000001c 405 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_G_LSB 0 406 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_G_MSB 20 407 #define VHT_SIG_B_SU160_INFO_LENGTH_COPY_G_MASK 0x001fffff 408 409 410 411 412 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_G_OFFSET 0x0000001c 413 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_G_LSB 21 414 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_G_MSB 22 415 #define VHT_SIG_B_SU160_INFO_VHTB_RESERVED_COPY_G_MASK 0x00600000 416 417 418 419 420 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_G_OFFSET 0x0000001c 421 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_G_LSB 23 422 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_G_MSB 28 423 #define VHT_SIG_B_SU160_INFO_TAIL_COPY_G_MASK 0x1f800000 424 425 426 427 428 #define VHT_SIG_B_SU160_INFO_RESERVED_7_OFFSET 0x0000001c 429 #define VHT_SIG_B_SU160_INFO_RESERVED_7_LSB 29 430 #define VHT_SIG_B_SU160_INFO_RESERVED_7_MSB 30 431 #define VHT_SIG_B_SU160_INFO_RESERVED_7_MASK 0x60000000 432 433 434 435 436 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_G_OFFSET 0x0000001c 437 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_G_LSB 31 438 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_G_MSB 31 439 #define VHT_SIG_B_SU160_INFO_RX_NDP_COPY_G_MASK 0x80000000 440 441 442 443 444 #endif 445