// Copyright (c) 2014 Qualcomm Atheros, Inc.  All rights reserved.
// $ATH_LICENSE_HW_HDR_C$
//
// DO NOT EDIT!  This file is automatically generated
//               These definitions are tied to a particular hardware layout


#ifndef _VHT_SIG_B_MAC_SU40_H_
#define _VHT_SIG_B_MAC_SU40_H_
#if !defined(__ASSEMBLER__)
#endif

// ################ START SUMMARY #################
//
//	Dword	Fields
//	0	length[18:0], vhtb_reserved[20:19], tail[26:21], reserved[31:27]
//
// ################ END SUMMARY #################

#define NUM_OF_DWORDS_VHT_SIG_B_MAC_SU40 1

struct vht_sig_b_mac_su40 {
    volatile uint32_t length                          : 19, //[18:0]
                      vhtb_reserved                   :  2, //[20:19]
                      tail                            :  6, //[26:21]
                      reserved                        :  5; //[31:27]
};

/*

length
			
			VHT-SIG-B Length (in units of 4 octets) = ceiling
			(LENGTH/4)
			
			<legal all>

vhtb_reserved
			
			Reserved:  Set  to all ones and ignored on receive 
			<legal 3>

tail
			
			Used to terminate the trellis of the convolutional
			decoder.
			
			Set to 0.  <legal 0>

reserved
			
			Not part of VHT-SIG-B.
			
			Reserved: Set to 0 and ignored on receive  <legal 0>
*/


/* Description		VHT_SIG_B_MAC_SU40_0_LENGTH
			
			VHT-SIG-B Length (in units of 4 octets) = ceiling
			(LENGTH/4)
			
			<legal all>
*/
#define VHT_SIG_B_MAC_SU40_0_LENGTH_OFFSET                           0x00000000
#define VHT_SIG_B_MAC_SU40_0_LENGTH_LSB                              0
#define VHT_SIG_B_MAC_SU40_0_LENGTH_MASK                             0x0007ffff

/* Description		VHT_SIG_B_MAC_SU40_0_VHTB_RESERVED
			
			Reserved:  Set  to all ones and ignored on receive 
			<legal 3>
*/
#define VHT_SIG_B_MAC_SU40_0_VHTB_RESERVED_OFFSET                    0x00000000
#define VHT_SIG_B_MAC_SU40_0_VHTB_RESERVED_LSB                       19
#define VHT_SIG_B_MAC_SU40_0_VHTB_RESERVED_MASK                      0x00180000

/* Description		VHT_SIG_B_MAC_SU40_0_TAIL
			
			Used to terminate the trellis of the convolutional
			decoder.
			
			Set to 0.  <legal 0>
*/
#define VHT_SIG_B_MAC_SU40_0_TAIL_OFFSET                             0x00000000
#define VHT_SIG_B_MAC_SU40_0_TAIL_LSB                                21
#define VHT_SIG_B_MAC_SU40_0_TAIL_MASK                               0x07e00000

/* Description		VHT_SIG_B_MAC_SU40_0_RESERVED
			
			Not part of VHT-SIG-B.
			
			Reserved: Set to 0 and ignored on receive  <legal 0>
*/
#define VHT_SIG_B_MAC_SU40_0_RESERVED_OFFSET                         0x00000000
#define VHT_SIG_B_MAC_SU40_0_RESERVED_LSB                            27
#define VHT_SIG_B_MAC_SU40_0_RESERVED_MASK                           0xf8000000


#endif // _VHT_SIG_B_MAC_SU40_H_
