1 2 /* 3 * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. 4 * 5 * Permission to use, copy, modify, and/or distribute this software for 6 * any purpose with or without fee is hereby granted, provided that the 7 * above copyright notice and this permission notice appear in all 8 * copies. 9 * 10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL 11 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED 12 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE 13 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL 14 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 15 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 16 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 17 * PERFORMANCE OF THIS SOFTWARE. 18 */ 19 20 21 22 #ifndef _HE_SIG_B2_MU_INFO_H_ 23 #define _HE_SIG_B2_MU_INFO_H_ 24 #if !defined(__ASSEMBLER__) 25 #endif 26 27 #define NUM_OF_DWORDS_HE_SIG_B2_MU_INFO 1 28 29 struct he_sig_b2_mu_info { 30 uint32_t sta_id : 11, 31 sta_spatial_config : 4, 32 sta_mcs : 4, 33 reserved_set_to_1 : 1, 34 sta_coding : 1, 35 reserved_0a : 8, 36 nsts : 3; 37 }; 38 39 #define HE_SIG_B2_MU_INFO_0_STA_ID_OFFSET 0x00000000 40 #define HE_SIG_B2_MU_INFO_0_STA_ID_LSB 0 41 #define HE_SIG_B2_MU_INFO_0_STA_ID_MASK 0x000007ff 42 43 #define HE_SIG_B2_MU_INFO_0_STA_SPATIAL_CONFIG_OFFSET 0x00000000 44 #define HE_SIG_B2_MU_INFO_0_STA_SPATIAL_CONFIG_LSB 11 45 #define HE_SIG_B2_MU_INFO_0_STA_SPATIAL_CONFIG_MASK 0x00007800 46 47 #define HE_SIG_B2_MU_INFO_0_STA_MCS_OFFSET 0x00000000 48 #define HE_SIG_B2_MU_INFO_0_STA_MCS_LSB 15 49 #define HE_SIG_B2_MU_INFO_0_STA_MCS_MASK 0x00078000 50 51 #define HE_SIG_B2_MU_INFO_0_RESERVED_SET_TO_1_OFFSET 0x00000000 52 #define HE_SIG_B2_MU_INFO_0_RESERVED_SET_TO_1_LSB 19 53 #define HE_SIG_B2_MU_INFO_0_RESERVED_SET_TO_1_MASK 0x00080000 54 55 #define HE_SIG_B2_MU_INFO_0_STA_CODING_OFFSET 0x00000000 56 #define HE_SIG_B2_MU_INFO_0_STA_CODING_LSB 20 57 #define HE_SIG_B2_MU_INFO_0_STA_CODING_MASK 0x00100000 58 59 #define HE_SIG_B2_MU_INFO_0_RESERVED_0A_OFFSET 0x00000000 60 #define HE_SIG_B2_MU_INFO_0_RESERVED_0A_LSB 21 61 #define HE_SIG_B2_MU_INFO_0_RESERVED_0A_MASK 0x1fe00000 62 63 #define HE_SIG_B2_MU_INFO_0_NSTS_OFFSET 0x00000000 64 #define HE_SIG_B2_MU_INFO_0_NSTS_LSB 29 65 #define HE_SIG_B2_MU_INFO_0_NSTS_MASK 0xe0000000 66 67 #endif 68