__ahdecl
const HAL_RATE_TABLE *__ahdecl(*ah_getRateTable)(struct ath_hal *,
void __ahdecl(*ah_detach)(struct ath_hal*);
HAL_BOOL __ahdecl(*ah_reset)(struct ath_hal *, HAL_OPMODE,
HAL_BOOL __ahdecl(*ah_phyDisable)(struct ath_hal *);
HAL_BOOL __ahdecl(*ah_disable)(struct ath_hal *);
void __ahdecl(*ah_configPCIE)(struct ath_hal *, HAL_BOOL restore,
void __ahdecl(*ah_disablePCIE)(struct ath_hal *);
void __ahdecl(*ah_setPCUConfig)(struct ath_hal *);
HAL_BOOL __ahdecl(*ah_perCalibration)(struct ath_hal*,
HAL_BOOL __ahdecl(*ah_perCalibrationN)(struct ath_hal *,
HAL_BOOL __ahdecl(*ah_resetCalValid)(struct ath_hal *,
HAL_BOOL __ahdecl(*ah_setTxPower)(struct ath_hal *,
HAL_BOOL __ahdecl(*ah_setTxPowerLimit)(struct ath_hal *, uint32_t);
HAL_BOOL __ahdecl(*ah_setBoardValues)(struct ath_hal *,
HAL_BOOL __ahdecl(*ah_updateTxTrigLevel)(struct ath_hal*,
int __ahdecl(*ah_setupTxQueue)(struct ath_hal *, HAL_TX_QUEUE,
HAL_BOOL __ahdecl(*ah_setTxQueueProps)(struct ath_hal *, int q,
HAL_BOOL __ahdecl(*ah_getTxQueueProps)(struct ath_hal *, int q,
HAL_BOOL __ahdecl(*ah_releaseTxQueue)(struct ath_hal *ah, u_int q);
HAL_BOOL __ahdecl(*ah_resetTxQueue)(struct ath_hal *ah, u_int q);
uint32_t __ahdecl(*ah_getTxDP)(struct ath_hal*, u_int);
HAL_BOOL __ahdecl(*ah_setTxDP)(struct ath_hal*, u_int, uint32_t txdp);
uint32_t __ahdecl(*ah_numTxPending)(struct ath_hal *, u_int q);
HAL_BOOL __ahdecl(*ah_startTxDma)(struct ath_hal*, u_int);
HAL_BOOL __ahdecl(*ah_stopTxDma)(struct ath_hal*, u_int);
HAL_BOOL __ahdecl(*ah_setupTxDesc)(struct ath_hal *, struct ath_desc *,
HAL_BOOL __ahdecl(*ah_setupXTxDesc)(struct ath_hal *, struct ath_desc*,
HAL_BOOL __ahdecl(*ah_fillTxDesc)(struct ath_hal *, struct ath_desc *,
HAL_STATUS __ahdecl(*ah_procTxDesc)(struct ath_hal *,
void __ahdecl(*ah_getTxIntrQueue)(struct ath_hal *, uint32_t *);
void __ahdecl(*ah_reqTxIntrDesc)(struct ath_hal *, struct ath_desc*);
HAL_BOOL __ahdecl(*ah_getTxCompletionRates)(struct ath_hal *,
void __ahdecl(*ah_setTxDescLink)(struct ath_hal *ah, void *ds,
void __ahdecl(*ah_getTxDescLink)(struct ath_hal *ah, void *ds,
void __ahdecl(*ah_getTxDescLinkPtr)(struct ath_hal *ah, void *ds,
void __ahdecl(*ah_setupTxStatusRing)(struct ath_hal *,
void __ahdecl(*ah_getTxRawTxDesc)(struct ath_hal *, u_int32_t *);
uint32_t __ahdecl(*ah_getRxDP)(struct ath_hal*, HAL_RX_QUEUE);
void __ahdecl(*ah_setRxDP)(struct ath_hal*, uint32_t rxdp, HAL_RX_QUEUE);
void __ahdecl(*ah_enableReceive)(struct ath_hal*);
HAL_BOOL __ahdecl(*ah_stopDmaReceive)(struct ath_hal*);
void __ahdecl(*ah_startPcuReceive)(struct ath_hal*, HAL_BOOL);
void __ahdecl(*ah_stopPcuReceive)(struct ath_hal*);
void __ahdecl(*ah_setMulticastFilter)(struct ath_hal*,
HAL_BOOL __ahdecl(*ah_setMulticastFilterIndex)(struct ath_hal*,
HAL_BOOL __ahdecl(*ah_clrMulticastFilterIndex)(struct ath_hal*,
uint32_t __ahdecl(*ah_getRxFilter)(struct ath_hal*);
void __ahdecl(*ah_setRxFilter)(struct ath_hal*, uint32_t);
HAL_BOOL __ahdecl(*ah_setupRxDesc)(struct ath_hal *, struct ath_desc *,
HAL_STATUS __ahdecl(*ah_procRxDesc)(struct ath_hal *,
void __ahdecl(*ah_rxMonitor)(struct ath_hal *,
void __ahdecl(*ah_aniPoll)(struct ath_hal *,
void __ahdecl(*ah_procMibEvent)(struct ath_hal *,
HAL_STATUS __ahdecl(*ah_getCapability)(struct ath_hal *,
HAL_BOOL __ahdecl(*ah_setCapability)(struct ath_hal *,
HAL_BOOL __ahdecl(*ah_getDiagState)(struct ath_hal *, int request,
void __ahdecl(*ah_getMacAddress)(struct ath_hal *, uint8_t *);
HAL_BOOL __ahdecl(*ah_setMacAddress)(struct ath_hal *, const uint8_t*);
void __ahdecl(*ah_getBssIdMask)(struct ath_hal *, uint8_t *);
HAL_BOOL __ahdecl(*ah_setBssIdMask)(struct ath_hal *, const uint8_t*);
HAL_BOOL __ahdecl(*ah_setRegulatoryDomain)(struct ath_hal*,
void __ahdecl(*ah_setLedState)(struct ath_hal*, HAL_LED_STATE);
void __ahdecl(*ah_writeAssocid)(struct ath_hal*,
HAL_BOOL __ahdecl(*ah_gpioCfgOutput)(struct ath_hal *,
HAL_BOOL __ahdecl(*ah_gpioCfgInput)(struct ath_hal *, uint32_t gpio);
uint32_t __ahdecl(*ah_gpioGet)(struct ath_hal *, uint32_t gpio);
HAL_BOOL __ahdecl(*ah_gpioSet)(struct ath_hal *,
void __ahdecl(*ah_gpioSetIntr)(struct ath_hal*, u_int, uint32_t);
uint32_t __ahdecl(*ah_getTsf32)(struct ath_hal*);
uint64_t __ahdecl(*ah_getTsf64)(struct ath_hal*);
void __ahdecl(*ah_setTsf64)(struct ath_hal *, uint64_t);
void __ahdecl(*ah_resetTsf)(struct ath_hal*);
HAL_BOOL __ahdecl(*ah_detectCardPresent)(struct ath_hal*);
void __ahdecl(*ah_updateMibCounters)(struct ath_hal*,
HAL_RFGAIN __ahdecl(*ah_getRfGain)(struct ath_hal*);
u_int __ahdecl(*ah_getDefAntenna)(struct ath_hal*);
void __ahdecl(*ah_setDefAntenna)(struct ath_hal*, u_int);
HAL_ANT_SETTING __ahdecl(*ah_getAntennaSwitch)(struct ath_hal*);
HAL_BOOL __ahdecl(*ah_setAntennaSwitch)(struct ath_hal*,
HAL_BOOL __ahdecl(*ah_setSifsTime)(struct ath_hal*, u_int);
u_int __ahdecl(*ah_getSifsTime)(struct ath_hal*);
HAL_BOOL __ahdecl(*ah_setSlotTime)(struct ath_hal*, u_int);
u_int __ahdecl(*ah_getSlotTime)(struct ath_hal*);
HAL_BOOL __ahdecl(*ah_setAckTimeout)(struct ath_hal*, u_int);
u_int __ahdecl(*ah_getAckTimeout)(struct ath_hal*);
HAL_BOOL __ahdecl(*ah_setAckCTSRate)(struct ath_hal*, u_int);
u_int __ahdecl(*ah_getAckCTSRate)(struct ath_hal*);
HAL_BOOL __ahdecl(*ah_setCTSTimeout)(struct ath_hal*, u_int);
u_int __ahdecl(*ah_getCTSTimeout)(struct ath_hal*);
HAL_BOOL __ahdecl(*ah_setDecompMask)(struct ath_hal*, uint16_t, int);
void __ahdecl(*ah_setCoverageClass)(struct ath_hal*, uint8_t, int);
HAL_STATUS __ahdecl(*ah_setQuiet)(struct ath_hal *ah, uint32_t period,
void __ahdecl(*ah_setChainMasks)(struct ath_hal *,
u_int __ahdecl(*ah_getNav)(struct ath_hal*);
void __ahdecl(*ah_setNav)(struct ath_hal*, u_int);
void __ahdecl(*ah_enableDfs)(struct ath_hal *ah,
void __ahdecl(*ah_getDfsThresh)(struct ath_hal *ah,
HAL_BOOL __ahdecl(*ah_getDfsDefaultThresh)(struct ath_hal *ah,
HAL_BOOL __ahdecl(*ah_procRadarEvent)(struct ath_hal *ah,
HAL_BOOL __ahdecl(*ah_isFastClockEnabled)(struct ath_hal *ah);
void __ahdecl(*ah_setDfsCacTxQuiet)(struct ath_hal *, HAL_BOOL);
void __ahdecl(*ah_spectralConfigure)(struct ath_hal *ah,
void __ahdecl(*ah_spectralGetConfig)(struct ath_hal *ah,
void __ahdecl(*ah_spectralStart)(struct ath_hal *);
void __ahdecl(*ah_spectralStop)(struct ath_hal *);
HAL_BOOL __ahdecl(*ah_spectralIsEnabled)(struct ath_hal *);
HAL_BOOL __ahdecl(*ah_spectralIsActive)(struct ath_hal *);
uint32_t __ahdecl(*ah_getKeyCacheSize)(struct ath_hal*);
HAL_BOOL __ahdecl(*ah_resetKeyCacheEntry)(struct ath_hal*, uint16_t);
HAL_BOOL __ahdecl(*ah_isKeyCacheEntryValid)(struct ath_hal *,
HAL_BOOL __ahdecl(*ah_setKeyCacheEntry)(struct ath_hal*,
HAL_BOOL __ahdecl(*ah_setKeyCacheEntryMac)(struct ath_hal*,
HAL_BOOL __ahdecl(*ah_setPowerMode)(struct ath_hal*,
HAL_POWER_MODE __ahdecl(*ah_getPowerMode)(struct ath_hal*);
int16_t __ahdecl(*ah_getChanNoise)(struct ath_hal *,
void __ahdecl(*ah_setBeaconTimers)(struct ath_hal*,
void __ahdecl(*ah_beaconInit)(struct ath_hal *,
void __ahdecl(*ah_setStationBeaconTimers)(struct ath_hal*,
void __ahdecl(*ah_resetStationBeaconTimers)(struct ath_hal*);
uint64_t __ahdecl(*ah_getNextTBTT)(struct ath_hal *);
HAL_BOOL __ahdecl(*ah_chainTxDesc)(struct ath_hal *,
HAL_BOOL __ahdecl(*ah_setupFirstTxDesc)(struct ath_hal *,
HAL_BOOL __ahdecl(*ah_setupLastTxDesc)(struct ath_hal *,
void __ahdecl(*ah_set11nRateScenario)(struct ath_hal *,
void __ahdecl(*ah_set11nTxDesc)(struct ath_hal *,
void __ahdecl(*ah_set11nAggrFirst)(struct ath_hal *,
void __ahdecl(*ah_set11nAggrMiddle)(struct ath_hal *,
void __ahdecl(*ah_set11nAggrLast)(struct ath_hal *,
void __ahdecl(*ah_clr11nAggr)(struct ath_hal *,
void __ahdecl(*ah_set11nBurstDuration)(struct ath_hal *,
void __ahdecl(*ah_set11nVirtMoreFrag)(struct ath_hal *,
HAL_BOOL __ahdecl(*ah_getMibCycleCounts) (struct ath_hal *,
uint32_t __ahdecl(*ah_get11nExtBusy)(struct ath_hal *);
void __ahdecl(*ah_set11nMac2040)(struct ath_hal *,
HAL_HT_RXCLEAR __ahdecl(*ah_get11nRxClear)(struct ath_hal *ah);
void __ahdecl(*ah_set11nRxClear)(struct ath_hal *,
HAL_BOOL __ahdecl(*ah_isInterruptPending)(struct ath_hal*);
HAL_BOOL __ahdecl(*ah_getPendingInterrupts)(struct ath_hal*, HAL_INT*);
HAL_INT __ahdecl(*ah_getInterrupts)(struct ath_hal*);
HAL_INT __ahdecl(*ah_setInterrupts)(struct ath_hal*, HAL_INT);
void __ahdecl(*ah_btCoexSetInfo)(struct ath_hal *,
void __ahdecl(*ah_btCoexSetConfig)(struct ath_hal *,
void __ahdecl(*ah_btCoexSetQcuThresh)(struct ath_hal *,
void __ahdecl(*ah_btCoexSetWeights)(struct ath_hal *,
void __ahdecl(*ah_btCoexSetBmissThresh)(struct ath_hal *,
void __ahdecl(*ah_btCoexSetParameter)(struct ath_hal *,
void __ahdecl(*ah_btCoexDisable)(struct ath_hal *);
int __ahdecl(*ah_btCoexEnable)(struct ath_hal *);
void __ahdecl(*ah_btMciSetup)(struct ath_hal *,
HAL_BOOL __ahdecl(*ah_btMciSendMessage)(struct ath_hal *,
uint32_t __ahdecl(*ah_btMciGetInterrupt)(struct ath_hal *,
uint32_t __ahdecl(*ah_btMciState)(struct ath_hal *,
void __ahdecl(*ah_btMciDetach)(struct ath_hal *);
void __ahdecl(*ah_divLnaConfGet)(struct ath_hal *,
void __ahdecl(*ah_divLnaConfSet)(struct ath_hal *,
extern const char *__ahdecl ath_hal_probe(uint16_t vendorid, uint16_t devid);
extern struct ath_hal * __ahdecl ath_hal_attach(uint16_t devid, HAL_SOFTC,
extern HAL_STATUS __ahdecl ath_hal_getchannels(struct ath_hal *,
extern HAL_STATUS __ahdecl ath_hal_init_channels(struct ath_hal *,
extern HAL_STATUS __ahdecl ath_hal_set_channels(struct ath_hal *,
extern int __ahdecl ath_hal_get_mimo_chan_noise(struct ath_hal *ah,
extern void __ahdecl ath_hal_process_noisefloor(struct ath_hal *ah);
extern u_int __ahdecl ath_hal_getwirelessmodes(struct ath_hal*);
extern uint32_t __ahdecl ath_hal_pkt_txtime(struct ath_hal *ah,
extern uint32_t __ahdecl ath_computedur_ht(uint32_t frameLen, uint16_t rate,
extern uint16_t __ahdecl ath_hal_computetxtime(struct ath_hal *,
extern void __ahdecl ath_hal_adjusttsf(struct ath_hal *ah, int32_t tsfdelta);
void __ahdecl ath_hal_setcca(struct ath_hal *ah, int ena);
int __ahdecl ath_hal_getcca(struct ath_hal *ah);
void __ahdecl ath_hal_set_dfs_cac_tx_quiet(struct ath_hal *ah, HAL_BOOL ena);
HAL_BOOL __ahdecl ath_hal_EepromDataRead(struct ath_hal *ah,
#ifndef __ahdecl