123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- /* Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved.
- *
- * Permission to use, copy, modify, and/or distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- */
-
-
-
-
-
-
-
- #ifndef _VHT_SIG_B_SU20_INFO_H_
- #define _VHT_SIG_B_SU20_INFO_H_
- #if !defined(__ASSEMBLER__)
- #endif
- #define NUM_OF_DWORDS_VHT_SIG_B_SU20_INFO 1
- struct vht_sig_b_su20_info {
- #ifndef WIFI_BIT_ORDER_BIG_ENDIAN
- uint32_t length : 17, // [16:0]
- vhtb_reserved : 3, // [19:17]
- tail : 6, // [25:20]
- reserved : 5, // [30:26]
- rx_ndp : 1; // [31:31]
- #else
- uint32_t rx_ndp : 1, // [31:31]
- reserved : 5, // [30:26]
- tail : 6, // [25:20]
- vhtb_reserved : 3, // [19:17]
- length : 17; // [16:0]
- #endif
- };
- /* Description LENGTH
- VHT-SIG-B Length (in units of 4 octets) = ceiling (LENGTH/4)
-
- <legal all>
- */
- #define VHT_SIG_B_SU20_INFO_LENGTH_OFFSET 0x00000000
- #define VHT_SIG_B_SU20_INFO_LENGTH_LSB 0
- #define VHT_SIG_B_SU20_INFO_LENGTH_MSB 16
- #define VHT_SIG_B_SU20_INFO_LENGTH_MASK 0x0001ffff
- /* Description VHTB_RESERVED
- Reserved: Set to all ones for non-NDP frames and ignored
- on receive
- <legal 2,7>
- */
- #define VHT_SIG_B_SU20_INFO_VHTB_RESERVED_OFFSET 0x00000000
- #define VHT_SIG_B_SU20_INFO_VHTB_RESERVED_LSB 17
- #define VHT_SIG_B_SU20_INFO_VHTB_RESERVED_MSB 19
- #define VHT_SIG_B_SU20_INFO_VHTB_RESERVED_MASK 0x000e0000
- /* Description TAIL
- Used to terminate the trellis of the convolutional decoder.
-
- Set to 0. <legal 0>
- */
- #define VHT_SIG_B_SU20_INFO_TAIL_OFFSET 0x00000000
- #define VHT_SIG_B_SU20_INFO_TAIL_LSB 20
- #define VHT_SIG_B_SU20_INFO_TAIL_MSB 25
- #define VHT_SIG_B_SU20_INFO_TAIL_MASK 0x03f00000
- /* Description RESERVED
- Not part of VHT-SIG-B.
- Reserved: Set to 0 and ignored on receive <legal 0>
- */
- #define VHT_SIG_B_SU20_INFO_RESERVED_OFFSET 0x00000000
- #define VHT_SIG_B_SU20_INFO_RESERVED_LSB 26
- #define VHT_SIG_B_SU20_INFO_RESERVED_MSB 30
- #define VHT_SIG_B_SU20_INFO_RESERVED_MASK 0x7c000000
- /* Description RX_NDP
- Not part of VHT-SIG-B.
- Used to identify received NDP frame
- <legal 0,1>
- */
- #define VHT_SIG_B_SU20_INFO_RX_NDP_OFFSET 0x00000000
- #define VHT_SIG_B_SU20_INFO_RX_NDP_LSB 31
- #define VHT_SIG_B_SU20_INFO_RX_NDP_MSB 31
- #define VHT_SIG_B_SU20_INFO_RX_NDP_MASK 0x80000000
- #endif // VHT_SIG_B_SU20_INFO
|