// Copyright (c) 2013 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 _GET_MPDU_QUEUE_HEAD_INFO_H_
#define _GET_MPDU_QUEUE_HEAD_INFO_H_
#if !defined(__ASSEMBLER__)
#endif

// ################ START SUMMARY #################
//
//	Dword	Fields
//	0	mpdu_qid[13:0], clear_mpdu_retry_stats[14], clear_mpdu_retry_bitmap[15], reserved_0[31:16]
//
// ################ END SUMMARY #################

#define NUM_OF_DWORDS_GET_MPDU_QUEUE_HEAD_INFO 1

struct get_mpdu_queue_head_info {
    volatile uint32_t mpdu_qid                        : 14, //[13:0]
                      clear_mpdu_retry_stats          :  1, //[14]
                      clear_mpdu_retry_bitmap         :  1, //[15]
                      reserved_0                      : 16; //[31:16]
};

/*

mpdu_qid
			
			Queue ID of the queue that is not empty anymore. <legal
			all>

clear_mpdu_retry_stats
			
			0: No action
			
			1: QM should clear all frame?_retry_cnt stats for all
			the MPDU frames in the MPDU_QUEUE_EXT_RETRY data structure.
			Note that this does NOT include the retry_bitmap_??_??
			fields

clear_mpdu_retry_bitmap
			
			0: No action
			
			1: QM should clear all the  retry_bitmap_??_?? fields in
			the MPDU_QUEUE_EXT_COMMON data structure.
			
			Note that this does NOT include the retry_bitmap_??_??
			fields

reserved_0
			
			QM will set to 0, MAC will ignore.  <legal 0>
*/


/* Description		GET_MPDU_QUEUE_HEAD_INFO_0_MPDU_QID
			
			Queue ID of the queue that is not empty anymore. <legal
			all>
*/
#define GET_MPDU_QUEUE_HEAD_INFO_0_MPDU_QID_OFFSET                   0x00000000
#define GET_MPDU_QUEUE_HEAD_INFO_0_MPDU_QID_LSB                      0
#define GET_MPDU_QUEUE_HEAD_INFO_0_MPDU_QID_MASK                     0x00003fff

/* Description		GET_MPDU_QUEUE_HEAD_INFO_0_CLEAR_MPDU_RETRY_STATS
			
			0: No action
			
			1: QM should clear all frame?_retry_cnt stats for all
			the MPDU frames in the MPDU_QUEUE_EXT_RETRY data structure.
			Note that this does NOT include the retry_bitmap_??_??
			fields
*/
#define GET_MPDU_QUEUE_HEAD_INFO_0_CLEAR_MPDU_RETRY_STATS_OFFSET     0x00000000
#define GET_MPDU_QUEUE_HEAD_INFO_0_CLEAR_MPDU_RETRY_STATS_LSB        14
#define GET_MPDU_QUEUE_HEAD_INFO_0_CLEAR_MPDU_RETRY_STATS_MASK       0x00004000

/* Description		GET_MPDU_QUEUE_HEAD_INFO_0_CLEAR_MPDU_RETRY_BITMAP
			
			0: No action
			
			1: QM should clear all the  retry_bitmap_??_?? fields in
			the MPDU_QUEUE_EXT_COMMON data structure.
			
			Note that this does NOT include the retry_bitmap_??_??
			fields
*/
#define GET_MPDU_QUEUE_HEAD_INFO_0_CLEAR_MPDU_RETRY_BITMAP_OFFSET    0x00000000
#define GET_MPDU_QUEUE_HEAD_INFO_0_CLEAR_MPDU_RETRY_BITMAP_LSB       15
#define GET_MPDU_QUEUE_HEAD_INFO_0_CLEAR_MPDU_RETRY_BITMAP_MASK      0x00008000

/* Description		GET_MPDU_QUEUE_HEAD_INFO_0_RESERVED_0
			
			QM will set to 0, MAC will ignore.  <legal 0>
*/
#define GET_MPDU_QUEUE_HEAD_INFO_0_RESERVED_0_OFFSET                 0x00000000
#define GET_MPDU_QUEUE_HEAD_INFO_0_RESERVED_0_LSB                    16
#define GET_MPDU_QUEUE_HEAD_INFO_0_RESERVED_0_MASK                   0xffff0000


#endif // _GET_MPDU_QUEUE_HEAD_INFO_H_
