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 _L_SIG_A_INFO_H_ 20 #define _L_SIG_A_INFO_H_ 21 #if !defined(__ASSEMBLER__) 22 #endif 23 24 #define NUM_OF_DWORDS_L_SIG_A_INFO 1 25 26 27 struct l_sig_a_info { 28 #ifndef WIFI_BIT_ORDER_BIG_ENDIAN 29 uint32_t rate : 4, 30 lsig_reserved : 1, 31 length : 12, 32 parity : 1, 33 tail : 6, 34 pkt_type : 4, 35 captured_implicit_sounding : 1, 36 reserved : 2, 37 rx_integrity_check_passed : 1; 38 #else 39 uint32_t rx_integrity_check_passed : 1, 40 reserved : 2, 41 captured_implicit_sounding : 1, 42 pkt_type : 4, 43 tail : 6, 44 parity : 1, 45 length : 12, 46 lsig_reserved : 1, 47 rate : 4; 48 #endif 49 }; 50 51 52 53 54 #define L_SIG_A_INFO_RATE_OFFSET 0x00000000 55 #define L_SIG_A_INFO_RATE_LSB 0 56 #define L_SIG_A_INFO_RATE_MSB 3 57 #define L_SIG_A_INFO_RATE_MASK 0x0000000f 58 59 60 61 62 #define L_SIG_A_INFO_LSIG_RESERVED_OFFSET 0x00000000 63 #define L_SIG_A_INFO_LSIG_RESERVED_LSB 4 64 #define L_SIG_A_INFO_LSIG_RESERVED_MSB 4 65 #define L_SIG_A_INFO_LSIG_RESERVED_MASK 0x00000010 66 67 68 69 70 #define L_SIG_A_INFO_LENGTH_OFFSET 0x00000000 71 #define L_SIG_A_INFO_LENGTH_LSB 5 72 #define L_SIG_A_INFO_LENGTH_MSB 16 73 #define L_SIG_A_INFO_LENGTH_MASK 0x0001ffe0 74 75 76 77 78 #define L_SIG_A_INFO_PARITY_OFFSET 0x00000000 79 #define L_SIG_A_INFO_PARITY_LSB 17 80 #define L_SIG_A_INFO_PARITY_MSB 17 81 #define L_SIG_A_INFO_PARITY_MASK 0x00020000 82 83 84 85 86 #define L_SIG_A_INFO_TAIL_OFFSET 0x00000000 87 #define L_SIG_A_INFO_TAIL_LSB 18 88 #define L_SIG_A_INFO_TAIL_MSB 23 89 #define L_SIG_A_INFO_TAIL_MASK 0x00fc0000 90 91 92 93 94 #define L_SIG_A_INFO_PKT_TYPE_OFFSET 0x00000000 95 #define L_SIG_A_INFO_PKT_TYPE_LSB 24 96 #define L_SIG_A_INFO_PKT_TYPE_MSB 27 97 #define L_SIG_A_INFO_PKT_TYPE_MASK 0x0f000000 98 99 100 101 102 #define L_SIG_A_INFO_CAPTURED_IMPLICIT_SOUNDING_OFFSET 0x00000000 103 #define L_SIG_A_INFO_CAPTURED_IMPLICIT_SOUNDING_LSB 28 104 #define L_SIG_A_INFO_CAPTURED_IMPLICIT_SOUNDING_MSB 28 105 #define L_SIG_A_INFO_CAPTURED_IMPLICIT_SOUNDING_MASK 0x10000000 106 107 108 109 110 #define L_SIG_A_INFO_RESERVED_OFFSET 0x00000000 111 #define L_SIG_A_INFO_RESERVED_LSB 29 112 #define L_SIG_A_INFO_RESERVED_MSB 30 113 #define L_SIG_A_INFO_RESERVED_MASK 0x60000000 114 115 116 117 118 #define L_SIG_A_INFO_RX_INTEGRITY_CHECK_PASSED_OFFSET 0x00000000 119 #define L_SIG_A_INFO_RX_INTEGRITY_CHECK_PASSED_LSB 31 120 #define L_SIG_A_INFO_RX_INTEGRITY_CHECK_PASSED_MSB 31 121 #define L_SIG_A_INFO_RX_INTEGRITY_CHECK_PASSED_MASK 0x80000000 122 123 124 125 #endif 126