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_MU40_INFO_H_ 20 #define _VHT_SIG_B_MU40_INFO_H_ 21 #if !defined(__ASSEMBLER__) 22 #endif 23 24 #define NUM_OF_DWORDS_VHT_SIG_B_MU40_INFO 2 25 26 27 struct vht_sig_b_mu40_info { 28 #ifndef WIFI_BIT_ORDER_BIG_ENDIAN 29 uint32_t length : 17, 30 mcs : 4, 31 tail : 6, 32 reserved_0 : 2, 33 mu_user_number : 3; 34 uint32_t length_copy : 17, 35 mcs_copy : 4, 36 tail_copy : 6, 37 reserved_1 : 5; 38 #else 39 uint32_t mu_user_number : 3, 40 reserved_0 : 2, 41 tail : 6, 42 mcs : 4, 43 length : 17; 44 uint32_t reserved_1 : 5, 45 tail_copy : 6, 46 mcs_copy : 4, 47 length_copy : 17; 48 #endif 49 }; 50 51 52 53 54 #define VHT_SIG_B_MU40_INFO_LENGTH_OFFSET 0x00000000 55 #define VHT_SIG_B_MU40_INFO_LENGTH_LSB 0 56 #define VHT_SIG_B_MU40_INFO_LENGTH_MSB 16 57 #define VHT_SIG_B_MU40_INFO_LENGTH_MASK 0x0001ffff 58 59 60 61 62 #define VHT_SIG_B_MU40_INFO_MCS_OFFSET 0x00000000 63 #define VHT_SIG_B_MU40_INFO_MCS_LSB 17 64 #define VHT_SIG_B_MU40_INFO_MCS_MSB 20 65 #define VHT_SIG_B_MU40_INFO_MCS_MASK 0x001e0000 66 67 68 69 70 #define VHT_SIG_B_MU40_INFO_TAIL_OFFSET 0x00000000 71 #define VHT_SIG_B_MU40_INFO_TAIL_LSB 21 72 #define VHT_SIG_B_MU40_INFO_TAIL_MSB 26 73 #define VHT_SIG_B_MU40_INFO_TAIL_MASK 0x07e00000 74 75 76 77 78 #define VHT_SIG_B_MU40_INFO_RESERVED_0_OFFSET 0x00000000 79 #define VHT_SIG_B_MU40_INFO_RESERVED_0_LSB 27 80 #define VHT_SIG_B_MU40_INFO_RESERVED_0_MSB 28 81 #define VHT_SIG_B_MU40_INFO_RESERVED_0_MASK 0x18000000 82 83 84 85 86 #define VHT_SIG_B_MU40_INFO_MU_USER_NUMBER_OFFSET 0x00000000 87 #define VHT_SIG_B_MU40_INFO_MU_USER_NUMBER_LSB 29 88 #define VHT_SIG_B_MU40_INFO_MU_USER_NUMBER_MSB 31 89 #define VHT_SIG_B_MU40_INFO_MU_USER_NUMBER_MASK 0xe0000000 90 91 92 93 94 #define VHT_SIG_B_MU40_INFO_LENGTH_COPY_OFFSET 0x00000004 95 #define VHT_SIG_B_MU40_INFO_LENGTH_COPY_LSB 0 96 #define VHT_SIG_B_MU40_INFO_LENGTH_COPY_MSB 16 97 #define VHT_SIG_B_MU40_INFO_LENGTH_COPY_MASK 0x0001ffff 98 99 100 101 102 #define VHT_SIG_B_MU40_INFO_MCS_COPY_OFFSET 0x00000004 103 #define VHT_SIG_B_MU40_INFO_MCS_COPY_LSB 17 104 #define VHT_SIG_B_MU40_INFO_MCS_COPY_MSB 20 105 #define VHT_SIG_B_MU40_INFO_MCS_COPY_MASK 0x001e0000 106 107 108 109 110 #define VHT_SIG_B_MU40_INFO_TAIL_COPY_OFFSET 0x00000004 111 #define VHT_SIG_B_MU40_INFO_TAIL_COPY_LSB 21 112 #define VHT_SIG_B_MU40_INFO_TAIL_COPY_MSB 26 113 #define VHT_SIG_B_MU40_INFO_TAIL_COPY_MASK 0x07e00000 114 115 116 117 118 #define VHT_SIG_B_MU40_INFO_RESERVED_1_OFFSET 0x00000004 119 #define VHT_SIG_B_MU40_INFO_RESERVED_1_LSB 27 120 #define VHT_SIG_B_MU40_INFO_RESERVED_1_MSB 31 121 #define VHT_SIG_B_MU40_INFO_RESERVED_1_MASK 0xf8000000 122 123 124 125 #endif 126