Lines Matching defs:ath_hal
25 * Clients of the HAL call ath_hal_attach to obtain a reference to an ath_hal
663 * ath_hal structure for use with the device. Hardware-related operations
669 struct ath_hal {
687 const HAL_RATE_TABLE *__ahdecl(*ah_getRateTable)(struct ath_hal *,
689 void __ahdecl(*ah_detach)(struct ath_hal*);
692 HAL_BOOL __ahdecl(*ah_reset)(struct ath_hal *, HAL_OPMODE,
695 HAL_BOOL __ahdecl(*ah_phyDisable)(struct ath_hal *);
696 HAL_BOOL __ahdecl(*ah_disable)(struct ath_hal *);
697 void __ahdecl(*ah_configPCIE)(struct ath_hal *, HAL_BOOL restore);
698 void __ahdecl(*ah_disablePCIE)(struct ath_hal *);
699 void __ahdecl(*ah_setPCUConfig)(struct ath_hal *);
700 HAL_BOOL __ahdecl(*ah_perCalibration)(struct ath_hal*, HAL_CHANNEL *,
702 HAL_BOOL __ahdecl(*ah_perCalibrationN)(struct ath_hal *, HAL_CHANNEL *,
704 HAL_BOOL __ahdecl(*ah_resetCalValid)(struct ath_hal *, HAL_CHANNEL *);
705 HAL_BOOL __ahdecl(*ah_setTxPower)(struct ath_hal *,
707 HAL_BOOL __ahdecl(*ah_setTxPowerLimit)(struct ath_hal *, uint32_t);
708 HAL_BOOL __ahdecl(*ah_setBoardValues)(struct ath_hal *,
712 HAL_BOOL __ahdecl(*ah_updateTxTrigLevel)(struct ath_hal*,
714 int __ahdecl(*ah_setupTxQueue)(struct ath_hal *, HAL_TX_QUEUE,
716 HAL_BOOL __ahdecl(*ah_setTxQueueProps)(struct ath_hal *, int q,
718 HAL_BOOL __ahdecl(*ah_getTxQueueProps)(struct ath_hal *, int q,
720 HAL_BOOL __ahdecl(*ah_releaseTxQueue)(struct ath_hal *ah, u_int q);
721 HAL_BOOL __ahdecl(*ah_resetTxQueue)(struct ath_hal *ah, u_int q);
722 uint32_t __ahdecl(*ah_getTxDP)(struct ath_hal*, u_int);
723 HAL_BOOL __ahdecl(*ah_setTxDP)(struct ath_hal*, u_int, uint32_t txdp);
724 uint32_t __ahdecl(*ah_numTxPending)(struct ath_hal *, u_int q);
725 HAL_BOOL __ahdecl(*ah_startTxDma)(struct ath_hal*, u_int);
726 HAL_BOOL __ahdecl(*ah_stopTxDma)(struct ath_hal*, u_int);
727 HAL_BOOL __ahdecl(*ah_setupTxDesc)(struct ath_hal *, struct ath_desc *,
735 HAL_BOOL __ahdecl(*ah_setupXTxDesc)(struct ath_hal *, struct ath_desc*,
739 HAL_BOOL __ahdecl(*ah_fillTxDesc)(struct ath_hal *, struct ath_desc *,
742 HAL_STATUS __ahdecl(*ah_procTxDesc)(struct ath_hal *,
744 void __ahdecl(*ah_getTxIntrQueue)(struct ath_hal *, uint32_t *);
745 void __ahdecl(*ah_reqTxIntrDesc)(struct ath_hal *, struct ath_desc*);
748 uint32_t __ahdecl(*ah_getRxDP)(struct ath_hal*);
749 void __ahdecl(*ah_setRxDP)(struct ath_hal*, uint32_t rxdp);
750 void __ahdecl(*ah_enableReceive)(struct ath_hal*);
751 HAL_BOOL __ahdecl(*ah_stopDmaReceive)(struct ath_hal*);
752 void __ahdecl(*ah_startPcuReceive)(struct ath_hal*);
753 void __ahdecl(*ah_stopPcuReceive)(struct ath_hal*);
754 void __ahdecl(*ah_setMulticastFilter)(struct ath_hal*,
756 HAL_BOOL __ahdecl(*ah_setMulticastFilterIndex)(struct ath_hal*,
758 HAL_BOOL __ahdecl(*ah_clrMulticastFilterIndex)(struct ath_hal*,
760 uint32_t __ahdecl(*ah_getRxFilter)(struct ath_hal*);
761 void __ahdecl(*ah_setRxFilter)(struct ath_hal*, uint32_t);
762 HAL_BOOL __ahdecl(*ah_setupRxDesc)(struct ath_hal *, struct ath_desc *,
764 HAL_STATUS __ahdecl(*ah_procRxDesc)(struct ath_hal *,
768 void __ahdecl(*ah_rxMonitor)(struct ath_hal *,
770 void __ahdecl(*ah_procMibEvent)(struct ath_hal *,
774 HAL_STATUS __ahdecl(*ah_getCapability)(struct ath_hal *,
777 HAL_BOOL __ahdecl(*ah_setCapability)(struct ath_hal *,
780 HAL_BOOL __ahdecl(*ah_getDiagState)(struct ath_hal *, int request,
783 void __ahdecl(*ah_getMacAddress)(struct ath_hal *, uint8_t *);
784 HAL_BOOL __ahdecl(*ah_setMacAddress)(struct ath_hal *, const uint8_t*);
785 void __ahdecl(*ah_getBssIdMask)(struct ath_hal *, uint8_t *);
786 HAL_BOOL __ahdecl(*ah_setBssIdMask)(struct ath_hal *, const uint8_t*);
787 HAL_BOOL __ahdecl(*ah_setRegulatoryDomain)(struct ath_hal*,
789 void __ahdecl(*ah_setLedState)(struct ath_hal*, HAL_LED_STATE);
790 void __ahdecl(*ah_writeAssocid)(struct ath_hal*,
792 HAL_BOOL __ahdecl(*ah_gpioCfgOutput)(struct ath_hal *,
794 HAL_BOOL __ahdecl(*ah_gpioCfgInput)(struct ath_hal *, uint32_t gpio);
795 uint32_t __ahdecl(*ah_gpioGet)(struct ath_hal *, uint32_t gpio);
796 HAL_BOOL __ahdecl(*ah_gpioSet)(struct ath_hal *,
798 void __ahdecl(*ah_gpioSetIntr)(struct ath_hal*, u_int, uint32_t);
799 uint32_t __ahdecl(*ah_getTsf32)(struct ath_hal*);
800 uint64_t __ahdecl(*ah_getTsf64)(struct ath_hal*);
801 void __ahdecl(*ah_resetTsf)(struct ath_hal*);
802 HAL_BOOL __ahdecl(*ah_detectCardPresent)(struct ath_hal*);
803 void __ahdecl(*ah_updateMibCounters)(struct ath_hal*,
805 HAL_RFGAIN __ahdecl(*ah_getRfGain)(struct ath_hal*);
806 u_int __ahdecl(*ah_getDefAntenna)(struct ath_hal*);
807 void __ahdecl(*ah_setDefAntenna)(struct ath_hal*, u_int);
808 HAL_ANT_SETTING __ahdecl(*ah_getAntennaSwitch)(struct ath_hal*);
809 HAL_BOOL __ahdecl(*ah_setAntennaSwitch)(struct ath_hal*,
811 HAL_BOOL __ahdecl(*ah_setSifsTime)(struct ath_hal*, u_int);
812 u_int __ahdecl(*ah_getSifsTime)(struct ath_hal*);
813 HAL_BOOL __ahdecl(*ah_setSlotTime)(struct ath_hal*, u_int);
814 u_int __ahdecl(*ah_getSlotTime)(struct ath_hal*);
815 HAL_BOOL __ahdecl(*ah_setAckTimeout)(struct ath_hal*, u_int);
816 u_int __ahdecl(*ah_getAckTimeout)(struct ath_hal*);
817 HAL_BOOL __ahdecl(*ah_setAckCTSRate)(struct ath_hal*, u_int);
818 u_int __ahdecl(*ah_getAckCTSRate)(struct ath_hal*);
819 HAL_BOOL __ahdecl(*ah_setCTSTimeout)(struct ath_hal*, u_int);
820 u_int __ahdecl(*ah_getCTSTimeout)(struct ath_hal*);
821 HAL_BOOL __ahdecl(*ah_setDecompMask)(struct ath_hal*, uint16_t, int);
822 void __ahdecl(*ah_setCoverageClass)(struct ath_hal*, uint8_t, int);
825 uint32_t __ahdecl(*ah_getKeyCacheSize)(struct ath_hal*);
826 HAL_BOOL __ahdecl(*ah_resetKeyCacheEntry)(struct ath_hal*, uint16_t);
827 HAL_BOOL __ahdecl(*ah_isKeyCacheEntryValid)(struct ath_hal *,
829 HAL_BOOL __ahdecl(*ah_setKeyCacheEntry)(struct ath_hal*,
832 HAL_BOOL __ahdecl(*ah_setKeyCacheEntryMac)(struct ath_hal*,
836 HAL_BOOL __ahdecl(*ah_setPowerMode)(struct ath_hal*,
838 HAL_POWER_MODE __ahdecl(*ah_getPowerMode)(struct ath_hal*);
839 int16_t __ahdecl(*ah_getChanNoise)(struct ath_hal *, HAL_CHANNEL *);
842 ath_hal*,
845 void __ahdecl(*ah_beaconInit)(struct ath_hal *,
847 void __ahdecl(*ah_setStationBeaconTimers)(struct ath_hal*,
849 void __ahdecl(*ah_resetStationBeaconTimers)(struct ath_hal*);
852 HAL_BOOL __ahdecl(*ah_isInterruptPending)(struct ath_hal*);
853 HAL_BOOL __ahdecl(*ah_getPendingInterrupts)(struct ath_hal*, HAL_INT*);
854 HAL_INT __ahdecl(*ah_getInterrupts)(struct ath_hal*);
855 HAL_INT __ahdecl(*ah_setInterrupts)(struct ath_hal*, HAL_INT);
878 extern struct ath_hal * __ahdecl ath_hal_attach(uint16_t devid, HAL_SOFTC,
892 extern HAL_BOOL __ahdecl ath_hal_init_channels(struct ath_hal *,
902 extern void __ahdecl ath_hal_process_noisefloor(struct ath_hal *ah);
907 extern u_int __ahdecl ath_hal_getwirelessmodes(struct ath_hal*, HAL_CTRY_CODE);
912 extern uint16_t __ahdecl ath_hal_computetxtime(struct ath_hal *,
919 extern HAL_BOOL __ahdecl ath_hal_ispublicsafetysku(struct ath_hal *);
924 extern HAL_BOOL ath_hal_isgsmsku(struct ath_hal *);
930 extern int __ahdecl ath_hal_mhz2ieee(struct ath_hal *, u_int mhz, u_int flags);