1b7d5e03cSMatthew Dillon #ifndef __AR9300_STUB_FUNCS_H__ 2b7d5e03cSMatthew Dillon #define __AR9300_STUB_FUNCS_H__ 3b7d5e03cSMatthew Dillon 4b7d5e03cSMatthew Dillon extern uint32_t ar9300_Stub_GetRadioRev(struct ath_hal *ah); 5b7d5e03cSMatthew Dillon 6b7d5e03cSMatthew Dillon #if 0 7b7d5e03cSMatthew Dillon extern void ar9300_Stub_InitState(struct ath_hal_5212 *, uint16_t devid, HAL_SOFTC, 8b7d5e03cSMatthew Dillon HAL_BUS_TAG st, HAL_BUS_HANDLE sh, HAL_STATUS *status); 9b7d5e03cSMatthew Dillon #endif 10b7d5e03cSMatthew Dillon extern void ar9300_Stub_Detach(struct ath_hal *ah); 11b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_ChipTest(struct ath_hal *ah); 12b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_GetChannelEdges(struct ath_hal *ah, 13b7d5e03cSMatthew Dillon uint16_t flags, uint16_t *low, uint16_t *high); 14b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_FillCapabilityInfo(struct ath_hal *ah); 15b7d5e03cSMatthew Dillon 16b7d5e03cSMatthew Dillon extern void ar9300_Stub_SetBeaconTimers(struct ath_hal *ah, 17b7d5e03cSMatthew Dillon const HAL_BEACON_TIMERS *); 18b7d5e03cSMatthew Dillon extern void ar9300_Stub_BeaconInit(struct ath_hal *ah, 19b7d5e03cSMatthew Dillon uint32_t next_beacon, uint32_t beacon_period); 20b7d5e03cSMatthew Dillon extern void ar9300_Stub_ResetStaBeaconTimers(struct ath_hal *ah); 21b7d5e03cSMatthew Dillon extern void ar9300_Stub_SetStaBeaconTimers(struct ath_hal *ah, 22b7d5e03cSMatthew Dillon const HAL_BEACON_STATE *); 23b7d5e03cSMatthew Dillon extern uint64_t ar9300_Stub_GetNextTBTT(struct ath_hal *); 24b7d5e03cSMatthew Dillon 25b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_IsInterruptPending(struct ath_hal *ah); 26b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_GetPendingInterrupts(struct ath_hal *ah, HAL_INT *); 27b7d5e03cSMatthew Dillon extern HAL_INT ar9300_Stub_GetInterrupts(struct ath_hal *ah); 28b7d5e03cSMatthew Dillon extern HAL_INT ar9300_Stub_SetInterrupts(struct ath_hal *ah, HAL_INT ints); 29b7d5e03cSMatthew Dillon 30b7d5e03cSMatthew Dillon extern uint32_t ar9300_Stub_GetKeyCacheSize(struct ath_hal *); 31b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_IsKeyCacheEntryValid(struct ath_hal *, uint16_t entry); 32b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_ResetKeyCacheEntry(struct ath_hal *ah, uint16_t entry); 33b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_SetKeyCacheEntryMac(struct ath_hal *, 34b7d5e03cSMatthew Dillon uint16_t entry, const uint8_t *mac); 35b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_SetKeyCacheEntry(struct ath_hal *ah, uint16_t entry, 36b7d5e03cSMatthew Dillon const HAL_KEYVAL *k, const uint8_t *mac, int xorKey); 37b7d5e03cSMatthew Dillon 38b7d5e03cSMatthew Dillon extern void ar9300_Stub_GetMacAddress(struct ath_hal *ah, uint8_t *mac); 39b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_SetMacAddress(struct ath_hal *ah, const uint8_t *); 40b7d5e03cSMatthew Dillon extern void ar9300_Stub_GetBssIdMask(struct ath_hal *ah, uint8_t *mac); 41b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_SetBssIdMask(struct ath_hal *, const uint8_t *); 42b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_EepromRead(struct ath_hal *, u_int off, uint16_t *data); 43b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_EepromWrite(struct ath_hal *, u_int off, uint16_t data); 44b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_SetRegulatoryDomain(struct ath_hal *ah, 45b7d5e03cSMatthew Dillon uint16_t regDomain, HAL_STATUS *stats); 46b7d5e03cSMatthew Dillon extern u_int ar9300_Stub_GetWirelessModes(struct ath_hal *ah); 47b7d5e03cSMatthew Dillon extern void ar9300_Stub_EnableRfKill(struct ath_hal *); 48b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_GpioCfgOutput(struct ath_hal *, uint32_t gpio, 49b7d5e03cSMatthew Dillon HAL_GPIO_MUX_TYPE); 50b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_GpioCfgInput(struct ath_hal *, uint32_t gpio); 51b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_GpioSet(struct ath_hal *, uint32_t gpio, uint32_t val); 52b7d5e03cSMatthew Dillon extern uint32_t ar9300_Stub_GpioGet(struct ath_hal *ah, uint32_t gpio); 53b7d5e03cSMatthew Dillon extern void ar9300_Stub_GpioSetIntr(struct ath_hal *ah, u_int, uint32_t ilevel); 54b7d5e03cSMatthew Dillon extern void ar9300_Stub_SetLedState(struct ath_hal *ah, HAL_LED_STATE state); 55b7d5e03cSMatthew Dillon extern void ar9300_Stub_WriteAssocid(struct ath_hal *ah, const uint8_t *bssid, 56b7d5e03cSMatthew Dillon uint16_t assocId); 57b7d5e03cSMatthew Dillon extern uint32_t ar9300_Stub_GetTsf32(struct ath_hal *ah); 58b7d5e03cSMatthew Dillon extern uint64_t ar9300_Stub_GetTsf64(struct ath_hal *ah); 59b7d5e03cSMatthew Dillon extern void ar9300_Stub_SetTsf64(struct ath_hal *ah, uint64_t tsf64); 60b7d5e03cSMatthew Dillon extern void ar9300_Stub_ResetTsf(struct ath_hal *ah); 61b7d5e03cSMatthew Dillon extern void ar9300_Stub_SetBasicRate(struct ath_hal *ah, HAL_RATE_SET *pSet); 62b7d5e03cSMatthew Dillon extern uint32_t ar9300_Stub_GetRandomSeed(struct ath_hal *ah); 63b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_DetectCardPresent(struct ath_hal *ah); 64b7d5e03cSMatthew Dillon extern void ar9300_Stub_EnableMibCounters(struct ath_hal *); 65b7d5e03cSMatthew Dillon extern void ar9300_Stub_DisableMibCounters(struct ath_hal *); 66b7d5e03cSMatthew Dillon extern void ar9300_Stub_UpdateMibCounters(struct ath_hal *ah, HAL_MIB_STATS* stats); 67b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_IsJapanChannelSpreadSupported(struct ath_hal *ah); 68b7d5e03cSMatthew Dillon extern uint32_t ar9300_Stub_GetCurRssi(struct ath_hal *ah); 69b7d5e03cSMatthew Dillon extern u_int ar9300_Stub_GetDefAntenna(struct ath_hal *ah); 70b7d5e03cSMatthew Dillon extern void ar9300_Stub_SetDefAntenna(struct ath_hal *ah, u_int antenna); 71b7d5e03cSMatthew Dillon extern HAL_ANT_SETTING ar9300_Stub_GetAntennaSwitch(struct ath_hal *); 72b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_SetAntennaSwitch(struct ath_hal *, HAL_ANT_SETTING); 73b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_IsSleepAfterBeaconBroken(struct ath_hal *ah); 74b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_SetSifsTime(struct ath_hal *, u_int); 75b7d5e03cSMatthew Dillon extern u_int ar9300_Stub_GetSifsTime(struct ath_hal *); 76b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_SetSlotTime(struct ath_hal *, u_int); 77b7d5e03cSMatthew Dillon extern u_int ar9300_Stub_GetSlotTime(struct ath_hal *); 78b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_SetAckTimeout(struct ath_hal *, u_int); 79b7d5e03cSMatthew Dillon extern u_int ar9300_Stub_GetAckTimeout(struct ath_hal *); 80b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_SetAckCTSRate(struct ath_hal *, u_int); 81b7d5e03cSMatthew Dillon extern u_int ar9300_Stub_GetAckCTSRate(struct ath_hal *); 82b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_SetCTSTimeout(struct ath_hal *, u_int); 83b7d5e03cSMatthew Dillon extern u_int ar9300_Stub_GetCTSTimeout(struct ath_hal *); 84b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_SetDecompMask(struct ath_hal *, uint16_t, int); 85b7d5e03cSMatthew Dillon void ar9300_Stub_SetCoverageClass(struct ath_hal *, uint8_t, int); 86b7d5e03cSMatthew Dillon extern void ar9300_Stub_SetPCUConfig(struct ath_hal *); 87b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_Use32KHzclock(struct ath_hal *ah, HAL_OPMODE opmode); 88b7d5e03cSMatthew Dillon extern void ar9300_Stub_SetupClock(struct ath_hal *ah, HAL_OPMODE opmode); 89b7d5e03cSMatthew Dillon extern void ar9300_Stub_RestoreClock(struct ath_hal *ah, HAL_OPMODE opmode); 90b7d5e03cSMatthew Dillon extern int16_t ar9300_Stub_GetNfAdjust(struct ath_hal *, 91b7d5e03cSMatthew Dillon const HAL_CHANNEL_INTERNAL *); 92b7d5e03cSMatthew Dillon extern void ar9300_Stub_SetCompRegs(struct ath_hal *ah); 93b7d5e03cSMatthew Dillon extern HAL_STATUS ar9300_Stub_GetCapability(struct ath_hal *, HAL_CAPABILITY_TYPE, 94b7d5e03cSMatthew Dillon uint32_t, uint32_t *); 95b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_SetCapability(struct ath_hal *, HAL_CAPABILITY_TYPE, 96b7d5e03cSMatthew Dillon uint32_t, uint32_t, HAL_STATUS *); 97b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_GetDiagState(struct ath_hal *ah, int request, 98b7d5e03cSMatthew Dillon const void *args, uint32_t argsize, 99b7d5e03cSMatthew Dillon void **result, uint32_t *resultsize); 100b7d5e03cSMatthew Dillon extern HAL_STATUS ar9300_Stub_SetQuiet(struct ath_hal *ah, uint32_t period, 101b7d5e03cSMatthew Dillon uint32_t duration, uint32_t nextStart, HAL_QUIET_FLAG flag); 102b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_GetMibCycleCounts(struct ath_hal *, 103b7d5e03cSMatthew Dillon HAL_SURVEY_SAMPLE *); 104b7d5e03cSMatthew Dillon 105b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_SetPowerMode(struct ath_hal *ah, HAL_POWER_MODE mode, 106b7d5e03cSMatthew Dillon int setChip); 107b7d5e03cSMatthew Dillon extern HAL_POWER_MODE ar9300_Stub_GetPowerMode(struct ath_hal *ah); 108b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_GetPowerStatus(struct ath_hal *ah); 109b7d5e03cSMatthew Dillon 110b7d5e03cSMatthew Dillon extern uint32_t ar9300_Stub_GetRxDP(struct ath_hal *ath, HAL_RX_QUEUE); 111b7d5e03cSMatthew Dillon extern void ar9300_Stub_SetRxDP(struct ath_hal *ah, uint32_t rxdp, 112b7d5e03cSMatthew Dillon HAL_RX_QUEUE); 113b7d5e03cSMatthew Dillon extern void ar9300_Stub_EnableReceive(struct ath_hal *ah); 114b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_StopDmaReceive(struct ath_hal *ah); 115b7d5e03cSMatthew Dillon extern void ar9300_Stub_StartPcuReceive(struct ath_hal *ah); 116b7d5e03cSMatthew Dillon extern void ar9300_Stub_StopPcuReceive(struct ath_hal *ah); 117b7d5e03cSMatthew Dillon extern void ar9300_Stub_SetMulticastFilter(struct ath_hal *ah, 118b7d5e03cSMatthew Dillon uint32_t filter0, uint32_t filter1); 119b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_ClrMulticastFilterIndex(struct ath_hal *, uint32_t ix); 120b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_SetMulticastFilterIndex(struct ath_hal *, uint32_t ix); 121b7d5e03cSMatthew Dillon extern uint32_t ar9300_Stub_GetRxFilter(struct ath_hal *ah); 122b7d5e03cSMatthew Dillon extern void ar9300_Stub_SetRxFilter(struct ath_hal *ah, uint32_t bits); 123b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_SetupRxDesc(struct ath_hal *, 124b7d5e03cSMatthew Dillon struct ath_desc *, uint32_t size, u_int flags); 125b7d5e03cSMatthew Dillon extern HAL_STATUS ar9300_Stub_ProcRxDesc(struct ath_hal *ah, struct ath_desc *, 126b7d5e03cSMatthew Dillon uint32_t, struct ath_desc *, uint64_t, 127b7d5e03cSMatthew Dillon struct ath_rx_status *); 128b7d5e03cSMatthew Dillon 129b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_Reset(struct ath_hal *ah, HAL_OPMODE opmode, 130b7d5e03cSMatthew Dillon struct ieee80211_channel *chan, HAL_BOOL bChannelChange, 131*a20e5e51SMatthew Dillon HAL_RESET_TYPE resetType, 132b7d5e03cSMatthew Dillon HAL_STATUS *status); 133b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_SetChannel(struct ath_hal *, 134b7d5e03cSMatthew Dillon const struct ieee80211_channel *); 135b7d5e03cSMatthew Dillon extern void ar9300_Stub_SetOperatingMode(struct ath_hal *ah, int opmode); 136b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_PhyDisable(struct ath_hal *ah); 137b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_Disable(struct ath_hal *ah); 138b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_ChipReset(struct ath_hal *ah, 139b7d5e03cSMatthew Dillon const struct ieee80211_channel *); 140b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_PerCalibration(struct ath_hal *ah, 141b7d5e03cSMatthew Dillon struct ieee80211_channel *chan, HAL_BOOL *isIQdone); 142b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_PerCalibrationN(struct ath_hal *ah, 143b7d5e03cSMatthew Dillon struct ieee80211_channel *chan, u_int chainMask, 144b7d5e03cSMatthew Dillon HAL_BOOL longCal, HAL_BOOL *isCalDone); 145b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_ResetCalValid(struct ath_hal *ah, 146b7d5e03cSMatthew Dillon const struct ieee80211_channel *); 147b7d5e03cSMatthew Dillon extern int16_t ar9300_Stub_GetNoiseFloor(struct ath_hal *ah); 148b7d5e03cSMatthew Dillon extern void ar9300_Stub_InitNfCalHistBuffer(struct ath_hal *); 149b7d5e03cSMatthew Dillon extern int16_t ar9300_Stub_GetNfHistMid(const int16_t calData[]); 150b7d5e03cSMatthew Dillon extern void ar9300_Stub_SetSpurMitigation(struct ath_hal *, 151b7d5e03cSMatthew Dillon const struct ieee80211_channel *); 152b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_SetAntennaSwitchInternal(struct ath_hal *ah, 153b7d5e03cSMatthew Dillon HAL_ANT_SETTING settings, const struct ieee80211_channel *); 154b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_SetTxPowerLimit(struct ath_hal *ah, uint32_t limit); 155b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_GetChipPowerLimits(struct ath_hal *ah, 156b7d5e03cSMatthew Dillon struct ieee80211_channel *chan); 157b7d5e03cSMatthew Dillon extern void ar9300_Stub_InitializeGainValues(struct ath_hal *); 158b7d5e03cSMatthew Dillon extern HAL_RFGAIN ar9300_Stub_GetRfgain(struct ath_hal *ah); 159b7d5e03cSMatthew Dillon extern void ar9300_Stub_RequestRfgain(struct ath_hal *); 160b7d5e03cSMatthew Dillon 161b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_UpdateTxTrigLevel(struct ath_hal *, 162b7d5e03cSMatthew Dillon HAL_BOOL IncTrigLevel); 163b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_SetTxQueueProps(struct ath_hal *ah, int q, 164b7d5e03cSMatthew Dillon const HAL_TXQ_INFO *qInfo); 165b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_GetTxQueueProps(struct ath_hal *ah, int q, 166b7d5e03cSMatthew Dillon HAL_TXQ_INFO *qInfo); 167b7d5e03cSMatthew Dillon extern int ar9300_Stub_SetupTxQueue(struct ath_hal *ah, HAL_TX_QUEUE type, 168b7d5e03cSMatthew Dillon const HAL_TXQ_INFO *qInfo); 169b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_ReleaseTxQueue(struct ath_hal *ah, u_int q); 170b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_ResetTxQueue(struct ath_hal *ah, u_int q); 171b7d5e03cSMatthew Dillon extern uint32_t ar9300_Stub_GetTxDP(struct ath_hal *ah, u_int q); 172b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_SetTxDP(struct ath_hal *ah, u_int q, uint32_t txdp); 173b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_StartTxDma(struct ath_hal *ah, u_int q); 174b7d5e03cSMatthew Dillon extern uint32_t ar9300_Stub_NumTxPending(struct ath_hal *ah, u_int q); 175b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_StopTxDma(struct ath_hal *ah, u_int q); 176b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_SetupTxDesc(struct ath_hal *ah, struct ath_desc *ds, 177b7d5e03cSMatthew Dillon u_int pktLen, u_int hdrLen, HAL_PKT_TYPE type, u_int txPower, 178b7d5e03cSMatthew Dillon u_int txRate0, u_int txTries0, 179b7d5e03cSMatthew Dillon u_int keyIx, u_int antMode, u_int flags, 180b7d5e03cSMatthew Dillon u_int rtsctsRate, u_int rtsctsDuration, 181b7d5e03cSMatthew Dillon u_int compicvLen, u_int compivLen, u_int comp); 182b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_SetupXTxDesc(struct ath_hal *, struct ath_desc *, 183b7d5e03cSMatthew Dillon u_int txRate1, u_int txRetries1, 184b7d5e03cSMatthew Dillon u_int txRate2, u_int txRetries2, 185b7d5e03cSMatthew Dillon u_int txRate3, u_int txRetries3); 186b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_FillTxDesc(struct ath_hal *ah, struct ath_desc *ds, 187b7d5e03cSMatthew Dillon HAL_DMA_ADDR *bufAddrList, uint32_t *segLenList, 188b7d5e03cSMatthew Dillon u_int descId, u_int qcuId, 189b7d5e03cSMatthew Dillon HAL_BOOL firstSeg, HAL_BOOL lastSeg, 190b7d5e03cSMatthew Dillon const struct ath_desc *ds0); 191b7d5e03cSMatthew Dillon extern HAL_STATUS ar9300_Stub_ProcTxDesc(struct ath_hal *ah, 192b7d5e03cSMatthew Dillon struct ath_desc *, struct ath_tx_status *); 193b7d5e03cSMatthew Dillon extern void ar9300_Stub_GetTxIntrQueue(struct ath_hal *ah, uint32_t *); 194b7d5e03cSMatthew Dillon extern void ar9300_Stub_IntrReqTxDesc(struct ath_hal *ah, struct ath_desc *); 195b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_GetTxCompletionRates(struct ath_hal *ah, 196b7d5e03cSMatthew Dillon const struct ath_desc *ds0, int *rates, int *tries); 197b7d5e03cSMatthew Dillon 198b7d5e03cSMatthew Dillon extern const HAL_RATE_TABLE * ar9300_Stub_GetRateTable(struct ath_hal *, u_int mode); 199b7d5e03cSMatthew Dillon 200b7d5e03cSMatthew Dillon #if 0 201b7d5e03cSMatthew Dillon extern void ar9300_Stub_AniAttach(struct ath_hal *, const struct ar9300_Stub_AniParams *, 202b7d5e03cSMatthew Dillon const struct ar9300_Stub_AniParams *, HAL_BOOL ena); 203b7d5e03cSMatthew Dillon #endif 204b7d5e03cSMatthew Dillon extern void ar9300_Stub_AniDetach(struct ath_hal *); 205b7d5e03cSMatthew Dillon extern struct ar9300_Stub_AniState *ar5212AniGetCurrentState(struct ath_hal *); 206b7d5e03cSMatthew Dillon extern struct ar9300_Stub_Stats *ar5212AniGetCurrentStats(struct ath_hal *); 207b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_AniControl(struct ath_hal *, HAL_ANI_CMD cmd, int param); 208b7d5e03cSMatthew Dillon #if 0 209b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_AniSetParams(struct ath_hal *, 210b7d5e03cSMatthew Dillon const struct ar9300_Stub_AniParams *, const struct ar9300_Stub_AniParams *); 211b7d5e03cSMatthew Dillon #endif 212b7d5e03cSMatthew Dillon struct ath_rx_status; 213b7d5e03cSMatthew Dillon extern void ar9300_Stub_AniPhyErrReport(struct ath_hal *ah, 214b7d5e03cSMatthew Dillon const struct ath_rx_status *rs); 215b7d5e03cSMatthew Dillon extern void ar9300_Stub_ProcessMibIntr(struct ath_hal *, const HAL_NODE_STATS *); 216b7d5e03cSMatthew Dillon extern void ar9300_Stub_RxMonitor(struct ath_hal *, const HAL_NODE_STATS *, 217b7d5e03cSMatthew Dillon const struct ieee80211_channel *); 218b7d5e03cSMatthew Dillon extern void ar9300_Stub_AniPoll(struct ath_hal *, const struct ieee80211_channel *); 219b7d5e03cSMatthew Dillon extern void ar9300_Stub_AniReset(struct ath_hal *, const struct ieee80211_channel *, 220b7d5e03cSMatthew Dillon HAL_OPMODE, int); 221b7d5e03cSMatthew Dillon 222b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_IsNFCalInProgress(struct ath_hal *ah); 223b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_WaitNFCalComplete(struct ath_hal *ah, int i); 224b7d5e03cSMatthew Dillon extern void ar9300_Stub_EnableDfs(struct ath_hal *ah, HAL_PHYERR_PARAM *pe); 225b7d5e03cSMatthew Dillon extern void ar9300_Stub_GetDfsThresh(struct ath_hal *ah, HAL_PHYERR_PARAM *pe); 226b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_ProcessRadarEvent(struct ath_hal *ah, 227b7d5e03cSMatthew Dillon struct ath_rx_status *rxs, uint64_t fulltsf, const char *buf, 228b7d5e03cSMatthew Dillon HAL_DFS_EVENT *event); 229b7d5e03cSMatthew Dillon extern HAL_BOOL ar9300_Stub_IsFastClockEnabled(struct ath_hal *ah); 230b7d5e03cSMatthew Dillon extern uint32_t ar9300_Stub_Get11nExtBusy(struct ath_hal *ah); 231b7d5e03cSMatthew Dillon 232b7d5e03cSMatthew Dillon extern void ar9300_Stub_ConfigPCIE(struct ath_hal *ah, HAL_BOOL restore, 233b7d5e03cSMatthew Dillon HAL_BOOL powerOff); 234b7d5e03cSMatthew Dillon extern void ar9300_Stub_DisablePCIE(struct ath_hal *ah); 235b7d5e03cSMatthew Dillon 236b7d5e03cSMatthew Dillon 237b7d5e03cSMatthew Dillon 238b7d5e03cSMatthew Dillon #endif /* __AR9300_STUB_FUNCS_H__ */ 239