ar5211.h revision 234873
1185573Srwatson/* 2189279Srwatson * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 3155131Srwatson * Copyright (c) 2002-2006 Atheros Communications, Inc. 4155131Srwatson * 5155131Srwatson * Permission to use, copy, modify, and/or distribute this software for any 6155131Srwatson * purpose with or without fee is hereby granted, provided that the above 7155131Srwatson * copyright notice and this permission notice appear in all copies. 8155131Srwatson * 9155131Srwatson * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10155131Srwatson * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11155131Srwatson * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12155131Srwatson * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13185573Srwatson * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14155131Srwatson * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15155131Srwatson * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16155131Srwatson * 17155131Srwatson * $FreeBSD: head/sys/dev/ath/ath_hal/ar5211/ar5211.h 234873 2012-05-01 14:48:51Z adrian $ 18155131Srwatson */ 19155131Srwatson#ifndef _ATH_AR5211_H_ 20155131Srwatson#define _ATH_AR5211_H_ 21155131Srwatson 22155131Srwatson#include "ah_eeprom.h" 23155131Srwatson 24155131Srwatson#define AR5211_MAGIC 0x19570405 25155131Srwatson 26155131Srwatson/* Classes for WME streams */ 27155131Srwatson#define AC_BK 0 28155131Srwatson#define AC_BE 1 29189279Srwatson#define AC_VI 2 30155131Srwatson#define AC_VO 3 31155131Srwatson 32155131Srwatson/* DCU Transmit Filter macros */ 33155131Srwatson#define CALC_MMR(dcu, idx) \ 34155131Srwatson ( (4 * dcu) + (idx < 32 ? 0 : (idx < 64 ? 1 : (idx < 96 ? 2 : 3))) ) 35155131Srwatson#define TXBLK_FROM_MMR(mmr) \ 36155131Srwatson (AR_D_TXBLK_BASE + ((mmr & 0x1f) << 6) + ((mmr & 0x20) >> 3)) 37155131Srwatson#define CALC_TXBLK_ADDR(dcu, idx) (TXBLK_FROM_MMR(CALC_MMR(dcu, idx))) 38155131Srwatson#define CALC_TXBLK_VALUE(idx) (1 << (idx & 0x1f)) 39155131Srwatson 40155131Srwatson/* MAC register values */ 41155131Srwatson 42155131Srwatson#define INIT_INTERRUPT_MASK \ 43159985Srwatson ( AR_IMR_TXERR | AR_IMR_TXOK | AR_IMR_RXORN | \ 44156283Srwatson AR_IMR_RXERR | AR_IMR_RXOK | AR_IMR_TXURN | \ 45155518Srwatson AR_IMR_HIUERR ) 46155131Srwatson#define INIT_BEACON_CONTROL \ 47155131Srwatson ( (INIT_RESET_TSF << 24) | (INIT_BEACON_EN << 23) | \ 48155131Srwatson (INIT_TIM_OFFSET << 16) | INIT_BEACON_PERIOD ) 49155131Srwatson 50155131Srwatson#define INIT_CONFIG_STATUS 0x00000000 51155131Srwatson#define INIT_RSSI_THR 0x00000700 /* Missed beacon counter initialized to 0x7 (max is 0xff) */ 52155131Srwatson#define INIT_IQCAL_LOG_COUNT_MAX 0xF 53155131Srwatson#define INIT_BCON_CNTRL_REG 0x00000000 54155131Srwatson 55162503Srwatson#define INIT_BEACON_PERIOD 0xffff 56162503Srwatson#define INIT_TIM_OFFSET 0 57162503Srwatson#define INIT_BEACON_EN 0 /* this should be set by AP only when it's ready */ 58162503Srwatson#define INIT_RESET_TSF 0 59162503Srwatson 60162503Srwatson/* 61162503Srwatson * Various fifo fill before Tx start, in 64-byte units 62162503Srwatson * i.e. put the frame in the air while still DMAing 63162503Srwatson */ 64162503Srwatson#define MIN_TX_FIFO_THRESHOLD 0x1 65162503Srwatson#define MAX_TX_FIFO_THRESHOLD ((IEEE80211_MAX_LEN / 64) + 1) 66162503Srwatson#define INIT_TX_FIFO_THRESHOLD MIN_TX_FIFO_THRESHOLD 67162503Srwatson 68162503Srwatson/* 69162503Srwatson * Gain support. 70155131Srwatson */ 71155131Srwatsontypedef struct _gainOptStep { 72155131Srwatson int16_t paramVal[4]; 73155131Srwatson int32_t stepGain; 74155131Srwatson int8_t stepName[16]; 75155131Srwatson} GAIN_OPTIMIZATION_STEP; 76155131Srwatson 77155131Srwatsontypedef struct { 78155131Srwatson uint32_t numStepsInLadder; 79189279Srwatson uint32_t defaultStepNum; 80189279Srwatson GAIN_OPTIMIZATION_STEP optStep[10]; 81189279Srwatson} GAIN_OPTIMIZATION_LADDER; 82189279Srwatson 83189279Srwatsontypedef struct { 84189279Srwatson uint32_t currStepNum; 85185573Srwatson uint32_t currGain; 86189279Srwatson uint32_t targetGain; 87155131Srwatson uint32_t loTrig; 88155131Srwatson uint32_t hiTrig; 89155131Srwatson uint32_t active; 90155131Srwatson const GAIN_OPTIMIZATION_STEP *currStep; 91155131Srwatson} GAIN_VALUES; 92155131Srwatson 93155131Srwatsonenum { 94155131Srwatson RFGAIN_INACTIVE, 95155131Srwatson RFGAIN_READ_REQUESTED, 96155131Srwatson RFGAIN_NEED_CHANGE 97155131Srwatson}; 98161630Srwatson 99155131Srwatson/* 100161630Srwatson * Header Info - general parameters and 101161630Srwatson * values set for each chipset board solution 102155131Srwatson * that are programmed every reset 103155131Srwatson */ 104155131Srwatsonstruct ath_hal_5211 { 105155131Srwatson struct ath_hal_private ah_priv; /* base class */ 106155131Srwatson 107155131Srwatson GAIN_VALUES ah_gainValues; 108155131Srwatson 109155131Srwatson uint8_t ah_macaddr[IEEE80211_ADDR_LEN]; 110155131Srwatson uint8_t ah_bssid[IEEE80211_ADDR_LEN]; 111155131Srwatson 112155131Srwatson /* 113155131Srwatson * Runtime state. 114155131Srwatson */ 115155131Srwatson uint32_t ah_maskReg; /* copy of AR_IMR */ 116155131Srwatson uint32_t ah_txOkInterruptMask; 117155131Srwatson uint32_t ah_txErrInterruptMask; 118155131Srwatson uint32_t ah_txDescInterruptMask; 119155131Srwatson uint32_t ah_txEolInterruptMask; 120155131Srwatson uint32_t ah_txUrnInterruptMask; 121155131Srwatson HAL_TX_QUEUE_INFO ah_txq[HAL_NUM_TX_QUEUES]; 122155131Srwatson HAL_POWER_MODE ah_powerMode; 123155131Srwatson HAL_ANT_SETTING ah_diversityControl; /* antenna setting */ 124155131Srwatson uint32_t ah_calibrationTime; 125155131Srwatson HAL_BOOL ah_bIQCalibration; 126155131Srwatson int ah_rfgainState; 127155131Srwatson uint32_t ah_tx6PowerInHalfDbm; /* power output for 6Mb tx */ 128155131Srwatson uint32_t ah_staId1Defaults; /* STA_ID1 default settings */ 129155131Srwatson uint32_t ah_beaconInterval; 130155131Srwatson uint32_t ah_rssiThr; /* RSSI_THR settings */ 131155131Srwatson 132155131Srwatson u_int ah_sifstime; /* user-specified sifs time */ 133155131Srwatson u_int ah_slottime; /* user-specified slot time */ 134155131Srwatson u_int ah_acktimeout; /* user-specified ack timeout */ 135155131Srwatson u_int ah_ctstimeout; /* user-specified cts timeout */ 136155131Srwatson /* 137155131Srwatson * RF Silent handling. 138155131Srwatson */ 139155131Srwatson uint32_t ah_gpioSelect; /* GPIO pin to use */ 140155131Srwatson uint32_t ah_polarity; /* polarity to disable RF */ 141155131Srwatson uint32_t ah_gpioBit; /* after init, prev value */ 142155131Srwatson}; 143155131Srwatson#define AH5211(ah) ((struct ath_hal_5211 *)(ah)) 144155131Srwatson 145155131Srwatsonstruct ath_hal; 146155131Srwatson 147155131Srwatsonextern void ar5211Detach(struct ath_hal *); 148155131Srwatson 149155131Srwatsonextern HAL_BOOL ar5211Reset(struct ath_hal *, HAL_OPMODE, 150155131Srwatson struct ieee80211_channel *, HAL_BOOL bChannelChange, 151155131Srwatson HAL_STATUS *); 152155131Srwatsonextern HAL_BOOL ar5211PhyDisable(struct ath_hal *); 153155131Srwatsonextern HAL_BOOL ar5211Disable(struct ath_hal *); 154155131Srwatsonextern HAL_BOOL ar5211ChipReset(struct ath_hal *, 155155131Srwatson const struct ieee80211_channel *); 156155131Srwatsonextern HAL_BOOL ar5211PerCalibration(struct ath_hal *, struct ieee80211_channel *, HAL_BOOL *); 157155131Srwatsonextern HAL_BOOL ar5211PerCalibrationN(struct ath_hal *ah, struct ieee80211_channel *chan, 158155131Srwatson u_int chainMask, HAL_BOOL longCal, HAL_BOOL *isCalDone); 159155131Srwatsonextern HAL_BOOL ar5211ResetCalValid(struct ath_hal *ah, const struct ieee80211_channel *); 160155131Srwatsonextern HAL_BOOL ar5211SetTxPowerLimit(struct ath_hal *, uint32_t limit); 161155131Srwatsonextern HAL_BOOL ar5211CalNoiseFloor(struct ath_hal *, 162155131Srwatson const struct ieee80211_channel *); 163155131Srwatsonextern HAL_BOOL ar5211SetAntennaSwitchInternal(struct ath_hal *, 164155131Srwatson HAL_ANT_SETTING, const struct ieee80211_channel *); 165155131Srwatsonextern int16_t ar5211GetNfAdjust(struct ath_hal *, 166155131Srwatson const HAL_CHANNEL_INTERNAL *); 167155131Srwatsonextern HAL_BOOL ar5211ResetDma(struct ath_hal *, HAL_OPMODE); 168155131Srwatsonextern void ar5211InitializeGainValues(struct ath_hal *); 169168777Srwatsonextern HAL_RFGAIN ar5211GetRfgain(struct ath_hal *); 170168777Srwatsonextern void ar5211SetPCUConfig(struct ath_hal *); 171168777Srwatson 172168777Srwatsonextern HAL_BOOL ar5211SetTxQueueProps(struct ath_hal *ah, int q, 173168777Srwatson const HAL_TXQ_INFO *qInfo); 174168777Srwatsonextern HAL_BOOL ar5211GetTxQueueProps(struct ath_hal *ah, int q, 175155131Srwatson HAL_TXQ_INFO *qInfo); 176155131Srwatsonextern int ar5211SetupTxQueue(struct ath_hal *ah, HAL_TX_QUEUE type, 177155131Srwatson const HAL_TXQ_INFO *qInfo); 178155131Srwatsonextern HAL_BOOL ar5211ReleaseTxQueue(struct ath_hal *ah, u_int q); 179155131Srwatsonextern HAL_BOOL ar5211ResetTxQueue(struct ath_hal *ah, u_int q); 180155131Srwatsonextern uint32_t ar5211GetTxDP(struct ath_hal *, u_int); 181155131Srwatsonextern HAL_BOOL ar5211SetTxDP(struct ath_hal *, u_int, uint32_t txdp); 182155131Srwatsonextern HAL_BOOL ar5211UpdateTxTrigLevel(struct ath_hal *, HAL_BOOL); 183155131Srwatsonextern HAL_BOOL ar5211StartTxDma(struct ath_hal *, u_int); 184155131Srwatsonextern HAL_BOOL ar5211StopTxDma(struct ath_hal *, u_int); 185155131Srwatsonextern uint32_t ar5211NumTxPending(struct ath_hal *, u_int qnum); 186155131Srwatsonextern HAL_BOOL ar5211IsTxQueueStopped(struct ath_hal *, u_int); 187155131Srwatsonextern HAL_BOOL ar5211GetTransmitFilterIndex(struct ath_hal *, uint32_t); 188155131Srwatsonextern HAL_BOOL ar5211SetupTxDesc(struct ath_hal *, struct ath_desc *, 189155131Srwatson u_int pktLen, u_int hdrLen, HAL_PKT_TYPE type, u_int txPower, 190155131Srwatson u_int txRate0, u_int txTries0, 191155131Srwatson u_int keyIx, u_int antMode, u_int flags, 192155131Srwatson u_int rtsctsRate, u_int rtsctsDuration, 193155131Srwatson u_int compicvLen, u_int compivLen, u_int comp); 194155131Srwatsonextern HAL_BOOL ar5211SetupXTxDesc(struct ath_hal *, struct ath_desc *, 195155131Srwatson u_int txRate1, u_int txRetries1, 196155131Srwatson u_int txRate2, u_int txRetries2, 197155131Srwatson u_int txRate3, u_int txRetries3); 198155131Srwatsonextern HAL_BOOL ar5211FillTxDesc(struct ath_hal *, struct ath_desc *, 199155131Srwatson u_int segLen, HAL_BOOL firstSeg, HAL_BOOL lastSeg, 200155131Srwatson const struct ath_desc *ds0); 201155131Srwatsonextern HAL_STATUS ar5211ProcTxDesc(struct ath_hal *, 202155131Srwatson struct ath_desc *, struct ath_tx_status *); 203155131Srwatsonextern void ar5211GetTxIntrQueue(struct ath_hal *ah, uint32_t *); 204155131Srwatsonextern void ar5211IntrReqTxDesc(struct ath_hal *ah, struct ath_desc *); 205155131Srwatsonextern HAL_BOOL ar5211GetTxCompletionRates(struct ath_hal *ah, 206155131Srwatson const struct ath_desc *ds0, int *rates, int *tries); 207155131Srwatson 208155131Srwatsonextern uint32_t ar5211GetRxDP(struct ath_hal *); 209155131Srwatsonextern void ar5211SetRxDP(struct ath_hal *, uint32_t rxdp); 210155131Srwatsonextern void ar5211EnableReceive(struct ath_hal *); 211155131Srwatsonextern HAL_BOOL ar5211StopDmaReceive(struct ath_hal *); 212155131Srwatsonextern void ar5211StartPcuReceive(struct ath_hal *); 213155131Srwatsonextern void ar5211StopPcuReceive(struct ath_hal *); 214155131Srwatsonextern void ar5211SetMulticastFilter(struct ath_hal *, 215155131Srwatson uint32_t filter0, uint32_t filter1); 216155131Srwatsonextern HAL_BOOL ar5211ClrMulticastFilterIndex(struct ath_hal *, uint32_t); 217155131Srwatsonextern HAL_BOOL ar5211SetMulticastFilterIndex(struct ath_hal *, uint32_t); 218155131Srwatsonextern uint32_t ar5211GetRxFilter(struct ath_hal *); 219155131Srwatsonextern void ar5211SetRxFilter(struct ath_hal *, uint32_t); 220155131Srwatsonextern HAL_BOOL ar5211SetupRxDesc(struct ath_hal *, struct ath_desc *, 221155131Srwatson uint32_t, u_int flags); 222155131Srwatsonextern HAL_STATUS ar5211ProcRxDesc(struct ath_hal *, struct ath_desc *, 223155131Srwatson uint32_t, struct ath_desc *, uint64_t, 224155131Srwatson struct ath_rx_status *); 225155131Srwatson 226155131Srwatsonextern void ar5211GetMacAddress(struct ath_hal *, uint8_t *); 227155131Srwatsonextern HAL_BOOL ar5211SetMacAddress(struct ath_hal *ah, const uint8_t *); 228155131Srwatsonextern void ar5211GetBssIdMask(struct ath_hal *, uint8_t *); 229155131Srwatsonextern HAL_BOOL ar5211SetBssIdMask(struct ath_hal *, const uint8_t *); 230155131Srwatsonextern HAL_BOOL ar5211EepromRead(struct ath_hal *, u_int off, uint16_t *data); 231155131Srwatsonextern HAL_BOOL ar5211EepromWrite(struct ath_hal *, u_int off, uint16_t data); 232155131Srwatsonextern HAL_BOOL ar5211SetRegulatoryDomain(struct ath_hal *, 233155131Srwatson uint16_t, HAL_STATUS *); 234155131Srwatsonextern u_int ar5211GetWirelessModes(struct ath_hal *); 235155131Srwatsonextern void ar5211EnableRfKill(struct ath_hal *); 236155131Srwatsonextern uint32_t ar5211GpioGet(struct ath_hal *, uint32_t gpio); 237155131Srwatsonextern void ar5211GpioSetIntr(struct ath_hal *, u_int, uint32_t ilevel); 238155131Srwatsonextern HAL_BOOL ar5211GpioCfgOutput(struct ath_hal *, uint32_t gpio, 239155131Srwatson HAL_GPIO_MUX_TYPE); 240161630Srwatsonextern HAL_BOOL ar5211GpioCfgInput(struct ath_hal *, uint32_t gpio); 241155131Srwatsonextern HAL_BOOL ar5211GpioSet(struct ath_hal *, uint32_t gpio, uint32_t val); 242155131Srwatsonextern void ar5211SetLedState(struct ath_hal *, HAL_LED_STATE); 243155131Srwatsonextern u_int ar5211AntennaGet(struct ath_hal *); 244155131Srwatsonextern void ar5211WriteAssocid(struct ath_hal *, 245155131Srwatson const uint8_t *bssid, uint16_t assocId); 246155131Srwatsonextern uint64_t ar5211GetTsf64(struct ath_hal *); 247155131Srwatsonextern uint32_t ar5211GetTsf32(struct ath_hal *); 248155131Srwatsonextern void ar5211ResetTsf(struct ath_hal *); 249161630Srwatsonextern uint32_t ar5211GetMaxTurboRate(struct ath_hal *); 250155131Srwatsonextern uint32_t ar5211GetRandomSeed(struct ath_hal *); 251155131Srwatsonextern HAL_BOOL ar5211DetectCardPresent(struct ath_hal *); 252155131Srwatsonextern void ar5211UpdateMibCounters(struct ath_hal *, HAL_MIB_STATS *); 253155131Srwatsonextern void ar5211EnableHwEncryption(struct ath_hal *); 254155131Srwatsonextern void ar5211DisableHwEncryption(struct ath_hal *); 255155131Srwatsonextern HAL_BOOL ar5211SetSlotTime(struct ath_hal *, u_int); 256155131Srwatsonextern u_int ar5211GetSlotTime(struct ath_hal *); 257155131Srwatsonextern HAL_BOOL ar5211SetAckTimeout(struct ath_hal *, u_int); 258155131Srwatsonextern u_int ar5211GetAckTimeout(struct ath_hal *); 259155131Srwatsonextern HAL_BOOL ar5211SetAckCTSRate(struct ath_hal *, u_int); 260155131Srwatsonextern u_int ar5211GetAckCTSRate(struct ath_hal *); 261155131Srwatsonextern HAL_BOOL ar5211SetCTSTimeout(struct ath_hal *, u_int); 262155131Srwatsonextern u_int ar5211GetCTSTimeout(struct ath_hal *); 263155131Srwatsonextern HAL_BOOL ar5211SetSifsTime(struct ath_hal *, u_int); 264155131Srwatsonextern u_int ar5211GetSifsTime(struct ath_hal *); 265155131Srwatsonextern HAL_BOOL ar5211SetDecompMask(struct ath_hal *, uint16_t, int); 266155131Srwatsonextern void ar5211SetCoverageClass(struct ath_hal *, uint8_t, int); 267155131Srwatsonextern uint32_t ar5211GetCurRssi(struct ath_hal *); 268155131Srwatsonextern u_int ar5211GetDefAntenna(struct ath_hal *); 269155131Srwatsonextern void ar5211SetDefAntenna(struct ath_hal *ah, u_int antenna); 270155131Srwatsonextern HAL_ANT_SETTING ar5211GetAntennaSwitch(struct ath_hal *); 271155131Srwatsonextern HAL_BOOL ar5211SetAntennaSwitch(struct ath_hal *, HAL_ANT_SETTING); 272155131Srwatsonextern HAL_STATUS ar5211GetCapability(struct ath_hal *, HAL_CAPABILITY_TYPE, 273155131Srwatson uint32_t, uint32_t *); 274155131Srwatsonextern HAL_BOOL ar5211SetCapability(struct ath_hal *, HAL_CAPABILITY_TYPE, 275155131Srwatson uint32_t, uint32_t, HAL_STATUS *); 276155131Srwatsonextern HAL_BOOL ar5211GetDiagState(struct ath_hal *ah, int request, 277155131Srwatson const void *args, uint32_t argsize, 278155131Srwatson void **result, uint32_t *resultsize); 279155131Srwatsonextern uint32_t ar5211Get11nExtBusy(struct ath_hal *); 280155131Srwatsonextern HAL_BOOL ar5211GetMibCycleCounts(struct ath_hal *, 281161630Srwatson HAL_SURVEY_SAMPLE *); 282155131Srwatson 283155131Srwatsonextern u_int ar5211GetKeyCacheSize(struct ath_hal *); 284155131Srwatsonextern HAL_BOOL ar5211IsKeyCacheEntryValid(struct ath_hal *, uint16_t); 285155131Srwatsonextern HAL_BOOL ar5211ResetKeyCacheEntry(struct ath_hal *, uint16_t entry); 286155131Srwatsonextern HAL_BOOL ar5211SetKeyCacheEntry(struct ath_hal *, uint16_t entry, 287155131Srwatson const HAL_KEYVAL *, const uint8_t *mac, 288155131Srwatson int xorKey); 289155131Srwatsonextern HAL_BOOL ar5211SetKeyCacheEntryMac(struct ath_hal *, 290155131Srwatson uint16_t, const uint8_t *); 291155131Srwatson 292155131Srwatsonextern HAL_BOOL ar5211SetPowerMode(struct ath_hal *, uint32_t powerRequest, 293155131Srwatson int setChip); 294155131Srwatsonextern HAL_POWER_MODE ar5211GetPowerMode(struct ath_hal *); 295155131Srwatson 296155131Srwatsonextern void ar5211SetBeaconTimers(struct ath_hal *, 297155131Srwatson const HAL_BEACON_TIMERS *); 298155131Srwatsonextern void ar5211BeaconInit(struct ath_hal *, uint32_t, uint32_t); 299155131Srwatsonextern void ar5211SetStaBeaconTimers(struct ath_hal *, 300155131Srwatson const HAL_BEACON_STATE *); 301155131Srwatsonextern void ar5211ResetStaBeaconTimers(struct ath_hal *); 302155131Srwatsonextern uint64_t ar5211GetNextTBTT(struct ath_hal *); 303155131Srwatson 304155131Srwatsonextern HAL_BOOL ar5211IsInterruptPending(struct ath_hal *); 305155131Srwatsonextern HAL_BOOL ar5211GetPendingInterrupts(struct ath_hal *, HAL_INT *); 306155131Srwatsonextern HAL_INT ar5211GetInterrupts(struct ath_hal *); 307155131Srwatsonextern HAL_INT ar5211SetInterrupts(struct ath_hal *, HAL_INT ints); 308155131Srwatson 309155131Srwatsonextern const HAL_RATE_TABLE *ar5211GetRateTable(struct ath_hal *, u_int mode); 310155131Srwatson 311155131Srwatsonextern HAL_BOOL ar5211AniControl(struct ath_hal *, HAL_ANI_CMD, int ); 312155131Srwatsonextern void ar5211RxMonitor(struct ath_hal *, const HAL_NODE_STATS *, 313155131Srwatson const struct ieee80211_channel *); 314155131Srwatsonextern void ar5211AniPoll(struct ath_hal *, const struct ieee80211_channel *); 315155131Srwatsonextern void ar5211MibEvent(struct ath_hal *, const HAL_NODE_STATS *); 316155131Srwatson#endif /* _ATH_AR5211_H_ */ 317155131Srwatson