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 any 6 * purpose with or without fee is hereby granted, provided that the above 7 * copyright notice and this permission notice appear in all copies. 8 * 9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 */ 17 18 19 20 #ifndef _VHT_SIG_B_SU20_INFO_H_ 21 #define _VHT_SIG_B_SU20_INFO_H_ 22 #if !defined(__ASSEMBLER__) 23 #endif 24 25 #define NUM_OF_DWORDS_VHT_SIG_B_SU20_INFO 1 26 27 struct vht_sig_b_su20_info { 28 #ifndef WIFI_BIT_ORDER_BIG_ENDIAN 29 uint32_t length : 17, 30 vhtb_reserved : 3, 31 tail : 6, 32 reserved : 5, 33 rx_ndp : 1; 34 #else 35 uint32_t rx_ndp : 1, 36 reserved : 5, 37 tail : 6, 38 vhtb_reserved : 3, 39 length : 17; 40 #endif 41 }; 42 43 #define VHT_SIG_B_SU20_INFO_LENGTH_OFFSET 0x00000000 44 #define VHT_SIG_B_SU20_INFO_LENGTH_LSB 0 45 #define VHT_SIG_B_SU20_INFO_LENGTH_MSB 16 46 #define VHT_SIG_B_SU20_INFO_LENGTH_MASK 0x0001ffff 47 48 #define VHT_SIG_B_SU20_INFO_VHTB_RESERVED_OFFSET 0x00000000 49 #define VHT_SIG_B_SU20_INFO_VHTB_RESERVED_LSB 17 50 #define VHT_SIG_B_SU20_INFO_VHTB_RESERVED_MSB 19 51 #define VHT_SIG_B_SU20_INFO_VHTB_RESERVED_MASK 0x000e0000 52 53 #define VHT_SIG_B_SU20_INFO_TAIL_OFFSET 0x00000000 54 #define VHT_SIG_B_SU20_INFO_TAIL_LSB 20 55 #define VHT_SIG_B_SU20_INFO_TAIL_MSB 25 56 #define VHT_SIG_B_SU20_INFO_TAIL_MASK 0x03f00000 57 58 #define VHT_SIG_B_SU20_INFO_RESERVED_OFFSET 0x00000000 59 #define VHT_SIG_B_SU20_INFO_RESERVED_LSB 26 60 #define VHT_SIG_B_SU20_INFO_RESERVED_MSB 30 61 #define VHT_SIG_B_SU20_INFO_RESERVED_MASK 0x7c000000 62 63 #define VHT_SIG_B_SU20_INFO_RX_NDP_OFFSET 0x00000000 64 #define VHT_SIG_B_SU20_INFO_RX_NDP_LSB 31 65 #define VHT_SIG_B_SU20_INFO_RX_NDP_MSB 31 66 #define VHT_SIG_B_SU20_INFO_RX_NDP_MASK 0x80000000 67 68 #endif 69