Home | History | Annotate | Download | only in ar5212

Lines Matching refs:ath_hal

134 	void	  (*rfDetach)(struct ath_hal *ah);
135 void (*writeRegs)(struct ath_hal *,
137 uint32_t *(*getRfBank)(struct ath_hal *ah, int bank);
138 HAL_BOOL (*setChannel)(struct ath_hal *, HAL_CHANNEL_INTERNAL *);
139 HAL_BOOL (*setRfRegs)(struct ath_hal *,
142 HAL_BOOL (*setPowerTable)(struct ath_hal *ah,
145 HAL_BOOL (*getChannelMaxMinPower)(struct ath_hal *ah, HAL_CHANNEL *,
147 int16_t (*getNfAdjust)(struct ath_hal *, const HAL_CHANNEL_INTERNAL*);
413 struct ath_hal;
415 extern uint32_t ar5212GetRadioRev(struct ath_hal *ah);
418 extern void ar5212Detach(struct ath_hal *ah);
419 extern HAL_BOOL ar5212ChipTest(struct ath_hal *ah);
420 extern HAL_BOOL ar5212GetChannelEdges(struct ath_hal *ah,
422 extern HAL_BOOL ar5212FillCapabilityInfo(struct ath_hal *ah);
424 extern void ar5212SetBeaconTimers(struct ath_hal *ah,
426 extern void ar5212BeaconInit(struct ath_hal *ah,
428 extern void ar5212ResetStaBeaconTimers(struct ath_hal *ah);
429 extern void ar5212SetStaBeaconTimers(struct ath_hal *ah,
432 extern HAL_BOOL ar5212IsInterruptPending(struct ath_hal *ah);
433 extern HAL_BOOL ar5212GetPendingInterrupts(struct ath_hal *ah, HAL_INT *);
434 extern HAL_INT ar5212GetInterrupts(struct ath_hal *ah);
435 extern HAL_INT ar5212SetInterrupts(struct ath_hal *ah, HAL_INT ints);
437 extern uint32_t ar5212GetKeyCacheSize(struct ath_hal *);
438 extern HAL_BOOL ar5212IsKeyCacheEntryValid(struct ath_hal *, uint16_t entry);
439 extern HAL_BOOL ar5212ResetKeyCacheEntry(struct ath_hal *ah, uint16_t entry);
440 extern HAL_BOOL ar5212SetKeyCacheEntryMac(struct ath_hal *,
442 extern HAL_BOOL ar5212SetKeyCacheEntry(struct ath_hal *ah, uint16_t entry,
445 extern void ar5212GetMacAddress(struct ath_hal *ah, uint8_t *mac);
446 extern HAL_BOOL ar5212SetMacAddress(struct ath_hal *ah, const uint8_t *);
447 extern void ar5212GetBssIdMask(struct ath_hal *ah, uint8_t *mac);
448 extern HAL_BOOL ar5212SetBssIdMask(struct ath_hal *, const uint8_t *);
449 extern HAL_BOOL ar5212EepromRead(struct ath_hal *, u_int off, uint16_t *data);
450 extern HAL_BOOL ar5212EepromWrite(struct ath_hal *, u_int off, uint16_t data);
451 extern HAL_BOOL ar5212SetRegulatoryDomain(struct ath_hal *ah,
453 extern u_int ar5212GetWirelessModes(struct ath_hal *ah);
454 extern void ar5212EnableRfKill(struct ath_hal *);
455 extern HAL_BOOL ar5212GpioCfgOutput(struct ath_hal *, uint32_t gpio,
457 extern HAL_BOOL ar5212GpioCfgInput(struct ath_hal *, uint32_t gpio);
458 extern HAL_BOOL ar5212GpioSet(struct ath_hal *, uint32_t gpio, uint32_t val);
459 extern uint32_t ar5212GpioGet(struct ath_hal
460 extern void ar5212GpioSetIntr(struct ath_hal *ah, u_int, uint32_t ilevel);
461 extern void ar5212SetLedState(struct ath_hal *ah, HAL_LED_STATE state);
462 extern void ar5212WriteAssocid(struct ath_hal *ah, const uint8_t *bssid,
464 extern uint32_t ar5212GetTsf32(struct ath_hal *ah);
465 extern uint64_t ar5212GetTsf64(struct ath_hal *ah);
466 extern void ar5212ResetTsf(struct ath_hal *ah);
467 extern void ar5212SetBasicRate(struct ath_hal *ah, HAL_RATE_SET *pSet);
468 extern uint32_t ar5212GetRandomSeed(struct ath_hal *ah);
469 extern HAL_BOOL ar5212DetectCardPresent(struct ath_hal *ah);
470 extern void ar5212EnableMibCounters(struct ath_hal *);
471 extern void ar5212DisableMibCounters(struct ath_hal *);
472 extern void ar5212UpdateMibCounters(struct ath_hal *ah, HAL_MIB_STATS* stats);
473 extern HAL_BOOL ar5212IsJapanChannelSpreadSupported(struct ath_hal *ah);
474 extern uint32_t ar5212GetCurRssi(struct ath_hal *ah);
475 extern u_int ar5212GetDefAntenna(struct ath_hal *ah);
476 extern void ar5212SetDefAntenna(struct ath_hal *ah, u_int antenna);
477 extern HAL_ANT_SETTING ar5212GetAntennaSwitch(struct ath_hal *);
478 extern HAL_BOOL ar5212SetAntennaSwitch(struct ath_hal *, HAL_ANT_SETTING);
479 extern HAL_BOOL ar5212IsSleepAfterBeaconBroken(struct ath_hal *ah);
480 extern HAL_BOOL ar5212SetSifsTime(struct ath_hal *, u_int);
481 extern u_int ar5212GetSifsTime(struct ath_hal *);
482 extern HAL_BOOL ar5212SetSlotTime(struct ath_hal *, u_int);
483 extern u_int ar5212GetSlotTime(struct ath_hal *);
484 extern HAL_BOOL ar5212SetAckTimeout(struct ath_hal *, u_int);
485 extern u_int ar5212GetAckTimeout(struct ath_hal *);
486 extern HAL_BOOL ar5212SetAckCTSRate(struct ath_hal *, u_int);
487 extern u_int ar5212GetAckCTSRate(struct ath_hal *);
488 extern HAL_BOOL ar5212SetCTSTimeout(struct ath_hal *, u_int);
489 extern u_int ar5212GetCTSTimeout(struct ath_hal *);
490 extern HAL_BOOL ar5212SetDecompMask(struct ath_hal *, uint16_t, int);
491 void ar5212SetCoverageClass(struct ath_hal *, uint8_t, int);
492 extern void ar5212SetPCUConfig(struct ath_hal *);
493 extern HAL_BOOL ar5212Use32KHzclock(struct ath_hal *ah, HAL_OPMODE opmode);
494 extern void ar5212SetupClock(struct ath_hal *ah, HAL_OPMODE opmode);
495 extern void ar5212RestoreClock(struct ath_hal *ah, HAL_OPMODE opmode);
496 extern int16_t ar5212GetNfAdjust(struct ath_hal *,
498 extern void ar5212SetCompRegs(struct ath_hal *ah);
499 extern HAL_STATUS ar5212GetCapability(struct ath_hal *, HAL_CAPABILITY_TYPE,
501 extern HAL_BOOL ar5212SetCapability(struct ath_hal *, HAL_CAPABILITY_TYPE,
503 extern HAL_BOOL ar5212GetDiagState(struct ath_hal *ah, int request,
507 extern HAL_BOOL ar5212SetPowerMode(struct ath_hal *ah, HAL_POWER_MODE mode,
509 extern HAL_POWER_MODE ar5212GetPowerMode(struct ath_hal *ah);
510 extern HAL_BOOL ar5212GetPowerStatus(struct ath_hal *ah);
512 extern uint32_t ar5212GetRxDP(struct ath_hal *ath);
513 extern void ar5212SetRxDP(struct ath_hal *ah, uint32_t rxdp);
514 extern void ar5212EnableReceive(struct ath_hal *ah);
515 extern HAL_BOOL ar5212StopDmaReceive(struct ath_hal *ah);
516 extern void ar5212StartPcuReceive(struct ath_hal *ah);
517 extern void ar5212StopPcuReceive(struct ath_hal *ah);
518 extern void ar5212SetMulticastFilter(struct ath_hal *ah,
520 extern HAL_BOOL ar5212ClrMulticastFilterIndex(struct ath_hal *, uint32_t ix);
521 extern HAL_BOOL ar5212SetMulticastFilterIndex(struct ath_hal *, uint32_t ix);
522 extern uint32_t ar5212GetRxFilter(struct ath_hal *ah);
523 extern void ar5212SetRxFilter(struct ath_hal *ah, uint32_t bits);
524 extern HAL_BOOL ar5212SetupRxDesc(struct ath_hal *,
526 extern HAL_STATUS ar5212ProcRxDesc(struct ath_hal *ah, struct ath_desc *,
530 extern HAL_BOOL ar5212Reset(struct ath_hal *ah, HAL_OPMODE opmode,
532 extern HAL_BOOL ar5212SetChannel(struct ath_hal *, HAL_CHANNEL_INTERNAL *);
533 extern void ar5212SetOperatingMode(struct ath_hal *ah, int opmode);
534 extern HAL_BOOL ar5212PhyDisable(struct ath_hal *ah);
535 extern HAL_BOOL ar5212Disable(struct ath_hal *ah);
536 extern HAL_BOOL ar5212ChipReset(struct ath_hal *ah, HAL_CHANNEL *);
537 extern HAL_BOOL ar5212PerCalibration(struct ath_hal *ah, HAL_CHANNEL *chan,
539 extern HAL_BOOL ar5212PerCalibrationN(struct ath_hal *ah, HAL_CHANNEL *chan,
541 extern HAL_BOOL ar5212ResetCalValid(struct ath_hal *ah, HAL_CHANNEL *chan);
542 extern int16_t ar5212GetNoiseFloor(struct ath_hal *ah);
543 extern void ar5212InitNfCalHistBuffer(struct ath_hal *);
545 extern void ar5212SetSpurMitigation(struct ath_hal *, HAL_CHANNEL_INTERNAL *);
546 extern HAL_BOOL ar5212SetAntennaSwitchInternal(struct ath_hal *ah,
548 extern HAL_BOOL ar5212SetTxPowerLimit(struct ath_hal *ah, uint32_t limit);
549 extern HAL_BOOL ar5212GetChipPowerLimits(struct ath_hal *ah,
551 extern void ar5212InitializeGainValues(struct ath_hal *);
552 extern HAL_RFGAIN ar5212GetRfgain(struct ath_hal *ah);
553 extern void ar5212RequestRfgain(struct ath_hal *);
555 extern HAL_BOOL ar5212UpdateTxTrigLevel(struct ath_hal *,
557 extern HAL_BOOL ar5212SetTxQueueProps(struct ath_hal *ah, int q,
559 extern HAL_BOOL ar5212GetTxQueueProps(struct ath_hal *ah, int q,
561 extern int ar5212SetupTxQueue(struct ath_hal *ah, HAL_TX_QUEUE type,
563 extern HAL_BOOL ar5212ReleaseTxQueue(struct ath_hal *ah, u_int q);
564 extern HAL_BOOL ar5212ResetTxQueue(struct ath_hal *ah, u_int q);
565 extern uint32_t ar5212GetTxDP(struct ath_hal *ah, u_int q);
566 extern HAL_BOOL ar5212SetTxDP(struct ath_hal *ah, u_int q, uint32_t txdp);
567 extern HAL_BOOL ar5212StartTxDma(struct ath_hal *ah, u_int q);
568 extern uint32_t ar5212NumTxPending(struct ath_hal *ah, u_int q);
569 extern HAL_BOOL ar5212StopTxDma(struct ath_hal *ah, u_int q);
570 extern HAL_BOOL ar5212SetupTxDesc(struct ath_hal *ah, struct ath_desc *ds,
576 extern HAL_BOOL ar5212SetupXTxDesc(struct ath_hal *, struct ath_desc *,
580 extern HAL_BOOL ar5212FillTxDesc(struct ath_hal *ah, struct ath_desc *ds,
583 extern HAL_STATUS ar5212ProcTxDesc(struct ath_hal *ah,
585 extern void ar5212GetTxIntrQueue(struct ath_hal *ah, uint32_t *);
586 extern void ar5212IntrReqTxDesc(struct ath_hal *ah, struct ath_desc *);
588 extern const HAL_RATE_TABLE *ar5212GetRateTable(struct ath_hal *, u_int mode);
590 extern void ar5212AniAttach(struct ath_hal *, const struct ar5212AniParams *,
592 extern void ar5212AniDetach(struct ath_hal *);
593 extern struct ar5212AniState *ar5212AniGetCurrentState(struct ath_hal *);
594 extern struct ar5212Stats *ar5212AniGetCurrentStats(struct ath_hal *);
595 extern HAL_BOOL ar5212AniControl(struct ath_hal *, HAL_ANI_CMD cmd, int param);
596 extern HAL_BOOL ar5212AniSetParams(struct ath_hal *,
599 extern void ar5212AniPhyErrReport(struct ath_hal *ah,
601 extern void ar5212ProcessMibIntr(struct ath_hal *, const HAL_NODE_STATS *);
602 extern void ar5212AniPoll(struct ath_hal *, const HAL_NODE_STATS *,
604 extern void ar5212AniReset(struct ath_hal *, HAL_CHANNEL_INTERNAL *,
607 extern HAL_BOOL ar5212IsNFCalInProgress(struct ath_hal *ah);
608 extern HAL_BOOL ar5212WaitNFCalComplete(struct ath_hal *ah, int i);