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