/*
 Copyright (c) 2004 Qualcomm Atheros, Inc..
 All Rights Reserved.
 Qualcomm Atheros Confidential and Proprietary.
 /*
 *  ar2413reg.h - Register definitions needed for device specific handling
 */

#ifndef	_ar2413reg_H
#define	_ar2413reg_H

//  "ACI $Id: //depot/sw/branches/art2_main_per_cs/src/art2/devlib/ar5416/ar2413reg.h#1 $, $Header: //depot/sw/branches/art2_main_per_cs/src/art2/devlib/ar5416/ar2413reg.h#1 $"

#define TPCRG1_REG 0xa258
#define BB_FORCE_DAC_GAIN_SET         0x00000001
#define BB_NUM_PD_GAIN_CLEAR          0xffff3fff
#define BB_PD_GAIN_SETTING1_CLEAR     0xfffcffff
#define BB_PD_GAIN_SETTING2_CLEAR     0xfff3ffff
#define BB_PD_GAIN_SETTING3_CLEAR     0xffcfffff
#define BB_NUM_PD_GAIN_SHIFT          14
#define BB_PD_GAIN_SETTING1_SHIFT     16
#define BB_PD_GAIN_SETTING2_SHIFT     18
#define BB_PD_GAIN_SETTING3_SHIFT     20

#define TPCRG7_REG 0xa274
#define BB_FORCE_TX_GAIN_SET 0x00000001

#define TPCRG5_REG 0xa26c
#define BB_PD_GAIN_OVERLAP_MASK       0x0000000f

#define PHY_RFBUS_REQ                 0x997C
#define PHY_RFBUS_REQ_REQUEST         0x00000001
#define PHY_RFBUS_GNT                 0x9C20
#define PHY_RFBUS_GNT_GRANT           0x00000001

#endif //_ar2413reg_H
