Lines Matching refs:ath_hal

85 	void		(*ah_writeIni)(struct ath_hal *,
87 void (*ah_spurMitigate)(struct ath_hal *,
91 HAL_BOOL (*ah_cal_initcal)(struct ath_hal *,
93 void (*ah_cal_pacal)(struct ath_hal *,
97 void (*ah_olcInit)(struct ath_hal *);
98 void (*ah_olcTempCompensation)(struct ath_hal *);
101 HAL_BOOL (*ah_setPowerCalTable) (struct ath_hal *ah,
107 void (*ah_initPLL) (struct ath_hal *ah,
111 void (*ah_btCoexSetDiversity)(struct ath_hal *ah);
173 extern HAL_BOOL ar2133RfAttach(struct ath_hal *, HAL_STATUS *);
175 struct ath_hal;
177 extern uint32_t ar5416GetRadioRev(struct ath_hal *ah);
181 extern void ar5416Detach(struct ath_hal *ah);
182 extern void ar5416AttachPCIE(struct ath_hal *ah);
183 extern HAL_BOOL ar5416FillCapabilityInfo(struct ath_hal *ah);
185 extern void ar5416AniAttach(struct ath_hal *, const struct ar5212AniParams *,
187 extern void ar5416AniDetach(struct ath_hal *);
188 extern HAL_BOOL ar5416AniControl(struct ath_hal *, HAL_ANI_CMD cmd, int param);
189 extern HAL_BOOL ar5416AniSetParams(struct ath_hal *,
191 extern void ar5416ProcessMibIntr(struct ath_hal *, const HAL_NODE_STATS *);
192 extern void ar5416RxMonitor(struct ath_hal *, const HAL_NODE_STATS *,
194 extern void ar5416AniPoll(struct ath_hal *, const struct ieee80211_channel *);
195 extern void ar5416AniReset(struct ath_hal *, const struct ieee80211_channel *,
198 extern void ar5416SetBeaconTimers(struct ath_hal *, const HAL_BEACON_TIMERS *);
199 extern void ar5416BeaconInit(struct ath_hal *ah,
201 extern void ar5416ResetStaBeaconTimers(struct ath_hal *ah);
202 extern void ar5416SetStaBeaconTimers(struct ath_hal *ah,
204 extern uint64_t ar5416GetNextTBTT(struct ath_hal *);
207 extern void ar5416SetBTCoexInfo(struct ath_hal *ah,
209 extern void ar5416BTCoexConfig(struct ath_hal *ah,
211 extern void ar5416BTCoexAntennaDiversity(struct ath_hal *ah);
212 extern void ar5416BTCoexSetQcuThresh(struct ath_hal *ah, int qnum);
213 extern void ar5416BTCoexSetWeights(struct ath_hal *ah, uint32_t stompType);
214 extern void ar5416BTCoexSetupBmissThresh(struct ath_hal *ah,
216 extern void ar5416BTCoexSetParameter(struct ath_hal *ah, uint32_t type,
218 extern void ar5416BTCoexDisable(struct ath_hal *ah);
219 extern int ar5416BTCoexEnable(struct ath_hal *ah);
220 extern void ar5416InitBTCoex(struct ath_hal *ah);
222 extern HAL_BOOL ar5416EepromRead(struct ath_hal *, u_int off, uint16_t *data);
223 extern HAL_BOOL ar5416EepromWrite(struct ath_hal *, u_int off, uint16_t data);
225 extern HAL_BOOL ar5416IsInterruptPending(struct ath_hal *ah);
226 extern HAL_BOOL ar5416GetPendingInterrupts(struct ath_hal *, HAL_INT *masked);
227 extern HAL_INT ar5416SetInterrupts(struct ath_hal *ah, HAL_INT ints);
229 extern HAL_BOOL ar5416GpioCfgOutput(struct ath_hal *, uint32_t gpio,
231 extern HAL_BOOL ar5416GpioCfgInput(struct ath_hal *, uint32_t gpio);
232 extern HAL_BOOL ar5416GpioSet(struct ath_hal *, uint32_t gpio, uint32_t val);
233 extern uint32_t ar5416GpioGet(struct ath_hal *ah, uint32_t gpio);
234 extern void ar5416GpioSetIntr(struct ath_hal *ah, u_int, uint32_t ilevel);
236 extern u_int ar5416GetWirelessModes(struct ath_hal *ah);
237 extern void ar5416SetLedState(struct ath_hal *ah, HAL_LED_STATE state);
238 extern uint64_t ar5416GetTsf64(struct ath_hal *ah);
239 extern void ar5416SetTsf64(struct ath_hal *ah, uint64_t tsf64);
240 extern void ar5416ResetTsf(struct ath_hal *ah);
241 extern uint32_t ar5416GetCurRssi(struct ath_hal *ah);
242 extern HAL_BOOL ar5416SetAntennaSwitch(struct ath_hal *, HAL_ANT_SETTING);
243 extern HAL_BOOL ar5416SetDecompMask(struct ath_hal *, uint16_t, int);
244 extern void ar5416SetCoverageClass(struct ath_hal *, uint8_t, int);
245 extern HAL_BOOL ar5416GetMibCycleCounts(struct ath_hal *ah,
247 extern void ar5416SetChainMasks(struct ath_hal *ah, uint32_t, uint32_t);
248 extern uint32_t ar5416Get11nExtBusy(struct ath_hal *ah);
249 extern void ar5416Set11nMac2040(struct ath_hal *ah, HAL_HT_MACMODE mode);
250 extern HAL_HT_RXCLEAR ar5416Get11nRxClear(struct ath_hal *ah);
251 extern void ar5416Set11nRxClear(struct ath_hal *ah, HAL_HT_RXCLEAR rxclear);
252 extern HAL_STATUS ar5416SetQuiet(struct ath_hal *ah, uint32_t period,
254 extern HAL_STATUS ar5416GetCapability(struct ath_hal *ah,
256 extern HAL_BOOL ar5416SetCapability(struct ath_hal *ah,
259 extern HAL_BOOL ar5416GetDiagState(struct ath_hal *ah, int request,
262 extern HAL_BOOL ar5416SetRifsDelay(struct ath_hal *ah,
265 extern void ar5416EnableDfs(struct ath_hal *ah, HAL_PHYERR_PARAM *pe);
266 extern HAL_BOOL ar5416GetDfsDefaultThresh(struct ath_hal *ah,
268 extern void ar5416GetDfsThresh(struct ath_hal *ah, HAL_PHYERR_PARAM *pe);
269 extern HAL_BOOL ar5416ProcessRadarEvent(struct ath_hal *ah,
272 extern HAL_BOOL ar5416IsFastClockEnabled(struct ath_hal *ah);
275 extern void ar5416ConfigureSpectralScan(struct ath_hal *ah, HAL_SPECTRAL_PARAM *ss);
276 extern void ar5416GetSpectralParams(struct ath_hal *ah, HAL_SPECTRAL_PARAM *ss);
277 extern HAL_BOOL ar5416IsSpectralActive(struct ath_hal *ah);
278 extern HAL_BOOL ar5416IsSpectralEnabled(struct ath_hal *ah);
279 extern void ar5416StartSpectralScan(struct ath_hal *ah);
280 extern void ar5416StopSpectralScan(struct ath_hal *ah);
281 extern uint32_t ar5416GetSpectralConfig(struct ath_hal *ah);
282 extern void ar5416RestoreSpectralConfig(struct ath_hal *ah, uint32_t restoreval);
284 extern HAL_BOOL ar5416SetPowerMode(struct ath_hal *ah, HAL_POWER_MODE mode,
286 extern HAL_POWER_MODE ar5416GetPowerMode(struct ath_hal *ah);
287 extern HAL_BOOL ar5416GetPowerStatus(struct ath_hal *ah);
289 extern HAL_BOOL ar5416ResetKeyCacheEntry(struct ath_hal *ah, uint16_t entry);
290 extern HAL_BOOL ar5416SetKeyCacheEntry(struct ath_hal *ah, uint16_t entry,
293 extern uint32_t ar5416GetRxFilter(struct ath_hal *ah);
294 extern void ar5416SetRxFilter(struct ath_hal *ah, uint32_t bits);
295 extern HAL_BOOL ar5416StopDmaReceive(struct ath_hal *ah);
296 extern void ar5416StartPcuReceive(struct ath_hal *ah);
297 extern void ar5416StopPcuReceive(struct ath_hal *ah);
298 extern HAL_BOOL ar5416SetupRxDesc(struct ath_hal *,
300 extern HAL_STATUS ar5416ProcRxDesc(struct ath_hal *ah, struct ath_desc *,
304 extern HAL_BOOL ar5416Reset(struct ath_hal *ah, HAL_OPMODE opmode,
307 extern HAL_BOOL ar5416PhyDisable(struct ath_hal *ah);
308 extern HAL_RFGAIN ar5416GetRfgain(struct ath_hal *ah);
309 extern HAL_BOOL ar5416Disable(struct ath_hal *ah);
310 extern HAL_BOOL ar5416ChipReset(struct ath_hal *ah,
312 extern int ar5416GetRegChainOffset(struct ath_hal *ah, int i);
313 extern HAL_BOOL ar5416SetBoardValues(struct ath_hal *,
315 extern HAL_BOOL ar5416SetResetReg(struct ath_hal *, uint32_t type);
316 extern HAL_BOOL ar5416SetTxPowerLimit(struct ath_hal *ah, uint32_t limit);
317 extern HAL_BOOL ar5416SetTransmitPower(struct ath_hal *,
319 extern HAL_BOOL ar5416GetChipPowerLimits(struct ath_hal *ah,
321 extern void ar5416GetChannelCenters(struct ath_hal *,
323 extern void ar5416SetRatesArrayFromTargetPower(struct ath_hal *ah,
332 extern void ar5416GetTargetPowers(struct ath_hal *ah,
337 extern void ar5416GetTargetPowersLeg(struct ath_hal *ah,
342 extern void ar5416InitChainMasks(struct ath_hal *ah);
343 extern void ar5416RestoreChainMask(struct ath_hal *ah);
344 extern void ar5416EepromSetAddac(struct ath_hal *ah,
348 extern void ar5416InitPLL(struct ath_hal *ah,
352 extern void ar5416GetGainBoundariesAndPdadcs(struct ath_hal *ah,
358 extern void ar5416SetGainBoundariesClosedLoop(struct ath_hal *ah,
361 extern uint16_t ar5416GetXpdGainValues(struct ath_hal *ah, uint16_t xpdMask,
363 extern void ar5416WriteDetectorGainBiases(struct ath_hal *ah,
365 extern void ar5416WritePdadcValues(struct ath_hal *ah, int i,
367 extern HAL_BOOL ar5416SetPowerCalTable(struct ath_hal *ah,
370 extern void ar5416WriteTxPowerRateRegisters(struct ath_hal *ah,
373 extern HAL_BOOL ar5416StopTxDma(struct ath_hal *ah, u_int q);
374 extern HAL_BOOL ar5416SetupTxDesc(struct ath_hal *ah, struct ath_desc *ds,
380 extern HAL_BOOL ar5416SetupXTxDesc(struct ath_hal *, struct ath_desc *,
384 extern HAL_BOOL ar5416FillTxDesc(struct ath_hal *ah, struct ath_desc *ds,
388 extern HAL_STATUS ar5416ProcTxDesc(struct ath_hal *ah,
390 extern HAL_BOOL ar5416GetTxCompletionRates(struct ath_hal *ah,
393 extern HAL_BOOL ar5416ResetTxQueue(struct ath_hal *ah, u_int q);
394 extern int ar5416SetupTxQueue(struct ath_hal *ah, HAL_TX_QUEUE type,
397 extern HAL_BOOL ar5416ChainTxDesc(struct ath_hal *ah, struct ath_desc *ds,
402 extern HAL_BOOL ar5416SetupFirstTxDesc(struct ath_hal *ah, struct ath_desc *ds,
405 extern HAL_BOOL ar5416SetupLastTxDesc(struct ath_hal *ah, struct ath_desc *ds,
407 extern HAL_BOOL ar5416SetGlobalTxTimeout(struct ath_hal *ah, u_int tu);
408 extern u_int ar5416GetGlobalTxTimeout(struct ath_hal *ah);
409 extern void ar5416Set11nRateScenario(struct ath_hal *ah, struct ath_desc *ds,
413 extern void ar5416Set11nAggrFirst(struct ath_hal *ah, struct ath_desc *ds,
415 extern void ar5416Set11nAggrMiddle(struct ath_hal *ah, struct ath_desc *ds, u_int numDelims);
416 extern void ar5416Set11nAggrLast(struct ath_hal *ah, struct ath_desc *ds);
417 extern void ar5416Clr11nAggr(struct ath_hal *ah, struct ath_desc *ds);
418 extern void ar5416Set11nVirtualMoreFrag(struct ath_hal *ah,
421 extern void ar5416Set11nBurstDuration(struct ath_hal *ah, struct ath_desc *ds, u_int burstDuration);
423 extern const HAL_RATE_TABLE *ar5416GetRateTable(struct ath_hal *, u_int mode);