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_MU80_INFO_H_ 20 #define _VHT_SIG_B_MU80_INFO_H_ 21 #if !defined(__ASSEMBLER__) 22 #endif 23 24 #define NUM_OF_DWORDS_VHT_SIG_B_MU80_INFO 4 25 26 27 struct vht_sig_b_mu80_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 mu_user_number : 3; 41 uint32_t length_copy_c : 19, 42 mcs_copy_c : 4, 43 tail_copy_c : 6, 44 reserved_3 : 3; 45 #else 46 uint32_t reserved_0 : 3, 47 tail : 6, 48 mcs : 4, 49 length : 19; 50 uint32_t reserved_1 : 3, 51 tail_copy_a : 6, 52 mcs_copy_a : 4, 53 length_copy_a : 19; 54 uint32_t mu_user_number : 3, 55 tail_copy_b : 6, 56 mcs_copy_b : 4, 57 length_copy_b : 19; 58 uint32_t reserved_3 : 3, 59 tail_copy_c : 6, 60 mcs_copy_c : 4, 61 length_copy_c : 19; 62 #endif 63 }; 64 65 66 67 68 #define VHT_SIG_B_MU80_INFO_LENGTH_OFFSET 0x00000000 69 #define VHT_SIG_B_MU80_INFO_LENGTH_LSB 0 70 #define VHT_SIG_B_MU80_INFO_LENGTH_MSB 18 71 #define VHT_SIG_B_MU80_INFO_LENGTH_MASK 0x0007ffff 72 73 74 75 76 #define VHT_SIG_B_MU80_INFO_MCS_OFFSET 0x00000000 77 #define VHT_SIG_B_MU80_INFO_MCS_LSB 19 78 #define VHT_SIG_B_MU80_INFO_MCS_MSB 22 79 #define VHT_SIG_B_MU80_INFO_MCS_MASK 0x00780000 80 81 82 83 84 #define VHT_SIG_B_MU80_INFO_TAIL_OFFSET 0x00000000 85 #define VHT_SIG_B_MU80_INFO_TAIL_LSB 23 86 #define VHT_SIG_B_MU80_INFO_TAIL_MSB 28 87 #define VHT_SIG_B_MU80_INFO_TAIL_MASK 0x1f800000 88 89 90 91 92 #define VHT_SIG_B_MU80_INFO_RESERVED_0_OFFSET 0x00000000 93 #define VHT_SIG_B_MU80_INFO_RESERVED_0_LSB 29 94 #define VHT_SIG_B_MU80_INFO_RESERVED_0_MSB 31 95 #define VHT_SIG_B_MU80_INFO_RESERVED_0_MASK 0xe0000000 96 97 98 99 100 #define VHT_SIG_B_MU80_INFO_LENGTH_COPY_A_OFFSET 0x00000004 101 #define VHT_SIG_B_MU80_INFO_LENGTH_COPY_A_LSB 0 102 #define VHT_SIG_B_MU80_INFO_LENGTH_COPY_A_MSB 18 103 #define VHT_SIG_B_MU80_INFO_LENGTH_COPY_A_MASK 0x0007ffff 104 105 106 107 108 #define VHT_SIG_B_MU80_INFO_MCS_COPY_A_OFFSET 0x00000004 109 #define VHT_SIG_B_MU80_INFO_MCS_COPY_A_LSB 19 110 #define VHT_SIG_B_MU80_INFO_MCS_COPY_A_MSB 22 111 #define VHT_SIG_B_MU80_INFO_MCS_COPY_A_MASK 0x00780000 112 113 114 115 116 #define VHT_SIG_B_MU80_INFO_TAIL_COPY_A_OFFSET 0x00000004 117 #define VHT_SIG_B_MU80_INFO_TAIL_COPY_A_LSB 23 118 #define VHT_SIG_B_MU80_INFO_TAIL_COPY_A_MSB 28 119 #define VHT_SIG_B_MU80_INFO_TAIL_COPY_A_MASK 0x1f800000 120 121 122 123 124 #define VHT_SIG_B_MU80_INFO_RESERVED_1_OFFSET 0x00000004 125 #define VHT_SIG_B_MU80_INFO_RESERVED_1_LSB 29 126 #define VHT_SIG_B_MU80_INFO_RESERVED_1_MSB 31 127 #define VHT_SIG_B_MU80_INFO_RESERVED_1_MASK 0xe0000000 128 129 130 131 132 #define VHT_SIG_B_MU80_INFO_LENGTH_COPY_B_OFFSET 0x00000008 133 #define VHT_SIG_B_MU80_INFO_LENGTH_COPY_B_LSB 0 134 #define VHT_SIG_B_MU80_INFO_LENGTH_COPY_B_MSB 18 135 #define VHT_SIG_B_MU80_INFO_LENGTH_COPY_B_MASK 0x0007ffff 136 137 138 139 140 #define VHT_SIG_B_MU80_INFO_MCS_COPY_B_OFFSET 0x00000008 141 #define VHT_SIG_B_MU80_INFO_MCS_COPY_B_LSB 19 142 #define VHT_SIG_B_MU80_INFO_MCS_COPY_B_MSB 22 143 #define VHT_SIG_B_MU80_INFO_MCS_COPY_B_MASK 0x00780000 144 145 146 147 148 #define VHT_SIG_B_MU80_INFO_TAIL_COPY_B_OFFSET 0x00000008 149 #define VHT_SIG_B_MU80_INFO_TAIL_COPY_B_LSB 23 150 #define VHT_SIG_B_MU80_INFO_TAIL_COPY_B_MSB 28 151 #define VHT_SIG_B_MU80_INFO_TAIL_COPY_B_MASK 0x1f800000 152 153 154 155 156 #define VHT_SIG_B_MU80_INFO_MU_USER_NUMBER_OFFSET 0x00000008 157 #define VHT_SIG_B_MU80_INFO_MU_USER_NUMBER_LSB 29 158 #define VHT_SIG_B_MU80_INFO_MU_USER_NUMBER_MSB 31 159 #define VHT_SIG_B_MU80_INFO_MU_USER_NUMBER_MASK 0xe0000000 160 161 162 163 164 #define VHT_SIG_B_MU80_INFO_LENGTH_COPY_C_OFFSET 0x0000000c 165 #define VHT_SIG_B_MU80_INFO_LENGTH_COPY_C_LSB 0 166 #define VHT_SIG_B_MU80_INFO_LENGTH_COPY_C_MSB 18 167 #define VHT_SIG_B_MU80_INFO_LENGTH_COPY_C_MASK 0x0007ffff 168 169 170 171 172 #define VHT_SIG_B_MU80_INFO_MCS_COPY_C_OFFSET 0x0000000c 173 #define VHT_SIG_B_MU80_INFO_MCS_COPY_C_LSB 19 174 #define VHT_SIG_B_MU80_INFO_MCS_COPY_C_MSB 22 175 #define VHT_SIG_B_MU80_INFO_MCS_COPY_C_MASK 0x00780000 176 177 178 179 180 #define VHT_SIG_B_MU80_INFO_TAIL_COPY_C_OFFSET 0x0000000c 181 #define VHT_SIG_B_MU80_INFO_TAIL_COPY_C_LSB 23 182 #define VHT_SIG_B_MU80_INFO_TAIL_COPY_C_MSB 28 183 #define VHT_SIG_B_MU80_INFO_TAIL_COPY_C_MASK 0x1f800000 184 185 186 187 188 #define VHT_SIG_B_MU80_INFO_RESERVED_3_OFFSET 0x0000000c 189 #define VHT_SIG_B_MU80_INFO_RESERVED_3_LSB 29 190 #define VHT_SIG_B_MU80_INFO_RESERVED_3_MSB 31 191 #define VHT_SIG_B_MU80_INFO_RESERVED_3_MASK 0xe0000000 192 193 194 195 #endif 196