Main Page | Data Structures | Directories | File List | Data Fields | Globals

ar5212reg.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define AR5K_AR5212_CR   0x0008
#define AR5K_AR5212_CR_RXE   0x00000004
#define AR5K_AR5212_CR_RXD   0x00000020
#define AR5K_AR5212_CR_SWI   0x00000040
#define AR5K_AR5212_RXDP   0x000c
#define AR5K_AR5212_CFG   0x0014
#define AR5K_AR5212_CFG_SWTD   0x00000001
#define AR5K_AR5212_CFG_SWTB   0x00000002
#define AR5K_AR5212_CFG_SWRD   0x00000004
#define AR5K_AR5212_CFG_SWRB   0x00000008
#define AR5K_AR5212_CFG_SWRG   0x00000010
#define AR5K_AR5212_CFG_ADHOC   0x00000020
#define AR5K_AR5212_CFG_PHY_OK   0x00000100
#define AR5K_AR5212_CFG_EEBS   0x00000200
#define AR5K_AR5212_CFG_CLKGD   0x00000400
#define AR5K_AR5212_CFG_PCI_THRES   0x00060000
#define AR5K_AR5212_CFG_PCI_THRES_S   17
#define AR5K_AR5212_IER   0x0024
#define AR5K_AR5212_IER_DISABLE   0x00000000
#define AR5K_AR5212_IER_ENABLE   0x00000001
#define AR5K_AR5212_TXCFG   0x0030
#define AR5K_AR5212_TXCFG_SDMAMR   0x00000007
#define AR5K_AR5212_TXCFG_SDMAMR_S   0
#define AR5K_AR5212_TXCFG_B_MODE   0x00000008
#define AR5K_AR5212_TXCFG_TXFULL   0x000003f0
#define AR5K_AR5212_TXCFG_TXFULL_S   4
#define AR5K_AR5212_TXCFG_TXFULL_0B   0x00000000
#define AR5K_AR5212_TXCFG_TXFULL_64B   0x00000010
#define AR5K_AR5212_TXCFG_TXFULL_128B   0x00000020
#define AR5K_AR5212_TXCFG_TXFULL_192B   0x00000030
#define AR5K_AR5212_TXCFG_TXFULL_256B   0x00000040
#define AR5K_AR5212_TXCFG_TXCONT_ENABLE   0x00000080
#define AR5K_AR5212_TXCFG_DMASIZE   0x00000100
#define AR5K_AR5212_TXCFG_JUMBO_TXE   0x00000400
#define AR5K_AR5212_TXCFG_RTSRND   0x00001000
#define AR5K_AR5212_TXCFG_FRMPAD_DIS   0x00002000
#define AR5K_AR5212_TXCFG_RDY_DIS   0x00004000
#define AR5K_AR5212_RXCFG   0x0034
#define AR5K_AR5212_RXCFG_SDMAMW   0x00000007
#define AR5K_AR5212_RXCFG_SDMAMW_S   0
#define AR5K_AR5311_RXCFG_DEFAULT_ANTENNA   0x00000008
#define AR5K_AR5212_RXCFG_ZLFDMA   0x00000010
#define AR5K_AR5212_RXCFG_JUMBO_RXE   0x00000020
#define AR5K_AR5212_RXCFG_JUMBO_WRAP   0x00000040
#define AR5K_AR5212_MIBC   0x0040
#define AR5K_AR5212_MIBC_COW   0x00000001
#define AR5K_AR5212_MIBC_FMC   0x00000002
#define AR5K_AR5212_MIBC_CMC   0x00000004
#define AR5K_AR5212_MIBC_MCS   0x00000008
#define AR5K_AR5212_TOPS   0x0044
#define AR5K_AR5212_TOPS_M   0x0000ffff
#define AR5K_AR5212_RXNOFRM   0x0048
#define AR5K_AR5212_RXNOFRM_M   0x000003ff
#define AR5K_AR5212_TXNOFRM   0x004c
#define AR5K_AR5212_TXNOFRM_M   0x000003ff
#define AR5K_AR5212_TXNOFRM_QCU   0x000ffc00
#define AR5K_AR5212_RPGTO   0x0050
#define AR5K_AR5212_RPGTO_M   0x000003ff
#define AR5K_AR5212_RFCNT   0x0054
#define AR5K_AR5212_RFCNT_M   0x0000001f
#define AR5K_AR5212_MISC   0x0058
#define AR5K_AR5212_MISC_DMA_OBS_M   0x000001e0
#define AR5K_AR5212_MISC_DMA_OBS_S   5
#define AR5K_AR5212_MISC_MISC_OBS_M   0x00000e00
#define AR5K_AR5212_MISC_MISC_OBS_S   9
#define AR5K_AR5212_MISC_MAC_OBS_LSB_M   0x00007000
#define AR5K_AR5212_MISC_MAC_OBS_LSB_S   12
#define AR5K_AR5212_MISC_MAC_OBS_MSB_M   0x00038000
#define AR5K_AR5212_MISC_MAC_OBS_MSB_S   15
#define AR5K_AR5212_PISR   0x0080
#define AR5K_AR5212_PISR_RXOK   0x00000001
#define AR5K_AR5212_PISR_RXDESC   0x00000002
#define AR5K_AR5212_PISR_RXERR   0x00000004
#define AR5K_AR5212_PISR_RXNOFRM   0x00000008
#define AR5K_AR5212_PISR_RXEOL   0x00000010
#define AR5K_AR5212_PISR_RXORN   0x00000020
#define AR5K_AR5212_PISR_TXOK   0x00000040
#define AR5K_AR5212_PISR_TXDESC   0x00000080
#define AR5K_AR5212_PISR_TXERR   0x00000100
#define AR5K_AR5212_PISR_TXNOFRM   0x00000200
#define AR5K_AR5212_PISR_TXEOL   0x00000400
#define AR5K_AR5212_PISR_TXURN   0x00000800
#define AR5K_AR5212_PISR_MIB   0x00001000
#define AR5K_AR5212_PISR_SWI   0x00002000
#define AR5K_AR5212_PISR_RXPHY   0x00004000
#define AR5K_AR5212_PISR_RXKCM   0x00008000
#define AR5K_AR5212_PISR_SWBA   0x00010000
#define AR5K_AR5212_PISR_BRSSI   0x00020000
#define AR5K_AR5212_PISR_BMISS   0x00040000
#define AR5K_AR5212_PISR_HIUERR   0x00080000
#define AR5K_AR5212_PISR_BNR   0x00100000
#define AR5K_AR5212_PISR_RXCHIRP   0x00200000
#define AR5K_AR5212_PISR_TIM   0x00400000
#define AR5K_AR5212_PISR_BCNMISC   0x00800000
#define AR5K_AR5212_PISR_GPIO   0x01000000
#define AR5K_AR5212_PISR_QCBRORN   0x02000000
#define AR5K_AR5212_PISR_QCBRURN   0x04000000
#define AR5K_AR5212_PISR_QTRIG   0x08000000
#define AR5K_AR5212_SISR0   0x0084
#define AR5K_AR5212_SISR0_QCU_TXOK   0x000003ff
#define AR5K_AR5212_SISR0_QCU_TXDESC   0x03ff0000
#define AR5K_AR5212_SISR1   0x0088
#define AR5K_AR5212_SISR1_QCU_TXERR   0x000003ff
#define AR5K_AR5212_SISR1_QCU_TXEOL   0x03ff0000
#define AR5K_AR5212_SISR2   0x008c
#define AR5K_AR5212_SISR2_QCU_TXURN   0x000003ff
#define AR5K_AR5212_SISR2_MCABT   0x00100000
#define AR5K_AR5212_SISR2_SSERR   0x00200000
#define AR5K_AR5212_SISR2_DPERR   0x00400000
#define AR5K_AR5212_SISR2_TIM   0x01000000
#define AR5K_AR5212_SISR2_CAB_END   0x02000000
#define AR5K_AR5212_SISR2_DTIM_SYNC   0x04000000
#define AR5K_AR5212_SISR2_BCN_TIMEOUT   0x08000000
#define AR5K_AR5212_SISR2_CAB_TIMEOUT   0x10000000
#define AR5K_AR5212_SISR2_DTIM   0x20000000
#define AR5K_AR5212_SISR3   0x0090
#define AR5K_AR5212_SISR3_QCBRORN   0x000003ff
#define AR5K_AR5212_SISR3_QCBRURN   0x03ff0000
#define AR5K_AR5212_SISR4   0x0094
#define AR5K_AR5212_SISR4_QTRIG   0x000003ff
#define AR5K_AR5212_RAC_PISR   0x00c0
#define AR5K_AR5212_RAC_SISR0   0x00c4
#define AR5K_AR5212_RAC_SISR1   0x00c8
#define AR5K_AR5212_RAC_SISR2   0x00cc
#define AR5K_AR5212_RAC_SISR3   0c00d0
#define AR5K_AR5212_RAC_SISR4   0c00d4
#define AR5K_AR5212_PIMR   0x00a0
#define AR5K_AR5212_PIMR_RXOK   0x00000001
#define AR5K_AR5212_PIMR_RXDESC   0x00000002
#define AR5K_AR5212_PIMR_RXERR   0x00000004
#define AR5K_AR5212_PIMR_RXNOFRM   0x00000008
#define AR5K_AR5212_PIMR_RXEOL   0x00000010
#define AR5K_AR5212_PIMR_RXORN   0x00000020
#define AR5K_AR5212_PIMR_TXOK   0x00000040
#define AR5K_AR5212_PIMR_TXDESC   0x00000080
#define AR5K_AR5212_PIMR_TXERR   0x00000100
#define AR5K_AR5212_PIMR_TXNOFRM   0x00000200
#define AR5K_AR5212_PIMR_TXEOL   0x00000400
#define AR5K_AR5212_PIMR_TXURN   0x00000800
#define AR5K_AR5212_PIMR_MIB   0x00001000
#define AR5K_AR5212_PIMR_SWI   0x00002000
#define AR5K_AR5212_PIMR_RXPHY   0x00004000
#define AR5K_AR5212_PIMR_RXKCM   0x00008000
#define AR5K_AR5212_PIMR_SWBA   0x00010000
#define AR5K_AR5212_PIMR_BRSSI   0x00020000
#define AR5K_AR5212_PIMR_BMISS   0x00040000
#define AR5K_AR5212_PIMR_HIUERR   0x00080000
#define AR5K_AR5212_PIMR_BNR   0x00100000
#define AR5K_AR5212_PIMR_RXCHIRP   0x00200000
#define AR5K_AR5212_PIMR_TIM   0x00800000
#define AR5K_AR5212_PIMR_BCNMISC   0x00800000
#define AR5K_AR5212_PIMR_GPIO   0x01000000
#define AR5K_AR5212_PIMR_QCBRORN   0x02000000
#define AR5K_AR5212_PIMR_QCBRURN   0x04000000
#define AR5K_AR5212_PIMR_QTRIG   0x08000000
#define AR5K_AR5212_SIMR0   0x00a4
#define AR5K_AR5212_SIMR0_QCU_TXOK   0x000003ff
#define AR5K_AR5212_SIMR0_QCU_TXOK_S   0
#define AR5K_AR5212_SIMR0_QCU_TXDESC   0x03ff0000
#define AR5K_AR5212_SIMR0_QCU_TXDESC_S   16
#define AR5K_AR5212_SIMR1   0x00a8
#define AR5K_AR5212_SIMR1_QCU_TXERR   0x000003ff
#define AR5K_AR5212_SIMR1_QCU_TXERR_S   0
#define AR5K_AR5212_SIMR1_QCU_TXEOL   0x03ff0000
#define AR5K_AR5212_SIMR1_QCU_TXEOL_S   16
#define AR5K_AR5212_SIMR2   0x00ac
#define AR5K_AR5212_SIMR2_QCU_TXURN   0x000003ff
#define AR5K_AR5212_SIMR2_QCU_TXURN_S   0
#define AR5K_AR5212_SIMR2_MCABT   0x00100000
#define AR5K_AR5212_SIMR2_SSERR   0x00200000
#define AR5K_AR5212_SIMR2_DPERR   0x00400000
#define AR5K_AR5212_SIMR2_TIM   0x01000000
#define AR5K_AR5212_SIMR2_CAB_END   0x02000000
#define AR5K_AR5212_SIMR2_DTIM_SYNC   0x04000000
#define AR5K_AR5212_SIMR2_BCN_TIMEOUT   0x08000000
#define AR5K_AR5212_SIMR2_CAB_TIMEOUT   0x10000000
#define AR5K_AR5212_SIMR2_DTIM   0x20000000
#define AR5K_AR5212_SIMR3   0x00b0
#define AR5K_AR5212_SIMR3_QCBRORN   0x000003ff
#define AR5K_AR5212_SIMR3_QCBRORN_S   0
#define AR5K_AR5212_SIMR3_QCBRURN   0x03ff0000
#define AR5K_AR5212_SIMR3_QCBRURN_S   16
#define AR5K_AR5212_SIMR4   0x00b4
#define AR5K_AR5212_SIMR4_QTRIG   0x000003ff
#define AR5K_AR5212_SIMR4_QTRIG_S   0
#define AR5K_AR5212_DCM_ADDR   0x0400
#define AR5K_AR5212_DCM_DATA   0x0404
#define AR5K_AR5212_DCCFG   0x0420
#define AR5K_AR5212_CCFG   0x0600
#define AR5K_AR5212_CCFG_CUP   0x0604
#define AR5K_AR5212_CPC0   0x0610
#define AR5K_AR5212_CPC1   0x0614
#define AR5K_AR5212_CPC2   0x0618
#define AR5K_AR5212_CPC3   0x061c
#define AR5K_AR5212_CPCORN   0x0620
#define AR5K_AR5212_QCU(_n, _a)   (((_n) << 2) + _a)
#define AR5K_AR5212_QCU_TXDP(_n)   AR5K_AR5212_QCU(_n, 0x0800)
#define AR5K_AR5212_QCU_TXE   0x0840
#define AR5K_AR5212_QCU_TXD   0x0880
#define AR5K_AR5212_QCU_CBRCFG(_n)   AR5K_AR5212_QCU(_n, 0x08c0)
#define AR5K_AR5212_QCU_CBRCFG_INTVAL   0x00ffffff
#define AR5K_AR5212_QCU_CBRCFG_INTVAL_S   0
#define AR5K_AR5212_QCU_CBRCFG_ORN_THRES   0xff000000
#define AR5K_AR5212_QCU_CBRCFG_ORN_THRES_S   24
#define AR5K_AR5212_QCU_RDYTIMECFG(_n)   AR5K_AR5212_QCU(_n, 0x0900)
#define AR5K_AR5212_QCU_RDYTIMECFG_INTVAL   0x00ffffff
#define AR5K_AR5212_QCU_RDYTIMECFG_INTVAL_S   0
#define AR5K_AR5212_QCU_RDYTIMECFG_DURATION   0x00ffffff
#define AR5K_AR5212_QCU_RDYTIMECFG_ENABLE   0x01000000
#define AR5K_AR5212_QCU_ONESHOTARMS(_n)   AR5K_AR5212_QCU(_n, 0x0940)
#define AR5K_AR5212_QCU_ONESHOTARMS_M   0x0000ffff
#define AR5K_AR5212_QCU_ONESHOTARMC(_n)   AR5K_AR5212_QCU(_n, 0x0980)
#define AR5K_AR5212_QCU_ONESHOTARMC_M   0x0000ffff
#define AR5K_AR5212_QCU_MISC(_n)   AR5K_AR5212_QCU(_n, 0x09c0)
#define AR5K_AR5212_QCU_MISC_FRSHED_M   0x0000000f
#define AR5K_AR5212_QCU_MISC_FRSHED_ASAP   0
#define AR5K_AR5212_QCU_MISC_FRSHED_CBR   1
#define AR5K_AR5212_QCU_MISC_FRSHED_DBA_GT   2
#define AR5K_AR5212_QCU_MISC_FRSHED_TIM_GT   3
#define AR5K_AR5212_QCU_MISC_FRSHED_BCN_SENT_GT   4
#define AR5K_AR5212_QCU_MISC_ONESHOT_ENABLE   0x00000010
#define AR5K_AR5212_QCU_MISC_CBREXP   0x00000020
#define AR5K_AR5212_QCU_MISC_CBREXP_BCN   0x00000040
#define AR5K_AR5212_QCU_MISC_BCN_ENABLE   0x00000080
#define AR5K_AR5212_QCU_MISC_CBR_THRES_ENABLE   0x00000100
#define AR5K_AR5212_QCU_MISC_TXE   0x00000200
#define AR5K_AR5212_QCU_MISC_CBR   0x00000400
#define AR5K_AR5212_QCU_MISC_DCU_EARLY   0x00000800
#define AR5K_AR5212_QCU_STS(_n)   AR5K_AR5212_QCU(_n, 0x0a00)
#define AR5K_AR5212_QCU_STS_FRMPENDCNT   0x00000003
#define AR5K_AR5212_QCU_STS_CBREXPCNT   0x0000ff00
#define AR5K_AR5212_QCU_RDYTIMESHDN   0x0a40
#define AR5K_AR5212_QCU_RDYTIMESHDN_M   0x000003ff
#define AR5K_AR5212_QCU_CBB_SELECT   0x0b00
#define AR5K_AR5212_QCU_CBB_ADDR   0x0b04
#define AR5K_AR5212_QCU_CBCFG   0x0b08
#define AR5K_AR5212_DCU(_n, _a)   AR5K_AR5212_QCU(_n, _a)
#define AR5K_AR5212_DCU_QCUMASK(_n)   AR5K_AR5212_DCU(_n, 0x1000)
#define AR5K_AR5212_DCU_QCUMASK_M   0x000003ff
#define AR5K_AR5212_DCU_LCL_IFS(_n)   AR5K_AR5212_DCU(_n, 0x1040)
#define AR5K_AR5212_DCU_LCL_IFS_CW_MIN   0x000003ff
#define AR5K_AR5212_DCU_LCL_IFS_CW_MIN_S   0
#define AR5K_AR5212_DCU_LCL_IFS_CW_MAX   0x000ffc00
#define AR5K_AR5212_DCU_LCL_IFS_CW_MAX_S   10
#define AR5K_AR5212_DCU_LCL_IFS_AIFS   0x0ff00000
#define AR5K_AR5212_DCU_LCL_IFS_AIFS_S   20
#define AR5K_AR5212_DCU_RETRY_LMT(_n)   AR5K_AR5212_DCU(_n, 0x1080)
#define AR5K_AR5212_DCU_RETRY_LMT_SH_RETRY   0x0000000f
#define AR5K_AR5212_DCU_RETRY_LMT_SH_RETRY_S   0
#define AR5K_AR5212_DCU_RETRY_LMT_LG_RETRY   0x000000f0
#define AR5K_AR5212_DCU_RETRY_LMT_LG_RETRY_S   4
#define AR5K_AR5212_DCU_RETRY_LMT_SSH_RETRY   0x00003f00
#define AR5K_AR5212_DCU_RETRY_LMT_SSH_RETRY_S   8
#define AR5K_AR5212_DCU_RETRY_LMT_SLG_RETRY   0x000fc000
#define AR5K_AR5212_DCU_RETRY_LMT_SLG_RETRY_S   14
#define AR5K_AR5212_DCU_CHAN_TIME(_n)   AR5K_AR5212_DCU(_n, 0x10c0)
#define AR5K_AR5212_DCU_CHAN_TIME_DUR   0x000fffff
#define AR5K_AR5212_DCU_CHAN_TIME_DUR_S   0
#define AR5K_AR5212_DCU_CHAN_TIME_ENABLE   0x00100000
#define AR5K_AR5212_DCU_MISC(_n)   AR5K_AR5212_DCU(_n, 0x1100)
#define AR5K_AR5212_DCU_MISC_BACKOFF   0x000007ff
#define AR5K_AR5212_DCU_MISC_BACKOFF_FRAG   0x00000200
#define AR5K_AR5212_DCU_MISC_HCFPOLL_ENABLE   0x00000800
#define AR5K_AR5212_DCU_MISC_BACKOFF_PERSIST   0x00001000
#define AR5K_AR5212_DCU_MISC_FRMPRFTCH_ENABLE   0x00002000
#define AR5K_AR5212_DCU_MISC_VIRTCOL   0x0000c000
#define AR5K_AR5212_DCU_MISC_VIRTCOL_NORMAL   0
#define AR5K_AR5212_DCU_MISC_VIRTCOL_MODIFIED   1
#define AR5K_AR5212_DCU_MISC_VIRTCOL_IGNORE   2
#define AR5K_AR5212_DCU_MISC_BCN_ENABLE   0x00010000
#define AR5K_AR5212_DCU_MISC_ARBLOCK_CTL   0x00060000
#define AR5K_AR5212_DCU_MISC_ARBLOCK_CTL_S   17
#define AR5K_AR5212_DCU_MISC_ARBLOCK_CTL_NONE   0
#define AR5K_AR5212_DCU_MISC_ARBLOCK_CTL_INTFRM   1
#define AR5K_AR5212_DCU_MISC_ARBLOCK_CTL_GLOBAL   2
#define AR5K_AR5212_DCU_MISC_ARBLOCK_IGNORE   0x00080000
#define AR5K_AR5212_DCU_MISC_SEQ_NUM_INCR_DIS   0x00100000
#define AR5K_AR5212_DCU_MISC_POST_FR_BKOFF_DIS   0x00200000
#define AR5K_AR5212_DCU_MISC_VIRT_COLL_POLICY   0x00400000
#define AR5K_AR5212_DCU_MISC_BLOWN_IFS_POLICY   0x00800000
#define AR5K_AR5212_DCU_MISC_SEQNUM_CTL   0x01000000
#define AR5K_AR5212_DCU_SEQNUM(_n)   AR5K_AR5212_DCU(_n, 0x1140)
#define AR5K_AR5212_DCU_SEQNUM_M   0x00000fff
#define AR5K_AR5212_DCU_GBL_IFS_SIFS   0x1030
#define AR5K_AR5212_DCU_GBL_IFS_SIFS_M   0x0000ffff
#define AR5K_AR5212_DCU_GBL_IFS_SLOT   0x1070
#define AR5K_AR5212_DCU_GBL_IFS_SLOT_M   0x0000ffff
#define AR5K_AR5212_DCU_GBL_IFS_EIFS   0x10b0
#define AR5K_AR5212_DCU_GBL_IFS_EIFS_M   0x0000ffff
#define AR5K_AR5212_DCU_GBL_IFS_MISC   0x10f0
#define AR5K_AR5212_DCU_GBL_IFS_MISC_LFSR_SLICE   0x00000007
#define AR5K_AR5212_DCU_GBL_IFS_MISC_TURBO_MODE   0x00000008
#define AR5K_AR5212_DCU_GBL_IFS_MISC_SIFS_DUR_USEC   0x000003f0
#define AR5K_AR5212_DCU_GBL_IFS_MISC_USEC_DUR   0x000ffc00
#define AR5K_AR5212_DCU_GBL_IFS_MISC_DCU_ARB_DELAY   0x00300000
#define AR5K_AR5212_DCU_FP   0x1230
#define AR5K_AR5212_DCU_TXP   0x1270
#define AR5K_AR5212_DCU_TXP_M   0x000003ff
#define AR5K_AR5212_DCU_TXP_STATUS   0x00010000
#define AR5K_AR5212_DCU_TX_FILTER   0x1038
#define AR5K_AR5212_DCU_TX_FILTER_CLR   0x143c
#define AR5K_AR5212_DCU_TX_FILTER_SET   0x147c
#define AR5K_AR5212_RC   0x4000
#define AR5K_AR5212_RC_PCU   0x00000001
#define AR5K_AR5212_RC_BB   0x00000002
#define AR5K_AR5212_RC_PCI   0x00000010
#define AR5K_AR5212_RC_CHIP
#define AR5K_AR5212_SCR   0x4004
#define AR5K_AR5212_SCR_SLDUR   0x0000ffff
#define AR5K_AR5212_SCR_SLE   0x00030000
#define AR5K_AR5212_SCR_SLE_S   16
#define AR5K_AR5212_SCR_SLE_WAKE   0x00000000
#define AR5K_AR5212_SCR_SLE_SLP   0x00010000
#define AR5K_AR5212_SCR_SLE_ALLOW   0x00020000
#define AR5K_AR5212_SCR_SLE_UNITS   0x00000008
#define AR5K_AR5212_INTPEND   0x4008
#define AR5K_AR5212_INTPEND_M   0x00000001
#define AR5K_AR5212_SFR   0x400c
#define AR5K_AR5212_SFR_M   0x00000001
#define AR5K_AR5212_PCICFG   0x4010
#define AR5K_AR5212_PCICFG_CLKRUNEN   0x00000004
#define AR5K_AR5212_PCICFG_EESIZE   0x00000018
#define AR5K_AR5212_PCICFG_EESIZE_S   3
#define AR5K_AR5212_PCICFG_EESIZE_4K   0
#define AR5K_AR5212_PCICFG_EESIZE_8K   1
#define AR5K_AR5212_PCICFG_EESIZE_16K   2
#define AR5K_AR5212_PCICFG_EESIZE_FAIL   3
#define AR5K_AR5212_PCICFG_LED   0x00000060
#define AR5K_AR5212_PCICFG_LED_NONE   0x00000000
#define AR5K_AR5212_PCICFG_LED_PEND   0x00000020
#define AR5K_AR5212_PCICFG_LED_ASSOC   0x00000040
#define AR5K_AR5212_PCICFG_BUS_SEL   0x00000380
#define AR5K_AR5212_PCICFG_CBEFIX_DIS   0x00000400
#define AR5K_AR5212_PCICFG_SL_INTEN   0x00000800
#define AR5K_AR5212_PCICFG_SL_INPEN   0x00002800
#define AR5K_AR5212_PCICFG_SPWR_DN   0x00010000
#define AR5K_AR5212_PCICFG_LEDMODE   0x000e0000
#define AR5K_AR5212_PCICFG_LEDMODE_PROP   0x00000000
#define AR5K_AR5212_PCICFG_LEDMODE_PROM   0x00020000
#define AR5K_AR5212_PCICFG_LEDMODE_PWR   0x00040000
#define AR5K_AR5212_PCICFG_LEDMODE_RAND   0x00060000
#define AR5K_AR5212_PCICFG_LEDBLINK   0x00700000
#define AR5K_AR5212_PCICFG_LEDBLINK_S   20
#define AR5K_AR5212_PCICFG_LEDSLOW   0x00800000
#define AR5K_AR5212_PCICFG_LEDSTATE
#define AR5K_AR5212_GPIOCR   0x4014
#define AR5K_AR5212_GPIOCR_INT_ENA   0x00008000
#define AR5K_AR5212_GPIOCR_INT_SELL   0x00000000
#define AR5K_AR5212_GPIOCR_INT_SELH   0x00010000
#define AR5K_AR5212_GPIOCR_NONE(n)   (0 << ((n) * 2))
#define AR5K_AR5212_GPIOCR_OUT0(n)   (1 << ((n) * 2))
#define AR5K_AR5212_GPIOCR_OUT1(n)   (2 << ((n) * 2))
#define AR5K_AR5212_GPIOCR_ALL(n)   (3 << ((n) * 2))
#define AR5K_AR5212_GPIOCR_INT_SEL(n)   ((n) << 12)
#define AR5K_AR5212_NUM_GPIO   6
#define AR5K_AR5212_GPIODO   0x4018
#define AR5K_AR5212_GPIODI   0x401c
#define AR5K_AR5212_GPIODI_M   0x0000002f
#define AR5K_AR5212_SREV   0x4020
#define AR5K_AR5212_SREV_REV   0x0000000f
#define AR5K_AR5212_SREV_REV_S   0
#define AR5K_AR5212_SREV_VER   0x000000ff
#define AR5K_AR5212_SREV_VER_S   4
#define AR5K_AR5212_EEPROM_BASE   0x6000
#define AR5K_AR5212_EEPROM_DATA   0x6004
#define AR5K_AR5212_EEPROM_CMD   0x6008
#define AR5K_AR5212_EEPROM_CMD_READ   0x00000001
#define AR5K_AR5212_EEPROM_CMD_WRITE   0x00000002
#define AR5K_AR5212_EEPROM_CMD_RESET   0x00000004
#define AR5K_AR5212_EEPROM_STATUS   0x600c
#define AR5K_AR5212_EEPROM_STAT_RDERR   0x00000001
#define AR5K_AR5212_EEPROM_STAT_RDDONE   0x00000002
#define AR5K_AR5212_EEPROM_STAT_WRERR   0x00000004
#define AR5K_AR5212_EEPROM_STAT_WRDONE   0x00000008
#define AR5K_AR5212_EEPROM_CFG   0x6010
#define AR5K_AR5212_PCU_MIN   0x8000
#define AR5K_AR5212_PCU_MAX   0x8fff
#define AR5K_AR5212_STA_ID0   0x8000
#define AR5K_AR5212_STA_ID1   0x8004
#define AR5K_AR5212_STA_ID1_AP   0x00010000
#define AR5K_AR5212_STA_ID1_ADHOC   0x00020000
#define AR5K_AR5212_STA_ID1_PWR_SV   0x00040000
#define AR5K_AR5212_STA_ID1_NO_KEYSRCH   0x00080000
#define AR5K_AR5212_STA_ID1_PCF   0x00100000
#define AR5K_AR5212_STA_ID1_DEFAULT_ANTENNA   0x00200000
#define AR5K_AR5212_STA_ID1_DESC_ANTENNA   0x00400000
#define AR5K_AR5212_STA_ID1_RTS_DEFAULT_ANTENNA   0x00800000
#define AR5K_AR5212_STA_ID1_ACKCTS_6MB   0x01000000
#define AR5K_AR5212_STA_ID1_BASE_RATE_11B   0x02000000
#define AR5K_AR5212_BSS_ID0   0x8008
#define AR5K_AR5212_BSS_ID1   0x800c
#define AR5K_AR5212_BSS_ID1_AID   0xffff0000
#define AR5K_AR5212_BSS_ID1_AID_S   16
#define AR5K_AR5212_SLOT_TIME   0x8010
#define AR5K_AR5212_TIME_OUT   0x8014
#define AR5K_AR5212_TIME_OUT_ACK   0x00001fff
#define AR5K_AR5212_TIME_OUT_ACK_S   0
#define AR5K_AR5212_TIME_OUT_CTS   0x1fff0000
#define AR5K_AR5212_TIME_OUT_CTS_S   16
#define AR5K_AR5212_RSSI_THR   0x8018
#define AR5K_AR5212_RSSI_THR_M   0x000000ff
#define AR5K_AR5212_RSSI_THR_BMISS   0x0000ff00
#define AR5K_AR5212_RSSI_THR_BMISS_S   8
#define AR5K_AR5212_USEC   0x801c
#define AR5K_AR5212_USEC_1   0x0000007f
#define AR5K_AR5212_USEC_1_S   0
#define AR5K_AR5212_USEC_32   0x00003f80
#define AR5K_AR5212_USEC_32_S   7
#define AR5K_AR5212_USEC_TX_LATENCY   0x007fc000
#define AR5K_AR5212_USEC_TX_LATENCY_S   14
#define AR5K_AR5212_USEC_RX_LATENCY   0x1f800000
#define AR5K_AR5212_USEC_RX_LATENCY_S   23
#define AR5K_AR5311_USEC_TX_LATENCY   0x000fc000
#define AR5K_AR5311_USEC_TX_LATENCY_S   14
#define AR5K_AR5311_USEC_RX_LATENCY   0x03f00000
#define AR5K_AR5311_USEC_RX_LATENCY_S   20
#define AR5K_AR5212_BEACON   0x8020
#define AR5K_AR5212_BEACON_PERIOD   0x0000ffff
#define AR5K_AR5212_BEACON_PERIOD_S   0
#define AR5K_AR5212_BEACON_TIM   0x007f0000
#define AR5K_AR5212_BEACON_TIM_S   16
#define AR5K_AR5212_BEACON_ENABLE   0x00800000
#define AR5K_AR5212_BEACON_RESET_TSF   0x01000000
#define AR5K_AR5212_CFP_PERIOD   0x8024
#define AR5K_AR5212_TIMER0   0x8028
#define AR5K_AR5212_TIMER1   0x802c
#define AR5K_AR5212_TIMER2   0x8030
#define AR5K_AR5212_TIMER3   0x8034
#define AR5K_AR5212_CFP_DUR   0x8038
#define AR5K_AR5212_RX_FILTER   0x803c
#define AR5K_AR5212_RX_FILTER_UNICAST   0x00000001
#define AR5K_AR5212_RX_FILTER_MULTICAST   0x00000002
#define AR5K_AR5212_RX_FILTER_BROADCAST   0x00000004
#define AR5K_AR5212_RX_FILTER_CONTROL   0x00000008
#define AR5K_AR5212_RX_FILTER_BEACON   0x00000010
#define AR5K_AR5212_RX_FILTER_PROMISC   0x00000020
#define AR5K_AR5212_RX_FILTER_XR_POLL   0x00000040
#define AR5K_AR5212_RX_FILTER_PROBE_REQ   0x00000080
#define AR5K_AR5212_MCAST_FIL0   0x8040
#define AR5K_AR5212_MCAST_FIL1   0x8044
#define AR5K_AR5212_DIAG_SW   0x8048
#define AR5K_AR5212_DIAG_SW_DIS_WEP_ACK   0x00000001
#define AR5K_AR5212_DIAG_SW_DIS_ACK   0x00000002
#define AR5K_AR5212_DIAG_SW_DIS_CTS   0x00000004
#define AR5K_AR5212_DIAG_SW_DIS_ENC   0x00000008
#define AR5K_AR5212_DIAG_SW_DIS_DEC   0x00000010
#define AR5K_AR5212_DIAG_SW_DIS_RX   0x00000020
#define AR5K_AR5212_DIAG_SW_LOOP_BACK   0x00000040
#define AR5K_AR5212_DIAG_SW_CORR_FCS   0x00000080
#define AR5K_AR5212_DIAG_SW_CHAN_INFO   0x00000100
#define AR5K_AR5212_DIAG_SW_EN_SCRAM_SEED   0x00000200
#define AR5K_AR5212_DIAG_SW_ECO_ENABLE   0x00000400
#define AR5K_AR5212_DIAG_SW_SCRAM_SEED_M   0x0001fc00
#define AR5K_AR5212_DIAG_SW_SCRAM_SEED_S   10
#define AR5K_AR5212_DIAG_SW_FRAME_NV0   0x00020000
#define AR5K_AR5212_DIAG_SW_OBSPT_M   0x000c0000
#define AR5K_AR5212_DIAG_SW_OBSPT_S   18
#define AR5K_AR5212_TSF_L32   0x804c
#define AR5K_AR5212_TSF_U32   0x8050
#define AR5K_AR5212_ADDAC_TEST   0x8054
#define AR5K_AR5212_DEFAULT_ANTENNA   0x8058
#define AR5K_AR5212_LAST_TSTP   0x8080
#define AR5K_AR5212_NAV   0x8084
#define AR5K_AR5212_RTS_OK   0x8088
#define AR5K_AR5212_RTS_FAIL   0x808c
#define AR5K_AR5212_ACK_FAIL   0x8090
#define AR5K_AR5212_FCS_FAIL   0x8094
#define AR5K_AR5212_BEACON_CNT   0x8098
#define AR5K_AR5212_XRMODE   0x80c0
#define AR5K_AR5212_XRMODE_POLL_TYPE_M   0x0000003f
#define AR5K_AR5212_XRMODE_POLL_TYPE_S   0
#define AR5K_AR5212_XRMODE_POLL_SUBTYPE_M   0x0000003c
#define AR5K_AR5212_XRMODE_POLL_SUBTYPE_S   2
#define AR5K_AR5212_XRMODE_POLL_WAIT_ALL   0x00000080
#define AR5K_AR5212_XRMODE_SIFS_DELAY   0x000fff00
#define AR5K_AR5212_XRMODE_FRAME_HOLD_M   0xfff00000
#define AR5K_AR5212_XRMODE_FRAME_HOLD_S   20
#define AR5K_AR5212_XRDELAY   0x80c4
#define AR5K_AR5212_XRDELAY_SLOT_DELAY_M   0x0000ffff
#define AR5K_AR5212_XRDELAY_SLOT_DELAY_S   0
#define AR5K_AR5212_XRDELAY_CHIRP_DELAY_M   0xffff0000
#define AR5K_AR5212_XRDELAY_CHIRP_DELAY_S   16
#define AR5K_AR5212_XRTIMEOUT   0x80c8
#define AR5K_AR5212_XRTIMEOUT_CHIRP_M   0x0000ffff
#define AR5K_AR5212_XRTIMEOUT_CHIRP_S   0
#define AR5K_AR5212_XRTIMEOUT_POLL_M   0xffff0000
#define AR5K_AR5212_XRTIMEOUT_POLL_S   16
#define AR5K_AR5212_XRCHIRP   0x80cc
#define AR5K_AR5212_XRCHIRP_SEND   0x00000001
#define AR5K_AR5212_XRCHIRP_GAP   0xffff0000
#define AR5K_AR5212_XRSTOMP   0x80d0
#define AR5K_AR5212_XRSTOMP_TX   0x00000001
#define AR5K_AR5212_XRSTOMP_RX_ABORT   0x00000002
#define AR5K_AR5212_XRSTOMP_RSSI_THRES   0x0000ff00
#define AR5K_AR5212_SLEEP0   0x80d4
#define AR5K_AR5212_SLEEP0_NEXT_DTIM   0x0007ffff
#define AR5K_AR5212_SLEEP0_NEXT_DTIM_S   0
#define AR5K_AR5212_SLEEP0_ASSUME_DTIM   0x00080000
#define AR5K_AR5212_SLEEP0_ENH_SLEEP_EN   0x00100000
#define AR5K_AR5212_SLEEP0_CABTO   0xff000000
#define AR5K_AR5212_SLEEP0_CABTO_S   24
#define AR5K_AR5212_SLEEP1   0x80d8
#define AR5K_AR5212_SLEEP1_NEXT_TIM   0x0007ffff
#define AR5K_AR5212_SLEEP1_NEXT_TIM_S   0
#define AR5K_AR5212_SLEEP1_BEACON_TO   0xff000000
#define AR5K_AR5212_SLEEP1_BEACON_TO_S   24
#define AR5K_AR5212_SLEEP2   0x80dc
#define AR5K_AR5212_SLEEP2_TIM_PER   0x0000ffff
#define AR5K_AR5212_SLEEP2_TIM_PER_S   0
#define AR5K_AR5212_SLEEP2_DTIM_PER   0xffff0000
#define AR5K_AR5212_SLEEP2_DTIM_PER_S   16
#define AR5K_AR5212_BSS_IDM0   0x80e0
#define AR5K_AR5212_BSS_IDM1   0x80e4
#define AR5K_AR5212_TXPC   0x80e8
#define AR5K_AR5212_TXPC_ACK_M   0x0000003f
#define AR5K_AR5212_TXPC_ACK_S   0
#define AR5K_AR5212_TXPC_CTS_M   0x00003f00
#define AR5K_AR5212_TXPC_CTS_S   8
#define AR5K_AR5212_TXPC_CHIRP_M   0x003f0000
#define AR5K_AR5212_TXPC_CHIRP_S   22
#define AR5K_AR5212_PROFCNT_TX   0x80ec
#define AR5K_AR5212_PROFCNT_RX   0x80f0
#define AR5K_AR5212_PROFCNT_RXCLR   0x80f4
#define AR5K_AR5212_PROFCNT_CYCLE   0x80f8
#define AR5K_AR5212_TSF_PARM   0x8104
#define AR5K_AR5212_TSF_PARM_INC_M   0x000000ff
#define AR5K_AR5212_TSF_PARM_INC_S   0
#define AR5K_AR5212_PHY_ERR_FIL   0x810c
#define AR5K_AR5212_PHY_ERR_FIL_RADAR   0x00000020
#define AR5K_AR5212_PHY_ERR_FIL_OFDM   0x00020000
#define AR5K_AR5212_PHY_ERR_FIL_CCK   0x02000000
#define AR5K_AR5212_RATE_DUR_0   0x8700
#define AR5K_AR5212_RATE_DUR(_n)   (AR5K_AR5212_RATE_DUR_0 + ((_n) << 2))
#define AR5K_AR5212_KEYTABLE_0   0x8800
#define AR5K_AR5212_KEYTABLE(_n)   (AR5K_AR5212_KEYTABLE_0 + ((_n) << 5))
#define AR5K_AR5212_KEYTABLE_OFF(_n, x)   (AR5K_AR5212_KEYTABLE(_n) + (x << 2))
#define AR5K_AR5212_KEYTABLE_TYPE(_n)   AR5K_AR5212_KEYTABLE_OFF(_n, 5)
#define AR5K_AR5212_KEYTABLE_TYPE_40   0x00000000
#define AR5K_AR5212_KEYTABLE_TYPE_104   0x00000001
#define AR5K_AR5212_KEYTABLE_TYPE_128   0x00000003
#define AR5K_AR5212_KEYTABLE_TYPE_TKIP   0x00000004
#define AR5K_AR5212_KEYTABLE_TYPE_AES   0x00000005
#define AR5K_AR5212_KEYTABLE_TYPE_CCM   0x00000006
#define AR5K_AR5212_KEYTABLE_TYPE_NULL   0x00000007
#define AR5K_AR5212_KEYTABLE_ANTENNA   0x00000008
#define AR5K_AR5212_KEYTABLE_MAC0(_n)   AR5K_AR5212_KEYTABLE_OFF(_n, 6)
#define AR5K_AR5212_KEYTABLE_MAC1(_n)   AR5K_AR5212_KEYTABLE_OFF(_n, 7)
#define AR5K_AR5212_KEYTABLE_VALID   0x00008000
#define AR5K_AR5212_KEYTABLE_SIZE   128
#define AR5K_AR5212_KEYCACHE_SIZE   8
#define AR5K_AR5212_PHY(_n)   (0x9800 + ((_n) << 2))
#define AR5K_AR5212_PHY_SHIFT_2GHZ   0x00004007
#define AR5K_AR5212_PHY_SHIFT_5GHZ   0x00000007
#define AR5K_AR5212_PHY_TURBO   0x9804
#define AR5K_AR5212_PHY_TURBO_MODE   0x00000001
#define AR5K_AR5212_PHY_TURBO_SHORT   0x00000002
#define AR5K_AR5212_PHY_AGC   0x9808
#define AR5K_AR5212_PHY_AGC_DISABLE   0x08000000
#define AR5K_AR5212_PHY_TIMING_3   0x9814
#define AR5K_AR5212_PHY_TIMING_3_DSC_MAN   0xfffe0000
#define AR5K_AR5212_PHY_TIMING_3_DSC_MAN_S   17
#define AR5K_AR5212_PHY_TIMING_3_DSC_EXP   0x0001e000
#define AR5K_AR5212_PHY_TIMING_3_DSC_EXP_S   13
#define AR5K_AR5212_PHY_CHIP_ID   0x9818
#define AR5K_AR5212_PHY_ACTIVE   0x981c
#define AR5K_AR5212_PHY_ENABLE   0x00000001
#define AR5K_AR5212_PHY_DISABLE   0x00000002
#define AR5K_AR5212_PHY_AGCCTL   0x9860
#define AR5K_AR5212_PHY_AGCCTL_CAL   0x00000001
#define AR5K_AR5212_PHY_AGCCTL_NF   0x00000002
#define AR5K_AR5212_PHY_NF   0x9864
#define AR5K_AR5212_PHY_NF_M   0x000001ff
#define AR5K_AR5212_PHY_NF_ACTIVE   0x00000100
#define AR5K_AR5212_PHY_NF_RVAL(_n)   (((_n) >> 19) & AR5K_AR5212_PHY_NF_M)
#define AR5K_AR5212_PHY_NF_AVAL(_n)   (-((_n) ^ AR5K_AR5212_PHY_NF_M) + 1)
#define AR5K_AR5212_PHY_NF_SVAL(_n)   (((_n) & AR5K_AR5212_PHY_NF_M) | (1 << 9))
#define AR5K_AR5212_PHY_SCR   0x9870
#define AR5K_AR5212_PHY_SCR_32MHZ   0x0000001f
#define AR5K_AR5212_PHY_SLMT   0x9874
#define AR5K_AR5212_PHY_SLMT_32MHZ   0x0000007f
#define AR5K_AR5212_PHY_SCAL   0x9878
#define AR5K_AR5212_PHY_SCAL_32MHZ   0x0000000e
#define AR5K_AR5212_PHY_PLL   0x987c
#define AR5K_AR5212_PHY_PLL_40MHZ   0x000000aa
#define AR5K_AR5212_PHY_PLL_44MHZ   0x000000ab
#define AR5K_AR5212_PHY_PLL_AR5111   0x00000000
#define AR5K_AR5212_PHY_PLL_AR5112   0x00000040
#define AR5K_AR5212_PHY_RX_DELAY   0x9914
#define AR5K_AR5212_PHY_RX_DELAY_M   0x00003fff
#define AR5K_AR5212_PHY_IQ   0x9920
#define AR5K_AR5212_PHY_IQ_CORR_Q_Q_COFF   0x0000001f
#define AR5K_AR5212_PHY_IQ_CORR_Q_I_COFF   0x000007e0
#define AR5K_AR5212_PHY_IQ_CORR_Q_I_COFF_S   5
#define AR5K_AR5212_PHY_IQ_CORR_ENABLE   0x00000800
#define AR5K_AR5212_PHY_IQ_CAL_NUM_LOG_MAX   0x0000f000
#define AR5K_AR5212_PHY_IQ_CAL_NUM_LOG_MAX_S   12
#define AR5K_AR5212_PHY_IQ_RUN   0x00010000
#define AR5K_AR5212_PHY_PAPD_PROBE   0x9930
#define AR5K_AR5212_PHY_PAPD_PROBE_TXPOWER   0x00007e00
#define AR5K_AR5212_PHY_PAPD_PROBE_TXPOWER_S   9
#define AR5K_AR5212_PHY_PAPD_PROBE_TX_NEXT   0x00008000
#define AR5K_AR5212_PHY_PAPD_PROBE_TYPE   0x01800000
#define AR5K_AR5212_PHY_PAPD_PROBE_TYPE_S   23
#define AR5K_AR5212_PHY_PAPD_PROBE_TYPE_OFDM   0
#define AR5K_AR5212_PHY_PAPD_PROBE_TYPE_XR   1
#define AR5K_AR5212_PHY_PAPD_PROBE_TYPE_CCK   2
#define AR5K_AR5212_PHY_PAPD_PROBE_GAINF   0xfe000000
#define AR5K_AR5212_PHY_PAPD_PROBE_GAINF_S   25
#define AR5K_AR5212_PHY_TXPOWER_RATE1   0x9934
#define AR5K_AR5212_PHY_TXPOWER_RATE2   0x9938
#define AR5K_AR5212_PHY_TXPOWER_RATE_MAX   0x993c
#define AR5K_AR5212_PHY_TXPOWER_RATE_MAX_TPC_ENABLE   0x00000040
#define AR5K_AR5212_PHY_TXPOWER_RATE3   0xa234
#define AR5K_AR5212_PHY_TXPOWER_RATE4   0xa238
#define AR5K_AR5212_PHY_FC   0x9944
#define AR5K_AR5212_PHY_FC_TX_CLIP   0x00000038
#define AR5K_AR5212_PHY_FC_TX_CLIP_S   3
#define AR5K_AR5212_PHY_RADAR   0x9954
#define AR5K_AR5212_PHY_RADAR_DISABLE   0x00000000
#define AR5K_AR5212_PHY_RADAR_ENABLE   0x00000001
#define AR5K_AR5212_PHY_ANT_SWITCH_TABLE_0   0x9960
#define AR5K_AR5212_PHY_ANT_SWITCH_TABLE_1   0x9964
#define AR5K_AR5212_PHY_SCLOCK   0x99f0
#define AR5K_AR5212_PHY_SCLOCK_32MHZ   0x0000000c
#define AR5K_AR5212_PHY_SDELAY   0x99f4
#define AR5K_AR5212_PHY_SDELAY_32MHZ   0x000000ff
#define AR5K_AR5212_PHY_SPENDING   0x99f8
#define AR5K_AR5212_PHY_SPENDING_AR5111   0x00000018
#define AR5K_AR5212_PHY_SPENDING_AR5112   0x00000014
#define AR5K_AR5212_PHY_IQRES_CAL_PWR_I   0x9c10
#define AR5K_AR5212_PHY_IQRES_CAL_PWR_Q   0x9c14
#define AR5K_AR5212_PHY_IQRES_CAL_CORR   0x9c18
#define AR5K_AR5212_PHY_CURRENT_RSSI   0x9c1c
#define AR5K_AR5212_PHY_PCDAC_TXPOWER(_n)   (0xa180 + ((_n) << 2))
#define AR5K_AR5212_PHY_MODE   0x0a200
#define AR5K_AR5212_PHY_MODE_MOD   0x00000001
#define AR5K_AR5212_PHY_MODE_MOD_OFDM   0
#define AR5K_AR5212_PHY_MODE_MOD_CCK   1
#define AR5K_AR5212_PHY_MODE_FREQ   0x00000002
#define AR5K_AR5212_PHY_MODE_FREQ_5GHZ   0
#define AR5K_AR5212_PHY_MODE_FREQ_2GHZ   2
#define AR5K_AR5212_PHY_MODE_MOD_DYN   0x00000004
#define AR5K_AR5212_PHY_MODE_RAD   0x00000008
#define AR5K_AR5212_PHY_MODE_RAD_AR5111   0
#define AR5K_AR5212_PHY_MODE_RAD_AR5112   8
#define AR5K_AR5212_PHY_MODE_XR   0x00000010
#define AR5K_AR5212_PHY_GAIN_2GHZ   0xa20c
#define AR5K_AR5212_PHY_GAIN_2GHZ_MARGIN_TXRX   0x00fc0000
#define AR5K_AR5212_PHY_GAIN_2GHZ_MARGIN_TXRX_S   18

Enumerations

enum  ar5k_ar5212_dmasize_t {
  AR5K_AR5212_DMASIZE_4B = 0, AR5K_AR5212_DMASIZE_8B = 1, AR5K_AR5212_DMASIZE_16B = 2, AR5K_AR5212_DMASIZE_32B = 3,
  AR5K_AR5212_DMASIZE_64B = 4, AR5K_AR5212_DMASIZE_128B = 5, AR5K_AR5212_DMASIZE_256B = 6, AR5K_AR5212_DMASIZE_512B = 7
}


Define Documentation

#define AR5K_AR5212_ACK_FAIL   0x8090
 

Definition at line 880 of file ar5212reg.h.

Referenced by ar5k_ar5212_update_mib_counters().

#define AR5K_AR5212_ADDAC_TEST   0x8054
 

Definition at line 850 of file ar5212reg.h.

#define AR5K_AR5212_BEACON   0x8020
 

Definition at line 755 of file ar5212reg.h.

Referenced by ar5k_ar5212_init_beacon(), ar5k_ar5212_reset(), ar5k_ar5212_reset_beacon(), ar5k_ar5212_reset_tsf(), ar5k_ar5212_set_associd(), and ar5k_ar5212_set_beacon_timers().

#define AR5K_AR5212_BEACON_CNT   0x8098
 

Definition at line 890 of file ar5212reg.h.

Referenced by ar5k_ar5212_update_mib_counters().

#define AR5K_AR5212_BEACON_ENABLE   0x00800000
 

Definition at line 760 of file ar5212reg.h.

Referenced by ar5k_ar5212_init_beacon(), and ar5k_ar5212_reset().

#define AR5K_AR5212_BEACON_PERIOD   0x0000ffff
 

Definition at line 756 of file ar5212reg.h.

Referenced by ar5k_ar5212_init_beacon(), ar5k_ar5212_reset_beacon(), and ar5k_ar5212_set_beacon_timers().

#define AR5K_AR5212_BEACON_PERIOD_S   0
 

Definition at line 757 of file ar5212reg.h.

#define AR5K_AR5212_BEACON_RESET_TSF   0x01000000
 

Definition at line 761 of file ar5212reg.h.

Referenced by ar5k_ar5212_init_beacon(), ar5k_ar5212_reset(), and ar5k_ar5212_reset_tsf().

#define AR5K_AR5212_BEACON_TIM   0x007f0000
 

Definition at line 758 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_associd(), and ar5k_ar5212_set_beacon_timers().

#define AR5K_AR5212_BEACON_TIM_S   16
 

Definition at line 759 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_associd().

#define AR5K_AR5212_BSS_ID0   0x8008
 

Definition at line 702 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_associd().

#define AR5K_AR5212_BSS_ID1   0x800c
 

Definition at line 709 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_associd().

#define AR5K_AR5212_BSS_ID1_AID   0xffff0000
 

Definition at line 710 of file ar5212reg.h.

#define AR5K_AR5212_BSS_ID1_AID_S   16
 

Definition at line 711 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_associd().

#define AR5K_AR5212_BSS_IDM0   0x80e0
 

Definition at line 970 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_associd().

#define AR5K_AR5212_BSS_IDM1   0x80e4
 

Definition at line 971 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_associd().

#define AR5K_AR5212_CCFG   0x0600
 

Definition at line 306 of file ar5212reg.h.

#define AR5K_AR5212_CCFG_CUP   0x0604
 

Definition at line 307 of file ar5212reg.h.

#define AR5K_AR5212_CFG   0x0014
 

Definition at line 43 of file ar5212reg.h.

Referenced by ar5k_ar5212_eeprom_is_busy(), and ar5k_ar5212_nic_reset().

#define AR5K_AR5212_CFG_ADHOC   0x00000020
 

Definition at line 49 of file ar5212reg.h.

#define AR5K_AR5212_CFG_CLKGD   0x00000400
 

Definition at line 52 of file ar5212reg.h.

#define AR5K_AR5212_CFG_EEBS   0x00000200
 

Definition at line 51 of file ar5212reg.h.

Referenced by ar5k_ar5212_eeprom_is_busy().

#define AR5K_AR5212_CFG_PCI_THRES   0x00060000
 

Definition at line 53 of file ar5212reg.h.

#define AR5K_AR5212_CFG_PCI_THRES_S   17
 

Definition at line 54 of file ar5212reg.h.

#define AR5K_AR5212_CFG_PHY_OK   0x00000100
 

Definition at line 50 of file ar5212reg.h.

#define AR5K_AR5212_CFG_SWRB   0x00000008
 

Definition at line 47 of file ar5212reg.h.

#define AR5K_AR5212_CFG_SWRD   0x00000004
 

Definition at line 46 of file ar5212reg.h.

#define AR5K_AR5212_CFG_SWRG   0x00000010
 

Definition at line 48 of file ar5212reg.h.

#define AR5K_AR5212_CFG_SWTB   0x00000002
 

Definition at line 45 of file ar5212reg.h.

#define AR5K_AR5212_CFG_SWTD   0x00000001
 

Definition at line 44 of file ar5212reg.h.

#define AR5K_AR5212_CFP_DUR   0x8038
 

Definition at line 791 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_beacon_timers().

#define AR5K_AR5212_CFP_PERIOD   0x8024
 

Definition at line 766 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_beacon_timers().

#define AR5K_AR5212_CPC0   0x0610
 

Definition at line 312 of file ar5212reg.h.

#define AR5K_AR5212_CPC1   0x0614
 

Definition at line 313 of file ar5212reg.h.

#define AR5K_AR5212_CPC2   0x0618
 

Definition at line 314 of file ar5212reg.h.

#define AR5K_AR5212_CPC3   0x061c
 

Definition at line 315 of file ar5212reg.h.

#define AR5K_AR5212_CPCORN   0x0620
 

Definition at line 316 of file ar5212reg.h.

#define AR5K_AR5212_CR   0x0008
 

Definition at line 30 of file ar5212reg.h.

Referenced by ar5k_ar5212_put_rx_buf(), ar5k_ar5212_start_rx(), and ar5k_ar5212_stop_rx_dma().

#define AR5K_AR5212_CR_RXD   0x00000020
 

Definition at line 32 of file ar5212reg.h.

Referenced by ar5k_ar5212_stop_rx_dma().

#define AR5K_AR5212_CR_RXE   0x00000004
 

Definition at line 31 of file ar5212reg.h.

Referenced by ar5k_ar5212_put_rx_buf(), ar5k_ar5212_start_rx(), and ar5k_ar5212_stop_rx_dma().

#define AR5K_AR5212_CR_SWI   0x00000040
 

Definition at line 33 of file ar5212reg.h.

#define AR5K_AR5212_DCCFG   0x0420
 

Definition at line 301 of file ar5212reg.h.

#define AR5K_AR5212_DCM_ADDR   0x0400
 

Definition at line 295 of file ar5212reg.h.

#define AR5K_AR5212_DCM_DATA   0x0404
 

Definition at line 296 of file ar5212reg.h.

#define AR5K_AR5212_DCU _n,
_a  )    AR5K_AR5212_QCU(_n, _a)
 

Definition at line 414 of file ar5212reg.h.

#define AR5K_AR5212_DCU_CHAN_TIME _n  )    AR5K_AR5212_DCU(_n, 0x10c0)
 

Definition at line 449 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_DCU_CHAN_TIME_DUR   0x000fffff
 

Definition at line 450 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_DCU_CHAN_TIME_DUR_S   0
 

Definition at line 451 of file ar5212reg.h.

#define AR5K_AR5212_DCU_CHAN_TIME_ENABLE   0x00100000
 

Definition at line 452 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_DCU_FP   0x1230
 

Definition at line 516 of file ar5212reg.h.

#define AR5K_AR5212_DCU_GBL_IFS_EIFS   0x10b0
 

Definition at line 500 of file ar5212reg.h.

#define AR5K_AR5212_DCU_GBL_IFS_EIFS_M   0x0000ffff
 

Definition at line 501 of file ar5212reg.h.

#define AR5K_AR5212_DCU_GBL_IFS_MISC   0x10f0
 

Definition at line 506 of file ar5212reg.h.

#define AR5K_AR5212_DCU_GBL_IFS_MISC_DCU_ARB_DELAY   0x00300000
 

Definition at line 511 of file ar5212reg.h.

#define AR5K_AR5212_DCU_GBL_IFS_MISC_LFSR_SLICE   0x00000007
 

Definition at line 507 of file ar5212reg.h.

#define AR5K_AR5212_DCU_GBL_IFS_MISC_SIFS_DUR_USEC   0x000003f0
 

Definition at line 509 of file ar5212reg.h.

#define AR5K_AR5212_DCU_GBL_IFS_MISC_TURBO_MODE   0x00000008
 

Definition at line 508 of file ar5212reg.h.

#define AR5K_AR5212_DCU_GBL_IFS_MISC_USEC_DUR   0x000ffc00
 

Definition at line 510 of file ar5212reg.h.

#define AR5K_AR5212_DCU_GBL_IFS_SIFS   0x1030
 

Definition at line 488 of file ar5212reg.h.

#define AR5K_AR5212_DCU_GBL_IFS_SIFS_M   0x0000ffff
 

Definition at line 489 of file ar5212reg.h.

#define AR5K_AR5212_DCU_GBL_IFS_SLOT   0x1070
 

Definition at line 494 of file ar5212reg.h.

Referenced by ar5k_ar5212_get_slot_time(), and ar5k_ar5212_set_slot_time().

#define AR5K_AR5212_DCU_GBL_IFS_SLOT_M   0x0000ffff
 

Definition at line 495 of file ar5212reg.h.

#define AR5K_AR5212_DCU_LCL_IFS _n  )    AR5K_AR5212_DCU(_n, 0x1040)
 

Definition at line 425 of file ar5212reg.h.

Referenced by ar5k_ar5212_proc_read_reg(), and ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_DCU_LCL_IFS_AIFS   0x0ff00000
 

Definition at line 430 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_DCU_LCL_IFS_AIFS_S   20
 

Definition at line 431 of file ar5212reg.h.

#define AR5K_AR5212_DCU_LCL_IFS_CW_MAX   0x000ffc00
 

Definition at line 428 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_DCU_LCL_IFS_CW_MAX_S   10
 

Definition at line 429 of file ar5212reg.h.

#define AR5K_AR5212_DCU_LCL_IFS_CW_MIN   0x000003ff
 

Definition at line 426 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_DCU_LCL_IFS_CW_MIN_S   0
 

Definition at line 427 of file ar5212reg.h.

#define AR5K_AR5212_DCU_MISC _n  )    AR5K_AR5212_DCU(_n, 0x1100)
 

Definition at line 457 of file ar5212reg.h.

Referenced by ar5k_ar5212_proc_read_reg(), and ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_DCU_MISC_ARBLOCK_CTL   0x00060000
 

Definition at line 468 of file ar5212reg.h.

#define AR5K_AR5212_DCU_MISC_ARBLOCK_CTL_GLOBAL   2
 

Definition at line 472 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_DCU_MISC_ARBLOCK_CTL_INTFRM   1
 

Definition at line 471 of file ar5212reg.h.

#define AR5K_AR5212_DCU_MISC_ARBLOCK_CTL_NONE   0
 

Definition at line 470 of file ar5212reg.h.

#define AR5K_AR5212_DCU_MISC_ARBLOCK_CTL_S   17
 

Definition at line 469 of file ar5212reg.h.

#define AR5K_AR5212_DCU_MISC_ARBLOCK_IGNORE   0x00080000
 

Definition at line 473 of file ar5212reg.h.

#define AR5K_AR5212_DCU_MISC_BACKOFF   0x000007ff
 

Definition at line 458 of file ar5212reg.h.

#define AR5K_AR5212_DCU_MISC_BACKOFF_FRAG   0x00000200
 

Definition at line 459 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_DCU_MISC_BACKOFF_PERSIST   0x00001000
 

Definition at line 461 of file ar5212reg.h.

#define AR5K_AR5212_DCU_MISC_BCN_ENABLE   0x00010000
 

Definition at line 467 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_DCU_MISC_BLOWN_IFS_POLICY   0x00800000
 

Definition at line 477 of file ar5212reg.h.

#define AR5K_AR5212_DCU_MISC_FRMPRFTCH_ENABLE   0x00002000
 

Definition at line 462 of file ar5212reg.h.

#define AR5K_AR5212_DCU_MISC_HCFPOLL_ENABLE   0x00000800
 

Definition at line 460 of file ar5212reg.h.

#define AR5K_AR5212_DCU_MISC_POST_FR_BKOFF_DIS   0x00200000
 

Definition at line 475 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_DCU_MISC_SEQ_NUM_INCR_DIS   0x00100000
 

Definition at line 474 of file ar5212reg.h.

#define AR5K_AR5212_DCU_MISC_SEQNUM_CTL   0x01000000
 

Definition at line 478 of file ar5212reg.h.

#define AR5K_AR5212_DCU_MISC_VIRT_COLL_POLICY   0x00400000
 

Definition at line 476 of file ar5212reg.h.

#define AR5K_AR5212_DCU_MISC_VIRTCOL   0x0000c000
 

Definition at line 463 of file ar5212reg.h.

#define AR5K_AR5212_DCU_MISC_VIRTCOL_IGNORE   2
 

Definition at line 466 of file ar5212reg.h.

#define AR5K_AR5212_DCU_MISC_VIRTCOL_MODIFIED   1
 

Definition at line 465 of file ar5212reg.h.

#define AR5K_AR5212_DCU_MISC_VIRTCOL_NORMAL   0
 

Definition at line 464 of file ar5212reg.h.

#define AR5K_AR5212_DCU_QCUMASK _n  )    AR5K_AR5212_DCU(_n, 0x1000)
 

Definition at line 419 of file ar5212reg.h.

Referenced by ar5k_ar5212_proc_read_reg(), and ar5k_ar5212_reset().

#define AR5K_AR5212_DCU_QCUMASK_M   0x000003ff
 

Definition at line 420 of file ar5212reg.h.

#define AR5K_AR5212_DCU_RETRY_LMT _n  )    AR5K_AR5212_DCU(_n, 0x1080)
 

Definition at line 436 of file ar5212reg.h.

Referenced by ar5k_ar5212_proc_read_reg(), and ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_DCU_RETRY_LMT_LG_RETRY   0x000000f0
 

Definition at line 439 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_DCU_RETRY_LMT_LG_RETRY_S   4
 

Definition at line 440 of file ar5212reg.h.

#define AR5K_AR5212_DCU_RETRY_LMT_SH_RETRY   0x0000000f
 

Definition at line 437 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_DCU_RETRY_LMT_SH_RETRY_S   0
 

Definition at line 438 of file ar5212reg.h.

#define AR5K_AR5212_DCU_RETRY_LMT_SLG_RETRY   0x000fc000
 

Definition at line 443 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_DCU_RETRY_LMT_SLG_RETRY_S   14
 

Definition at line 444 of file ar5212reg.h.

#define AR5K_AR5212_DCU_RETRY_LMT_SSH_RETRY   0x00003f00
 

Definition at line 441 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_DCU_RETRY_LMT_SSH_RETRY_S   8
 

Definition at line 442 of file ar5212reg.h.

#define AR5K_AR5212_DCU_SEQNUM _n  )    AR5K_AR5212_DCU(_n, 0x1140)
 

Definition at line 483 of file ar5212reg.h.

Referenced by ar5k_ar5212_proc_read_reg(), and ar5k_ar5212_reset().

#define AR5K_AR5212_DCU_SEQNUM_M   0x00000fff
 

Definition at line 484 of file ar5212reg.h.

#define AR5K_AR5212_DCU_TX_FILTER   0x1038
 

Definition at line 528 of file ar5212reg.h.

#define AR5K_AR5212_DCU_TX_FILTER_CLR   0x143c
 

Definition at line 533 of file ar5212reg.h.

#define AR5K_AR5212_DCU_TX_FILTER_SET   0x147c
 

Definition at line 538 of file ar5212reg.h.

#define AR5K_AR5212_DCU_TXP   0x1270
 

Definition at line 521 of file ar5212reg.h.

#define AR5K_AR5212_DCU_TXP_M   0x000003ff
 

Definition at line 522 of file ar5212reg.h.

#define AR5K_AR5212_DCU_TXP_STATUS   0x00010000
 

Definition at line 523 of file ar5212reg.h.

#define AR5K_AR5212_DEFAULT_ANTENNA   0x8058
 

Definition at line 855 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_DIAG_SW   0x8048
 

Definition at line 819 of file ar5212reg.h.

Referenced by ar5k_ar5212_start_rx_pcu(), and ar5k_ar5212_stop_pcu_recv().

#define AR5K_AR5212_DIAG_SW_CHAN_INFO   0x00000100
 

Definition at line 828 of file ar5212reg.h.

#define AR5K_AR5212_DIAG_SW_CORR_FCS   0x00000080
 

Definition at line 827 of file ar5212reg.h.

#define AR5K_AR5212_DIAG_SW_DIS_ACK   0x00000002
 

Definition at line 821 of file ar5212reg.h.

#define AR5K_AR5212_DIAG_SW_DIS_CTS   0x00000004
 

Definition at line 822 of file ar5212reg.h.

#define AR5K_AR5212_DIAG_SW_DIS_DEC   0x00000010
 

Definition at line 824 of file ar5212reg.h.

#define AR5K_AR5212_DIAG_SW_DIS_ENC   0x00000008
 

Definition at line 823 of file ar5212reg.h.

#define AR5K_AR5212_DIAG_SW_DIS_RX   0x00000020
 

Definition at line 825 of file ar5212reg.h.

Referenced by ar5k_ar5212_start_rx_pcu(), and ar5k_ar5212_stop_pcu_recv().

#define AR5K_AR5212_DIAG_SW_DIS_WEP_ACK   0x00000001
 

Definition at line 820 of file ar5212reg.h.

#define AR5K_AR5212_DIAG_SW_ECO_ENABLE   0x00000400
 

Definition at line 830 of file ar5212reg.h.

#define AR5K_AR5212_DIAG_SW_EN_SCRAM_SEED   0x00000200
 

Definition at line 829 of file ar5212reg.h.

#define AR5K_AR5212_DIAG_SW_FRAME_NV0   0x00020000
 

Definition at line 833 of file ar5212reg.h.

#define AR5K_AR5212_DIAG_SW_LOOP_BACK   0x00000040
 

Definition at line 826 of file ar5212reg.h.

#define AR5K_AR5212_DIAG_SW_OBSPT_M   0x000c0000
 

Definition at line 834 of file ar5212reg.h.

#define AR5K_AR5212_DIAG_SW_OBSPT_S   18
 

Definition at line 835 of file ar5212reg.h.

#define AR5K_AR5212_DIAG_SW_SCRAM_SEED_M   0x0001fc00
 

Definition at line 831 of file ar5212reg.h.

#define AR5K_AR5212_DIAG_SW_SCRAM_SEED_S   10
 

Definition at line 832 of file ar5212reg.h.

#define AR5K_AR5212_EEPROM_BASE   0x6000
 

Definition at line 659 of file ar5212reg.h.

Referenced by ar5k_ar5212_eeprom_read(), and ar5k_ar5212_eeprom_write().

#define AR5K_AR5212_EEPROM_CFG   0x6010
 

Definition at line 670 of file ar5212reg.h.

#define AR5K_AR5212_EEPROM_CMD   0x6008
 

Definition at line 661 of file ar5212reg.h.

Referenced by ar5k_ar5212_eeprom_read(), and ar5k_ar5212_eeprom_write().

#define AR5K_AR5212_EEPROM_CMD_READ   0x00000001
 

Definition at line 662 of file ar5212reg.h.

Referenced by ar5k_ar5212_eeprom_read().

#define AR5K_AR5212_EEPROM_CMD_RESET   0x00000004
 

Definition at line 664 of file ar5212reg.h.

Referenced by ar5k_ar5212_eeprom_write().

#define AR5K_AR5212_EEPROM_CMD_WRITE   0x00000002
 

Definition at line 663 of file ar5212reg.h.

Referenced by ar5k_ar5212_eeprom_write().

#define AR5K_AR5212_EEPROM_DATA   0x6004
 

Definition at line 660 of file ar5212reg.h.

Referenced by ar5k_ar5212_eeprom_read().

#define AR5K_AR5212_EEPROM_STAT_RDDONE   0x00000002
 

Definition at line 667 of file ar5212reg.h.

Referenced by ar5k_ar5212_eeprom_read().

#define AR5K_AR5212_EEPROM_STAT_RDERR   0x00000001
 

Definition at line 666 of file ar5212reg.h.

Referenced by ar5k_ar5212_eeprom_read().

#define AR5K_AR5212_EEPROM_STAT_WRDONE   0x00000008
 

Definition at line 669 of file ar5212reg.h.

Referenced by ar5k_ar5212_eeprom_write().

#define AR5K_AR5212_EEPROM_STAT_WRERR   0x00000004
 

Definition at line 668 of file ar5212reg.h.

Referenced by ar5k_ar5212_eeprom_write().

#define AR5K_AR5212_EEPROM_STATUS   0x600c
 

Definition at line 665 of file ar5212reg.h.

Referenced by ar5k_ar5212_eeprom_read(), and ar5k_ar5212_eeprom_write().

#define AR5K_AR5212_FCS_FAIL   0x8094
 

Definition at line 885 of file ar5212reg.h.

Referenced by ar5k_ar5212_update_mib_counters().

#define AR5K_AR5212_GPIOCR   0x4014
 

Definition at line 624 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset(), ar5k_ar5212_set_gpio_input(), ar5k_ar5212_set_gpio_intr(), and ar5k_ar5212_set_gpio_output().

#define AR5K_AR5212_GPIOCR_ALL  )    (3 << ((n) * 2))
 

Definition at line 631 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_gpio_input(), ar5k_ar5212_set_gpio_intr(), and ar5k_ar5212_set_gpio_output().

#define AR5K_AR5212_GPIOCR_INT_ENA   0x00008000
 

Definition at line 625 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_gpio_intr().

#define AR5K_AR5212_GPIOCR_INT_SEL  )    ((n) << 12)
 

Definition at line 632 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_gpio_intr().

#define AR5K_AR5212_GPIOCR_INT_SELH   0x00010000
 

Definition at line 627 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_gpio_intr().

#define AR5K_AR5212_GPIOCR_INT_SELL   0x00000000
 

Definition at line 626 of file ar5212reg.h.

#define AR5K_AR5212_GPIOCR_NONE  )    (0 << ((n) * 2))
 

Definition at line 628 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_gpio_input().

#define AR5K_AR5212_GPIOCR_OUT0  )    (1 << ((n) * 2))
 

Definition at line 629 of file ar5212reg.h.

#define AR5K_AR5212_GPIOCR_OUT1  )    (2 << ((n) * 2))
 

Definition at line 630 of file ar5212reg.h.

#define AR5K_AR5212_GPIODI   0x401c
 

Definition at line 644 of file ar5212reg.h.

Referenced by ar5k_ar5212_get_gpio().

#define AR5K_AR5212_GPIODI_M   0x0000002f
 

Definition at line 645 of file ar5212reg.h.

Referenced by ar5k_ar5212_get_gpio().

#define AR5K_AR5212_GPIODO   0x4018
 

Definition at line 639 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset(), and ar5k_ar5212_set_gpio().

#define AR5K_AR5212_IER   0x0024
 

Definition at line 59 of file ar5212reg.h.

Referenced by ar5k_ar5212_radar_alert(), and ar5k_ar5212_set_intr().

#define AR5K_AR5212_IER_DISABLE   0x00000000
 

Definition at line 60 of file ar5212reg.h.

Referenced by ar5k_ar5212_radar_alert(), and ar5k_ar5212_set_intr().

#define AR5K_AR5212_IER_ENABLE   0x00000001
 

Definition at line 61 of file ar5212reg.h.

Referenced by ar5k_ar5212_radar_alert(), and ar5k_ar5212_set_intr().

#define AR5K_AR5212_INTPEND   0x4008
 

Definition at line 580 of file ar5212reg.h.

Referenced by ar5k_ar5212_is_intr_pending().

#define AR5K_AR5212_INTPEND_M   0x00000001
 

Definition at line 581 of file ar5212reg.h.

#define AR5K_AR5212_KEYCACHE_SIZE   8
 

Definition at line 1033 of file ar5212reg.h.

Referenced by ar5k_ar5212_get_keycache_size(), ar5k_ar5212_reset_key(), and ar5k_ar5212_set_key().

#define AR5K_AR5212_KEYTABLE _n  )    (AR5K_AR5212_KEYTABLE_0 + ((_n) << 5))
 

Definition at line 1017 of file ar5212reg.h.

#define AR5K_AR5212_KEYTABLE_0   0x8800
 

Definition at line 1016 of file ar5212reg.h.

#define AR5K_AR5212_KEYTABLE_ANTENNA   0x00000008
 

Definition at line 1027 of file ar5212reg.h.

#define AR5K_AR5212_KEYTABLE_MAC0 _n  )    AR5K_AR5212_KEYTABLE_OFF(_n, 6)
 

Definition at line 1028 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_key_lladdr().

#define AR5K_AR5212_KEYTABLE_MAC1 _n  )    AR5K_AR5212_KEYTABLE_OFF(_n, 7)
 

Definition at line 1029 of file ar5212reg.h.

Referenced by ar5k_ar5212_is_key_valid(), and ar5k_ar5212_set_key_lladdr().

#define AR5K_AR5212_KEYTABLE_OFF _n,
 )    (AR5K_AR5212_KEYTABLE(_n) + (x << 2))
 

Definition at line 1018 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_key(), and ar5k_ar5212_set_key().

#define AR5K_AR5212_KEYTABLE_SIZE   128
 

Definition at line 1032 of file ar5212reg.h.

Referenced by ar5k_ar5212_is_key_valid(), ar5k_ar5212_reset_key(), ar5k_ar5212_set_key(), and ar5k_ar5212_set_key_lladdr().

#define AR5K_AR5212_KEYTABLE_TYPE _n  )    AR5K_AR5212_KEYTABLE_OFF(_n, 5)
 

Definition at line 1019 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_key().

#define AR5K_AR5212_KEYTABLE_TYPE_104   0x00000001
 

Definition at line 1021 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_key().

#define AR5K_AR5212_KEYTABLE_TYPE_128   0x00000003
 

Definition at line 1022 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_key().

#define AR5K_AR5212_KEYTABLE_TYPE_40   0x00000000
 

Definition at line 1020 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_key().

#define AR5K_AR5212_KEYTABLE_TYPE_AES   0x00000005
 

Definition at line 1024 of file ar5212reg.h.

#define AR5K_AR5212_KEYTABLE_TYPE_CCM   0x00000006
 

Definition at line 1025 of file ar5212reg.h.

#define AR5K_AR5212_KEYTABLE_TYPE_NULL   0x00000007
 

Definition at line 1026 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_key().

#define AR5K_AR5212_KEYTABLE_TYPE_TKIP   0x00000004
 

Definition at line 1023 of file ar5212reg.h.

#define AR5K_AR5212_KEYTABLE_VALID   0x00008000
 

Definition at line 1030 of file ar5212reg.h.

Referenced by ar5k_ar5212_is_key_valid(), and ar5k_ar5212_set_key_lladdr().

#define AR5K_AR5212_LAST_TSTP   0x8080
 

Definition at line 860 of file ar5212reg.h.

#define AR5K_AR5212_MCAST_FIL0   0x8040
 

Definition at line 809 of file ar5212reg.h.

Referenced by ar5k_ar5212_clear_mcast_filter_idx(), ar5k_ar5212_set_mcast_filter(), and ar5k_ar5212_set_mcast_filterindex().

#define AR5K_AR5212_MCAST_FIL1   0x8044
 

Definition at line 814 of file ar5212reg.h.

Referenced by ar5k_ar5212_clear_mcast_filter_idx(), ar5k_ar5212_set_mcast_filter(), and ar5k_ar5212_set_mcast_filterindex().

#define AR5K_AR5212_MIBC   0x0040
 

Definition at line 98 of file ar5212reg.h.

#define AR5K_AR5212_MIBC_CMC   0x00000004
 

Definition at line 101 of file ar5212reg.h.

#define AR5K_AR5212_MIBC_COW   0x00000001
 

Definition at line 99 of file ar5212reg.h.

#define AR5K_AR5212_MIBC_FMC   0x00000002
 

Definition at line 100 of file ar5212reg.h.

#define AR5K_AR5212_MIBC_MCS   0x00000008
 

Definition at line 102 of file ar5212reg.h.

#define AR5K_AR5212_MISC   0x0058
 

Definition at line 138 of file ar5212reg.h.

#define AR5K_AR5212_MISC_DMA_OBS_M   0x000001e0
 

Definition at line 139 of file ar5212reg.h.

#define AR5K_AR5212_MISC_DMA_OBS_S   5
 

Definition at line 140 of file ar5212reg.h.

#define AR5K_AR5212_MISC_MAC_OBS_LSB_M   0x00007000
 

Definition at line 143 of file ar5212reg.h.

#define AR5K_AR5212_MISC_MAC_OBS_LSB_S   12
 

Definition at line 144 of file ar5212reg.h.

#define AR5K_AR5212_MISC_MAC_OBS_MSB_M   0x00038000
 

Definition at line 145 of file ar5212reg.h.

#define AR5K_AR5212_MISC_MAC_OBS_MSB_S   15
 

Definition at line 146 of file ar5212reg.h.

#define AR5K_AR5212_MISC_MISC_OBS_M   0x00000e00
 

Definition at line 141 of file ar5212reg.h.

#define AR5K_AR5212_MISC_MISC_OBS_S   9
 

Definition at line 142 of file ar5212reg.h.

#define AR5K_AR5212_NAV   0x8084
 

Definition at line 865 of file ar5212reg.h.

#define AR5K_AR5212_NUM_GPIO   6
 

Definition at line 634 of file ar5212reg.h.

Referenced by ar5k_ar5212_get_capabilities(), ar5k_ar5212_get_gpio(), ar5k_ar5212_set_gpio(), ar5k_ar5212_set_gpio_input(), ar5k_ar5212_set_gpio_intr(), and ar5k_ar5212_set_gpio_output().

#define AR5K_AR5212_PCICFG   0x4010
 

Definition at line 592 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset(), ar5k_ar5212_set_ledstate(), and ar5k_ar5212_set_power().

#define AR5K_AR5212_PCICFG_BUS_SEL   0x00000380
 

Definition at line 604 of file ar5212reg.h.

#define AR5K_AR5212_PCICFG_CBEFIX_DIS   0x00000400
 

Definition at line 605 of file ar5212reg.h.

#define AR5K_AR5212_PCICFG_CLKRUNEN   0x00000004
 

Definition at line 593 of file ar5212reg.h.

#define AR5K_AR5212_PCICFG_EESIZE   0x00000018
 

Definition at line 594 of file ar5212reg.h.

#define AR5K_AR5212_PCICFG_EESIZE_16K   2
 

Definition at line 598 of file ar5212reg.h.

#define AR5K_AR5212_PCICFG_EESIZE_4K   0
 

Definition at line 596 of file ar5212reg.h.

#define AR5K_AR5212_PCICFG_EESIZE_8K   1
 

Definition at line 597 of file ar5212reg.h.

#define AR5K_AR5212_PCICFG_EESIZE_FAIL   3
 

Definition at line 599 of file ar5212reg.h.

#define AR5K_AR5212_PCICFG_EESIZE_S   3
 

Definition at line 595 of file ar5212reg.h.

#define AR5K_AR5212_PCICFG_LED   0x00000060
 

Definition at line 600 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_ledstate().

#define AR5K_AR5212_PCICFG_LED_ASSOC   0x00000040
 

Definition at line 603 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_ledstate().

#define AR5K_AR5212_PCICFG_LED_NONE   0x00000000
 

Definition at line 601 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_ledstate().

#define AR5K_AR5212_PCICFG_LED_PEND   0x00000020
 

Definition at line 602 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_ledstate().

#define AR5K_AR5212_PCICFG_LEDBLINK   0x00700000
 

Definition at line 614 of file ar5212reg.h.

#define AR5K_AR5212_PCICFG_LEDBLINK_S   20
 

Definition at line 615 of file ar5212reg.h.

#define AR5K_AR5212_PCICFG_LEDMODE   0x000e0000
 

Definition at line 609 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_ledstate().

#define AR5K_AR5212_PCICFG_LEDMODE_PROM   0x00020000
 

Definition at line 611 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_ledstate().

#define AR5K_AR5212_PCICFG_LEDMODE_PROP   0x00000000
 

Definition at line 610 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_ledstate().

#define AR5K_AR5212_PCICFG_LEDMODE_PWR   0x00040000
 

Definition at line 612 of file ar5212reg.h.

#define AR5K_AR5212_PCICFG_LEDMODE_RAND   0x00060000
 

Definition at line 613 of file ar5212reg.h.

#define AR5K_AR5212_PCICFG_LEDSLOW   0x00800000
 

Definition at line 616 of file ar5212reg.h.

#define AR5K_AR5212_PCICFG_LEDSTATE
 

Value:

Definition at line 617 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PCICFG_SL_INPEN   0x00002800
 

Definition at line 607 of file ar5212reg.h.

#define AR5K_AR5212_PCICFG_SL_INTEN   0x00000800
 

Definition at line 606 of file ar5212reg.h.

#define AR5K_AR5212_PCICFG_SPWR_DN   0x00010000
 

Definition at line 608 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_power().

#define AR5K_AR5212_PCU_MAX   0x8fff
 

Definition at line 677 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PCU_MIN   0x8000
 

Definition at line 676 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PHY _n  )    (0x9800 + ((_n) << 2))
 

Definition at line 1038 of file ar5212reg.h.

Referenced by ar5k_ar5212_radio_revision(), and ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_ACTIVE   0x981c
 

Definition at line 1072 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_AGC   0x9808
 

Definition at line 1052 of file ar5212reg.h.

#define AR5K_AR5212_PHY_AGC_DISABLE   0x08000000
 

Definition at line 1053 of file ar5212reg.h.

#define AR5K_AR5212_PHY_AGCCTL   0x9860
 

Definition at line 1079 of file ar5212reg.h.

Referenced by ar5k_ar5212_calibrate(), and ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_AGCCTL_CAL   0x00000001
 

Definition at line 1080 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_AGCCTL_NF   0x00000002
 

Definition at line 1081 of file ar5212reg.h.

Referenced by ar5k_ar5212_calibrate(), and ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_ANT_SWITCH_TABLE_0   0x9960
 

Definition at line 1172 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_ANT_SWITCH_TABLE_1   0x9964
 

Definition at line 1173 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_CHIP_ID   0x9818
 

Definition at line 1067 of file ar5212reg.h.

#define AR5K_AR5212_PHY_CURRENT_RSSI   0x9c1c
 

Definition at line 1196 of file ar5212reg.h.

#define AR5K_AR5212_PHY_DISABLE   0x00000002
 

Definition at line 1074 of file ar5212reg.h.

#define AR5K_AR5212_PHY_ENABLE   0x00000001
 

Definition at line 1073 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_ERR_FIL   0x810c
 

Definition at line 1002 of file ar5212reg.h.

Referenced by ar5k_ar5212_get_rx_filter(), and ar5k_ar5212_set_rx_filter().

#define AR5K_AR5212_PHY_ERR_FIL_CCK   0x02000000
 

Definition at line 1005 of file ar5212reg.h.

Referenced by ar5k_ar5212_get_rx_filter(), and ar5k_ar5212_set_rx_filter().

#define AR5K_AR5212_PHY_ERR_FIL_OFDM   0x00020000
 

Definition at line 1004 of file ar5212reg.h.

Referenced by ar5k_ar5212_get_rx_filter(), and ar5k_ar5212_set_rx_filter().

#define AR5K_AR5212_PHY_ERR_FIL_RADAR   0x00000020
 

Definition at line 1003 of file ar5212reg.h.

Referenced by ar5k_ar5212_get_rx_filter(), and ar5k_ar5212_set_rx_filter().

#define AR5K_AR5212_PHY_FC   0x9944
 

Definition at line 1158 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_FC_TX_CLIP   0x00000038
 

Definition at line 1159 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_FC_TX_CLIP_S   3
 

Definition at line 1160 of file ar5212reg.h.

#define AR5K_AR5212_PHY_GAIN_2GHZ   0xa20c
 

Definition at line 1222 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_GAIN_2GHZ_MARGIN_TXRX   0x00fc0000
 

Definition at line 1223 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_GAIN_2GHZ_MARGIN_TXRX_S   18
 

Definition at line 1224 of file ar5212reg.h.

#define AR5K_AR5212_PHY_IQ   0x9920
 

Definition at line 1121 of file ar5212reg.h.

Referenced by ar5k_ar5212_calibrate(), and ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_IQ_CAL_NUM_LOG_MAX   0x0000f000
 

Definition at line 1126 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_IQ_CAL_NUM_LOG_MAX_S   12
 

Definition at line 1127 of file ar5212reg.h.

#define AR5K_AR5212_PHY_IQ_CORR_ENABLE   0x00000800
 

Definition at line 1125 of file ar5212reg.h.

Referenced by ar5k_ar5212_calibrate(), and ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_IQ_CORR_Q_I_COFF   0x000007e0
 

Definition at line 1123 of file ar5212reg.h.

#define AR5K_AR5212_PHY_IQ_CORR_Q_I_COFF_S   5
 

Definition at line 1124 of file ar5212reg.h.

Referenced by ar5k_ar5212_calibrate(), and ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_IQ_CORR_Q_Q_COFF   0x0000001f
 

Definition at line 1122 of file ar5212reg.h.

#define AR5K_AR5212_PHY_IQ_RUN   0x00010000
 

Definition at line 1128 of file ar5212reg.h.

Referenced by ar5k_ar5212_calibrate(), and ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_IQRES_CAL_CORR   0x9c18
 

Definition at line 1191 of file ar5212reg.h.

Referenced by ar5k_ar5212_calibrate().

#define AR5K_AR5212_PHY_IQRES_CAL_PWR_I   0x9c10
 

Definition at line 1189 of file ar5212reg.h.

Referenced by ar5k_ar5212_calibrate().

#define AR5K_AR5212_PHY_IQRES_CAL_PWR_Q   0x9c14
 

Definition at line 1190 of file ar5212reg.h.

Referenced by ar5k_ar5212_calibrate().

#define AR5K_AR5212_PHY_MODE   0x0a200
 

Definition at line 1206 of file ar5212reg.h.

Referenced by ar5k_ar5212_nic_wakeup().

#define AR5K_AR5212_PHY_MODE_FREQ   0x00000002
 

Definition at line 1210 of file ar5212reg.h.

#define AR5K_AR5212_PHY_MODE_FREQ_2GHZ   2
 

Definition at line 1212 of file ar5212reg.h.

Referenced by ar5k_ar5212_nic_wakeup().

#define AR5K_AR5212_PHY_MODE_FREQ_5GHZ   0
 

Definition at line 1211 of file ar5212reg.h.

Referenced by ar5k_ar5212_nic_wakeup().

#define AR5K_AR5212_PHY_MODE_MOD   0x00000001
 

Definition at line 1207 of file ar5212reg.h.

#define AR5K_AR5212_PHY_MODE_MOD_CCK   1
 

Definition at line 1209 of file ar5212reg.h.

Referenced by ar5k_ar5212_nic_wakeup().

#define AR5K_AR5212_PHY_MODE_MOD_DYN   0x00000004
 

Definition at line 1213 of file ar5212reg.h.

Referenced by ar5k_ar5212_nic_wakeup().

#define AR5K_AR5212_PHY_MODE_MOD_OFDM   0
 

Definition at line 1208 of file ar5212reg.h.

Referenced by ar5k_ar5212_nic_wakeup().

#define AR5K_AR5212_PHY_MODE_RAD   0x00000008
 

Definition at line 1214 of file ar5212reg.h.

#define AR5K_AR5212_PHY_MODE_RAD_AR5111   0
 

Definition at line 1215 of file ar5212reg.h.

Referenced by ar5k_ar5212_nic_wakeup().

#define AR5K_AR5212_PHY_MODE_RAD_AR5112   8
 

Definition at line 1216 of file ar5212reg.h.

Referenced by ar5k_ar5212_nic_wakeup().

#define AR5K_AR5212_PHY_MODE_XR   0x00000010
 

Definition at line 1217 of file ar5212reg.h.

#define AR5K_AR5212_PHY_NF   0x9864
 

Definition at line 1086 of file ar5212reg.h.

#define AR5K_AR5212_PHY_NF_ACTIVE   0x00000100
 

Definition at line 1088 of file ar5212reg.h.

#define AR5K_AR5212_PHY_NF_AVAL _n  )    (-((_n) ^ AR5K_AR5212_PHY_NF_M) + 1)
 

Definition at line 1090 of file ar5212reg.h.

#define AR5K_AR5212_PHY_NF_M   0x000001ff
 

Definition at line 1087 of file ar5212reg.h.

#define AR5K_AR5212_PHY_NF_RVAL _n  )    (((_n) >> 19) & AR5K_AR5212_PHY_NF_M)
 

Definition at line 1089 of file ar5212reg.h.

#define AR5K_AR5212_PHY_NF_SVAL _n  )    (((_n) & AR5K_AR5212_PHY_NF_M) | (1 << 9))
 

Definition at line 1091 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_PAPD_PROBE   0x9930
 

Definition at line 1133 of file ar5212reg.h.

Referenced by ar5k_ar5212_calibrate(), and ar5k_ar5212_get_rf_gain().

#define AR5K_AR5212_PHY_PAPD_PROBE_GAINF   0xfe000000
 

Definition at line 1142 of file ar5212reg.h.

#define AR5K_AR5212_PHY_PAPD_PROBE_GAINF_S   25
 

Definition at line 1143 of file ar5212reg.h.

Referenced by ar5k_ar5212_get_rf_gain().

#define AR5K_AR5212_PHY_PAPD_PROBE_TX_NEXT   0x00008000
 

Definition at line 1136 of file ar5212reg.h.

Referenced by ar5k_ar5212_calibrate(), and ar5k_ar5212_get_rf_gain().

#define AR5K_AR5212_PHY_PAPD_PROBE_TXPOWER   0x00007e00
 

Definition at line 1134 of file ar5212reg.h.

Referenced by ar5k_ar5212_calibrate().

#define AR5K_AR5212_PHY_PAPD_PROBE_TXPOWER_S   9
 

Definition at line 1135 of file ar5212reg.h.

#define AR5K_AR5212_PHY_PAPD_PROBE_TYPE   0x01800000
 

Definition at line 1137 of file ar5212reg.h.

Referenced by ar5k_ar5212_get_rf_gain().

#define AR5K_AR5212_PHY_PAPD_PROBE_TYPE_CCK   2
 

Definition at line 1141 of file ar5212reg.h.

Referenced by ar5k_ar5212_get_rf_gain().

#define AR5K_AR5212_PHY_PAPD_PROBE_TYPE_OFDM   0
 

Definition at line 1139 of file ar5212reg.h.

#define AR5K_AR5212_PHY_PAPD_PROBE_TYPE_S   23
 

Definition at line 1138 of file ar5212reg.h.

#define AR5K_AR5212_PHY_PAPD_PROBE_TYPE_XR   1
 

Definition at line 1140 of file ar5212reg.h.

#define AR5K_AR5212_PHY_PCDAC_TXPOWER _n  )    (0xa180 + ((_n) << 2))
 

Definition at line 1201 of file ar5212reg.h.

Referenced by ar5k_ar5212_txpower().

#define AR5K_AR5212_PHY_PLL   0x987c
 

Definition at line 1106 of file ar5212reg.h.

Referenced by ar5k_ar5212_nic_wakeup().

#define AR5K_AR5212_PHY_PLL_40MHZ   0x000000aa
 

Definition at line 1107 of file ar5212reg.h.

Referenced by ar5k_ar5212_nic_wakeup().

#define AR5K_AR5212_PHY_PLL_44MHZ   0x000000ab
 

Definition at line 1108 of file ar5212reg.h.

Referenced by ar5k_ar5212_nic_wakeup().

#define AR5K_AR5212_PHY_PLL_AR5111   0x00000000
 

Definition at line 1109 of file ar5212reg.h.

Referenced by ar5k_ar5212_nic_wakeup().

#define AR5K_AR5212_PHY_PLL_AR5112   0x00000040
 

Definition at line 1110 of file ar5212reg.h.

Referenced by ar5k_ar5212_nic_wakeup().

#define AR5K_AR5212_PHY_RADAR   0x9954
 

Definition at line 1165 of file ar5212reg.h.

Referenced by ar5k_ar5212_radar_alert().

#define AR5K_AR5212_PHY_RADAR_DISABLE   0x00000000
 

Definition at line 1166 of file ar5212reg.h.

Referenced by ar5k_ar5212_radar_alert().

#define AR5K_AR5212_PHY_RADAR_ENABLE   0x00000001
 

Definition at line 1167 of file ar5212reg.h.

Referenced by ar5k_ar5212_radar_alert().

#define AR5K_AR5212_PHY_RX_DELAY   0x9914
 

Definition at line 1115 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_RX_DELAY_M   0x00003fff
 

Definition at line 1116 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_SCAL   0x9878
 

Definition at line 1100 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_SCAL_32MHZ   0x0000000e
 

Definition at line 1101 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_SCLOCK   0x99f0
 

Definition at line 1178 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_SCLOCK_32MHZ   0x0000000c
 

Definition at line 1179 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_SCR   0x9870
 

Definition at line 1096 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_SCR_32MHZ   0x0000001f
 

Definition at line 1097 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_SDELAY   0x99f4
 

Definition at line 1180 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_SDELAY_32MHZ   0x000000ff
 

Definition at line 1181 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_SHIFT_2GHZ   0x00004007
 

Definition at line 1039 of file ar5212reg.h.

Referenced by ar5k_ar5212_radio_revision().

#define AR5K_AR5212_PHY_SHIFT_5GHZ   0x00000007
 

Definition at line 1040 of file ar5212reg.h.

Referenced by ar5k_ar5212_radio_revision(), and ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_SLMT   0x9874
 

Definition at line 1098 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_SLMT_32MHZ   0x0000007f
 

Definition at line 1099 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_SPENDING   0x99f8
 

Definition at line 1182 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_SPENDING_AR5111   0x00000018
 

Definition at line 1183 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_SPENDING_AR5112   0x00000014
 

Definition at line 1184 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_TIMING_3   0x9814
 

Definition at line 1058 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_TIMING_3_DSC_EXP   0x0001e000
 

Definition at line 1061 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_TIMING_3_DSC_EXP_S   13
 

Definition at line 1062 of file ar5212reg.h.

#define AR5K_AR5212_PHY_TIMING_3_DSC_MAN   0xfffe0000
 

Definition at line 1059 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PHY_TIMING_3_DSC_MAN_S   17
 

Definition at line 1060 of file ar5212reg.h.

#define AR5K_AR5212_PHY_TURBO   0x9804
 

Definition at line 1045 of file ar5212reg.h.

Referenced by ar5k_ar5212_nic_wakeup().

#define AR5K_AR5212_PHY_TURBO_MODE   0x00000001
 

Definition at line 1046 of file ar5212reg.h.

Referenced by ar5k_ar5212_nic_wakeup().

#define AR5K_AR5212_PHY_TURBO_SHORT   0x00000002
 

Definition at line 1047 of file ar5212reg.h.

Referenced by ar5k_ar5212_nic_wakeup().

#define AR5K_AR5212_PHY_TXPOWER_RATE1   0x9934
 

Definition at line 1148 of file ar5212reg.h.

Referenced by ar5k_ar5212_txpower().

#define AR5K_AR5212_PHY_TXPOWER_RATE2   0x9938
 

Definition at line 1149 of file ar5212reg.h.

Referenced by ar5k_ar5212_txpower().

#define AR5K_AR5212_PHY_TXPOWER_RATE3   0xa234
 

Definition at line 1152 of file ar5212reg.h.

Referenced by ar5k_ar5212_txpower().

#define AR5K_AR5212_PHY_TXPOWER_RATE4   0xa238
 

Definition at line 1153 of file ar5212reg.h.

Referenced by ar5k_ar5212_txpower().

#define AR5K_AR5212_PHY_TXPOWER_RATE_MAX   0x993c
 

Definition at line 1150 of file ar5212reg.h.

Referenced by ar5k_ar5212_txpower().

#define AR5K_AR5212_PHY_TXPOWER_RATE_MAX_TPC_ENABLE   0x00000040
 

Definition at line 1151 of file ar5212reg.h.

Referenced by ar5k_ar5212_txpower().

#define AR5K_AR5212_PIMR   0x00a0
 

Definition at line 224 of file ar5212reg.h.

Referenced by ar5k_ar5212_radar_alert(), ar5k_ar5212_set_gpio_intr(), and ar5k_ar5212_set_intr().

#define AR5K_AR5212_PIMR_BCNMISC   0x00800000
 

Definition at line 248 of file ar5212reg.h.

#define AR5K_AR5212_PIMR_BMISS   0x00040000
 

Definition at line 243 of file ar5212reg.h.

#define AR5K_AR5212_PIMR_BNR   0x00100000
 

Definition at line 245 of file ar5212reg.h.

#define AR5K_AR5212_PIMR_BRSSI   0x00020000
 

Definition at line 242 of file ar5212reg.h.

#define AR5K_AR5212_PIMR_GPIO   0x01000000
 

Definition at line 249 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_gpio_intr().

#define AR5K_AR5212_PIMR_HIUERR   0x00080000
 

Definition at line 244 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_intr().

#define AR5K_AR5212_PIMR_MIB   0x00001000
 

Definition at line 237 of file ar5212reg.h.

#define AR5K_AR5212_PIMR_QCBRORN   0x02000000
 

Definition at line 250 of file ar5212reg.h.

#define AR5K_AR5212_PIMR_QCBRURN   0x04000000
 

Definition at line 251 of file ar5212reg.h.

#define AR5K_AR5212_PIMR_QTRIG   0x08000000
 

Definition at line 252 of file ar5212reg.h.

#define AR5K_AR5212_PIMR_RXCHIRP   0x00200000
 

Definition at line 246 of file ar5212reg.h.

#define AR5K_AR5212_PIMR_RXDESC   0x00000002
 

Definition at line 226 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_intr().

#define AR5K_AR5212_PIMR_RXEOL   0x00000010
 

Definition at line 229 of file ar5212reg.h.

#define AR5K_AR5212_PIMR_RXERR   0x00000004
 

Definition at line 227 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_intr().

#define AR5K_AR5212_PIMR_RXKCM   0x00008000
 

Definition at line 240 of file ar5212reg.h.

#define AR5K_AR5212_PIMR_RXNOFRM   0x00000008
 

Definition at line 228 of file ar5212reg.h.

#define AR5K_AR5212_PIMR_RXOK   0x00000001
 

Definition at line 225 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_intr().

#define AR5K_AR5212_PIMR_RXORN   0x00000020
 

Definition at line 230 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_intr().

#define AR5K_AR5212_PIMR_RXPHY   0x00004000
 

Definition at line 239 of file ar5212reg.h.

Referenced by ar5k_ar5212_radar_alert().

#define AR5K_AR5212_PIMR_SWBA   0x00010000
 

Definition at line 241 of file ar5212reg.h.

#define AR5K_AR5212_PIMR_SWI   0x00002000
 

Definition at line 238 of file ar5212reg.h.

#define AR5K_AR5212_PIMR_TIM   0x00800000
 

Definition at line 247 of file ar5212reg.h.

#define AR5K_AR5212_PIMR_TXDESC   0x00000080
 

Definition at line 232 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_intr().

#define AR5K_AR5212_PIMR_TXEOL   0x00000400
 

Definition at line 235 of file ar5212reg.h.

#define AR5K_AR5212_PIMR_TXERR   0x00000100
 

Definition at line 233 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_intr().

#define AR5K_AR5212_PIMR_TXNOFRM   0x00000200
 

Definition at line 234 of file ar5212reg.h.

#define AR5K_AR5212_PIMR_TXOK   0x00000040
 

Definition at line 231 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_intr().

#define AR5K_AR5212_PIMR_TXURN   0x00000800
 

Definition at line 236 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_intr().

#define AR5K_AR5212_PISR   0x0080
 

Definition at line 151 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_PISR_BCNMISC   0x00800000
 

Definition at line 175 of file ar5212reg.h.

#define AR5K_AR5212_PISR_BMISS   0x00040000
 

Definition at line 170 of file ar5212reg.h.

#define AR5K_AR5212_PISR_BNR   0x00100000
 

Definition at line 172 of file ar5212reg.h.

#define AR5K_AR5212_PISR_BRSSI   0x00020000
 

Definition at line 169 of file ar5212reg.h.

#define AR5K_AR5212_PISR_GPIO   0x01000000
 

Definition at line 176 of file ar5212reg.h.

#define AR5K_AR5212_PISR_HIUERR   0x00080000
 

Definition at line 171 of file ar5212reg.h.

Referenced by ar5k_ar5212_get_isr().

#define AR5K_AR5212_PISR_MIB   0x00001000
 

Definition at line 164 of file ar5212reg.h.

#define AR5K_AR5212_PISR_QCBRORN   0x02000000
 

Definition at line 177 of file ar5212reg.h.

#define AR5K_AR5212_PISR_QCBRURN   0x04000000
 

Definition at line 178 of file ar5212reg.h.

#define AR5K_AR5212_PISR_QTRIG   0x08000000
 

Definition at line 179 of file ar5212reg.h.

#define AR5K_AR5212_PISR_RXCHIRP   0x00200000
 

Definition at line 173 of file ar5212reg.h.

#define AR5K_AR5212_PISR_RXDESC   0x00000002
 

Definition at line 153 of file ar5212reg.h.

#define AR5K_AR5212_PISR_RXEOL   0x00000010
 

Definition at line 156 of file ar5212reg.h.

#define AR5K_AR5212_PISR_RXERR   0x00000004
 

Definition at line 154 of file ar5212reg.h.

Referenced by ar5k_ar5212_get_isr().

#define AR5K_AR5212_PISR_RXKCM   0x00008000
 

Definition at line 167 of file ar5212reg.h.

#define AR5K_AR5212_PISR_RXNOFRM   0x00000008
 

Definition at line 155 of file ar5212reg.h.

#define AR5K_AR5212_PISR_RXOK   0x00000001
 

Definition at line 152 of file ar5212reg.h.

Referenced by ar5k_ar5212_get_isr().

#define AR5K_AR5212_PISR_RXORN   0x00000020
 

Definition at line 157 of file ar5212reg.h.

#define AR5K_AR5212_PISR_RXPHY   0x00004000
 

Definition at line 166 of file ar5212reg.h.

Referenced by ar5k_ar5212_get_isr().

#define AR5K_AR5212_PISR_SWBA   0x00010000
 

Definition at line 168 of file ar5212reg.h.

#define AR5K_AR5212_PISR_SWI   0x00002000
 

Definition at line 165 of file ar5212reg.h.

#define AR5K_AR5212_PISR_TIM   0x00400000
 

Definition at line 174 of file ar5212reg.h.

#define AR5K_AR5212_PISR_TXDESC   0x00000080
 

Definition at line 159 of file ar5212reg.h.

#define AR5K_AR5212_PISR_TXEOL   0x00000400
 

Definition at line 162 of file ar5212reg.h.

#define AR5K_AR5212_PISR_TXERR   0x00000100
 

Definition at line 160 of file ar5212reg.h.

Referenced by ar5k_ar5212_get_isr().

#define AR5K_AR5212_PISR_TXNOFRM   0x00000200
 

Definition at line 161 of file ar5212reg.h.

#define AR5K_AR5212_PISR_TXOK   0x00000040
 

Definition at line 158 of file ar5212reg.h.

Referenced by ar5k_ar5212_get_isr().

#define AR5K_AR5212_PISR_TXURN   0x00000800
 

Definition at line 163 of file ar5212reg.h.

#define AR5K_AR5212_PROFCNT_CYCLE   0x80f8
 

Definition at line 990 of file ar5212reg.h.

Referenced by ar5k_ar5212_update_mib_counters().

#define AR5K_AR5212_PROFCNT_RX   0x80f0
 

Definition at line 988 of file ar5212reg.h.

Referenced by ar5k_ar5212_update_mib_counters().

#define AR5K_AR5212_PROFCNT_RXCLR   0x80f4
 

Definition at line 989 of file ar5212reg.h.

Referenced by ar5k_ar5212_update_mib_counters().

#define AR5K_AR5212_PROFCNT_TX   0x80ec
 

Definition at line 987 of file ar5212reg.h.

Referenced by ar5k_ar5212_update_mib_counters().

#define AR5K_AR5212_QCU _n,
_a  )    (((_n) << 2) + _a)
 

Definition at line 321 of file ar5212reg.h.

#define AR5K_AR5212_QCU_CBB_ADDR   0x0b04
 

Definition at line 404 of file ar5212reg.h.

#define AR5K_AR5212_QCU_CBB_SELECT   0x0b00
 

Definition at line 403 of file ar5212reg.h.

#define AR5K_AR5212_QCU_CBCFG   0x0b08
 

Definition at line 409 of file ar5212reg.h.

#define AR5K_AR5212_QCU_CBRCFG _n  )    AR5K_AR5212_QCU(_n, 0x08c0)
 

Definition at line 341 of file ar5212reg.h.

Referenced by ar5k_ar5212_proc_read_reg(), and ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_QCU_CBRCFG_INTVAL   0x00ffffff
 

Definition at line 342 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_QCU_CBRCFG_INTVAL_S   0
 

Definition at line 343 of file ar5212reg.h.

#define AR5K_AR5212_QCU_CBRCFG_ORN_THRES   0xff000000
 

Definition at line 344 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_QCU_CBRCFG_ORN_THRES_S   24
 

Definition at line 345 of file ar5212reg.h.

#define AR5K_AR5212_QCU_MISC _n  )    AR5K_AR5212_QCU(_n, 0x09c0)
 

Definition at line 371 of file ar5212reg.h.

Referenced by ar5k_ar5212_proc_read_reg(), and ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_QCU_MISC_BCN_ENABLE   0x00000080
 

Definition at line 381 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_QCU_MISC_CBR   0x00000400
 

Definition at line 384 of file ar5212reg.h.

#define AR5K_AR5212_QCU_MISC_CBR_THRES_ENABLE   0x00000100
 

Definition at line 382 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_QCU_MISC_CBREXP   0x00000020
 

Definition at line 379 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_QCU_MISC_CBREXP_BCN   0x00000040
 

Definition at line 380 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_QCU_MISC_DCU_EARLY   0x00000800
 

Definition at line 385 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_QCU_MISC_FRSHED_ASAP   0
 

Definition at line 373 of file ar5212reg.h.

#define AR5K_AR5212_QCU_MISC_FRSHED_BCN_SENT_GT   4
 

Definition at line 377 of file ar5212reg.h.

#define AR5K_AR5212_QCU_MISC_FRSHED_CBR   1
 

Definition at line 374 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_QCU_MISC_FRSHED_DBA_GT   2
 

Definition at line 375 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_QCU_MISC_FRSHED_M   0x0000000f
 

Definition at line 372 of file ar5212reg.h.

#define AR5K_AR5212_QCU_MISC_FRSHED_TIM_GT   3
 

Definition at line 376 of file ar5212reg.h.

#define AR5K_AR5212_QCU_MISC_ONESHOT_ENABLE   0x00000010
 

Definition at line 378 of file ar5212reg.h.

#define AR5K_AR5212_QCU_MISC_TXE   0x00000200
 

Definition at line 383 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_QCU_ONESHOTARMC _n  )    AR5K_AR5212_QCU(_n, 0x0980)
 

Definition at line 365 of file ar5212reg.h.

#define AR5K_AR5212_QCU_ONESHOTARMC_M   0x0000ffff
 

Definition at line 366 of file ar5212reg.h.

#define AR5K_AR5212_QCU_ONESHOTARMS _n  )    AR5K_AR5212_QCU(_n, 0x0940)
 

Definition at line 359 of file ar5212reg.h.

#define AR5K_AR5212_QCU_ONESHOTARMS_M   0x0000ffff
 

Definition at line 360 of file ar5212reg.h.

#define AR5K_AR5212_QCU_RDYTIMECFG _n  )    AR5K_AR5212_QCU(_n, 0x0900)
 

Definition at line 350 of file ar5212reg.h.

Referenced by ar5k_ar5212_proc_read_reg(), and ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_QCU_RDYTIMECFG_DURATION   0x00ffffff
 

Definition at line 353 of file ar5212reg.h.

#define AR5K_AR5212_QCU_RDYTIMECFG_ENABLE   0x01000000
 

Definition at line 354 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_QCU_RDYTIMECFG_INTVAL   0x00ffffff
 

Definition at line 351 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_QCU_RDYTIMECFG_INTVAL_S   0
 

Definition at line 352 of file ar5212reg.h.

#define AR5K_AR5212_QCU_RDYTIMESHDN   0x0a40
 

Definition at line 397 of file ar5212reg.h.

#define AR5K_AR5212_QCU_RDYTIMESHDN_M   0x000003ff
 

Definition at line 398 of file ar5212reg.h.

#define AR5K_AR5212_QCU_STS _n  )    AR5K_AR5212_QCU(_n, 0x0a00)
 

Definition at line 390 of file ar5212reg.h.

Referenced by ar5k_ar5212_num_tx_pending(), ar5k_ar5212_proc_read_reg(), ar5k_ar5212_stop_tx_dma(), and ar5k_ar5212_wait_for_beacon().

#define AR5K_AR5212_QCU_STS_CBREXPCNT   0x0000ff00
 

Definition at line 392 of file ar5212reg.h.

#define AR5K_AR5212_QCU_STS_FRMPENDCNT   0x00000003
 

Definition at line 391 of file ar5212reg.h.

Referenced by ar5k_ar5212_num_tx_pending(), ar5k_ar5212_stop_tx_dma(), and ar5k_ar5212_wait_for_beacon().

#define AR5K_AR5212_QCU_TXD   0x0880
 

Definition at line 336 of file ar5212reg.h.

Referenced by ar5k_ar5212_put_tx_buf(), ar5k_ar5212_stop_tx_dma(), and ar5k_ar5212_tx_start().

#define AR5K_AR5212_QCU_TXDP _n  )    AR5K_AR5212_QCU(_n, 0x0800)
 

Definition at line 326 of file ar5212reg.h.

Referenced by ar5k_ar5212_get_tx_buf(), ar5k_ar5212_proc_read_reg(), and ar5k_ar5212_put_tx_buf().

#define AR5K_AR5212_QCU_TXE   0x0840
 

Definition at line 331 of file ar5212reg.h.

Referenced by ar5k_ar5212_put_tx_buf(), ar5k_ar5212_tx_start(), and ar5k_ar5212_wait_for_beacon().

#define AR5K_AR5212_RAC_PISR   0x00c0
 

Definition at line 214 of file ar5212reg.h.

Referenced by ar5k_ar5212_get_isr().

#define AR5K_AR5212_RAC_SISR0   0x00c4
 

Definition at line 215 of file ar5212reg.h.

#define AR5K_AR5212_RAC_SISR1   0x00c8
 

Definition at line 216 of file ar5212reg.h.

#define AR5K_AR5212_RAC_SISR2   0x00cc
 

Definition at line 217 of file ar5212reg.h.

#define AR5K_AR5212_RAC_SISR3   0c00d0
 

Definition at line 218 of file ar5212reg.h.

#define AR5K_AR5212_RAC_SISR4   0c00d4
 

Definition at line 219 of file ar5212reg.h.

#define AR5K_AR5212_RATE_DUR _n  )    (AR5K_AR5212_RATE_DUR_0 + ((_n) << 2))
 

Definition at line 1011 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_RATE_DUR_0   0x8700
 

Definition at line 1010 of file ar5212reg.h.

#define AR5K_AR5212_RC   0x4000
 

Definition at line 557 of file ar5212reg.h.

Referenced by ar5k_ar5212_nic_reset().

#define AR5K_AR5212_RC_BB   0x00000002
 

Definition at line 559 of file ar5212reg.h.

Referenced by ar5k_ar5212_nic_reset().

#define AR5K_AR5212_RC_CHIP
 

Value:

Definition at line 561 of file ar5212reg.h.

Referenced by ar5k_ar5212_nic_wakeup().

#define AR5K_AR5212_RC_PCI   0x00000010
 

Definition at line 560 of file ar5212reg.h.

Referenced by ar5k_ar5212_nic_wakeup().

#define AR5K_AR5212_RC_PCU   0x00000001
 

Definition at line 558 of file ar5212reg.h.

Referenced by ar5k_ar5212_nic_reset().

#define AR5K_AR5212_RFCNT   0x0054
 

Definition at line 132 of file ar5212reg.h.

#define AR5K_AR5212_RFCNT_M   0x0000001f
 

Definition at line 133 of file ar5212reg.h.

#define AR5K_AR5212_RPGTO   0x0050
 

Definition at line 126 of file ar5212reg.h.

#define AR5K_AR5212_RPGTO_M   0x000003ff
 

Definition at line 127 of file ar5212reg.h.

#define AR5K_AR5212_RSSI_THR   0x8018
 

Definition at line 730 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_RSSI_THR_BMISS   0x0000ff00
 

Definition at line 732 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_beacon_timers().

#define AR5K_AR5212_RSSI_THR_BMISS_S   8
 

Definition at line 733 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_beacon_timers().

#define AR5K_AR5212_RSSI_THR_M   0x000000ff
 

Definition at line 731 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_beacon_timers().

#define AR5K_AR5212_RTS_FAIL   0x808c
 

Definition at line 875 of file ar5212reg.h.

Referenced by ar5k_ar5212_update_mib_counters().

#define AR5K_AR5212_RTS_OK   0x8088
 

Definition at line 870 of file ar5212reg.h.

Referenced by ar5k_ar5212_update_mib_counters().

#define AR5K_AR5212_RX_FILTER   0x803c
 

Definition at line 796 of file ar5212reg.h.

Referenced by ar5k_ar5212_get_rx_filter(), and ar5k_ar5212_set_rx_filter().

#define AR5K_AR5212_RX_FILTER_BEACON   0x00000010
 

Definition at line 801 of file ar5212reg.h.

#define AR5K_AR5212_RX_FILTER_BROADCAST   0x00000004
 

Definition at line 799 of file ar5212reg.h.

#define AR5K_AR5212_RX_FILTER_CONTROL   0x00000008
 

Definition at line 800 of file ar5212reg.h.

#define AR5K_AR5212_RX_FILTER_MULTICAST   0x00000002
 

Definition at line 798 of file ar5212reg.h.

#define AR5K_AR5212_RX_FILTER_PROBE_REQ   0x00000080
 

Definition at line 804 of file ar5212reg.h.

#define AR5K_AR5212_RX_FILTER_PROMISC   0x00000020
 

Definition at line 802 of file ar5212reg.h.

#define AR5K_AR5212_RX_FILTER_UNICAST   0x00000001
 

Definition at line 797 of file ar5212reg.h.

#define AR5K_AR5212_RX_FILTER_XR_POLL   0x00000040
 

Definition at line 803 of file ar5212reg.h.

#define AR5K_AR5212_RXCFG   0x0034
 

Definition at line 87 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset(), and ar5k_ar5212_set_rx_filter().

#define AR5K_AR5212_RXCFG_JUMBO_RXE   0x00000020
 

Definition at line 92 of file ar5212reg.h.

#define AR5K_AR5212_RXCFG_JUMBO_WRAP   0x00000040
 

Definition at line 93 of file ar5212reg.h.

#define AR5K_AR5212_RXCFG_SDMAMW   0x00000007
 

Definition at line 88 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_RXCFG_SDMAMW_S   0
 

Definition at line 89 of file ar5212reg.h.

#define AR5K_AR5212_RXCFG_ZLFDMA   0x00000010
 

Definition at line 91 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_rx_filter().

#define AR5K_AR5212_RXDP   0x000c
 

Definition at line 38 of file ar5212reg.h.

Referenced by ar5k_ar5212_get_rx_buf(), ar5k_ar5212_nic_reset(), ar5k_ar5212_proc_rx_desc(), and ar5k_ar5212_put_rx_buf().

#define AR5K_AR5212_RXNOFRM   0x0048
 

Definition at line 113 of file ar5212reg.h.

#define AR5K_AR5212_RXNOFRM_M   0x000003ff
 

Definition at line 114 of file ar5212reg.h.

#define AR5K_AR5212_SCR   0x4004
 

Definition at line 568 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_power().

#define AR5K_AR5212_SCR_SLDUR   0x0000ffff
 

Definition at line 569 of file ar5212reg.h.

#define AR5K_AR5212_SCR_SLE   0x00030000
 

Definition at line 570 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_power().

#define AR5K_AR5212_SCR_SLE_ALLOW   0x00020000
 

Definition at line 574 of file ar5212reg.h.

#define AR5K_AR5212_SCR_SLE_S   16
 

Definition at line 571 of file ar5212reg.h.

#define AR5K_AR5212_SCR_SLE_SLP   0x00010000
 

Definition at line 573 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_power().

#define AR5K_AR5212_SCR_SLE_UNITS   0x00000008
 

Definition at line 575 of file ar5212reg.h.

#define AR5K_AR5212_SCR_SLE_WAKE   0x00000000
 

Definition at line 572 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_power().

#define AR5K_AR5212_SFR   0x400c
 

Definition at line 586 of file ar5212reg.h.

#define AR5K_AR5212_SFR_M   0x00000001
 

Definition at line 587 of file ar5212reg.h.

#define AR5K_AR5212_SIMR0   0x00a4
 

Definition at line 257 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_SIMR0_QCU_TXDESC   0x03ff0000
 

Definition at line 260 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_SIMR0_QCU_TXDESC_S   16
 

Definition at line 261 of file ar5212reg.h.

#define AR5K_AR5212_SIMR0_QCU_TXOK   0x000003ff
 

Definition at line 258 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_SIMR0_QCU_TXOK_S   0
 

Definition at line 259 of file ar5212reg.h.

#define AR5K_AR5212_SIMR1   0x00a8
 

Definition at line 263 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_SIMR1_QCU_TXEOL   0x03ff0000
 

Definition at line 266 of file ar5212reg.h.

#define AR5K_AR5212_SIMR1_QCU_TXEOL_S   16
 

Definition at line 267 of file ar5212reg.h.

#define AR5K_AR5212_SIMR1_QCU_TXERR   0x000003ff
 

Definition at line 264 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_SIMR1_QCU_TXERR_S   0
 

Definition at line 265 of file ar5212reg.h.

#define AR5K_AR5212_SIMR2   0x00ac
 

Definition at line 269 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue(), and ar5k_ar5212_set_intr().

#define AR5K_AR5212_SIMR2_BCN_TIMEOUT   0x08000000
 

Definition at line 278 of file ar5212reg.h.

#define AR5K_AR5212_SIMR2_CAB_END   0x02000000
 

Definition at line 276 of file ar5212reg.h.

#define AR5K_AR5212_SIMR2_CAB_TIMEOUT   0x10000000
 

Definition at line 279 of file ar5212reg.h.

#define AR5K_AR5212_SIMR2_DPERR   0x00400000
 

Definition at line 274 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_intr().

#define AR5K_AR5212_SIMR2_DTIM   0x20000000
 

Definition at line 280 of file ar5212reg.h.

#define AR5K_AR5212_SIMR2_DTIM_SYNC   0x04000000
 

Definition at line 277 of file ar5212reg.h.

#define AR5K_AR5212_SIMR2_MCABT   0x00100000
 

Definition at line 272 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_intr().

#define AR5K_AR5212_SIMR2_QCU_TXURN   0x000003ff
 

Definition at line 270 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_tx_queue().

#define AR5K_AR5212_SIMR2_QCU_TXURN_S   0
 

Definition at line 271 of file ar5212reg.h.

#define AR5K_AR5212_SIMR2_SSERR   0x00200000
 

Definition at line 273 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_intr().

#define AR5K_AR5212_SIMR2_TIM   0x01000000
 

Definition at line 275 of file ar5212reg.h.

#define AR5K_AR5212_SIMR3   0x00b0
 

Definition at line 282 of file ar5212reg.h.

#define AR5K_AR5212_SIMR3_QCBRORN   0x000003ff
 

Definition at line 283 of file ar5212reg.h.

#define AR5K_AR5212_SIMR3_QCBRORN_S   0
 

Definition at line 284 of file ar5212reg.h.

#define AR5K_AR5212_SIMR3_QCBRURN   0x03ff0000
 

Definition at line 285 of file ar5212reg.h.

#define AR5K_AR5212_SIMR3_QCBRURN_S   16
 

Definition at line 286 of file ar5212reg.h.

#define AR5K_AR5212_SIMR4   0x00b4
 

Definition at line 288 of file ar5212reg.h.

#define AR5K_AR5212_SIMR4_QTRIG   0x000003ff
 

Definition at line 289 of file ar5212reg.h.

#define AR5K_AR5212_SIMR4_QTRIG_S   0
 

Definition at line 290 of file ar5212reg.h.

#define AR5K_AR5212_SISR0   0x0084
 

Definition at line 184 of file ar5212reg.h.

#define AR5K_AR5212_SISR0_QCU_TXDESC   0x03ff0000
 

Definition at line 186 of file ar5212reg.h.

#define AR5K_AR5212_SISR0_QCU_TXOK   0x000003ff
 

Definition at line 185 of file ar5212reg.h.

#define AR5K_AR5212_SISR1   0x0088
 

Definition at line 188 of file ar5212reg.h.

#define AR5K_AR5212_SISR1_QCU_TXEOL   0x03ff0000
 

Definition at line 190 of file ar5212reg.h.

#define AR5K_AR5212_SISR1_QCU_TXERR   0x000003ff
 

Definition at line 189 of file ar5212reg.h.

#define AR5K_AR5212_SISR2   0x008c
 

Definition at line 192 of file ar5212reg.h.

#define AR5K_AR5212_SISR2_BCN_TIMEOUT   0x08000000
 

Definition at line 200 of file ar5212reg.h.

#define AR5K_AR5212_SISR2_CAB_END   0x02000000
 

Definition at line 198 of file ar5212reg.h.

#define AR5K_AR5212_SISR2_CAB_TIMEOUT   0x10000000
 

Definition at line 201 of file ar5212reg.h.

#define AR5K_AR5212_SISR2_DPERR   0x00400000
 

Definition at line 196 of file ar5212reg.h.

#define AR5K_AR5212_SISR2_DTIM   0x20000000
 

Definition at line 202 of file ar5212reg.h.

#define AR5K_AR5212_SISR2_DTIM_SYNC   0x04000000
 

Definition at line 199 of file ar5212reg.h.

#define AR5K_AR5212_SISR2_MCABT   0x00100000
 

Definition at line 194 of file ar5212reg.h.

#define AR5K_AR5212_SISR2_QCU_TXURN   0x000003ff
 

Definition at line 193 of file ar5212reg.h.

#define AR5K_AR5212_SISR2_SSERR   0x00200000
 

Definition at line 195 of file ar5212reg.h.

#define AR5K_AR5212_SISR2_TIM   0x01000000
 

Definition at line 197 of file ar5212reg.h.

#define AR5K_AR5212_SISR3   0x0090
 

Definition at line 204 of file ar5212reg.h.

#define AR5K_AR5212_SISR3_QCBRORN   0x000003ff
 

Definition at line 205 of file ar5212reg.h.

#define AR5K_AR5212_SISR3_QCBRURN   0x03ff0000
 

Definition at line 206 of file ar5212reg.h.

#define AR5K_AR5212_SISR4   0x0094
 

Definition at line 208 of file ar5212reg.h.

#define AR5K_AR5212_SISR4_QTRIG   0x000003ff
 

Definition at line 209 of file ar5212reg.h.

#define AR5K_AR5212_SLEEP0   0x80d4
 

Definition at line 941 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_beacon_timers().

#define AR5K_AR5212_SLEEP0_ASSUME_DTIM   0x00080000
 

Definition at line 944 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_beacon_timers().

#define AR5K_AR5212_SLEEP0_CABTO   0xff000000
 

Definition at line 946 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_beacon_timers().

#define AR5K_AR5212_SLEEP0_CABTO_S   24
 

Definition at line 947 of file ar5212reg.h.

#define AR5K_AR5212_SLEEP0_ENH_SLEEP_EN   0x00100000
 

Definition at line 945 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_beacon_timers().

#define AR5K_AR5212_SLEEP0_NEXT_DTIM   0x0007ffff
 

Definition at line 942 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_beacon_timers().

#define AR5K_AR5212_SLEEP0_NEXT_DTIM_S   0
 

Definition at line 943 of file ar5212reg.h.

#define AR5K_AR5212_SLEEP1   0x80d8
 

Definition at line 952 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_beacon_timers().

#define AR5K_AR5212_SLEEP1_BEACON_TO   0xff000000
 

Definition at line 955 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_beacon_timers().

#define AR5K_AR5212_SLEEP1_BEACON_TO_S   24
 

Definition at line 956 of file ar5212reg.h.

#define AR5K_AR5212_SLEEP1_NEXT_TIM   0x0007ffff
 

Definition at line 953 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_beacon_timers().

#define AR5K_AR5212_SLEEP1_NEXT_TIM_S   0
 

Definition at line 954 of file ar5212reg.h.

#define AR5K_AR5212_SLEEP2   0x80dc
 

Definition at line 961 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_beacon_timers().

#define AR5K_AR5212_SLEEP2_DTIM_PER   0xffff0000
 

Definition at line 964 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_beacon_timers().

#define AR5K_AR5212_SLEEP2_DTIM_PER_S   16
 

Definition at line 965 of file ar5212reg.h.

#define AR5K_AR5212_SLEEP2_TIM_PER   0x0000ffff
 

Definition at line 962 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_beacon_timers().

#define AR5K_AR5212_SLEEP2_TIM_PER_S   0
 

Definition at line 963 of file ar5212reg.h.

#define AR5K_AR5212_SLOT_TIME   0x8010
 

Definition at line 716 of file ar5212reg.h.

#define AR5K_AR5212_SREV   0x4020
 

Definition at line 650 of file ar5212reg.h.

#define AR5K_AR5212_SREV_REV   0x0000000f
 

Definition at line 651 of file ar5212reg.h.

#define AR5K_AR5212_SREV_REV_S   0
 

Definition at line 652 of file ar5212reg.h.

#define AR5K_AR5212_SREV_VER   0x000000ff
 

Definition at line 653 of file ar5212reg.h.

#define AR5K_AR5212_SREV_VER_S   4
 

Definition at line 654 of file ar5212reg.h.

#define AR5K_AR5212_STA_ID0   0x8000
 

Definition at line 682 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_lladdr(), and ar5k_ar5212_set_opmode().

#define AR5K_AR5212_STA_ID1   0x8004
 

Definition at line 687 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_beacon(), ar5k_ar5212_set_beacon_timers(), ar5k_ar5212_set_lladdr(), ar5k_ar5212_set_opmode(), and ar5k_ar5212_set_power().

#define AR5K_AR5212_STA_ID1_ACKCTS_6MB   0x01000000
 

Definition at line 696 of file ar5212reg.h.

#define AR5K_AR5212_STA_ID1_ADHOC   0x00020000
 

Definition at line 689 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_opmode().

#define AR5K_AR5212_STA_ID1_AP   0x00010000
 

Definition at line 688 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_opmode().

#define AR5K_AR5212_STA_ID1_BASE_RATE_11B   0x02000000
 

Definition at line 697 of file ar5212reg.h.

#define AR5K_AR5212_STA_ID1_DEFAULT_ANTENNA   0x00200000
 

Definition at line 693 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_beacon(), ar5k_ar5212_set_opmode(), and ar5k_ar5212_set_power().

#define AR5K_AR5212_STA_ID1_DESC_ANTENNA   0x00400000
 

Definition at line 694 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_opmode().

#define AR5K_AR5212_STA_ID1_NO_KEYSRCH   0x00080000
 

Definition at line 691 of file ar5212reg.h.

#define AR5K_AR5212_STA_ID1_PCF   0x00100000
 

Definition at line 692 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset_beacon(), and ar5k_ar5212_set_beacon_timers().

#define AR5K_AR5212_STA_ID1_PWR_SV   0x00040000
 

Definition at line 690 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_power().

#define AR5K_AR5212_STA_ID1_RTS_DEFAULT_ANTENNA   0x00800000
 

Definition at line 695 of file ar5212reg.h.

Referenced by ar5k_ar5212_set_opmode().

#define AR5K_AR5212_TIME_OUT   0x8014
 

Definition at line 721 of file ar5212reg.h.

Referenced by ar5k_ar5212_get_ack_timeout(), ar5k_ar5212_get_cts_timeout(), ar5k_ar5212_set_ack_timeout(), and ar5k_ar5212_set_cts_timeout().

#define AR5K_AR5212_TIME_OUT_ACK   0x00001fff
 

Definition at line 722 of file ar5212reg.h.

Referenced by ar5k_ar5212_get_ack_timeout(), and ar5k_ar5212_set_ack_timeout().

#define AR5K_AR5212_TIME_OUT_ACK_S   0
 

Definition at line 723 of file ar5212reg.h.

#define AR5K_AR5212_TIME_OUT_CTS   0x1fff0000
 

Definition at line 724 of file ar5212reg.h.

Referenced by ar5k_ar5212_get_cts_timeout(), and ar5k_ar5212_set_cts_timeout().

#define AR5K_AR5212_TIME_OUT_CTS_S   16
 

Definition at line 725 of file ar5212reg.h.

#define AR5K_AR5212_TIMER0   0x8028
 

Definition at line 771 of file ar5212reg.h.

Referenced by ar5k_ar5212_init_beacon(), ar5k_ar5212_reset_beacon(), and ar5k_ar5212_set_beacon_timers().

#define AR5K_AR5212_TIMER1   0x802c
 

Definition at line 776 of file ar5212reg.h.

Referenced by ar5k_ar5212_init_beacon().

#define AR5K_AR5212_TIMER2   0x8030
 

Definition at line 781 of file ar5212reg.h.

Referenced by ar5k_ar5212_init_beacon(), and ar5k_ar5212_set_beacon_timers().

#define AR5K_AR5212_TIMER3   0x8034
 

Definition at line 786 of file ar5212reg.h.

Referenced by ar5k_ar5212_init_beacon().

#define AR5K_AR5212_TOPS   0x0044
 

Definition at line 107 of file ar5212reg.h.

#define AR5K_AR5212_TOPS_M   0x0000ffff
 

Definition at line 108 of file ar5212reg.h.

#define AR5K_AR5212_TSF_L32   0x804c
 

Definition at line 840 of file ar5212reg.h.

Referenced by ar5k_ar5212_get_tsf32(), and ar5k_ar5212_get_tsf64().

#define AR5K_AR5212_TSF_PARM   0x8104
 

Definition at line 995 of file ar5212reg.h.

#define AR5K_AR5212_TSF_PARM_INC_M   0x000000ff
 

Definition at line 996 of file ar5212reg.h.

#define AR5K_AR5212_TSF_PARM_INC_S   0
 

Definition at line 997 of file ar5212reg.h.

#define AR5K_AR5212_TSF_U32   0x8050
 

Definition at line 845 of file ar5212reg.h.

Referenced by ar5k_ar5212_get_tsf64().

#define AR5K_AR5212_TXCFG   0x0030
 

Definition at line 66 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset(), and ar5k_ar5212_update_tx_triglevel().

#define AR5K_AR5212_TXCFG_B_MODE   0x00000008
 

Definition at line 69 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_TXCFG_DMASIZE   0x00000100
 

Definition at line 78 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_TXCFG_FRMPAD_DIS   0x00002000
 

Definition at line 81 of file ar5212reg.h.

#define AR5K_AR5212_TXCFG_JUMBO_TXE   0x00000400
 

Definition at line 79 of file ar5212reg.h.

#define AR5K_AR5212_TXCFG_RDY_DIS   0x00004000
 

Definition at line 82 of file ar5212reg.h.

#define AR5K_AR5212_TXCFG_RTSRND   0x00001000
 

Definition at line 80 of file ar5212reg.h.

#define AR5K_AR5212_TXCFG_SDMAMR   0x00000007
 

Definition at line 67 of file ar5212reg.h.

Referenced by ar5k_ar5212_reset().

#define AR5K_AR5212_TXCFG_SDMAMR_S   0
 

Definition at line 68 of file ar5212reg.h.

#define AR5K_AR5212_TXCFG_TXCONT_ENABLE   0x00000080
 

Definition at line 77 of file ar5212reg.h.

#define AR5K_AR5212_TXCFG_TXFULL   0x000003f0
 

Definition at line 70 of file ar5212reg.h.

Referenced by ar5k_ar5212_update_tx_triglevel().

#define AR5K_AR5212_TXCFG_TXFULL_0B   0x00000000
 

Definition at line 72 of file ar5212reg.h.

#define AR5K_AR5212_TXCFG_TXFULL_128B   0x00000020
 

Definition at line 74 of file ar5212reg.h.

#define AR5K_AR5212_TXCFG_TXFULL_192B   0x00000030
 

Definition at line 75 of file ar5212reg.h.

#define AR5K_AR5212_TXCFG_TXFULL_256B   0x00000040
 

Definition at line 76 of file ar5212reg.h.

#define AR5K_AR5212_TXCFG_TXFULL_64B   0x00000010
 

Definition at line 73 of file ar5212reg.h.

#define AR5K_AR5212_TXCFG_TXFULL_S   4
 

Definition at line 71 of file ar5212reg.h.

#define AR5K_AR5212_TXNOFRM   0x004c
 

Definition at line 119 of file ar5212reg.h.

#define AR5K_AR5212_TXNOFRM_M   0x000003ff
 

Definition at line 120 of file ar5212reg.h.

#define AR5K_AR5212_TXNOFRM_QCU   0x000ffc00
 

Definition at line 121 of file ar5212reg.h.

#define AR5K_AR5212_TXPC   0x80e8
 

Definition at line 976 of file ar5212reg.h.

#define AR5K_AR5212_TXPC_ACK_M   0x0000003f
 

Definition at line 977 of file ar5212reg.h.

#define AR5K_AR5212_TXPC_ACK_S   0
 

Definition at line 978 of file ar5212reg.h.

#define AR5K_AR5212_TXPC_CHIRP_M   0x003f0000
 

Definition at line 981 of file ar5212reg.h.

#define AR5K_AR5212_TXPC_CHIRP_S   22
 

Definition at line 982 of file ar5212reg.h.

#define AR5K_AR5212_TXPC_CTS_M   0x00003f00
 

Definition at line 979 of file ar5212reg.h.

#define AR5K_AR5212_TXPC_CTS_S   8
 

Definition at line 980 of file ar5212reg.h.

#define AR5K_AR5212_USEC   0x801c
 

Definition at line 738 of file ar5212reg.h.

#define AR5K_AR5212_USEC_1   0x0000007f
 

Definition at line 739 of file ar5212reg.h.

#define AR5K_AR5212_USEC_1_S   0
 

Definition at line 740 of file ar5212reg.h.

#define AR5K_AR5212_USEC_32   0x00003f80
 

Definition at line 741 of file ar5212reg.h.

#define AR5K_AR5212_USEC_32_S   7
 

Definition at line 742 of file ar5212reg.h.

#define AR5K_AR5212_USEC_RX_LATENCY   0x1f800000
 

Definition at line 745 of file ar5212reg.h.

#define AR5K_AR5212_USEC_RX_LATENCY_S   23
 

Definition at line 746 of file ar5212reg.h.

#define AR5K_AR5212_USEC_TX_LATENCY   0x007fc000
 

Definition at line 743 of file ar5212reg.h.

#define AR5K_AR5212_USEC_TX_LATENCY_S   14
 

Definition at line 744 of file ar5212reg.h.

#define AR5K_AR5212_XRCHIRP   0x80cc
 

Definition at line 926 of file ar5212reg.h.

#define AR5K_AR5212_XRCHIRP_GAP   0xffff0000
 

Definition at line 928 of file ar5212reg.h.

#define AR5K_AR5212_XRCHIRP_SEND   0x00000001
 

Definition at line 927 of file ar5212reg.h.

#define AR5K_AR5212_XRDELAY   0x80c4
 

Definition at line 908 of file ar5212reg.h.

#define AR5K_AR5212_XRDELAY_CHIRP_DELAY_M   0xffff0000
 

Definition at line 911 of file ar5212reg.h.

#define AR5K_AR5212_XRDELAY_CHIRP_DELAY_S   16
 

Definition at line 912 of file ar5212reg.h.

#define AR5K_AR5212_XRDELAY_SLOT_DELAY_M   0x0000ffff
 

Definition at line 909 of file ar5212reg.h.

#define AR5K_AR5212_XRDELAY_SLOT_DELAY_S   0
 

Definition at line 910 of file ar5212reg.h.

#define AR5K_AR5212_XRMODE   0x80c0
 

Definition at line 895 of file ar5212reg.h.

#define AR5K_AR5212_XRMODE_FRAME_HOLD_M   0xfff00000
 

Definition at line 902 of file ar5212reg.h.

#define AR5K_AR5212_XRMODE_FRAME_HOLD_S   20
 

Definition at line 903 of file ar5212reg.h.

#define AR5K_AR5212_XRMODE_POLL_SUBTYPE_M   0x0000003c
 

Definition at line 898 of file ar5212reg.h.

#define AR5K_AR5212_XRMODE_POLL_SUBTYPE_S   2
 

Definition at line 899 of file ar5212reg.h.

#define AR5K_AR5212_XRMODE_POLL_TYPE_M   0x0000003f
 

Definition at line 896 of file ar5212reg.h.

#define AR5K_AR5212_XRMODE_POLL_TYPE_S   0
 

Definition at line 897 of file ar5212reg.h.

#define AR5K_AR5212_XRMODE_POLL_WAIT_ALL   0x00000080
 

Definition at line 900 of file ar5212reg.h.

#define AR5K_AR5212_XRMODE_SIFS_DELAY   0x000fff00
 

Definition at line 901 of file ar5212reg.h.

#define AR5K_AR5212_XRSTOMP   0x80d0
 

Definition at line 933 of file ar5212reg.h.

#define AR5K_AR5212_XRSTOMP_RSSI_THRES   0x0000ff00
 

Definition at line 936 of file ar5212reg.h.

#define AR5K_AR5212_XRSTOMP_RX_ABORT   0x00000002
 

Definition at line 935 of file ar5212reg.h.

#define AR5K_AR5212_XRSTOMP_TX   0x00000001
 

Definition at line 934 of file ar5212reg.h.

#define AR5K_AR5212_XRTIMEOUT   0x80c8
 

Definition at line 917 of file ar5212reg.h.

#define AR5K_AR5212_XRTIMEOUT_CHIRP_M   0x0000ffff
 

Definition at line 918 of file ar5212reg.h.

#define AR5K_AR5212_XRTIMEOUT_CHIRP_S   0
 

Definition at line 919 of file ar5212reg.h.

#define AR5K_AR5212_XRTIMEOUT_POLL_M   0xffff0000
 

Definition at line 920 of file ar5212reg.h.

#define AR5K_AR5212_XRTIMEOUT_POLL_S   16
 

Definition at line 921 of file ar5212reg.h.

#define AR5K_AR5311_RXCFG_DEFAULT_ANTENNA   0x00000008
 

Definition at line 90 of file ar5212reg.h.

#define AR5K_AR5311_USEC_RX_LATENCY   0x03f00000
 

Definition at line 749 of file ar5212reg.h.

#define AR5K_AR5311_USEC_RX_LATENCY_S   20
 

Definition at line 750 of file ar5212reg.h.

#define AR5K_AR5311_USEC_TX_LATENCY   0x000fc000
 

Definition at line 747 of file ar5212reg.h.

#define AR5K_AR5311_USEC_TX_LATENCY_S   14
 

Definition at line 748 of file ar5212reg.h.


Enumeration Type Documentation

enum ar5k_ar5212_dmasize_t
 

Enumeration values:
AR5K_AR5212_DMASIZE_4B 
AR5K_AR5212_DMASIZE_8B 
AR5K_AR5212_DMASIZE_16B 
AR5K_AR5212_DMASIZE_32B 
AR5K_AR5212_DMASIZE_64B 
AR5K_AR5212_DMASIZE_128B 
AR5K_AR5212_DMASIZE_256B 
AR5K_AR5212_DMASIZE_512B 

Definition at line 543 of file ar5212reg.h.


Generated on Mon Nov 21 16:04:05 2005 for openwifi by  doxygen 1.4.1