003 File Manager
Current Path:
/usr/src/sys/contrib/dev/ath/ath_hal/ar9300
usr
/
src
/
sys
/
contrib
/
dev
/
ath
/
ath_hal
/
ar9300
/
📁
..
📄
ar9300.h
(73.54 KB)
📄
ar9300_aic.c
(25.58 KB)
📄
ar9300_ani.c
(49.8 KB)
📄
ar9300_aphrodite10.ini
(59.29 KB)
📄
ar9300_attach.c
(174.66 KB)
📄
ar9300_beacon.c
(7.28 KB)
📄
ar9300_devid.h
(3.01 KB)
📄
ar9300_eeprom.c
(163.03 KB)
📄
ar9300_freebsd.c
(28.11 KB)
📄
ar9300_freebsd.h
(4 KB)
📄
ar9300_freebsd_inc.h
(11.58 KB)
📄
ar9300_gpio.c
(20.62 KB)
📄
ar9300_interrupts.c
(26.58 KB)
📄
ar9300_jupiter10.ini
(71.26 KB)
📄
ar9300_jupiter20.ini
(77.96 KB)
📄
ar9300_keycache.c
(21.45 KB)
📄
ar9300_mci.c
(72.45 KB)
📄
ar9300_misc.c
(137.4 KB)
📄
ar9300_osprey22.ini
(103.16 KB)
📄
ar9300_osprey22_scoemu.ini
(98.42 KB)
📄
ar9300_paprd.c
(95.21 KB)
📄
ar9300_phy.c
(46.46 KB)
📄
ar9300_power.c
(52.81 KB)
📄
ar9300_radar.c
(19.78 KB)
📄
ar9300_radio.c
(9.69 KB)
📄
ar9300_raw_adc_capture.c
(1.36 KB)
📄
ar9300_recv.c
(9.57 KB)
📄
ar9300_recv_ds.c
(7.81 KB)
📄
ar9300_reset.c
(225.67 KB)
📄
ar9300_rtt.c
(1020 B)
📄
ar9300_sim.c
(804 B)
📄
ar9300_sim.h
(871 B)
📄
ar9300_spectral.c
(19.97 KB)
📄
ar9300_stub.c
(7.26 KB)
📄
ar9300_stub.h
(145 B)
📄
ar9300_stub_funcs.c
(22.62 KB)
📄
ar9300_stub_funcs.h
(12.75 KB)
📄
ar9300_timer.c
(5.59 KB)
📄
ar9300_tx99_tgt.c
(31.81 KB)
📄
ar9300_txbf.c
(1017 B)
📄
ar9300_txbf.h
(856 B)
📄
ar9300_txbf_cal.c
(937 B)
📄
ar9300_xmit.c
(32.01 KB)
📄
ar9300_xmit_ds.c
(28.62 KB)
📄
ar9300desc.h
(21.6 KB)
📄
ar9300eep.h
(28.6 KB)
📄
ar9300paprd.h
(1.72 KB)
📄
ar9300phy.h
(94.99 KB)
📄
ar9300radar.h
(1.83 KB)
📄
ar9300reg.h
(153.77 KB)
📄
ar9300template_ap121.h
(22.42 KB)
📄
ar9300template_aphrodite.h
(22.17 KB)
📄
ar9300template_cus157.h
(21.77 KB)
📄
ar9300template_generic.h
(22.15 KB)
📄
ar9300template_hb112.h
(22.49 KB)
📄
ar9300template_hb116.h
(22.45 KB)
📄
ar9300template_osprey_k31.h
(22.51 KB)
📄
ar9300template_wasp_2.h
(21.97 KB)
📄
ar9300template_wasp_k31.h
(21.93 KB)
📄
ar9300template_xb112.h
(22.58 KB)
📄
ar9300template_xb113.h
(22.4 KB)
📄
ar9330_11.ini
(62.51 KB)
📄
ar9330_12.ini
(58.84 KB)
📄
ar9340.ini
(117.7 KB)
📄
ar9462_2p0_initvals.h
(42.75 KB)
📄
ar9462_2p1_initvals.h
(10.28 KB)
📄
ar9485.ini
(63.9 KB)
📄
ar9485_1_1.ini
(62.75 KB)
📄
ar953x.ini
(46.38 KB)
📄
ar955x.ini
(75.5 KB)
📄
ar9580.ini
(109.06 KB)
📄
eeprom.diff
(10.13 KB)
📄
osprey_reg_map.h
(227.66 KB)
📄
osprey_reg_map_macro.h
(3.91 MB)
📄
poseidon_reg_map_macro.h
(213.28 KB)
📄
scorpion_reg_map.h
(98.86 KB)
📄
scorpion_reg_map_macro.h
(3.11 MB)
📄
sources
(1.73 KB)
📄
wasp_reg_map.h
(4.55 KB)
Editing: ar9300_stub.c
/* * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting * Copyright (c) 2002-2008 Atheros Communications, Inc. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * * $FreeBSD: head/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c 235972 2012-05-25 05:01:27Z adrian $ */ #include "opt_ah.h" #include "ah.h" #include "ah_internal.h" #include "ah_devid.h" #include "ar9300/ar9300.h" #include "ar9300/ar9300reg.h" #include "ar9300/ar9300phy.h" #include "ar9300/ar9300_stub.h" #include "ar9300/ar9300_stub_funcs.h" void ar9300_set_stub_functions(struct ath_hal *ah) { // ath_hal_printf(ah, "%s: setting stub functions\n", __func__); ah->ah_getRateTable = ar9300_Stub_GetRateTable; // ah->ah_detach = ar9300_Stub_detach; /* Reset Functions */ ah->ah_reset = ar9300_Stub_Reset; ah->ah_phyDisable = ar9300_Stub_PhyDisable; ah->ah_disable = ar9300_Stub_Disable; ah->ah_configPCIE = ar9300_Stub_ConfigPCIE; ah->ah_disablePCIE = ar9300_Stub_DisablePCIE; ah->ah_setPCUConfig = ar9300_Stub_SetPCUConfig; ah->ah_perCalibration = ar9300_Stub_PerCalibration; ah->ah_perCalibrationN = ar9300_Stub_PerCalibrationN; ah->ah_resetCalValid = ar9300_Stub_ResetCalValid; ah->ah_setTxPowerLimit = ar9300_Stub_SetTxPowerLimit; ah->ah_getChanNoise = ath_hal_getChanNoise; /* Transmit functions */ ah->ah_updateTxTrigLevel = ar9300_Stub_UpdateTxTrigLevel; ah->ah_setupTxQueue = ar9300_Stub_SetupTxQueue; ah->ah_setTxQueueProps = ar9300_Stub_SetTxQueueProps; ah->ah_getTxQueueProps = ar9300_Stub_GetTxQueueProps; ah->ah_releaseTxQueue = ar9300_Stub_ReleaseTxQueue; ah->ah_resetTxQueue = ar9300_Stub_ResetTxQueue; ah->ah_getTxDP = ar9300_Stub_GetTxDP; ah->ah_setTxDP = ar9300_Stub_SetTxDP; ah->ah_numTxPending = ar9300_Stub_NumTxPending; ah->ah_startTxDma = ar9300_Stub_StartTxDma; ah->ah_stopTxDma = ar9300_Stub_StopTxDma; ah->ah_setupTxDesc = ar9300_Stub_SetupTxDesc; ah->ah_setupXTxDesc = ar9300_Stub_SetupXTxDesc; ah->ah_fillTxDesc = ar9300_Stub_FillTxDesc; ah->ah_procTxDesc = ar9300_Stub_ProcTxDesc; ah->ah_getTxIntrQueue = ar9300_Stub_GetTxIntrQueue; ah->ah_reqTxIntrDesc = ar9300_Stub_IntrReqTxDesc; ah->ah_getTxCompletionRates = ar9300_Stub_GetTxCompletionRates; /* RX Functions */ ah->ah_getRxDP = ar9300_Stub_GetRxDP; ah->ah_setRxDP = ar9300_Stub_SetRxDP; ah->ah_enableReceive = ar9300_Stub_EnableReceive; ah->ah_stopDmaReceive = ar9300_Stub_StopDmaReceive; ah->ah_startPcuReceive = ar9300_Stub_StartPcuReceive; ah->ah_stopPcuReceive = ar9300_Stub_StopPcuReceive; ah->ah_setMulticastFilter = ar9300_Stub_SetMulticastFilter; ah->ah_setMulticastFilterIndex = ar9300_Stub_SetMulticastFilterIndex; ah->ah_clrMulticastFilterIndex = ar9300_Stub_ClrMulticastFilterIndex; ah->ah_getRxFilter = ar9300_Stub_GetRxFilter; ah->ah_setRxFilter = ar9300_Stub_SetRxFilter; ah->ah_setupRxDesc = ar9300_Stub_SetupRxDesc; ah->ah_procRxDesc = ar9300_Stub_ProcRxDesc; ah->ah_rxMonitor = ar9300_Stub_RxMonitor; ah->ah_aniPoll = ar9300_Stub_AniPoll; ah->ah_procMibEvent = ar9300_Stub_ProcessMibIntr; /* Misc Functions */ ah->ah_getCapability = ar9300_Stub_GetCapability; ah->ah_setCapability = ar9300_Stub_SetCapability; ah->ah_getDiagState = ar9300_Stub_GetDiagState; ah->ah_getMacAddress = ar9300_Stub_GetMacAddress; ah->ah_setMacAddress = ar9300_Stub_SetMacAddress; ah->ah_getBssIdMask = ar9300_Stub_GetBssIdMask; ah->ah_setBssIdMask = ar9300_Stub_SetBssIdMask; ah->ah_setRegulatoryDomain = ar9300_Stub_SetRegulatoryDomain; ah->ah_setLedState = ar9300_Stub_SetLedState; ah->ah_writeAssocid = ar9300_Stub_WriteAssocid; ah->ah_gpioCfgInput = ar9300_Stub_GpioCfgInput; ah->ah_gpioCfgOutput = ar9300_Stub_GpioCfgOutput; ah->ah_gpioGet = ar9300_Stub_GpioGet; ah->ah_gpioSet = ar9300_Stub_GpioSet; ah->ah_gpioSetIntr = ar9300_Stub_GpioSetIntr; ah->ah_getTsf32 = ar9300_Stub_GetTsf32; ah->ah_getTsf64 = ar9300_Stub_GetTsf64; ah->ah_resetTsf = ar9300_Stub_ResetTsf; ah->ah_detectCardPresent = ar9300_Stub_DetectCardPresent; ah->ah_updateMibCounters = ar9300_Stub_UpdateMibCounters; ah->ah_getRfGain = ar9300_Stub_GetRfgain; ah->ah_getDefAntenna = ar9300_Stub_GetDefAntenna; ah->ah_setDefAntenna = ar9300_Stub_SetDefAntenna; ah->ah_getAntennaSwitch = ar9300_Stub_GetAntennaSwitch; ah->ah_setAntennaSwitch = ar9300_Stub_SetAntennaSwitch; ah->ah_setSifsTime = ar9300_Stub_SetSifsTime; ah->ah_getSifsTime = ar9300_Stub_GetSifsTime; ah->ah_setSlotTime = ar9300_Stub_SetSlotTime; ah->ah_getSlotTime = ar9300_Stub_GetSlotTime; ah->ah_setAckTimeout = ar9300_Stub_SetAckTimeout; ah->ah_getAckTimeout = ar9300_Stub_GetAckTimeout; ah->ah_setAckCTSRate = ar9300_Stub_SetAckCTSRate; ah->ah_getAckCTSRate = ar9300_Stub_GetAckCTSRate; ah->ah_setCTSTimeout = ar9300_Stub_SetCTSTimeout; ah->ah_getCTSTimeout = ar9300_Stub_GetCTSTimeout; ah->ah_setDecompMask = ar9300_Stub_SetDecompMask; ah->ah_setCoverageClass = ar9300_Stub_SetCoverageClass; ah->ah_setQuiet = ar9300_Stub_SetQuiet; ah->ah_getMibCycleCounts = ar9300_Stub_GetMibCycleCounts; /* DFS Functions */ ah->ah_enableDfs = ar9300_Stub_EnableDfs; ah->ah_getDfsThresh = ar9300_Stub_GetDfsThresh; ah->ah_procRadarEvent = ar9300_Stub_ProcessRadarEvent; ah->ah_isFastClockEnabled = ar9300_Stub_IsFastClockEnabled; ah->ah_get11nExtBusy = ar9300_Stub_Get11nExtBusy; /* Key Cache Functions */ ah->ah_getKeyCacheSize = ar9300_Stub_GetKeyCacheSize; ah->ah_resetKeyCacheEntry = ar9300_Stub_ResetKeyCacheEntry; ah->ah_isKeyCacheEntryValid = ar9300_Stub_IsKeyCacheEntryValid; ah->ah_setKeyCacheEntry = ar9300_Stub_SetKeyCacheEntry; ah->ah_setKeyCacheEntryMac = ar9300_Stub_SetKeyCacheEntryMac; /* Power Management Functions */ ah->ah_setPowerMode = ar9300_Stub_SetPowerMode; ah->ah_getPowerMode = ar9300_Stub_GetPowerMode; /* Beacon Functions */ ah->ah_setBeaconTimers = ar9300_Stub_SetBeaconTimers; ah->ah_beaconInit = ar9300_Stub_BeaconInit; ah->ah_setStationBeaconTimers = ar9300_Stub_SetStaBeaconTimers; ah->ah_resetStationBeaconTimers = ar9300_Stub_ResetStaBeaconTimers; ah->ah_getNextTBTT = ar9300_Stub_GetNextTBTT; /* Interrupt Functions */ ah->ah_isInterruptPending = ar9300_Stub_IsInterruptPending; ah->ah_getPendingInterrupts = ar9300_Stub_GetPendingInterrupts; ah->ah_getInterrupts = ar9300_Stub_GetInterrupts; ah->ah_setInterrupts = ar9300_Stub_SetInterrupts; AH_PRIVATE(ah)->ah_getChannelEdges = ar9300_Stub_GetChannelEdges; AH_PRIVATE(ah)->ah_getWirelessModes = ar9300_Stub_GetWirelessModes; AH_PRIVATE(ah)->ah_eepromRead = ar9300_Stub_EepromRead; #ifdef AH_SUPPORT_WRITE_EEPROM AH_PRIVATE(ah)->ah_eepromWrite = ar9300_Stub_EepromWrite; #endif AH_PRIVATE(ah)->ah_getChipPowerLimits = ar9300_Stub_GetChipPowerLimits; }
Upload File
Create Folder