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 _EHT_SIG_USR_SU_INFO_H_ 20 #define _EHT_SIG_USR_SU_INFO_H_ 21 #if !defined(__ASSEMBLER__) 22 #endif 23 24 #define NUM_OF_DWORDS_EHT_SIG_USR_SU_INFO 1 25 26 27 struct eht_sig_usr_su_info { 28 #ifndef WIFI_BIT_ORDER_BIG_ENDIAN 29 uint32_t sta_id : 11, 30 sta_mcs : 4, 31 validate_0a : 1, 32 nss : 4, 33 txbf : 1, 34 sta_coding : 1, 35 reserved_0b : 9, 36 rx_integrity_check_passed : 1; 37 #else 38 uint32_t rx_integrity_check_passed : 1, 39 reserved_0b : 9, 40 sta_coding : 1, 41 txbf : 1, 42 nss : 4, 43 validate_0a : 1, 44 sta_mcs : 4, 45 sta_id : 11; 46 #endif 47 }; 48 49 50 51 52 #define EHT_SIG_USR_SU_INFO_STA_ID_OFFSET 0x00000000 53 #define EHT_SIG_USR_SU_INFO_STA_ID_LSB 0 54 #define EHT_SIG_USR_SU_INFO_STA_ID_MSB 10 55 #define EHT_SIG_USR_SU_INFO_STA_ID_MASK 0x000007ff 56 57 58 59 60 #define EHT_SIG_USR_SU_INFO_STA_MCS_OFFSET 0x00000000 61 #define EHT_SIG_USR_SU_INFO_STA_MCS_LSB 11 62 #define EHT_SIG_USR_SU_INFO_STA_MCS_MSB 14 63 #define EHT_SIG_USR_SU_INFO_STA_MCS_MASK 0x00007800 64 65 66 67 68 #define EHT_SIG_USR_SU_INFO_VALIDATE_0A_OFFSET 0x00000000 69 #define EHT_SIG_USR_SU_INFO_VALIDATE_0A_LSB 15 70 #define EHT_SIG_USR_SU_INFO_VALIDATE_0A_MSB 15 71 #define EHT_SIG_USR_SU_INFO_VALIDATE_0A_MASK 0x00008000 72 73 74 75 76 #define EHT_SIG_USR_SU_INFO_NSS_OFFSET 0x00000000 77 #define EHT_SIG_USR_SU_INFO_NSS_LSB 16 78 #define EHT_SIG_USR_SU_INFO_NSS_MSB 19 79 #define EHT_SIG_USR_SU_INFO_NSS_MASK 0x000f0000 80 81 82 83 84 #define EHT_SIG_USR_SU_INFO_TXBF_OFFSET 0x00000000 85 #define EHT_SIG_USR_SU_INFO_TXBF_LSB 20 86 #define EHT_SIG_USR_SU_INFO_TXBF_MSB 20 87 #define EHT_SIG_USR_SU_INFO_TXBF_MASK 0x00100000 88 89 90 91 92 #define EHT_SIG_USR_SU_INFO_STA_CODING_OFFSET 0x00000000 93 #define EHT_SIG_USR_SU_INFO_STA_CODING_LSB 21 94 #define EHT_SIG_USR_SU_INFO_STA_CODING_MSB 21 95 #define EHT_SIG_USR_SU_INFO_STA_CODING_MASK 0x00200000 96 97 98 99 100 #define EHT_SIG_USR_SU_INFO_RESERVED_0B_OFFSET 0x00000000 101 #define EHT_SIG_USR_SU_INFO_RESERVED_0B_LSB 22 102 #define EHT_SIG_USR_SU_INFO_RESERVED_0B_MSB 30 103 #define EHT_SIG_USR_SU_INFO_RESERVED_0B_MASK 0x7fc00000 104 105 106 107 108 #define EHT_SIG_USR_SU_INFO_RX_INTEGRITY_CHECK_PASSED_OFFSET 0x00000000 109 #define EHT_SIG_USR_SU_INFO_RX_INTEGRITY_CHECK_PASSED_LSB 31 110 #define EHT_SIG_USR_SU_INFO_RX_INTEGRITY_CHECK_PASSED_MSB 31 111 #define EHT_SIG_USR_SU_INFO_RX_INTEGRITY_CHECK_PASSED_MASK 0x80000000 112 113 114 115 #endif 116