FreeBSD kernel ATH device code
|
Go to the source code of this file.
Data Structures | |
struct | ath_hal_5210 |
Macros | |
#define | AR5210_MAGIC 0x19980124 |
#define | INIT_CONFIG_STATUS 0x00000000 |
#define | INIT_ACKTOPS 0x00000008 |
#define | INIT_BCON_CNTRL_REG 0x00000000 |
#define | INIT_SLOT_TIME 0x00000168 |
#define | INIT_SLOT_TIME_TURBO 0x000001e0 /* More aggressive turbo slot timing = 6 us */ |
#define | INIT_ACK_CTS_TIMEOUT 0x04000400 |
#define | INIT_ACK_CTS_TIMEOUT_TURBO 0x08000800 |
#define | INIT_USEC 0x27 |
#define | INIT_USEC_TURBO 0x4f |
#define | INIT_USEC_32 0x1f |
#define | INIT_TX_LATENCY 0x36 |
#define | INIT_RX_LATENCY 0x1D |
#define | INIT_TRANSMIT_LATENCY |
#define | INIT_TRANSMIT_LATENCY_TURBO |
#define | INIT_SIFS 0x230 /* = 16 us - 2 us */ |
#define | INIT_SIFS_TURBO 0x1E0 /* More aggressive turbo SIFS timing - 8 us - 2 us */ |
#define | MIN_TX_FIFO_THRESHOLD 0x1 |
#define | MAX_TX_FIFO_THRESHOLD ((IEEE80211_MAX_LEN / 64) + 1) |
#define | INIT_NEXT_CFP_START 0xffffffff |
#define | INIT_BEACON_PERIOD 0xffff |
#define | INIT_BEACON_EN 0 /* this should be set by AP only when it's ready */ |
#define | INIT_BEACON_CONTROL |
#define | INIT_RSSI_THR 0x00000700 /* Missed beacon counter initialized to max value of 7 */ |
#define | INIT_ProgIFS 0x398 /* PIFS - 2us */ |
#define | INIT_ProgIFS_TURBO 0x3C0 |
#define | INIT_EIFS 0xd70 |
#define | INIT_EIFS_TURBO 0x1ae0 |
#define | INIT_CARR_SENSE_EN 1 |
#define | INIT_PROTO_TIME_CNTRL |
#define | INIT_PROTO_TIME_CNTRL_TURBO |
#define | AR5210_MAX_RATE_POWER 60 |
#define | HAL_NUM_TX_QUEUES 3 |
#define | AH5210(ah) ((struct ath_hal_5210 *)(ah)) |
#define AH5210 | ( | ah | ) | ((struct ath_hal_5210 *)(ah)) |
#define INIT_BEACON_CONTROL |
#define INIT_BEACON_EN 0 /* this should be set by AP only when it's ready */ |
#define INIT_PROTO_TIME_CNTRL |
#define INIT_PROTO_TIME_CNTRL_TURBO |
#define INIT_RSSI_THR 0x00000700 /* Missed beacon counter initialized to max value of 7 */ |
#define INIT_SIFS_TURBO 0x1E0 /* More aggressive turbo SIFS timing - 8 us - 2 us */ |
#define INIT_SLOT_TIME_TURBO 0x000001e0 /* More aggressive turbo slot timing = 6 us */ |
#define INIT_TRANSMIT_LATENCY |
#define INIT_TRANSMIT_LATENCY_TURBO |
#define MAX_TX_FIFO_THRESHOLD ((IEEE80211_MAX_LEN / 64) + 1) |
HAL_BOOL ar5210AniControl | ( | struct ath_hal * | ah, |
HAL_ANI_CMD | cmd, | ||
int | param | ||
) |
Definition at line 568 of file ar5210_misc.c.
References AH_FALSE.
void ar5210AniPoll | ( | struct ath_hal * | ah, |
const struct ieee80211_channel * | chan | ||
) |
Definition at line 580 of file ar5210_misc.c.
void ar5210BeaconInit | ( | struct ath_hal * | ah, |
uint32_t | next_beacon, | ||
uint32_t | beacon_period | ||
) |
Definition at line 63 of file ar5210_beacon.c.
References ath_hal::ah_config, HAL_OPS_CONFIG::ah_dma_beacon_response_time, AH_PRIVATE, HAL_OPS_CONFIG::ah_sw_beacon_response_time, ar5210SetBeaconTimers(), AR_BEACON_EN, AR_BEACON_PERIOD, AR_BEACON_RESET_TSF, HAL_BEACON_TIMERS::bt_intval, HAL_BEACON_TIMERS::bt_nextatim, HAL_BEACON_TIMERS::bt_nextdba, HAL_BEACON_TIMERS::bt_nextswba, HAL_BEACON_TIMERS::bt_nexttbtt, and HAL_M_STA.
HAL_BOOL ar5210CalNoiseFloor | ( | struct ath_hal * | ah, |
HAL_CHANNEL_INTERNAL * | ichan | ||
) |
Definition at line 956 of file ar5210_reset.c.
References AH_FALSE, AH_TRUE, ar5210GetNoiseFloor(), AR_PHY_ACTIVE, AR_PHY_AGC_NF, AR_PHY_AGCCTL, AR_RC, ath_hal_printf(), ath_hal_wait(), HAL_DEBUG_ANY, HALDEBUG, NORMAL_NF_THRESH, OS_DELAY, OS_REG_READ, OS_REG_WRITE, and HAL_CHANNEL_INTERNAL::rawNoiseFloor.
Referenced by ar5210PerCalibrationN(), and ar5210Reset().
Definition at line 392 of file ar5210_reset.c.
References AH_FALSE, AH_TRUE, ar5210SetPowerMode(), ar5210SetResetReg(), AR_PHY_FRCTL, AR_PHY_TURBO_MODE, AR_RC_HW, AR_RC_RPCI, AR_RC_SETTLE_TIME, HAL_DEBUG_RESET, HAL_PM_AWAKE, HALDEBUG, OS_DELAY, and OS_REG_WRITE.
Referenced by ar5210Attach(), and ar5210Reset().
Definition at line 119 of file ar5210_recv.c.
References AH_FALSE, AH_TRUE, AR_MCAST_FIL0, AR_MCAST_FIL1, OS_REG_READ, and OS_REG_WRITE.
void ar5210Detach | ( | struct ath_hal * | ah | ) |
Definition at line 305 of file ar5210_attach.c.
References ath_hal::ah_magic, AH_NULL, AR5210_MAGIC, ath_hal_eepromDetach, ath_hal_free(), HAL_DEBUG_ATTACH, HALASSERT, and HALDEBUG.
Definition at line 398 of file ar5210_misc.c.
References AH_PRIVATE, AR_SREV, and OS_REG_READ.
Definition at line 368 of file ar5210_reset.c.
References AH_FALSE, AH_TRUE, ar5210SetPowerMode(), ar5210SetResetReg(), AR_RC_HW, AR_RC_RPCI, AR_RC_SETTLE_TIME, HAL_PM_AWAKE, and OS_DELAY.
void ar5210DisableHwEncryption | ( | struct ath_hal * | ) |
Definition at line 70 of file ar5210_misc.c.
References AH_FALSE, AH_TRUE, AR_EP_AIR, AR_EP_RDATA, AR_EP_STA, AR_EP_STA_RDCMPLT, AR_EP_STA_RDERR, ath_hal_wait(), HAL_DEBUG_ANY, HALDEBUG, and OS_REG_READ.
void ar5210EnableDfs | ( | struct ath_hal * | ah, |
HAL_PHYERR_PARAM * | pe | ||
) |
Definition at line 690 of file ar5210_misc.c.
void ar5210EnableHwEncryption | ( | struct ath_hal * | ) |
void ar5210EnableReceive | ( | struct ath_hal * | ah | ) |
Definition at line 57 of file ar5210_recv.c.
References AR_CR, AR_CR_RXE, and OS_REG_WRITE.
void ar5210EnableRfKill | ( | struct ath_hal * | ah | ) |
Definition at line 142 of file ar5210_misc.c.
References AH_PRIVATE, ar5210Gpio0SetIntr(), ar5210GpioGet(), AR_EEPROM_RFSILENT_GPIO_SEL, AR_EEPROM_RFSILENT_POLARITY, and MS.
Referenced by ar5210Reset().
HAL_BOOL ar5210FillTxDesc | ( | struct ath_hal * | ah, |
struct ath_desc * | ds, | ||
HAL_DMA_ADDR * | bufAddrList, | ||
uint32_t * | segLenList, | ||
u_int | descId, | ||
u_int | qcuId, | ||
HAL_BOOL | firstSeg, | ||
HAL_BOOL | lastSeg, | ||
const struct ath_desc * | ds0 | ||
) |
Definition at line 551 of file ar5210_xmit.c.
References AH_TRUE, AR5210DESC, AR5210DESC_CONST, AR_BufLen, AR_More, ar5210_desc::ds_ctl0, ar5210_desc::ds_ctl1, ath_desc::ds_data, ar5210_desc::ds_status0, ar5210_desc::ds_status1, and HALASSERT.
uint32_t ar5210Get11nExtBusy | ( | struct ath_hal * | ah | ) |
Definition at line 667 of file ar5210_misc.c.
u_int ar5210GetAckCTSRate | ( | struct ath_hal * | ah | ) |
Definition at line 499 of file ar5210_misc.c.
References AH5210, ath_hal_5210::ah_staId1Defaults, and AR_STA_ID1_ACKCTS_6MB.
u_int ar5210GetAckTimeout | ( | struct ath_hal * | ah | ) |
Definition at line 492 of file ar5210_misc.c.
References AR_TIME_OUT, AR_TIME_OUT_ACK, ath_hal_mac_usec(), MS, and OS_REG_READ.
HAL_ANT_SETTING ar5210GetAntennaSwitch | ( | struct ath_hal * | ah | ) |
Definition at line 295 of file ar5210_misc.c.
References HAL_ANT_VARIABLE.
void ar5210GetBssIdMask | ( | struct ath_hal * | ah, |
uint8_t * | mask | ||
) |
Definition at line 53 of file ar5210_misc.c.
References IEEE80211_ADDR_LEN, and OS_MEMCPY.
HAL_STATUS ar5210GetCapability | ( | struct ath_hal * | ah, |
HAL_CAPABILITY_TYPE | type, | ||
uint32_t | capability, | ||
uint32_t * | result | ||
) |
Definition at line 590 of file ar5210_misc.c.
References ath_hal_getcapability, HAL_CAP_CIPHER, HAL_CIPHER_WEP, HAL_ENOTSUPP, and HAL_OK.
u_int ar5210GetCTSTimeout | ( | struct ath_hal * | ah | ) |
Definition at line 539 of file ar5210_misc.c.
References AR_TIME_OUT, AR_TIME_OUT_CTS, ath_hal_mac_usec(), MS, and OS_REG_READ.
u_int ar5210GetDefAntenna | ( | struct ath_hal * | ah | ) |
Definition at line 275 of file ar5210_misc.c.
References AR_STA_ID1, AR_STA_ID1_DEFAULT_ANTENNA, and OS_REG_READ.
void ar5210GetDfsThresh | ( | struct ath_hal * | ah, |
HAL_PHYERR_PARAM * | pe | ||
) |
Definition at line 695 of file ar5210_misc.c.
HAL_BOOL ar5210GetDiagState | ( | struct ath_hal * | ah, |
int | request, | ||
const void * | args, | ||
uint32_t | argsize, | ||
void ** | result, | ||
uint32_t * | resultsize | ||
) |
Definition at line 634 of file ar5210_misc.c.
References AH_FALSE, AR_PCICFG, AR_PCICFG_EEPROMSEL, ath_hal_eepromRead, ath_hal_getdiagstate, HAL_DIAG_EEPROM, HAL_DIAG_EEREAD, OS_REG_READ, and OS_REG_WRITE.
Definition at line 85 of file ar5210_interrupts.c.
References AH5210.
Referenced by ar5210UpdateTxTrigLevel().
u_int ar5210GetKeyCacheSize | ( | struct ath_hal * | ah | ) |
Definition at line 36 of file ar5210_keycache.c.
References AR_KEYTABLE_SIZE.
void ar5210GetMacAddress | ( | struct ath_hal * | ah, |
uint8_t * | mac | ||
) |
Definition at line 36 of file ar5210_misc.c.
References AH5210, ath_hal_5210::ah_macaddr, IEEE80211_ADDR_LEN, and OS_MEMCPY.
HAL_BOOL ar5210GetMibCycleCounts | ( | struct ath_hal * | ah, |
HAL_SURVEY_SAMPLE * | hsample | ||
) |
Definition at line 677 of file ar5210_misc.c.
References AH_FALSE.
u_int ar5210GetNav | ( | struct ath_hal * | ah | ) |
Definition at line 718 of file ar5210_misc.c.
References AR_NAV, and OS_REG_READ.
uint64_t ar5210GetNextTBTT | ( | struct ath_hal * | ah | ) |
Definition at line 35 of file ar5210_beacon.c.
References AR_TIMER0, OS_REG_READ, and TU_TO_TSF.
int16_t ar5210GetNfAdjust | ( | struct ath_hal * | ah, |
const HAL_CHANNEL_INTERNAL * | c | ||
) |
Definition at line 998 of file ar5210_reset.c.
Referenced by ar5210Attach().
int16_t ar5210GetNoiseFloor | ( | struct ath_hal * | ah | ) |
Definition at line 938 of file ar5210_reset.c.
References AR_PHY, and OS_REG_READ.
Referenced by ar5210CalNoiseFloor().
Definition at line 44 of file ar5210_interrupts.c.
References AH5210, AH_FALSE, ath_hal_5210::ah_maskReg, AH_PRIVATE, AH_TRUE, AR_FATAL_INT, AR_ISR, AR_ISR_RXERR_INT, AR_ISR_RXOK_INT, AR_ISR_TXDESC_INT, AR_ISR_TXEOL_INT, AR_ISR_TXERR_INT, AR_ISR_TXOK_INT, HAL_INT_BNR, HAL_INT_COMMON, HAL_INT_FATAL, HAL_INT_RX, HAL_INT_TX, and OS_REG_READ.
HAL_POWER_MODE ar5210GetPowerMode | ( | struct ath_hal * | ah | ) |
Definition at line 136 of file ar5210_power.c.
References AR_SCR, AR_SCR_SLE, MS, and OS_REG_READ.
uint32_t ar5210GetRandomSeed | ( | struct ath_hal * | ah | ) |
Definition at line 383 of file ar5210_misc.c.
References AR_PHY_BASE, AR_TSF_L32, AR_TSF_U32, and OS_REG_READ.
const HAL_RATE_TABLE * ar5210GetRateTable | ( | struct ath_hal * | ah, |
u_int | mode | ||
) |
Definition at line 70 of file ar5210_phy.c.
References AH_NULL, ar5210_11a_table, ar5210_turbo_table, ath_hal_setupratetable(), HAL_DEBUG_ANY, HAL_MODE_11A, HAL_MODE_TURBO, and HALDEBUG.
HAL_RFGAIN ar5210GetRfgain | ( | struct ath_hal * | ah | ) |
Definition at line 1004 of file ar5210_reset.c.
References HAL_RFGAIN_INACTIVE.
uint32_t ar5210GetRxDP | ( | struct ath_hal * | ah, |
HAL_RX_QUEUE | qtype | ||
) |
Definition at line 35 of file ar5210_recv.c.
References AR_RXDP, HAL_RX_QUEUE_HP, HALASSERT, and OS_REG_READ.
uint32_t ar5210GetRxFilter | ( | struct ath_hal * | ah | ) |
Definition at line 159 of file ar5210_recv.c.
References AR_RX_FILTER, and OS_REG_READ.
u_int ar5210GetSifsTime | ( | struct ath_hal * | ah | ) |
Definition at line 441 of file ar5210_misc.c.
References AR_IFS0, ath_hal_mac_usec(), and OS_REG_READ.
u_int ar5210GetSlotTime | ( | struct ath_hal * | ah | ) |
Definition at line 466 of file ar5210_misc.c.
References AR_SLOT_TIME, ath_hal_mac_usec(), and OS_REG_READ.
uint32_t ar5210GetTsf32 | ( | struct ath_hal * | ah | ) |
Definition at line 362 of file ar5210_misc.c.
References AR_TSF_L32, and OS_REG_READ.
uint64_t ar5210GetTsf64 | ( | struct ath_hal * | ah | ) |
Definition at line 334 of file ar5210_misc.c.
References AR_TSF_L32, AR_TSF_U32, and OS_REG_READ.
HAL_BOOL ar5210GetTxCompletionRates | ( | struct ath_hal * | ah, |
const struct ath_desc * | ds0, | ||
int * | rates, | ||
int * | tries | ||
) |
Definition at line 636 of file ar5210_xmit.c.
References AH_FALSE.
void ar5210GetTxDescLink | ( | struct ath_hal * | ah, |
void * | ds, | ||
uint32_t * | link | ||
) |
Definition at line 656 of file ar5210_xmit.c.
References AR5210DESC, and ar5210_desc::ds_link.
void ar5210GetTxDescLinkPtr | ( | struct ath_hal * | ah, |
void * | ds, | ||
uint32_t ** | linkptr | ||
) |
Definition at line 667 of file ar5210_xmit.c.
References AR5210DESC, and ar5210_desc::ds_link.
uint32_t ar5210GetTxDP | ( | struct ath_hal * | ah, |
u_int | q | ||
) |
Definition at line 259 of file ar5210_xmit.c.
References AH5210, ath_hal_5210::ah_txq, AR_TXDP0, HAL_DEBUG_ANY, HAL_NUM_TX_QUEUES, HAL_TX_QUEUE_DATA, HAL_TX_QUEUE_INACTIVE, HALASSERT, HALDEBUG, OS_REG_READ, and HAL_TX_QUEUE_INFO::tqi_type.
void ar5210GetTxIntrQueue | ( | struct ath_hal * | ah, |
uint32_t * | txqs | ||
) |
Definition at line 627 of file ar5210_xmit.c.
HAL_BOOL ar5210GetTxQueueProps | ( | struct ath_hal * | ah, |
int | q, | ||
HAL_TXQ_INFO * | qInfo | ||
) |
Definition at line 54 of file ar5210_xmit.c.
References AH5210, AH_FALSE, ath_hal_5210::ah_txq, ath_hal_getTxQProps(), HAL_DEBUG_ANY, HAL_NUM_TX_QUEUES, and HALDEBUG.
u_int ar5210GetWirelessModes | ( | struct ath_hal * | ah | ) |
Definition at line 131 of file ar5210_misc.c.
References HAL_MODE_11A.
void ar5210Gpio0SetIntr | ( | struct ath_hal * | ah, |
u_int | gpio, | ||
uint32_t | ilevel | ||
) |
Definition at line 226 of file ar5210_misc.c.
References AH5210, ath_hal_5210::ah_maskReg, ar5210SetInterrupts(), AR_GPIOCR, AR_GPIOCR_ALL, AR_GPIOCR_INT_ENA, AR_GPIOCR_INT_SEL, AR_GPIOCR_INT_SELH, HAL_INT_GPIO, OS_REG_READ, and OS_REG_WRITE.
Referenced by ar5210EnableRfKill().
Definition at line 178 of file ar5210_misc.c.
References AH_TRUE, AR_GPIOCR, AR_GPIOCR_ALL, AR_GPIOCR_IN, AR_NUM_GPIO, HALASSERT, OS_REG_READ, and OS_REG_WRITE.
HAL_BOOL ar5210GpioCfgOutput | ( | struct ath_hal * | ah, |
uint32_t | gpio, | ||
HAL_GPIO_MUX_TYPE | type | ||
) |
Definition at line 163 of file ar5210_misc.c.
References AH_TRUE, AR_GPIOCR, AR_GPIOCR_ALL, AR_GPIOCR_OUT1, AR_NUM_GPIO, HALASSERT, OS_REG_READ, and OS_REG_WRITE.
uint32_t ar5210GpioGet | ( | struct ath_hal * | ah, |
uint32_t | gpio | ||
) |
Definition at line 211 of file ar5210_misc.c.
References AR_GPIOD_MASK, AR_GPIODI, AR_NUM_GPIO, and OS_REG_READ.
Referenced by ar5210EnableRfKill().
Definition at line 193 of file ar5210_misc.c.
References AH_TRUE, AR_GPIODO, AR_NUM_GPIO, HALASSERT, OS_REG_READ, and OS_REG_WRITE.
Definition at line 543 of file ar5210_xmit.c.
References AR5210DESC, AR_TxInterReq, and ar5210_desc::ds_ctl0.
Definition at line 33 of file ar5210_interrupts.c.
References AH_FALSE, AH_TRUE, AR_INTPEND, and OS_REG_READ.
Definition at line 45 of file ar5210_keycache.c.
References AH_FALSE, AH_TRUE, AR_KEYTABLE_MAC1, AR_KEYTABLE_SIZE, AR_KEYTABLE_VALID, and OS_REG_READ.
void ar5210MibEvent | ( | struct ath_hal * | ah, |
const HAL_NODE_STATS * | stats | ||
) |
Definition at line 585 of file ar5210_misc.c.
uint32_t ar5210NumTxPending | ( | struct ath_hal * | ah, |
u_int | q | ||
) |
Definition at line 402 of file ar5210_xmit.c.
References AH5210, ath_hal_5210::ah_txq, AR_CFG, AR_CFG_TXCNT, HAL_DEBUG_ANY, HAL_DEBUG_TXQUEUE, HAL_NUM_TX_QUEUES, HAL_TX_QUEUE_DATA, HAL_TX_QUEUE_INACTIVE, HALASSERT, HALDEBUG, MS, OS_REG_READ, and HAL_TX_QUEUE_INFO::tqi_type.
HAL_BOOL ar5210PerCalibration | ( | struct ath_hal * | ah, |
struct ieee80211_channel * | chan, | ||
HAL_BOOL * | isIQdone | ||
) |
Definition at line 573 of file ar5210_reset.c.
References AH_TRUE, and ar5210PerCalibrationN().
HAL_BOOL ar5210PerCalibrationN | ( | struct ath_hal * | ah, |
struct ieee80211_channel * | chan, | ||
u_int | chainMask, | ||
HAL_BOOL | longCal, | ||
HAL_BOOL * | isCalDone | ||
) |
Definition at line 452 of file ar5210_reset.c.
References ADCSAT_ICOUNT_M, ADCSAT_ICOUNT_S, ADCSAT_THRESH_M, ADCSAT_THRESH_S, AH_FALSE, AH_NULL, AH_TRUE, ar5210CalNoiseFloor(), ar5210SetChannel(), ar5210UpdateDiagReg(), AR_BEACON, AR_BEACON_EN, AR_DIAG_SW, AR_DIAG_SW_DIS_RX, AR_DIAG_SW_DIS_TX, AR_PHY_AGC_CAL, AR_PHY_AGCCTL, ath_hal_checkchannel(), ath_hal_wait(), FIRPWR_M, FIRPWR_S, HAL_DEBUG_ANY, HAL_DEBUG_NFCAL, HAL_DEBUG_PERCAL, HALDEBUG, KCOARSEHIGH_M, KCOARSEHIGH_S, KCOARSELOW_M, KCOARSELOW_S, OS_DELAY, OS_REG_READ, and OS_REG_WRITE.
Referenced by ar5210PerCalibration().
Definition at line 359 of file ar5210_reset.c.
References ar5210SetResetReg(), and AR_RC_RPHY.
HAL_STATUS ar5210ProcRxDesc | ( | struct ath_hal * | ah, |
struct ath_desc * | ds, | ||
uint32_t | pa, | ||
struct ath_desc * | nds, | ||
uint64_t | tsf, | ||
struct ath_rx_status * | rs | ||
) |
Definition at line 214 of file ar5210_recv.c.
References AR5210DESC, AR_CRCErr, AR_DataLen, AR_DecryptCRCErr, AR_Done, AR_FIFOOverrun, AR_FrmRcvOK, AR_KeyIdx, AR_KeyIdxValid, AR_More, AR_PHYErr, AR_PHYErr_S, AR_RcvAntenna, AR_RcvRate, AR_RcvSigStrength, AR_RcvTimestamp, AR_RXDP, AR_TSF_L32, ar5210_desc::ds_status0, ar5210_desc::ds_status1, HAL_EINPROGRESS, HAL_OK, HAL_RXERR_CRC, HAL_RXERR_DECRYPT, HAL_RXERR_FIFO, HAL_RXERR_PHY, HAL_RXKEYIX_INVALID, MS, OS_REG_READ, ath_rx_status::rs_antenna, ath_rx_status::rs_datalen, ath_rx_status::rs_keyix, ath_rx_status::rs_more, ath_rx_status::rs_phyerr, ath_rx_status::rs_rate, ath_rx_status::rs_rssi, ath_rx_status::rs_status, and ath_rx_status::rs_tstamp.
HAL_STATUS ar5210ProcTxDesc | ( | struct ath_hal * | ah, |
struct ath_desc * | ds, | ||
struct ath_tx_status * | ts | ||
) |
Definition at line 592 of file ar5210_xmit.c.
References AR5210DESC, AR_AckSigStrength, AR_Done, AR_ExcessiveRetries, AR_FIFOUnderrun, AR_Filtered, AR_FrmXmitOK, AR_LongRetryCnt, AR_SendTimestamp, AR_SeqNum, AR_ShortRetryCnt, AR_XmitRate, ar5210_desc::ds_ctl0, ar5210_desc::ds_status0, ar5210_desc::ds_status1, HAL_EINPROGRESS, HAL_OK, HAL_TXERR_FIFO, HAL_TXERR_FILT, HAL_TXERR_XRETRY, MS, ath_tx_status::ts_antenna, ath_tx_status::ts_finaltsi, ath_tx_status::ts_longretry, ath_tx_status::ts_rate, ath_tx_status::ts_rssi, ath_tx_status::ts_seqnum, ath_tx_status::ts_shortretry, ath_tx_status::ts_status, and ath_tx_status::ts_tstamp.
Definition at line 125 of file ar5210_xmit.c.
References AH5210, AH_FALSE, AH_TRUE, ath_hal_5210::ah_txDescInterruptMask, ath_hal_5210::ah_txEolInterruptMask, ath_hal_5210::ah_txErrInterruptMask, ath_hal_5210::ah_txOkInterruptMask, ath_hal_5210::ah_txq, ath_hal_5210::ah_txUrnInterruptMask, HAL_DEBUG_ANY, HAL_DEBUG_TXQUEUE, HAL_NUM_TX_QUEUES, HAL_TX_QUEUE_INACTIVE, HALDEBUG, and HAL_TX_QUEUE_INFO::tqi_type.
HAL_BOOL ar5210Reset | ( | struct ath_hal * | ah, |
HAL_OPMODE | opmode, | ||
struct ieee80211_channel * | chan, | ||
HAL_BOOL | bChannelChange, | ||
HAL_RESET_TYPE | resetType, | ||
HAL_STATUS * | status | ||
) |
Definition at line 72 of file ar5210_reset.c.
References AH5210, ath_hal_5210::ah_acktimeout, ath_hal_5210::ah_associd, ath_hal_5210::ah_bssid, ath_hal_5210::ah_ctstimeout, AH_FALSE, ath_hal_5210::ah_macaddr, ath_hal_5210::ah_maskReg, AH_NULL, AH_PRIVATE, ath_hal_5210::ah_rssiThr, ath_hal_5210::ah_sifstime, ath_hal_5210::ah_slottime, AH_TRUE, ar5210CalNoiseFloor(), ar5210ChipReset(), ar5210EnableRfKill(), ar5210ResetTxQueue(), ar5210SetAckTimeout(), ar5210SetChannel(), ar5210SetCTSTimeout(), ar5210SetOperatingMode(), ar5210SetRxFilter(), ar5210SetSifsTime(), ar5210SetSlotTime(), ar5210SetTransmitPower(), ar5210UpdateDiagReg(), ar5210WriteAssocid(), ar5k0007_init, AR_BCR, AR_BCR_BCMD, AR_BEACON, AR_BEACON_EN, AR_BEACON_RESET_TSF, AR_BSR, AR_BSS_ID0, AR_BSS_ID1, AR_CFP_DUR, AR_CFP_PERIOD, AR_CLR_TMASK, AR_DMASIZE_128B, AR_IER, AR_IER_DISABLE, AR_IMR, AR_ISR, AR_MCAST_FIL0, AR_MCAST_FIL1, AR_MIBC, AR_PCICFG, AR_PCICFG_CLKRUNEN, AR_PCICFG_LED_ACT, AR_PCICFG_LED_BCTL, AR_PCICFG_LED_PEND, AR_PHY, AR_PHY_ACTIVE, AR_PHY_AGC_CAL, AR_PHY_AGCCTL, AR_PHY_ENABLE, AR_RPGTO, AR_RSSI_THR, AR_RXCFG, AR_RXDP, AR_RXNOFRM, AR_SFR, AR_STA_ID0, AR_STA_ID1, AR_TIMER0, AR_TIMER1, AR_TIMER2, AR_TIMER3, AR_TOPS, AR_TRIG_LEV, AR_TSF_L32, AR_TX_MASK0, AR_TX_MASK1, AR_TXCFG, AR_TXDP0, AR_TXDP1, AR_TXNOFRM, ath_hal_checkchannel(), ath_hal_wait(), HAL_EEPROM_v1::ee_antenna, HAL_EEPROM_v1::ee_thresh62, HAL_EEPROM_v1::ee_xlnaOn, HAL_EEPROM_v1::ee_xpaOff, HAL_EEPROM_v1::ee_xpaOn, FAIL, HAL_DEBUG_ANY, HAL_DEBUG_RESET, HAL_EINVAL, HAL_EIO, HAL_M_HOSTAP, HAL_M_IBSS, HAL_M_MONITOR, HAL_M_STA, HAL_NUM_TX_QUEUES, HALDEBUG, INIT_BCON_CNTRL_REG, LE_READ_2, LE_READ_4, N, REGISTER_VAL::Offset, OS_DELAY, OS_REG_READ, and OS_REG_WRITE.
Definition at line 580 of file ar5210_reset.c.
References AH_TRUE.
HAL_BOOL ar5210ResetDma | ( | struct ath_hal * | , |
HAL_OPMODE | |||
) |
Definition at line 59 of file ar5210_keycache.c.
References AH_FALSE, AH_TRUE, AR_KEYTABLE_KEY0, AR_KEYTABLE_KEY1, AR_KEYTABLE_KEY2, AR_KEYTABLE_KEY3, AR_KEYTABLE_KEY4, AR_KEYTABLE_MAC0, AR_KEYTABLE_MAC1, AR_KEYTABLE_SIZE, AR_KEYTABLE_TYPE, and OS_REG_WRITE.
void ar5210ResetStaBeaconTimers | ( | struct ath_hal * | ah | ) |
Definition at line 96 of file ar5210_beacon.c.
References AR_BEACON, AR_BEACON_PERIOD, AR_STA_ID1, AR_STA_ID1_DEFAULT_ANTENNA, AR_STA_ID1_NO_PSPOLL, AR_STA_ID1_PCF, AR_TIMER0, OS_REG_READ, and OS_REG_WRITE.
void ar5210ResetTsf | ( | struct ath_hal * | ah | ) |
Definition at line 371 of file ar5210_misc.c.
References AR_BEACON, AR_BEACON_RESET_TSF, OS_REG_READ, and OS_REG_WRITE.
Definition at line 156 of file ar5210_xmit.c.
References AH5210, AH_FALSE, AH_PRIVATE, AH_TRUE, ath_hal_5210::ah_txDescInterruptMask, ath_hal_5210::ah_txEolInterruptMask, ath_hal_5210::ah_txErrInterruptMask, ath_hal_5210::ah_txOkInterruptMask, ath_hal_5210::ah_txq, ath_hal_5210::ah_txUrnInterruptMask, AR_IFS0, AR_IFS0_DIFS_S, AR_IFS1, AR_PHY, AR_PHY_FRCTL, AR_PHY_ILLLEN_ERR, AR_PHY_ILLRATE_ERR, AR_PHY_PARITY_ERR, AR_PHY_SERVICE_ERR, AR_PHY_TIMING_ERR, AR_PHY_TURBO_MODE, AR_PHY_TURBO_SHORT, AR_PHY_TXURN_ERR, AR_RETRY_LMT, AR_RETRY_LMT_CW_MIN_S, AR_RETRY_LMT_LG_RETRY, AR_RETRY_LMT_SH_RETRY, AR_RETRY_LMT_SLG_RETRY, AR_RETRY_LMT_SSH_RETRY, AR_SLOT_TIME, AR_TIME_OUT, AR_USEC, HAL_DEBUG_ANY, HAL_DEBUG_TXQUEUE, HAL_NUM_TX_QUEUES, HAL_TX_QUEUE_DATA, HAL_TX_QUEUE_INACTIVE, HAL_TXQ_TXDESCINT_ENABLE, HAL_TXQ_TXEOLINT_ENABLE, HAL_TXQ_TXERRINT_ENABLE, HAL_TXQ_TXOKINT_ENABLE, HAL_TXQ_TXURNINT_ENABLE, HAL_TXQ_USEDEFAULT, HALDEBUG, INIT_ACK_CTS_TIMEOUT, INIT_ACK_CTS_TIMEOUT_TURBO, INIT_CWMIN, INIT_PROTO_TIME_CNTRL, INIT_PROTO_TIME_CNTRL_TURBO, INIT_SIFS, INIT_SIFS_TURBO, INIT_SLG_RETRY, INIT_SLOT_TIME, INIT_SLOT_TIME_TURBO, INIT_SSH_RETRY, INIT_TRANSMIT_LATENCY, INIT_TRANSMIT_LATENCY_TURBO, OS_REG_READ, OS_REG_WRITE, SM, HAL_TX_QUEUE_INFO::tqi_aifs, HAL_TX_QUEUE_INFO::tqi_cwmin, HAL_TX_QUEUE_INFO::tqi_lgretry, HAL_TX_QUEUE_INFO::tqi_qflags, HAL_TX_QUEUE_INFO::tqi_shretry, and HAL_TX_QUEUE_INFO::tqi_type.
Referenced by ar5210Reset().
void ar5210RxMonitor | ( | struct ath_hal * | ah, |
const HAL_NODE_STATS * | stats, | ||
const struct ieee80211_channel * | chan | ||
) |
Definition at line 574 of file ar5210_misc.c.
Definition at line 505 of file ar5210_misc.c.
References AH5210, ath_hal_5210::ah_staId1Defaults, AH_TRUE, AR_STA_ID1, AR_STA_ID1_ACKCTS_6MB, OS_REG_CLR_BIT, and OS_REG_SET_BIT.
Definition at line 473 of file ar5210_misc.c.
References AH5210, ath_hal_5210::ah_acktimeout, AH_FALSE, AH_TRUE, AR_TIME_OUT, AR_TIME_OUT_ACK, ath_hal_mac_clks(), ath_hal_mac_usec(), HAL_DEBUG_ANY, HALDEBUG, MS, and OS_REG_RMW_FIELD.
Referenced by ar5210Reset().
HAL_BOOL ar5210SetAntennaSwitch | ( | struct ath_hal * | ah, |
HAL_ANT_SETTING | settings | ||
) |
Definition at line 301 of file ar5210_misc.c.
References HAL_ANT_VARIABLE.
void ar5210SetBeaconTimers | ( | struct ath_hal * | ah, |
const HAL_BEACON_TIMERS * | bt | ||
) |
Definition at line 46 of file ar5210_beacon.c.
References AR_BEACON, AR_TIMER0, AR_TIMER1, AR_TIMER2, AR_TIMER3, HAL_BEACON_TIMERS::bt_intval, HAL_BEACON_TIMERS::bt_nextatim, HAL_BEACON_TIMERS::bt_nextdba, HAL_BEACON_TIMERS::bt_nextswba, HAL_BEACON_TIMERS::bt_nexttbtt, and OS_REG_WRITE.
Referenced by ar5210BeaconInit().
Definition at line 61 of file ar5210_misc.c.
References AH_FALSE.
HAL_BOOL ar5210SetCapability | ( | struct ath_hal * | ah, |
HAL_CAPABILITY_TYPE | type, | ||
uint32_t | capability, | ||
uint32_t | setting, | ||
HAL_STATUS * | status | ||
) |
Definition at line 607 of file ar5210_misc.c.
References AH_FALSE, AH_PRIVATE, AH_TRUE, ar5210UpdateDiagReg(), ath_hal_setcapability, HAL_CAP_DIAG, and HAL_CAP_RXORN_FATAL.
void ar5210SetChainMasks | ( | struct ath_hal * | ah, |
uint32_t | txchainmask, | ||
uint32_t | rxchainmask | ||
) |
Definition at line 684 of file ar5210_misc.c.
void ar5210SetCoverageClass | ( | struct ath_hal * | ah, |
uint8_t | coverageclass, | ||
int | now | ||
) |
Definition at line 553 of file ar5210_misc.c.
Definition at line 520 of file ar5210_misc.c.
References AH5210, ath_hal_5210::ah_ctstimeout, AH_FALSE, AH_TRUE, AR_TIME_OUT, AR_TIME_OUT_CTS, ath_hal_mac_clks(), ath_hal_mac_usec(), HAL_DEBUG_ANY, HALDEBUG, MS, and OS_REG_RMW_FIELD.
Referenced by ar5210Reset().
Definition at line 546 of file ar5210_misc.c.
References AH_TRUE.
void ar5210SetDefAntenna | ( | struct ath_hal * | ah, |
u_int | antenna | ||
) |
Definition at line 282 of file ar5210_misc.c.
References AR_STA_ID1, AR_STA_ID1_DEFAULT_ANTENNA, OS_REG_READ, and OS_REG_WRITE.
Definition at line 91 of file ar5210_interrupts.c.
References AH5210, ath_hal_5210::ah_maskReg, ath_hal_5210::ah_txDescInterruptMask, ath_hal_5210::ah_txEolInterruptMask, ath_hal_5210::ah_txErrInterruptMask, ath_hal_5210::ah_txOkInterruptMask, AR_IER, AR_IER_DISABLE, AR_IER_ENABLE, AR_IMR, AR_IMR_RXERR_INT, AR_IMR_RXOK_INT, AR_IMR_TXDESC_INT, AR_IMR_TXEOL_INT, AR_IMR_TXERR_INT, AR_IMR_TXOK_INT, HAL_DEBUG_INTERRUPT, HAL_INT_BNR, HAL_INT_COMMON, HAL_INT_GLOBAL, HAL_INT_RX, HAL_INT_TX, HALDEBUG, and OS_REG_WRITE.
Referenced by ar5210Gpio0SetIntr(), and ar5210UpdateTxTrigLevel().
HAL_BOOL ar5210SetKeyCacheEntry | ( | struct ath_hal * | ah, |
uint16_t | entry, | ||
const HAL_KEYVAL * | k, | ||
const uint8_t * | mac, | ||
int | xorKey | ||
) |
Definition at line 111 of file ar5210_keycache.c.
References AH_FALSE, ar5210SetKeyCacheEntryMac(), AR_KEYTABLE_KEY0, AR_KEYTABLE_KEY1, AR_KEYTABLE_KEY2, AR_KEYTABLE_KEY3, AR_KEYTABLE_KEY4, AR_KEYTABLE_SIZE, AR_KEYTABLE_TYPE, AR_KEYTABLE_TYPE_104, AR_KEYTABLE_TYPE_128, AR_KEYTABLE_TYPE_40, HAL_CIPHER_WEP, HAL_DEBUG_ANY, HALDEBUG, KEY_XOR, keyType, HAL_KEYVAL::kv_len, HAL_KEYVAL::kv_type, HAL_KEYVAL::kv_val, LE_READ_2, LE_READ_4, NBBY, and OS_REG_WRITE.
Definition at line 79 of file ar5210_keycache.c.
References AH_FALSE, AH_NULL, AH_TRUE, AR_KEYTABLE_MAC0, AR_KEYTABLE_MAC1, AR_KEYTABLE_SIZE, AR_KEYTABLE_VALID, and OS_REG_WRITE.
Referenced by ar5210SetKeyCacheEntry().
void ar5210SetLedState | ( | struct ath_hal * | ah, |
HAL_LED_STATE | state | ||
) |
Definition at line 249 of file ar5210_misc.c.
References AR_PCICFG, AR_PCICFG_LED_ACT, AR_PCICFG_LED_PEND, HAL_LED_INIT, HAL_LED_RUN, OS_REG_READ, and OS_REG_WRITE.
Definition at line 44 of file ar5210_misc.c.
References AH5210, ath_hal_5210::ah_macaddr, AH_TRUE, IEEE80211_ADDR_LEN, and OS_MEMCPY.
void ar5210SetMulticastFilter | ( | struct ath_hal * | ah, |
uint32_t | filter0, | ||
uint32_t | filter1 | ||
) |
Definition at line 109 of file ar5210_recv.c.
References AR_MCAST_FIL0, AR_MCAST_FIL1, and OS_REG_WRITE.
Definition at line 139 of file ar5210_recv.c.
References AH_FALSE, AH_TRUE, AR_MCAST_FIL0, AR_MCAST_FIL1, OS_REG_READ, and OS_REG_WRITE.
void ar5210SetNav | ( | struct ath_hal * | ah, |
u_int | val | ||
) |
Definition at line 730 of file ar5210_misc.c.
References AR_NAV, and OS_REG_WRITE.
void ar5210SetPCUConfig | ( | struct ath_hal * | ah | ) |
Definition at line 347 of file ar5210_reset.c.
References AH_PRIVATE, and ar5210SetOperatingMode().
HAL_STATUS ar5210SetQuiet | ( | struct ath_hal * | ah, |
uint32_t | period, | ||
uint32_t | duration, | ||
uint32_t | next_start, | ||
HAL_QUIET_FLAG | flags | ||
) |
Definition at line 558 of file ar5210_misc.c.
References HAL_OK.
HAL_BOOL ar5210SetRegulatoryDomain | ( | struct ath_hal * | ah, |
uint16_t | regDomain, | ||
HAL_STATUS * | status | ||
) |
Definition at line 98 of file ar5210_misc.c.
References AH_FALSE, AH_PRIVATE, AR_EEP_WRITEPROTECT, ath_hal_eepromGetFlag, HAL_EEWRITE, HAL_EINVAL, and HAL_EIO.
void ar5210SetRxDP | ( | struct ath_hal * | ah, |
uint32_t | rxdp, | ||
HAL_RX_QUEUE | qtype | ||
) |
Definition at line 46 of file ar5210_recv.c.
References AR_RXDP, HAL_RX_QUEUE_HP, HALASSERT, and OS_REG_WRITE.
void ar5210SetRxFilter | ( | struct ath_hal * | ah, |
uint32_t | bits | ||
) |
Definition at line 169 of file ar5210_recv.c.
References AR_RX_FILTER, AR_RX_FILTER_PROMISCUOUS, HAL_RX_FILTER_PHYRADAR, and OS_REG_WRITE.
Referenced by ar5210Reset().
Definition at line 422 of file ar5210_misc.c.
References AH5210, AH_FALSE, ath_hal_5210::ah_sifstime, AH_TRUE, AR_IFS0, AR_IFS0_SIFS, ath_hal_mac_clks(), ath_hal_mac_usec(), HAL_DEBUG_ANY, HALDEBUG, and OS_REG_RMW_FIELD.
Referenced by ar5210Reset().
Definition at line 448 of file ar5210_misc.c.
References AH5210, AH_FALSE, ath_hal_5210::ah_slottime, AH_TRUE, AR_SLOT_TIME, ath_hal_mac_clks(), ath_hal_mac_usec(), HAL_DEBUG_ANY, HALDEBUG, and OS_REG_WRITE.
Referenced by ar5210Reset().
void ar5210SetStaBeaconTimers | ( | struct ath_hal * | ah, |
const HAL_BEACON_STATE * | bs | ||
) |
Definition at line 118 of file ar5210_beacon.c.
References AH5210, AH_PRIVATE, ath_hal_5210::ah_rssiThr, AR_BEACON, AR_BEACON_PERIOD, AR_BEACON_TIM, AR_CFP_DUR, AR_CFP_PERIOD, AR_RSSI_THR, AR_RSSI_THR_BM_THR, AR_SREV_CRETE, AR_STA_ID1, AR_STA_ID1_DEFAULT_ANTENNA, AR_STA_ID1_PCF, AR_TIMER0, AR_TIMER2, ath_hal_printf(), BMISS_MAX, HAL_BEACON_STATE::bs_bmissthreshold, HAL_BEACON_STATE::bs_cfpmaxduration, HAL_BEACON_STATE::bs_cfpnext, HAL_BEACON_STATE::bs_cfpperiod, HAL_BEACON_STATE::bs_intval, HAL_BEACON_STATE::bs_nexttbtt, HAL_BEACON_STATE::bs_timoffset, HAL_DEBUG_BEACON, HALASSERT, HALDEBUG, OS_REG_READ, OS_REG_WRITE, and SM.
Definition at line 835 of file ar5210_reset.c.
References AH_FALSE, AH_TRUE, ar5k0007_pwrSettings, ath_hal_printf(), ath_hal_reverseBits(), N, OS_MEMCPY, OS_REG_WRITE, and setupPowerSettings().
Referenced by ar5210Reset().
void ar5210SetTxDescLink | ( | struct ath_hal * | ah, |
void * | ds, | ||
uint32_t | link | ||
) |
Definition at line 645 of file ar5210_xmit.c.
References AR5210DESC, and ar5210_desc::ds_link.
Definition at line 284 of file ar5210_xmit.c.
References AH5210, AH_FALSE, AH_TRUE, ath_hal_5210::ah_txq, AR_CR, AR_CR_TXE0, AR_TXDP0, AR_TXDP1, ath_hal_printf(), HAL_DEBUG_TXQUEUE, HAL_NUM_TX_QUEUES, HAL_TX_QUEUE_BEACON, HAL_TX_QUEUE_CAB, HAL_TX_QUEUE_DATA, HAL_TX_QUEUE_INACTIVE, HALASSERT, HALDEBUG, OS_REG_READ, OS_REG_WRITE, and HAL_TX_QUEUE_INFO::tqi_type.
Definition at line 722 of file ar5210_reset.c.
References AH_MIN, AH_PRIVATE, AH_TRUE, and AR5210_MAX_RATE_POWER.
HAL_BOOL ar5210SetTxQueueProps | ( | struct ath_hal * | ah, |
int | q, | ||
const HAL_TXQ_INFO * | qInfo | ||
) |
Definition at line 38 of file ar5210_xmit.c.
References AH5210, AH_FALSE, ath_hal_5210::ah_txq, ath_hal_setTxQProps(), HAL_DEBUG_ANY, HAL_NUM_TX_QUEUES, and HALDEBUG.
Referenced by ar5210SetupTxQueue().
HAL_BOOL ar5210SetupRxDesc | ( | struct ath_hal * | ah, |
struct ath_desc * | ds, | ||
uint32_t | size, | ||
u_int | flags | ||
) |
Definition at line 184 of file ar5210_recv.c.
References AH_FALSE, AH_TRUE, AR5210DESC, AR_BufLen, AR_RxInterReq, ar5210_desc::ds_ctl0, ar5210_desc::ds_ctl1, ar5210_desc::ds_status0, ar5210_desc::ds_status1, HAL_DEBUG_ANY, HAL_RXDESC_INTREQ, and HALDEBUG.
HAL_BOOL ar5210SetupTxDesc | ( | struct ath_hal * | ah, |
struct ath_desc * | ds, | ||
u_int | pktLen, | ||
u_int | hdrLen, | ||
HAL_PKT_TYPE | type, | ||
u_int | txPower, | ||
u_int | txRate0, | ||
u_int | txRetries0, | ||
u_int | keyIx, | ||
u_int | antMode, | ||
u_int | flags, | ||
u_int | rtsctsRate, | ||
u_int | rtsctsDuration, | ||
u_int | compicvLen, | ||
u_int | compivLen, | ||
u_int | comp | ||
) |
Definition at line 479 of file ar5210_xmit.c.
References AH_TRUE, AR5210DESC, AR_AntModeXmit, AR_ClearDestMask, AR_EncryptKeyIdx, AR_EncryptKeyIdx_S, AR_EncryptKeyValid, AR_FrameLen, AR_Frm_NoDelay, AR_HdrLen, AR_HdrLen_S, AR_RTSCTSEnable, AR_RTSDuration, AR_RTSDuration_S, AR_TxInterReq, AR_XmitRate_S, ar5210_desc::ds_ctl0, ar5210_desc::ds_ctl1, HAL_PKT_TYPE_BEACON, HAL_PKT_TYPE_PROBE_RESP, HAL_TXDESC_CLRDMASK, HAL_TXDESC_INTREQ, HAL_TXDESC_RTSENA, HAL_TXKEYIX_INVALID, HALASSERT, isValidPktType, and isValidTxRate.
int ar5210SetupTxQueue | ( | struct ath_hal * | ah, |
HAL_TX_QUEUE | type, | ||
const HAL_TXQ_INFO * | qInfo | ||
) |
Definition at line 70 of file ar5210_xmit.c.
References AH5210, AH_NULL, ath_hal_5210::ah_txq, ar5210SetTxQueueProps(), HAL_DEBUG_ANY, HAL_DEBUG_TXQUEUE, HAL_TX_QUEUE_BEACON, HAL_TX_QUEUE_CAB, HAL_TX_QUEUE_DATA, HAL_TX_QUEUE_INACTIVE, HAL_TXQ_TXDESCINT_ENABLE, HAL_TXQ_TXERRINT_ENABLE, HAL_TXQ_TXOKINT_ENABLE, HAL_TXQ_TXURNINT_ENABLE, HAL_TXQ_USEDEFAULT, HALDEBUG, INIT_AIFS, INIT_LG_RETRY, INIT_SH_RETRY, OS_MEMZERO, HAL_TX_QUEUE_INFO::tqi_aifs, HAL_TX_QUEUE_INFO::tqi_cwmin, HAL_TX_QUEUE_INFO::tqi_lgretry, HAL_TX_QUEUE_INFO::tqi_qflags, HAL_TX_QUEUE_INFO::tqi_shretry, and HAL_TX_QUEUE_INFO::tqi_type.
HAL_BOOL ar5210SetupXTxDesc | ( | struct ath_hal * | ah, |
struct ath_desc * | ds, | ||
u_int | txRate1, | ||
u_int | txRetries1, | ||
u_int | txRate2, | ||
u_int | txRetries2, | ||
u_int | txRate3, | ||
u_int | txRetries3 | ||
) |
Definition at line 530 of file ar5210_xmit.c.
References AH_FALSE.
Definition at line 88 of file ar5210_recv.c.
References ar5210UpdateDiagReg(), AR_DIAG_SW, AR_DIAG_SW_DIS_RX, and OS_REG_READ.
Definition at line 369 of file ar5210_xmit.c.
References AH5210, AH_FALSE, AH_TRUE, ath_hal_5210::ah_txq, AR_BCR, AR_BCR_BDMAE, AR_BCR_TQ1FV, AR_BCR_TQ1V, AR_CR, AR_CR_TXE0, AR_CR_TXE1, HAL_DEBUG_ANY, HAL_DEBUG_TXQUEUE, HAL_NUM_TX_QUEUES, HAL_TX_QUEUE_BEACON, HAL_TX_QUEUE_CAB, HAL_TX_QUEUE_DATA, HAL_TX_QUEUE_INACTIVE, HALASSERT, HALDEBUG, OS_REG_WRITE, and HAL_TX_QUEUE_INFO::tqi_type.
Definition at line 66 of file ar5210_recv.c.
References AH_FALSE, AH_TRUE, AR_CR, AR_CR_RXD, AR_CR_RXE, AR_DIAG_SW, ath_hal_printf(), OS_DELAY, OS_REG_READ, and OS_REG_WRITE.
void ar5210StopPcuReceive | ( | struct ath_hal * | ah | ) |
Definition at line 98 of file ar5210_recv.c.
References ar5210UpdateDiagReg(), AR_DIAG_SW, AR_DIAG_SW_DIS_RX, and OS_REG_READ.
Definition at line 430 of file ar5210_xmit.c.
References AH5210, AH_FALSE, ath_hal_5210::ah_txq, AR_BSR, AR_BSR_TXQ1F, AR_CFG, AR_CFG_TXCNT, AR_CR, AR_CR_TXD0, ath_hal_wait(), HAL_DEBUG_ANY, HAL_DEBUG_TXQUEUE, HAL_NUM_TX_QUEUES, HAL_TX_QUEUE_BEACON, HAL_TX_QUEUE_DATA, HAL_TX_QUEUE_INACTIVE, HALASSERT, HALDEBUG, OS_DELAY, OS_REG_READ, OS_REG_WRITE, and HAL_TX_QUEUE_INFO::tqi_type.
void ar5210UpdateDiagReg | ( | struct ath_hal * | ah, |
uint32_t | val | ||
) |
Definition at line 706 of file ar5210_misc.c.
References AR_DIAG_SW, AR_DIAG_SW_DIS_CRYPTO, and OS_REG_WRITE.
Referenced by ar5210PerCalibrationN(), ar5210Reset(), ar5210SetCapability(), ar5210StartPcuReceive(), and ar5210StopPcuReceive().
void ar5210UpdateMibCounters | ( | struct ath_hal * | ah, |
HAL_MIB_STATS * | stats | ||
) |
Definition at line 412 of file ar5210_misc.c.
References HAL_MIB_STATS::ackrcv_bad, AR_ACK_FAIL, AR_BEACON_CNT, AR_FCS_FAIL, AR_RTS_FAIL, AR_RTS_OK, HAL_MIB_STATS::beacons, HAL_MIB_STATS::fcs_bad, OS_REG_READ, HAL_MIB_STATS::rts_bad, and HAL_MIB_STATS::rts_good.
Definition at line 331 of file ar5210_xmit.c.
References AH_FALSE, AH_TRUE, ar5210GetInterrupts(), ar5210SetInterrupts(), AR_TRIG_LEV, HAL_INT_GLOBAL, MAX_TX_FIFO_THRESHOLD, MIN_TX_FIFO_THRESHOLD, OS_REG_READ, and OS_REG_WRITE.
void ar5210WriteAssocid | ( | struct ath_hal * | ah, |
const uint8_t * | bssid, | ||
uint16_t | assocId | ||
) |
Definition at line 314 of file ar5210_misc.c.
References AH5210, ath_hal_5210::ah_associd, ath_hal_5210::ah_bssid, AR_BSS_ID0, AR_BSS_ID1, AR_BSS_ID1_AID_S, AR_STA_ID1, AR_STA_ID1_NO_PSPOLL, IEEE80211_ADDR_LEN, LE_READ_2, LE_READ_4, OS_MEMCPY, OS_REG_CLR_BIT, OS_REG_SET_BIT, and OS_REG_WRITE.
Referenced by ar5210Reset().