iPXE
Defines | Functions
ar9002_phy.h File Reference

Go to the source code of this file.

Defines

#define AR_PHY_TEST   0x9800
#define PHY_AGC_CLR   0x10000000
#define RFSILENT_BB   0x00002000
#define AR_PHY_TURBO   0x9804
#define AR_PHY_FC_TURBO_MODE   0x00000001
#define AR_PHY_FC_TURBO_SHORT   0x00000002
#define AR_PHY_FC_DYN2040_EN   0x00000004
#define AR_PHY_FC_DYN2040_PRI_ONLY   0x00000008
#define AR_PHY_FC_DYN2040_PRI_CH   0x00000010
#define AR_PHY_FC_DYN2040_EXT_CH   0x00000020
#define AR_PHY_FC_HT_EN   0x00000040
#define AR_PHY_FC_SHORT_GI_40   0x00000080
#define AR_PHY_FC_WALSH   0x00000100
#define AR_PHY_FC_SINGLE_HT_LTF1   0x00000200
#define AR_PHY_FC_ENABLE_DAC_FIFO   0x00000800
#define AR_PHY_TEST2   0x9808
#define AR_PHY_TIMING2   0x9810
#define AR_PHY_TIMING3   0x9814
#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_CHIP_ID_REV_0   0x80
#define AR_PHY_CHIP_ID_REV_1   0x81
#define AR_PHY_CHIP_ID_9160_REV_0   0xb0
#define AR_PHY_ACTIVE   0x981C
#define AR_PHY_ACTIVE_EN   0x00000001
#define AR_PHY_ACTIVE_DIS   0x00000000
#define AR_PHY_RF_CTL2   0x9824
#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_RF_CTL3   0x9828
#define AR_PHY_TX_END_TO_A2_RX_ON   0x00FF0000
#define AR_PHY_TX_END_TO_A2_RX_ON_S   16
#define AR_PHY_ADC_CTL   0x982C
#define AR_PHY_ADC_CTL_OFF_INBUFGAIN   0x00000003
#define AR_PHY_ADC_CTL_OFF_INBUFGAIN_S   0
#define AR_PHY_ADC_CTL_OFF_PWDDAC   0x00002000
#define AR_PHY_ADC_CTL_OFF_PWDBANDGAP   0x00004000
#define AR_PHY_ADC_CTL_OFF_PWDADC   0x00008000
#define AR_PHY_ADC_CTL_ON_INBUFGAIN   0x00030000
#define AR_PHY_ADC_CTL_ON_INBUFGAIN_S   16
#define AR_PHY_ADC_SERIAL_CTL   0x9830
#define AR_PHY_SEL_INTERNAL_ADDAC   0x00000000
#define AR_PHY_SEL_EXTERNAL_RADIO   0x00000001
#define AR_PHY_RF_CTL4   0x9834
#define AR_PHY_RF_CTL4_TX_END_XPAB_OFF   0xFF000000
#define AR_PHY_RF_CTL4_TX_END_XPAB_OFF_S   24
#define AR_PHY_RF_CTL4_TX_END_XPAA_OFF   0x00FF0000
#define AR_PHY_RF_CTL4_TX_END_XPAA_OFF_S   16
#define AR_PHY_RF_CTL4_FRAME_XPAB_ON   0x0000FF00
#define AR_PHY_RF_CTL4_FRAME_XPAB_ON_S   8
#define AR_PHY_RF_CTL4_FRAME_XPAA_ON   0x000000FF
#define AR_PHY_RF_CTL4_FRAME_XPAA_ON_S   0
#define AR_PHY_TSTDAC_CONST   0x983c
#define AR_PHY_SETTLING   0x9844
#define AR_PHY_SETTLING_SWITCH   0x00003F80
#define AR_PHY_SETTLING_SWITCH_S   7
#define AR_PHY_RXGAIN   0x9848
#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_DESIRED_SZ   0x9850
#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_FIND_SIG   0x9858
#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_LOW   0x9840
#define AR_PHY_FIND_SIG_FIRSTEP_LOW   0x00000FC0L
#define AR_PHY_FIND_SIG_FIRSTEP_LOW_S   6
#define AR_PHY_AGC_CTL1   0x985C
#define AR_PHY_AGC_CTL1_COARSE_LOW   0x00007F80
#define AR_PHY_AGC_CTL1_COARSE_LOW_S   7
#define AR_PHY_AGC_CTL1_COARSE_HIGH   0x003F8000
#define AR_PHY_AGC_CTL1_COARSE_HIGH_S   15
#define AR_PHY_CCA   0x9864
#define AR_PHY_MINCCA_PWR   0x0FF80000
#define AR_PHY_MINCCA_PWR_S   19
#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_SFCORR_LOW   0x986C
#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   0x9868
#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_SLEEP_CTR_CONTROL   0x9870
#define AR_PHY_SLEEP_CTR_LIMIT   0x9874
#define AR_PHY_SYNTH_CONTROL   0x9874
#define AR_PHY_SLEEP_SCAL   0x9878
#define AR_PHY_PLL_CTL   0x987c
#define AR_PHY_PLL_CTL_40   0xaa
#define AR_PHY_PLL_CTL_40_5413   0x04
#define AR_PHY_PLL_CTL_44   0xab
#define AR_PHY_PLL_CTL_44_2133   0xeb
#define AR_PHY_PLL_CTL_40_2133   0xea
#define AR_PHY_SPECTRAL_SCAN   0x9910 /* AR9280 spectral scan configuration register */
#define AR_PHY_SPECTRAL_SCAN_ENABLE   0x1
#define AR_PHY_SPECTRAL_SCAN_ENA   0x00000001 /* Enable spectral scan, reg 68, bit 0 */
#define AR_PHY_SPECTRAL_SCAN_ENA_S   0 /* Enable spectral scan, reg 68, bit 0 */
#define AR_PHY_SPECTRAL_SCAN_ACTIVE   0x00000002 /* Activate spectral scan reg 68, bit 1*/
#define AR_PHY_SPECTRAL_SCAN_ACTIVE_S   1 /* Activate spectral scan reg 68, bit 1*/
#define AR_PHY_SPECTRAL_SCAN_FFT_PERIOD   0x000000F0 /* Interval for FFT reports, reg 68, bits 4-7*/
#define AR_PHY_SPECTRAL_SCAN_FFT_PERIOD_S   4
#define AR_PHY_SPECTRAL_SCAN_PERIOD   0x0000FF00 /* Interval for FFT reports, reg 68, bits 8-15*/
#define AR_PHY_SPECTRAL_SCAN_PERIOD_S   8
#define AR_PHY_SPECTRAL_SCAN_COUNT   0x00FF0000 /* Number of reports, reg 68, bits 16-23*/
#define AR_PHY_SPECTRAL_SCAN_COUNT_S   16
#define AR_PHY_SPECTRAL_SCAN_SHORT_REPEAT   0x01000000 /* Short repeat, reg 68, bit 24*/
#define AR_PHY_SPECTRAL_SCAN_SHORT_REPEAT_S   24 /* Short repeat, reg 68, bit 24*/
#define AR_PHY_RX_DELAY   0x9914
#define AR_PHY_SEARCH_START_DELAY   0x9918
#define AR_PHY_RX_DELAY_DELAY   0x00003FFF
#define AR_PHY_TIMING_CTRL4(_i)   (0x9920 + ((_i) << 12))
#define AR_PHY_TIMING_CTRL4_IQCORR_Q_Q_COFF   0x01F
#define AR_PHY_TIMING_CTRL4_IQCORR_Q_Q_COFF_S   0
#define AR_PHY_TIMING_CTRL4_IQCORR_Q_I_COFF   0x7E0
#define AR_PHY_TIMING_CTRL4_IQCORR_Q_I_COFF_S   5
#define AR_PHY_TIMING_CTRL4_IQCORR_ENABLE   0x800
#define AR_PHY_TIMING_CTRL4_IQCAL_LOG_COUNT_MAX   0xF000
#define AR_PHY_TIMING_CTRL4_IQCAL_LOG_COUNT_MAX_S   12
#define AR_PHY_TIMING_CTRL4_DO_CAL   0x10000
#define AR_PHY_TIMING_CTRL4_ENABLE_SPUR_RSSI   0x80000000
#define AR_PHY_TIMING_CTRL4_ENABLE_SPUR_FILTER   0x40000000
#define AR_PHY_TIMING_CTRL4_ENABLE_CHAN_MASK   0x20000000
#define AR_PHY_TIMING_CTRL4_ENABLE_PILOT_MASK   0x10000000
#define AR_PHY_TIMING5   0x9924
#define AR_PHY_TIMING5_CYCPWR_THR1   0x000000FE
#define AR_PHY_TIMING5_CYCPWR_THR1_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 AR_PHY_FRAME_CTL   0x9944
#define AR_PHY_FRAME_CTL_TX_CLIP   0x00000038
#define AR_PHY_FRAME_CTL_TX_CLIP_S   3
#define AR_PHY_TXPWRADJ   0x994C
#define AR_PHY_TXPWRADJ_CCK_GAIN_DELTA   0x00000FC0
#define AR_PHY_TXPWRADJ_CCK_GAIN_DELTA_S   6
#define AR_PHY_TXPWRADJ_CCK_PCDAC_INDEX   0x00FC0000
#define AR_PHY_TXPWRADJ_CCK_PCDAC_INDEX_S   18
#define AR_PHY_RADAR_EXT   0x9940
#define AR_PHY_RADAR_EXT_ENA   0x00004000
#define AR_PHY_RADAR_0   0x9954
#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   0x9958
#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_SWITCH_CHAIN_0   0x9960
#define AR_PHY_SWITCH_COM   0x9964
#define AR_PHY_SIGMA_DELTA   0x996C
#define AR_PHY_SIGMA_DELTA_ADC_SEL   0x00000003
#define AR_PHY_SIGMA_DELTA_ADC_SEL_S   0
#define AR_PHY_SIGMA_DELTA_FILT2   0x000000F8
#define AR_PHY_SIGMA_DELTA_FILT2_S   3
#define AR_PHY_SIGMA_DELTA_FILT1   0x00001F00
#define AR_PHY_SIGMA_DELTA_FILT1_S   8
#define AR_PHY_SIGMA_DELTA_ADC_CLIP   0x01FFE000
#define AR_PHY_SIGMA_DELTA_ADC_CLIP_S   13
#define AR_PHY_RESTART   0x9970
#define AR_PHY_RESTART_DIV_GC   0x001C0000
#define AR_PHY_RESTART_DIV_GC_S   18
#define AR_PHY_RFBUS_REQ   0x997C
#define AR_PHY_RFBUS_REQ_EN   0x00000001
#define AR_PHY_TIMING7   0x9980
#define AR_PHY_TIMING8   0x9984
#define AR_PHY_TIMING8_PILOT_MASK_2   0x000FFFFF
#define AR_PHY_TIMING8_PILOT_MASK_2_S   0
#define AR_PHY_BIN_MASK2_1   0x9988
#define AR_PHY_BIN_MASK2_2   0x998c
#define AR_PHY_BIN_MASK2_3   0x9990
#define AR_PHY_BIN_MASK2_4   0x9994
#define AR_PHY_BIN_MASK_1   0x9900
#define AR_PHY_BIN_MASK_2   0x9904
#define AR_PHY_BIN_MASK_3   0x9908
#define AR_PHY_MASK_CTL   0x990c
#define AR_PHY_BIN_MASK2_4_MASK_4   0x00003FFF
#define AR_PHY_BIN_MASK2_4_MASK_4_S   0
#define AR_PHY_TIMING9   0x9998
#define AR_PHY_TIMING10   0x999c
#define AR_PHY_TIMING10_PILOT_MASK_2   0x000FFFFF
#define AR_PHY_TIMING10_PILOT_MASK_2_S   0
#define AR_PHY_TIMING11   0x99a0
#define AR_PHY_TIMING11_SPUR_DELTA_PHASE   0x000FFFFF
#define AR_PHY_TIMING11_SPUR_DELTA_PHASE_S   0
#define AR_PHY_TIMING11_USE_SPUR_IN_AGC   0x40000000
#define AR_PHY_TIMING11_USE_SPUR_IN_SELFCOR   0x80000000
#define AR_PHY_RX_CHAINMASK   0x99a4
#define AR_PHY_NEW_ADC_DC_GAIN_CORR(_i)   (0x99b4 + ((_i) << 12))
#define AR_PHY_NEW_ADC_GAIN_CORR_ENABLE   0x40000000
#define AR_PHY_NEW_ADC_DC_OFFSET_CORR_ENABLE   0x80000000
#define AR_PHY_MULTICHAIN_GAIN_CTL   0x99ac
#define AR_PHY_9285_FAST_DIV_BIAS   0x00007E00
#define AR_PHY_9285_FAST_DIV_BIAS_S   9
#define AR_PHY_9285_ANT_DIV_CTL_ALL   0x7f000000
#define AR_PHY_9285_ANT_DIV_CTL   0x01000000
#define AR_PHY_9285_ANT_DIV_CTL_S   24
#define AR_PHY_9285_ANT_DIV_ALT_LNACONF   0x06000000
#define AR_PHY_9285_ANT_DIV_ALT_LNACONF_S   25
#define AR_PHY_9285_ANT_DIV_MAIN_LNACONF   0x18000000
#define AR_PHY_9285_ANT_DIV_MAIN_LNACONF_S   27
#define AR_PHY_9285_ANT_DIV_ALT_GAINTB   0x20000000
#define AR_PHY_9285_ANT_DIV_ALT_GAINTB_S   29
#define AR_PHY_9285_ANT_DIV_MAIN_GAINTB   0x40000000
#define AR_PHY_9285_ANT_DIV_MAIN_GAINTB_S   30
#define AR_PHY_9285_ANT_DIV_LNA1   2
#define AR_PHY_9285_ANT_DIV_LNA2   1
#define AR_PHY_9285_ANT_DIV_LNA1_PLUS_LNA2   3
#define AR_PHY_9285_ANT_DIV_LNA1_MINUS_LNA2   0
#define AR_PHY_9285_ANT_DIV_GAINTB_0   0
#define AR_PHY_9285_ANT_DIV_GAINTB_1   1
#define AR_PHY_EXT_CCA0   0x99b8
#define AR_PHY_EXT_CCA0_THRESH62   0x000000FF
#define AR_PHY_EXT_CCA0_THRESH62_S   0
#define AR_PHY_EXT_CCA   0x99bc
#define AR_PHY_EXT_CCA_CYCPWR_THR1   0x0000FE00
#define AR_PHY_EXT_CCA_CYCPWR_THR1_S   9
#define AR_PHY_EXT_CCA_THRESH62   0x007F0000
#define AR_PHY_EXT_CCA_THRESH62_S   16
#define AR_PHY_EXT_TIMING5_CYCPWR_THR1   0x0000FE00L
#define AR_PHY_EXT_TIMING5_CYCPWR_THR1_S   9
#define AR_PHY_EXT_MINCCA_PWR   0xFF800000
#define AR_PHY_EXT_MINCCA_PWR_S   23
#define AR9280_PHY_EXT_MINCCA_PWR   0x01FF0000
#define AR9280_PHY_EXT_MINCCA_PWR_S   16
#define AR_PHY_SFCORR_EXT   0x99c0
#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_SPUR_SUBCHNL_SD_S   28
#define AR_PHY_HALFGI   0x99D0
#define AR_PHY_HALFGI_DSC_MAN   0x0007FFF0
#define AR_PHY_HALFGI_DSC_MAN_S   4
#define AR_PHY_HALFGI_DSC_EXP   0x0000000F
#define AR_PHY_HALFGI_DSC_EXP_S   0
#define AR_PHY_CHAN_INFO_MEMORY   0x99DC
#define AR_PHY_CHAN_INFO_MEMORY_CAPTURE_MASK   0x0001
#define AR_PHY_HEAVY_CLIP_ENABLE   0x99E0
#define AR_PHY_HEAVY_CLIP_FACTOR_RIFS   0x99EC
#define AR_PHY_RIFS_INIT_DELAY   0x03ff0000
#define AR_PHY_M_SLEEP   0x99f0
#define AR_PHY_REFCLKDLY   0x99f4
#define AR_PHY_REFCLKPD   0x99f8
#define AR_PHY_CALMODE   0x99f0
#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_CAL_MEAS_0(_i)   (0x9c10 + ((_i) << 12))
#define AR_PHY_CAL_MEAS_1(_i)   (0x9c14 + ((_i) << 12))
#define AR_PHY_CAL_MEAS_2(_i)   (0x9c18 + ((_i) << 12))
#define AR_PHY_CAL_MEAS_3(_i)   (0x9c1c + ((_i) << 12))
#define AR_PHY_CURRENT_RSSI   0x9c1c
#define AR9280_PHY_CURRENT_RSSI   0x9c3c
#define AR_PHY_RFBUS_GRANT   0x9C20
#define AR_PHY_RFBUS_GRANT_EN   0x00000001
#define AR_PHY_CHAN_INFO_GAIN_DIFF   0x9CF4
#define AR_PHY_CHAN_INFO_GAIN_DIFF_UPPER_LIMIT   320
#define AR_PHY_CHAN_INFO_GAIN   0x9CFC
#define AR_PHY_MODE   0xA200
#define AR_PHY_MODE_ASYNCFIFO   0x80
#define AR_PHY_MODE_AR2133   0x08
#define AR_PHY_MODE_AR5111   0x00
#define AR_PHY_MODE_AR5112   0x08
#define AR_PHY_MODE_DYNAMIC   0x04
#define AR_PHY_MODE_RF2GHZ   0x02
#define AR_PHY_MODE_RF5GHZ   0x00
#define AR_PHY_MODE_CCK   0x01
#define AR_PHY_MODE_OFDM   0x00
#define AR_PHY_MODE_DYN_CCK_DISABLE   0x100
#define AR_PHY_CCK_TX_CTRL   0xA204
#define AR_PHY_CCK_TX_CTRL_JAPAN   0x00000010
#define AR_PHY_CCK_TX_CTRL_TX_DAC_SCALE_CCK   0x0000000C
#define AR_PHY_CCK_TX_CTRL_TX_DAC_SCALE_CCK_S   2
#define AR_PHY_CCK_DETECT   0xA208
#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_CCK_DETECT_BB_ENABLE_ANT_FAST_DIV_S   13
#define AR_PHY_GAIN_2GHZ   0xA20C
#define AR_PHY_GAIN_2GHZ_RXTX_MARGIN   0x00FC0000
#define AR_PHY_GAIN_2GHZ_RXTX_MARGIN_S   18
#define AR_PHY_GAIN_2GHZ_BSW_MARGIN   0x00003C00
#define AR_PHY_GAIN_2GHZ_BSW_MARGIN_S   10
#define AR_PHY_GAIN_2GHZ_BSW_ATTEN   0x0000001F
#define AR_PHY_GAIN_2GHZ_BSW_ATTEN_S   0
#define AR_PHY_GAIN_2GHZ_XATTEN2_MARGIN   0x003E0000
#define AR_PHY_GAIN_2GHZ_XATTEN2_MARGIN_S   17
#define AR_PHY_GAIN_2GHZ_XATTEN1_MARGIN   0x0001F000
#define AR_PHY_GAIN_2GHZ_XATTEN1_MARGIN_S   12
#define AR_PHY_GAIN_2GHZ_XATTEN2_DB   0x00000FC0
#define AR_PHY_GAIN_2GHZ_XATTEN2_DB_S   6
#define AR_PHY_GAIN_2GHZ_XATTEN1_DB   0x0000003F
#define AR_PHY_GAIN_2GHZ_XATTEN1_DB_S   0
#define AR_PHY_CCK_RXCTRL4   0xA21C
#define AR_PHY_CCK_RXCTRL4_FREQ_EST_SHORT   0x01F80000
#define AR_PHY_CCK_RXCTRL4_FREQ_EST_SHORT_S   19
#define AR_PHY_DAG_CTRLCCK   0xA228
#define AR_PHY_DAG_CTRLCCK_EN_RSSI_THR   0x00000200
#define AR_PHY_DAG_CTRLCCK_RSSI_THR   0x0001FC00
#define AR_PHY_DAG_CTRLCCK_RSSI_THR_S   10
#define AR_PHY_FORCE_CLKEN_CCK   0xA22C
#define AR_PHY_FORCE_CLKEN_CCK_MRC_MUX   0x00000040
#define AR_PHY_POWER_TX_RATE3   0xA234
#define AR_PHY_POWER_TX_RATE4   0xA238
#define AR_PHY_SCRM_SEQ_XR   0xA23C
#define AR_PHY_HEADER_DETECT_XR   0xA240
#define AR_PHY_CHIRP_DETECTED_XR   0xA244
#define AR_PHY_BLUETOOTH   0xA254
#define AR_PHY_TPCRG1   0xA258
#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_TPCRG1_PD_CAL_ENABLE   0x00400000
#define AR_PHY_TPCRG1_PD_CAL_ENABLE_S   22
#define AR_PHY_TX_PWRCTRL4   0xa264
#define AR_PHY_TX_PWRCTRL_PD_AVG_VALID   0x00000001
#define AR_PHY_TX_PWRCTRL_PD_AVG_VALID_S   0
#define AR_PHY_TX_PWRCTRL_PD_AVG_OUT   0x000001FE
#define AR_PHY_TX_PWRCTRL_PD_AVG_OUT_S   1
#define AR_PHY_TX_PWRCTRL6_0   0xa270
#define AR_PHY_TX_PWRCTRL6_1   0xb270
#define AR_PHY_TX_PWRCTRL_ERR_EST_MODE   0x03000000
#define AR_PHY_TX_PWRCTRL_ERR_EST_MODE_S   24
#define AR_PHY_TX_PWRCTRL7   0xa274
#define AR_PHY_TX_PWRCTRL_INIT_TX_GAIN   0x01F80000
#define AR_PHY_TX_PWRCTRL_INIT_TX_GAIN_S   19
#define AR_PHY_TX_PWRCTRL8   0xa278
#define AR_PHY_TX_PWRCTRL9   0xa27C
#define AR_PHY_TX_PWRCTRL10   0xa394
#define AR_PHY_TX_DESIRED_SCALE_CCK   0x00007C00
#define AR_PHY_TX_DESIRED_SCALE_CCK_S   10
#define AR_PHY_TX_PWRCTRL9_RES_DC_REMOVAL   0x80000000
#define AR_PHY_TX_PWRCTRL9_RES_DC_REMOVAL_S   31
#define AR_PHY_TX_GAIN_TBL1   0xa300
#define AR_PHY_TX_GAIN   0x0007F000
#define AR_PHY_TX_GAIN_S   12
#define AR_PHY_CH0_TX_PWRCTRL11   0xa398
#define AR_PHY_CH1_TX_PWRCTRL11   0xb398
#define AR_PHY_CH0_TX_PWRCTRL12   0xa3dc
#define AR_PHY_CH0_TX_PWRCTRL13   0xa3e0
#define AR_PHY_TX_PWRCTRL_OLPC_TEMP_COMP   0x0000FC00
#define AR_PHY_TX_PWRCTRL_OLPC_TEMP_COMP_S   10
#define AR_PHY_VIT_MASK2_M_46_61   0xa3a0
#define AR_PHY_MASK2_M_31_45   0xa3a4
#define AR_PHY_MASK2_M_16_30   0xa3a8
#define AR_PHY_MASK2_M_00_15   0xa3ac
#define AR_PHY_MASK2_P_15_01   0xa3b8
#define AR_PHY_MASK2_P_30_16   0xa3bc
#define AR_PHY_MASK2_P_45_31   0xa3c0
#define AR_PHY_MASK2_P_61_45   0xa3c4
#define AR_PHY_SPUR_REG   0x994c
#define AR_PHY_SPUR_REG_MASK_RATE_CNTL   (0xFF << 18)
#define AR_PHY_SPUR_REG_MASK_RATE_CNTL_S   18
#define AR_PHY_SPUR_REG_ENABLE_MASK_PPM   0x20000
#define AR_PHY_SPUR_REG_MASK_RATE_SELECT   (0xFF << 9)
#define AR_PHY_SPUR_REG_MASK_RATE_SELECT_S   9
#define AR_PHY_SPUR_REG_ENABLE_VIT_SPUR_RSSI   0x100
#define AR_PHY_SPUR_REG_SPUR_RSSI_THRESH   0x7F
#define AR_PHY_SPUR_REG_SPUR_RSSI_THRESH_S   0
#define AR_PHY_PILOT_MASK_01_30   0xa3b0
#define AR_PHY_PILOT_MASK_31_60   0xa3b4
#define AR_PHY_CHANNEL_MASK_01_30   0x99d4
#define AR_PHY_CHANNEL_MASK_31_60   0x99d8
#define AR_PHY_ANALOG_SWAP   0xa268
#define AR_PHY_SWAP_ALT_CHAIN   0x00000040
#define AR_PHY_TPCRG5   0xA26C
#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_CL_CAL_CTL   0xA358
#define AR_PHY_CL_CAL_ENABLE   0x00000002
#define AR_PHY_PARALLEL_CAL_ENABLE   0x00000001
#define AR_PHY_POWER_TX_RATE5   0xA38C
#define AR_PHY_POWER_TX_RATE6   0xA390
#define AR_PHY_CAL_CHAINMASK   0xA39C
#define AR_PHY_POWER_TX_SUB   0xA3C8
#define AR_PHY_POWER_TX_RATE7   0xA3CC
#define AR_PHY_POWER_TX_RATE8   0xA3D0
#define AR_PHY_POWER_TX_RATE9   0xA3D4
#define AR_PHY_XPA_CFG   0xA3D8
#define AR_PHY_FORCE_XPA_CFG   0x000000001
#define AR_PHY_FORCE_XPA_CFG_S   0
#define AR_PHY_CH1_CCA   0xa864
#define AR_PHY_CH1_MINCCA_PWR   0x0FF80000
#define AR_PHY_CH1_MINCCA_PWR_S   19
#define AR9280_PHY_CH1_MINCCA_PWR   0x1FF00000
#define AR9280_PHY_CH1_MINCCA_PWR_S   20
#define AR_PHY_CH2_CCA   0xb864
#define AR_PHY_CH2_MINCCA_PWR   0x0FF80000
#define AR_PHY_CH2_MINCCA_PWR_S   19
#define AR_PHY_CH1_EXT_CCA   0xa9bc
#define AR_PHY_CH1_EXT_MINCCA_PWR   0xFF800000
#define AR_PHY_CH1_EXT_MINCCA_PWR_S   23
#define AR9280_PHY_CH1_EXT_MINCCA_PWR   0x01FF0000
#define AR9280_PHY_CH1_EXT_MINCCA_PWR_S   16
#define AR_PHY_CH2_EXT_CCA   0xb9bc
#define AR_PHY_CH2_EXT_MINCCA_PWR   0xFF800000
#define AR_PHY_CH2_EXT_MINCCA_PWR_S   23
#define AR_PHY_CCA_NOM_VAL_5416_2GHZ   -90
#define AR_PHY_CCA_NOM_VAL_5416_5GHZ   -100
#define AR_PHY_CCA_MIN_GOOD_VAL_5416_2GHZ   -100
#define AR_PHY_CCA_MIN_GOOD_VAL_5416_5GHZ   -110
#define AR_PHY_CCA_MAX_GOOD_VAL_5416_2GHZ   -80
#define AR_PHY_CCA_MAX_GOOD_VAL_5416_5GHZ   -90
#define AR_PHY_CCA_NOM_VAL_9280_2GHZ   -112
#define AR_PHY_CCA_NOM_VAL_9280_5GHZ   -112
#define AR_PHY_CCA_MIN_GOOD_VAL_9280_2GHZ   -127
#define AR_PHY_CCA_MIN_GOOD_VAL_9280_5GHZ   -122
#define AR_PHY_CCA_MAX_GOOD_VAL_9280_2GHZ   -97
#define AR_PHY_CCA_MAX_GOOD_VAL_9280_5GHZ   -102
#define AR_PHY_CCA_NOM_VAL_9285_2GHZ   -118
#define AR_PHY_CCA_MIN_GOOD_VAL_9285_2GHZ   -127
#define AR_PHY_CCA_MAX_GOOD_VAL_9285_2GHZ   -108
#define AR_PHY_CCA_NOM_VAL_9271_2GHZ   -118
#define AR_PHY_CCA_MIN_GOOD_VAL_9271_2GHZ   -127
#define AR_PHY_CCA_MAX_GOOD_VAL_9271_2GHZ   -116
#define AR_PHY_CCA_NOM_VAL_9287_2GHZ   -120
#define AR_PHY_CCA_MIN_GOOD_VAL_9287_2GHZ   -127
#define AR_PHY_CCA_MAX_GOOD_VAL_9287_2GHZ   -110

Functions

 FILE_LICENCE (BSD2)

Define Documentation

#define AR_PHY_TEST   0x9800

Definition at line 21 of file ar9002_phy.h.

#define PHY_AGC_CLR   0x10000000

Definition at line 22 of file ar9002_phy.h.

#define RFSILENT_BB   0x00002000

Definition at line 23 of file ar9002_phy.h.

#define AR_PHY_TURBO   0x9804

Definition at line 25 of file ar9002_phy.h.

Referenced by ar5008_hw_set_channel_regs(), and ar9285_hw_cl_cal().

#define AR_PHY_FC_TURBO_MODE   0x00000001

Definition at line 26 of file ar9002_phy.h.

#define AR_PHY_FC_TURBO_SHORT   0x00000002

Definition at line 27 of file ar9002_phy.h.

#define AR_PHY_FC_DYN2040_EN   0x00000004

Definition at line 28 of file ar9002_phy.h.

Referenced by ar5008_hw_set_channel_regs(), and ar9285_hw_cl_cal().

#define AR_PHY_FC_DYN2040_PRI_ONLY   0x00000008

Definition at line 29 of file ar9002_phy.h.

#define AR_PHY_FC_DYN2040_PRI_CH   0x00000010

Definition at line 30 of file ar9002_phy.h.

Referenced by ar5008_hw_set_channel_regs().

#define AR_PHY_FC_DYN2040_EXT_CH   0x00000020

Definition at line 32 of file ar9002_phy.h.

#define AR_PHY_FC_HT_EN   0x00000040

Definition at line 33 of file ar9002_phy.h.

Referenced by ar5008_hw_set_channel_regs().

#define AR_PHY_FC_SHORT_GI_40   0x00000080

Definition at line 34 of file ar9002_phy.h.

Referenced by ar5008_hw_set_channel_regs().

#define AR_PHY_FC_WALSH   0x00000100

Definition at line 35 of file ar9002_phy.h.

Referenced by ar5008_hw_set_channel_regs().

#define AR_PHY_FC_SINGLE_HT_LTF1   0x00000200

Definition at line 36 of file ar9002_phy.h.

Referenced by ar5008_hw_set_channel_regs().

#define AR_PHY_FC_ENABLE_DAC_FIFO   0x00000800

Definition at line 37 of file ar9002_phy.h.

Referenced by ar5008_hw_set_channel_regs().

#define AR_PHY_TEST2   0x9808

Definition at line 39 of file ar9002_phy.h.

#define AR_PHY_TIMING2   0x9810

Definition at line 41 of file ar9002_phy.h.

#define AR_PHY_TIMING3   0x9814

Definition at line 42 of file ar9002_phy.h.

Referenced by ar5008_hw_set_delta_slope(), and ar9003_hw_set_delta_slope().

#define AR_PHY_TIMING3_DSC_MAN   0xFFFE0000

Definition at line 43 of file ar9002_phy.h.

Referenced by ar5008_hw_set_delta_slope(), and ar9003_hw_set_delta_slope().

#define AR_PHY_TIMING3_DSC_MAN_S   17

Definition at line 44 of file ar9002_phy.h.

#define AR_PHY_TIMING3_DSC_EXP   0x0001E000

Definition at line 45 of file ar9002_phy.h.

Referenced by ar5008_hw_set_delta_slope(), and ar9003_hw_set_delta_slope().

#define AR_PHY_TIMING3_DSC_EXP_S   13

Definition at line 46 of file ar9002_phy.h.

#define AR_PHY_CHIP_ID_REV_0   0x80

Definition at line 48 of file ar9002_phy.h.

#define AR_PHY_CHIP_ID_REV_1   0x81

Definition at line 49 of file ar9002_phy.h.

#define AR_PHY_CHIP_ID_9160_REV_0   0xb0

Definition at line 50 of file ar9002_phy.h.

#define AR_PHY_ACTIVE   0x981C
#define AR_PHY_ACTIVE_EN   0x00000001

Definition at line 53 of file ar9002_phy.h.

Referenced by ar5008_hw_init_bb(), ar9003_hw_init_bb(), and ar9003_hw_init_cal().

#define AR_PHY_ACTIVE_DIS   0x00000000
#define AR_PHY_RF_CTL2   0x9824
#define AR_PHY_TX_END_DATA_START   0x000000FF

Definition at line 58 of file ar9002_phy.h.

#define AR_PHY_TX_END_PA_ON   0x0000FF00
#define AR_PHY_TX_END_PA_ON_S   8

Definition at line 60 of file ar9002_phy.h.

#define AR_PHY_RF_CTL3   0x9828
#define AR_PHY_TX_END_TO_A2_RX_ON   0x00FF0000
#define AR_PHY_TX_END_TO_A2_RX_ON_S   16

Definition at line 64 of file ar9002_phy.h.

#define AR_PHY_ADC_CTL   0x982C

Definition at line 66 of file ar9002_phy.h.

Referenced by ar9002_hw_init_cal(), and ar9285_hw_cl_cal().

#define AR_PHY_ADC_CTL_OFF_INBUFGAIN   0x00000003

Definition at line 67 of file ar9002_phy.h.

Definition at line 68 of file ar9002_phy.h.

#define AR_PHY_ADC_CTL_OFF_PWDDAC   0x00002000

Definition at line 69 of file ar9002_phy.h.

#define AR_PHY_ADC_CTL_OFF_PWDBANDGAP   0x00004000

Definition at line 70 of file ar9002_phy.h.

#define AR_PHY_ADC_CTL_OFF_PWDADC   0x00008000

Definition at line 71 of file ar9002_phy.h.

Referenced by ar9002_hw_init_cal(), and ar9285_hw_cl_cal().

#define AR_PHY_ADC_CTL_ON_INBUFGAIN   0x00030000

Definition at line 72 of file ar9002_phy.h.

Definition at line 73 of file ar9002_phy.h.

#define AR_PHY_ADC_SERIAL_CTL   0x9830

Definition at line 75 of file ar9002_phy.h.

Referenced by ar5008_hw_process_ini().

#define AR_PHY_SEL_INTERNAL_ADDAC   0x00000000

Definition at line 76 of file ar9002_phy.h.

Referenced by ar5008_hw_process_ini().

#define AR_PHY_SEL_EXTERNAL_RADIO   0x00000001

Definition at line 77 of file ar9002_phy.h.

Referenced by ar5008_hw_process_ini().

#define AR_PHY_RF_CTL4   0x9834
#define AR_PHY_RF_CTL4_TX_END_XPAB_OFF   0xFF000000

Definition at line 81 of file ar9002_phy.h.

#define AR_PHY_RF_CTL4_TX_END_XPAA_OFF   0x00FF0000

Definition at line 83 of file ar9002_phy.h.

#define AR_PHY_RF_CTL4_FRAME_XPAB_ON   0x0000FF00

Definition at line 85 of file ar9002_phy.h.

#define AR_PHY_RF_CTL4_FRAME_XPAA_ON   0x000000FF

Definition at line 87 of file ar9002_phy.h.

#define AR_PHY_TSTDAC_CONST   0x983c

Definition at line 89 of file ar9002_phy.h.

#define AR_PHY_SETTLING   0x9844
#define AR_PHY_SETTLING_SWITCH   0x00003F80
#define AR_PHY_SETTLING_SWITCH_S   7

Definition at line 93 of file ar9002_phy.h.

#define AR_PHY_RXGAIN   0x9848
#define AR_PHY_RXGAIN_TXRX_ATTEN   0x0003F000

Definition at line 96 of file ar9002_phy.h.

Referenced by ath9k_hw_def_set_gain().

#define AR_PHY_RXGAIN_TXRX_ATTEN_S   12

Definition at line 97 of file ar9002_phy.h.

#define AR_PHY_RXGAIN_TXRX_RF_MAX   0x007C0000

Definition at line 98 of file ar9002_phy.h.

#define AR_PHY_RXGAIN_TXRX_RF_MAX_S   18

Definition at line 99 of file ar9002_phy.h.

#define AR9280_PHY_RXGAIN_TXRX_ATTEN   0x00003F80

Definition at line 101 of file ar9002_phy.h.

#define AR9280_PHY_RXGAIN_TXRX_MARGIN   0x001FC000

Definition at line 103 of file ar9002_phy.h.

#define AR_PHY_DESIRED_SZ   0x9850
#define AR_PHY_DESIRED_SZ_ADC   0x000000FF
#define AR_PHY_DESIRED_SZ_ADC_S   0

Definition at line 107 of file ar9002_phy.h.

#define AR_PHY_DESIRED_SZ_PGA   0x0000FF00

Definition at line 108 of file ar9002_phy.h.

Referenced by ath9k_hw_def_set_board_values().

#define AR_PHY_DESIRED_SZ_PGA_S   8

Definition at line 109 of file ar9002_phy.h.

#define AR_PHY_DESIRED_SZ_TOT_DES   0x0FF00000

Definition at line 110 of file ar9002_phy.h.

Referenced by ar5008_hw_ani_control_old().

#define AR_PHY_DESIRED_SZ_TOT_DES_S   20

Definition at line 111 of file ar9002_phy.h.

#define AR_PHY_FIND_SIG   0x9858
#define AR_PHY_FIND_SIG_FIRSTEP   0x0003F000
#define AR_PHY_FIND_SIG_FIRSTEP_S   12

Definition at line 115 of file ar9002_phy.h.

#define AR_PHY_FIND_SIG_FIRPWR   0x03FC0000

Definition at line 116 of file ar9002_phy.h.

Referenced by ar5008_hw_ani_control_old().

#define AR_PHY_FIND_SIG_FIRPWR_S   18

Definition at line 117 of file ar9002_phy.h.

#define AR_PHY_FIND_SIG_LOW   0x9840
#define AR_PHY_FIND_SIG_FIRSTEP_LOW   0x00000FC0L

Definition at line 120 of file ar9002_phy.h.

Referenced by ar5008_hw_ani_cache_ini_regs(), and ar5008_hw_ani_control_new().

Definition at line 121 of file ar9002_phy.h.

#define AR_PHY_AGC_CTL1   0x985C

Definition at line 123 of file ar9002_phy.h.

Referenced by ar5008_hw_ani_control_old().

#define AR_PHY_AGC_CTL1_COARSE_LOW   0x00007F80

Definition at line 124 of file ar9002_phy.h.

Referenced by ar5008_hw_ani_control_old().

Definition at line 125 of file ar9002_phy.h.

#define AR_PHY_AGC_CTL1_COARSE_HIGH   0x003F8000

Definition at line 126 of file ar9002_phy.h.

Referenced by ar5008_hw_ani_control_old().

Definition at line 127 of file ar9002_phy.h.

#define AR_PHY_CCA   0x9864
#define AR_PHY_MINCCA_PWR   0x0FF80000

Definition at line 130 of file ar9002_phy.h.

Referenced by ar5008_hw_do_getnf().

#define AR_PHY_MINCCA_PWR_S   19

Definition at line 131 of file ar9002_phy.h.

#define AR_PHY_CCA_THRESH62   0x0007F000

Definition at line 132 of file ar9002_phy.h.

Referenced by ath9k_hw_def_set_board_values().

#define AR_PHY_CCA_THRESH62_S   12

Definition at line 133 of file ar9002_phy.h.

#define AR9280_PHY_MINCCA_PWR   0x1FF00000

Definition at line 134 of file ar9002_phy.h.

Referenced by ar9002_hw_do_getnf().

#define AR9280_PHY_MINCCA_PWR_S   20

Definition at line 135 of file ar9002_phy.h.

#define AR9280_PHY_CCA_THRESH62   0x000FF000
#define AR9280_PHY_CCA_THRESH62_S   12

Definition at line 137 of file ar9002_phy.h.

#define AR_PHY_SFCORR_LOW   0x986C
#define AR_PHY_SFCORR_LOW_USE_SELF_CORR_LOW   0x00000001
#define AR_PHY_SFCORR_LOW_M2COUNT_THR_LOW   0x00003F00

Definition at line 142 of file ar9002_phy.h.

#define AR_PHY_SFCORR_LOW_M1_THRESH_LOW   0x001FC000

Definition at line 144 of file ar9002_phy.h.

#define AR_PHY_SFCORR_LOW_M2_THRESH_LOW   0x0FE00000

Definition at line 146 of file ar9002_phy.h.

#define AR_PHY_SFCORR   0x9868
#define AR_PHY_SFCORR_M2COUNT_THR   0x0000001F

Definition at line 150 of file ar9002_phy.h.

#define AR_PHY_SFCORR_M1_THRESH   0x00FE0000
#define AR_PHY_SFCORR_M1_THRESH_S   17

Definition at line 152 of file ar9002_phy.h.

#define AR_PHY_SFCORR_M2_THRESH   0x7F000000
#define AR_PHY_SFCORR_M2_THRESH_S   24

Definition at line 154 of file ar9002_phy.h.

#define AR_PHY_SLEEP_CTR_CONTROL   0x9870

Definition at line 156 of file ar9002_phy.h.

#define AR_PHY_SLEEP_CTR_LIMIT   0x9874

Definition at line 157 of file ar9002_phy.h.

#define AR_PHY_SYNTH_CONTROL   0x9874

Definition at line 158 of file ar9002_phy.h.

Referenced by ar9002_hw_set_channel(), and ar9003_hw_set_channel().

#define AR_PHY_SLEEP_SCAL   0x9878

Definition at line 159 of file ar9002_phy.h.

#define AR_PHY_PLL_CTL   0x987c

Definition at line 161 of file ar9002_phy.h.

#define AR_PHY_PLL_CTL_40   0xaa

Definition at line 162 of file ar9002_phy.h.

#define AR_PHY_PLL_CTL_40_5413   0x04

Definition at line 163 of file ar9002_phy.h.

#define AR_PHY_PLL_CTL_44   0xab

Definition at line 164 of file ar9002_phy.h.

#define AR_PHY_PLL_CTL_44_2133   0xeb

Definition at line 165 of file ar9002_phy.h.

#define AR_PHY_PLL_CTL_40_2133   0xea

Definition at line 166 of file ar9002_phy.h.

#define AR_PHY_SPECTRAL_SCAN   0x9910 /* AR9280 spectral scan configuration register */

Definition at line 168 of file ar9002_phy.h.

#define AR_PHY_SPECTRAL_SCAN_ENABLE   0x1

Definition at line 169 of file ar9002_phy.h.

#define AR_PHY_SPECTRAL_SCAN_ENA   0x00000001 /* Enable spectral scan, reg 68, bit 0 */

Definition at line 170 of file ar9002_phy.h.

#define AR_PHY_SPECTRAL_SCAN_ENA_S   0 /* Enable spectral scan, reg 68, bit 0 */

Definition at line 171 of file ar9002_phy.h.

#define AR_PHY_SPECTRAL_SCAN_ACTIVE   0x00000002 /* Activate spectral scan reg 68, bit 1*/

Definition at line 172 of file ar9002_phy.h.

#define AR_PHY_SPECTRAL_SCAN_ACTIVE_S   1 /* Activate spectral scan reg 68, bit 1*/

Definition at line 173 of file ar9002_phy.h.

#define AR_PHY_SPECTRAL_SCAN_FFT_PERIOD   0x000000F0 /* Interval for FFT reports, reg 68, bits 4-7*/

Definition at line 174 of file ar9002_phy.h.

Definition at line 175 of file ar9002_phy.h.

#define AR_PHY_SPECTRAL_SCAN_PERIOD   0x0000FF00 /* Interval for FFT reports, reg 68, bits 8-15*/

Definition at line 176 of file ar9002_phy.h.

Definition at line 177 of file ar9002_phy.h.

#define AR_PHY_SPECTRAL_SCAN_COUNT   0x00FF0000 /* Number of reports, reg 68, bits 16-23*/

Definition at line 178 of file ar9002_phy.h.

Definition at line 179 of file ar9002_phy.h.

#define AR_PHY_SPECTRAL_SCAN_SHORT_REPEAT   0x01000000 /* Short repeat, reg 68, bit 24*/

Definition at line 180 of file ar9002_phy.h.

#define AR_PHY_SPECTRAL_SCAN_SHORT_REPEAT_S   24 /* Short repeat, reg 68, bit 24*/

Definition at line 181 of file ar9002_phy.h.

#define AR_PHY_RX_DELAY   0x9914
#define AR_PHY_SEARCH_START_DELAY   0x9918

Definition at line 184 of file ar9002_phy.h.

#define AR_PHY_RX_DELAY_DELAY   0x00003FFF
#define AR_PHY_TIMING_CTRL4 (   _i)    (0x9920 + ((_i) << 12))

Definition at line 189 of file ar9002_phy.h.

Definition at line 191 of file ar9002_phy.h.

Definition at line 192 of file ar9002_phy.h.

Referenced by ar9002_hw_iqcalibrate().

Definition at line 193 of file ar9002_phy.h.

Referenced by ar9002_hw_setup_calibration().

Definition at line 194 of file ar9002_phy.h.

#define AR_PHY_TIMING_CTRL4_DO_CAL   0x10000

Definition at line 195 of file ar9002_phy.h.

Referenced by ar9002_hw_per_calibration(), and ar9002_hw_setup_calibration().

#define AR_PHY_TIMING_CTRL4_ENABLE_SPUR_RSSI   0x80000000

Definition at line 197 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

#define AR_PHY_TIMING_CTRL4_ENABLE_SPUR_FILTER   0x40000000

Definition at line 198 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

#define AR_PHY_TIMING_CTRL4_ENABLE_CHAN_MASK   0x20000000

Definition at line 199 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

#define AR_PHY_TIMING_CTRL4_ENABLE_PILOT_MASK   0x10000000

Definition at line 200 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

#define AR_PHY_TIMING5   0x9924
#define AR_PHY_TIMING5_CYCPWR_THR1   0x000000FE

Definition at line 204 of file ar9002_phy.h.

#define AR_PHY_POWER_TX_RATE1   0x9934
#define AR_PHY_POWER_TX_RATE2   0x9938
#define AR_PHY_POWER_TX_RATE_MAX   0x993c

Definition at line 208 of file ar9002_phy.h.

#define AR_PHY_POWER_TX_RATE_MAX_TPC_ENABLE   0x00000040

Definition at line 209 of file ar9002_phy.h.

#define AR_PHY_FRAME_CTL   0x9944

Definition at line 211 of file ar9002_phy.h.

Referenced by ath9k_hw_def_set_board_values().

#define AR_PHY_FRAME_CTL_TX_CLIP   0x00000038

Definition at line 212 of file ar9002_phy.h.

Referenced by ath9k_hw_def_set_board_values().

Definition at line 213 of file ar9002_phy.h.

#define AR_PHY_TXPWRADJ   0x994C

Definition at line 215 of file ar9002_phy.h.

#define AR_PHY_TXPWRADJ_CCK_GAIN_DELTA   0x00000FC0

Definition at line 216 of file ar9002_phy.h.

Definition at line 217 of file ar9002_phy.h.

#define AR_PHY_TXPWRADJ_CCK_PCDAC_INDEX   0x00FC0000

Definition at line 218 of file ar9002_phy.h.

Definition at line 219 of file ar9002_phy.h.

#define AR_PHY_RADAR_EXT   0x9940

Definition at line 221 of file ar9002_phy.h.

Referenced by ar5008_hw_set_radar_params(), and ar9003_hw_set_radar_params().

#define AR_PHY_RADAR_EXT_ENA   0x00004000

Definition at line 222 of file ar9002_phy.h.

Referenced by ar5008_hw_set_radar_params(), and ar9003_hw_set_radar_params().

#define AR_PHY_RADAR_0   0x9954

Definition at line 224 of file ar9002_phy.h.

Referenced by ar5008_hw_set_radar_params(), and ar9003_hw_set_radar_params().

#define AR_PHY_RADAR_0_ENA   0x00000001

Definition at line 225 of file ar9002_phy.h.

Referenced by ar5008_hw_set_radar_params(), and ar9003_hw_set_radar_params().

#define AR_PHY_RADAR_0_FFT_ENA   0x80000000

Definition at line 226 of file ar9002_phy.h.

Referenced by ar5008_hw_set_radar_params(), and ar9003_hw_set_radar_params().

#define AR_PHY_RADAR_0_INBAND   0x0000003e

Definition at line 227 of file ar9002_phy.h.

Referenced by ar5008_hw_set_radar_params(), and ar9003_hw_set_radar_params().

#define AR_PHY_RADAR_0_INBAND_S   1

Definition at line 228 of file ar9002_phy.h.

#define AR_PHY_RADAR_0_PRSSI   0x00000FC0

Definition at line 229 of file ar9002_phy.h.

Referenced by ar5008_hw_set_radar_params(), and ar9003_hw_set_radar_params().

#define AR_PHY_RADAR_0_PRSSI_S   6

Definition at line 230 of file ar9002_phy.h.

#define AR_PHY_RADAR_0_HEIGHT   0x0003F000

Definition at line 231 of file ar9002_phy.h.

Referenced by ar5008_hw_set_radar_params(), and ar9003_hw_set_radar_params().

#define AR_PHY_RADAR_0_HEIGHT_S   12

Definition at line 232 of file ar9002_phy.h.

#define AR_PHY_RADAR_0_RRSSI   0x00FC0000

Definition at line 233 of file ar9002_phy.h.

Referenced by ar5008_hw_set_radar_params(), and ar9003_hw_set_radar_params().

#define AR_PHY_RADAR_0_RRSSI_S   18

Definition at line 234 of file ar9002_phy.h.

#define AR_PHY_RADAR_0_FIRPWR   0x7F000000

Definition at line 235 of file ar9002_phy.h.

Referenced by ar5008_hw_set_radar_params(), and ar9003_hw_set_radar_params().

#define AR_PHY_RADAR_0_FIRPWR_S   24

Definition at line 236 of file ar9002_phy.h.

#define AR_PHY_RADAR_1   0x9958

Definition at line 238 of file ar9002_phy.h.

Referenced by ar5008_hw_set_radar_params(), and ar9003_hw_set_radar_params().

#define AR_PHY_RADAR_1_RELPWR_ENA   0x00800000

Definition at line 239 of file ar9002_phy.h.

#define AR_PHY_RADAR_1_USE_FIR128   0x00400000

Definition at line 240 of file ar9002_phy.h.

#define AR_PHY_RADAR_1_RELPWR_THRESH   0x003F0000

Definition at line 241 of file ar9002_phy.h.

Referenced by ar5008_hw_set_radar_params(), and ar9003_hw_set_radar_params().

Definition at line 242 of file ar9002_phy.h.

#define AR_PHY_RADAR_1_BLOCK_CHECK   0x00008000

Definition at line 243 of file ar9002_phy.h.

Referenced by ar5008_hw_set_radar_params(), and ar9003_hw_set_radar_params().

#define AR_PHY_RADAR_1_MAX_RRSSI   0x00004000

Definition at line 244 of file ar9002_phy.h.

Referenced by ar5008_hw_set_radar_params(), and ar9003_hw_set_radar_params().

#define AR_PHY_RADAR_1_RELSTEP_CHECK   0x00002000

Definition at line 245 of file ar9002_phy.h.

#define AR_PHY_RADAR_1_RELSTEP_THRESH   0x00001F00

Definition at line 246 of file ar9002_phy.h.

Referenced by ar5008_hw_set_radar_params(), and ar9003_hw_set_radar_params().

Definition at line 247 of file ar9002_phy.h.

#define AR_PHY_RADAR_1_MAXLEN   0x000000FF

Definition at line 248 of file ar9002_phy.h.

Referenced by ar5008_hw_set_radar_params(), and ar9003_hw_set_radar_params().

#define AR_PHY_RADAR_1_MAXLEN_S   0

Definition at line 249 of file ar9002_phy.h.

#define AR_PHY_SWITCH_CHAIN_0   0x9960
#define AR_PHY_SWITCH_COM   0x9964
#define AR_PHY_SIGMA_DELTA   0x996C

Definition at line 254 of file ar9002_phy.h.

#define AR_PHY_SIGMA_DELTA_ADC_SEL   0x00000003

Definition at line 255 of file ar9002_phy.h.

Definition at line 256 of file ar9002_phy.h.

#define AR_PHY_SIGMA_DELTA_FILT2   0x000000F8

Definition at line 257 of file ar9002_phy.h.

Definition at line 258 of file ar9002_phy.h.

#define AR_PHY_SIGMA_DELTA_FILT1   0x00001F00

Definition at line 259 of file ar9002_phy.h.

Definition at line 260 of file ar9002_phy.h.

#define AR_PHY_SIGMA_DELTA_ADC_CLIP   0x01FFE000

Definition at line 261 of file ar9002_phy.h.

Definition at line 262 of file ar9002_phy.h.

#define AR_PHY_RESTART   0x9970

Definition at line 264 of file ar9002_phy.h.

Referenced by ar9003_hw_disable_phy_restart().

#define AR_PHY_RESTART_DIV_GC   0x001C0000

Definition at line 265 of file ar9002_phy.h.

#define AR_PHY_RESTART_DIV_GC_S   18

Definition at line 266 of file ar9002_phy.h.

#define AR_PHY_RFBUS_REQ   0x997C
#define AR_PHY_RFBUS_REQ_EN   0x00000001

Definition at line 269 of file ar9002_phy.h.

Referenced by ar5008_hw_rfbus_req(), and ar9003_hw_rfbus_req().

#define AR_PHY_TIMING7   0x9980

Definition at line 271 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

#define AR_PHY_TIMING8   0x9984

Definition at line 272 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

#define AR_PHY_TIMING8_PILOT_MASK_2   0x000FFFFF

Definition at line 273 of file ar9002_phy.h.

Definition at line 274 of file ar9002_phy.h.

#define AR_PHY_BIN_MASK2_1   0x9988

Definition at line 276 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

#define AR_PHY_BIN_MASK2_2   0x998c

Definition at line 277 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

#define AR_PHY_BIN_MASK2_3   0x9990

Definition at line 278 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

#define AR_PHY_BIN_MASK2_4   0x9994

Definition at line 279 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

#define AR_PHY_BIN_MASK_1   0x9900

Definition at line 281 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

#define AR_PHY_BIN_MASK_2   0x9904

Definition at line 282 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

#define AR_PHY_BIN_MASK_3   0x9908

Definition at line 283 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

#define AR_PHY_MASK_CTL   0x990c

Definition at line 285 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

#define AR_PHY_BIN_MASK2_4_MASK_4   0x00003FFF

Definition at line 287 of file ar9002_phy.h.

Definition at line 288 of file ar9002_phy.h.

#define AR_PHY_TIMING9   0x9998

Definition at line 290 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

#define AR_PHY_TIMING10   0x999c

Definition at line 291 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

#define AR_PHY_TIMING10_PILOT_MASK_2   0x000FFFFF

Definition at line 292 of file ar9002_phy.h.

Definition at line 293 of file ar9002_phy.h.

#define AR_PHY_TIMING11   0x99a0
#define AR_PHY_TIMING11_SPUR_DELTA_PHASE   0x000FFFFF

Definition at line 297 of file ar9002_phy.h.

#define AR_PHY_TIMING11_USE_SPUR_IN_AGC   0x40000000

Definition at line 298 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

#define AR_PHY_TIMING11_USE_SPUR_IN_SELFCOR   0x80000000

Definition at line 299 of file ar9002_phy.h.

#define AR_PHY_RX_CHAINMASK   0x99a4
#define AR_PHY_NEW_ADC_DC_GAIN_CORR (   _i)    (0x99b4 + ((_i) << 12))

Definition at line 302 of file ar9002_phy.h.

Referenced by ar9002_hw_adc_dccal_calibrate(), and ar9002_hw_adc_gaincal_calibrate().

#define AR_PHY_NEW_ADC_GAIN_CORR_ENABLE   0x40000000

Definition at line 303 of file ar9002_phy.h.

Referenced by ar9002_hw_adc_gaincal_calibrate().

#define AR_PHY_NEW_ADC_DC_OFFSET_CORR_ENABLE   0x80000000

Definition at line 304 of file ar9002_phy.h.

Referenced by ar9002_hw_adc_dccal_calibrate().

#define AR_PHY_MULTICHAIN_GAIN_CTL   0x99ac
#define AR_PHY_9285_FAST_DIV_BIAS   0x00007E00

Definition at line 307 of file ar9002_phy.h.

Referenced by ar9002_hw_antdiv_comb_conf_get(), and ar9002_hw_antdiv_comb_conf_set().

Definition at line 308 of file ar9002_phy.h.

Referenced by ar9002_hw_antdiv_comb_conf_get(), and ar9002_hw_antdiv_comb_conf_set().

#define AR_PHY_9285_ANT_DIV_CTL_ALL   0x7f000000

Definition at line 309 of file ar9002_phy.h.

Referenced by ath9k_hw_4k_set_board_values().

#define AR_PHY_9285_ANT_DIV_CTL   0x01000000

Definition at line 310 of file ar9002_phy.h.

Referenced by ath9k_hw_4k_set_board_values().

#define AR_PHY_9285_ANT_DIV_CTL_S   24

Definition at line 311 of file ar9002_phy.h.

#define AR_PHY_9285_ANT_DIV_ALT_LNACONF   0x06000000

Definition at line 313 of file ar9002_phy.h.

Referenced by ar9002_hw_antdiv_comb_conf_get(), and ar9002_hw_antdiv_comb_conf_set().

#define AR_PHY_9285_ANT_DIV_MAIN_LNACONF   0x18000000

Definition at line 315 of file ar9002_phy.h.

Referenced by ar9002_hw_antdiv_comb_conf_get(), and ar9002_hw_antdiv_comb_conf_set().

#define AR_PHY_9285_ANT_DIV_ALT_GAINTB   0x20000000

Definition at line 316 of file ar9002_phy.h.

Referenced by ath9k_hw_4k_set_board_values().

Definition at line 317 of file ar9002_phy.h.

#define AR_PHY_9285_ANT_DIV_MAIN_GAINTB   0x40000000

Definition at line 318 of file ar9002_phy.h.

Referenced by ath9k_hw_4k_set_board_values().

Definition at line 319 of file ar9002_phy.h.

#define AR_PHY_9285_ANT_DIV_LNA1   2

Definition at line 320 of file ar9002_phy.h.

#define AR_PHY_9285_ANT_DIV_LNA2   1

Definition at line 321 of file ar9002_phy.h.

Definition at line 322 of file ar9002_phy.h.

Definition at line 323 of file ar9002_phy.h.

Definition at line 324 of file ar9002_phy.h.

Definition at line 325 of file ar9002_phy.h.

#define AR_PHY_EXT_CCA0   0x99b8
#define AR_PHY_EXT_CCA0_THRESH62   0x000000FF

Definition at line 329 of file ar9002_phy.h.

#define AR_PHY_EXT_CCA   0x99bc
#define AR_PHY_EXT_CCA_CYCPWR_THR1   0x0000FE00

Definition at line 332 of file ar9002_phy.h.

Definition at line 333 of file ar9002_phy.h.

#define AR_PHY_EXT_CCA_THRESH62   0x007F0000

Definition at line 334 of file ar9002_phy.h.

Referenced by ath9k_hw_def_set_board_values().

#define AR_PHY_EXT_CCA_THRESH62_S   16

Definition at line 335 of file ar9002_phy.h.

#define AR_PHY_EXT_TIMING5_CYCPWR_THR1   0x0000FE00L

Definition at line 336 of file ar9002_phy.h.

Referenced by ar5008_hw_ani_cache_ini_regs(), and ar5008_hw_ani_control_new().

Definition at line 337 of file ar9002_phy.h.

#define AR_PHY_EXT_MINCCA_PWR   0xFF800000

Definition at line 339 of file ar9002_phy.h.

Referenced by ar5008_hw_do_getnf().

#define AR_PHY_EXT_MINCCA_PWR_S   23

Definition at line 340 of file ar9002_phy.h.

#define AR9280_PHY_EXT_MINCCA_PWR   0x01FF0000

Definition at line 341 of file ar9002_phy.h.

Referenced by ar9002_hw_do_getnf().

#define AR9280_PHY_EXT_MINCCA_PWR_S   16

Definition at line 342 of file ar9002_phy.h.

#define AR_PHY_SFCORR_EXT   0x99c0
#define AR_PHY_SFCORR_EXT_M1_THRESH   0x0000007F

Definition at line 346 of file ar9002_phy.h.

#define AR_PHY_SFCORR_EXT_M2_THRESH   0x00003F80

Definition at line 348 of file ar9002_phy.h.

#define AR_PHY_SFCORR_EXT_M1_THRESH_LOW   0x001FC000

Definition at line 350 of file ar9002_phy.h.

#define AR_PHY_SFCORR_EXT_M2_THRESH_LOW   0x0FE00000

Definition at line 352 of file ar9002_phy.h.

Definition at line 353 of file ar9002_phy.h.

Referenced by ar9002_hw_spur_mitigate().

#define AR_PHY_HALFGI   0x99D0

Definition at line 355 of file ar9002_phy.h.

Referenced by ar5008_hw_set_delta_slope().

#define AR_PHY_HALFGI_DSC_MAN   0x0007FFF0

Definition at line 356 of file ar9002_phy.h.

Referenced by ar5008_hw_set_delta_slope().

#define AR_PHY_HALFGI_DSC_MAN_S   4

Definition at line 357 of file ar9002_phy.h.

#define AR_PHY_HALFGI_DSC_EXP   0x0000000F

Definition at line 358 of file ar9002_phy.h.

Referenced by ar5008_hw_set_delta_slope().

#define AR_PHY_HALFGI_DSC_EXP_S   0

Definition at line 359 of file ar9002_phy.h.

#define AR_PHY_CHAN_INFO_MEMORY   0x99DC

Definition at line 361 of file ar9002_phy.h.

Referenced by ar9003_hw_tx_iq_cal_post_proc().

Definition at line 362 of file ar9002_phy.h.

#define AR_PHY_HEAVY_CLIP_ENABLE   0x99E0

Definition at line 364 of file ar9002_phy.h.

#define AR_PHY_HEAVY_CLIP_FACTOR_RIFS   0x99EC

Definition at line 366 of file ar9002_phy.h.

Referenced by ar5008_hw_override_ini().

#define AR_PHY_RIFS_INIT_DELAY   0x03ff0000

Definition at line 367 of file ar9002_phy.h.

Referenced by ar5008_hw_override_ini().

#define AR_PHY_M_SLEEP   0x99f0

Definition at line 369 of file ar9002_phy.h.

#define AR_PHY_REFCLKDLY   0x99f4

Definition at line 370 of file ar9002_phy.h.

#define AR_PHY_REFCLKPD   0x99f8

Definition at line 371 of file ar9002_phy.h.

#define AR_PHY_CALMODE   0x99f0

Definition at line 373 of file ar9002_phy.h.

Referenced by ar9002_hw_setup_calibration(), and ar9003_hw_setup_calibration().

#define AR_PHY_CALMODE_IQ   0x00000000

Definition at line 375 of file ar9002_phy.h.

Referenced by ar9002_hw_setup_calibration(), and ar9003_hw_setup_calibration().

#define AR_PHY_CALMODE_ADC_GAIN   0x00000001

Definition at line 376 of file ar9002_phy.h.

Referenced by ar9002_hw_setup_calibration().

#define AR_PHY_CALMODE_ADC_DC_PER   0x00000002

Definition at line 377 of file ar9002_phy.h.

Referenced by ar9002_hw_setup_calibration().

#define AR_PHY_CALMODE_ADC_DC_INIT   0x00000003

Definition at line 378 of file ar9002_phy.h.

#define AR_PHY_CAL_MEAS_0 (   _i)    (0x9c10 + ((_i) << 12))
#define AR_PHY_CAL_MEAS_1 (   _i)    (0x9c14 + ((_i) << 12))
#define AR_PHY_CAL_MEAS_2 (   _i)    (0x9c18 + ((_i) << 12))
#define AR_PHY_CAL_MEAS_3 (   _i)    (0x9c1c + ((_i) << 12))

Definition at line 383 of file ar9002_phy.h.

Referenced by ar9002_hw_adc_dccal_collect(), and ar9002_hw_adc_gaincal_collect().

#define AR_PHY_CURRENT_RSSI   0x9c1c

Definition at line 385 of file ar9002_phy.h.

#define AR9280_PHY_CURRENT_RSSI   0x9c3c

Definition at line 386 of file ar9002_phy.h.

#define AR_PHY_RFBUS_GRANT   0x9C20

Definition at line 388 of file ar9002_phy.h.

Referenced by ar5008_hw_rfbus_req(), and ar9003_hw_rfbus_req().

#define AR_PHY_RFBUS_GRANT_EN   0x00000001

Definition at line 389 of file ar9002_phy.h.

Referenced by ar5008_hw_rfbus_req(), and ar9003_hw_rfbus_req().

#define AR_PHY_CHAN_INFO_GAIN_DIFF   0x9CF4

Definition at line 391 of file ar9002_phy.h.

Definition at line 392 of file ar9002_phy.h.

#define AR_PHY_CHAN_INFO_GAIN   0x9CFC

Definition at line 394 of file ar9002_phy.h.

#define AR_PHY_MODE   0xA200
#define AR_PHY_MODE_ASYNCFIFO   0x80

Definition at line 397 of file ar9002_phy.h.

Referenced by ar9002_hw_enable_async_fifo().

#define AR_PHY_MODE_AR2133   0x08

Definition at line 398 of file ar9002_phy.h.

#define AR_PHY_MODE_AR5111   0x00

Definition at line 399 of file ar9002_phy.h.

#define AR_PHY_MODE_AR5112   0x08

Definition at line 400 of file ar9002_phy.h.

#define AR_PHY_MODE_DYNAMIC   0x04

Definition at line 401 of file ar9002_phy.h.

Referenced by ar5008_hw_set_rfmode(), ar9003_hw_set_rfmode(), and ar9003_hw_spur_ofdm().

#define AR_PHY_MODE_RF2GHZ   0x02

Definition at line 402 of file ar9002_phy.h.

Referenced by ar5008_hw_set_rfmode().

#define AR_PHY_MODE_RF5GHZ   0x00

Definition at line 403 of file ar9002_phy.h.

Referenced by ar5008_hw_set_rfmode().

#define AR_PHY_MODE_CCK   0x01

Definition at line 404 of file ar9002_phy.h.

#define AR_PHY_MODE_OFDM   0x00

Definition at line 405 of file ar9002_phy.h.

Referenced by ar5008_hw_set_rfmode(), and ar9003_hw_set_rfmode().

#define AR_PHY_MODE_DYN_CCK_DISABLE   0x100

Definition at line 406 of file ar9002_phy.h.

Referenced by ar5008_hw_set_rfmode(), and ar9003_hw_set_rfmode().

#define AR_PHY_CCK_TX_CTRL   0xA204
#define AR_PHY_CCK_TX_CTRL_JAPAN   0x00000010

Definition at line 409 of file ar9002_phy.h.

Referenced by ar5008_hw_set_channel(), and ar9002_hw_set_channel().

#define AR_PHY_CCK_TX_CTRL_TX_DAC_SCALE_CCK   0x0000000C

Definition at line 410 of file ar9002_phy.h.

Referenced by ath9k_hw_def_set_board_values().

Definition at line 411 of file ar9002_phy.h.

#define AR_PHY_CCK_DETECT   0xA208
#define AR_PHY_CCK_DETECT_WEAK_SIG_THR_CCK   0x0000003F

Definition at line 414 of file ar9002_phy.h.

Referenced by ar5008_hw_ani_control_old(), and ar9002_hw_load_ani_reg().

Definition at line 415 of file ar9002_phy.h.

#define AR_PHY_CCK_DETECT_ANT_SWITCH_TIME   0x00001FC0

Definition at line 417 of file ar9002_phy.h.

Definition at line 418 of file ar9002_phy.h.

Definition at line 420 of file ar9002_phy.h.

#define AR_PHY_GAIN_2GHZ   0xA20C
#define AR_PHY_GAIN_2GHZ_RXTX_MARGIN   0x00FC0000

Definition at line 423 of file ar9002_phy.h.

Referenced by ath9k_hw_def_set_gain().

Definition at line 424 of file ar9002_phy.h.

#define AR_PHY_GAIN_2GHZ_BSW_MARGIN   0x00003C00

Definition at line 425 of file ar9002_phy.h.

Referenced by ath9k_hw_def_set_gain().

Definition at line 426 of file ar9002_phy.h.

#define AR_PHY_GAIN_2GHZ_BSW_ATTEN   0x0000001F

Definition at line 427 of file ar9002_phy.h.

Referenced by ath9k_hw_def_set_gain().

Definition at line 428 of file ar9002_phy.h.

#define AR_PHY_GAIN_2GHZ_XATTEN2_MARGIN   0x003E0000

Definition at line 430 of file ar9002_phy.h.

Referenced by ath9k_hw_4k_set_gain(), and ath9k_hw_def_set_gain().

Definition at line 431 of file ar9002_phy.h.

#define AR_PHY_GAIN_2GHZ_XATTEN1_MARGIN   0x0001F000

Definition at line 433 of file ar9002_phy.h.

#define AR_PHY_GAIN_2GHZ_XATTEN2_DB   0x00000FC0

Definition at line 434 of file ar9002_phy.h.

Referenced by ath9k_hw_4k_set_gain(), and ath9k_hw_def_set_gain().

Definition at line 435 of file ar9002_phy.h.

#define AR_PHY_GAIN_2GHZ_XATTEN1_DB   0x0000003F

Definition at line 437 of file ar9002_phy.h.

#define AR_PHY_CCK_RXCTRL4   0xA21C

Definition at line 439 of file ar9002_phy.h.

#define AR_PHY_CCK_RXCTRL4_FREQ_EST_SHORT   0x01F80000

Definition at line 440 of file ar9002_phy.h.

Definition at line 441 of file ar9002_phy.h.

#define AR_PHY_DAG_CTRLCCK   0xA228

Definition at line 443 of file ar9002_phy.h.

#define AR_PHY_DAG_CTRLCCK_EN_RSSI_THR   0x00000200

Definition at line 444 of file ar9002_phy.h.

#define AR_PHY_DAG_CTRLCCK_RSSI_THR   0x0001FC00

Definition at line 445 of file ar9002_phy.h.

Definition at line 446 of file ar9002_phy.h.

#define AR_PHY_FORCE_CLKEN_CCK   0xA22C

Definition at line 448 of file ar9002_phy.h.

Referenced by ar9002_hw_spur_mitigate().

#define AR_PHY_FORCE_CLKEN_CCK_MRC_MUX   0x00000040

Definition at line 449 of file ar9002_phy.h.

Referenced by ar9002_hw_spur_mitigate().

#define AR_PHY_POWER_TX_RATE3   0xA234
#define AR_PHY_POWER_TX_RATE4   0xA238
#define AR_PHY_SCRM_SEQ_XR   0xA23C

Definition at line 454 of file ar9002_phy.h.

#define AR_PHY_HEADER_DETECT_XR   0xA240

Definition at line 455 of file ar9002_phy.h.

#define AR_PHY_CHIRP_DETECTED_XR   0xA244

Definition at line 456 of file ar9002_phy.h.

#define AR_PHY_BLUETOOTH   0xA254

Definition at line 457 of file ar9002_phy.h.

#define AR_PHY_TPCRG1   0xA258
#define AR_PHY_TPCRG1_NUM_PD_GAIN   0x0000c000
#define AR_PHY_TPCRG1_NUM_PD_GAIN_S   14

Definition at line 461 of file ar9002_phy.h.

#define AR_PHY_TPCRG1_PD_GAIN_1   0x00030000
#define AR_PHY_TPCRG1_PD_GAIN_1_S   16

Definition at line 464 of file ar9002_phy.h.

#define AR_PHY_TPCRG1_PD_GAIN_2   0x000C0000
#define AR_PHY_TPCRG1_PD_GAIN_2_S   18

Definition at line 466 of file ar9002_phy.h.

#define AR_PHY_TPCRG1_PD_GAIN_3   0x00300000
#define AR_PHY_TPCRG1_PD_GAIN_3_S   20

Definition at line 468 of file ar9002_phy.h.

#define AR_PHY_TPCRG1_PD_CAL_ENABLE   0x00400000

Definition at line 470 of file ar9002_phy.h.

Referenced by ar9285_hw_cl_cal().

Definition at line 471 of file ar9002_phy.h.

#define AR_PHY_TX_PWRCTRL4   0xa264
#define AR_PHY_TX_PWRCTRL_PD_AVG_VALID   0x00000001

Definition at line 474 of file ar9002_phy.h.

Definition at line 475 of file ar9002_phy.h.

#define AR_PHY_TX_PWRCTRL_PD_AVG_OUT   0x000001FE

Definition at line 477 of file ar9002_phy.h.

#define AR_PHY_TX_PWRCTRL6_0   0xa270

Definition at line 479 of file ar9002_phy.h.

Referenced by ath9k_olc_get_pdadcs().

#define AR_PHY_TX_PWRCTRL6_1   0xb270

Definition at line 480 of file ar9002_phy.h.

Referenced by ath9k_olc_get_pdadcs().

#define AR_PHY_TX_PWRCTRL_ERR_EST_MODE   0x03000000

Definition at line 481 of file ar9002_phy.h.

Referenced by ath9k_olc_get_pdadcs().

Definition at line 482 of file ar9002_phy.h.

#define AR_PHY_TX_PWRCTRL7   0xa274

Definition at line 484 of file ar9002_phy.h.

Referenced by ar9285_hw_clc(), and ath9k_olc_get_pdadcs().

#define AR_PHY_TX_PWRCTRL_INIT_TX_GAIN   0x01F80000

Definition at line 485 of file ar9002_phy.h.

Referenced by ath9k_olc_get_pdadcs().

Definition at line 486 of file ar9002_phy.h.

#define AR_PHY_TX_PWRCTRL8   0xa278

Definition at line 488 of file ar9002_phy.h.

Referenced by ath9k_hw_4k_set_board_values().

#define AR_PHY_TX_PWRCTRL9   0xa27C
#define AR_PHY_TX_PWRCTRL10   0xa394

Definition at line 492 of file ar9002_phy.h.

Referenced by ath9k_hw_4k_set_board_values().

#define AR_PHY_TX_DESIRED_SCALE_CCK   0x00007C00

Definition at line 493 of file ar9002_phy.h.

Referenced by ath9k_hw_def_set_board_values().

Definition at line 494 of file ar9002_phy.h.

#define AR_PHY_TX_PWRCTRL9_RES_DC_REMOVAL   0x80000000

Definition at line 495 of file ar9002_phy.h.

Referenced by ar9002_olc_init().

Definition at line 496 of file ar9002_phy.h.

#define AR_PHY_TX_GAIN_TBL1   0xa300

Definition at line 498 of file ar9002_phy.h.

Referenced by ar9002_olc_init(), ar9280_hw_olc_temp_compensation(), and ar9285_hw_clc().

#define AR_PHY_TX_GAIN   0x0007F000

Definition at line 499 of file ar9002_phy.h.

Referenced by ar9002_olc_init(), and ar9280_hw_olc_temp_compensation().

#define AR_PHY_TX_GAIN_S   12

Definition at line 500 of file ar9002_phy.h.

#define AR_PHY_CH0_TX_PWRCTRL11   0xa398

Definition at line 502 of file ar9002_phy.h.

Referenced by ar9287_hw_olc_temp_compensation(), and ath9k_hw_4k_set_board_values().

#define AR_PHY_CH1_TX_PWRCTRL11   0xb398

Definition at line 503 of file ar9002_phy.h.

Referenced by ar9287_hw_olc_temp_compensation().

#define AR_PHY_CH0_TX_PWRCTRL12   0xa3dc

Definition at line 504 of file ar9002_phy.h.

Referenced by ath9k_hw_4k_set_board_values().

#define AR_PHY_CH0_TX_PWRCTRL13   0xa3e0

Definition at line 505 of file ar9002_phy.h.

Referenced by ath9k_hw_4k_set_board_values().

#define AR_PHY_TX_PWRCTRL_OLPC_TEMP_COMP   0x0000FC00

Definition at line 506 of file ar9002_phy.h.

Referenced by ar9287_hw_olc_temp_compensation().

Definition at line 507 of file ar9002_phy.h.

#define AR_PHY_VIT_MASK2_M_46_61   0xa3a0

Definition at line 509 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

#define AR_PHY_MASK2_M_31_45   0xa3a4

Definition at line 510 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

#define AR_PHY_MASK2_M_16_30   0xa3a8

Definition at line 511 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

#define AR_PHY_MASK2_M_00_15   0xa3ac

Definition at line 512 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

#define AR_PHY_MASK2_P_15_01   0xa3b8

Definition at line 513 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

#define AR_PHY_MASK2_P_30_16   0xa3bc

Definition at line 514 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

#define AR_PHY_MASK2_P_45_31   0xa3c0

Definition at line 515 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

#define AR_PHY_MASK2_P_61_45   0xa3c4

Definition at line 516 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

#define AR_PHY_SPUR_REG   0x994c
#define AR_PHY_SPUR_REG_MASK_RATE_CNTL   (0xFF << 18)

Definition at line 520 of file ar9002_phy.h.

#define AR_PHY_SPUR_REG_ENABLE_MASK_PPM   0x20000
#define AR_PHY_SPUR_REG_MASK_RATE_SELECT   (0xFF << 9)

Definition at line 523 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

Definition at line 524 of file ar9002_phy.h.

Definition at line 525 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

Definition at line 527 of file ar9002_phy.h.

#define AR_PHY_PILOT_MASK_01_30   0xa3b0

Definition at line 529 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

#define AR_PHY_PILOT_MASK_31_60   0xa3b4

Definition at line 530 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

#define AR_PHY_CHANNEL_MASK_01_30   0x99d4

Definition at line 532 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

#define AR_PHY_CHANNEL_MASK_31_60   0x99d8

Definition at line 533 of file ar9002_phy.h.

Referenced by ar5008_hw_spur_mitigate(), and ar9002_hw_spur_mitigate().

#define AR_PHY_ANALOG_SWAP   0xa268

Definition at line 535 of file ar9002_phy.h.

Referenced by ar5008_hw_init_chain_masks(), and ar9003_hw_set_chain_masks().

#define AR_PHY_SWAP_ALT_CHAIN   0x00000040

Definition at line 536 of file ar9002_phy.h.

Referenced by ar5008_hw_init_chain_masks(), and ar9003_hw_set_chain_masks().

#define AR_PHY_TPCRG5   0xA26C
#define AR_PHY_TPCRG5_PD_GAIN_OVERLAP   0x0000000F

Definition at line 540 of file ar9002_phy.h.

#define AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_1   0x000003F0

Definition at line 542 of file ar9002_phy.h.

#define AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_2   0x0000FC00

Definition at line 544 of file ar9002_phy.h.

#define AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_3   0x003F0000

Definition at line 546 of file ar9002_phy.h.

#define AR_PHY_TPCRG5_PD_GAIN_BOUNDARY_4   0x0FC00000

Definition at line 548 of file ar9002_phy.h.

#define AR_PHY_CL_CAL_CTL   0xA358

Definition at line 551 of file ar9002_phy.h.

Referenced by ar9285_hw_cl_cal().

#define AR_PHY_CL_CAL_ENABLE   0x00000002

Definition at line 552 of file ar9002_phy.h.

Referenced by ar9285_hw_cl_cal().

#define AR_PHY_PARALLEL_CAL_ENABLE   0x00000001

Definition at line 553 of file ar9002_phy.h.

Referenced by ar9285_hw_cl_cal().

#define AR_PHY_POWER_TX_RATE5   0xA38C
#define AR_PHY_POWER_TX_RATE6   0xA390
#define AR_PHY_CAL_CHAINMASK   0xA39C
#define AR_PHY_POWER_TX_SUB   0xA3C8

Definition at line 560 of file ar9002_phy.h.

Referenced by ath9k_hw_def_set_txpower().

#define AR_PHY_POWER_TX_RATE7   0xA3CC
#define AR_PHY_POWER_TX_RATE8   0xA3D0
#define AR_PHY_POWER_TX_RATE9   0xA3D4
#define AR_PHY_XPA_CFG   0xA3D8

Definition at line 565 of file ar9002_phy.h.

Referenced by ath9k_hw_def_set_board_values().

#define AR_PHY_FORCE_XPA_CFG   0x000000001

Definition at line 566 of file ar9002_phy.h.

Referenced by ath9k_hw_def_set_board_values().

#define AR_PHY_FORCE_XPA_CFG_S   0

Definition at line 567 of file ar9002_phy.h.

#define AR_PHY_CH1_CCA   0xa864

Definition at line 569 of file ar9002_phy.h.

Referenced by ar5008_hw_attach_phy_ops(), ar5008_hw_do_getnf(), and ar9002_hw_do_getnf().

#define AR_PHY_CH1_MINCCA_PWR   0x0FF80000

Definition at line 570 of file ar9002_phy.h.

Referenced by ar5008_hw_do_getnf().

#define AR_PHY_CH1_MINCCA_PWR_S   19

Definition at line 571 of file ar9002_phy.h.

#define AR9280_PHY_CH1_MINCCA_PWR   0x1FF00000

Definition at line 572 of file ar9002_phy.h.

Referenced by ar9002_hw_do_getnf().

#define AR9280_PHY_CH1_MINCCA_PWR_S   20

Definition at line 573 of file ar9002_phy.h.

#define AR_PHY_CH2_CCA   0xb864

Definition at line 575 of file ar9002_phy.h.

Referenced by ar5008_hw_attach_phy_ops(), and ar5008_hw_do_getnf().

#define AR_PHY_CH2_MINCCA_PWR   0x0FF80000

Definition at line 576 of file ar9002_phy.h.

Referenced by ar5008_hw_do_getnf().

#define AR_PHY_CH2_MINCCA_PWR_S   19

Definition at line 577 of file ar9002_phy.h.

#define AR_PHY_CH1_EXT_CCA   0xa9bc

Definition at line 579 of file ar9002_phy.h.

Referenced by ar5008_hw_attach_phy_ops(), ar5008_hw_do_getnf(), and ar9002_hw_do_getnf().

#define AR_PHY_CH1_EXT_MINCCA_PWR   0xFF800000

Definition at line 580 of file ar9002_phy.h.

Referenced by ar5008_hw_do_getnf().

#define AR_PHY_CH1_EXT_MINCCA_PWR_S   23

Definition at line 581 of file ar9002_phy.h.

#define AR9280_PHY_CH1_EXT_MINCCA_PWR   0x01FF0000

Definition at line 582 of file ar9002_phy.h.

Referenced by ar9002_hw_do_getnf().

Definition at line 583 of file ar9002_phy.h.

#define AR_PHY_CH2_EXT_CCA   0xb9bc

Definition at line 585 of file ar9002_phy.h.

Referenced by ar5008_hw_attach_phy_ops(), and ar5008_hw_do_getnf().

#define AR_PHY_CH2_EXT_MINCCA_PWR   0xFF800000

Definition at line 586 of file ar9002_phy.h.

Referenced by ar5008_hw_do_getnf().

#define AR_PHY_CH2_EXT_MINCCA_PWR_S   23

Definition at line 587 of file ar9002_phy.h.

#define AR_PHY_CCA_NOM_VAL_5416_2GHZ   -90

Definition at line 589 of file ar9002_phy.h.

Referenced by ar5008_hw_set_nf_limits().

#define AR_PHY_CCA_NOM_VAL_5416_5GHZ   -100

Definition at line 590 of file ar9002_phy.h.

Referenced by ar5008_hw_set_nf_limits().

Definition at line 591 of file ar9002_phy.h.

Referenced by ar5008_hw_set_nf_limits().

Definition at line 592 of file ar9002_phy.h.

Referenced by ar5008_hw_set_nf_limits().

Definition at line 593 of file ar9002_phy.h.

Referenced by ar5008_hw_set_nf_limits().

Definition at line 594 of file ar9002_phy.h.

Referenced by ar5008_hw_set_nf_limits().

#define AR_PHY_CCA_NOM_VAL_9280_2GHZ   -112

Definition at line 596 of file ar9002_phy.h.

Referenced by ar9002_hw_set_nf_limits().

#define AR_PHY_CCA_NOM_VAL_9280_5GHZ   -112

Definition at line 597 of file ar9002_phy.h.

Referenced by ar9002_hw_set_nf_limits().

Definition at line 598 of file ar9002_phy.h.

Referenced by ar9002_hw_set_nf_limits().

Definition at line 599 of file ar9002_phy.h.

Referenced by ar9002_hw_set_nf_limits().

Definition at line 600 of file ar9002_phy.h.

Referenced by ar9002_hw_set_nf_limits().

Definition at line 601 of file ar9002_phy.h.

Referenced by ar9002_hw_set_nf_limits().

#define AR_PHY_CCA_NOM_VAL_9285_2GHZ   -118

Definition at line 603 of file ar9002_phy.h.

Referenced by ar9002_hw_set_nf_limits().

Definition at line 604 of file ar9002_phy.h.

Referenced by ar9002_hw_set_nf_limits().

Definition at line 605 of file ar9002_phy.h.

Referenced by ar9002_hw_set_nf_limits().

#define AR_PHY_CCA_NOM_VAL_9271_2GHZ   -118

Definition at line 607 of file ar9002_phy.h.

Referenced by ar9002_hw_set_nf_limits().

Definition at line 608 of file ar9002_phy.h.

Referenced by ar9002_hw_set_nf_limits().

Definition at line 609 of file ar9002_phy.h.

Referenced by ar9002_hw_set_nf_limits().

#define AR_PHY_CCA_NOM_VAL_9287_2GHZ   -120

Definition at line 611 of file ar9002_phy.h.

Referenced by ar9002_hw_set_nf_limits().

Definition at line 612 of file ar9002_phy.h.

Referenced by ar9002_hw_set_nf_limits().

Definition at line 613 of file ar9002_phy.h.

Referenced by ar9002_hw_set_nf_limits().


Function Documentation

FILE_LICENCE ( BSD2  )