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_B_INFO_H_ 20 #define _L_SIG_B_INFO_H_ 21 #if !defined(__ASSEMBLER__) 22 #endif 23 24 #define NUM_OF_DWORDS_L_SIG_B_INFO 1 25 26 27 struct l_sig_b_info { 28 #ifndef WIFI_BIT_ORDER_BIG_ENDIAN 29 uint32_t rate : 4, 30 length : 12, 31 reserved : 15, 32 rx_integrity_check_passed : 1; 33 #else 34 uint32_t rx_integrity_check_passed : 1, 35 reserved : 15, 36 length : 12, 37 rate : 4; 38 #endif 39 }; 40 41 42 43 44 #define L_SIG_B_INFO_RATE_OFFSET 0x00000000 45 #define L_SIG_B_INFO_RATE_LSB 0 46 #define L_SIG_B_INFO_RATE_MSB 3 47 #define L_SIG_B_INFO_RATE_MASK 0x0000000f 48 49 50 51 52 #define L_SIG_B_INFO_LENGTH_OFFSET 0x00000000 53 #define L_SIG_B_INFO_LENGTH_LSB 4 54 #define L_SIG_B_INFO_LENGTH_MSB 15 55 #define L_SIG_B_INFO_LENGTH_MASK 0x0000fff0 56 57 58 59 60 #define L_SIG_B_INFO_RESERVED_OFFSET 0x00000000 61 #define L_SIG_B_INFO_RESERVED_LSB 16 62 #define L_SIG_B_INFO_RESERVED_MSB 30 63 #define L_SIG_B_INFO_RESERVED_MASK 0x7fff0000 64 65 66 67 68 #define L_SIG_B_INFO_RX_INTEGRITY_CHECK_PASSED_OFFSET 0x00000000 69 #define L_SIG_B_INFO_RX_INTEGRITY_CHECK_PASSED_LSB 31 70 #define L_SIG_B_INFO_RX_INTEGRITY_CHECK_PASSED_MSB 31 71 #define L_SIG_B_INFO_RX_INTEGRITY_CHECK_PASSED_MASK 0x80000000 72 73 74 75 #endif 76