Lines Matching refs:ath_hal

133 	void	  (*rfDetach)(struct ath_hal *ah);
134 void (*writeRegs)(struct ath_hal *,
136 uint32_t *(*getRfBank)(struct ath_hal *ah, int bank);
137 HAL_BOOL (*setChannel)(struct ath_hal *,
139 HAL_BOOL (*setRfRegs)(struct ath_hal *,
142 HAL_BOOL (*setPowerTable)(struct ath_hal *ah,
145 HAL_BOOL (*getChannelMaxMinPower)(struct ath_hal *ah,
148 int16_t (*getNfAdjust)(struct ath_hal *, const HAL_CHANNEL_INTERNAL*);
326 HAL_BOOL (*ah_aniControl) (struct ath_hal *, HAL_ANI_CMD cmd, int param);
427 struct ath_hal;
429 extern uint32_t ar5212GetRadioRev(struct ath_hal *ah);
432 extern void ar5212Detach(struct ath_hal *ah);
433 extern HAL_BOOL ar5212ChipTest(struct ath_hal *ah);
434 extern HAL_BOOL ar5212GetChannelEdges(struct ath_hal *ah,
436 extern HAL_BOOL ar5212FillCapabilityInfo(struct ath_hal *ah);
438 extern void ar5212SetBeaconTimers(struct ath_hal *ah,
440 extern void ar5212BeaconInit(struct ath_hal *ah,
442 extern void ar5212ResetStaBeaconTimers(struct ath_hal *ah);
443 extern void ar5212SetStaBeaconTimers(struct ath_hal *ah,
445 extern uint64_t ar5212GetNextTBTT(struct ath_hal *);
447 extern HAL_BOOL ar5212IsInterruptPending(struct ath_hal *ah);
448 extern HAL_BOOL ar5212GetPendingInterrupts(struct ath_hal *ah, HAL_INT *);
449 extern HAL_INT ar5212GetInterrupts(struct ath_hal *ah);
450 extern HAL_INT ar5212SetInterrupts(struct ath_hal *ah, HAL_INT ints);
452 extern uint32_t ar5212GetKeyCacheSize(struct ath_hal *);
453 extern HAL_BOOL ar5212IsKeyCacheEntryValid(struct ath_hal *, uint16_t entry);
454 extern HAL_BOOL ar5212ResetKeyCacheEntry(struct ath_hal *ah, uint16_t entry);
455 extern HAL_BOOL ar5212SetKeyCacheEntryMac(struct ath_hal *,
457 extern HAL_BOOL ar5212SetKeyCacheEntry(struct ath_hal *ah, uint16_t entry,
460 extern void ar5212GetMacAddress(struct ath_hal *ah, uint8_t *mac);
461 extern HAL_BOOL ar5212SetMacAddress(struct ath_hal *ah, const uint8_t *);
462 extern void ar5212GetBssIdMask(struct ath_hal *ah, uint8_t *mac);
463 extern HAL_BOOL ar5212SetBssIdMask(struct ath_hal *, const uint8_t *);
464 extern HAL_BOOL ar5212EepromRead(struct ath_hal *, u_int off, uint16_t *data);
465 extern HAL_BOOL ar5212EepromWrite(struct ath_hal *, u_int off, uint16_t data);
466 extern HAL_BOOL ar5212SetRegulatoryDomain(struct ath_hal *ah,
468 extern u_int ar5212GetWirelessModes(struct ath_hal *ah);
469 extern void ar5212EnableRfKill(struct ath_hal *);
470 extern HAL_BOOL ar5212GpioCfgOutput(struct ath_hal *, uint32_t gpio,
472 extern HAL_BOOL ar5212GpioCfgInput(struct ath_hal *, uint32_t gpio);
473 extern HAL_BOOL ar5212GpioSet(struct ath_hal *, uint32_t gpio, uint32_t val);
474 extern uint32_t ar5212GpioGet(struct ath_hal *ah, uint32_t gpio);
475 extern void ar5212GpioSetIntr(struct ath_hal *ah, u_int, uint32_t ilevel);
476 extern void ar5212SetLedState(struct ath_hal *ah, HAL_LED_STATE state);
477 extern void ar5212WriteAssocid(struct ath_hal *ah, const uint8_t *bssid,
479 extern uint32_t ar5212GetTsf32(struct ath_hal *ah);
480 extern uint64_t ar5212GetTsf64(struct ath_hal *ah);
481 extern void ar5212SetTsf64(struct ath_hal *ah, uint64_t tsf64);
482 extern void ar5212ResetTsf(struct ath_hal *ah);
483 extern void ar5212SetBasicRate(struct ath_hal *ah, HAL_RATE_SET *pSet);
484 extern uint32_t ar5212GetRandomSeed(struct ath_hal *ah);
485 extern HAL_BOOL ar5212DetectCardPresent(struct ath_hal *ah);
486 extern void ar5212EnableMibCounters(struct ath_hal *);
487 extern void ar5212DisableMibCounters(struct ath_hal *);
488 extern void ar5212UpdateMibCounters(struct ath_hal *ah, HAL_MIB_STATS* stats);
489 extern HAL_BOOL ar5212IsJapanChannelSpreadSupported(struct ath_hal *ah);
490 extern uint32_t ar5212GetCurRssi(struct ath_hal *ah);
491 extern u_int ar5212GetDefAntenna(struct ath_hal *ah);
492 extern void ar5212SetDefAntenna(struct ath_hal *ah, u_int antenna);
493 extern HAL_ANT_SETTING ar5212GetAntennaSwitch(struct ath_hal *);
494 extern HAL_BOOL ar5212SetAntennaSwitch(struct ath_hal *, HAL_ANT_SETTING);
495 extern HAL_BOOL ar5212IsSleepAfterBeaconBroken(struct ath_hal *ah);
496 extern HAL_BOOL ar5212SetSifsTime(struct ath_hal *, u_int);
497 extern u_int ar5212GetSifsTime(struct ath_hal *);
498 extern HAL_BOOL ar5212SetSlotTime(struct ath_hal *, u_int);
499 extern u_int ar5212GetSlotTime(struct ath_hal *);
500 extern HAL_BOOL ar5212SetAckTimeout(struct ath_hal *, u_int);
501 extern u_int ar5212GetAckTimeout(struct ath_hal *);
502 extern HAL_BOOL ar5212SetAckCTSRate(struct ath_hal *, u_int);
503 extern u_int ar5212GetAckCTSRate(struct ath_hal *);
504 extern HAL_BOOL ar5212SetCTSTimeout(struct ath_hal *, u_int);
505 extern u_int ar5212GetCTSTimeout(struct ath_hal *);
506 extern HAL_BOOL ar5212SetDecompMask(struct ath_hal *, uint16_t, int);
507 void ar5212SetCoverageClass(struct ath_hal *, uint8_t, int);
508 extern void ar5212SetPCUConfig(struct ath_hal *);
509 extern HAL_BOOL ar5212Use32KHzclock(struct ath_hal *ah, HAL_OPMODE opmode);
510 extern void ar5212SetupClock(struct ath_hal *ah, HAL_OPMODE opmode);
511 extern void ar5212RestoreClock(struct ath_hal *ah, HAL_OPMODE opmode);
512 extern int16_t ar5212GetNfAdjust(struct ath_hal *,
514 extern void ar5212SetCompRegs(struct ath_hal *ah);
515 extern HAL_STATUS ar5212GetCapability(struct ath_hal *, HAL_CAPABILITY_TYPE,
517 extern HAL_BOOL ar5212SetCapability(struct ath_hal *, HAL_CAPABILITY_TYPE,
519 extern HAL_BOOL ar5212GetDiagState(struct ath_hal *ah, int request,
522 extern HAL_STATUS ar5212SetQuiet(struct ath_hal *ah, uint32_t period,
524 extern HAL_BOOL ar5212GetMibCycleCounts(struct ath_hal *,
526 extern void ar5212SetChainMasks(struct ath_hal *, uint32_t, uint32_t);
528 extern HAL_BOOL ar5212SetPowerMode(struct ath_hal *ah, HAL_POWER_MODE mode,
530 extern HAL_POWER_MODE ar5212GetPowerMode(struct ath_hal *ah);
531 extern HAL_BOOL ar5212GetPowerStatus(struct ath_hal *ah);
533 extern uint32_t ar5212GetRxDP(struct ath_hal *ath, HAL_RX_QUEUE);
534 extern void ar5212SetRxDP(struct ath_hal *ah, uint32_t rxdp, HAL_RX_QUEUE);
535 extern void ar5212EnableReceive(struct ath_hal *ah);
536 extern HAL_BOOL ar5212StopDmaReceive(struct ath_hal *ah);
537 extern void ar5212StartPcuReceive(struct ath_hal *ah);
538 extern void ar5212StopPcuReceive(struct ath_hal *ah);
539 extern void ar5212SetMulticastFilter(struct ath_hal *ah,
541 extern HAL_BOOL ar5212ClrMulticastFilterIndex(struct ath_hal *, uint32_t ix);
542 extern HAL_BOOL ar5212SetMulticastFilterIndex(struct ath_hal *, uint32_t ix);
543 extern uint32_t ar5212GetRxFilter(struct ath_hal *ah);
544 extern void ar5212SetRxFilter(struct ath_hal *ah, uint32_t bits);
545 extern HAL_BOOL ar5212SetupRxDesc(struct ath_hal *,
547 extern HAL_STATUS ar5212ProcRxDesc(struct ath_hal *ah, struct ath_desc *,
551 extern HAL_BOOL ar5212Reset(struct ath_hal *ah, HAL_OPMODE opmode,
554 extern HAL_BOOL ar5212SetChannel(struct ath_hal *,
556 extern void ar5212SetOperatingMode(struct ath_hal *ah, int opmode);
557 extern HAL_BOOL ar5212PhyDisable(struct ath_hal *ah);
558 extern HAL_BOOL ar5212Disable(struct ath_hal *ah);
559 extern HAL_BOOL ar5212ChipReset(struct ath_hal *ah,
561 extern HAL_BOOL ar5212PerCalibration(struct ath_hal *ah,
563 extern HAL_BOOL ar5212PerCalibrationN(struct ath_hal *ah,
566 extern HAL_BOOL ar5212ResetCalValid(struct ath_hal *ah,
568 extern int16_t ar5212GetNoiseFloor(struct ath_hal *ah);
569 extern void ar5212InitNfCalHistBuffer(struct ath_hal *);
571 extern void ar5212SetSpurMitigation(struct ath_hal *,
573 extern HAL_BOOL ar5212SetAntennaSwitchInternal(struct ath_hal *ah,
575 extern HAL_BOOL ar5212SetTxPowerLimit(struct ath_hal *ah, uint32_t limit);
576 extern HAL_BOOL ar5212GetChipPowerLimits(struct ath_hal *ah,
578 extern void ar5212InitializeGainValues(struct ath_hal *);
579 extern HAL_RFGAIN ar5212GetRfgain(struct ath_hal *ah);
580 extern void ar5212RequestRfgain(struct ath_hal *);
582 extern HAL_BOOL ar5212UpdateTxTrigLevel(struct ath_hal *,
584 extern HAL_BOOL ar5212SetTxQueueProps(struct ath_hal *ah, int q,
586 extern HAL_BOOL ar5212GetTxQueueProps(struct ath_hal *ah, int q,
588 extern int ar5212SetupTxQueue(struct ath_hal *ah, HAL_TX_QUEUE type,
590 extern HAL_BOOL ar5212ReleaseTxQueue(struct ath_hal *ah, u_int q);
591 extern HAL_BOOL ar5212ResetTxQueue(struct ath_hal *ah, u_int q);
592 extern uint32_t ar5212GetTxDP(struct ath_hal *ah, u_int q);
593 extern HAL_BOOL ar5212SetTxDP(struct ath_hal *ah, u_int q, uint32_t txdp);
594 extern HAL_BOOL ar5212StartTxDma(struct ath_hal *ah, u_int q);
595 extern uint32_t ar5212NumTxPending(struct ath_hal *ah, u_int q);
596 extern HAL_BOOL ar5212StopTxDma(struct ath_hal *ah, u_int q);
597 extern HAL_BOOL ar5212SetupTxDesc(struct ath_hal *ah, struct ath_desc *ds,
603 extern HAL_BOOL ar5212SetupXTxDesc(struct ath_hal *, struct ath_desc *,
607 extern HAL_BOOL ar5212FillTxDesc(struct ath_hal *ah, struct ath_desc *ds,
611 extern HAL_STATUS ar5212ProcTxDesc(struct ath_hal *ah,
613 extern void ar5212GetTxIntrQueue(struct ath_hal *ah, uint32_t *);
614 extern void ar5212IntrReqTxDesc(struct ath_hal *ah, struct ath_desc *);
615 extern HAL_BOOL ar5212GetTxCompletionRates(struct ath_hal *ah,
617 extern void ar5212SetTxDescLink(struct ath_hal *ah, void *ds,
619 extern void ar5212GetTxDescLink(struct ath_hal *ah, void *ds,
621 extern void ar5212GetTxDescLinkPtr(struct ath_hal *ah, void *ds,
624 extern const HAL_RATE_TABLE *ar5212GetRateTable(struct ath_hal *, u_int mode);
626 extern void ar5212AniAttach(struct ath_hal *, const struct ar5212AniParams *,
628 extern void ar5212AniDetach(struct ath_hal *);
629 extern struct ar5212AniState *ar5212AniGetCurrentState(struct ath_hal *);
630 extern struct ar5212Stats *ar5212AniGetCurrentStats(struct ath_hal *);
631 extern HAL_BOOL ar5212AniControl(struct ath_hal *, HAL_ANI_CMD cmd, int param);
632 extern HAL_BOOL ar5212AniSetParams(struct ath_hal *,
635 extern void ar5212AniPhyErrReport(struct ath_hal *ah,
637 extern void ar5212ProcessMibIntr(struct ath_hal *, const HAL_NODE_STATS *);
638 extern void ar5212RxMonitor(struct ath_hal *, const HAL_NODE_STATS *,
640 extern void ar5212AniPoll(struct ath_hal *, const struct ieee80211_channel *);
641 extern void ar5212AniReset(struct ath_hal *, const struct ieee80211_channel *,
644 extern HAL_BOOL ar5212IsNFCalInProgress(struct ath_hal *ah);
645 extern HAL_BOOL ar5212WaitNFCalComplete(struct ath_hal *ah, int i);
646 extern void ar5212EnableDfs(struct ath_hal *ah, HAL_PHYERR_PARAM *pe);
647 extern HAL_BOOL ar5212GetDfsDefaultThresh(struct ath_hal *ah,
649 extern void ar5212GetDfsThresh(struct ath_hal *ah, HAL_PHYERR_PARAM *pe);
650 extern HAL_BOOL ar5212ProcessRadarEvent(struct ath_hal *ah,
653 extern HAL_BOOL ar5212IsFastClockEnabled(struct ath_hal *ah);
654 extern uint32_t ar5212Get11nExtBusy(struct ath_hal *ah);