Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
ar9003_phy.h File Reference

Go to the source code of this file.

Macros

#define AR_CHAN_BASE   0x9800
 
#define AR_PHY_TIMING1   (AR_CHAN_BASE + 0x0)
 
#define AR_PHY_TIMING2   (AR_CHAN_BASE + 0x4)
 
#define AR_PHY_TIMING3   (AR_CHAN_BASE + 0x8)
 
#define AR_PHY_TIMING4   (AR_CHAN_BASE + 0xc)
 
#define AR_PHY_TIMING5   (AR_CHAN_BASE + 0x10)
 
#define AR_PHY_TIMING6   (AR_CHAN_BASE + 0x14)
 
#define AR_PHY_TIMING11   (AR_CHAN_BASE + 0x18)
 
#define AR_PHY_SPUR_REG   (AR_CHAN_BASE + 0x1c)
 
#define AR_PHY_RX_IQCAL_CORR_B0   (AR_CHAN_BASE + 0xdc)
 
#define AR_PHY_TX_IQCAL_CONTROL_3   (AR_CHAN_BASE + 0xb0)
 
#define AR_PHY_TIMING11_SPUR_FREQ_SD   0x3FF00000
 
#define AR_PHY_TIMING11_SPUR_FREQ_SD_S   20
 
#define AR_PHY_TIMING11_SPUR_DELTA_PHASE   0x000FFFFF
 
#define AR_PHY_TIMING11_SPUR_DELTA_PHASE_S   0
 
#define AR_PHY_TIMING11_USE_SPUR_FILTER_IN_AGC   0x40000000
 
#define AR_PHY_TIMING11_USE_SPUR_FILTER_IN_AGC_S   30
 
#define AR_PHY_TIMING11_USE_SPUR_FILTER_IN_SELFCOR   0x80000000
 
#define AR_PHY_TIMING11_USE_SPUR_FILTER_IN_SELFCOR_S   31
 
#define AR_PHY_SPUR_REG_ENABLE_NF_RSSI_SPUR_MIT   0x4000000
 
#define AR_PHY_SPUR_REG_ENABLE_NF_RSSI_SPUR_MIT_S   26
 
#define AR_PHY_SPUR_REG_ENABLE_MASK_PPM   0x20000 /* bins move with freq offset */
 
#define AR_PHY_SPUR_REG_ENABLE_MASK_PPM_S   17
 
#define AR_PHY_SPUR_REG_SPUR_RSSI_THRESH   0x000000FF
 
#define AR_PHY_SPUR_REG_SPUR_RSSI_THRESH_S   0
 
#define AR_PHY_SPUR_REG_EN_VIT_SPUR_RSSI   0x00000100
 
#define AR_PHY_SPUR_REG_EN_VIT_SPUR_RSSI_S   8
 
#define AR_PHY_SPUR_REG_MASK_RATE_CNTL   0x03FC0000
 
#define AR_PHY_SPUR_REG_MASK_RATE_CNTL_S   18
 
#define AR_PHY_RX_IQCAL_CORR_B0_LOOPBACK_IQCORR_EN   0x20000000
 
#define AR_PHY_RX_IQCAL_CORR_B0_LOOPBACK_IQCORR_EN_S   29
 
#define AR_PHY_TX_IQCAL_CONTROL_3_IQCORR_EN   0x80000000
 
#define AR_PHY_TX_IQCAL_CONTROL_3_IQCORR_EN_S   31
 
#define AR_PHY_FIND_SIG_LOW   (AR_CHAN_BASE + 0x20)
 
#define AR_PHY_SFCORR   (AR_CHAN_BASE + 0x24)
 
#define AR_PHY_SFCORR_LOW   (AR_CHAN_BASE + 0x28)
 
#define AR_PHY_SFCORR_EXT   (AR_CHAN_BASE + 0x2c)
 
#define AR_PHY_EXT_CCA   (AR_CHAN_BASE + 0x30)
 
#define AR_PHY_RADAR_0   (AR_CHAN_BASE + 0x34)
 
#define AR_PHY_RADAR_1   (AR_CHAN_BASE + 0x38)
 
#define AR_PHY_RADAR_EXT   (AR_CHAN_BASE + 0x3c)
 
#define AR_PHY_MULTICHAIN_CTRL   (AR_CHAN_BASE + 0x80)
 
#define AR_PHY_PERCHAIN_CSD   (AR_CHAN_BASE + 0x84)
 
#define AR_PHY_TX_PHASE_RAMP_0   (AR_CHAN_BASE + 0xd0)
 
#define AR_PHY_ADC_GAIN_DC_CORR_0   (AR_CHAN_BASE + 0xd4)
 
#define AR_PHY_IQ_ADC_MEAS_0_B0   (AR_CHAN_BASE + 0xc0)
 
#define AR_PHY_IQ_ADC_MEAS_1_B0   (AR_CHAN_BASE + 0xc4)
 
#define AR_PHY_IQ_ADC_MEAS_2_B0   (AR_CHAN_BASE + 0xc8)
 
#define AR_PHY_IQ_ADC_MEAS_3_B0   (AR_CHAN_BASE + 0xcc)
 
#define AR_PHY_TX_PHASE_RAMP_0_9300_10   (AR_CHAN_BASE + 0xd0 - 0x10)
 
#define AR_PHY_ADC_GAIN_DC_CORR_0_9300_10   (AR_CHAN_BASE + 0xd4 - 0x10)
 
#define AR_PHY_IQ_ADC_MEAS_0_B0_9300_10   (AR_CHAN_BASE + 0xc0 + 0x8)
 
#define AR_PHY_IQ_ADC_MEAS_1_B0_9300_10   (AR_CHAN_BASE + 0xc4 + 0x8)
 
#define AR_PHY_IQ_ADC_MEAS_2_B0_9300_10   (AR_CHAN_BASE + 0xc8 + 0x8)
 
#define AR_PHY_IQ_ADC_MEAS_3_B0_9300_10   (AR_CHAN_BASE + 0xcc + 0x8)
 
#define AR_PHY_TX_CRC   (AR_CHAN_BASE + 0xa0)
 
#define AR_PHY_TST_DAC_CONST   (AR_CHAN_BASE + 0xa4)
 
#define AR_PHY_SPUR_REPORT_0   (AR_CHAN_BASE + 0xa8)
 
#define AR_PHY_CHAN_INFO_TAB_0   (AR_CHAN_BASE + 0x300)
 
#define AR_PHY_TIMING2_USE_FORCE_PPM   0x00001000
 
#define AR_PHY_TIMING2_FORCE_PPM_VAL   0x00000fff
 
#define AR_PHY_TIMING3_DSC_MAN   0xFFFE0000
 
#define AR_PHY_TIMING3_DSC_MAN_S   17
 
#define AR_PHY_TIMING3_DSC_EXP   0x0001E000
 
#define AR_PHY_TIMING3_DSC_EXP_S   13
 
#define AR_PHY_TIMING4_IQCAL_LOG_COUNT_MAX   0xF000
 
#define AR_PHY_TIMING4_IQCAL_LOG_COUNT_MAX_S   12
 
#define AR_PHY_TIMING4_DO_CAL   0x10000
 
#define AR_PHY_TIMING4_ENABLE_PILOT_MASK   0x10000000
 
#define AR_PHY_TIMING4_ENABLE_PILOT_MASK_S   28
 
#define AR_PHY_TIMING4_ENABLE_CHAN_MASK   0x20000000
 
#define AR_PHY_TIMING4_ENABLE_CHAN_MASK_S   29
 
#define AR_PHY_TIMING4_ENABLE_SPUR_FILTER   0x40000000
 
#define AR_PHY_TIMING4_ENABLE_SPUR_FILTER_S   30
 
#define AR_PHY_TIMING4_ENABLE_SPUR_RSSI   0x80000000
 
#define AR_PHY_TIMING4_ENABLE_SPUR_RSSI_S   31
 
#define AR_PHY_NEW_ADC_GAIN_CORR_ENABLE   0x40000000
 
#define AR_PHY_NEW_ADC_DC_OFFSET_CORR_ENABLE   0x80000000
 
#define AR_PHY_SFCORR_LOW_USE_SELF_CORR_LOW   0x00000001
 
#define AR_PHY_SFCORR_LOW_M2COUNT_THR_LOW   0x00003F00
 
#define AR_PHY_SFCORR_LOW_M2COUNT_THR_LOW_S   8
 
#define AR_PHY_SFCORR_LOW_M1_THRESH_LOW   0x001FC000
 
#define AR_PHY_SFCORR_LOW_M1_THRESH_LOW_S   14
 
#define AR_PHY_SFCORR_LOW_M2_THRESH_LOW   0x0FE00000
 
#define AR_PHY_SFCORR_LOW_M2_THRESH_LOW_S   21
 
#define AR_PHY_SFCORR_M2COUNT_THR   0x0000001F
 
#define AR_PHY_SFCORR_M2COUNT_THR_S   0
 
#define AR_PHY_SFCORR_M1_THRESH   0x00FE0000
 
#define AR_PHY_SFCORR_M1_THRESH_S   17
 
#define AR_PHY_SFCORR_M2_THRESH   0x7F000000
 
#define AR_PHY_SFCORR_M2_THRESH_S   24
 
#define AR_PHY_SFCORR_EXT_M1_THRESH   0x0000007F
 
#define AR_PHY_SFCORR_EXT_M1_THRESH_S   0
 
#define AR_PHY_SFCORR_EXT_M2_THRESH   0x00003F80
 
#define AR_PHY_SFCORR_EXT_M2_THRESH_S   7
 
#define AR_PHY_SFCORR_EXT_M1_THRESH_LOW   0x001FC000
 
#define AR_PHY_SFCORR_EXT_M1_THRESH_LOW_S   14
 
#define AR_PHY_SFCORR_EXT_M2_THRESH_LOW   0x0FE00000
 
#define AR_PHY_SFCORR_EXT_M2_THRESH_LOW_S   21
 
#define AR_PHY_SFCORR_EXT_SPUR_SUBCHANNEL_SD   0x10000000
 
#define AR_PHY_SFCORR_EXT_SPUR_SUBCHANNEL_SD_S   28
 
#define AR_PHY_SFCORR_SPUR_SUBCHNL_SD_S   28
 
#define AR_PHY_EXT_CCA_THRESH62   0x007F0000
 
#define AR_PHY_EXT_CCA_THRESH62_S   16
 
#define AR_PHY_EXT_MINCCA_PWR   0x01FF0000
 
#define AR_PHY_EXT_MINCCA_PWR_S   16
 
#define AR_PHY_EXT_CYCPWR_THR1   0x0000FE00L
 
#define AR_PHY_EXT_CYCPWR_THR1_S   9
 
#define AR_PHY_TIMING5_CYCPWR_THR1   0x000000FE
 
#define AR_PHY_TIMING5_CYCPWR_THR1_S   1
 
#define AR_PHY_TIMING5_CYCPWR_THR1_ENABLE   0x00000001
 
#define AR_PHY_TIMING5_CYCPWR_THR1_ENABLE_S   0
 
#define AR_PHY_TIMING5_CYCPWR_THR1A   0x007F0000
 
#define AR_PHY_TIMING5_CYCPWR_THR1A_S   16
 
#define AR_PHY_TIMING5_RSSI_THR1A   (0x7F << 16)
 
#define AR_PHY_TIMING5_RSSI_THR1A_S   16
 
#define AR_PHY_TIMING5_RSSI_THR1A_ENA   (0x1 << 15)
 
#define AR_PHY_RADAR_0_ENA   0x00000001
 
#define AR_PHY_RADAR_0_FFT_ENA   0x80000000
 
#define AR_PHY_RADAR_0_INBAND   0x0000003e
 
#define AR_PHY_RADAR_0_INBAND_S   1
 
#define AR_PHY_RADAR_0_PRSSI   0x00000FC0
 
#define AR_PHY_RADAR_0_PRSSI_S   6
 
#define AR_PHY_RADAR_0_HEIGHT   0x0003F000
 
#define AR_PHY_RADAR_0_HEIGHT_S   12
 
#define AR_PHY_RADAR_0_RRSSI   0x00FC0000
 
#define AR_PHY_RADAR_0_RRSSI_S   18
 
#define AR_PHY_RADAR_0_FIRPWR   0x7F000000
 
#define AR_PHY_RADAR_0_FIRPWR_S   24
 
#define AR_PHY_RADAR_1_RELPWR_ENA   0x00800000
 
#define AR_PHY_RADAR_1_USE_FIR128   0x00400000
 
#define AR_PHY_RADAR_1_RELPWR_THRESH   0x003F0000
 
#define AR_PHY_RADAR_1_RELPWR_THRESH_S   16
 
#define AR_PHY_RADAR_1_BLOCK_CHECK   0x00008000
 
#define AR_PHY_RADAR_1_MAX_RRSSI   0x00004000
 
#define AR_PHY_RADAR_1_RELSTEP_CHECK   0x00002000
 
#define AR_PHY_RADAR_1_RELSTEP_THRESH   0x00001F00
 
#define AR_PHY_RADAR_1_RELSTEP_THRESH_S   8
 
#define AR_PHY_RADAR_1_MAXLEN   0x000000FF
 
#define AR_PHY_RADAR_1_MAXLEN_S   0
 
#define AR_PHY_RADAR_EXT_ENA   0x00004000
 
#define AR_PHY_RADAR_DC_PWR_THRESH   0x007f8000
 
#define AR_PHY_RADAR_DC_PWR_THRESH_S   15
 
#define AR_PHY_RADAR_LB_DC_CAP   0x7f800000
 
#define AR_PHY_RADAR_LB_DC_CAP_S   23
 
#define AR_PHY_FIND_SIG_LOW_FIRSTEP_LOW   (0x3f << 6)
 
#define AR_PHY_FIND_SIG_LOW_FIRSTEP_LOW_S   6
 
#define AR_PHY_FIND_SIG_LOW_FIRPWR   (0x7f << 12)
 
#define AR_PHY_FIND_SIG_LOW_FIRPWR_S   12
 
#define AR_PHY_FIND_SIG_LOW_FIRPWR_SIGN_BIT   19
 
#define AR_PHY_FIND_SIG_LOW_RELSTEP   0x1f
 
#define AR_PHY_FIND_SIG_LOW_RELSTEP_S   0
 
#define AR_PHY_FIND_SIG_LOW_RELSTEP_SIGN_BIT   5
 
#define AR_PHY_CHAN_INFO_TAB_S2_READ   0x00000008
 
#define AR_PHY_CHAN_INFO_TAB_S2_READ_S   3
 
#define AR_PHY_RX_IQCAL_CORR_IQCORR_Q_Q_COFF   0x0000007F
 
#define AR_PHY_RX_IQCAL_CORR_IQCORR_Q_Q_COFF_S   0
 
#define AR_PHY_RX_IQCAL_CORR_IQCORR_Q_I_COFF   0x00003F80
 
#define AR_PHY_RX_IQCAL_CORR_IQCORR_Q_I_COFF_S   7
 
#define AR_PHY_RX_IQCAL_CORR_IQCORR_ENABLE   0x00004000
 
#define AR_PHY_RX_IQCAL_CORR_LOOPBACK_IQCORR_Q_Q_COFF   0x003f8000
 
#define AR_PHY_RX_IQCAL_CORR_LOOPBACK_IQCORR_Q_Q_COFF_S   15
 
#define AR_PHY_RX_IQCAL_CORR_LOOPBACK_IQCORR_Q_I_COFF   0x1fc00000
 
#define AR_PHY_RX_IQCAL_CORR_LOOPBACK_IQCORR_Q_I_COFF_S   22
 
#define AR_MRC_BASE   0x9c00
 
#define AR_PHY_TIMING_3A   (AR_MRC_BASE + 0x0)
 
#define AR_PHY_LDPC_CNTL1   (AR_MRC_BASE + 0x4)
 
#define AR_PHY_LDPC_CNTL2   (AR_MRC_BASE + 0x8)
 
#define AR_PHY_PILOT_SPUR_MASK   (AR_MRC_BASE + 0xc)
 
#define AR_PHY_CHAN_SPUR_MASK   (AR_MRC_BASE + 0x10)
 
#define AR_PHY_SGI_DELTA   (AR_MRC_BASE + 0x14)
 
#define AR_PHY_ML_CNTL_1   (AR_MRC_BASE + 0x18)
 
#define AR_PHY_ML_CNTL_2   (AR_MRC_BASE + 0x1c)
 
#define AR_PHY_TST_ADC   (AR_MRC_BASE + 0x20)
 
#define AR_PHY_PILOT_SPUR_MASK_CF_PILOT_MASK_IDX_A   0x00000FE0
 
#define AR_PHY_PILOT_SPUR_MASK_CF_PILOT_MASK_IDX_A_S   5
 
#define AR_PHY_PILOT_SPUR_MASK_CF_PILOT_MASK_A   0x1F
 
#define AR_PHY_PILOT_SPUR_MASK_CF_PILOT_MASK_A_S   0
 
#define AR_PHY_PILOT_SPUR_MASK_CF_PILOT_MASK_IDX_B   0x00FE0000
 
#define AR_PHY_PILOT_SPUR_MASK_CF_PILOT_MASK_IDX_B_S   17
 
#define AR_PHY_PILOT_SPUR_MASK_CF_PILOT_MASK_B   0x0001F000
 
#define AR_PHY_PILOT_SPUR_MASK_CF_PILOT_MASK_B_S   12
 
#define AR_PHY_CHAN_SPUR_MASK_CF_CHAN_MASK_IDX_A   0x00000FE0
 
#define AR_PHY_CHAN_SPUR_MASK_CF_CHAN_MASK_IDX_A_S   5
 
#define AR_PHY_CHAN_SPUR_MASK_CF_CHAN_MASK_A   0x1F
 
#define AR_PHY_CHAN_SPUR_MASK_CF_CHAN_MASK_A_S   0
 
#define AR_PHY_CHAN_SPUR_MASK_CF_CHAN_MASK_IDX_B   0x00FE0000
 
#define AR_PHY_CHAN_SPUR_MASK_CF_CHAN_MASK_IDX_B_S   17
 
#define AR_PHY_CHAN_SPUR_MASK_CF_CHAN_MASK_B   0x0001F000
 
#define AR_PHY_CHAN_SPUR_MASK_CF_CHAN_MASK_B_S   12
 
#define AR_PHY_SGI_DSC_MAN   0x0007FFF0
 
#define AR_PHY_SGI_DSC_MAN_S   4
 
#define AR_PHY_SGI_DSC_EXP   0x0000000F
 
#define AR_PHY_SGI_DSC_EXP_S   0
 
#define AR_BBB_BASE   0x9d00
 
#define AR_AGC_BASE   0x9e00
 
#define AR_PHY_SETTLING   (AR_AGC_BASE + 0x0)
 
#define AR_PHY_FORCEMAX_GAINS_0   (AR_AGC_BASE + 0x4)
 
#define AR_PHY_GAINS_MINOFF0   (AR_AGC_BASE + 0x8)
 
#define AR_PHY_DESIRED_SZ   (AR_AGC_BASE + 0xc)
 
#define AR_PHY_FIND_SIG   (AR_AGC_BASE + 0x10)
 
#define AR_PHY_AGC   (AR_AGC_BASE + 0x14)
 
#define AR_PHY_EXT_ATTEN_CTL_0   (AR_AGC_BASE + 0x18)
 
#define AR_PHY_CCA_0   (AR_AGC_BASE + 0x1c)
 
#define AR_PHY_EXT_CCA0   (AR_AGC_BASE + 0x20)
 
#define AR_PHY_RESTART   (AR_AGC_BASE + 0x24)
 
#define AR_PHY_MC_GAIN_CTRL   (AR_AGC_BASE + 0x28)
 
#define AR_ANT_DIV_CTRL_ALL   0x7e000000
 
#define AR_ANT_DIV_CTRL_ALL_S   25
 
#define AR_ANT_DIV_ENABLE   0x1000000
 
#define AR_ANT_DIV_ENABLE_S   24
 
#define AR_PHY_ANT_FAST_DIV_BIAS   0x00007e00
 
#define AR_PHY_ANT_FAST_DIV_BIAS_S   9
 
#define AR_PHY_ANT_SW_RX_PROT   0x00800000
 
#define AR_PHY_ANT_SW_RX_PROT_S   23
 
#define AR_PHY_ANT_DIV_LNADIV   0x01000000
 
#define AR_PHY_ANT_DIV_LNADIV_S   24
 
#define AR_PHY_ANT_DIV_ALT_LNACONF   0x06000000
 
#define AR_PHY_ANT_DIV_ALT_LNACONF_S   25
 
#define AR_PHY_ANT_DIV_MAIN_LNACONF   0x18000000
 
#define AR_PHY_ANT_DIV_MAIN_LNACONF_S   27
 
#define AR_PHY_ANT_DIV_ALT_GAINTB   0x20000000
 
#define AR_PHY_ANT_DIV_ALT_GAINTB_S   29
 
#define AR_PHY_ANT_DIV_MAIN_GAINTB   0x40000000
 
#define AR_PHY_ANT_DIV_MAIN_GAINTB_S   30
 
#define AR_PHY_ANT_DIV_LNA1_MINUS_LNA2   0x0
 
#define AR_PHY_ANT_DIV_LNA2   0x1
 
#define AR_PHY_ANT_DIV_LNA1   0x2
 
#define AR_PHY_ANT_DIV_LNA1_PLUS_LNA2   0x3
 
#define AR_PHY_EXTCHN_PWRTHR1   (AR_AGC_BASE + 0x2c)
 
#define AR_PHY_EXT_CHN_WIN   (AR_AGC_BASE + 0x30)
 
#define AR_PHY_20_40_DET_THR   (AR_AGC_BASE + 0x34)
 
#define AR_PHY_RIFS_SRCH   (AR_AGC_BASE + 0x38)
 
#define AR_PHY_PEAK_DET_CTRL_1   (AR_AGC_BASE + 0x3c)
 
#define AR_PHY_PEAK_DET_CTRL_2   (AR_AGC_BASE + 0x40)
 
#define AR_PHY_RX_GAIN_BOUNDS_1   (AR_AGC_BASE + 0x44)
 
#define AR_PHY_RX_GAIN_BOUNDS_2   (AR_AGC_BASE + 0x48)
 
#define AR_PHY_RSSI_0   (AR_AGC_BASE + 0x180)
 
#define AR_PHY_SPUR_CCK_REP0   (AR_AGC_BASE + 0x184)
 
#define AR_PHY_CCK_DETECT   (AR_AGC_BASE + 0x1c0)
 
#define AR_FAST_DIV_ENABLE   0x2000
 
#define AR_FAST_DIV_ENABLE_S   13
 
#define AR_PHY_DAG_CTRLCCK   (AR_AGC_BASE + 0x1c4)
 
#define AR_PHY_IQCORR_CTRL_CCK   (AR_AGC_BASE + 0x1c8)
 
#define AR_PHY_CCK_SPUR_MIT   (AR_AGC_BASE + 0x1cc)
 
#define AR_PHY_CCK_SPUR_MIT_SPUR_RSSI_THR   0x000001fe
 
#define AR_PHY_CCK_SPUR_MIT_SPUR_RSSI_THR_S   1
 
#define AR_PHY_CCK_SPUR_MIT_SPUR_FILTER_TYPE   0x60000000
 
#define AR_PHY_CCK_SPUR_MIT_SPUR_FILTER_TYPE_S   29
 
#define AR_PHY_CCK_SPUR_MIT_USE_CCK_SPUR_MIT   0x00000001
 
#define AR_PHY_CCK_SPUR_MIT_USE_CCK_SPUR_MIT_S   0
 
#define AR_PHY_CCK_SPUR_MIT_CCK_SPUR_FREQ   0x1ffffe00
 
#define AR_PHY_CCK_SPUR_MIT_CCK_SPUR_FREQ_S   9
 
#define AR_PHY_MRC_CCK_CTRL   (AR_AGC_BASE + 0x1d0)
 
#define AR_PHY_MRC_CCK_ENABLE   0x00000001
 
#define AR_PHY_MRC_CCK_ENABLE_S   0
 
#define AR_PHY_MRC_CCK_MUX_REG   0x00000002
 
#define AR_PHY_MRC_CCK_MUX_REG_S   1
 
#define AR_PHY_RX_OCGAIN   (AR_AGC_BASE + 0x200)
 
#define AR_PHY_CCA_NOM_VAL_9300_2GHZ   -110
 
#define AR_PHY_CCA_NOM_VAL_9300_5GHZ   -115
 
#define AR_PHY_CCA_MIN_GOOD_VAL_9300_2GHZ   -125
 
#define AR_PHY_CCA_MIN_GOOD_VAL_9300_5GHZ   -125
 
#define AR_PHY_CCA_MAX_GOOD_VAL_9300_2GHZ   -95
 
#define AR_PHY_CCA_MAX_GOOD_VAL_9300_5GHZ   -100
 
#define AR_PHY_CCA_NOM_VAL_9462_2GHZ   -127
 
#define AR_PHY_CCA_MIN_GOOD_VAL_9462_2GHZ   -127
 
#define AR_PHY_CCA_NOM_VAL_9462_5GHZ   -127
 
#define AR_PHY_CCA_MIN_GOOD_VAL_9462_5GHZ   -127
 
#define AR_PHY_CCA_NOM_VAL_9330_2GHZ   -118
 
#define AR_PHY_EXT_ATTEN_CTL_RXTX_MARGIN   0x00FC0000
 
#define AR_PHY_EXT_ATTEN_CTL_RXTX_MARGIN_S   18
 
#define AR_PHY_EXT_ATTEN_CTL_BSW_MARGIN   0x00003C00
 
#define AR_PHY_EXT_ATTEN_CTL_BSW_MARGIN_S   10
 
#define AR_PHY_EXT_ATTEN_CTL_BSW_ATTEN   0x0000001F
 
#define AR_PHY_EXT_ATTEN_CTL_BSW_ATTEN_S   0
 
#define AR_PHY_EXT_ATTEN_CTL_XATTEN2_MARGIN   0x003E0000
 
#define AR_PHY_EXT_ATTEN_CTL_XATTEN2_MARGIN_S   17
 
#define AR_PHY_EXT_ATTEN_CTL_XATTEN1_MARGIN   0x0001F000
 
#define AR_PHY_EXT_ATTEN_CTL_XATTEN1_MARGIN_S   12
 
#define AR_PHY_EXT_ATTEN_CTL_XATTEN2_DB   0x00000FC0
 
#define AR_PHY_EXT_ATTEN_CTL_XATTEN2_DB_S   6
 
#define AR_PHY_EXT_ATTEN_CTL_XATTEN1_DB   0x0000003F
 
#define AR_PHY_EXT_ATTEN_CTL_XATTEN1_DB_S   0
 
#define AR_PHY_RXGAIN_TXRX_ATTEN   0x0003F000
 
#define AR_PHY_RXGAIN_TXRX_ATTEN_S   12
 
#define AR_PHY_RXGAIN_TXRX_RF_MAX   0x007C0000
 
#define AR_PHY_RXGAIN_TXRX_RF_MAX_S   18
 
#define AR9280_PHY_RXGAIN_TXRX_ATTEN   0x00003F80
 
#define AR9280_PHY_RXGAIN_TXRX_ATTEN_S   7
 
#define AR9280_PHY_RXGAIN_TXRX_MARGIN   0x001FC000
 
#define AR9280_PHY_RXGAIN_TXRX_MARGIN_S   14
 
#define AR_PHY_SETTLING_SWITCH   0x00003F80
 
#define AR_PHY_SETTLING_SWITCH_S   7
 
#define AR_PHY_DESIRED_SZ_ADC   0x000000FF
 
#define AR_PHY_DESIRED_SZ_ADC_S   0
 
#define AR_PHY_DESIRED_SZ_PGA   0x0000FF00
 
#define AR_PHY_DESIRED_SZ_PGA_S   8
 
#define AR_PHY_DESIRED_SZ_TOT_DES   0x0FF00000
 
#define AR_PHY_DESIRED_SZ_TOT_DES_S   20
 
#define AR_PHY_MINCCA_PWR   0x1FF00000
 
#define AR_PHY_MINCCA_PWR_S   20
 
#define AR_PHY_CCA_THRESH62   0x0007F000
 
#define AR_PHY_CCA_THRESH62_S   12
 
#define AR9280_PHY_MINCCA_PWR   0x1FF00000
 
#define AR9280_PHY_MINCCA_PWR_S   20
 
#define AR9280_PHY_CCA_THRESH62   0x000FF000
 
#define AR9280_PHY_CCA_THRESH62_S   12
 
#define AR_PHY_EXT_CCA0_THRESH62   0x000000FF
 
#define AR_PHY_EXT_CCA0_THRESH62_S   0
 
#define AR_PHY_CCK_DETECT_WEAK_SIG_THR_CCK   0x0000003F
 
#define AR_PHY_CCK_DETECT_WEAK_SIG_THR_CCK_S   0
 
#define AR_PHY_CCK_DETECT_ANT_SWITCH_TIME   0x00001FC0
 
#define AR_PHY_CCK_DETECT_ANT_SWITCH_TIME_S   6
 
#define AR_PHY_CCK_DETECT_BB_ENABLE_ANT_FAST_DIV   0x2000
 
#define AR_PHY_DAG_CTRLCCK_EN_RSSI_THR   0x00000200
 
#define AR_PHY_DAG_CTRLCCK_EN_RSSI_THR_S   9
 
#define AR_PHY_DAG_CTRLCCK_RSSI_THR   0x0001FC00
 
#define AR_PHY_DAG_CTRLCCK_RSSI_THR_S   10
 
#define AR_PHY_RIFS_INIT_DELAY   0x3ff0000
 
#define AR_PHY_AGC_QUICK_DROP   0x03c00000
 
#define AR_PHY_AGC_QUICK_DROP_S   22
 
#define AR_PHY_AGC_COARSE_LOW   0x00007F80
 
#define AR_PHY_AGC_COARSE_LOW_S   7
 
#define AR_PHY_AGC_COARSE_HIGH   0x003F8000
 
#define AR_PHY_AGC_COARSE_HIGH_S   15
 
#define AR_PHY_AGC_COARSE_PWR_CONST   0x0000007F
 
#define AR_PHY_AGC_COARSE_PWR_CONST_S   0
 
#define AR_PHY_FIND_SIG_FIRSTEP   0x0003F000
 
#define AR_PHY_FIND_SIG_FIRSTEP_S   12
 
#define AR_PHY_FIND_SIG_FIRPWR   0x03FC0000
 
#define AR_PHY_FIND_SIG_FIRPWR_S   18
 
#define AR_PHY_FIND_SIG_FIRPWR_SIGN_BIT   25
 
#define AR_PHY_FIND_SIG_RELPWR   (0x1f << 6)
 
#define AR_PHY_FIND_SIG_RELPWR_S   6
 
#define AR_PHY_FIND_SIG_RELPWR_SIGN_BIT   11
 
#define AR_PHY_FIND_SIG_RELSTEP   0x1f
 
#define AR_PHY_FIND_SIG_RELSTEP_S   0
 
#define AR_PHY_FIND_SIG_RELSTEP_SIGN_BIT   5
 
#define AR_PHY_RESTART_ENABLE_DIV_M2FLAG   0x00200000
 
#define AR_PHY_RESTART_ENABLE_DIV_M2FLAG_S   21
 
#define AR_PHY_RESTART_DIV_GC   0x001C0000
 
#define AR_PHY_RESTART_DIV_GC_S   18
 
#define AR_PHY_RESTART_ENA   0x01
 
#define AR_PHY_DC_RESTART_DIS   0x40000000
 
#define AR_PHY_TPC_OLPC_GAIN_DELTA_PAL_ON   0xFF000000
 
#define AR_PHY_TPC_OLPC_GAIN_DELTA_PAL_ON_S   24
 
#define AR_PHY_TPC_OLPC_GAIN_DELTA   0x00FF0000
 
#define AR_PHY_TPC_OLPC_GAIN_DELTA_S   16
 
#define AR_PHY_TPC_6_ERROR_EST_MODE   0x03000000
 
#define AR_PHY_TPC_6_ERROR_EST_MODE_S   24
 
#define AR_SM_BASE   0xa200
 
#define AR_PHY_D2_CHIP_ID   (AR_SM_BASE + 0x0)
 
#define AR_PHY_GEN_CTRL   (AR_SM_BASE + 0x4)
 
#define AR_PHY_MODE   (AR_SM_BASE + 0x8)
 
#define AR_PHY_ACTIVE   (AR_SM_BASE + 0xc)
 
#define AR_PHY_SPUR_MASK_A   (AR_SM_BASE + 0x20)
 
#define AR_PHY_SPUR_MASK_B   (AR_SM_BASE + 0x24)
 
#define AR_PHY_SPECTRAL_SCAN   (AR_SM_BASE + 0x28)
 
#define AR_PHY_RADAR_BW_FILTER   (AR_SM_BASE + 0x2c)
 
#define AR_PHY_SEARCH_START_DELAY   (AR_SM_BASE + 0x30)
 
#define AR_PHY_MAX_RX_LEN   (AR_SM_BASE + 0x34)
 
#define AR_PHY_FRAME_CTL   (AR_SM_BASE + 0x38)
 
#define AR_PHY_RFBUS_REQ   (AR_SM_BASE + 0x3c)
 
#define AR_PHY_RFBUS_GRANT   (AR_SM_BASE + 0x40)
 
#define AR_PHY_RIFS   (AR_SM_BASE + 0x44)
 
#define AR_PHY_RX_CLR_DELAY   (AR_SM_BASE + 0x50)
 
#define AR_PHY_RX_DELAY   (AR_SM_BASE + 0x54)
 
#define AR_PHY_XPA_TIMING_CTL   (AR_SM_BASE + 0x64)
 
#define AR_PHY_MISC_PA_CTL   (AR_SM_BASE + 0x80)
 
#define AR_PHY_SWITCH_CHAIN_0   (AR_SM_BASE + 0x84)
 
#define AR_PHY_SWITCH_COM   (AR_SM_BASE + 0x88)
 
#define AR_PHY_SWITCH_COM_2   (AR_SM_BASE + 0x8c)
 
#define AR_PHY_RX_CHAINMASK   (AR_SM_BASE + 0xa0)
 
#define AR_PHY_CAL_CHAINMASK   (AR_SM_BASE + 0xc0)
 
#define AR_PHY_CALMODE   (AR_SM_BASE + 0xc8)
 
#define AR_PHY_FCAL_1   (AR_SM_BASE + 0xcc)
 
#define AR_PHY_FCAL_2_0   (AR_SM_BASE + 0xd0)
 
#define AR_PHY_DFT_TONE_CTL_0   (AR_SM_BASE + 0xd4)
 
#define AR_PHY_CL_CAL_CTL   (AR_SM_BASE + 0xd8)
 
#define AR_PHY_CL_TAB_0   (AR_SM_BASE + 0x100)
 
#define AR_PHY_SYNTH_CONTROL   (AR_SM_BASE + 0x140)
 
#define AR_PHY_ADDAC_CLK_SEL   (AR_SM_BASE + 0x144)
 
#define AR_PHY_PLL_CTL   (AR_SM_BASE + 0x148)
 
#define AR_PHY_ANALOG_SWAP   (AR_SM_BASE + 0x14c)
 
#define AR_PHY_ADDAC_PARA_CTL   (AR_SM_BASE + 0x150)
 
#define AR_PHY_XPA_CFG   (AR_SM_BASE + 0x158)
 
#define AR_PHY_FRAME_CTL_CF_OVERLAP_WINDOW   3
 
#define AR_PHY_FRAME_CTL_CF_OVERLAP_WINDOW_S   0
 
#define AR_PHY_SPUR_MASK_A_CF_PUNC_MASK_IDX_A   0x0001FC00
 
#define AR_PHY_SPUR_MASK_A_CF_PUNC_MASK_IDX_A_S   10
 
#define AR_PHY_SPUR_MASK_A_CF_PUNC_MASK_A   0x3FF
 
#define AR_PHY_SPUR_MASK_A_CF_PUNC_MASK_A_S   0
 
#define AR_PHY_TEST   (AR_SM_BASE + 0x160)
 
#define AR_PHY_TEST_BBB_OBS_SEL   0x780000
 
#define AR_PHY_TEST_BBB_OBS_SEL_S   19
 
#define AR_PHY_TEST_RX_OBS_SEL_BIT5_S   23
 
#define AR_PHY_TEST_RX_OBS_SEL_BIT5   (1 << AR_PHY_TEST_RX_OBS_SEL_BIT5_S)
 
#define AR_PHY_TEST_CHAIN_SEL   0xC0000000
 
#define AR_PHY_TEST_CHAIN_SEL_S   30
 
#define AR_PHY_TEST_CTL_STATUS   (AR_SM_BASE + 0x164)
 
#define AR_PHY_TEST_CTL_TSTDAC_EN   0x1
 
#define AR_PHY_TEST_CTL_TSTDAC_EN_S   0
 
#define AR_PHY_TEST_CTL_TX_OBS_SEL   0x1C
 
#define AR_PHY_TEST_CTL_TX_OBS_SEL_S   2
 
#define AR_PHY_TEST_CTL_TX_OBS_MUX_SEL   0x60
 
#define AR_PHY_TEST_CTL_TX_OBS_MUX_SEL_S   5
 
#define AR_PHY_TEST_CTL_TSTADC_EN   0x100
 
#define AR_PHY_TEST_CTL_TSTADC_EN_S   8
 
#define AR_PHY_TEST_CTL_RX_OBS_SEL   0x3C00
 
#define AR_PHY_TEST_CTL_RX_OBS_SEL_S   10
 
#define AR_PHY_TEST_CTL_DEBUGPORT_SEL   0xe0000000
 
#define AR_PHY_TEST_CTL_DEBUGPORT_SEL_S   29
 
#define AR_PHY_TSTDAC   (AR_SM_BASE + 0x168)
 
#define AR_PHY_CHAN_STATUS   (AR_SM_BASE + 0x16c)
 
#define AR_PHY_CHAN_INFO_MEMORY   (AR_SM_BASE + 0x170)
 
#define AR_PHY_CHAN_INFO_MEMORY_CHANINFOMEM_S2_READ   0x00000008
 
#define AR_PHY_CHAN_INFO_MEMORY_CHANINFOMEM_S2_READ_S   3
 
#define AR_PHY_CHNINFO_NOISEPWR   (AR_SM_BASE + 0x174)
 
#define AR_PHY_CHNINFO_GAINDIFF   (AR_SM_BASE + 0x178)
 
#define AR_PHY_CHNINFO_FINETIM   (AR_SM_BASE + 0x17c)
 
#define AR_PHY_CHAN_INFO_GAIN_0   (AR_SM_BASE + 0x180)
 
#define AR_PHY_SCRAMBLER_SEED   (AR_SM_BASE + 0x190)
 
#define AR_PHY_CCK_TX_CTRL   (AR_SM_BASE + 0x194)
 
#define AR_PHY_HEAVYCLIP_CTL   (AR_SM_BASE + 0x1a4)
 
#define AR_PHY_HEAVYCLIP_20   (AR_SM_BASE + 0x1a8)
 
#define AR_PHY_HEAVYCLIP_40   (AR_SM_BASE + 0x1ac)
 
#define AR_PHY_ILLEGAL_TXRATE   (AR_SM_BASE + 0x1b0)
 
#define AR_PHY_POWER_TX_RATE(_d)   (AR_SM_BASE + 0x1c0 + ((_d) << 2))
 
#define AR_PHY_PWRTX_MAX   (AR_SM_BASE + 0x1f0)
 
#define AR_PHY_POWER_TX_SUB   (AR_SM_BASE + 0x1f4)
 
#define AR_PHY_TPC_1   (AR_SM_BASE + 0x1f8)
 
#define AR_PHY_TPC_1_FORCED_DAC_GAIN   0x0000003e
 
#define AR_PHY_TPC_1_FORCED_DAC_GAIN_S   1
 
#define AR_PHY_TPC_1_FORCE_DAC_GAIN   0x00000001
 
#define AR_PHY_TPC_1_FORCE_DAC_GAIN_S   0
 
#define AR_PHY_TPC_4_B0   (AR_SM_BASE + 0x204)
 
#define AR_PHY_TPC_5_B0   (AR_SM_BASE + 0x208)
 
#define AR_PHY_TPC_6_B0   (AR_SM_BASE + 0x20c)
 
#define AR_PHY_TPC_11_B0   (AR_SM_BASE + 0x220)
 
#define AR_PHY_TPC_11_B1   (AR_SM1_BASE + 0x220)
 
#define AR_PHY_TPC_11_B2   (AR_SM2_BASE + 0x220)
 
#define AR_PHY_TPC_11_OLPC_GAIN_DELTA   0x00ff0000
 
#define AR_PHY_TPC_11_OLPC_GAIN_DELTA_S   16
 
#define AR_PHY_TPC_12   (AR_SM_BASE + 0x224)
 
#define AR_PHY_TPC_12_DESIRED_SCALE_HT40_5   0x3e000000
 
#define AR_PHY_TPC_12_DESIRED_SCALE_HT40_5_S   25
 
#define AR_PHY_TPC_18   (AR_SM_BASE + 0x23c)
 
#define AR_PHY_TPC_18_THERM_CAL_VALUE   0x000000ff
 
#define AR_PHY_TPC_18_THERM_CAL_VALUE_S   0
 
#define AR_PHY_TPC_18_VOLT_CAL_VALUE   0x0000ff00
 
#define AR_PHY_TPC_18_VOLT_CAL_VALUE_S   8
 
#define AR_PHY_TPC_19   (AR_SM_BASE + 0x240)
 
#define AR_PHY_TPC_19_ALPHA_VOLT   0x001f0000
 
#define AR_PHY_TPC_19_ALPHA_VOLT_S   16
 
#define AR_PHY_TPC_19_ALPHA_THERM   0xff
 
#define AR_PHY_TPC_19_ALPHA_THERM_S   0
 
#define AR_PHY_TX_FORCED_GAIN   (AR_SM_BASE + 0x258)
 
#define AR_PHY_TX_FORCED_GAIN_FORCE_TX_GAIN   0x00000001
 
#define AR_PHY_TX_FORCED_GAIN_FORCE_TX_GAIN_S   0
 
#define AR_PHY_TX_FORCED_GAIN_FORCED_TXBB1DBGAIN   0x0000000e
 
#define AR_PHY_TX_FORCED_GAIN_FORCED_TXBB1DBGAIN_S   1
 
#define AR_PHY_TX_FORCED_GAIN_FORCED_TXBB6DBGAIN   0x00000030
 
#define AR_PHY_TX_FORCED_GAIN_FORCED_TXBB6DBGAIN_S   4
 
#define AR_PHY_TX_FORCED_GAIN_FORCED_TXMXRGAIN   0x000003c0
 
#define AR_PHY_TX_FORCED_GAIN_FORCED_TXMXRGAIN_S   6
 
#define AR_PHY_TX_FORCED_GAIN_FORCED_PADRVGNA   0x00003c00
 
#define AR_PHY_TX_FORCED_GAIN_FORCED_PADRVGNA_S   10
 
#define AR_PHY_TX_FORCED_GAIN_FORCED_PADRVGNB   0x0003c000
 
#define AR_PHY_TX_FORCED_GAIN_FORCED_PADRVGNB_S   14
 
#define AR_PHY_TX_FORCED_GAIN_FORCED_PADRVGNC   0x003c0000
 
#define AR_PHY_TX_FORCED_GAIN_FORCED_PADRVGNC_S   18
 
#define AR_PHY_TX_FORCED_GAIN_FORCED_PADRVGND   0x00c00000
 
#define AR_PHY_TX_FORCED_GAIN_FORCED_PADRVGND_S   22
 
#define AR_PHY_TX_FORCED_GAIN_FORCED_ENABLE_PAL   0x01000000
 
#define AR_PHY_TX_FORCED_GAIN_FORCED_ENABLE_PAL_S   24
 
#define AR_PHY_PDADC_TAB_0   (AR_SM_BASE + 0x280)
 
#define AR_PHY_TXGAIN_TABLE   (AR_SM_BASE + 0x300)
 
#define AR_PHY_TX_IQCAL_CONTROL_0
 
#define AR_PHY_TX_IQCAL_CONTROL_1
 
#define AR_PHY_TX_IQCAL_START
 
#define AR_PHY_TX_IQCAL_STATUS_B0
 
#define AR_PHY_TX_IQCAL_CORR_COEFF_B0(_i)
 
#define AR_PHY_RTT_CTRL   (AR_SM_BASE + 0x380)
 
#define AR_PHY_WATCHDOG_STATUS   (AR_SM_BASE + 0x5c0)
 
#define AR_PHY_WATCHDOG_CTL_1   (AR_SM_BASE + 0x5c4)
 
#define AR_PHY_WATCHDOG_CTL_2   (AR_SM_BASE + 0x5c8)
 
#define AR_PHY_WATCHDOG_CTL   (AR_SM_BASE + 0x5cc)
 
#define AR_PHY_ONLY_WARMRESET   (AR_SM_BASE + 0x5d0)
 
#define AR_PHY_ONLY_CTL   (AR_SM_BASE + 0x5d4)
 
#define AR_PHY_ECO_CTRL   (AR_SM_BASE + 0x5dc)
 
#define AR_PHY_BB_THERM_ADC_1   (AR_SM_BASE + 0x248)
 
#define AR_PHY_BB_THERM_ADC_1_INIT_THERM   0x000000ff
 
#define AR_PHY_BB_THERM_ADC_1_INIT_THERM_S   0
 
#define AR_PHY_BB_THERM_ADC_3   (AR_SM_BASE + 0x250)
 
#define AR_PHY_BB_THERM_ADC_3_THERM_ADC_SCALE_GAIN   0x0001ff00
 
#define AR_PHY_BB_THERM_ADC_3_THERM_ADC_SCALE_GAIN_S   8
 
#define AR_PHY_BB_THERM_ADC_3_THERM_ADC_OFFSET   0x000000ff
 
#define AR_PHY_BB_THERM_ADC_3_THERM_ADC_OFFSET_S   0
 
#define AR_PHY_BB_THERM_ADC_4   (AR_SM_BASE + 0x254)
 
#define AR_PHY_BB_THERM_ADC_4_LATEST_THERM_VALUE   0x000000ff
 
#define AR_PHY_BB_THERM_ADC_4_LATEST_THERM_VALUE_S   0
 
#define AR_PHY_BB_THERM_ADC_4_LATEST_VOLT_VALUE   0x0000ff00
 
#define AR_PHY_BB_THERM_ADC_4_LATEST_VOLT_VALUE_S   8
 
#define AR_PHY_AIC_CTRL_0_B0   (AR_SM_BASE + 0x4b0)
 
#define AR_PHY_AIC_CTRL_1_B0   (AR_SM_BASE + 0x4b4)
 
#define AR_PHY_AIC_CTRL_2_B0   (AR_SM_BASE + 0x4b8)
 
#define AR_PHY_AIC_CTRL_3_B0   (AR_SM_BASE + 0x4bc)
 
#define AR_PHY_AIC_STAT_0_B0   (AR_SM_BASE + 0x4c4))
 
#define AR_PHY_AIC_STAT_1_B0   (AR_SM_BASE + 0x4c8))
 
#define AR_PHY_AIC_CTRL_4_B0   (AR_SM_BASE + 0x4c0)
 
#define AR_PHY_AIC_STAT_2_B0   (AR_SM_BASE + 0x4cc)
 
#define AR_PHY_65NM_CH0_TXRF3   0x16048
 
#define AR_PHY_65NM_CH0_TXRF3_CAPDIV2G   0x0000001e
 
#define AR_PHY_65NM_CH0_TXRF3_CAPDIV2G_S   1
 
#define AR_PHY_65NM_CH0_SYNTH4   0x1608c
 
#define AR_PHY_SYNTH4_LONG_SHIFT_SELECT   ((AR_SREV_9462(ah) || AR_SREV_9565(ah)) ? 0x00000001 : 0x00000002)
 
#define AR_PHY_SYNTH4_LONG_SHIFT_SELECT_S   ((AR_SREV_9462(ah) || AR_SREV_9565(ah)) ? 0 : 1)
 
#define AR_PHY_65NM_CH0_SYNTH7   0x16098
 
#define AR_PHY_65NM_CH0_BIAS1   0x160c0
 
#define AR_PHY_65NM_CH0_BIAS2   0x160c4
 
#define AR_PHY_65NM_CH0_BIAS4   0x160cc
 
#define AR_PHY_65NM_CH0_RXTX4   0x1610c
 
#define AR_PHY_65NM_CH1_RXTX4   0x1650c
 
#define AR_PHY_65NM_CH2_RXTX4   0x1690c
 
#define AR_CH0_TOP
 
#define AR_CH0_TOP_XPABIASLVL   (AR_SREV_9550(ah) ? 0x3c0 : 0x300)
 
#define AR_CH0_TOP_XPABIASLVL_S   (AR_SREV_9550(ah) ? 6 : 8)
 
#define AR_CH0_THERM
 
#define AR_CH0_THERM_XPABIASLVL_MSB   0x3
 
#define AR_CH0_THERM_XPABIASLVL_MSB_S   0
 
#define AR_CH0_THERM_XPASHORT2GND   0x4
 
#define AR_CH0_THERM_XPASHORT2GND_S   2
 
#define AR_SWITCH_TABLE_COM_ALL   (0xffff)
 
#define AR_SWITCH_TABLE_COM_ALL_S   (0)
 
#define AR_SWITCH_TABLE_COM_AR9462_ALL   (0xffffff)
 
#define AR_SWITCH_TABLE_COM_AR9462_ALL_S   (0)
 
#define AR_SWITCH_TABLE_COM_AR9550_ALL   (0xffffff)
 
#define AR_SWITCH_TABLE_COM_AR9550_ALL_S   (0)
 
#define AR_SWITCH_TABLE_COM_SPDT   (0x00f00000)
 
#define AR_SWITCH_TABLE_COM_SPDT_ALL   (0x0000fff0)
 
#define AR_SWITCH_TABLE_COM_SPDT_ALL_S   (4)
 
#define AR_SWITCH_TABLE_COM2_ALL   (0xffffff)
 
#define AR_SWITCH_TABLE_COM2_ALL_S   (0)
 
#define AR_SWITCH_TABLE_ALL   (0xfff)
 
#define AR_SWITCH_TABLE_ALL_S   (0)
 
#define AR_PHY_65NM_CH0_THERM
 
#define AR_PHY_65NM_CH0_THERM_LOCAL   0x80000000
 
#define AR_PHY_65NM_CH0_THERM_LOCAL_S   31
 
#define AR_PHY_65NM_CH0_THERM_START   0x20000000
 
#define AR_PHY_65NM_CH0_THERM_START_S   29
 
#define AR_PHY_65NM_CH0_THERM_SAR_ADC_OUT   0x0000ff00
 
#define AR_PHY_65NM_CH0_THERM_SAR_ADC_OUT_S   8
 
#define AR_PHY_65NM_CH0_RXTX1   0x16100
 
#define AR_PHY_65NM_CH0_RXTX2   0x16104
 
#define AR_PHY_65NM_CH1_RXTX1   0x16500
 
#define AR_PHY_65NM_CH1_RXTX2   0x16504
 
#define AR_PHY_65NM_CH2_RXTX1   0x16900
 
#define AR_PHY_65NM_CH2_RXTX2   0x16904
 
#define AR_CH0_TOP2
 
#define AR_CH0_TOP2_XPABIASLVL   0xf000
 
#define AR_CH0_TOP2_XPABIASLVL_S   12
 
#define AR_CH0_XTAL
 
#define AR_CH0_XTAL_CAPINDAC   0x7f000000
 
#define AR_CH0_XTAL_CAPINDAC_S   24
 
#define AR_CH0_XTAL_CAPOUTDAC   0x00fe0000
 
#define AR_CH0_XTAL_CAPOUTDAC_S   17
 
#define AR_PHY_PMU1   ((AR_SREV_9462(ah) || AR_SREV_9565(ah)) ? 0x16340 : 0x16c40)
 
#define AR_PHY_PMU1_PWD   0x1
 
#define AR_PHY_PMU1_PWD_S   0
 
#define AR_PHY_PMU2   ((AR_SREV_9462(ah) || AR_SREV_9565(ah)) ? 0x16344 : 0x16c44)
 
#define AR_PHY_PMU2_PGM   0x00200000
 
#define AR_PHY_PMU2_PGM_S   21
 
#define AR_PHY_RX1DB_BIQUAD_LONG_SHIFT   0x00380000
 
#define AR_PHY_RX1DB_BIQUAD_LONG_SHIFT_S   19
 
#define AR_PHY_RX6DB_BIQUAD_LONG_SHIFT   0x00c00000
 
#define AR_PHY_RX6DB_BIQUAD_LONG_SHIFT_S   22
 
#define AR_PHY_LNAGAIN_LONG_SHIFT   0xe0000000
 
#define AR_PHY_LNAGAIN_LONG_SHIFT_S   29
 
#define AR_PHY_MXRGAIN_LONG_SHIFT   0x03000000
 
#define AR_PHY_MXRGAIN_LONG_SHIFT_S   24
 
#define AR_PHY_VGAGAIN_LONG_SHIFT   0x1c000000
 
#define AR_PHY_VGAGAIN_LONG_SHIFT_S   26
 
#define AR_PHY_SCFIR_GAIN_LONG_SHIFT   0x00000001
 
#define AR_PHY_SCFIR_GAIN_LONG_SHIFT_S   0
 
#define AR_PHY_MANRXGAIN_LONG_SHIFT   0x00000002
 
#define AR_PHY_MANRXGAIN_LONG_SHIFT_S   1
 
#define AR_PHY_CL_CAL_ENABLE   0x00000002
 
#define AR_PHY_PARALLEL_CAL_ENABLE   0x00000001
 
#define AR_PHY_TPCRG1_PD_CAL_ENABLE   0x00400000
 
#define AR_PHY_TPCRG1_PD_CAL_ENABLE_S   22
 
#define AR_PHY_ADDAC_PARACTL_OFF_PWDADC   0x00008000
 
#define AR_PHY_FCAL20_CAP_STATUS_0   0x01f00000
 
#define AR_PHY_FCAL20_CAP_STATUS_0_S   20
 
#define AR_PHY_RFBUS_REQ_EN   0x00000001 /* request for RF bus */
 
#define AR_PHY_RFBUS_GRANT_EN   0x00000001 /* RF bus granted */
 
#define AR_PHY_GC_TURBO_MODE   0x00000001 /* set turbo mode bits */
 
#define AR_PHY_GC_TURBO_SHORT   0x00000002 /* set short symbols to turbo mode setting */
 
#define AR_PHY_GC_DYN2040_EN   0x00000004 /* enable dyn 20/40 mode */
 
#define AR_PHY_GC_DYN2040_PRI_ONLY   0x00000008 /* dyn 20/40 - primary only */
 
#define AR_PHY_GC_DYN2040_PRI_CH   0x00000010 /* dyn 20/40 - primary ch offset (0=+10MHz, 1=-10MHz)*/
 
#define AR_PHY_GC_DYN2040_PRI_CH_S   4
 
#define AR_PHY_GC_DYN2040_EXT_CH   0x00000020 /* dyn 20/40 - ext ch spacing (0=20MHz/ 1=25MHz) */
 
#define AR_PHY_GC_HT_EN   0x00000040 /* ht enable */
 
#define AR_PHY_GC_SHORT_GI_40   0x00000080 /* allow short GI for HT 40 */
 
#define AR_PHY_GC_WALSH   0x00000100 /* walsh spatial spreading for 2 chains,2 streams TX */
 
#define AR_PHY_GC_SINGLE_HT_LTF1   0x00000200 /* single length (4us) 1st HT long training symbol */
 
#define AR_PHY_GC_GF_DETECT_EN   0x00000400 /* enable Green Field detection. Only affects rx, not tx */
 
#define AR_PHY_GC_ENABLE_DAC_FIFO   0x00000800 /* fifo between bb and dac */
 
#define AR_PHY_RX_DELAY_DELAY   0x00003FFF /* delay from wakeup to rx ena */
 
#define AR_PHY_CALMODE_IQ   0x00000000
 
#define AR_PHY_CALMODE_ADC_GAIN   0x00000001
 
#define AR_PHY_CALMODE_ADC_DC_PER   0x00000002
 
#define AR_PHY_CALMODE_ADC_DC_INIT   0x00000003
 
#define AR_PHY_SWAP_ALT_CHAIN   0x00000040
 
#define AR_PHY_MODE_OFDM   0x00000000
 
#define AR_PHY_MODE_CCK   0x00000001
 
#define AR_PHY_MODE_DYNAMIC   0x00000004
 
#define AR_PHY_MODE_DYNAMIC_S   2
 
#define AR_PHY_MODE_HALF   0x00000020
 
#define AR_PHY_MODE_QUARTER   0x00000040
 
#define AR_PHY_MAC_CLK_MODE   0x00000080
 
#define AR_PHY_MODE_DYN_CCK_DISABLE   0x00000100
 
#define AR_PHY_MODE_SVD_HALF   0x00000200
 
#define AR_PHY_ACTIVE_EN   0x00000001
 
#define AR_PHY_ACTIVE_DIS   0x00000000
 
#define AR_PHY_FORCE_XPA_CFG   0x000000001
 
#define AR_PHY_FORCE_XPA_CFG_S   0
 
#define AR_PHY_XPA_TIMING_CTL_TX_END_XPAB_OFF   0xFF000000
 
#define AR_PHY_XPA_TIMING_CTL_TX_END_XPAB_OFF_S   24
 
#define AR_PHY_XPA_TIMING_CTL_TX_END_XPAA_OFF   0x00FF0000
 
#define AR_PHY_XPA_TIMING_CTL_TX_END_XPAA_OFF_S   16
 
#define AR_PHY_XPA_TIMING_CTL_FRAME_XPAB_ON   0x0000FF00
 
#define AR_PHY_XPA_TIMING_CTL_FRAME_XPAB_ON_S   8
 
#define AR_PHY_XPA_TIMING_CTL_FRAME_XPAA_ON   0x000000FF
 
#define AR_PHY_XPA_TIMING_CTL_FRAME_XPAA_ON_S   0
 
#define AR_PHY_TX_END_TO_A2_RX_ON   0x00FF0000
 
#define AR_PHY_TX_END_TO_A2_RX_ON_S   16
 
#define AR_PHY_TX_END_DATA_START   0x000000FF
 
#define AR_PHY_TX_END_DATA_START_S   0
 
#define AR_PHY_TX_END_PA_ON   0x0000FF00
 
#define AR_PHY_TX_END_PA_ON_S   8
 
#define AR_PHY_TPCRG5_PD_GAIN_OVERLAP   0x0000000F
 
#define AR_PHY_TPCRG5_PD_GAIN_OVERLAP_S   0
 
#define AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_1   0x000003F0
 
#define AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_1_S   4
 
#define AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_2   0x0000FC00
 
#define AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_2_S   10
 
#define AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_3   0x003F0000
 
#define AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_3_S   16
 
#define AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_4   0x0FC00000
 
#define AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_4_S   22
 
#define AR_PHY_TPCRG1_NUM_PD_GAIN   0x0000c000
 
#define AR_PHY_TPCRG1_NUM_PD_GAIN_S   14
 
#define AR_PHY_TPCRG1_PD_GAIN_1   0x00030000
 
#define AR_PHY_TPCRG1_PD_GAIN_1_S   16
 
#define AR_PHY_TPCRG1_PD_GAIN_2   0x000C0000
 
#define AR_PHY_TPCRG1_PD_GAIN_2_S   18
 
#define AR_PHY_TPCRG1_PD_GAIN_3   0x00300000
 
#define AR_PHY_TPCRG1_PD_GAIN_3_S   20
 
#define AR_PHY_TPCGR1_FORCED_DAC_GAIN   0x0000003e
 
#define AR_PHY_TPCGR1_FORCED_DAC_GAIN_S   1
 
#define AR_PHY_TPCGR1_FORCE_DAC_GAIN   0x00000001
 
#define AR_PHY_TXGAIN_FORCE   0x00000001
 
#define AR_PHY_TXGAIN_FORCE_S   0
 
#define AR_PHY_TXGAIN_FORCED_PADVGNRA   0x00003c00
 
#define AR_PHY_TXGAIN_FORCED_PADVGNRA_S   10
 
#define AR_PHY_TXGAIN_FORCED_PADVGNRB   0x0003c000
 
#define AR_PHY_TXGAIN_FORCED_PADVGNRB_S   14
 
#define AR_PHY_TXGAIN_FORCED_PADVGNRD   0x00c00000
 
#define AR_PHY_TXGAIN_FORCED_PADVGNRD_S   22
 
#define AR_PHY_TXGAIN_FORCED_TXMXRGAIN   0x000003c0
 
#define AR_PHY_TXGAIN_FORCED_TXMXRGAIN_S   6
 
#define AR_PHY_TXGAIN_FORCED_TXBB1DBGAIN   0x0000000e
 
#define AR_PHY_TXGAIN_FORCED_TXBB1DBGAIN_S   1
 
#define AR_PHY_POWER_TX_RATE1   0x9934
 
#define AR_PHY_POWER_TX_RATE2   0x9938
 
#define AR_PHY_POWER_TX_RATE_MAX   0x993c
 
#define AR_PHY_POWER_TX_RATE_MAX_TPC_ENABLE   0x00000040
 
#define PHY_AGC_CLR   0x10000000
 
#define RFSILENT_BB   0x00002000
 
#define AR_PHY_CHAN_INFO_GAIN_DIFF_PPM_MASK   0xFFF
 
#define AR_PHY_CHAN_INFO_GAIN_DIFF_PPM_SIGNED_BIT   0x800
 
#define AR_PHY_CHAN_INFO_GAIN_DIFF_UPPER_LIMIT   320
 
#define AR_PHY_CHAN_INFO_MEMORY_CAPTURE_MASK   0x0001
 
#define AR_PHY_RX_DELAY_DELAY   0x00003FFF
 
#define AR_PHY_CCK_TX_CTRL_JAPAN   0x00000010
 
#define AR_PHY_SPECTRAL_SCAN_ENABLE   0x00000001
 
#define AR_PHY_SPECTRAL_SCAN_ENABLE_S   0
 
#define AR_PHY_SPECTRAL_SCAN_ACTIVE   0x00000002
 
#define AR_PHY_SPECTRAL_SCAN_ACTIVE_S   1
 
#define AR_PHY_SPECTRAL_SCAN_FFT_PERIOD   0x000000F0
 
#define AR_PHY_SPECTRAL_SCAN_FFT_PERIOD_S   4
 
#define AR_PHY_SPECTRAL_SCAN_PERIOD   0x0000FF00
 
#define AR_PHY_SPECTRAL_SCAN_PERIOD_S   8
 
#define AR_PHY_SPECTRAL_SCAN_COUNT   0x0FFF0000
 
#define AR_PHY_SPECTRAL_SCAN_COUNT_S   16
 
#define AR_PHY_SPECTRAL_SCAN_SHORT_REPEAT   0x10000000
 
#define AR_PHY_SPECTRAL_SCAN_SHORT_REPEAT_S   28
 
#define AR_PHY_SPECTRAL_SCAN_PRIORITY   0x20000000
 
#define AR_PHY_SPECTRAL_SCAN_PRIORITY_S   29
 
#define AR_PHY_SPECTRAL_SCAN_USE_ERR5   0x40000000
 
#define AR_PHY_SPECTRAL_SCAN_USE_ERR5_S   30
 
#define AR_PHY_SPECTRAL_SCAN_COMPRESSED_RPT   0x80000000
 
#define AR_PHY_SPECTRAL_SCAN_COMPRESSED_RPT_S   31
 
#define AR_PHY_CHANNEL_STATUS_RX_CLEAR   0x00000004
 
#define AR_PHY_RTT_CTRL_ENA_RADIO_RETENTION   0x00000001
 
#define AR_PHY_RTT_CTRL_ENA_RADIO_RETENTION_S   0
 
#define AR_PHY_RTT_CTRL_RESTORE_MASK   0x0000007E
 
#define AR_PHY_RTT_CTRL_RESTORE_MASK_S   1
 
#define AR_PHY_RTT_CTRL_FORCE_RADIO_RESTORE   0x00000080
 
#define AR_PHY_RTT_CTRL_FORCE_RADIO_RESTORE_S   7
 
#define AR_PHY_RTT_SW_RTT_TABLE_ACCESS   0x00000001
 
#define AR_PHY_RTT_SW_RTT_TABLE_ACCESS_S   0
 
#define AR_PHY_RTT_SW_RTT_TABLE_WRITE   0x00000002
 
#define AR_PHY_RTT_SW_RTT_TABLE_WRITE_S   1
 
#define AR_PHY_RTT_SW_RTT_TABLE_ADDR   0x0000001C
 
#define AR_PHY_RTT_SW_RTT_TABLE_ADDR_S   2
 
#define AR_PHY_RTT_SW_RTT_TABLE_DATA   0xFFFFFFF0
 
#define AR_PHY_RTT_SW_RTT_TABLE_DATA_S   4
 
#define AR_PHY_TX_IQCAL_CONTROL_0_ENABLE_TXIQ_CAL   0x80000000
 
#define AR_PHY_TX_IQCAL_CONTROL_0_ENABLE_TXIQ_CAL_S   31
 
#define AR_PHY_TX_IQCAL_CONTROL_1_IQCORR_I_Q_COFF_DELPT   0x01fc0000
 
#define AR_PHY_TX_IQCAL_CONTROL_1_IQCORR_I_Q_COFF_DELPT_S   18
 
#define AR_PHY_TX_IQCAL_START_DO_CAL   0x00000001
 
#define AR_PHY_TX_IQCAL_START_DO_CAL_S   0
 
#define AR_PHY_TX_IQCAL_STATUS_FAILED   0x00000001
 
#define AR_PHY_CALIBRATED_GAINS_0   0x3e
 
#define AR_PHY_CALIBRATED_GAINS_0_S   1
 
#define AR_PHY_TX_IQCAL_CORR_COEFF_00_COEFF_TABLE   0x00003fff
 
#define AR_PHY_TX_IQCAL_CORR_COEFF_00_COEFF_TABLE_S   0
 
#define AR_PHY_TX_IQCAL_CORR_COEFF_01_COEFF_TABLE   0x0fffc000
 
#define AR_PHY_TX_IQCAL_CORR_COEFF_01_COEFF_TABLE_S   14
 
#define AR_PHY_65NM_CH0_RXTX4_THERM_ON   0x10000000
 
#define AR_PHY_65NM_CH0_RXTX4_THERM_ON_S   28
 
#define AR_PHY_65NM_CH0_RXTX4_THERM_ON_OVR   0x20000000
 
#define AR_PHY_65NM_CH0_RXTX4_THERM_ON_OVR_S   29
 
#define AR_PHY_65NM_RXTX4_XLNA_BIAS   0xC0000000
 
#define AR_PHY_65NM_RXTX4_XLNA_BIAS_S   30
 
#define AR_CHAN1_BASE   0xa800
 
#define AR_PHY_EXT_CCA_1   (AR_CHAN1_BASE + 0x30)
 
#define AR_PHY_TX_PHASE_RAMP_1   (AR_CHAN1_BASE + 0xd0)
 
#define AR_PHY_ADC_GAIN_DC_CORR_1   (AR_CHAN1_BASE + 0xd4)
 
#define AR_PHY_SPUR_REPORT_1   (AR_CHAN1_BASE + 0xa8)
 
#define AR_PHY_CHAN_INFO_TAB_1   (AR_CHAN1_BASE + 0x300)
 
#define AR_PHY_RX_IQCAL_CORR_B1   (AR_CHAN1_BASE + 0xdc)
 
#define AR_PHY_CH1_EXT_MINCCA_PWR   0x01FF0000
 
#define AR_PHY_CH1_EXT_MINCCA_PWR_S   16
 
#define AR_AGC1_BASE   0xae00
 
#define AR_PHY_FORCEMAX_GAINS_1   (AR_AGC1_BASE + 0x4)
 
#define AR_PHY_EXT_ATTEN_CTL_1   (AR_AGC1_BASE + 0x18)
 
#define AR_PHY_CCA_1   (AR_AGC1_BASE + 0x1c)
 
#define AR_PHY_CCA_CTRL_1   (AR_AGC1_BASE + 0x20)
 
#define AR_PHY_RSSI_1   (AR_AGC1_BASE + 0x180)
 
#define AR_PHY_SPUR_CCK_REP_1   (AR_AGC1_BASE + 0x184)
 
#define AR_PHY_RX_OCGAIN_2   (AR_AGC1_BASE + 0x200)
 
#define AR_PHY_CH1_MINCCA_PWR   0x1FF00000
 
#define AR_PHY_CH1_MINCCA_PWR_S   20
 
#define AR_SM1_BASE   0xb200
 
#define AR_PHY_SWITCH_CHAIN_1   (AR_SM1_BASE + 0x84)
 
#define AR_PHY_FCAL_2_1   (AR_SM1_BASE + 0xd0)
 
#define AR_PHY_DFT_TONE_CTL_1   (AR_SM1_BASE + 0xd4)
 
#define AR_PHY_CL_TAB_1   (AR_SM1_BASE + 0x100)
 
#define AR_PHY_CHAN_INFO_GAIN_1   (AR_SM1_BASE + 0x180)
 
#define AR_PHY_TPC_4_B1   (AR_SM1_BASE + 0x204)
 
#define AR_PHY_TPC_5_B1   (AR_SM1_BASE + 0x208)
 
#define AR_PHY_TPC_6_B1   (AR_SM1_BASE + 0x20c)
 
#define AR_PHY_TPC_11_B1   (AR_SM1_BASE + 0x220)
 
#define AR_PHY_PDADC_TAB_1
 
#define AR_PHY_TPC_19_B1   (AR_SM1_BASE + 0x240)
 
#define AR_PHY_TPC_19_B1_ALPHA_THERM   0xff
 
#define AR_PHY_TPC_19_B1_ALPHA_THERM_S   0
 
#define AR_PHY_TX_IQCAL_STATUS_B1   (AR_SM1_BASE + 0x48c)
 
#define AR_PHY_TX_IQCAL_CORR_COEFF_B1(_i)   (AR_SM1_BASE + 0x450 + ((_i) << 2))
 
#define AR_PHY_AIC_CTRL_0_B1   (AR_SM1_BASE + 0x4b0)
 
#define AR_PHY_AIC_CTRL_1_B1   (AR_SM1_BASE + 0x4b4)
 
#define AR_PHY_AIC_CTRL_2_B1   (AR_SM1_BASE + 0x4b8)
 
#define AR_PHY_AIC_STAT_0_B1
 
#define AR_PHY_AIC_STAT_1_B1
 
#define AR_PHY_AIC_CTRL_4_B1   (AR_SM1_BASE + 0x4c0)
 
#define AR_PHY_AIC_STAT_2_B1   (AR_SM1_BASE + 0x4cc)
 
#define AR_PHY_AIC_SRAM_ADDR_B1   (AR_SM1_BASE + 0x5f0)
 
#define AR_PHY_AIC_SRAM_DATA_B1   (AR_SM1_BASE + 0x5f4)
 
#define AR_PHY_RTT_TABLE_SW_INTF_B(i)
 
#define AR_PHY_RTT_TABLE_SW_INTF_1_B(i)
 
#define AR_CHAN2_BASE   0xb800
 
#define AR_PHY_EXT_CCA_2   (AR_CHAN2_BASE + 0x30)
 
#define AR_PHY_TX_PHASE_RAMP_2   (AR_CHAN2_BASE + 0xd0)
 
#define AR_PHY_ADC_GAIN_DC_CORR_2   (AR_CHAN2_BASE + 0xd4)
 
#define AR_PHY_SPUR_REPORT_2   (AR_CHAN2_BASE + 0xa8)
 
#define AR_PHY_CHAN_INFO_TAB_2   (AR_CHAN2_BASE + 0x300)
 
#define AR_PHY_RX_IQCAL_CORR_B2   (AR_CHAN2_BASE + 0xdc)
 
#define AR_PHY_CH2_EXT_MINCCA_PWR   0x01FF0000
 
#define AR_PHY_CH2_EXT_MINCCA_PWR_S   16
 
#define AR_AGC2_BASE   0xbe00
 
#define AR_PHY_FORCEMAX_GAINS_2   (AR_AGC2_BASE + 0x4)
 
#define AR_PHY_EXT_ATTEN_CTL_2   (AR_AGC2_BASE + 0x18)
 
#define AR_PHY_CCA_2   (AR_AGC2_BASE + 0x1c)
 
#define AR_PHY_CCA_CTRL_2   (AR_AGC2_BASE + 0x20)
 
#define AR_PHY_RSSI_2   (AR_AGC2_BASE + 0x180)
 
#define AR_PHY_CH2_MINCCA_PWR   0x1FF00000
 
#define AR_PHY_CH2_MINCCA_PWR_S   20
 
#define AR_SM2_BASE   0xc200
 
#define AR_PHY_SWITCH_CHAIN_2   (AR_SM2_BASE + 0x84)
 
#define AR_PHY_FCAL_2_2   (AR_SM2_BASE + 0xd0)
 
#define AR_PHY_DFT_TONE_CTL_2   (AR_SM2_BASE + 0xd4)
 
#define AR_PHY_CL_TAB_2   (AR_SM2_BASE + 0x100)
 
#define AR_PHY_CHAN_INFO_GAIN_2   (AR_SM2_BASE + 0x180)
 
#define AR_PHY_TPC_4_B2   (AR_SM2_BASE + 0x204)
 
#define AR_PHY_TPC_5_B2   (AR_SM2_BASE + 0x208)
 
#define AR_PHY_TPC_6_B2   (AR_SM2_BASE + 0x20c)
 
#define AR_PHY_TPC_11_B2   (AR_SM2_BASE + 0x220)
 
#define AR_PHY_PDADC_TAB_2   (AR_SM2_BASE + 0x240)
 
#define AR_PHY_TX_IQCAL_STATUS_B2   (AR_SM2_BASE + 0x48c)
 
#define AR_PHY_TX_IQCAL_CORR_COEFF_B2(_i)   (AR_SM2_BASE + 0x450 + ((_i) << 2))
 
#define AR_PHY_TX_IQCAL_STATUS_B2_FAILED   0x00000001
 
#define AR_AGC3_BASE   0xce00
 
#define AR_PHY_RSSI_3   (AR_AGC3_BASE + 0x180)
 
#define AR_GLB_BASE   0x20000
 
#define AR_GLB_GPIO_CONTROL   (AR_GLB_BASE)
 
#define AR_PHY_GLB_CONTROL   (AR_GLB_BASE + 0x44)
 
#define AR_GLB_SCRATCH(_ah)
 
#define AR_GLB_STATUS   (AR_GLB_BASE + 0x48)
 
#define AR_PHY_CHAIN_OFFSET   (AR_CHAN1_BASE - AR_CHAN_BASE)
 
#define AR_PHY_NEW_ADC_DC_GAIN_CORR(_i)   (AR_PHY_ADC_GAIN_DC_CORR_0 + (AR_PHY_CHAIN_OFFSET * (_i)))
 
#define AR_PHY_NEW_ADC_DC_GAIN_CORR_9300_10(_i)   (AR_PHY_ADC_GAIN_DC_CORR_0_9300_10 + (AR_PHY_CHAIN_OFFSET * (_i)))
 
#define AR_PHY_SWITCH_CHAIN(_i)   (AR_PHY_SWITCH_CHAIN_0 + (AR_PHY_CHAIN_OFFSET * (_i)))
 
#define AR_PHY_EXT_ATTEN_CTL(_i)   (AR_PHY_EXT_ATTEN_CTL_0 + (AR_PHY_CHAIN_OFFSET * (_i)))
 
#define AR_PHY_RXGAIN(_i)   (AR_PHY_FORCEMAX_GAINS_0 + (AR_PHY_CHAIN_OFFSET * (_i)))
 
#define AR_PHY_TPCRG5(_i)   (AR_PHY_TPC_5_B0 + (AR_PHY_CHAIN_OFFSET * (_i)))
 
#define AR_PHY_PDADC_TAB(_i)   (AR_PHY_PDADC_TAB_0 + (AR_PHY_CHAIN_OFFSET * (_i)))
 
#define AR_PHY_CAL_MEAS_0(_i)   (AR_PHY_IQ_ADC_MEAS_0_B0 + (AR_PHY_CHAIN_OFFSET * (_i)))
 
#define AR_PHY_CAL_MEAS_1(_i)   (AR_PHY_IQ_ADC_MEAS_1_B0 + (AR_PHY_CHAIN_OFFSET * (_i)))
 
#define AR_PHY_CAL_MEAS_2(_i)   (AR_PHY_IQ_ADC_MEAS_2_B0 + (AR_PHY_CHAIN_OFFSET * (_i)))
 
#define AR_PHY_CAL_MEAS_3(_i)   (AR_PHY_IQ_ADC_MEAS_3_B0 + (AR_PHY_CHAIN_OFFSET * (_i)))
 
#define AR_PHY_CAL_MEAS_0_9300_10(_i)   (AR_PHY_IQ_ADC_MEAS_0_B0_9300_10 + (AR_PHY_CHAIN_OFFSET * (_i)))
 
#define AR_PHY_CAL_MEAS_1_9300_10(_i)   (AR_PHY_IQ_ADC_MEAS_1_B0_9300_10 + (AR_PHY_CHAIN_OFFSET * (_i)))
 
#define AR_PHY_CAL_MEAS_2_9300_10(_i)   (AR_PHY_IQ_ADC_MEAS_2_B0_9300_10 + (AR_PHY_CHAIN_OFFSET * (_i)))
 
#define AR_PHY_CAL_MEAS_3_9300_10(_i)   (AR_PHY_IQ_ADC_MEAS_3_B0_9300_10 + (AR_PHY_CHAIN_OFFSET * (_i)))
 
#define AR_PHY_WATCHDOG_NON_IDLE_ENABLE   0x00000001
 
#define AR_PHY_WATCHDOG_IDLE_ENABLE   0x00000002
 
#define AR_PHY_WATCHDOG_IDLE_MASK   0xFFFF0000
 
#define AR_PHY_WATCHDOG_NON_IDLE_MASK   0x0000FFFC
 
#define AR_PHY_WATCHDOG_RST_ENABLE   0x00000002
 
#define AR_PHY_WATCHDOG_IRQ_ENABLE   0x00000004
 
#define AR_PHY_WATCHDOG_CNTL2_MASK   0xFFFFFFF9
 
#define AR_PHY_WATCHDOG_INFO   0x00000007
 
#define AR_PHY_WATCHDOG_INFO_S   0
 
#define AR_PHY_WATCHDOG_DET_HANG   0x00000008
 
#define AR_PHY_WATCHDOG_DET_HANG_S   3
 
#define AR_PHY_WATCHDOG_RADAR_SM   0x000000F0
 
#define AR_PHY_WATCHDOG_RADAR_SM_S   4
 
#define AR_PHY_WATCHDOG_RX_OFDM_SM   0x00000F00
 
#define AR_PHY_WATCHDOG_RX_OFDM_SM_S   8
 
#define AR_PHY_WATCHDOG_RX_CCK_SM   0x0000F000
 
#define AR_PHY_WATCHDOG_RX_CCK_SM_S   12
 
#define AR_PHY_WATCHDOG_TX_OFDM_SM   0x000F0000
 
#define AR_PHY_WATCHDOG_TX_OFDM_SM_S   16
 
#define AR_PHY_WATCHDOG_TX_CCK_SM   0x00F00000
 
#define AR_PHY_WATCHDOG_TX_CCK_SM_S   20
 
#define AR_PHY_WATCHDOG_AGC_SM   0x0F000000
 
#define AR_PHY_WATCHDOG_AGC_SM_S   24
 
#define AR_PHY_WATCHDOG_SRCH_SM   0xF0000000
 
#define AR_PHY_WATCHDOG_SRCH_SM_S   28
 
#define AR_PHY_WATCHDOG_STATUS_CLR   0x00000008
 
#define AR_PHY_XPA_TIMING_CTL   (AR_SM_BASE + 0x64)
 
#define AR_PHY_PAPRD_AM2AM   (AR_CHAN_BASE + 0xe4)
 
#define AR_PHY_PAPRD_AM2AM_MASK   0x01ffffff
 
#define AR_PHY_PAPRD_AM2AM_MASK_S   0
 
#define AR_PHY_PAPRD_AM2PM   (AR_CHAN_BASE + 0xe8)
 
#define AR_PHY_PAPRD_AM2PM_MASK   0x01ffffff
 
#define AR_PHY_PAPRD_AM2PM_MASK_S   0
 
#define AR_PHY_PAPRD_HT40   (AR_CHAN_BASE + 0xec)
 
#define AR_PHY_PAPRD_HT40_MASK   0x01ffffff
 
#define AR_PHY_PAPRD_HT40_MASK_S   0
 
#define AR_PHY_PAPRD_CTRL0_B0   (AR_CHAN_BASE + 0xf0)
 
#define AR_PHY_PAPRD_CTRL0_B1   (AR_CHAN1_BASE + 0xf0)
 
#define AR_PHY_PAPRD_CTRL0_B2   (AR_CHAN2_BASE + 0xf0)
 
#define AR_PHY_PAPRD_CTRL0_PAPRD_ENABLE   0x00000001
 
#define AR_PHY_PAPRD_CTRL0_PAPRD_ENABLE_S   0
 
#define AR_PHY_PAPRD_CTRL0_USE_SINGLE_TABLE_MASK   0x00000002
 
#define AR_PHY_PAPRD_CTRL0_USE_SINGLE_TABLE_MASK_S   1
 
#define AR_PHY_PAPRD_CTRL0_PAPRD_MAG_THRSH   0xf8000000
 
#define AR_PHY_PAPRD_CTRL0_PAPRD_MAG_THRSH_S   27
 
#define AR_PHY_PAPRD_CTRL1_B0   (AR_CHAN_BASE + 0xf4)
 
#define AR_PHY_PAPRD_CTRL1_B1   (AR_CHAN1_BASE + 0xf4)
 
#define AR_PHY_PAPRD_CTRL1_B2   (AR_CHAN2_BASE + 0xf4)
 
#define AR_PHY_PAPRD_CTRL1_ADAPTIVE_SCALING_ENA   0x00000001
 
#define AR_PHY_PAPRD_CTRL1_ADAPTIVE_SCALING_ENA_S   0
 
#define AR_PHY_PAPRD_CTRL1_ADAPTIVE_AM2AM_ENABLE   0x00000002
 
#define AR_PHY_PAPRD_CTRL1_ADAPTIVE_AM2AM_ENABLE_S   1
 
#define AR_PHY_PAPRD_CTRL1_ADAPTIVE_AM2PM_ENABLE   0x00000004
 
#define AR_PHY_PAPRD_CTRL1_ADAPTIVE_AM2PM_ENABLE_S   2
 
#define AR_PHY_PAPRD_CTRL1_PAPRD_POWER_AT_AM2AM_CAL   0x000001f8
 
#define AR_PHY_PAPRD_CTRL1_PAPRD_POWER_AT_AM2AM_CAL_S   3
 
#define AR_PHY_PAPRD_CTRL1_PA_GAIN_SCALE_FACT_MASK   0x0001fe00
 
#define AR_PHY_PAPRD_CTRL1_PA_GAIN_SCALE_FACT_MASK_S   9
 
#define AR_PHY_PAPRD_CTRL1_PAPRD_MAG_SCALE_FACT   0x0ffe0000
 
#define AR_PHY_PAPRD_CTRL1_PAPRD_MAG_SCALE_FACT_S   17
 
#define AR_PHY_PAPRD_TRAINER_CNTL1
 
#define AR_PHY_PAPRD_TRAINER_CNTL1_CF_CF_PAPRD_TRAIN_ENABLE   0x00000001
 
#define AR_PHY_PAPRD_TRAINER_CNTL1_CF_CF_PAPRD_TRAIN_ENABLE_S   0
 
#define AR_PHY_PAPRD_TRAINER_CNTL1_CF_PAPRD_AGC2_SETTLING   0x0000007e
 
#define AR_PHY_PAPRD_TRAINER_CNTL1_CF_PAPRD_AGC2_SETTLING_S   1
 
#define AR_PHY_PAPRD_TRAINER_CNTL1_CF_PAPRD_IQCORR_ENABLE   0x00000100
 
#define AR_PHY_PAPRD_TRAINER_CNTL1_CF_PAPRD_IQCORR_ENABLE_S   8
 
#define AR_PHY_PAPRD_TRAINER_CNTL1_CF_PAPRD_RX_BB_GAIN_FORCE   0x00000200
 
#define AR_PHY_PAPRD_TRAINER_CNTL1_CF_PAPRD_RX_BB_GAIN_FORCE_S   9
 
#define AR_PHY_PAPRD_TRAINER_CNTL1_CF_PAPRD_TX_GAIN_FORCE   0x00000400
 
#define AR_PHY_PAPRD_TRAINER_CNTL1_CF_PAPRD_TX_GAIN_FORCE_S   10
 
#define AR_PHY_PAPRD_TRAINER_CNTL1_CF_PAPRD_LB_ENABLE   0x00000800
 
#define AR_PHY_PAPRD_TRAINER_CNTL1_CF_PAPRD_LB_ENABLE_S   11
 
#define AR_PHY_PAPRD_TRAINER_CNTL1_CF_PAPRD_LB_SKIP   0x0003f000
 
#define AR_PHY_PAPRD_TRAINER_CNTL1_CF_PAPRD_LB_SKIP_S   12
 
#define AR_PHY_PAPRD_TRAINER_CNTL2
 
#define AR_PHY_PAPRD_TRAINER_CNTL2_CF_PAPRD_INIT_RX_BB_GAIN   0xFFFFFFFF
 
#define AR_PHY_PAPRD_TRAINER_CNTL2_CF_PAPRD_INIT_RX_BB_GAIN_S   0
 
#define AR_PHY_PAPRD_TRAINER_CNTL3
 
#define AR_PHY_PAPRD_TRAINER_CNTL3_CF_PAPRD_ADC_DESIRED_SIZE   0x0000003f
 
#define AR_PHY_PAPRD_TRAINER_CNTL3_CF_PAPRD_ADC_DESIRED_SIZE_S   0
 
#define AR_PHY_PAPRD_TRAINER_CNTL3_CF_PAPRD_QUICK_DROP   0x00000fc0
 
#define AR_PHY_PAPRD_TRAINER_CNTL3_CF_PAPRD_QUICK_DROP_S   6
 
#define AR_PHY_PAPRD_TRAINER_CNTL3_CF_PAPRD_MIN_LOOPBACK_DEL   0x0001f000
 
#define AR_PHY_PAPRD_TRAINER_CNTL3_CF_PAPRD_MIN_LOOPBACK_DEL_S   12
 
#define AR_PHY_PAPRD_TRAINER_CNTL3_CF_PAPRD_NUM_CORR_STAGES   0x000e0000
 
#define AR_PHY_PAPRD_TRAINER_CNTL3_CF_PAPRD_NUM_CORR_STAGES_S   17
 
#define AR_PHY_PAPRD_TRAINER_CNTL3_CF_PAPRD_COARSE_CORR_LEN   0x00f00000
 
#define AR_PHY_PAPRD_TRAINER_CNTL3_CF_PAPRD_COARSE_CORR_LEN_S   20
 
#define AR_PHY_PAPRD_TRAINER_CNTL3_CF_PAPRD_FINE_CORR_LEN   0x0f000000
 
#define AR_PHY_PAPRD_TRAINER_CNTL3_CF_PAPRD_FINE_CORR_LEN_S   24
 
#define AR_PHY_PAPRD_TRAINER_CNTL3_CF_PAPRD_BBTXMIX_DISABLE   0x20000000
 
#define AR_PHY_PAPRD_TRAINER_CNTL3_CF_PAPRD_BBTXMIX_DISABLE_S   29
 
#define AR_PHY_PAPRD_TRAINER_CNTL4
 
#define AR_PHY_PAPRD_TRAINER_CNTL4_CF_PAPRD_NUM_TRAIN_SAMPLES   0x03ff0000
 
#define AR_PHY_PAPRD_TRAINER_CNTL4_CF_PAPRD_NUM_TRAIN_SAMPLES_S   16
 
#define AR_PHY_PAPRD_TRAINER_CNTL4_CF_PAPRD_SAFETY_DELTA   0x0000f000
 
#define AR_PHY_PAPRD_TRAINER_CNTL4_CF_PAPRD_SAFETY_DELTA_S   12
 
#define AR_PHY_PAPRD_TRAINER_CNTL4_CF_PAPRD_MIN_CORR   0x00000fff
 
#define AR_PHY_PAPRD_TRAINER_CNTL4_CF_PAPRD_MIN_CORR_S   0
 
#define AR_PHY_PAPRD_PRE_POST_SCALE_0_B0   (AR_CHAN_BASE + 0x100)
 
#define AR_PHY_PAPRD_PRE_POST_SCALE_1_B0   (AR_CHAN_BASE + 0x104)
 
#define AR_PHY_PAPRD_PRE_POST_SCALE_2_B0   (AR_CHAN_BASE + 0x108)
 
#define AR_PHY_PAPRD_PRE_POST_SCALE_3_B0   (AR_CHAN_BASE + 0x10c)
 
#define AR_PHY_PAPRD_PRE_POST_SCALE_4_B0   (AR_CHAN_BASE + 0x110)
 
#define AR_PHY_PAPRD_PRE_POST_SCALE_5_B0   (AR_CHAN_BASE + 0x114)
 
#define AR_PHY_PAPRD_PRE_POST_SCALE_6_B0   (AR_CHAN_BASE + 0x118)
 
#define AR_PHY_PAPRD_PRE_POST_SCALE_7_B0   (AR_CHAN_BASE + 0x11c)
 
#define AR_PHY_PAPRD_PRE_POST_SCALING   0x3FFFF
 
#define AR_PHY_PAPRD_PRE_POST_SCALING_S   0
 
#define AR_PHY_PAPRD_TRAINER_STAT1   (AR_SM_BASE + 0x4a0)
 
#define AR_PHY_PAPRD_TRAINER_STAT1_PAPRD_TRAIN_DONE   0x00000001
 
#define AR_PHY_PAPRD_TRAINER_STAT1_PAPRD_TRAIN_DONE_S   0
 
#define AR_PHY_PAPRD_TRAINER_STAT1_PAPRD_TRAIN_INCOMPLETE   0x00000002
 
#define AR_PHY_PAPRD_TRAINER_STAT1_PAPRD_TRAIN_INCOMPLETE_S   1
 
#define AR_PHY_PAPRD_TRAINER_STAT1_PAPRD_CORR_ERR   0x00000004
 
#define AR_PHY_PAPRD_TRAINER_STAT1_PAPRD_CORR_ERR_S   2
 
#define AR_PHY_PAPRD_TRAINER_STAT1_PAPRD_TRAIN_ACTIVE   0x00000008
 
#define AR_PHY_PAPRD_TRAINER_STAT1_PAPRD_TRAIN_ACTIVE_S   3
 
#define AR_PHY_PAPRD_TRAINER_STAT1_PAPRD_RX_GAIN_IDX   0x000001f0
 
#define AR_PHY_PAPRD_TRAINER_STAT1_PAPRD_RX_GAIN_IDX_S   4
 
#define AR_PHY_PAPRD_TRAINER_STAT1_PAPRD_AGC2_PWR   0x0001fe00
 
#define AR_PHY_PAPRD_TRAINER_STAT1_PAPRD_AGC2_PWR_S   9
 
#define AR_PHY_PAPRD_TRAINER_STAT2   (AR_SM_BASE + 0x4a4)
 
#define AR_PHY_PAPRD_TRAINER_STAT2_PAPRD_FINE_VAL   0x0000ffff
 
#define AR_PHY_PAPRD_TRAINER_STAT2_PAPRD_FINE_VAL_S   0
 
#define AR_PHY_PAPRD_TRAINER_STAT2_PAPRD_COARSE_IDX   0x001f0000
 
#define AR_PHY_PAPRD_TRAINER_STAT2_PAPRD_COARSE_IDX_S   16
 
#define AR_PHY_PAPRD_TRAINER_STAT2_PAPRD_FINE_IDX   0x00600000
 
#define AR_PHY_PAPRD_TRAINER_STAT2_PAPRD_FINE_IDX_S   21
 
#define AR_PHY_PAPRD_TRAINER_STAT3   (AR_SM_BASE + 0x4a8)
 
#define AR_PHY_PAPRD_TRAINER_STAT3_PAPRD_TRAIN_SAMPLES_CNT   0x000fffff
 
#define AR_PHY_PAPRD_TRAINER_STAT3_PAPRD_TRAIN_SAMPLES_CNT_S   0
 
#define AR_PHY_PAPRD_MEM_TAB_B0   (AR_CHAN_BASE + 0x120)
 
#define AR_PHY_PAPRD_MEM_TAB_B1   (AR_CHAN1_BASE + 0x120)
 
#define AR_PHY_PAPRD_MEM_TAB_B2   (AR_CHAN2_BASE + 0x120)
 
#define AR_PHY_PA_GAIN123_B0   (AR_CHAN_BASE + 0xf8)
 
#define AR_PHY_PA_GAIN123_B1   (AR_CHAN1_BASE + 0xf8)
 
#define AR_PHY_PA_GAIN123_B2   (AR_CHAN2_BASE + 0xf8)
 
#define AR_PHY_PA_GAIN123_PA_GAIN1   0x3FF
 
#define AR_PHY_PA_GAIN123_PA_GAIN1_S   0
 
#define AR_PHY_POWERTX_RATE5   (AR_SM_BASE + 0x1d0)
 
#define AR_PHY_POWERTX_RATE5_POWERTXHT20_0   0x3F
 
#define AR_PHY_POWERTX_RATE5_POWERTXHT20_0_S   0
 
#define AR_PHY_POWERTX_RATE6   (AR_SM_BASE + 0x1d4)
 
#define AR_PHY_POWERTX_RATE6_POWERTXHT20_5   0x3F00
 
#define AR_PHY_POWERTX_RATE6_POWERTXHT20_5_S   8
 
#define AR_PHY_POWERTX_RATE8   (AR_SM_BASE + 0x1dc)
 
#define AR_PHY_POWERTX_RATE8_POWERTXHT40_5   0x3F00
 
#define AR_PHY_POWERTX_RATE8_POWERTXHT40_5_S   8
 
#define AR_PHY_CL_TAB_CL_GAIN_MOD   0x1f
 
#define AR_PHY_CL_TAB_CL_GAIN_MOD_S   0
 
#define AR_BTCOEX_WL_LNADIV   0x1a64
 
#define AR_BTCOEX_WL_LNADIV_PREDICTED_PERIOD   0x00003FFF
 
#define AR_BTCOEX_WL_LNADIV_PREDICTED_PERIOD_S   0
 
#define AR_BTCOEX_WL_LNADIV_DPDT_IGNORE_PRIORITY   0x00004000
 
#define AR_BTCOEX_WL_LNADIV_DPDT_IGNORE_PRIORITY_S   14
 
#define AR_BTCOEX_WL_LNADIV_FORCE_ON   0x00008000
 
#define AR_BTCOEX_WL_LNADIV_FORCE_ON_S   15
 
#define AR_BTCOEX_WL_LNADIV_MODE_OPTION   0x00030000
 
#define AR_BTCOEX_WL_LNADIV_MODE_OPTION_S   16
 
#define AR_BTCOEX_WL_LNADIV_MODE   0x007c0000
 
#define AR_BTCOEX_WL_LNADIV_MODE_S   18
 
#define AR_BTCOEX_WL_LNADIV_ALLOWED_TX_ANTDIV_WL_TX_REQ   0x00800000
 
#define AR_BTCOEX_WL_LNADIV_ALLOWED_TX_ANTDIV_WL_TX_REQ_S   23
 
#define AR_BTCOEX_WL_LNADIV_DISABLE_TX_ANTDIV_ENABLE   0x01000000
 
#define AR_BTCOEX_WL_LNADIV_DISABLE_TX_ANTDIV_ENABLE_S   24
 
#define AR_BTCOEX_WL_LNADIV_CONTINUOUS_BT_ACTIVE_PROTECT   0x02000000
 
#define AR_BTCOEX_WL_LNADIV_CONTINUOUS_BT_ACTIVE_PROTECT_S   25
 
#define AR_BTCOEX_WL_LNADIV_BT_INACTIVE_THRESHOLD   0xFC000000
 
#define AR_BTCOEX_WL_LNADIV_BT_INACTIVE_THRESHOLD_S   26
 

Macro Definition Documentation

#define AR9280_PHY_CCA_THRESH62   0x000FF000

Definition at line 392 of file ar9003_phy.h.

#define AR9280_PHY_CCA_THRESH62_S   12

Definition at line 393 of file ar9003_phy.h.

#define AR9280_PHY_MINCCA_PWR   0x1FF00000

Definition at line 390 of file ar9003_phy.h.

#define AR9280_PHY_MINCCA_PWR_S   20

Definition at line 391 of file ar9003_phy.h.

#define AR9280_PHY_RXGAIN_TXRX_ATTEN   0x00003F80

Definition at line 374 of file ar9003_phy.h.

#define AR9280_PHY_RXGAIN_TXRX_ATTEN_S   7

Definition at line 375 of file ar9003_phy.h.

#define AR9280_PHY_RXGAIN_TXRX_MARGIN   0x001FC000

Definition at line 376 of file ar9003_phy.h.

#define AR9280_PHY_RXGAIN_TXRX_MARGIN_S   14

Definition at line 377 of file ar9003_phy.h.

#define AR_AGC1_BASE   0xae00

Definition at line 931 of file ar9003_phy.h.

#define AR_AGC2_BASE   0xbe00

Definition at line 1009 of file ar9003_phy.h.

#define AR_AGC3_BASE   0xce00

Definition at line 1046 of file ar9003_phy.h.

#define AR_AGC_BASE   0x9e00

Definition at line 260 of file ar9003_phy.h.

#define AR_ANT_DIV_CTRL_ALL   0x7e000000

Definition at line 277 of file ar9003_phy.h.

#define AR_ANT_DIV_CTRL_ALL_S   25

Definition at line 278 of file ar9003_phy.h.

#define AR_ANT_DIV_ENABLE   0x1000000

Definition at line 279 of file ar9003_phy.h.

#define AR_ANT_DIV_ENABLE_S   24

Definition at line 280 of file ar9003_phy.h.

#define AR_BBB_BASE   0x9d00

Definition at line 255 of file ar9003_phy.h.

#define AR_BTCOEX_WL_LNADIV   0x1a64

Definition at line 1268 of file ar9003_phy.h.

#define AR_BTCOEX_WL_LNADIV_ALLOWED_TX_ANTDIV_WL_TX_REQ   0x00800000

Definition at line 1279 of file ar9003_phy.h.

#define AR_BTCOEX_WL_LNADIV_ALLOWED_TX_ANTDIV_WL_TX_REQ_S   23

Definition at line 1280 of file ar9003_phy.h.

#define AR_BTCOEX_WL_LNADIV_BT_INACTIVE_THRESHOLD   0xFC000000

Definition at line 1285 of file ar9003_phy.h.

#define AR_BTCOEX_WL_LNADIV_BT_INACTIVE_THRESHOLD_S   26

Definition at line 1286 of file ar9003_phy.h.

#define AR_BTCOEX_WL_LNADIV_CONTINUOUS_BT_ACTIVE_PROTECT   0x02000000

Definition at line 1283 of file ar9003_phy.h.

#define AR_BTCOEX_WL_LNADIV_CONTINUOUS_BT_ACTIVE_PROTECT_S   25

Definition at line 1284 of file ar9003_phy.h.

#define AR_BTCOEX_WL_LNADIV_DISABLE_TX_ANTDIV_ENABLE   0x01000000

Definition at line 1281 of file ar9003_phy.h.

#define AR_BTCOEX_WL_LNADIV_DISABLE_TX_ANTDIV_ENABLE_S   24

Definition at line 1282 of file ar9003_phy.h.

#define AR_BTCOEX_WL_LNADIV_DPDT_IGNORE_PRIORITY   0x00004000

Definition at line 1271 of file ar9003_phy.h.

#define AR_BTCOEX_WL_LNADIV_DPDT_IGNORE_PRIORITY_S   14

Definition at line 1272 of file ar9003_phy.h.

#define AR_BTCOEX_WL_LNADIV_FORCE_ON   0x00008000

Definition at line 1273 of file ar9003_phy.h.

#define AR_BTCOEX_WL_LNADIV_FORCE_ON_S   15

Definition at line 1274 of file ar9003_phy.h.

#define AR_BTCOEX_WL_LNADIV_MODE   0x007c0000

Definition at line 1277 of file ar9003_phy.h.

#define AR_BTCOEX_WL_LNADIV_MODE_OPTION   0x00030000

Definition at line 1275 of file ar9003_phy.h.

#define AR_BTCOEX_WL_LNADIV_MODE_OPTION_S   16

Definition at line 1276 of file ar9003_phy.h.

#define AR_BTCOEX_WL_LNADIV_MODE_S   18

Definition at line 1278 of file ar9003_phy.h.

#define AR_BTCOEX_WL_LNADIV_PREDICTED_PERIOD   0x00003FFF

Definition at line 1269 of file ar9003_phy.h.

#define AR_BTCOEX_WL_LNADIV_PREDICTED_PERIOD_S   0

Definition at line 1270 of file ar9003_phy.h.

#define AR_CH0_THERM
Value:
(AR_SREV_9300(ah) ? 0x16290 : \
((AR_SREV_9485(ah) ? 0x1628c : 0x16294)))

Definition at line 667 of file ar9003_phy.h.

#define AR_CH0_THERM_XPABIASLVL_MSB   0x3

Definition at line 669 of file ar9003_phy.h.

#define AR_CH0_THERM_XPABIASLVL_MSB_S   0

Definition at line 670 of file ar9003_phy.h.

#define AR_CH0_THERM_XPASHORT2GND   0x4

Definition at line 671 of file ar9003_phy.h.

#define AR_CH0_THERM_XPASHORT2GND_S   2

Definition at line 672 of file ar9003_phy.h.

#define AR_CH0_TOP
Value:
(AR_SREV_9300(ah) ? 0x16288 : \
(((AR_SREV_9462(ah) || AR_SREV_9565(ah)) ? 0x1628c : 0x16280)))

Definition at line 662 of file ar9003_phy.h.

#define AR_CH0_TOP2
Value:
(AR_SREV_9300(ah) ? 0x1628c : \
(AR_SREV_9462(ah) ? 0x16290 : 0x16284))

Definition at line 707 of file ar9003_phy.h.

#define AR_CH0_TOP2_XPABIASLVL   0xf000

Definition at line 709 of file ar9003_phy.h.

#define AR_CH0_TOP2_XPABIASLVL_S   12

Definition at line 710 of file ar9003_phy.h.

#define AR_CH0_TOP_XPABIASLVL   (AR_SREV_9550(ah) ? 0x3c0 : 0x300)

Definition at line 664 of file ar9003_phy.h.

#define AR_CH0_TOP_XPABIASLVL_S   (AR_SREV_9550(ah) ? 6 : 8)

Definition at line 665 of file ar9003_phy.h.

#define AR_CH0_XTAL
Value:
(AR_SREV_9300(ah) ? 0x16294 : \
((AR_SREV_9462(ah) || AR_SREV_9565(ah)) ? 0x16298 : 0x16290))

Definition at line 712 of file ar9003_phy.h.

#define AR_CH0_XTAL_CAPINDAC   0x7f000000

Definition at line 714 of file ar9003_phy.h.

#define AR_CH0_XTAL_CAPINDAC_S   24

Definition at line 715 of file ar9003_phy.h.

#define AR_CH0_XTAL_CAPOUTDAC   0x00fe0000

Definition at line 716 of file ar9003_phy.h.

#define AR_CH0_XTAL_CAPOUTDAC_S   17

Definition at line 717 of file ar9003_phy.h.

#define AR_CHAN1_BASE   0xa800

Definition at line 912 of file ar9003_phy.h.

#define AR_CHAN2_BASE   0xb800

Definition at line 991 of file ar9003_phy.h.

#define AR_CHAN_BASE   0x9800

Definition at line 23 of file ar9003_phy.h.

#define AR_FAST_DIV_ENABLE   0x2000

Definition at line 315 of file ar9003_phy.h.

#define AR_FAST_DIV_ENABLE_S   13

Definition at line 316 of file ar9003_phy.h.

#define AR_GLB_BASE   0x20000

Definition at line 1051 of file ar9003_phy.h.

#define AR_GLB_GPIO_CONTROL   (AR_GLB_BASE)

Definition at line 1052 of file ar9003_phy.h.

#define AR_GLB_SCRATCH (   _ah)
Value:
(AR_SREV_9462_20(_ah) ? 0x4c : 0x50))

Definition at line 1054 of file ar9003_phy.h.

#define AR_GLB_STATUS   (AR_GLB_BASE + 0x48)

Definition at line 1056 of file ar9003_phy.h.

#define AR_MRC_BASE   0x9c00

Definition at line 214 of file ar9003_phy.h.

#define AR_PHY_20_40_DET_THR   (AR_AGC_BASE + 0x34)

Definition at line 305 of file ar9003_phy.h.

#define AR_PHY_65NM_CH0_BIAS1   0x160c0

Definition at line 655 of file ar9003_phy.h.

#define AR_PHY_65NM_CH0_BIAS2   0x160c4

Definition at line 656 of file ar9003_phy.h.

#define AR_PHY_65NM_CH0_BIAS4   0x160cc

Definition at line 657 of file ar9003_phy.h.

#define AR_PHY_65NM_CH0_RXTX1   0x16100

Definition at line 700 of file ar9003_phy.h.

#define AR_PHY_65NM_CH0_RXTX2   0x16104

Definition at line 701 of file ar9003_phy.h.

#define AR_PHY_65NM_CH0_RXTX4   0x1610c

Definition at line 658 of file ar9003_phy.h.

#define AR_PHY_65NM_CH0_RXTX4_THERM_ON   0x10000000

Definition at line 901 of file ar9003_phy.h.

#define AR_PHY_65NM_CH0_RXTX4_THERM_ON_OVR   0x20000000

Definition at line 903 of file ar9003_phy.h.

#define AR_PHY_65NM_CH0_RXTX4_THERM_ON_OVR_S   29

Definition at line 904 of file ar9003_phy.h.

#define AR_PHY_65NM_CH0_RXTX4_THERM_ON_S   28

Definition at line 902 of file ar9003_phy.h.

#define AR_PHY_65NM_CH0_SYNTH4   0x1608c

Definition at line 651 of file ar9003_phy.h.

#define AR_PHY_65NM_CH0_SYNTH7   0x16098

Definition at line 654 of file ar9003_phy.h.

#define AR_PHY_65NM_CH0_THERM
Value:
(AR_SREV_9300(ah) ? 0x16290 :\
((AR_SREV_9462(ah) || AR_SREV_9565(ah)) ? 0x16294 : 0x1628c))

Definition at line 690 of file ar9003_phy.h.

#define AR_PHY_65NM_CH0_THERM_LOCAL   0x80000000

Definition at line 693 of file ar9003_phy.h.

#define AR_PHY_65NM_CH0_THERM_LOCAL_S   31

Definition at line 694 of file ar9003_phy.h.

#define AR_PHY_65NM_CH0_THERM_SAR_ADC_OUT   0x0000ff00

Definition at line 697 of file ar9003_phy.h.

#define AR_PHY_65NM_CH0_THERM_SAR_ADC_OUT_S   8

Definition at line 698 of file ar9003_phy.h.

#define AR_PHY_65NM_CH0_THERM_START   0x20000000

Definition at line 695 of file ar9003_phy.h.

#define AR_PHY_65NM_CH0_THERM_START_S   29

Definition at line 696 of file ar9003_phy.h.

#define AR_PHY_65NM_CH0_TXRF3   0x16048

Definition at line 647 of file ar9003_phy.h.

#define AR_PHY_65NM_CH0_TXRF3_CAPDIV2G   0x0000001e

Definition at line 648 of file ar9003_phy.h.

#define AR_PHY_65NM_CH0_TXRF3_CAPDIV2G_S   1

Definition at line 649 of file ar9003_phy.h.

#define AR_PHY_65NM_CH1_RXTX1   0x16500

Definition at line 702 of file ar9003_phy.h.

#define AR_PHY_65NM_CH1_RXTX2   0x16504

Definition at line 703 of file ar9003_phy.h.

#define AR_PHY_65NM_CH1_RXTX4   0x1650c

Definition at line 659 of file ar9003_phy.h.

#define AR_PHY_65NM_CH2_RXTX1   0x16900

Definition at line 704 of file ar9003_phy.h.

#define AR_PHY_65NM_CH2_RXTX2   0x16904

Definition at line 705 of file ar9003_phy.h.

#define AR_PHY_65NM_CH2_RXTX4   0x1690c

Definition at line 660 of file ar9003_phy.h.

#define AR_PHY_65NM_RXTX4_XLNA_BIAS   0xC0000000

Definition at line 906 of file ar9003_phy.h.

#define AR_PHY_65NM_RXTX4_XLNA_BIAS_S   30

Definition at line 907 of file ar9003_phy.h.

#define AR_PHY_ACTIVE   (AR_SM_BASE + 0xc)

Definition at line 450 of file ar9003_phy.h.

#define AR_PHY_ACTIVE_DIS   0x00000000

Definition at line 787 of file ar9003_phy.h.

#define AR_PHY_ACTIVE_EN   0x00000001

Definition at line 786 of file ar9003_phy.h.

#define AR_PHY_ADC_GAIN_DC_CORR_0   (AR_CHAN_BASE + 0xd4)

Definition at line 80 of file ar9003_phy.h.

#define AR_PHY_ADC_GAIN_DC_CORR_0_9300_10   (AR_CHAN_BASE + 0xd4 - 0x10)

Definition at line 88 of file ar9003_phy.h.

#define AR_PHY_ADC_GAIN_DC_CORR_1   (AR_CHAN1_BASE + 0xd4)

Definition at line 916 of file ar9003_phy.h.

#define AR_PHY_ADC_GAIN_DC_CORR_2   (AR_CHAN2_BASE + 0xd4)

Definition at line 995 of file ar9003_phy.h.

#define AR_PHY_ADDAC_CLK_SEL   (AR_SM_BASE + 0x144)

Definition at line 478 of file ar9003_phy.h.

#define AR_PHY_ADDAC_PARA_CTL   (AR_SM_BASE + 0x150)

Definition at line 481 of file ar9003_phy.h.

#define AR_PHY_ADDAC_PARACTL_OFF_PWDADC   0x00008000

Definition at line 750 of file ar9003_phy.h.

#define AR_PHY_AGC   (AR_AGC_BASE + 0x14)

Definition at line 267 of file ar9003_phy.h.

#define AR_PHY_AGC_COARSE_HIGH   0x003F8000

Definition at line 412 of file ar9003_phy.h.

#define AR_PHY_AGC_COARSE_HIGH_S   15

Definition at line 413 of file ar9003_phy.h.

#define AR_PHY_AGC_COARSE_LOW   0x00007F80

Definition at line 410 of file ar9003_phy.h.

#define AR_PHY_AGC_COARSE_LOW_S   7

Definition at line 411 of file ar9003_phy.h.

#define AR_PHY_AGC_COARSE_PWR_CONST   0x0000007F

Definition at line 414 of file ar9003_phy.h.

#define AR_PHY_AGC_COARSE_PWR_CONST_S   0

Definition at line 415 of file ar9003_phy.h.

#define AR_PHY_AGC_QUICK_DROP   0x03c00000

Definition at line 408 of file ar9003_phy.h.

#define AR_PHY_AGC_QUICK_DROP_S   22

Definition at line 409 of file ar9003_phy.h.

#define AR_PHY_AIC_CTRL_0_B0   (AR_SM_BASE + 0x4b0)

Definition at line 638 of file ar9003_phy.h.

#define AR_PHY_AIC_CTRL_0_B1   (AR_SM1_BASE + 0x4b0)

Definition at line 971 of file ar9003_phy.h.

#define AR_PHY_AIC_CTRL_1_B0   (AR_SM_BASE + 0x4b4)

Definition at line 639 of file ar9003_phy.h.

#define AR_PHY_AIC_CTRL_1_B1   (AR_SM1_BASE + 0x4b4)

Definition at line 972 of file ar9003_phy.h.

#define AR_PHY_AIC_CTRL_2_B0   (AR_SM_BASE + 0x4b8)

Definition at line 640 of file ar9003_phy.h.

#define AR_PHY_AIC_CTRL_2_B1   (AR_SM1_BASE + 0x4b8)

Definition at line 973 of file ar9003_phy.h.

#define AR_PHY_AIC_CTRL_3_B0   (AR_SM_BASE + 0x4bc)

Definition at line 641 of file ar9003_phy.h.

#define AR_PHY_AIC_CTRL_4_B0   (AR_SM_BASE + 0x4c0)

Definition at line 644 of file ar9003_phy.h.

#define AR_PHY_AIC_CTRL_4_B1   (AR_SM1_BASE + 0x4c0)

Definition at line 978 of file ar9003_phy.h.

#define AR_PHY_AIC_SRAM_ADDR_B1   (AR_SM1_BASE + 0x5f0)

Definition at line 981 of file ar9003_phy.h.

#define AR_PHY_AIC_SRAM_DATA_B1   (AR_SM1_BASE + 0x5f4)

Definition at line 982 of file ar9003_phy.h.

#define AR_PHY_AIC_STAT_0_B0   (AR_SM_BASE + 0x4c4))

Definition at line 642 of file ar9003_phy.h.

#define AR_PHY_AIC_STAT_0_B1
Value:
(AR_SM1_BASE + (AR_SREV_9462_10(ah) ? \
0x4c0 : 0x4c4))

Definition at line 974 of file ar9003_phy.h.

#define AR_PHY_AIC_STAT_1_B0   (AR_SM_BASE + 0x4c8))

Definition at line 643 of file ar9003_phy.h.

#define AR_PHY_AIC_STAT_1_B1
Value:
(AR_SM1_BASE + (AR_SREV_9462_10(ah) ? \
0x4c4 : 0x4c8))

Definition at line 976 of file ar9003_phy.h.

#define AR_PHY_AIC_STAT_2_B0   (AR_SM_BASE + 0x4cc)

Definition at line 645 of file ar9003_phy.h.

#define AR_PHY_AIC_STAT_2_B1   (AR_SM1_BASE + 0x4cc)

Definition at line 979 of file ar9003_phy.h.

#define AR_PHY_ANALOG_SWAP   (AR_SM_BASE + 0x14c)

Definition at line 480 of file ar9003_phy.h.

#define AR_PHY_ANT_DIV_ALT_GAINTB   0x20000000

Definition at line 293 of file ar9003_phy.h.

#define AR_PHY_ANT_DIV_ALT_GAINTB_S   29

Definition at line 294 of file ar9003_phy.h.

#define AR_PHY_ANT_DIV_ALT_LNACONF   0x06000000

Definition at line 289 of file ar9003_phy.h.

#define AR_PHY_ANT_DIV_ALT_LNACONF_S   25

Definition at line 290 of file ar9003_phy.h.

#define AR_PHY_ANT_DIV_LNA1   0x2

Definition at line 300 of file ar9003_phy.h.

#define AR_PHY_ANT_DIV_LNA1_MINUS_LNA2   0x0

Definition at line 298 of file ar9003_phy.h.

#define AR_PHY_ANT_DIV_LNA1_PLUS_LNA2   0x3

Definition at line 301 of file ar9003_phy.h.

#define AR_PHY_ANT_DIV_LNA2   0x1

Definition at line 299 of file ar9003_phy.h.

#define AR_PHY_ANT_DIV_LNADIV   0x01000000

Definition at line 287 of file ar9003_phy.h.

#define AR_PHY_ANT_DIV_LNADIV_S   24

Definition at line 288 of file ar9003_phy.h.

#define AR_PHY_ANT_DIV_MAIN_GAINTB   0x40000000

Definition at line 295 of file ar9003_phy.h.

#define AR_PHY_ANT_DIV_MAIN_GAINTB_S   30

Definition at line 296 of file ar9003_phy.h.

#define AR_PHY_ANT_DIV_MAIN_LNACONF   0x18000000

Definition at line 291 of file ar9003_phy.h.

#define AR_PHY_ANT_DIV_MAIN_LNACONF_S   27

Definition at line 292 of file ar9003_phy.h.

#define AR_PHY_ANT_FAST_DIV_BIAS   0x00007e00

Definition at line 283 of file ar9003_phy.h.

#define AR_PHY_ANT_FAST_DIV_BIAS_S   9

Definition at line 284 of file ar9003_phy.h.

#define AR_PHY_ANT_SW_RX_PROT   0x00800000

Definition at line 285 of file ar9003_phy.h.

#define AR_PHY_ANT_SW_RX_PROT_S   23

Definition at line 286 of file ar9003_phy.h.

#define AR_PHY_BB_THERM_ADC_1   (AR_SM_BASE + 0x248)

Definition at line 621 of file ar9003_phy.h.

#define AR_PHY_BB_THERM_ADC_1_INIT_THERM   0x000000ff

Definition at line 622 of file ar9003_phy.h.

#define AR_PHY_BB_THERM_ADC_1_INIT_THERM_S   0

Definition at line 623 of file ar9003_phy.h.

#define AR_PHY_BB_THERM_ADC_3   (AR_SM_BASE + 0x250)

Definition at line 625 of file ar9003_phy.h.

#define AR_PHY_BB_THERM_ADC_3_THERM_ADC_OFFSET   0x000000ff

Definition at line 628 of file ar9003_phy.h.

#define AR_PHY_BB_THERM_ADC_3_THERM_ADC_OFFSET_S   0

Definition at line 629 of file ar9003_phy.h.

#define AR_PHY_BB_THERM_ADC_3_THERM_ADC_SCALE_GAIN   0x0001ff00

Definition at line 626 of file ar9003_phy.h.

#define AR_PHY_BB_THERM_ADC_3_THERM_ADC_SCALE_GAIN_S   8

Definition at line 627 of file ar9003_phy.h.

#define AR_PHY_BB_THERM_ADC_4   (AR_SM_BASE + 0x254)

Definition at line 631 of file ar9003_phy.h.

#define AR_PHY_BB_THERM_ADC_4_LATEST_THERM_VALUE   0x000000ff

Definition at line 632 of file ar9003_phy.h.

#define AR_PHY_BB_THERM_ADC_4_LATEST_THERM_VALUE_S   0

Definition at line 633 of file ar9003_phy.h.

#define AR_PHY_BB_THERM_ADC_4_LATEST_VOLT_VALUE   0x0000ff00

Definition at line 634 of file ar9003_phy.h.

#define AR_PHY_BB_THERM_ADC_4_LATEST_VOLT_VALUE_S   8

Definition at line 635 of file ar9003_phy.h.

#define AR_PHY_CAL_CHAINMASK   (AR_SM_BASE + 0xc0)

Definition at line 470 of file ar9003_phy.h.

#define AR_PHY_CAL_MEAS_0 (   _i)    (AR_PHY_IQ_ADC_MEAS_0_B0 + (AR_PHY_CHAIN_OFFSET * (_i)))

Definition at line 1072 of file ar9003_phy.h.

#define AR_PHY_CAL_MEAS_0_9300_10 (   _i)    (AR_PHY_IQ_ADC_MEAS_0_B0_9300_10 + (AR_PHY_CHAIN_OFFSET * (_i)))

Definition at line 1076 of file ar9003_phy.h.

#define AR_PHY_CAL_MEAS_1 (   _i)    (AR_PHY_IQ_ADC_MEAS_1_B0 + (AR_PHY_CHAIN_OFFSET * (_i)))

Definition at line 1073 of file ar9003_phy.h.

#define AR_PHY_CAL_MEAS_1_9300_10 (   _i)    (AR_PHY_IQ_ADC_MEAS_1_B0_9300_10 + (AR_PHY_CHAIN_OFFSET * (_i)))

Definition at line 1077 of file ar9003_phy.h.

#define AR_PHY_CAL_MEAS_2 (   _i)    (AR_PHY_IQ_ADC_MEAS_2_B0 + (AR_PHY_CHAIN_OFFSET * (_i)))

Definition at line 1074 of file ar9003_phy.h.

#define AR_PHY_CAL_MEAS_2_9300_10 (   _i)    (AR_PHY_IQ_ADC_MEAS_2_B0_9300_10 + (AR_PHY_CHAIN_OFFSET * (_i)))

Definition at line 1078 of file ar9003_phy.h.

#define AR_PHY_CAL_MEAS_3 (   _i)    (AR_PHY_IQ_ADC_MEAS_3_B0 + (AR_PHY_CHAIN_OFFSET * (_i)))

Definition at line 1075 of file ar9003_phy.h.

#define AR_PHY_CAL_MEAS_3_9300_10 (   _i)    (AR_PHY_IQ_ADC_MEAS_3_B0_9300_10 + (AR_PHY_CHAIN_OFFSET * (_i)))

Definition at line 1079 of file ar9003_phy.h.

#define AR_PHY_CALIBRATED_GAINS_0   0x3e

Definition at line 893 of file ar9003_phy.h.

#define AR_PHY_CALIBRATED_GAINS_0_S   1

Definition at line 894 of file ar9003_phy.h.

#define AR_PHY_CALMODE   (AR_SM_BASE + 0xc8)

Definition at line 471 of file ar9003_phy.h.

#define AR_PHY_CALMODE_ADC_DC_INIT   0x00000003

Definition at line 775 of file ar9003_phy.h.

#define AR_PHY_CALMODE_ADC_DC_PER   0x00000002

Definition at line 774 of file ar9003_phy.h.

#define AR_PHY_CALMODE_ADC_GAIN   0x00000001

Definition at line 773 of file ar9003_phy.h.

#define AR_PHY_CALMODE_IQ   0x00000000

Definition at line 772 of file ar9003_phy.h.

#define AR_PHY_CCA_0   (AR_AGC_BASE + 0x1c)

Definition at line 269 of file ar9003_phy.h.

#define AR_PHY_CCA_1   (AR_AGC1_BASE + 0x1c)

Definition at line 935 of file ar9003_phy.h.

#define AR_PHY_CCA_2   (AR_AGC2_BASE + 0x1c)

Definition at line 1013 of file ar9003_phy.h.

#define AR_PHY_CCA_CTRL_1   (AR_AGC1_BASE + 0x20)

Definition at line 936 of file ar9003_phy.h.

#define AR_PHY_CCA_CTRL_2   (AR_AGC2_BASE + 0x20)

Definition at line 1014 of file ar9003_phy.h.

#define AR_PHY_CCA_MAX_GOOD_VAL_9300_2GHZ   -95

Definition at line 343 of file ar9003_phy.h.

#define AR_PHY_CCA_MAX_GOOD_VAL_9300_5GHZ   -100

Definition at line 344 of file ar9003_phy.h.

#define AR_PHY_CCA_MIN_GOOD_VAL_9300_2GHZ   -125

Definition at line 341 of file ar9003_phy.h.

#define AR_PHY_CCA_MIN_GOOD_VAL_9300_5GHZ   -125

Definition at line 342 of file ar9003_phy.h.

#define AR_PHY_CCA_MIN_GOOD_VAL_9462_2GHZ   -127

Definition at line 347 of file ar9003_phy.h.

#define AR_PHY_CCA_MIN_GOOD_VAL_9462_5GHZ   -127

Definition at line 349 of file ar9003_phy.h.

#define AR_PHY_CCA_NOM_VAL_9300_2GHZ   -110

Definition at line 339 of file ar9003_phy.h.

#define AR_PHY_CCA_NOM_VAL_9300_5GHZ   -115

Definition at line 340 of file ar9003_phy.h.

#define AR_PHY_CCA_NOM_VAL_9330_2GHZ   -118

Definition at line 351 of file ar9003_phy.h.

#define AR_PHY_CCA_NOM_VAL_9462_2GHZ   -127

Definition at line 346 of file ar9003_phy.h.

#define AR_PHY_CCA_NOM_VAL_9462_5GHZ   -127

Definition at line 348 of file ar9003_phy.h.

#define AR_PHY_CCA_THRESH62   0x0007F000

Definition at line 388 of file ar9003_phy.h.

#define AR_PHY_CCA_THRESH62_S   12

Definition at line 389 of file ar9003_phy.h.

#define AR_PHY_CCK_DETECT   (AR_AGC_BASE + 0x1c0)

Definition at line 314 of file ar9003_phy.h.

#define AR_PHY_CCK_DETECT_ANT_SWITCH_TIME   0x00001FC0

Definition at line 398 of file ar9003_phy.h.

#define AR_PHY_CCK_DETECT_ANT_SWITCH_TIME_S   6

Definition at line 399 of file ar9003_phy.h.

#define AR_PHY_CCK_DETECT_BB_ENABLE_ANT_FAST_DIV   0x2000

Definition at line 400 of file ar9003_phy.h.

#define AR_PHY_CCK_DETECT_WEAK_SIG_THR_CCK   0x0000003F

Definition at line 396 of file ar9003_phy.h.

#define AR_PHY_CCK_DETECT_WEAK_SIG_THR_CCK_S   0

Definition at line 397 of file ar9003_phy.h.

#define AR_PHY_CCK_SPUR_MIT   (AR_AGC_BASE + 0x1cc)

Definition at line 321 of file ar9003_phy.h.

#define AR_PHY_CCK_SPUR_MIT_CCK_SPUR_FREQ   0x1ffffe00

Definition at line 328 of file ar9003_phy.h.

#define AR_PHY_CCK_SPUR_MIT_CCK_SPUR_FREQ_S   9

Definition at line 329 of file ar9003_phy.h.

#define AR_PHY_CCK_SPUR_MIT_SPUR_FILTER_TYPE   0x60000000

Definition at line 324 of file ar9003_phy.h.

#define AR_PHY_CCK_SPUR_MIT_SPUR_FILTER_TYPE_S   29

Definition at line 325 of file ar9003_phy.h.

#define AR_PHY_CCK_SPUR_MIT_SPUR_RSSI_THR   0x000001fe

Definition at line 322 of file ar9003_phy.h.

#define AR_PHY_CCK_SPUR_MIT_SPUR_RSSI_THR_S   1

Definition at line 323 of file ar9003_phy.h.

#define AR_PHY_CCK_SPUR_MIT_USE_CCK_SPUR_MIT   0x00000001

Definition at line 326 of file ar9003_phy.h.

#define AR_PHY_CCK_SPUR_MIT_USE_CCK_SPUR_MIT_S   0

Definition at line 327 of file ar9003_phy.h.

#define AR_PHY_CCK_TX_CTRL   (AR_SM_BASE + 0x194)

Definition at line 531 of file ar9003_phy.h.

#define AR_PHY_CCK_TX_CTRL_JAPAN   0x00000010

Definition at line 849 of file ar9003_phy.h.

#define AR_PHY_CH1_EXT_MINCCA_PWR   0x01FF0000

Definition at line 925 of file ar9003_phy.h.

#define AR_PHY_CH1_EXT_MINCCA_PWR_S   16

Definition at line 926 of file ar9003_phy.h.

#define AR_PHY_CH1_MINCCA_PWR   0x1FF00000

Definition at line 944 of file ar9003_phy.h.

#define AR_PHY_CH1_MINCCA_PWR_S   20

Definition at line 945 of file ar9003_phy.h.

#define AR_PHY_CH2_EXT_MINCCA_PWR   0x01FF0000

Definition at line 1004 of file ar9003_phy.h.

#define AR_PHY_CH2_EXT_MINCCA_PWR_S   16

Definition at line 1005 of file ar9003_phy.h.

#define AR_PHY_CH2_MINCCA_PWR   0x1FF00000

Definition at line 1020 of file ar9003_phy.h.

#define AR_PHY_CH2_MINCCA_PWR_S   20

Definition at line 1021 of file ar9003_phy.h.

#define AR_PHY_CHAIN_OFFSET   (AR_CHAN1_BASE - AR_CHAN_BASE)

Definition at line 1061 of file ar9003_phy.h.

#define AR_PHY_CHAN_INFO_GAIN_0   (AR_SM_BASE + 0x180)

Definition at line 529 of file ar9003_phy.h.

#define AR_PHY_CHAN_INFO_GAIN_1   (AR_SM1_BASE + 0x180)

Definition at line 956 of file ar9003_phy.h.

#define AR_PHY_CHAN_INFO_GAIN_2   (AR_SM2_BASE + 0x180)

Definition at line 1032 of file ar9003_phy.h.

#define AR_PHY_CHAN_INFO_GAIN_DIFF_PPM_MASK   0xFFF

Definition at line 844 of file ar9003_phy.h.

#define AR_PHY_CHAN_INFO_GAIN_DIFF_PPM_SIGNED_BIT   0x800

Definition at line 845 of file ar9003_phy.h.

#define AR_PHY_CHAN_INFO_GAIN_DIFF_UPPER_LIMIT   320

Definition at line 846 of file ar9003_phy.h.

#define AR_PHY_CHAN_INFO_MEMORY   (AR_SM_BASE + 0x170)

Definition at line 522 of file ar9003_phy.h.

#define AR_PHY_CHAN_INFO_MEMORY_CAPTURE_MASK   0x0001

Definition at line 847 of file ar9003_phy.h.

#define AR_PHY_CHAN_INFO_MEMORY_CHANINFOMEM_S2_READ   0x00000008

Definition at line 523 of file ar9003_phy.h.

#define AR_PHY_CHAN_INFO_MEMORY_CHANINFOMEM_S2_READ_S   3

Definition at line 524 of file ar9003_phy.h.

#define AR_PHY_CHAN_INFO_TAB_0   (AR_CHAN_BASE + 0x300)

Definition at line 97 of file ar9003_phy.h.

#define AR_PHY_CHAN_INFO_TAB_1   (AR_CHAN1_BASE + 0x300)

Definition at line 919 of file ar9003_phy.h.

#define AR_PHY_CHAN_INFO_TAB_2   (AR_CHAN2_BASE + 0x300)

Definition at line 998 of file ar9003_phy.h.

#define AR_PHY_CHAN_INFO_TAB_S2_READ   0x00000008

Definition at line 199 of file ar9003_phy.h.

#define AR_PHY_CHAN_INFO_TAB_S2_READ_S   3

Definition at line 200 of file ar9003_phy.h.

#define AR_PHY_CHAN_SPUR_MASK   (AR_MRC_BASE + 0x10)

Definition at line 220 of file ar9003_phy.h.

#define AR_PHY_CHAN_SPUR_MASK_CF_CHAN_MASK_A   0x1F

Definition at line 237 of file ar9003_phy.h.

#define AR_PHY_CHAN_SPUR_MASK_CF_CHAN_MASK_A_S   0

Definition at line 238 of file ar9003_phy.h.

#define AR_PHY_CHAN_SPUR_MASK_CF_CHAN_MASK_B   0x0001F000

Definition at line 241 of file ar9003_phy.h.

#define AR_PHY_CHAN_SPUR_MASK_CF_CHAN_MASK_B_S   12

Definition at line 242 of file ar9003_phy.h.

#define AR_PHY_CHAN_SPUR_MASK_CF_CHAN_MASK_IDX_A   0x00000FE0

Definition at line 235 of file ar9003_phy.h.

#define AR_PHY_CHAN_SPUR_MASK_CF_CHAN_MASK_IDX_A_S   5

Definition at line 236 of file ar9003_phy.h.

#define AR_PHY_CHAN_SPUR_MASK_CF_CHAN_MASK_IDX_B   0x00FE0000

Definition at line 239 of file ar9003_phy.h.

#define AR_PHY_CHAN_SPUR_MASK_CF_CHAN_MASK_IDX_B_S   17

Definition at line 240 of file ar9003_phy.h.

#define AR_PHY_CHAN_STATUS   (AR_SM_BASE + 0x16c)

Definition at line 520 of file ar9003_phy.h.

#define AR_PHY_CHANNEL_STATUS_RX_CLEAR   0x00000004

Definition at line 870 of file ar9003_phy.h.

#define AR_PHY_CHNINFO_FINETIM   (AR_SM_BASE + 0x17c)

Definition at line 528 of file ar9003_phy.h.

#define AR_PHY_CHNINFO_GAINDIFF   (AR_SM_BASE + 0x178)

Definition at line 527 of file ar9003_phy.h.

#define AR_PHY_CHNINFO_NOISEPWR   (AR_SM_BASE + 0x174)

Definition at line 526 of file ar9003_phy.h.

#define AR_PHY_CL_CAL_CTL   (AR_SM_BASE + 0xd8)

Definition at line 475 of file ar9003_phy.h.

#define AR_PHY_CL_CAL_ENABLE   0x00000002

Definition at line 745 of file ar9003_phy.h.

#define AR_PHY_CL_TAB_0   (AR_SM_BASE + 0x100)

Definition at line 476 of file ar9003_phy.h.

#define AR_PHY_CL_TAB_1   (AR_SM1_BASE + 0x100)

Definition at line 955 of file ar9003_phy.h.

#define AR_PHY_CL_TAB_2   (AR_SM2_BASE + 0x100)

Definition at line 1031 of file ar9003_phy.h.

#define AR_PHY_CL_TAB_CL_GAIN_MOD   0x1f

Definition at line 1265 of file ar9003_phy.h.

#define AR_PHY_CL_TAB_CL_GAIN_MOD_S   0

Definition at line 1266 of file ar9003_phy.h.

#define AR_PHY_D2_CHIP_ID   (AR_SM_BASE + 0x0)

Definition at line 447 of file ar9003_phy.h.

#define AR_PHY_DAG_CTRLCCK   (AR_AGC_BASE + 0x1c4)

Definition at line 318 of file ar9003_phy.h.

#define AR_PHY_DAG_CTRLCCK_EN_RSSI_THR   0x00000200

Definition at line 402 of file ar9003_phy.h.

#define AR_PHY_DAG_CTRLCCK_EN_RSSI_THR_S   9

Definition at line 403 of file ar9003_phy.h.

#define AR_PHY_DAG_CTRLCCK_RSSI_THR   0x0001FC00

Definition at line 404 of file ar9003_phy.h.

#define AR_PHY_DAG_CTRLCCK_RSSI_THR_S   10

Definition at line 405 of file ar9003_phy.h.

#define AR_PHY_DC_RESTART_DIS   0x40000000

Definition at line 432 of file ar9003_phy.h.

#define AR_PHY_DESIRED_SZ   (AR_AGC_BASE + 0xc)

Definition at line 265 of file ar9003_phy.h.

#define AR_PHY_DESIRED_SZ_ADC   0x000000FF

Definition at line 380 of file ar9003_phy.h.

#define AR_PHY_DESIRED_SZ_ADC_S   0

Definition at line 381 of file ar9003_phy.h.

#define AR_PHY_DESIRED_SZ_PGA   0x0000FF00

Definition at line 382 of file ar9003_phy.h.

#define AR_PHY_DESIRED_SZ_PGA_S   8

Definition at line 383 of file ar9003_phy.h.

#define AR_PHY_DESIRED_SZ_TOT_DES   0x0FF00000

Definition at line 384 of file ar9003_phy.h.

#define AR_PHY_DESIRED_SZ_TOT_DES_S   20

Definition at line 385 of file ar9003_phy.h.

#define AR_PHY_DFT_TONE_CTL_0   (AR_SM_BASE + 0xd4)

Definition at line 474 of file ar9003_phy.h.

#define AR_PHY_DFT_TONE_CTL_1   (AR_SM1_BASE + 0xd4)

Definition at line 954 of file ar9003_phy.h.

#define AR_PHY_DFT_TONE_CTL_2   (AR_SM2_BASE + 0xd4)

Definition at line 1030 of file ar9003_phy.h.

#define AR_PHY_ECO_CTRL   (AR_SM_BASE + 0x5dc)

Definition at line 619 of file ar9003_phy.h.

#define AR_PHY_EXT_ATTEN_CTL (   _i)    (AR_PHY_EXT_ATTEN_CTL_0 + (AR_PHY_CHAIN_OFFSET * (_i)))

Definition at line 1066 of file ar9003_phy.h.

#define AR_PHY_EXT_ATTEN_CTL_0   (AR_AGC_BASE + 0x18)

Definition at line 268 of file ar9003_phy.h.

#define AR_PHY_EXT_ATTEN_CTL_1   (AR_AGC1_BASE + 0x18)

Definition at line 934 of file ar9003_phy.h.

#define AR_PHY_EXT_ATTEN_CTL_2   (AR_AGC2_BASE + 0x18)

Definition at line 1012 of file ar9003_phy.h.

#define AR_PHY_EXT_ATTEN_CTL_BSW_ATTEN   0x0000001F

Definition at line 360 of file ar9003_phy.h.

#define AR_PHY_EXT_ATTEN_CTL_BSW_ATTEN_S   0

Definition at line 361 of file ar9003_phy.h.

#define AR_PHY_EXT_ATTEN_CTL_BSW_MARGIN   0x00003C00

Definition at line 358 of file ar9003_phy.h.

#define AR_PHY_EXT_ATTEN_CTL_BSW_MARGIN_S   10

Definition at line 359 of file ar9003_phy.h.

#define AR_PHY_EXT_ATTEN_CTL_RXTX_MARGIN   0x00FC0000

Definition at line 356 of file ar9003_phy.h.

#define AR_PHY_EXT_ATTEN_CTL_RXTX_MARGIN_S   18

Definition at line 357 of file ar9003_phy.h.

#define AR_PHY_EXT_ATTEN_CTL_XATTEN1_DB   0x0000003F

Definition at line 368 of file ar9003_phy.h.

#define AR_PHY_EXT_ATTEN_CTL_XATTEN1_DB_S   0

Definition at line 369 of file ar9003_phy.h.

#define AR_PHY_EXT_ATTEN_CTL_XATTEN1_MARGIN   0x0001F000

Definition at line 364 of file ar9003_phy.h.

#define AR_PHY_EXT_ATTEN_CTL_XATTEN1_MARGIN_S   12

Definition at line 365 of file ar9003_phy.h.

#define AR_PHY_EXT_ATTEN_CTL_XATTEN2_DB   0x00000FC0

Definition at line 366 of file ar9003_phy.h.

#define AR_PHY_EXT_ATTEN_CTL_XATTEN2_DB_S   6

Definition at line 367 of file ar9003_phy.h.

#define AR_PHY_EXT_ATTEN_CTL_XATTEN2_MARGIN   0x003E0000

Definition at line 362 of file ar9003_phy.h.

#define AR_PHY_EXT_ATTEN_CTL_XATTEN2_MARGIN_S   17

Definition at line 363 of file ar9003_phy.h.

#define AR_PHY_EXT_CCA   (AR_CHAN_BASE + 0x30)

Definition at line 72 of file ar9003_phy.h.

#define AR_PHY_EXT_CCA0   (AR_AGC_BASE + 0x20)

Definition at line 270 of file ar9003_phy.h.

#define AR_PHY_EXT_CCA0_THRESH62   0x000000FF

Definition at line 394 of file ar9003_phy.h.

#define AR_PHY_EXT_CCA0_THRESH62_S   0

Definition at line 395 of file ar9003_phy.h.

#define AR_PHY_EXT_CCA_1   (AR_CHAN1_BASE + 0x30)

Definition at line 914 of file ar9003_phy.h.

#define AR_PHY_EXT_CCA_2   (AR_CHAN2_BASE + 0x30)

Definition at line 993 of file ar9003_phy.h.

#define AR_PHY_EXT_CCA_THRESH62   0x007F0000

Definition at line 148 of file ar9003_phy.h.

#define AR_PHY_EXT_CCA_THRESH62_S   16

Definition at line 149 of file ar9003_phy.h.

#define AR_PHY_EXT_CHN_WIN   (AR_AGC_BASE + 0x30)

Definition at line 304 of file ar9003_phy.h.

#define AR_PHY_EXT_CYCPWR_THR1   0x0000FE00L

Definition at line 152 of file ar9003_phy.h.

#define AR_PHY_EXT_CYCPWR_THR1_S   9

Definition at line 153 of file ar9003_phy.h.

#define AR_PHY_EXT_MINCCA_PWR   0x01FF0000

Definition at line 150 of file ar9003_phy.h.

#define AR_PHY_EXT_MINCCA_PWR_S   16

Definition at line 151 of file ar9003_phy.h.

#define AR_PHY_EXTCHN_PWRTHR1   (AR_AGC_BASE + 0x2c)

Definition at line 303 of file ar9003_phy.h.

#define AR_PHY_FCAL20_CAP_STATUS_0   0x01f00000

Definition at line 752 of file ar9003_phy.h.

#define AR_PHY_FCAL20_CAP_STATUS_0_S   20

Definition at line 753 of file ar9003_phy.h.

#define AR_PHY_FCAL_1   (AR_SM_BASE + 0xcc)

Definition at line 472 of file ar9003_phy.h.

#define AR_PHY_FCAL_2_0   (AR_SM_BASE + 0xd0)

Definition at line 473 of file ar9003_phy.h.

#define AR_PHY_FCAL_2_1   (AR_SM1_BASE + 0xd0)

Definition at line 953 of file ar9003_phy.h.

#define AR_PHY_FCAL_2_2   (AR_SM2_BASE + 0xd0)

Definition at line 1029 of file ar9003_phy.h.

#define AR_PHY_FIND_SIG   (AR_AGC_BASE + 0x10)

Definition at line 266 of file ar9003_phy.h.

#define AR_PHY_FIND_SIG_FIRPWR   0x03FC0000

Definition at line 418 of file ar9003_phy.h.

#define AR_PHY_FIND_SIG_FIRPWR_S   18

Definition at line 419 of file ar9003_phy.h.

#define AR_PHY_FIND_SIG_FIRPWR_SIGN_BIT   25

Definition at line 420 of file ar9003_phy.h.

#define AR_PHY_FIND_SIG_FIRSTEP   0x0003F000

Definition at line 416 of file ar9003_phy.h.

#define AR_PHY_FIND_SIG_FIRSTEP_S   12

Definition at line 417 of file ar9003_phy.h.

#define AR_PHY_FIND_SIG_LOW   (AR_CHAN_BASE + 0x20)

Definition at line 66 of file ar9003_phy.h.

#define AR_PHY_FIND_SIG_LOW_FIRPWR   (0x7f << 12)

Definition at line 193 of file ar9003_phy.h.

#define AR_PHY_FIND_SIG_LOW_FIRPWR_S   12

Definition at line 194 of file ar9003_phy.h.

#define AR_PHY_FIND_SIG_LOW_FIRPWR_SIGN_BIT   19

Definition at line 195 of file ar9003_phy.h.

#define AR_PHY_FIND_SIG_LOW_FIRSTEP_LOW   (0x3f << 6)

Definition at line 191 of file ar9003_phy.h.

#define AR_PHY_FIND_SIG_LOW_FIRSTEP_LOW_S   6

Definition at line 192 of file ar9003_phy.h.

#define AR_PHY_FIND_SIG_LOW_RELSTEP   0x1f

Definition at line 196 of file ar9003_phy.h.

#define AR_PHY_FIND_SIG_LOW_RELSTEP_S   0

Definition at line 197 of file ar9003_phy.h.

#define AR_PHY_FIND_SIG_LOW_RELSTEP_SIGN_BIT   5

Definition at line 198 of file ar9003_phy.h.

#define AR_PHY_FIND_SIG_RELPWR   (0x1f << 6)

Definition at line 421 of file ar9003_phy.h.

#define AR_PHY_FIND_SIG_RELPWR_S   6

Definition at line 422 of file ar9003_phy.h.

#define AR_PHY_FIND_SIG_RELPWR_SIGN_BIT   11

Definition at line 423 of file ar9003_phy.h.

#define AR_PHY_FIND_SIG_RELSTEP   0x1f

Definition at line 424 of file ar9003_phy.h.

#define AR_PHY_FIND_SIG_RELSTEP_S   0

Definition at line 425 of file ar9003_phy.h.

#define AR_PHY_FIND_SIG_RELSTEP_SIGN_BIT   5

Definition at line 426 of file ar9003_phy.h.

#define AR_PHY_FORCE_XPA_CFG   0x000000001

Definition at line 788 of file ar9003_phy.h.

#define AR_PHY_FORCE_XPA_CFG_S   0

Definition at line 789 of file ar9003_phy.h.

#define AR_PHY_FORCEMAX_GAINS_0   (AR_AGC_BASE + 0x4)

Definition at line 263 of file ar9003_phy.h.

#define AR_PHY_FORCEMAX_GAINS_1   (AR_AGC1_BASE + 0x4)

Definition at line 933 of file ar9003_phy.h.

#define AR_PHY_FORCEMAX_GAINS_2   (AR_AGC2_BASE + 0x4)

Definition at line 1011 of file ar9003_phy.h.

#define AR_PHY_FRAME_CTL   (AR_SM_BASE + 0x38)

Definition at line 457 of file ar9003_phy.h.

#define AR_PHY_FRAME_CTL_CF_OVERLAP_WINDOW   3

Definition at line 484 of file ar9003_phy.h.

#define AR_PHY_FRAME_CTL_CF_OVERLAP_WINDOW_S   0

Definition at line 485 of file ar9003_phy.h.

#define AR_PHY_GAINS_MINOFF0   (AR_AGC_BASE + 0x8)

Definition at line 264 of file ar9003_phy.h.

#define AR_PHY_GC_DYN2040_EN   0x00000004 /* enable dyn 20/40 mode */

Definition at line 759 of file ar9003_phy.h.

#define AR_PHY_GC_DYN2040_EXT_CH   0x00000020 /* dyn 20/40 - ext ch spacing (0=20MHz/ 1=25MHz) */

Definition at line 763 of file ar9003_phy.h.

#define AR_PHY_GC_DYN2040_PRI_CH   0x00000010 /* dyn 20/40 - primary ch offset (0=+10MHz, 1=-10MHz)*/

Definition at line 761 of file ar9003_phy.h.

#define AR_PHY_GC_DYN2040_PRI_CH_S   4

Definition at line 762 of file ar9003_phy.h.

#define AR_PHY_GC_DYN2040_PRI_ONLY   0x00000008 /* dyn 20/40 - primary only */

Definition at line 760 of file ar9003_phy.h.

#define AR_PHY_GC_ENABLE_DAC_FIFO   0x00000800 /* fifo between bb and dac */

Definition at line 769 of file ar9003_phy.h.

#define AR_PHY_GC_GF_DETECT_EN   0x00000400 /* enable Green Field detection. Only affects rx, not tx */

Definition at line 768 of file ar9003_phy.h.

#define AR_PHY_GC_HT_EN   0x00000040 /* ht enable */

Definition at line 764 of file ar9003_phy.h.

#define AR_PHY_GC_SHORT_GI_40   0x00000080 /* allow short GI for HT 40 */

Definition at line 765 of file ar9003_phy.h.

#define AR_PHY_GC_SINGLE_HT_LTF1   0x00000200 /* single length (4us) 1st HT long training symbol */

Definition at line 767 of file ar9003_phy.h.

#define AR_PHY_GC_TURBO_MODE   0x00000001 /* set turbo mode bits */

Definition at line 757 of file ar9003_phy.h.

#define AR_PHY_GC_TURBO_SHORT   0x00000002 /* set short symbols to turbo mode setting */

Definition at line 758 of file ar9003_phy.h.

#define AR_PHY_GC_WALSH   0x00000100 /* walsh spatial spreading for 2 chains,2 streams TX */

Definition at line 766 of file ar9003_phy.h.

#define AR_PHY_GEN_CTRL   (AR_SM_BASE + 0x4)

Definition at line 448 of file ar9003_phy.h.

#define AR_PHY_GLB_CONTROL   (AR_GLB_BASE + 0x44)

Definition at line 1053 of file ar9003_phy.h.

#define AR_PHY_HEAVYCLIP_20   (AR_SM_BASE + 0x1a8)

Definition at line 534 of file ar9003_phy.h.

#define AR_PHY_HEAVYCLIP_40   (AR_SM_BASE + 0x1ac)

Definition at line 535 of file ar9003_phy.h.

#define AR_PHY_HEAVYCLIP_CTL   (AR_SM_BASE + 0x1a4)

Definition at line 533 of file ar9003_phy.h.

#define AR_PHY_ILLEGAL_TXRATE   (AR_SM_BASE + 0x1b0)

Definition at line 536 of file ar9003_phy.h.

#define AR_PHY_IQ_ADC_MEAS_0_B0   (AR_CHAN_BASE + 0xc0)

Definition at line 81 of file ar9003_phy.h.

#define AR_PHY_IQ_ADC_MEAS_0_B0_9300_10   (AR_CHAN_BASE + 0xc0 + 0x8)

Definition at line 89 of file ar9003_phy.h.

#define AR_PHY_IQ_ADC_MEAS_1_B0   (AR_CHAN_BASE + 0xc4)

Definition at line 82 of file ar9003_phy.h.

#define AR_PHY_IQ_ADC_MEAS_1_B0_9300_10   (AR_CHAN_BASE + 0xc4 + 0x8)

Definition at line 90 of file ar9003_phy.h.

#define AR_PHY_IQ_ADC_MEAS_2_B0   (AR_CHAN_BASE + 0xc8)

Definition at line 83 of file ar9003_phy.h.

#define AR_PHY_IQ_ADC_MEAS_2_B0_9300_10   (AR_CHAN_BASE + 0xc8 + 0x8)

Definition at line 91 of file ar9003_phy.h.

#define AR_PHY_IQ_ADC_MEAS_3_B0   (AR_CHAN_BASE + 0xcc)

Definition at line 84 of file ar9003_phy.h.

#define AR_PHY_IQ_ADC_MEAS_3_B0_9300_10   (AR_CHAN_BASE + 0xcc + 0x8)

Definition at line 92 of file ar9003_phy.h.

#define AR_PHY_IQCORR_CTRL_CCK   (AR_AGC_BASE + 0x1c8)

Definition at line 319 of file ar9003_phy.h.

#define AR_PHY_LDPC_CNTL1   (AR_MRC_BASE + 0x4)

Definition at line 217 of file ar9003_phy.h.

#define AR_PHY_LDPC_CNTL2   (AR_MRC_BASE + 0x8)

Definition at line 218 of file ar9003_phy.h.

#define AR_PHY_LNAGAIN_LONG_SHIFT   0xe0000000

Definition at line 731 of file ar9003_phy.h.

#define AR_PHY_LNAGAIN_LONG_SHIFT_S   29

Definition at line 732 of file ar9003_phy.h.

#define AR_PHY_MAC_CLK_MODE   0x00000080

Definition at line 783 of file ar9003_phy.h.

#define AR_PHY_MANRXGAIN_LONG_SHIFT   0x00000002

Definition at line 739 of file ar9003_phy.h.

#define AR_PHY_MANRXGAIN_LONG_SHIFT_S   1

Definition at line 740 of file ar9003_phy.h.

#define AR_PHY_MAX_RX_LEN   (AR_SM_BASE + 0x34)

Definition at line 456 of file ar9003_phy.h.

#define AR_PHY_MC_GAIN_CTRL   (AR_AGC_BASE + 0x28)

Definition at line 276 of file ar9003_phy.h.

#define AR_PHY_MINCCA_PWR   0x1FF00000

Definition at line 386 of file ar9003_phy.h.

#define AR_PHY_MINCCA_PWR_S   20

Definition at line 387 of file ar9003_phy.h.

#define AR_PHY_MISC_PA_CTL   (AR_SM_BASE + 0x80)

Definition at line 465 of file ar9003_phy.h.

#define AR_PHY_ML_CNTL_1   (AR_MRC_BASE + 0x18)

Definition at line 222 of file ar9003_phy.h.

#define AR_PHY_ML_CNTL_2   (AR_MRC_BASE + 0x1c)

Definition at line 223 of file ar9003_phy.h.

#define AR_PHY_MODE   (AR_SM_BASE + 0x8)

Definition at line 449 of file ar9003_phy.h.

#define AR_PHY_MODE_CCK   0x00000001

Definition at line 778 of file ar9003_phy.h.

#define AR_PHY_MODE_DYN_CCK_DISABLE   0x00000100

Definition at line 784 of file ar9003_phy.h.

#define AR_PHY_MODE_DYNAMIC   0x00000004

Definition at line 779 of file ar9003_phy.h.

#define AR_PHY_MODE_DYNAMIC_S   2

Definition at line 780 of file ar9003_phy.h.

#define AR_PHY_MODE_HALF   0x00000020

Definition at line 781 of file ar9003_phy.h.

#define AR_PHY_MODE_OFDM   0x00000000

Definition at line 777 of file ar9003_phy.h.

#define AR_PHY_MODE_QUARTER   0x00000040

Definition at line 782 of file ar9003_phy.h.

#define AR_PHY_MODE_SVD_HALF   0x00000200

Definition at line 785 of file ar9003_phy.h.

#define AR_PHY_MRC_CCK_CTRL   (AR_AGC_BASE + 0x1d0)

Definition at line 331 of file ar9003_phy.h.

#define AR_PHY_MRC_CCK_ENABLE   0x00000001

Definition at line 332 of file ar9003_phy.h.

#define AR_PHY_MRC_CCK_ENABLE_S   0

Definition at line 333 of file ar9003_phy.h.

#define AR_PHY_MRC_CCK_MUX_REG   0x00000002

Definition at line 334 of file ar9003_phy.h.

#define AR_PHY_MRC_CCK_MUX_REG_S   1

Definition at line 335 of file ar9003_phy.h.

#define AR_PHY_MULTICHAIN_CTRL   (AR_CHAN_BASE + 0x80)

Definition at line 76 of file ar9003_phy.h.

#define AR_PHY_MXRGAIN_LONG_SHIFT   0x03000000

Definition at line 733 of file ar9003_phy.h.

#define AR_PHY_MXRGAIN_LONG_SHIFT_S   24

Definition at line 734 of file ar9003_phy.h.

#define AR_PHY_NEW_ADC_DC_GAIN_CORR (   _i)    (AR_PHY_ADC_GAIN_DC_CORR_0 + (AR_PHY_CHAIN_OFFSET * (_i)))

Definition at line 1063 of file ar9003_phy.h.

#define AR_PHY_NEW_ADC_DC_GAIN_CORR_9300_10 (   _i)    (AR_PHY_ADC_GAIN_DC_CORR_0_9300_10 + (AR_PHY_CHAIN_OFFSET * (_i)))

Definition at line 1064 of file ar9003_phy.h.

#define AR_PHY_NEW_ADC_DC_OFFSET_CORR_ENABLE   0x80000000

Definition at line 123 of file ar9003_phy.h.

#define AR_PHY_NEW_ADC_GAIN_CORR_ENABLE   0x40000000

Definition at line 122 of file ar9003_phy.h.

#define AR_PHY_ONLY_CTL   (AR_SM_BASE + 0x5d4)

Definition at line 618 of file ar9003_phy.h.

#define AR_PHY_ONLY_WARMRESET   (AR_SM_BASE + 0x5d0)

Definition at line 617 of file ar9003_phy.h.

#define AR_PHY_PA_GAIN123_B0   (AR_CHAN_BASE + 0xf8)

Definition at line 1247 of file ar9003_phy.h.

#define AR_PHY_PA_GAIN123_B1   (AR_CHAN1_BASE + 0xf8)

Definition at line 1248 of file ar9003_phy.h.

#define AR_PHY_PA_GAIN123_B2   (AR_CHAN2_BASE + 0xf8)

Definition at line 1249 of file ar9003_phy.h.

#define AR_PHY_PA_GAIN123_PA_GAIN1   0x3FF

Definition at line 1250 of file ar9003_phy.h.

#define AR_PHY_PA_GAIN123_PA_GAIN1_S   0

Definition at line 1251 of file ar9003_phy.h.

#define AR_PHY_PAPRD_AM2AM   (AR_CHAN_BASE + 0xe4)

Definition at line 1116 of file ar9003_phy.h.

#define AR_PHY_PAPRD_AM2AM_MASK   0x01ffffff

Definition at line 1117 of file ar9003_phy.h.

#define AR_PHY_PAPRD_AM2AM_MASK_S   0

Definition at line 1118 of file ar9003_phy.h.

#define AR_PHY_PAPRD_AM2PM   (AR_CHAN_BASE + 0xe8)

Definition at line 1120 of file ar9003_phy.h.

#define AR_PHY_PAPRD_AM2PM_MASK   0x01ffffff

Definition at line 1121 of file ar9003_phy.h.

#define AR_PHY_PAPRD_AM2PM_MASK_S   0

Definition at line 1122 of file ar9003_phy.h.

#define AR_PHY_PAPRD_CTRL0_B0   (AR_CHAN_BASE + 0xf0)

Definition at line 1128 of file ar9003_phy.h.

#define AR_PHY_PAPRD_CTRL0_B1   (AR_CHAN1_BASE + 0xf0)

Definition at line 1129 of file ar9003_phy.h.

#define AR_PHY_PAPRD_CTRL0_B2   (AR_CHAN2_BASE + 0xf0)

Definition at line 1130 of file ar9003_phy.h.

#define AR_PHY_PAPRD_CTRL0_PAPRD_ENABLE   0x00000001

Definition at line 1131 of file ar9003_phy.h.

#define AR_PHY_PAPRD_CTRL0_PAPRD_ENABLE_S   0

Definition at line 1132 of file ar9003_phy.h.

#define AR_PHY_PAPRD_CTRL0_PAPRD_MAG_THRSH   0xf8000000

Definition at line 1135 of file ar9003_phy.h.

#define AR_PHY_PAPRD_CTRL0_PAPRD_MAG_THRSH_S   27

Definition at line 1136 of file ar9003_phy.h.

#define AR_PHY_PAPRD_CTRL0_USE_SINGLE_TABLE_MASK   0x00000002

Definition at line 1133 of file ar9003_phy.h.

#define AR_PHY_PAPRD_CTRL0_USE_SINGLE_TABLE_MASK_S   1

Definition at line 1134 of file ar9003_phy.h.

#define AR_PHY_PAPRD_CTRL1_ADAPTIVE_AM2AM_ENABLE   0x00000002

Definition at line 1143 of file ar9003_phy.h.

#define AR_PHY_PAPRD_CTRL1_ADAPTIVE_AM2AM_ENABLE_S   1

Definition at line 1144 of file ar9003_phy.h.

#define AR_PHY_PAPRD_CTRL1_ADAPTIVE_AM2PM_ENABLE   0x00000004

Definition at line 1145 of file ar9003_phy.h.

#define AR_PHY_PAPRD_CTRL1_ADAPTIVE_AM2PM_ENABLE_S   2

Definition at line 1146 of file ar9003_phy.h.

#define AR_PHY_PAPRD_CTRL1_ADAPTIVE_SCALING_ENA   0x00000001

Definition at line 1141 of file ar9003_phy.h.

#define AR_PHY_PAPRD_CTRL1_ADAPTIVE_SCALING_ENA_S   0

Definition at line 1142 of file ar9003_phy.h.

#define AR_PHY_PAPRD_CTRL1_B0   (AR_CHAN_BASE + 0xf4)

Definition at line 1138 of file ar9003_phy.h.

#define AR_PHY_PAPRD_CTRL1_B1   (AR_CHAN1_BASE + 0xf4)

Definition at line 1139 of file ar9003_phy.h.

#define AR_PHY_PAPRD_CTRL1_B2   (AR_CHAN2_BASE + 0xf4)

Definition at line 1140 of file ar9003_phy.h.

#define AR_PHY_PAPRD_CTRL1_PA_GAIN_SCALE_FACT_MASK   0x0001fe00

Definition at line 1149 of file ar9003_phy.h.

#define AR_PHY_PAPRD_CTRL1_PA_GAIN_SCALE_FACT_MASK_S   9

Definition at line 1150 of file ar9003_phy.h.

#define AR_PHY_PAPRD_CTRL1_PAPRD_MAG_SCALE_FACT   0x0ffe0000

Definition at line 1151 of file ar9003_phy.h.

#define AR_PHY_PAPRD_CTRL1_PAPRD_MAG_SCALE_FACT_S   17

Definition at line 1152 of file ar9003_phy.h.

#define AR_PHY_PAPRD_CTRL1_PAPRD_POWER_AT_AM2AM_CAL   0x000001f8

Definition at line 1147 of file ar9003_phy.h.

#define AR_PHY_PAPRD_CTRL1_PAPRD_POWER_AT_AM2AM_CAL_S   3

Definition at line 1148 of file ar9003_phy.h.

#define AR_PHY_PAPRD_HT40   (AR_CHAN_BASE + 0xec)

Definition at line 1124 of file ar9003_phy.h.

#define AR_PHY_PAPRD_HT40_MASK   0x01ffffff

Definition at line 1125 of file ar9003_phy.h.

#define AR_PHY_PAPRD_HT40_MASK_S   0

Definition at line 1126 of file ar9003_phy.h.

#define AR_PHY_PAPRD_MEM_TAB_B0   (AR_CHAN_BASE + 0x120)

Definition at line 1243 of file ar9003_phy.h.

#define AR_PHY_PAPRD_MEM_TAB_B1   (AR_CHAN1_BASE + 0x120)

Definition at line 1244 of file ar9003_phy.h.

#define AR_PHY_PAPRD_MEM_TAB_B2   (AR_CHAN2_BASE + 0x120)

Definition at line 1245 of file ar9003_phy.h.

#define AR_PHY_PAPRD_PRE_POST_SCALE_0_B0   (AR_CHAN_BASE + 0x100)

Definition at line 1206 of file ar9003_phy.h.

#define AR_PHY_PAPRD_PRE_POST_SCALE_1_B0   (AR_CHAN_BASE + 0x104)

Definition at line 1207 of file ar9003_phy.h.

#define AR_PHY_PAPRD_PRE_POST_SCALE_2_B0   (AR_CHAN_BASE + 0x108)

Definition at line 1208 of file ar9003_phy.h.

#define AR_PHY_PAPRD_PRE_POST_SCALE_3_B0   (AR_CHAN_BASE + 0x10c)

Definition at line 1209 of file ar9003_phy.h.

#define AR_PHY_PAPRD_PRE_POST_SCALE_4_B0   (AR_CHAN_BASE + 0x110)

Definition at line 1210 of file ar9003_phy.h.

#define AR_PHY_PAPRD_PRE_POST_SCALE_5_B0   (AR_CHAN_BASE + 0x114)

Definition at line 1211 of file ar9003_phy.h.

#define AR_PHY_PAPRD_PRE_POST_SCALE_6_B0   (AR_CHAN_BASE + 0x118)

Definition at line 1212 of file ar9003_phy.h.

#define AR_PHY_PAPRD_PRE_POST_SCALE_7_B0   (AR_CHAN_BASE + 0x11c)

Definition at line 1213 of file ar9003_phy.h.

#define AR_PHY_PAPRD_PRE_POST_SCALING   0x3FFFF

Definition at line 1214 of file ar9003_phy.h.

#define AR_PHY_PAPRD_PRE_POST_SCALING_S   0

Definition at line 1215 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL1
Value:
0x580 : 0x490))

Definition at line 1154 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL1_CF_CF_PAPRD_TRAIN_ENABLE   0x00000001

Definition at line 1157 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL1_CF_CF_PAPRD_TRAIN_ENABLE_S   0

Definition at line 1158 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL1_CF_PAPRD_AGC2_SETTLING   0x0000007e

Definition at line 1159 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL1_CF_PAPRD_AGC2_SETTLING_S   1

Definition at line 1160 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL1_CF_PAPRD_IQCORR_ENABLE   0x00000100

Definition at line 1161 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL1_CF_PAPRD_IQCORR_ENABLE_S   8

Definition at line 1162 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL1_CF_PAPRD_LB_ENABLE   0x00000800

Definition at line 1167 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL1_CF_PAPRD_LB_ENABLE_S   11

Definition at line 1168 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL1_CF_PAPRD_LB_SKIP   0x0003f000

Definition at line 1169 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL1_CF_PAPRD_LB_SKIP_S   12

Definition at line 1170 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL1_CF_PAPRD_RX_BB_GAIN_FORCE   0x00000200

Definition at line 1163 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL1_CF_PAPRD_RX_BB_GAIN_FORCE_S   9

Definition at line 1164 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL1_CF_PAPRD_TX_GAIN_FORCE   0x00000400

Definition at line 1165 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL1_CF_PAPRD_TX_GAIN_FORCE_S   10

Definition at line 1166 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL2
Value:
0x584 : 0x494))

Definition at line 1172 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL2_CF_PAPRD_INIT_RX_BB_GAIN   0xFFFFFFFF

Definition at line 1175 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL2_CF_PAPRD_INIT_RX_BB_GAIN_S   0

Definition at line 1176 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL3
Value:
0x588 : 0x498))

Definition at line 1178 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL3_CF_PAPRD_ADC_DESIRED_SIZE   0x0000003f

Definition at line 1181 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL3_CF_PAPRD_ADC_DESIRED_SIZE_S   0

Definition at line 1182 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL3_CF_PAPRD_BBTXMIX_DISABLE   0x20000000

Definition at line 1193 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL3_CF_PAPRD_BBTXMIX_DISABLE_S   29

Definition at line 1194 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL3_CF_PAPRD_COARSE_CORR_LEN   0x00f00000

Definition at line 1189 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL3_CF_PAPRD_COARSE_CORR_LEN_S   20

Definition at line 1190 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL3_CF_PAPRD_FINE_CORR_LEN   0x0f000000

Definition at line 1191 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL3_CF_PAPRD_FINE_CORR_LEN_S   24

Definition at line 1192 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL3_CF_PAPRD_MIN_LOOPBACK_DEL   0x0001f000

Definition at line 1185 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL3_CF_PAPRD_MIN_LOOPBACK_DEL_S   12

Definition at line 1186 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL3_CF_PAPRD_NUM_CORR_STAGES   0x000e0000

Definition at line 1187 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL3_CF_PAPRD_NUM_CORR_STAGES_S   17

Definition at line 1188 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL3_CF_PAPRD_QUICK_DROP   0x00000fc0

Definition at line 1183 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL3_CF_PAPRD_QUICK_DROP_S   6

Definition at line 1184 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL4
Value:
0x58c : 0x49c))

Definition at line 1196 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL4_CF_PAPRD_MIN_CORR   0x00000fff

Definition at line 1203 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL4_CF_PAPRD_MIN_CORR_S   0

Definition at line 1204 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL4_CF_PAPRD_NUM_TRAIN_SAMPLES   0x03ff0000

Definition at line 1199 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL4_CF_PAPRD_NUM_TRAIN_SAMPLES_S   16

Definition at line 1200 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL4_CF_PAPRD_SAFETY_DELTA   0x0000f000

Definition at line 1201 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_CNTL4_CF_PAPRD_SAFETY_DELTA_S   12

Definition at line 1202 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_STAT1   (AR_SM_BASE + 0x4a0)

Definition at line 1217 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_STAT1_PAPRD_AGC2_PWR   0x0001fe00

Definition at line 1228 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_STAT1_PAPRD_AGC2_PWR_S   9

Definition at line 1229 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_STAT1_PAPRD_CORR_ERR   0x00000004

Definition at line 1222 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_STAT1_PAPRD_CORR_ERR_S   2

Definition at line 1223 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_STAT1_PAPRD_RX_GAIN_IDX   0x000001f0

Definition at line 1226 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_STAT1_PAPRD_RX_GAIN_IDX_S   4

Definition at line 1227 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_STAT1_PAPRD_TRAIN_ACTIVE   0x00000008

Definition at line 1224 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_STAT1_PAPRD_TRAIN_ACTIVE_S   3

Definition at line 1225 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_STAT1_PAPRD_TRAIN_DONE   0x00000001

Definition at line 1218 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_STAT1_PAPRD_TRAIN_DONE_S   0

Definition at line 1219 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_STAT1_PAPRD_TRAIN_INCOMPLETE   0x00000002

Definition at line 1220 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_STAT1_PAPRD_TRAIN_INCOMPLETE_S   1

Definition at line 1221 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_STAT2   (AR_SM_BASE + 0x4a4)

Definition at line 1231 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_STAT2_PAPRD_COARSE_IDX   0x001f0000

Definition at line 1234 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_STAT2_PAPRD_COARSE_IDX_S   16

Definition at line 1235 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_STAT2_PAPRD_FINE_IDX   0x00600000

Definition at line 1236 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_STAT2_PAPRD_FINE_IDX_S   21

Definition at line 1237 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_STAT2_PAPRD_FINE_VAL   0x0000ffff

Definition at line 1232 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_STAT2_PAPRD_FINE_VAL_S   0

Definition at line 1233 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_STAT3   (AR_SM_BASE + 0x4a8)

Definition at line 1239 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_STAT3_PAPRD_TRAIN_SAMPLES_CNT   0x000fffff

Definition at line 1240 of file ar9003_phy.h.

#define AR_PHY_PAPRD_TRAINER_STAT3_PAPRD_TRAIN_SAMPLES_CNT_S   0

Definition at line 1241 of file ar9003_phy.h.

#define AR_PHY_PARALLEL_CAL_ENABLE   0x00000001

Definition at line 746 of file ar9003_phy.h.

#define AR_PHY_PDADC_TAB (   _i)    (AR_PHY_PDADC_TAB_0 + (AR_PHY_CHAIN_OFFSET * (_i)))

Definition at line 1070 of file ar9003_phy.h.

#define AR_PHY_PDADC_TAB_0   (AR_SM_BASE + 0x280)

Definition at line 596 of file ar9003_phy.h.

#define AR_PHY_PDADC_TAB_1
Value:
(AR_SM1_BASE + (AR_SREV_AR9462(ah) ? \
0x280 : 0x240))

Definition at line 961 of file ar9003_phy.h.

#define AR_PHY_PDADC_TAB_2   (AR_SM2_BASE + 0x240)

Definition at line 1037 of file ar9003_phy.h.

#define AR_PHY_PEAK_DET_CTRL_1   (AR_AGC_BASE + 0x3c)

Definition at line 307 of file ar9003_phy.h.

#define AR_PHY_PEAK_DET_CTRL_2   (AR_AGC_BASE + 0x40)

Definition at line 308 of file ar9003_phy.h.

#define AR_PHY_PERCHAIN_CSD   (AR_CHAN_BASE + 0x84)

Definition at line 77 of file ar9003_phy.h.

#define AR_PHY_PILOT_SPUR_MASK   (AR_MRC_BASE + 0xc)

Definition at line 219 of file ar9003_phy.h.

#define AR_PHY_PILOT_SPUR_MASK_CF_PILOT_MASK_A   0x1F

Definition at line 228 of file ar9003_phy.h.

#define AR_PHY_PILOT_SPUR_MASK_CF_PILOT_MASK_A_S   0

Definition at line 229 of file ar9003_phy.h.

#define AR_PHY_PILOT_SPUR_MASK_CF_PILOT_MASK_B   0x0001F000

Definition at line 232 of file ar9003_phy.h.

#define AR_PHY_PILOT_SPUR_MASK_CF_PILOT_MASK_B_S   12

Definition at line 233 of file ar9003_phy.h.

#define AR_PHY_PILOT_SPUR_MASK_CF_PILOT_MASK_IDX_A   0x00000FE0

Definition at line 226 of file ar9003_phy.h.

#define AR_PHY_PILOT_SPUR_MASK_CF_PILOT_MASK_IDX_A_S   5

Definition at line 227 of file ar9003_phy.h.

#define AR_PHY_PILOT_SPUR_MASK_CF_PILOT_MASK_IDX_B   0x00FE0000

Definition at line 230 of file ar9003_phy.h.

#define AR_PHY_PILOT_SPUR_MASK_CF_PILOT_MASK_IDX_B_S   17

Definition at line 231 of file ar9003_phy.h.

#define AR_PHY_PLL_CTL   (AR_SM_BASE + 0x148)

Definition at line 479 of file ar9003_phy.h.

#define AR_PHY_PMU1   ((AR_SREV_9462(ah) || AR_SREV_9565(ah)) ? 0x16340 : 0x16c40)

Definition at line 719 of file ar9003_phy.h.

#define AR_PHY_PMU1_PWD   0x1

Definition at line 720 of file ar9003_phy.h.

#define AR_PHY_PMU1_PWD_S   0

Definition at line 721 of file ar9003_phy.h.

#define AR_PHY_PMU2   ((AR_SREV_9462(ah) || AR_SREV_9565(ah)) ? 0x16344 : 0x16c44)

Definition at line 723 of file ar9003_phy.h.

#define AR_PHY_PMU2_PGM   0x00200000

Definition at line 724 of file ar9003_phy.h.

#define AR_PHY_PMU2_PGM_S   21

Definition at line 725 of file ar9003_phy.h.

#define AR_PHY_POWER_TX_RATE (   _d)    (AR_SM_BASE + 0x1c0 + ((_d) << 2))

Definition at line 538 of file ar9003_phy.h.

#define AR_PHY_POWER_TX_RATE1   0x9934

Definition at line 838 of file ar9003_phy.h.

#define AR_PHY_POWER_TX_RATE2   0x9938

Definition at line 839 of file ar9003_phy.h.

#define AR_PHY_POWER_TX_RATE_MAX   0x993c

Definition at line 840 of file ar9003_phy.h.

#define AR_PHY_POWER_TX_RATE_MAX_TPC_ENABLE   0x00000040

Definition at line 841 of file ar9003_phy.h.

#define AR_PHY_POWER_TX_SUB   (AR_SM_BASE + 0x1f4)

Definition at line 541 of file ar9003_phy.h.

#define AR_PHY_POWERTX_RATE5   (AR_SM_BASE + 0x1d0)

Definition at line 1253 of file ar9003_phy.h.

#define AR_PHY_POWERTX_RATE5_POWERTXHT20_0   0x3F

Definition at line 1254 of file ar9003_phy.h.

#define AR_PHY_POWERTX_RATE5_POWERTXHT20_0_S   0

Definition at line 1255 of file ar9003_phy.h.

#define AR_PHY_POWERTX_RATE6   (AR_SM_BASE + 0x1d4)

Definition at line 1257 of file ar9003_phy.h.

#define AR_PHY_POWERTX_RATE6_POWERTXHT20_5   0x3F00

Definition at line 1258 of file ar9003_phy.h.

#define AR_PHY_POWERTX_RATE6_POWERTXHT20_5_S   8

Definition at line 1259 of file ar9003_phy.h.

#define AR_PHY_POWERTX_RATE8   (AR_SM_BASE + 0x1dc)

Definition at line 1261 of file ar9003_phy.h.

#define AR_PHY_POWERTX_RATE8_POWERTXHT40_5   0x3F00

Definition at line 1262 of file ar9003_phy.h.

#define AR_PHY_POWERTX_RATE8_POWERTXHT40_5_S   8

Definition at line 1263 of file ar9003_phy.h.

#define AR_PHY_PWRTX_MAX   (AR_SM_BASE + 0x1f0)

Definition at line 540 of file ar9003_phy.h.

#define AR_PHY_RADAR_0   (AR_CHAN_BASE + 0x34)

Definition at line 73 of file ar9003_phy.h.

#define AR_PHY_RADAR_0_ENA   0x00000001

Definition at line 163 of file ar9003_phy.h.

#define AR_PHY_RADAR_0_FFT_ENA   0x80000000

Definition at line 164 of file ar9003_phy.h.

#define AR_PHY_RADAR_0_FIRPWR   0x7F000000

Definition at line 173 of file ar9003_phy.h.

#define AR_PHY_RADAR_0_FIRPWR_S   24

Definition at line 174 of file ar9003_phy.h.

#define AR_PHY_RADAR_0_HEIGHT   0x0003F000

Definition at line 169 of file ar9003_phy.h.

#define AR_PHY_RADAR_0_HEIGHT_S   12

Definition at line 170 of file ar9003_phy.h.

#define AR_PHY_RADAR_0_INBAND   0x0000003e

Definition at line 165 of file ar9003_phy.h.

#define AR_PHY_RADAR_0_INBAND_S   1

Definition at line 166 of file ar9003_phy.h.

#define AR_PHY_RADAR_0_PRSSI   0x00000FC0

Definition at line 167 of file ar9003_phy.h.

#define AR_PHY_RADAR_0_PRSSI_S   6

Definition at line 168 of file ar9003_phy.h.

#define AR_PHY_RADAR_0_RRSSI   0x00FC0000

Definition at line 171 of file ar9003_phy.h.

#define AR_PHY_RADAR_0_RRSSI_S   18

Definition at line 172 of file ar9003_phy.h.

#define AR_PHY_RADAR_1   (AR_CHAN_BASE + 0x38)

Definition at line 74 of file ar9003_phy.h.

#define AR_PHY_RADAR_1_BLOCK_CHECK   0x00008000

Definition at line 179 of file ar9003_phy.h.

#define AR_PHY_RADAR_1_MAX_RRSSI   0x00004000

Definition at line 180 of file ar9003_phy.h.

#define AR_PHY_RADAR_1_MAXLEN   0x000000FF

Definition at line 184 of file ar9003_phy.h.

#define AR_PHY_RADAR_1_MAXLEN_S   0

Definition at line 185 of file ar9003_phy.h.

#define AR_PHY_RADAR_1_RELPWR_ENA   0x00800000

Definition at line 175 of file ar9003_phy.h.

#define AR_PHY_RADAR_1_RELPWR_THRESH   0x003F0000

Definition at line 177 of file ar9003_phy.h.

#define AR_PHY_RADAR_1_RELPWR_THRESH_S   16

Definition at line 178 of file ar9003_phy.h.

#define AR_PHY_RADAR_1_RELSTEP_CHECK   0x00002000

Definition at line 181 of file ar9003_phy.h.

#define AR_PHY_RADAR_1_RELSTEP_THRESH   0x00001F00

Definition at line 182 of file ar9003_phy.h.

#define AR_PHY_RADAR_1_RELSTEP_THRESH_S   8

Definition at line 183 of file ar9003_phy.h.

#define AR_PHY_RADAR_1_USE_FIR128   0x00400000

Definition at line 176 of file ar9003_phy.h.

#define AR_PHY_RADAR_BW_FILTER   (AR_SM_BASE + 0x2c)

Definition at line 454 of file ar9003_phy.h.

#define AR_PHY_RADAR_DC_PWR_THRESH   0x007f8000

Definition at line 187 of file ar9003_phy.h.

#define AR_PHY_RADAR_DC_PWR_THRESH_S   15

Definition at line 188 of file ar9003_phy.h.

#define AR_PHY_RADAR_EXT   (AR_CHAN_BASE + 0x3c)

Definition at line 75 of file ar9003_phy.h.

#define AR_PHY_RADAR_EXT_ENA   0x00004000

Definition at line 186 of file ar9003_phy.h.

#define AR_PHY_RADAR_LB_DC_CAP   0x7f800000

Definition at line 189 of file ar9003_phy.h.

#define AR_PHY_RADAR_LB_DC_CAP_S   23

Definition at line 190 of file ar9003_phy.h.

#define AR_PHY_RESTART   (AR_AGC_BASE + 0x24)

Definition at line 271 of file ar9003_phy.h.

#define AR_PHY_RESTART_DIV_GC   0x001C0000

Definition at line 429 of file ar9003_phy.h.

#define AR_PHY_RESTART_DIV_GC_S   18

Definition at line 430 of file ar9003_phy.h.

#define AR_PHY_RESTART_ENA   0x01

Definition at line 431 of file ar9003_phy.h.

#define AR_PHY_RESTART_ENABLE_DIV_M2FLAG   0x00200000

Definition at line 427 of file ar9003_phy.h.

#define AR_PHY_RESTART_ENABLE_DIV_M2FLAG_S   21

Definition at line 428 of file ar9003_phy.h.

#define AR_PHY_RFBUS_GRANT   (AR_SM_BASE + 0x40)

Definition at line 459 of file ar9003_phy.h.

#define AR_PHY_RFBUS_GRANT_EN   0x00000001 /* RF bus granted */

Definition at line 756 of file ar9003_phy.h.

#define AR_PHY_RFBUS_REQ   (AR_SM_BASE + 0x3c)

Definition at line 458 of file ar9003_phy.h.

#define AR_PHY_RFBUS_REQ_EN   0x00000001 /* request for RF bus */

Definition at line 755 of file ar9003_phy.h.

#define AR_PHY_RIFS   (AR_SM_BASE + 0x44)

Definition at line 460 of file ar9003_phy.h.

#define AR_PHY_RIFS_INIT_DELAY   0x3ff0000

Definition at line 407 of file ar9003_phy.h.

#define AR_PHY_RIFS_SRCH   (AR_AGC_BASE + 0x38)

Definition at line 306 of file ar9003_phy.h.

#define AR_PHY_RSSI_0   (AR_AGC_BASE + 0x180)

Definition at line 311 of file ar9003_phy.h.

#define AR_PHY_RSSI_1   (AR_AGC1_BASE + 0x180)

Definition at line 937 of file ar9003_phy.h.

#define AR_PHY_RSSI_2   (AR_AGC2_BASE + 0x180)

Definition at line 1015 of file ar9003_phy.h.

#define AR_PHY_RSSI_3   (AR_AGC3_BASE + 0x180)

Definition at line 1048 of file ar9003_phy.h.

#define AR_PHY_RTT_CTRL   (AR_SM_BASE + 0x380)

Definition at line 611 of file ar9003_phy.h.

#define AR_PHY_RTT_CTRL_ENA_RADIO_RETENTION   0x00000001

Definition at line 871 of file ar9003_phy.h.

#define AR_PHY_RTT_CTRL_ENA_RADIO_RETENTION_S   0

Definition at line 872 of file ar9003_phy.h.

#define AR_PHY_RTT_CTRL_FORCE_RADIO_RESTORE   0x00000080

Definition at line 875 of file ar9003_phy.h.

#define AR_PHY_RTT_CTRL_FORCE_RADIO_RESTORE_S   7

Definition at line 876 of file ar9003_phy.h.

#define AR_PHY_RTT_CTRL_RESTORE_MASK   0x0000007E

Definition at line 873 of file ar9003_phy.h.

#define AR_PHY_RTT_CTRL_RESTORE_MASK_S   1

Definition at line 874 of file ar9003_phy.h.

#define AR_PHY_RTT_SW_RTT_TABLE_ACCESS   0x00000001

Definition at line 877 of file ar9003_phy.h.

#define AR_PHY_RTT_SW_RTT_TABLE_ACCESS_S   0

Definition at line 878 of file ar9003_phy.h.

#define AR_PHY_RTT_SW_RTT_TABLE_ADDR   0x0000001C

Definition at line 881 of file ar9003_phy.h.

#define AR_PHY_RTT_SW_RTT_TABLE_ADDR_S   2

Definition at line 882 of file ar9003_phy.h.

#define AR_PHY_RTT_SW_RTT_TABLE_DATA   0xFFFFFFF0

Definition at line 883 of file ar9003_phy.h.

#define AR_PHY_RTT_SW_RTT_TABLE_DATA_S   4

Definition at line 884 of file ar9003_phy.h.

#define AR_PHY_RTT_SW_RTT_TABLE_WRITE   0x00000002

Definition at line 879 of file ar9003_phy.h.

#define AR_PHY_RTT_SW_RTT_TABLE_WRITE_S   1

Definition at line 880 of file ar9003_phy.h.

#define AR_PHY_RTT_TABLE_SW_INTF_1_B (   i)
Value:
(0x388 + ((i) ? \

Definition at line 986 of file ar9003_phy.h.

#define AR_PHY_RTT_TABLE_SW_INTF_B (   i)
Value:
(0x384 + ((i) ? \

Definition at line 984 of file ar9003_phy.h.

#define AR_PHY_RX1DB_BIQUAD_LONG_SHIFT   0x00380000

Definition at line 727 of file ar9003_phy.h.

#define AR_PHY_RX1DB_BIQUAD_LONG_SHIFT_S   19

Definition at line 728 of file ar9003_phy.h.

#define AR_PHY_RX6DB_BIQUAD_LONG_SHIFT   0x00c00000

Definition at line 729 of file ar9003_phy.h.

#define AR_PHY_RX6DB_BIQUAD_LONG_SHIFT_S   22

Definition at line 730 of file ar9003_phy.h.

#define AR_PHY_RX_CHAINMASK   (AR_SM_BASE + 0xa0)

Definition at line 469 of file ar9003_phy.h.

#define AR_PHY_RX_CLR_DELAY   (AR_SM_BASE + 0x50)

Definition at line 461 of file ar9003_phy.h.

#define AR_PHY_RX_DELAY   (AR_SM_BASE + 0x54)

Definition at line 462 of file ar9003_phy.h.

#define AR_PHY_RX_DELAY_DELAY   0x00003FFF /* delay from wakeup to rx ena */

Definition at line 848 of file ar9003_phy.h.

#define AR_PHY_RX_DELAY_DELAY   0x00003FFF

Definition at line 848 of file ar9003_phy.h.

#define AR_PHY_RX_GAIN_BOUNDS_1   (AR_AGC_BASE + 0x44)

Definition at line 309 of file ar9003_phy.h.

#define AR_PHY_RX_GAIN_BOUNDS_2   (AR_AGC_BASE + 0x48)

Definition at line 310 of file ar9003_phy.h.

#define AR_PHY_RX_IQCAL_CORR_B0   (AR_CHAN_BASE + 0xdc)

Definition at line 33 of file ar9003_phy.h.

#define AR_PHY_RX_IQCAL_CORR_B0_LOOPBACK_IQCORR_EN   0x20000000

Definition at line 60 of file ar9003_phy.h.

#define AR_PHY_RX_IQCAL_CORR_B0_LOOPBACK_IQCORR_EN_S   29

Definition at line 61 of file ar9003_phy.h.

#define AR_PHY_RX_IQCAL_CORR_B1   (AR_CHAN1_BASE + 0xdc)

Definition at line 920 of file ar9003_phy.h.

#define AR_PHY_RX_IQCAL_CORR_B2   (AR_CHAN2_BASE + 0xdc)

Definition at line 999 of file ar9003_phy.h.

#define AR_PHY_RX_IQCAL_CORR_IQCORR_ENABLE   0x00004000

Definition at line 205 of file ar9003_phy.h.

#define AR_PHY_RX_IQCAL_CORR_IQCORR_Q_I_COFF   0x00003F80

Definition at line 203 of file ar9003_phy.h.

#define AR_PHY_RX_IQCAL_CORR_IQCORR_Q_I_COFF_S   7

Definition at line 204 of file ar9003_phy.h.

#define AR_PHY_RX_IQCAL_CORR_IQCORR_Q_Q_COFF   0x0000007F

Definition at line 201 of file ar9003_phy.h.

#define AR_PHY_RX_IQCAL_CORR_IQCORR_Q_Q_COFF_S   0

Definition at line 202 of file ar9003_phy.h.

#define AR_PHY_RX_IQCAL_CORR_LOOPBACK_IQCORR_Q_I_COFF   0x1fc00000

Definition at line 208 of file ar9003_phy.h.

#define AR_PHY_RX_IQCAL_CORR_LOOPBACK_IQCORR_Q_I_COFF_S   22

Definition at line 209 of file ar9003_phy.h.

#define AR_PHY_RX_IQCAL_CORR_LOOPBACK_IQCORR_Q_Q_COFF   0x003f8000

Definition at line 206 of file ar9003_phy.h.

#define AR_PHY_RX_IQCAL_CORR_LOOPBACK_IQCORR_Q_Q_COFF_S   15

Definition at line 207 of file ar9003_phy.h.

#define AR_PHY_RX_OCGAIN   (AR_AGC_BASE + 0x200)

Definition at line 337 of file ar9003_phy.h.

#define AR_PHY_RX_OCGAIN_2   (AR_AGC1_BASE + 0x200)

Definition at line 939 of file ar9003_phy.h.

#define AR_PHY_RXGAIN (   _i)    (AR_PHY_FORCEMAX_GAINS_0 + (AR_PHY_CHAIN_OFFSET * (_i)))

Definition at line 1068 of file ar9003_phy.h.

#define AR_PHY_RXGAIN_TXRX_ATTEN   0x0003F000

Definition at line 370 of file ar9003_phy.h.

#define AR_PHY_RXGAIN_TXRX_ATTEN_S   12

Definition at line 371 of file ar9003_phy.h.

#define AR_PHY_RXGAIN_TXRX_RF_MAX   0x007C0000

Definition at line 372 of file ar9003_phy.h.

#define AR_PHY_RXGAIN_TXRX_RF_MAX_S   18

Definition at line 373 of file ar9003_phy.h.

#define AR_PHY_SCFIR_GAIN_LONG_SHIFT   0x00000001

Definition at line 737 of file ar9003_phy.h.

#define AR_PHY_SCFIR_GAIN_LONG_SHIFT_S   0

Definition at line 738 of file ar9003_phy.h.

#define AR_PHY_SCRAMBLER_SEED   (AR_SM_BASE + 0x190)

Definition at line 530 of file ar9003_phy.h.

#define AR_PHY_SEARCH_START_DELAY   (AR_SM_BASE + 0x30)

Definition at line 455 of file ar9003_phy.h.

#define AR_PHY_SETTLING   (AR_AGC_BASE + 0x0)

Definition at line 262 of file ar9003_phy.h.

#define AR_PHY_SETTLING_SWITCH   0x00003F80

Definition at line 378 of file ar9003_phy.h.

#define AR_PHY_SETTLING_SWITCH_S   7

Definition at line 379 of file ar9003_phy.h.

#define AR_PHY_SFCORR   (AR_CHAN_BASE + 0x24)

Definition at line 68 of file ar9003_phy.h.

#define AR_PHY_SFCORR_EXT   (AR_CHAN_BASE + 0x2c)

Definition at line 70 of file ar9003_phy.h.

#define AR_PHY_SFCORR_EXT_M1_THRESH   0x0000007F

Definition at line 137 of file ar9003_phy.h.

#define AR_PHY_SFCORR_EXT_M1_THRESH_LOW   0x001FC000

Definition at line 141 of file ar9003_phy.h.

#define AR_PHY_SFCORR_EXT_M1_THRESH_LOW_S   14

Definition at line 142 of file ar9003_phy.h.

#define AR_PHY_SFCORR_EXT_M1_THRESH_S   0

Definition at line 138 of file ar9003_phy.h.

#define AR_PHY_SFCORR_EXT_M2_THRESH   0x00003F80

Definition at line 139 of file ar9003_phy.h.

#define AR_PHY_SFCORR_EXT_M2_THRESH_LOW   0x0FE00000

Definition at line 143 of file ar9003_phy.h.

#define AR_PHY_SFCORR_EXT_M2_THRESH_LOW_S   21

Definition at line 144 of file ar9003_phy.h.

#define AR_PHY_SFCORR_EXT_M2_THRESH_S   7

Definition at line 140 of file ar9003_phy.h.

#define AR_PHY_SFCORR_EXT_SPUR_SUBCHANNEL_SD   0x10000000

Definition at line 145 of file ar9003_phy.h.

#define AR_PHY_SFCORR_EXT_SPUR_SUBCHANNEL_SD_S   28

Definition at line 146 of file ar9003_phy.h.

#define AR_PHY_SFCORR_LOW   (AR_CHAN_BASE + 0x28)

Definition at line 69 of file ar9003_phy.h.

#define AR_PHY_SFCORR_LOW_M1_THRESH_LOW   0x001FC000

Definition at line 127 of file ar9003_phy.h.

#define AR_PHY_SFCORR_LOW_M1_THRESH_LOW_S   14

Definition at line 128 of file ar9003_phy.h.

#define AR_PHY_SFCORR_LOW_M2_THRESH_LOW   0x0FE00000

Definition at line 129 of file ar9003_phy.h.

#define AR_PHY_SFCORR_LOW_M2_THRESH_LOW_S   21

Definition at line 130 of file ar9003_phy.h.

#define AR_PHY_SFCORR_LOW_M2COUNT_THR_LOW   0x00003F00

Definition at line 125 of file ar9003_phy.h.

#define AR_PHY_SFCORR_LOW_M2COUNT_THR_LOW_S   8

Definition at line 126 of file ar9003_phy.h.

#define AR_PHY_SFCORR_LOW_USE_SELF_CORR_LOW   0x00000001

Definition at line 124 of file ar9003_phy.h.

#define AR_PHY_SFCORR_M1_THRESH   0x00FE0000

Definition at line 133 of file ar9003_phy.h.

#define AR_PHY_SFCORR_M1_THRESH_S   17

Definition at line 134 of file ar9003_phy.h.

#define AR_PHY_SFCORR_M2_THRESH   0x7F000000

Definition at line 135 of file ar9003_phy.h.

#define AR_PHY_SFCORR_M2_THRESH_S   24

Definition at line 136 of file ar9003_phy.h.

#define AR_PHY_SFCORR_M2COUNT_THR   0x0000001F

Definition at line 131 of file ar9003_phy.h.

#define AR_PHY_SFCORR_M2COUNT_THR_S   0

Definition at line 132 of file ar9003_phy.h.

#define AR_PHY_SFCORR_SPUR_SUBCHNL_SD_S   28

Definition at line 147 of file ar9003_phy.h.

#define AR_PHY_SGI_DELTA   (AR_MRC_BASE + 0x14)

Definition at line 221 of file ar9003_phy.h.

#define AR_PHY_SGI_DSC_EXP   0x0000000F

Definition at line 250 of file ar9003_phy.h.

#define AR_PHY_SGI_DSC_EXP_S   0

Definition at line 251 of file ar9003_phy.h.

#define AR_PHY_SGI_DSC_MAN   0x0007FFF0

Definition at line 248 of file ar9003_phy.h.

#define AR_PHY_SGI_DSC_MAN_S   4

Definition at line 249 of file ar9003_phy.h.

#define AR_PHY_SPECTRAL_SCAN   (AR_SM_BASE + 0x28)

Definition at line 453 of file ar9003_phy.h.

#define AR_PHY_SPECTRAL_SCAN_ACTIVE   0x00000002

Definition at line 853 of file ar9003_phy.h.

#define AR_PHY_SPECTRAL_SCAN_ACTIVE_S   1

Definition at line 854 of file ar9003_phy.h.

#define AR_PHY_SPECTRAL_SCAN_COMPRESSED_RPT   0x80000000

Definition at line 867 of file ar9003_phy.h.

#define AR_PHY_SPECTRAL_SCAN_COMPRESSED_RPT_S   31

Definition at line 868 of file ar9003_phy.h.

#define AR_PHY_SPECTRAL_SCAN_COUNT   0x0FFF0000

Definition at line 859 of file ar9003_phy.h.

#define AR_PHY_SPECTRAL_SCAN_COUNT_S   16

Definition at line 860 of file ar9003_phy.h.

#define AR_PHY_SPECTRAL_SCAN_ENABLE   0x00000001

Definition at line 851 of file ar9003_phy.h.

#define AR_PHY_SPECTRAL_SCAN_ENABLE_S   0

Definition at line 852 of file ar9003_phy.h.

#define AR_PHY_SPECTRAL_SCAN_FFT_PERIOD   0x000000F0

Definition at line 855 of file ar9003_phy.h.

#define AR_PHY_SPECTRAL_SCAN_FFT_PERIOD_S   4

Definition at line 856 of file ar9003_phy.h.

#define AR_PHY_SPECTRAL_SCAN_PERIOD   0x0000FF00

Definition at line 857 of file ar9003_phy.h.

#define AR_PHY_SPECTRAL_SCAN_PERIOD_S   8

Definition at line 858 of file ar9003_phy.h.

#define AR_PHY_SPECTRAL_SCAN_PRIORITY   0x20000000

Definition at line 863 of file ar9003_phy.h.

#define AR_PHY_SPECTRAL_SCAN_PRIORITY_S   29

Definition at line 864 of file ar9003_phy.h.

#define AR_PHY_SPECTRAL_SCAN_SHORT_REPEAT   0x10000000

Definition at line 861 of file ar9003_phy.h.

#define AR_PHY_SPECTRAL_SCAN_SHORT_REPEAT_S   28

Definition at line 862 of file ar9003_phy.h.

#define AR_PHY_SPECTRAL_SCAN_USE_ERR5   0x40000000

Definition at line 865 of file ar9003_phy.h.

#define AR_PHY_SPECTRAL_SCAN_USE_ERR5_S   30

Definition at line 866 of file ar9003_phy.h.

#define AR_PHY_SPUR_CCK_REP0   (AR_AGC_BASE + 0x184)

Definition at line 312 of file ar9003_phy.h.

#define AR_PHY_SPUR_CCK_REP_1   (AR_AGC1_BASE + 0x184)

Definition at line 938 of file ar9003_phy.h.

#define AR_PHY_SPUR_MASK_A   (AR_SM_BASE + 0x20)

Definition at line 451 of file ar9003_phy.h.

#define AR_PHY_SPUR_MASK_A_CF_PUNC_MASK_A   0x3FF

Definition at line 489 of file ar9003_phy.h.

#define AR_PHY_SPUR_MASK_A_CF_PUNC_MASK_A_S   0

Definition at line 490 of file ar9003_phy.h.

#define AR_PHY_SPUR_MASK_A_CF_PUNC_MASK_IDX_A   0x0001FC00

Definition at line 487 of file ar9003_phy.h.

#define AR_PHY_SPUR_MASK_A_CF_PUNC_MASK_IDX_A_S   10

Definition at line 488 of file ar9003_phy.h.

#define AR_PHY_SPUR_MASK_B   (AR_SM_BASE + 0x24)

Definition at line 452 of file ar9003_phy.h.

#define AR_PHY_SPUR_REG   (AR_CHAN_BASE + 0x1c)

Definition at line 32 of file ar9003_phy.h.

#define AR_PHY_SPUR_REG_EN_VIT_SPUR_RSSI   0x00000100

Definition at line 55 of file ar9003_phy.h.

#define AR_PHY_SPUR_REG_EN_VIT_SPUR_RSSI_S   8

Definition at line 56 of file ar9003_phy.h.

#define AR_PHY_SPUR_REG_ENABLE_MASK_PPM   0x20000 /* bins move with freq offset */

Definition at line 51 of file ar9003_phy.h.

#define AR_PHY_SPUR_REG_ENABLE_MASK_PPM_S   17

Definition at line 52 of file ar9003_phy.h.

#define AR_PHY_SPUR_REG_ENABLE_NF_RSSI_SPUR_MIT   0x4000000

Definition at line 48 of file ar9003_phy.h.

#define AR_PHY_SPUR_REG_ENABLE_NF_RSSI_SPUR_MIT_S   26

Definition at line 49 of file ar9003_phy.h.

#define AR_PHY_SPUR_REG_MASK_RATE_CNTL   0x03FC0000

Definition at line 57 of file ar9003_phy.h.

#define AR_PHY_SPUR_REG_MASK_RATE_CNTL_S   18

Definition at line 58 of file ar9003_phy.h.

#define AR_PHY_SPUR_REG_SPUR_RSSI_THRESH   0x000000FF

Definition at line 53 of file ar9003_phy.h.

#define AR_PHY_SPUR_REG_SPUR_RSSI_THRESH_S   0

Definition at line 54 of file ar9003_phy.h.

#define AR_PHY_SPUR_REPORT_0   (AR_CHAN_BASE + 0xa8)

Definition at line 96 of file ar9003_phy.h.

#define AR_PHY_SPUR_REPORT_1   (AR_CHAN1_BASE + 0xa8)

Definition at line 918 of file ar9003_phy.h.

#define AR_PHY_SPUR_REPORT_2   (AR_CHAN2_BASE + 0xa8)

Definition at line 997 of file ar9003_phy.h.

#define AR_PHY_SWAP_ALT_CHAIN   0x00000040

Definition at line 776 of file ar9003_phy.h.

#define AR_PHY_SWITCH_CHAIN (   _i)    (AR_PHY_SWITCH_CHAIN_0 + (AR_PHY_CHAIN_OFFSET * (_i)))

Definition at line 1065 of file ar9003_phy.h.

#define AR_PHY_SWITCH_CHAIN_0   (AR_SM_BASE + 0x84)

Definition at line 466 of file ar9003_phy.h.

#define AR_PHY_SWITCH_CHAIN_1   (AR_SM1_BASE + 0x84)

Definition at line 952 of file ar9003_phy.h.

#define AR_PHY_SWITCH_CHAIN_2   (AR_SM2_BASE + 0x84)

Definition at line 1028 of file ar9003_phy.h.

#define AR_PHY_SWITCH_COM   (AR_SM_BASE + 0x88)

Definition at line 467 of file ar9003_phy.h.

#define AR_PHY_SWITCH_COM_2   (AR_SM_BASE + 0x8c)

Definition at line 468 of file ar9003_phy.h.

#define AR_PHY_SYNTH4_LONG_SHIFT_SELECT   ((AR_SREV_9462(ah) || AR_SREV_9565(ah)) ? 0x00000001 : 0x00000002)

Definition at line 652 of file ar9003_phy.h.

#define AR_PHY_SYNTH4_LONG_SHIFT_SELECT_S   ((AR_SREV_9462(ah) || AR_SREV_9565(ah)) ? 0 : 1)

Definition at line 653 of file ar9003_phy.h.

#define AR_PHY_SYNTH_CONTROL   (AR_SM_BASE + 0x140)

Definition at line 477 of file ar9003_phy.h.

#define AR_PHY_TEST   (AR_SM_BASE + 0x160)

Definition at line 492 of file ar9003_phy.h.

#define AR_PHY_TEST_BBB_OBS_SEL   0x780000

Definition at line 494 of file ar9003_phy.h.

#define AR_PHY_TEST_BBB_OBS_SEL_S   19

Definition at line 495 of file ar9003_phy.h.

#define AR_PHY_TEST_CHAIN_SEL   0xC0000000

Definition at line 500 of file ar9003_phy.h.

#define AR_PHY_TEST_CHAIN_SEL_S   30

Definition at line 501 of file ar9003_phy.h.

#define AR_PHY_TEST_CTL_DEBUGPORT_SEL   0xe0000000

Definition at line 514 of file ar9003_phy.h.

#define AR_PHY_TEST_CTL_DEBUGPORT_SEL_S   29

Definition at line 515 of file ar9003_phy.h.

#define AR_PHY_TEST_CTL_RX_OBS_SEL   0x3C00

Definition at line 512 of file ar9003_phy.h.

#define AR_PHY_TEST_CTL_RX_OBS_SEL_S   10

Definition at line 513 of file ar9003_phy.h.

#define AR_PHY_TEST_CTL_STATUS   (AR_SM_BASE + 0x164)

Definition at line 503 of file ar9003_phy.h.

#define AR_PHY_TEST_CTL_TSTADC_EN   0x100

Definition at line 510 of file ar9003_phy.h.

#define AR_PHY_TEST_CTL_TSTADC_EN_S   8

Definition at line 511 of file ar9003_phy.h.

#define AR_PHY_TEST_CTL_TSTDAC_EN   0x1

Definition at line 504 of file ar9003_phy.h.

#define AR_PHY_TEST_CTL_TSTDAC_EN_S   0

Definition at line 505 of file ar9003_phy.h.

#define AR_PHY_TEST_CTL_TX_OBS_MUX_SEL   0x60

Definition at line 508 of file ar9003_phy.h.

#define AR_PHY_TEST_CTL_TX_OBS_MUX_SEL_S   5

Definition at line 509 of file ar9003_phy.h.

#define AR_PHY_TEST_CTL_TX_OBS_SEL   0x1C

Definition at line 506 of file ar9003_phy.h.

#define AR_PHY_TEST_CTL_TX_OBS_SEL_S   2

Definition at line 507 of file ar9003_phy.h.

#define AR_PHY_TEST_RX_OBS_SEL_BIT5   (1 << AR_PHY_TEST_RX_OBS_SEL_BIT5_S)

Definition at line 498 of file ar9003_phy.h.

#define AR_PHY_TEST_RX_OBS_SEL_BIT5_S   23

Definition at line 497 of file ar9003_phy.h.

#define AR_PHY_TIMING1   (AR_CHAN_BASE + 0x0)

Definition at line 25 of file ar9003_phy.h.

#define AR_PHY_TIMING11   (AR_CHAN_BASE + 0x18)

Definition at line 31 of file ar9003_phy.h.

#define AR_PHY_TIMING11_SPUR_DELTA_PHASE   0x000FFFFF

Definition at line 39 of file ar9003_phy.h.

#define AR_PHY_TIMING11_SPUR_DELTA_PHASE_S   0

Definition at line 40 of file ar9003_phy.h.

#define AR_PHY_TIMING11_SPUR_FREQ_SD   0x3FF00000

Definition at line 36 of file ar9003_phy.h.

#define AR_PHY_TIMING11_SPUR_FREQ_SD_S   20

Definition at line 37 of file ar9003_phy.h.

#define AR_PHY_TIMING11_USE_SPUR_FILTER_IN_AGC   0x40000000

Definition at line 42 of file ar9003_phy.h.

#define AR_PHY_TIMING11_USE_SPUR_FILTER_IN_AGC_S   30

Definition at line 43 of file ar9003_phy.h.

#define AR_PHY_TIMING11_USE_SPUR_FILTER_IN_SELFCOR   0x80000000

Definition at line 45 of file ar9003_phy.h.

#define AR_PHY_TIMING11_USE_SPUR_FILTER_IN_SELFCOR_S   31

Definition at line 46 of file ar9003_phy.h.

#define AR_PHY_TIMING2   (AR_CHAN_BASE + 0x4)

Definition at line 26 of file ar9003_phy.h.

#define AR_PHY_TIMING2_FORCE_PPM_VAL   0x00000fff

Definition at line 103 of file ar9003_phy.h.

#define AR_PHY_TIMING2_USE_FORCE_PPM   0x00001000

Definition at line 102 of file ar9003_phy.h.

#define AR_PHY_TIMING3   (AR_CHAN_BASE + 0x8)

Definition at line 27 of file ar9003_phy.h.

#define AR_PHY_TIMING3_DSC_EXP   0x0001E000

Definition at line 106 of file ar9003_phy.h.

#define AR_PHY_TIMING3_DSC_EXP_S   13

Definition at line 107 of file ar9003_phy.h.

#define AR_PHY_TIMING3_DSC_MAN   0xFFFE0000

Definition at line 104 of file ar9003_phy.h.

#define AR_PHY_TIMING3_DSC_MAN_S   17

Definition at line 105 of file ar9003_phy.h.

#define AR_PHY_TIMING4   (AR_CHAN_BASE + 0xc)

Definition at line 28 of file ar9003_phy.h.

#define AR_PHY_TIMING4_DO_CAL   0x10000

Definition at line 110 of file ar9003_phy.h.

#define AR_PHY_TIMING4_ENABLE_CHAN_MASK   0x20000000

Definition at line 114 of file ar9003_phy.h.

#define AR_PHY_TIMING4_ENABLE_CHAN_MASK_S   29

Definition at line 115 of file ar9003_phy.h.

#define AR_PHY_TIMING4_ENABLE_PILOT_MASK   0x10000000

Definition at line 112 of file ar9003_phy.h.

#define AR_PHY_TIMING4_ENABLE_PILOT_MASK_S   28

Definition at line 113 of file ar9003_phy.h.

#define AR_PHY_TIMING4_ENABLE_SPUR_FILTER   0x40000000

Definition at line 117 of file ar9003_phy.h.

#define AR_PHY_TIMING4_ENABLE_SPUR_FILTER_S   30

Definition at line 118 of file ar9003_phy.h.

#define AR_PHY_TIMING4_ENABLE_SPUR_RSSI   0x80000000

Definition at line 119 of file ar9003_phy.h.

#define AR_PHY_TIMING4_ENABLE_SPUR_RSSI_S   31

Definition at line 120 of file ar9003_phy.h.

#define AR_PHY_TIMING4_IQCAL_LOG_COUNT_MAX   0xF000

Definition at line 108 of file ar9003_phy.h.

#define AR_PHY_TIMING4_IQCAL_LOG_COUNT_MAX_S   12

Definition at line 109 of file ar9003_phy.h.

#define AR_PHY_TIMING5   (AR_CHAN_BASE + 0x10)

Definition at line 29 of file ar9003_phy.h.

#define AR_PHY_TIMING5_CYCPWR_THR1   0x000000FE

Definition at line 154 of file ar9003_phy.h.

#define AR_PHY_TIMING5_CYCPWR_THR1_ENABLE   0x00000001

Definition at line 156 of file ar9003_phy.h.

#define AR_PHY_TIMING5_CYCPWR_THR1_ENABLE_S   0

Definition at line 157 of file ar9003_phy.h.

#define AR_PHY_TIMING5_CYCPWR_THR1_S   1

Definition at line 155 of file ar9003_phy.h.

#define AR_PHY_TIMING5_CYCPWR_THR1A   0x007F0000

Definition at line 158 of file ar9003_phy.h.

#define AR_PHY_TIMING5_CYCPWR_THR1A_S   16

Definition at line 159 of file ar9003_phy.h.

#define AR_PHY_TIMING5_RSSI_THR1A   (0x7F << 16)

Definition at line 160 of file ar9003_phy.h.

#define AR_PHY_TIMING5_RSSI_THR1A_ENA   (0x1 << 15)

Definition at line 162 of file ar9003_phy.h.

#define AR_PHY_TIMING5_RSSI_THR1A_S   16

Definition at line 161 of file ar9003_phy.h.

#define AR_PHY_TIMING6   (AR_CHAN_BASE + 0x14)

Definition at line 30 of file ar9003_phy.h.

#define AR_PHY_TIMING_3A   (AR_MRC_BASE + 0x0)

Definition at line 216 of file ar9003_phy.h.

#define AR_PHY_TPC_1   (AR_SM_BASE + 0x1f8)

Definition at line 543 of file ar9003_phy.h.

#define AR_PHY_TPC_11_B0   (AR_SM_BASE + 0x220)

Definition at line 553 of file ar9003_phy.h.

#define AR_PHY_TPC_11_B1   (AR_SM1_BASE + 0x220)

Definition at line 960 of file ar9003_phy.h.

#define AR_PHY_TPC_11_B1   (AR_SM1_BASE + 0x220)

Definition at line 960 of file ar9003_phy.h.

#define AR_PHY_TPC_11_B2   (AR_SM2_BASE + 0x220)

Definition at line 1036 of file ar9003_phy.h.

#define AR_PHY_TPC_11_B2   (AR_SM2_BASE + 0x220)

Definition at line 1036 of file ar9003_phy.h.

#define AR_PHY_TPC_11_OLPC_GAIN_DELTA   0x00ff0000

Definition at line 556 of file ar9003_phy.h.

#define AR_PHY_TPC_11_OLPC_GAIN_DELTA_S   16

Definition at line 557 of file ar9003_phy.h.

#define AR_PHY_TPC_12   (AR_SM_BASE + 0x224)

Definition at line 559 of file ar9003_phy.h.

#define AR_PHY_TPC_12_DESIRED_SCALE_HT40_5   0x3e000000

Definition at line 560 of file ar9003_phy.h.

#define AR_PHY_TPC_12_DESIRED_SCALE_HT40_5_S   25

Definition at line 561 of file ar9003_phy.h.

#define AR_PHY_TPC_18   (AR_SM_BASE + 0x23c)

Definition at line 563 of file ar9003_phy.h.

#define AR_PHY_TPC_18_THERM_CAL_VALUE   0x000000ff

Definition at line 564 of file ar9003_phy.h.

#define AR_PHY_TPC_18_THERM_CAL_VALUE_S   0

Definition at line 565 of file ar9003_phy.h.

#define AR_PHY_TPC_18_VOLT_CAL_VALUE   0x0000ff00

Definition at line 566 of file ar9003_phy.h.

#define AR_PHY_TPC_18_VOLT_CAL_VALUE_S   8

Definition at line 567 of file ar9003_phy.h.

#define AR_PHY_TPC_19   (AR_SM_BASE + 0x240)

Definition at line 569 of file ar9003_phy.h.

#define AR_PHY_TPC_19_ALPHA_THERM   0xff

Definition at line 572 of file ar9003_phy.h.

#define AR_PHY_TPC_19_ALPHA_THERM_S   0

Definition at line 573 of file ar9003_phy.h.

#define AR_PHY_TPC_19_ALPHA_VOLT   0x001f0000

Definition at line 570 of file ar9003_phy.h.

#define AR_PHY_TPC_19_ALPHA_VOLT_S   16

Definition at line 571 of file ar9003_phy.h.

#define AR_PHY_TPC_19_B1   (AR_SM1_BASE + 0x240)

Definition at line 963 of file ar9003_phy.h.

#define AR_PHY_TPC_19_B1_ALPHA_THERM   0xff

Definition at line 964 of file ar9003_phy.h.

#define AR_PHY_TPC_19_B1_ALPHA_THERM_S   0

Definition at line 965 of file ar9003_phy.h.

#define AR_PHY_TPC_1_FORCE_DAC_GAIN   0x00000001

Definition at line 546 of file ar9003_phy.h.

#define AR_PHY_TPC_1_FORCE_DAC_GAIN_S   0

Definition at line 547 of file ar9003_phy.h.

#define AR_PHY_TPC_1_FORCED_DAC_GAIN   0x0000003e

Definition at line 544 of file ar9003_phy.h.

#define AR_PHY_TPC_1_FORCED_DAC_GAIN_S   1

Definition at line 545 of file ar9003_phy.h.

#define AR_PHY_TPC_4_B0   (AR_SM_BASE + 0x204)

Definition at line 549 of file ar9003_phy.h.

#define AR_PHY_TPC_4_B1   (AR_SM1_BASE + 0x204)

Definition at line 957 of file ar9003_phy.h.

#define AR_PHY_TPC_4_B2   (AR_SM2_BASE + 0x204)

Definition at line 1033 of file ar9003_phy.h.

#define AR_PHY_TPC_5_B0   (AR_SM_BASE + 0x208)

Definition at line 550 of file ar9003_phy.h.

#define AR_PHY_TPC_5_B1   (AR_SM1_BASE + 0x208)

Definition at line 958 of file ar9003_phy.h.

#define AR_PHY_TPC_5_B2   (AR_SM2_BASE + 0x208)

Definition at line 1034 of file ar9003_phy.h.

#define AR_PHY_TPC_6_B0   (AR_SM_BASE + 0x20c)

Definition at line 551 of file ar9003_phy.h.

#define AR_PHY_TPC_6_B1   (AR_SM1_BASE + 0x20c)

Definition at line 959 of file ar9003_phy.h.

#define AR_PHY_TPC_6_B2   (AR_SM2_BASE + 0x20c)

Definition at line 1035 of file ar9003_phy.h.

#define AR_PHY_TPC_6_ERROR_EST_MODE   0x03000000

Definition at line 439 of file ar9003_phy.h.

#define AR_PHY_TPC_6_ERROR_EST_MODE_S   24

Definition at line 440 of file ar9003_phy.h.

#define AR_PHY_TPC_OLPC_GAIN_DELTA   0x00FF0000

Definition at line 436 of file ar9003_phy.h.

#define AR_PHY_TPC_OLPC_GAIN_DELTA_PAL_ON   0xFF000000

Definition at line 434 of file ar9003_phy.h.

#define AR_PHY_TPC_OLPC_GAIN_DELTA_PAL_ON_S   24

Definition at line 435 of file ar9003_phy.h.

#define AR_PHY_TPC_OLPC_GAIN_DELTA_S   16

Definition at line 437 of file ar9003_phy.h.

#define AR_PHY_TPCGR1_FORCE_DAC_GAIN   0x00000001

Definition at line 824 of file ar9003_phy.h.

#define AR_PHY_TPCGR1_FORCED_DAC_GAIN   0x0000003e

Definition at line 822 of file ar9003_phy.h.

#define AR_PHY_TPCGR1_FORCED_DAC_GAIN_S   1

Definition at line 823 of file ar9003_phy.h.

#define AR_PHY_TPCRG1_NUM_PD_GAIN   0x0000c000

Definition at line 814 of file ar9003_phy.h.

#define AR_PHY_TPCRG1_NUM_PD_GAIN_S   14

Definition at line 815 of file ar9003_phy.h.

#define AR_PHY_TPCRG1_PD_CAL_ENABLE   0x00400000

Definition at line 747 of file ar9003_phy.h.

#define AR_PHY_TPCRG1_PD_CAL_ENABLE_S   22

Definition at line 748 of file ar9003_phy.h.

#define AR_PHY_TPCRG1_PD_GAIN_1   0x00030000

Definition at line 816 of file ar9003_phy.h.

#define AR_PHY_TPCRG1_PD_GAIN_1_S   16

Definition at line 817 of file ar9003_phy.h.

#define AR_PHY_TPCRG1_PD_GAIN_2   0x000C0000

Definition at line 818 of file ar9003_phy.h.

#define AR_PHY_TPCRG1_PD_GAIN_2_S   18

Definition at line 819 of file ar9003_phy.h.

#define AR_PHY_TPCRG1_PD_GAIN_3   0x00300000

Definition at line 820 of file ar9003_phy.h.

#define AR_PHY_TPCRG1_PD_GAIN_3_S   20

Definition at line 821 of file ar9003_phy.h.

#define AR_PHY_TPCRG5 (   _i)    (AR_PHY_TPC_5_B0 + (AR_PHY_CHAIN_OFFSET * (_i)))

Definition at line 1069 of file ar9003_phy.h.

#define AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_1   0x000003F0

Definition at line 806 of file ar9003_phy.h.

#define AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_1_S   4

Definition at line 807 of file ar9003_phy.h.

#define AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_2   0x0000FC00

Definition at line 808 of file ar9003_phy.h.

#define AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_2_S   10

Definition at line 809 of file ar9003_phy.h.

#define AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_3   0x003F0000

Definition at line 810 of file ar9003_phy.h.

#define AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_3_S   16

Definition at line 811 of file ar9003_phy.h.

#define AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_4   0x0FC00000

Definition at line 812 of file ar9003_phy.h.

#define AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_4_S   22

Definition at line 813 of file ar9003_phy.h.

#define AR_PHY_TPCRG5_PD_GAIN_OVERLAP   0x0000000F

Definition at line 804 of file ar9003_phy.h.

#define AR_PHY_TPCRG5_PD_GAIN_OVERLAP_S   0

Definition at line 805 of file ar9003_phy.h.

#define AR_PHY_TST_ADC   (AR_MRC_BASE + 0x20)

Definition at line 224 of file ar9003_phy.h.

#define AR_PHY_TST_DAC_CONST   (AR_CHAN_BASE + 0xa4)

Definition at line 95 of file ar9003_phy.h.

#define AR_PHY_TSTDAC   (AR_SM_BASE + 0x168)

Definition at line 518 of file ar9003_phy.h.

#define AR_PHY_TX_CRC   (AR_CHAN_BASE + 0xa0)

Definition at line 94 of file ar9003_phy.h.

#define AR_PHY_TX_END_DATA_START   0x000000FF

Definition at line 800 of file ar9003_phy.h.

#define AR_PHY_TX_END_DATA_START_S   0

Definition at line 801 of file ar9003_phy.h.

#define AR_PHY_TX_END_PA_ON   0x0000FF00

Definition at line 802 of file ar9003_phy.h.

#define AR_PHY_TX_END_PA_ON_S   8

Definition at line 803 of file ar9003_phy.h.

#define AR_PHY_TX_END_TO_A2_RX_ON   0x00FF0000

Definition at line 798 of file ar9003_phy.h.

#define AR_PHY_TX_END_TO_A2_RX_ON_S   16

Definition at line 799 of file ar9003_phy.h.

#define AR_PHY_TX_FORCED_GAIN   (AR_SM_BASE + 0x258)

Definition at line 575 of file ar9003_phy.h.

#define AR_PHY_TX_FORCED_GAIN_FORCE_TX_GAIN   0x00000001

Definition at line 576 of file ar9003_phy.h.

#define AR_PHY_TX_FORCED_GAIN_FORCE_TX_GAIN_S   0

Definition at line 577 of file ar9003_phy.h.

#define AR_PHY_TX_FORCED_GAIN_FORCED_ENABLE_PAL   0x01000000

Definition at line 592 of file ar9003_phy.h.

#define AR_PHY_TX_FORCED_GAIN_FORCED_ENABLE_PAL_S   24

Definition at line 593 of file ar9003_phy.h.

#define AR_PHY_TX_FORCED_GAIN_FORCED_PADRVGNA   0x00003c00

Definition at line 584 of file ar9003_phy.h.

#define AR_PHY_TX_FORCED_GAIN_FORCED_PADRVGNA_S   10

Definition at line 585 of file ar9003_phy.h.

#define AR_PHY_TX_FORCED_GAIN_FORCED_PADRVGNB   0x0003c000

Definition at line 586 of file ar9003_phy.h.

#define AR_PHY_TX_FORCED_GAIN_FORCED_PADRVGNB_S   14

Definition at line 587 of file ar9003_phy.h.

#define AR_PHY_TX_FORCED_GAIN_FORCED_PADRVGNC   0x003c0000

Definition at line 588 of file ar9003_phy.h.

#define AR_PHY_TX_FORCED_GAIN_FORCED_PADRVGNC_S   18

Definition at line 589 of file ar9003_phy.h.

#define AR_PHY_TX_FORCED_GAIN_FORCED_PADRVGND   0x00c00000

Definition at line 590 of file ar9003_phy.h.

#define AR_PHY_TX_FORCED_GAIN_FORCED_PADRVGND_S   22

Definition at line 591 of file ar9003_phy.h.

#define AR_PHY_TX_FORCED_GAIN_FORCED_TXBB1DBGAIN   0x0000000e

Definition at line 578 of file ar9003_phy.h.

#define AR_PHY_TX_FORCED_GAIN_FORCED_TXBB1DBGAIN_S   1

Definition at line 579 of file ar9003_phy.h.

#define AR_PHY_TX_FORCED_GAIN_FORCED_TXBB6DBGAIN   0x00000030

Definition at line 580 of file ar9003_phy.h.

#define AR_PHY_TX_FORCED_GAIN_FORCED_TXBB6DBGAIN_S   4

Definition at line 581 of file ar9003_phy.h.

#define AR_PHY_TX_FORCED_GAIN_FORCED_TXMXRGAIN   0x000003c0

Definition at line 582 of file ar9003_phy.h.

#define AR_PHY_TX_FORCED_GAIN_FORCED_TXMXRGAIN_S   6

Definition at line 583 of file ar9003_phy.h.

#define AR_PHY_TX_IQCAL_CONTROL_0
Value:
0x3c4 : 0x444))

Definition at line 600 of file ar9003_phy.h.

#define AR_PHY_TX_IQCAL_CONTROL_0_ENABLE_TXIQ_CAL   0x80000000

Definition at line 885 of file ar9003_phy.h.

#define AR_PHY_TX_IQCAL_CONTROL_0_ENABLE_TXIQ_CAL_S   31

Definition at line 886 of file ar9003_phy.h.

#define AR_PHY_TX_IQCAL_CONTROL_1
Value:
0x3c8 : 0x448))

Definition at line 602 of file ar9003_phy.h.

#define AR_PHY_TX_IQCAL_CONTROL_1_IQCORR_I_Q_COFF_DELPT   0x01fc0000

Definition at line 887 of file ar9003_phy.h.

#define AR_PHY_TX_IQCAL_CONTROL_1_IQCORR_I_Q_COFF_DELPT_S   18

Definition at line 888 of file ar9003_phy.h.

#define AR_PHY_TX_IQCAL_CONTROL_3   (AR_CHAN_BASE + 0xb0)

Definition at line 34 of file ar9003_phy.h.

#define AR_PHY_TX_IQCAL_CONTROL_3_IQCORR_EN   0x80000000

Definition at line 63 of file ar9003_phy.h.

#define AR_PHY_TX_IQCAL_CONTROL_3_IQCORR_EN_S   31

Definition at line 64 of file ar9003_phy.h.

#define AR_PHY_TX_IQCAL_CORR_COEFF_00_COEFF_TABLE   0x00003fff

Definition at line 896 of file ar9003_phy.h.

#define AR_PHY_TX_IQCAL_CORR_COEFF_00_COEFF_TABLE_S   0

Definition at line 897 of file ar9003_phy.h.

#define AR_PHY_TX_IQCAL_CORR_COEFF_01_COEFF_TABLE   0x0fffc000

Definition at line 898 of file ar9003_phy.h.

#define AR_PHY_TX_IQCAL_CORR_COEFF_01_COEFF_TABLE_S   14

Definition at line 899 of file ar9003_phy.h.

#define AR_PHY_TX_IQCAL_CORR_COEFF_B0 (   _i)
Value:
0x3d0 : 0x450) + ((_i) << 2))

Definition at line 608 of file ar9003_phy.h.

#define AR_PHY_TX_IQCAL_CORR_COEFF_B1 (   _i)    (AR_SM1_BASE + 0x450 + ((_i) << 2))

Definition at line 967 of file ar9003_phy.h.

#define AR_PHY_TX_IQCAL_CORR_COEFF_B2 (   _i)    (AR_SM2_BASE + 0x450 + ((_i) << 2))

Definition at line 1039 of file ar9003_phy.h.

#define AR_PHY_TX_IQCAL_START
Value:
0x3c4 : 0x440))

Definition at line 604 of file ar9003_phy.h.

#define AR_PHY_TX_IQCAL_START_DO_CAL   0x00000001

Definition at line 889 of file ar9003_phy.h.

#define AR_PHY_TX_IQCAL_START_DO_CAL_S   0

Definition at line 890 of file ar9003_phy.h.

#define AR_PHY_TX_IQCAL_STATUS_B0
Value:
0x3f0 : 0x48c))

Definition at line 606 of file ar9003_phy.h.

#define AR_PHY_TX_IQCAL_STATUS_B1   (AR_SM1_BASE + 0x48c)

Definition at line 966 of file ar9003_phy.h.

#define AR_PHY_TX_IQCAL_STATUS_B2   (AR_SM2_BASE + 0x48c)

Definition at line 1038 of file ar9003_phy.h.

#define AR_PHY_TX_IQCAL_STATUS_B2_FAILED   0x00000001

Definition at line 1041 of file ar9003_phy.h.

#define AR_PHY_TX_IQCAL_STATUS_FAILED   0x00000001

Definition at line 892 of file ar9003_phy.h.

#define AR_PHY_TX_PHASE_RAMP_0   (AR_CHAN_BASE + 0xd0)

Definition at line 79 of file ar9003_phy.h.

#define AR_PHY_TX_PHASE_RAMP_0_9300_10   (AR_CHAN_BASE + 0xd0 - 0x10)

Definition at line 87 of file ar9003_phy.h.

#define AR_PHY_TX_PHASE_RAMP_1   (AR_CHAN1_BASE + 0xd0)

Definition at line 915 of file ar9003_phy.h.

#define AR_PHY_TX_PHASE_RAMP_2   (AR_CHAN2_BASE + 0xd0)

Definition at line 994 of file ar9003_phy.h.

#define AR_PHY_TXGAIN_FORCE   0x00000001

Definition at line 825 of file ar9003_phy.h.

#define AR_PHY_TXGAIN_FORCE_S   0

Definition at line 826 of file ar9003_phy.h.

#define AR_PHY_TXGAIN_FORCED_PADVGNRA   0x00003c00

Definition at line 827 of file ar9003_phy.h.

#define AR_PHY_TXGAIN_FORCED_PADVGNRA_S   10

Definition at line 828 of file ar9003_phy.h.

#define AR_PHY_TXGAIN_FORCED_PADVGNRB   0x0003c000

Definition at line 829 of file ar9003_phy.h.

#define AR_PHY_TXGAIN_FORCED_PADVGNRB_S   14

Definition at line 830 of file ar9003_phy.h.

#define AR_PHY_TXGAIN_FORCED_PADVGNRD   0x00c00000

Definition at line 831 of file ar9003_phy.h.

#define AR_PHY_TXGAIN_FORCED_PADVGNRD_S   22

Definition at line 832 of file ar9003_phy.h.

#define AR_PHY_TXGAIN_FORCED_TXBB1DBGAIN   0x0000000e

Definition at line 835 of file ar9003_phy.h.

#define AR_PHY_TXGAIN_FORCED_TXBB1DBGAIN_S   1

Definition at line 836 of file ar9003_phy.h.

#define AR_PHY_TXGAIN_FORCED_TXMXRGAIN   0x000003c0

Definition at line 833 of file ar9003_phy.h.

#define AR_PHY_TXGAIN_FORCED_TXMXRGAIN_S   6

Definition at line 834 of file ar9003_phy.h.

#define AR_PHY_TXGAIN_TABLE   (AR_SM_BASE + 0x300)

Definition at line 598 of file ar9003_phy.h.

#define AR_PHY_VGAGAIN_LONG_SHIFT   0x1c000000

Definition at line 735 of file ar9003_phy.h.

#define AR_PHY_VGAGAIN_LONG_SHIFT_S   26

Definition at line 736 of file ar9003_phy.h.

#define AR_PHY_WATCHDOG_AGC_SM   0x0F000000

Definition at line 1104 of file ar9003_phy.h.

#define AR_PHY_WATCHDOG_AGC_SM_S   24

Definition at line 1105 of file ar9003_phy.h.

#define AR_PHY_WATCHDOG_CNTL2_MASK   0xFFFFFFF9

Definition at line 1088 of file ar9003_phy.h.

#define AR_PHY_WATCHDOG_CTL   (AR_SM_BASE + 0x5cc)

Definition at line 616 of file ar9003_phy.h.

#define AR_PHY_WATCHDOG_CTL_1   (AR_SM_BASE + 0x5c4)

Definition at line 614 of file ar9003_phy.h.

#define AR_PHY_WATCHDOG_CTL_2   (AR_SM_BASE + 0x5c8)

Definition at line 615 of file ar9003_phy.h.

#define AR_PHY_WATCHDOG_DET_HANG   0x00000008

Definition at line 1092 of file ar9003_phy.h.

#define AR_PHY_WATCHDOG_DET_HANG_S   3

Definition at line 1093 of file ar9003_phy.h.

#define AR_PHY_WATCHDOG_IDLE_ENABLE   0x00000002

Definition at line 1082 of file ar9003_phy.h.

#define AR_PHY_WATCHDOG_IDLE_MASK   0xFFFF0000

Definition at line 1083 of file ar9003_phy.h.

#define AR_PHY_WATCHDOG_INFO   0x00000007

Definition at line 1090 of file ar9003_phy.h.

#define AR_PHY_WATCHDOG_INFO_S   0

Definition at line 1091 of file ar9003_phy.h.

#define AR_PHY_WATCHDOG_IRQ_ENABLE   0x00000004

Definition at line 1087 of file ar9003_phy.h.

#define AR_PHY_WATCHDOG_NON_IDLE_ENABLE   0x00000001

Definition at line 1081 of file ar9003_phy.h.

#define AR_PHY_WATCHDOG_NON_IDLE_MASK   0x0000FFFC

Definition at line 1084 of file ar9003_phy.h.

#define AR_PHY_WATCHDOG_RADAR_SM   0x000000F0

Definition at line 1094 of file ar9003_phy.h.

#define AR_PHY_WATCHDOG_RADAR_SM_S   4

Definition at line 1095 of file ar9003_phy.h.

#define AR_PHY_WATCHDOG_RST_ENABLE   0x00000002

Definition at line 1086 of file ar9003_phy.h.

#define AR_PHY_WATCHDOG_RX_CCK_SM   0x0000F000

Definition at line 1098 of file ar9003_phy.h.

#define AR_PHY_WATCHDOG_RX_CCK_SM_S   12

Definition at line 1099 of file ar9003_phy.h.

#define AR_PHY_WATCHDOG_RX_OFDM_SM   0x00000F00

Definition at line 1096 of file ar9003_phy.h.

#define AR_PHY_WATCHDOG_RX_OFDM_SM_S   8

Definition at line 1097 of file ar9003_phy.h.

#define AR_PHY_WATCHDOG_SRCH_SM   0xF0000000

Definition at line 1106 of file ar9003_phy.h.

#define AR_PHY_WATCHDOG_SRCH_SM_S   28

Definition at line 1107 of file ar9003_phy.h.

#define AR_PHY_WATCHDOG_STATUS   (AR_SM_BASE + 0x5c0)

Definition at line 613 of file ar9003_phy.h.

#define AR_PHY_WATCHDOG_STATUS_CLR   0x00000008

Definition at line 1109 of file ar9003_phy.h.

#define AR_PHY_WATCHDOG_TX_CCK_SM   0x00F00000

Definition at line 1102 of file ar9003_phy.h.

#define AR_PHY_WATCHDOG_TX_CCK_SM_S   20

Definition at line 1103 of file ar9003_phy.h.

#define AR_PHY_WATCHDOG_TX_OFDM_SM   0x000F0000

Definition at line 1100 of file ar9003_phy.h.

#define AR_PHY_WATCHDOG_TX_OFDM_SM_S   16

Definition at line 1101 of file ar9003_phy.h.

#define AR_PHY_XPA_CFG   (AR_SM_BASE + 0x158)

Definition at line 482 of file ar9003_phy.h.

#define AR_PHY_XPA_TIMING_CTL   (AR_SM_BASE + 0x64)

Definition at line 1114 of file ar9003_phy.h.

#define AR_PHY_XPA_TIMING_CTL   (AR_SM_BASE + 0x64)

Definition at line 1114 of file ar9003_phy.h.

#define AR_PHY_XPA_TIMING_CTL_FRAME_XPAA_ON   0x000000FF

Definition at line 796 of file ar9003_phy.h.

#define AR_PHY_XPA_TIMING_CTL_FRAME_XPAA_ON_S   0

Definition at line 797 of file ar9003_phy.h.

#define AR_PHY_XPA_TIMING_CTL_FRAME_XPAB_ON   0x0000FF00

Definition at line 794 of file ar9003_phy.h.

#define AR_PHY_XPA_TIMING_CTL_FRAME_XPAB_ON_S   8

Definition at line 795 of file ar9003_phy.h.

#define AR_PHY_XPA_TIMING_CTL_TX_END_XPAA_OFF   0x00FF0000

Definition at line 792 of file ar9003_phy.h.

#define AR_PHY_XPA_TIMING_CTL_TX_END_XPAA_OFF_S   16

Definition at line 793 of file ar9003_phy.h.

#define AR_PHY_XPA_TIMING_CTL_TX_END_XPAB_OFF   0xFF000000

Definition at line 790 of file ar9003_phy.h.

#define AR_PHY_XPA_TIMING_CTL_TX_END_XPAB_OFF_S   24

Definition at line 791 of file ar9003_phy.h.

#define AR_SM1_BASE   0xb200

Definition at line 950 of file ar9003_phy.h.

#define AR_SM2_BASE   0xc200

Definition at line 1026 of file ar9003_phy.h.

#define AR_SM_BASE   0xa200

Definition at line 445 of file ar9003_phy.h.

#define AR_SWITCH_TABLE_ALL   (0xfff)

Definition at line 687 of file ar9003_phy.h.

#define AR_SWITCH_TABLE_ALL_S   (0)

Definition at line 688 of file ar9003_phy.h.

#define AR_SWITCH_TABLE_COM2_ALL   (0xffffff)

Definition at line 684 of file ar9003_phy.h.

#define AR_SWITCH_TABLE_COM2_ALL_S   (0)

Definition at line 685 of file ar9003_phy.h.

#define AR_SWITCH_TABLE_COM_ALL   (0xffff)

Definition at line 674 of file ar9003_phy.h.

#define AR_SWITCH_TABLE_COM_ALL_S   (0)

Definition at line 675 of file ar9003_phy.h.

#define AR_SWITCH_TABLE_COM_AR9462_ALL   (0xffffff)

Definition at line 676 of file ar9003_phy.h.

#define AR_SWITCH_TABLE_COM_AR9462_ALL_S   (0)

Definition at line 677 of file ar9003_phy.h.

#define AR_SWITCH_TABLE_COM_AR9550_ALL   (0xffffff)

Definition at line 678 of file ar9003_phy.h.

#define AR_SWITCH_TABLE_COM_AR9550_ALL_S   (0)

Definition at line 679 of file ar9003_phy.h.

#define AR_SWITCH_TABLE_COM_SPDT   (0x00f00000)

Definition at line 680 of file ar9003_phy.h.

#define AR_SWITCH_TABLE_COM_SPDT_ALL   (0x0000fff0)

Definition at line 681 of file ar9003_phy.h.

#define AR_SWITCH_TABLE_COM_SPDT_ALL_S   (4)

Definition at line 682 of file ar9003_phy.h.

#define PHY_AGC_CLR   0x10000000

Definition at line 842 of file ar9003_phy.h.

#define RFSILENT_BB   0x00002000

Definition at line 843 of file ar9003_phy.h.