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_MU160_INFO_H_ 28 #define _VHT_SIG_B_MU160_INFO_H_ 29 #if !defined(__ASSEMBLER__) 30 #endif 31 32 #define NUM_OF_DWORDS_VHT_SIG_B_MU160_INFO 8 33 34 35 struct vht_sig_b_mu160_info { 36 #ifndef WIFI_BIT_ORDER_BIG_ENDIAN 37 uint32_t length : 19, // [18:0] 38 mcs : 4, // [22:19] 39 tail : 6, // [28:23] 40 reserved_0 : 3; // [31:29] 41 uint32_t length_copy_a : 19, // [18:0] 42 mcs_copy_a : 4, // [22:19] 43 tail_copy_a : 6, // [28:23] 44 reserved_1 : 3; // [31:29] 45 uint32_t length_copy_b : 19, // [18:0] 46 mcs_copy_b : 4, // [22:19] 47 tail_copy_b : 6, // [28:23] 48 reserved_2 : 3; // [31:29] 49 uint32_t length_copy_c : 19, // [18:0] 50 mcs_copy_c : 4, // [22:19] 51 tail_copy_c : 6, // [28:23] 52 reserved_3 : 3; // [31:29] 53 uint32_t length_copy_d : 19, // [18:0] 54 mcs_copy_d : 4, // [22:19] 55 tail_copy_d : 6, // [28:23] 56 reserved_4 : 3; // [31:29] 57 uint32_t length_copy_e : 19, // [18:0] 58 mcs_copy_e : 4, // [22:19] 59 tail_copy_e : 6, // [28:23] 60 reserved_5 : 3; // [31:29] 61 uint32_t length_copy_f : 19, // [18:0] 62 mcs_copy_f : 4, // [22:19] 63 tail_copy_f : 6, // [28:23] 64 mu_user_number : 3; // [31:29] 65 uint32_t length_copy_g : 19, // [18:0] 66 mcs_copy_g : 4, // [22:19] 67 tail_copy_g : 6, // [28:23] 68 reserved_7 : 3; // [31:29] 69 #else 70 uint32_t reserved_0 : 3, // [31:29] 71 tail : 6, // [28:23] 72 mcs : 4, // [22:19] 73 length : 19; // [18:0] 74 uint32_t reserved_1 : 3, // [31:29] 75 tail_copy_a : 6, // [28:23] 76 mcs_copy_a : 4, // [22:19] 77 length_copy_a : 19; // [18:0] 78 uint32_t reserved_2 : 3, // [31:29] 79 tail_copy_b : 6, // [28:23] 80 mcs_copy_b : 4, // [22:19] 81 length_copy_b : 19; // [18:0] 82 uint32_t reserved_3 : 3, // [31:29] 83 tail_copy_c : 6, // [28:23] 84 mcs_copy_c : 4, // [22:19] 85 length_copy_c : 19; // [18:0] 86 uint32_t reserved_4 : 3, // [31:29] 87 tail_copy_d : 6, // [28:23] 88 mcs_copy_d : 4, // [22:19] 89 length_copy_d : 19; // [18:0] 90 uint32_t reserved_5 : 3, // [31:29] 91 tail_copy_e : 6, // [28:23] 92 mcs_copy_e : 4, // [22:19] 93 length_copy_e : 19; // [18:0] 94 uint32_t mu_user_number : 3, // [31:29] 95 tail_copy_f : 6, // [28:23] 96 mcs_copy_f : 4, // [22:19] 97 length_copy_f : 19; // [18:0] 98 uint32_t reserved_7 : 3, // [31:29] 99 tail_copy_g : 6, // [28:23] 100 mcs_copy_g : 4, // [22:19] 101 length_copy_g : 19; // [18:0] 102 #endif 103 }; 104 105 106 107 108 #define VHT_SIG_B_MU160_INFO_LENGTH_OFFSET 0x00000000 109 #define VHT_SIG_B_MU160_INFO_LENGTH_LSB 0 110 #define VHT_SIG_B_MU160_INFO_LENGTH_MSB 18 111 #define VHT_SIG_B_MU160_INFO_LENGTH_MASK 0x0007ffff 112 113 114 115 116 #define VHT_SIG_B_MU160_INFO_MCS_OFFSET 0x00000000 117 #define VHT_SIG_B_MU160_INFO_MCS_LSB 19 118 #define VHT_SIG_B_MU160_INFO_MCS_MSB 22 119 #define VHT_SIG_B_MU160_INFO_MCS_MASK 0x00780000 120 121 122 123 124 #define VHT_SIG_B_MU160_INFO_TAIL_OFFSET 0x00000000 125 #define VHT_SIG_B_MU160_INFO_TAIL_LSB 23 126 #define VHT_SIG_B_MU160_INFO_TAIL_MSB 28 127 #define VHT_SIG_B_MU160_INFO_TAIL_MASK 0x1f800000 128 129 130 131 132 #define VHT_SIG_B_MU160_INFO_RESERVED_0_OFFSET 0x00000000 133 #define VHT_SIG_B_MU160_INFO_RESERVED_0_LSB 29 134 #define VHT_SIG_B_MU160_INFO_RESERVED_0_MSB 31 135 #define VHT_SIG_B_MU160_INFO_RESERVED_0_MASK 0xe0000000 136 137 138 139 140 #define VHT_SIG_B_MU160_INFO_LENGTH_COPY_A_OFFSET 0x00000004 141 #define VHT_SIG_B_MU160_INFO_LENGTH_COPY_A_LSB 0 142 #define VHT_SIG_B_MU160_INFO_LENGTH_COPY_A_MSB 18 143 #define VHT_SIG_B_MU160_INFO_LENGTH_COPY_A_MASK 0x0007ffff 144 145 146 147 148 #define VHT_SIG_B_MU160_INFO_MCS_COPY_A_OFFSET 0x00000004 149 #define VHT_SIG_B_MU160_INFO_MCS_COPY_A_LSB 19 150 #define VHT_SIG_B_MU160_INFO_MCS_COPY_A_MSB 22 151 #define VHT_SIG_B_MU160_INFO_MCS_COPY_A_MASK 0x00780000 152 153 154 155 156 #define VHT_SIG_B_MU160_INFO_TAIL_COPY_A_OFFSET 0x00000004 157 #define VHT_SIG_B_MU160_INFO_TAIL_COPY_A_LSB 23 158 #define VHT_SIG_B_MU160_INFO_TAIL_COPY_A_MSB 28 159 #define VHT_SIG_B_MU160_INFO_TAIL_COPY_A_MASK 0x1f800000 160 161 162 163 164 #define VHT_SIG_B_MU160_INFO_RESERVED_1_OFFSET 0x00000004 165 #define VHT_SIG_B_MU160_INFO_RESERVED_1_LSB 29 166 #define VHT_SIG_B_MU160_INFO_RESERVED_1_MSB 31 167 #define VHT_SIG_B_MU160_INFO_RESERVED_1_MASK 0xe0000000 168 169 170 171 172 #define VHT_SIG_B_MU160_INFO_LENGTH_COPY_B_OFFSET 0x00000008 173 #define VHT_SIG_B_MU160_INFO_LENGTH_COPY_B_LSB 0 174 #define VHT_SIG_B_MU160_INFO_LENGTH_COPY_B_MSB 18 175 #define VHT_SIG_B_MU160_INFO_LENGTH_COPY_B_MASK 0x0007ffff 176 177 178 179 180 #define VHT_SIG_B_MU160_INFO_MCS_COPY_B_OFFSET 0x00000008 181 #define VHT_SIG_B_MU160_INFO_MCS_COPY_B_LSB 19 182 #define VHT_SIG_B_MU160_INFO_MCS_COPY_B_MSB 22 183 #define VHT_SIG_B_MU160_INFO_MCS_COPY_B_MASK 0x00780000 184 185 186 187 188 #define VHT_SIG_B_MU160_INFO_TAIL_COPY_B_OFFSET 0x00000008 189 #define VHT_SIG_B_MU160_INFO_TAIL_COPY_B_LSB 23 190 #define VHT_SIG_B_MU160_INFO_TAIL_COPY_B_MSB 28 191 #define VHT_SIG_B_MU160_INFO_TAIL_COPY_B_MASK 0x1f800000 192 193 194 195 196 #define VHT_SIG_B_MU160_INFO_RESERVED_2_OFFSET 0x00000008 197 #define VHT_SIG_B_MU160_INFO_RESERVED_2_LSB 29 198 #define VHT_SIG_B_MU160_INFO_RESERVED_2_MSB 31 199 #define VHT_SIG_B_MU160_INFO_RESERVED_2_MASK 0xe0000000 200 201 202 203 204 #define VHT_SIG_B_MU160_INFO_LENGTH_COPY_C_OFFSET 0x0000000c 205 #define VHT_SIG_B_MU160_INFO_LENGTH_COPY_C_LSB 0 206 #define VHT_SIG_B_MU160_INFO_LENGTH_COPY_C_MSB 18 207 #define VHT_SIG_B_MU160_INFO_LENGTH_COPY_C_MASK 0x0007ffff 208 209 210 211 212 #define VHT_SIG_B_MU160_INFO_MCS_COPY_C_OFFSET 0x0000000c 213 #define VHT_SIG_B_MU160_INFO_MCS_COPY_C_LSB 19 214 #define VHT_SIG_B_MU160_INFO_MCS_COPY_C_MSB 22 215 #define VHT_SIG_B_MU160_INFO_MCS_COPY_C_MASK 0x00780000 216 217 218 219 220 #define VHT_SIG_B_MU160_INFO_TAIL_COPY_C_OFFSET 0x0000000c 221 #define VHT_SIG_B_MU160_INFO_TAIL_COPY_C_LSB 23 222 #define VHT_SIG_B_MU160_INFO_TAIL_COPY_C_MSB 28 223 #define VHT_SIG_B_MU160_INFO_TAIL_COPY_C_MASK 0x1f800000 224 225 226 227 228 #define VHT_SIG_B_MU160_INFO_RESERVED_3_OFFSET 0x0000000c 229 #define VHT_SIG_B_MU160_INFO_RESERVED_3_LSB 29 230 #define VHT_SIG_B_MU160_INFO_RESERVED_3_MSB 31 231 #define VHT_SIG_B_MU160_INFO_RESERVED_3_MASK 0xe0000000 232 233 234 235 236 #define VHT_SIG_B_MU160_INFO_LENGTH_COPY_D_OFFSET 0x00000010 237 #define VHT_SIG_B_MU160_INFO_LENGTH_COPY_D_LSB 0 238 #define VHT_SIG_B_MU160_INFO_LENGTH_COPY_D_MSB 18 239 #define VHT_SIG_B_MU160_INFO_LENGTH_COPY_D_MASK 0x0007ffff 240 241 242 243 244 #define VHT_SIG_B_MU160_INFO_MCS_COPY_D_OFFSET 0x00000010 245 #define VHT_SIG_B_MU160_INFO_MCS_COPY_D_LSB 19 246 #define VHT_SIG_B_MU160_INFO_MCS_COPY_D_MSB 22 247 #define VHT_SIG_B_MU160_INFO_MCS_COPY_D_MASK 0x00780000 248 249 250 251 252 #define VHT_SIG_B_MU160_INFO_TAIL_COPY_D_OFFSET 0x00000010 253 #define VHT_SIG_B_MU160_INFO_TAIL_COPY_D_LSB 23 254 #define VHT_SIG_B_MU160_INFO_TAIL_COPY_D_MSB 28 255 #define VHT_SIG_B_MU160_INFO_TAIL_COPY_D_MASK 0x1f800000 256 257 258 259 260 #define VHT_SIG_B_MU160_INFO_RESERVED_4_OFFSET 0x00000010 261 #define VHT_SIG_B_MU160_INFO_RESERVED_4_LSB 29 262 #define VHT_SIG_B_MU160_INFO_RESERVED_4_MSB 31 263 #define VHT_SIG_B_MU160_INFO_RESERVED_4_MASK 0xe0000000 264 265 266 267 268 #define VHT_SIG_B_MU160_INFO_LENGTH_COPY_E_OFFSET 0x00000014 269 #define VHT_SIG_B_MU160_INFO_LENGTH_COPY_E_LSB 0 270 #define VHT_SIG_B_MU160_INFO_LENGTH_COPY_E_MSB 18 271 #define VHT_SIG_B_MU160_INFO_LENGTH_COPY_E_MASK 0x0007ffff 272 273 274 275 276 #define VHT_SIG_B_MU160_INFO_MCS_COPY_E_OFFSET 0x00000014 277 #define VHT_SIG_B_MU160_INFO_MCS_COPY_E_LSB 19 278 #define VHT_SIG_B_MU160_INFO_MCS_COPY_E_MSB 22 279 #define VHT_SIG_B_MU160_INFO_MCS_COPY_E_MASK 0x00780000 280 281 282 283 284 #define VHT_SIG_B_MU160_INFO_TAIL_COPY_E_OFFSET 0x00000014 285 #define VHT_SIG_B_MU160_INFO_TAIL_COPY_E_LSB 23 286 #define VHT_SIG_B_MU160_INFO_TAIL_COPY_E_MSB 28 287 #define VHT_SIG_B_MU160_INFO_TAIL_COPY_E_MASK 0x1f800000 288 289 290 291 292 #define VHT_SIG_B_MU160_INFO_RESERVED_5_OFFSET 0x00000014 293 #define VHT_SIG_B_MU160_INFO_RESERVED_5_LSB 29 294 #define VHT_SIG_B_MU160_INFO_RESERVED_5_MSB 31 295 #define VHT_SIG_B_MU160_INFO_RESERVED_5_MASK 0xe0000000 296 297 298 299 300 #define VHT_SIG_B_MU160_INFO_LENGTH_COPY_F_OFFSET 0x00000018 301 #define VHT_SIG_B_MU160_INFO_LENGTH_COPY_F_LSB 0 302 #define VHT_SIG_B_MU160_INFO_LENGTH_COPY_F_MSB 18 303 #define VHT_SIG_B_MU160_INFO_LENGTH_COPY_F_MASK 0x0007ffff 304 305 306 307 308 #define VHT_SIG_B_MU160_INFO_MCS_COPY_F_OFFSET 0x00000018 309 #define VHT_SIG_B_MU160_INFO_MCS_COPY_F_LSB 19 310 #define VHT_SIG_B_MU160_INFO_MCS_COPY_F_MSB 22 311 #define VHT_SIG_B_MU160_INFO_MCS_COPY_F_MASK 0x00780000 312 313 314 315 316 #define VHT_SIG_B_MU160_INFO_TAIL_COPY_F_OFFSET 0x00000018 317 #define VHT_SIG_B_MU160_INFO_TAIL_COPY_F_LSB 23 318 #define VHT_SIG_B_MU160_INFO_TAIL_COPY_F_MSB 28 319 #define VHT_SIG_B_MU160_INFO_TAIL_COPY_F_MASK 0x1f800000 320 321 322 323 324 #define VHT_SIG_B_MU160_INFO_MU_USER_NUMBER_OFFSET 0x00000018 325 #define VHT_SIG_B_MU160_INFO_MU_USER_NUMBER_LSB 29 326 #define VHT_SIG_B_MU160_INFO_MU_USER_NUMBER_MSB 31 327 #define VHT_SIG_B_MU160_INFO_MU_USER_NUMBER_MASK 0xe0000000 328 329 330 331 332 #define VHT_SIG_B_MU160_INFO_LENGTH_COPY_G_OFFSET 0x0000001c 333 #define VHT_SIG_B_MU160_INFO_LENGTH_COPY_G_LSB 0 334 #define VHT_SIG_B_MU160_INFO_LENGTH_COPY_G_MSB 18 335 #define VHT_SIG_B_MU160_INFO_LENGTH_COPY_G_MASK 0x0007ffff 336 337 338 339 340 #define VHT_SIG_B_MU160_INFO_MCS_COPY_G_OFFSET 0x0000001c 341 #define VHT_SIG_B_MU160_INFO_MCS_COPY_G_LSB 19 342 #define VHT_SIG_B_MU160_INFO_MCS_COPY_G_MSB 22 343 #define VHT_SIG_B_MU160_INFO_MCS_COPY_G_MASK 0x00780000 344 345 346 347 348 #define VHT_SIG_B_MU160_INFO_TAIL_COPY_G_OFFSET 0x0000001c 349 #define VHT_SIG_B_MU160_INFO_TAIL_COPY_G_LSB 23 350 #define VHT_SIG_B_MU160_INFO_TAIL_COPY_G_MSB 28 351 #define VHT_SIG_B_MU160_INFO_TAIL_COPY_G_MASK 0x1f800000 352 353 354 355 356 #define VHT_SIG_B_MU160_INFO_RESERVED_7_OFFSET 0x0000001c 357 #define VHT_SIG_B_MU160_INFO_RESERVED_7_LSB 29 358 #define VHT_SIG_B_MU160_INFO_RESERVED_7_MSB 31 359 #define VHT_SIG_B_MU160_INFO_RESERVED_7_MASK 0xe0000000 360 361 362 363 364 #endif 365