FreeBSD kernel ATH device code
ar5416.h File Reference
#include "ar5212/ar5212.h"
#include "ar5416_cal.h"
#include "ah_eeprom_v14.h"
Include dependency graph for ar5416.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  CHAN_CENTERS
 
struct  ar5416NfLimits
 
struct  ath_hal_5416
 

Macros

#define AR5416_MAGIC   0x20065416
 
#define AR5416_DEFAULT_RXCHAINMASK   7
 
#define AR5416_DEFAULT_TXCHAINMASK   1
 
#define AR5416_MAX_RATE_POWER   63
 
#define AR5416_KEYTABLE_SIZE   128
 
#define AR5416_CCA_MAX_GOOD_VALUE   -85
 
#define AR5416_CCA_MAX_HIGH_VALUE   -62
 
#define AR5416_CCA_MIN_BAD_VALUE   -140
 
#define AR9285_CCA_MAX_GOOD_VALUE   -118
 
#define AR5416_SPUR_RSSI_THRESH   40
 
#define AH5416(_ah)   ((struct ath_hal_5416 *)(_ah))
 
#define IS_5416_PCI(ah)   ((AH_PRIVATE(ah)->ah_macVersion) == AR_SREV_VERSION_OWL_PCI)
 
#define IS_5416_PCIE(ah)   ((AH_PRIVATE(ah)->ah_macVersion) == AR_SREV_VERSION_OWL_PCIE)
 
#define IS_PCIE(ah)   (IS_5416_PCIE(ah))
 

Typedefs

typedef enum Ar5416_Rates AR5416_RATES
 

Enumerations

enum  Ar5416_Rates {
  rate6mb , rate9mb , rate12mb , rate18mb ,
  rate24mb , rate36mb , rate48mb , rate54mb ,
  rate1l , rate2l , rate2s , rate5_5l ,
  rate5_5s , rate11l , rate11s , rateXr ,
  rateHt20_0 , rateHt20_1 , rateHt20_2 , rateHt20_3 ,
  rateHt20_4 , rateHt20_5 , rateHt20_6 , rateHt20_7 ,
  rateHt40_0 , rateHt40_1 , rateHt40_2 , rateHt40_3 ,
  rateHt40_4 , rateHt40_5 , rateHt40_6 , rateHt40_7 ,
  rateDupCck , rateDupOfdm , rateExtCck , rateExtOfdm ,
  Ar5416RateSize
}
 

Functions

HAL_BOOL ar2133RfAttach (struct ath_hal *, HAL_STATUS *)
 
uint32_t ar5416GetRadioRev (struct ath_hal *ah)
 
void ar5416InitState (struct ath_hal_5416 *, uint16_t devid, HAL_SOFTC sc, HAL_BUS_TAG st, HAL_BUS_HANDLE sh, HAL_STATUS *status)
 
void ar5416Detach (struct ath_hal *ah)
 
void ar5416AttachPCIE (struct ath_hal *ah)
 
HAL_BOOL ar5416FillCapabilityInfo (struct ath_hal *ah)
 
void ar5416AniAttach (struct ath_hal *, const struct ar5212AniParams *, const struct ar5212AniParams *, HAL_BOOL ena)
 
void ar5416AniDetach (struct ath_hal *)
 
HAL_BOOL ar5416AniControl (struct ath_hal *, HAL_ANI_CMD cmd, int param)
 
HAL_BOOL ar5416AniSetParams (struct ath_hal *, const struct ar5212AniParams *, const struct ar5212AniParams *)
 
void ar5416ProcessMibIntr (struct ath_hal *, const HAL_NODE_STATS *)
 
void ar5416RxMonitor (struct ath_hal *, const HAL_NODE_STATS *, const struct ieee80211_channel *)
 
void ar5416AniPoll (struct ath_hal *, const struct ieee80211_channel *)
 
void ar5416AniReset (struct ath_hal *, const struct ieee80211_channel *, HAL_OPMODE, int)
 
void ar5416SetBeaconTimers (struct ath_hal *, const HAL_BEACON_TIMERS *)
 
void ar5416BeaconInit (struct ath_hal *ah, uint32_t next_beacon, uint32_t beacon_period)
 
void ar5416ResetStaBeaconTimers (struct ath_hal *ah)
 
void ar5416SetStaBeaconTimers (struct ath_hal *ah, const HAL_BEACON_STATE *)
 
uint64_t ar5416GetNextTBTT (struct ath_hal *)
 
void ar5416SetBTCoexInfo (struct ath_hal *ah, HAL_BT_COEX_INFO *btinfo)
 
void ar5416BTCoexConfig (struct ath_hal *ah, HAL_BT_COEX_CONFIG *btconf)
 
void ar5416BTCoexAntennaDiversity (struct ath_hal *ah)
 
void ar5416BTCoexSetQcuThresh (struct ath_hal *ah, int qnum)
 
void ar5416BTCoexSetWeights (struct ath_hal *ah, uint32_t stompType)
 
void ar5416BTCoexSetupBmissThresh (struct ath_hal *ah, uint32_t thresh)
 
void ar5416BTCoexSetParameter (struct ath_hal *ah, uint32_t type, uint32_t value)
 
void ar5416BTCoexDisable (struct ath_hal *ah)
 
int ar5416BTCoexEnable (struct ath_hal *ah)
 
void ar5416InitBTCoex (struct ath_hal *ah)
 
HAL_BOOL ar5416EepromRead (struct ath_hal *, u_int off, uint16_t *data)
 
HAL_BOOL ar5416EepromWrite (struct ath_hal *, u_int off, uint16_t data)
 
HAL_BOOL ar5416IsInterruptPending (struct ath_hal *ah)
 
HAL_BOOL ar5416GetPendingInterrupts (struct ath_hal *, HAL_INT *masked)
 
HAL_INT ar5416SetInterrupts (struct ath_hal *ah, HAL_INT ints)
 
HAL_BOOL ar5416GpioCfgOutput (struct ath_hal *, uint32_t gpio, HAL_GPIO_MUX_TYPE)
 
HAL_BOOL ar5416GpioCfgInput (struct ath_hal *, uint32_t gpio)
 
HAL_BOOL ar5416GpioSet (struct ath_hal *, uint32_t gpio, uint32_t val)
 
uint32_t ar5416GpioGet (struct ath_hal *ah, uint32_t gpio)
 
void ar5416GpioSetIntr (struct ath_hal *ah, u_int, uint32_t ilevel)
 
u_int ar5416GetWirelessModes (struct ath_hal *ah)
 
void ar5416SetLedState (struct ath_hal *ah, HAL_LED_STATE state)
 
uint64_t ar5416GetTsf64 (struct ath_hal *ah)
 
void ar5416SetTsf64 (struct ath_hal *ah, uint64_t tsf64)
 
void ar5416ResetTsf (struct ath_hal *ah)
 
uint32_t ar5416GetCurRssi (struct ath_hal *ah)
 
HAL_BOOL ar5416SetAntennaSwitch (struct ath_hal *, HAL_ANT_SETTING)
 
HAL_BOOL ar5416SetDecompMask (struct ath_hal *, uint16_t, int)
 
void ar5416SetCoverageClass (struct ath_hal *, uint8_t, int)
 
HAL_BOOL ar5416GetMibCycleCounts (struct ath_hal *ah, HAL_SURVEY_SAMPLE *hsample)
 
void ar5416SetChainMasks (struct ath_hal *ah, uint32_t, uint32_t)
 
uint32_t ar5416Get11nExtBusy (struct ath_hal *ah)
 
void ar5416Set11nMac2040 (struct ath_hal *ah, HAL_HT_MACMODE mode)
 
HAL_HT_RXCLEAR ar5416Get11nRxClear (struct ath_hal *ah)
 
void ar5416Set11nRxClear (struct ath_hal *ah, HAL_HT_RXCLEAR rxclear)
 
HAL_STATUS ar5416SetQuiet (struct ath_hal *ah, uint32_t period, uint32_t duration, uint32_t nextStart, HAL_QUIET_FLAG flag)
 
HAL_STATUS ar5416GetCapability (struct ath_hal *ah, HAL_CAPABILITY_TYPE type, uint32_t capability, uint32_t *result)
 
HAL_BOOL ar5416SetCapability (struct ath_hal *ah, HAL_CAPABILITY_TYPE type, uint32_t capability, uint32_t val, HAL_STATUS *status)
 
HAL_BOOL ar5416GetDiagState (struct ath_hal *ah, int request, const void *args, uint32_t argsize, void **result, uint32_t *resultsize)
 
HAL_BOOL ar5416SetRifsDelay (struct ath_hal *ah, const struct ieee80211_channel *chan, HAL_BOOL enable)
 
void ar5416EnableDfs (struct ath_hal *ah, HAL_PHYERR_PARAM *pe)
 
HAL_BOOL ar5416GetDfsDefaultThresh (struct ath_hal *ah, HAL_PHYERR_PARAM *pe)
 
void ar5416GetDfsThresh (struct ath_hal *ah, HAL_PHYERR_PARAM *pe)
 
HAL_BOOL ar5416ProcessRadarEvent (struct ath_hal *ah, struct ath_rx_status *rxs, uint64_t fulltsf, const char *buf, HAL_DFS_EVENT *event)
 
HAL_BOOL ar5416IsFastClockEnabled (struct ath_hal *ah)
 
void ar5416ConfigureSpectralScan (struct ath_hal *ah, HAL_SPECTRAL_PARAM *ss)
 
void ar5416GetSpectralParams (struct ath_hal *ah, HAL_SPECTRAL_PARAM *ss)
 
HAL_BOOL ar5416IsSpectralActive (struct ath_hal *ah)
 
HAL_BOOL ar5416IsSpectralEnabled (struct ath_hal *ah)
 
void ar5416StartSpectralScan (struct ath_hal *ah)
 
void ar5416StopSpectralScan (struct ath_hal *ah)
 
uint32_t ar5416GetSpectralConfig (struct ath_hal *ah)
 
void ar5416RestoreSpectralConfig (struct ath_hal *ah, uint32_t restoreval)
 
HAL_BOOL ar5416SetPowerMode (struct ath_hal *ah, HAL_POWER_MODE mode, int setChip)
 
HAL_POWER_MODE ar5416GetPowerMode (struct ath_hal *ah)
 
HAL_BOOL ar5416GetPowerStatus (struct ath_hal *ah)
 
HAL_BOOL ar5416ResetKeyCacheEntry (struct ath_hal *ah, uint16_t entry)
 
HAL_BOOL ar5416SetKeyCacheEntry (struct ath_hal *ah, uint16_t entry, const HAL_KEYVAL *k, const uint8_t *mac, int xorKey)
 
uint32_t ar5416GetRxFilter (struct ath_hal *ah)
 
void ar5416SetRxFilter (struct ath_hal *ah, uint32_t bits)
 
HAL_BOOL ar5416StopDmaReceive (struct ath_hal *ah)
 
void ar5416StartPcuReceive (struct ath_hal *ah, HAL_BOOL)
 
void ar5416StopPcuReceive (struct ath_hal *ah)
 
HAL_BOOL ar5416SetupRxDesc (struct ath_hal *, struct ath_desc *, uint32_t size, u_int flags)
 
HAL_STATUS ar5416ProcRxDesc (struct ath_hal *ah, struct ath_desc *, uint32_t, struct ath_desc *, uint64_t, struct ath_rx_status *)
 
HAL_BOOL ar5416Reset (struct ath_hal *ah, HAL_OPMODE opmode, struct ieee80211_channel *chan, HAL_BOOL bChannelChange, HAL_RESET_TYPE, HAL_STATUS *status)
 
HAL_BOOL ar5416PhyDisable (struct ath_hal *ah)
 
HAL_RFGAIN ar5416GetRfgain (struct ath_hal *ah)
 
HAL_BOOL ar5416Disable (struct ath_hal *ah)
 
HAL_BOOL ar5416ChipReset (struct ath_hal *ah, const struct ieee80211_channel *, HAL_RESET_TYPE)
 
int ar5416GetRegChainOffset (struct ath_hal *ah, int i)
 
HAL_BOOL ar5416SetBoardValues (struct ath_hal *, const struct ieee80211_channel *)
 
HAL_BOOL ar5416SetResetReg (struct ath_hal *, uint32_t type)
 
HAL_BOOL ar5416SetTxPowerLimit (struct ath_hal *ah, uint32_t limit)
 
HAL_BOOL ar5416SetTransmitPower (struct ath_hal *, const struct ieee80211_channel *, uint16_t *)
 
HAL_BOOL ar5416GetChipPowerLimits (struct ath_hal *ah, struct ieee80211_channel *chan)
 
void ar5416GetChannelCenters (struct ath_hal *, const struct ieee80211_channel *chan, CHAN_CENTERS *centers)
 
void ar5416SetRatesArrayFromTargetPower (struct ath_hal *ah, const struct ieee80211_channel *chan, int16_t *ratesArray, const CAL_TARGET_POWER_LEG *targetPowerCck, const CAL_TARGET_POWER_LEG *targetPowerCckExt, const CAL_TARGET_POWER_LEG *targetPowerOfdm, const CAL_TARGET_POWER_LEG *targetPowerOfdmExt, const CAL_TARGET_POWER_HT *targetPowerHt20, const CAL_TARGET_POWER_HT *targetPowerHt40)
 
void ar5416GetTargetPowers (struct ath_hal *ah, const struct ieee80211_channel *chan, CAL_TARGET_POWER_HT *powInfo, uint16_t numChannels, CAL_TARGET_POWER_HT *pNewPower, uint16_t numRates, HAL_BOOL isHt40Target)
 
void ar5416GetTargetPowersLeg (struct ath_hal *ah, const struct ieee80211_channel *chan, CAL_TARGET_POWER_LEG *powInfo, uint16_t numChannels, CAL_TARGET_POWER_LEG *pNewPower, uint16_t numRates, HAL_BOOL isExtTarget)
 
void ar5416InitChainMasks (struct ath_hal *ah)
 
void ar5416RestoreChainMask (struct ath_hal *ah)
 
void ar5416EepromSetAddac (struct ath_hal *ah, const struct ieee80211_channel *chan)
 
uint16_t ar5416GetMaxEdgePower (uint16_t freq, CAL_CTL_EDGES *pRdEdgesPower, HAL_BOOL is2GHz)
 
void ar5416InitPLL (struct ath_hal *ah, const struct ieee80211_channel *chan)
 
void ar5416GetGainBoundariesAndPdadcs (struct ath_hal *ah, const struct ieee80211_channel *chan, CAL_DATA_PER_FREQ *pRawDataSet, uint8_t *bChans, uint16_t availPiers, uint16_t tPdGainOverlap, int16_t *pMinCalPower, uint16_t *pPdGainBoundaries, uint8_t *pPDADCValues, uint16_t numXpdGains)
 
void ar5416SetGainBoundariesClosedLoop (struct ath_hal *ah, int i, uint16_t pdGainOverlap_t2, uint16_t gainBoundaries[])
 
uint16_t ar5416GetXpdGainValues (struct ath_hal *ah, uint16_t xpdMask, uint16_t xpdGainValues[])
 
void ar5416WriteDetectorGainBiases (struct ath_hal *ah, uint16_t numXpdGain, uint16_t xpdGainValues[])
 
void ar5416WritePdadcValues (struct ath_hal *ah, int i, uint8_t pdadcValues[])
 
HAL_BOOL ar5416SetPowerCalTable (struct ath_hal *ah, struct ar5416eeprom *pEepData, const struct ieee80211_channel *chan, int16_t *pTxPowerIndexOffset)
 
void ar5416WriteTxPowerRateRegisters (struct ath_hal *ah, const struct ieee80211_channel *chan, const int16_t ratesArray[])
 
HAL_BOOL ar5416StopTxDma (struct ath_hal *ah, u_int q)
 
HAL_BOOL ar5416SetupTxDesc (struct ath_hal *ah, struct ath_desc *ds, u_int pktLen, u_int hdrLen, HAL_PKT_TYPE type, u_int txPower, u_int txRate0, u_int txTries0, u_int keyIx, u_int antMode, u_int flags, u_int rtsctsRate, u_int rtsctsDuration, u_int compicvLen, u_int compivLen, u_int comp)
 
HAL_BOOL ar5416SetupXTxDesc (struct ath_hal *, struct ath_desc *, u_int txRate1, u_int txRetries1, u_int txRate2, u_int txRetries2, u_int txRate3, u_int txRetries3)
 
HAL_BOOL ar5416FillTxDesc (struct ath_hal *ah, struct ath_desc *ds, HAL_DMA_ADDR *bufAddrList, uint32_t *segLenList, u_int descId, u_int qcuId, HAL_BOOL firstSeg, HAL_BOOL lastSeg, const struct ath_desc *ds0)
 
HAL_STATUS ar5416ProcTxDesc (struct ath_hal *ah, struct ath_desc *, struct ath_tx_status *)
 
HAL_BOOL ar5416GetTxCompletionRates (struct ath_hal *ah, const struct ath_desc *ds0, int *rates, int *tries)
 
HAL_BOOL ar5416ResetTxQueue (struct ath_hal *ah, u_int q)
 
int ar5416SetupTxQueue (struct ath_hal *ah, HAL_TX_QUEUE type, const HAL_TXQ_INFO *qInfo)
 
HAL_BOOL ar5416ChainTxDesc (struct ath_hal *ah, struct ath_desc *ds, HAL_DMA_ADDR *bufAddrList, uint32_t *segLenList, u_int pktLen, u_int hdrLen, HAL_PKT_TYPE type, u_int keyIx, HAL_CIPHER cipher, uint8_t delims, HAL_BOOL firstSeg, HAL_BOOL lastSeg, HAL_BOOL lastAggr)
 
HAL_BOOL ar5416SetupFirstTxDesc (struct ath_hal *ah, struct ath_desc *ds, u_int aggrLen, u_int flags, u_int txPower, u_int txRate0, u_int txTries0, u_int antMode, u_int rtsctsRate, u_int rtsctsDuration)
 
HAL_BOOL ar5416SetupLastTxDesc (struct ath_hal *ah, struct ath_desc *ds, const struct ath_desc *ds0)
 
HAL_BOOL ar5416SetGlobalTxTimeout (struct ath_hal *ah, u_int tu)
 
u_int ar5416GetGlobalTxTimeout (struct ath_hal *ah)
 
void ar5416Set11nRateScenario (struct ath_hal *ah, struct ath_desc *ds, u_int durUpdateEn, u_int rtsctsRate, HAL_11N_RATE_SERIES series[], u_int nseries, u_int flags)
 
void ar5416Set11nAggrFirst (struct ath_hal *ah, struct ath_desc *ds, u_int aggrLen, u_int numDelims)
 
void ar5416Set11nAggrMiddle (struct ath_hal *ah, struct ath_desc *ds, u_int numDelims)
 
void ar5416Set11nAggrLast (struct ath_hal *ah, struct ath_desc *ds)
 
void ar5416Clr11nAggr (struct ath_hal *ah, struct ath_desc *ds)
 
void ar5416Set11nVirtualMoreFrag (struct ath_hal *ah, struct ath_desc *ds, u_int vmf)
 
void ar5416Set11nBurstDuration (struct ath_hal *ah, struct ath_desc *ds, u_int burstDuration)
 
const HAL_RATE_TABLEar5416GetRateTable (struct ath_hal *, u_int mode)
 

Macro Definition Documentation

◆ AH5416

#define AH5416 (   _ah)    ((struct ath_hal_5416 *)(_ah))

Definition at line 162 of file ar5416.h.

◆ AR5416_CCA_MAX_GOOD_VALUE

#define AR5416_CCA_MAX_GOOD_VALUE   -85

Definition at line 54 of file ar5416.h.

◆ AR5416_CCA_MAX_HIGH_VALUE

#define AR5416_CCA_MAX_HIGH_VALUE   -62

Definition at line 55 of file ar5416.h.

◆ AR5416_CCA_MIN_BAD_VALUE

#define AR5416_CCA_MIN_BAD_VALUE   -140

Definition at line 56 of file ar5416.h.

◆ AR5416_DEFAULT_RXCHAINMASK

#define AR5416_DEFAULT_RXCHAINMASK   7

Definition at line 49 of file ar5416.h.

◆ AR5416_DEFAULT_TXCHAINMASK

#define AR5416_DEFAULT_TXCHAINMASK   1

Definition at line 50 of file ar5416.h.

◆ AR5416_KEYTABLE_SIZE

#define AR5416_KEYTABLE_SIZE   128

Definition at line 52 of file ar5416.h.

◆ AR5416_MAGIC

#define AR5416_MAGIC   0x20065416

Definition at line 28 of file ar5416.h.

◆ AR5416_MAX_RATE_POWER

#define AR5416_MAX_RATE_POWER   63

Definition at line 51 of file ar5416.h.

◆ AR5416_SPUR_RSSI_THRESH

#define AR5416_SPUR_RSSI_THRESH   40

Definition at line 59 of file ar5416.h.

◆ AR9285_CCA_MAX_GOOD_VALUE

#define AR9285_CCA_MAX_GOOD_VALUE   -118

Definition at line 57 of file ar5416.h.

◆ IS_5416_PCI

#define IS_5416_PCI (   ah)    ((AH_PRIVATE(ah)->ah_macVersion) == AR_SREV_VERSION_OWL_PCI)

Definition at line 164 of file ar5416.h.

◆ IS_5416_PCIE

#define IS_5416_PCIE (   ah)    ((AH_PRIVATE(ah)->ah_macVersion) == AR_SREV_VERSION_OWL_PCIE)

Definition at line 165 of file ar5416.h.

◆ IS_PCIE

#define IS_PCIE (   ah)    (IS_5416_PCIE(ah))

Definition at line 167 of file ar5416.h.

Typedef Documentation

◆ AR5416_RATES

typedef enum Ar5416_Rates AR5416_RATES

Enumeration Type Documentation

◆ Ar5416_Rates

Enumerator
rate6mb 
rate9mb 
rate12mb 
rate18mb 
rate24mb 
rate36mb 
rate48mb 
rate54mb 
rate1l 
rate2l 
rate2s 
rate5_5l 
rate5_5s 
rate11l 
rate11s 
rateXr 
rateHt20_0 
rateHt20_1 
rateHt20_2 
rateHt20_3 
rateHt20_4 
rateHt20_5 
rateHt20_6 
rateHt20_7 
rateHt40_0 
rateHt40_1 
rateHt40_2 
rateHt40_3 
rateHt40_4 
rateHt40_5 
rateHt40_6 
rateHt40_7 
rateDupCck 
rateDupOfdm 
rateExtCck 
rateExtOfdm 
Ar5416RateSize 

Definition at line 36 of file ar5416.h.

Function Documentation

◆ ar2133RfAttach()

◆ ar5416AniAttach()

void ar5416AniAttach ( struct ath_hal ah,
const struct ar5212AniParams params24,
const struct ar5212AniParams params5,
HAL_BOOL  ena 
)

◆ ar5416AniControl()

HAL_BOOL ar5416AniControl ( struct ath_hal ah,
HAL_ANI_CMD  cmd,
int  param 
)

Definition at line 175 of file ar5416_ani.c.

References AH5212, AH5416, ath_hal_5212::ah_aniParams24, ath_hal_5212::ah_curani, AH_FALSE, AH_MARK_ANI_CONTROL, AH_NULL, ath_hal_5212::ah_procPhyErr, ath_hal_5212::ah_stats, AH_TRUE, ar5416AniDetach(), AR_PHY_AGC_CTL1, AR_PHY_AGC_CTL1_COARSE_HIGH, AR_PHY_AGC_CTL1_COARSE_LOW, AR_PHY_CCK_DETECT, AR_PHY_CCK_DETECT_WEAK_SIG_THR_CCK, AR_PHY_DESIRED_SZ, AR_PHY_DESIRED_SZ_TOT_DES, AR_PHY_FIND_SIG, AR_PHY_FIND_SIG_FIRPWR, AR_PHY_FIND_SIG_FIRSTEP, AR_PHY_SFCORR, AR_PHY_SFCORR_EXT, AR_PHY_SFCORR_EXT_M1_THRESH, AR_PHY_SFCORR_EXT_M1_THRESH_LOW, AR_PHY_SFCORR_EXT_M2_THRESH, AR_PHY_SFCORR_EXT_M2_THRESH_LOW, AR_PHY_SFCORR_LOW, AR_PHY_SFCORR_LOW_M1_THRESH_LOW, AR_PHY_SFCORR_LOW_M2_THRESH_LOW, AR_PHY_SFCORR_LOW_M2COUNT_THR_LOW, AR_PHY_SFCORR_LOW_USE_SELF_CORR_LOW, AR_PHY_SFCORR_M1_THRESH, AR_PHY_SFCORR_M2_THRESH, AR_PHY_SFCORR_M2COUNT_THR, AR_PHY_TIMING5, AR_PHY_TIMING5_CYCPWR_THR1, HAL_ANI_STATS::ast_ani_cckerrs, HAL_ANI_STATS::ast_ani_cckhigh, HAL_ANI_STATS::ast_ani_ccklow, HAL_ANI_STATS::ast_ani_nidown, HAL_ANI_STATS::ast_ani_niup, HAL_ANI_STATS::ast_ani_ofdmerrs, HAL_ANI_STATS::ast_ani_ofdmoff, HAL_ANI_STATS::ast_ani_ofdmon, HAL_ANI_STATS::ast_ani_spurdown, HAL_ANI_STATS::ast_ani_spurup, HAL_ANI_STATS::ast_ani_stepdown, HAL_ANI_STATS::ast_ani_stepup, ar5212AniState::cckWeakSigThreshold, ar5212AniParams::coarseHigh, ar5212AniParams::coarseLow, ar5212AniParams::cycPwrThr1, enableAniMIBCounters(), ar5212AniParams::firpwr, ar5212AniParams::firstep, ar5212AniState::firstepLevel, HAL_ANI_CCK_WEAK_SIGNAL_THR, HAL_ANI_ENA, HAL_ANI_FIRSTEP_LEVEL, HAL_ANI_MODE, HAL_ANI_NOISE_IMMUNITY_LEVEL, HAL_ANI_OFDM_WEAK_SIGNAL_DETECTION, HAL_ANI_PHYERR_RESET, HAL_ANI_PRESENT, HAL_ANI_SPUR_IMMUNITY_LEVEL, HAL_DEBUG_ANI, HALDEBUG, ar5212AniParams::maxFirstepLevel, ar5212AniParams::maxNoiseImmunityLevel, ar5212AniParams::maxSpurImmunityLevel, ar5212AniState::noiseImmunityLevel, ar5212AniState::ofdmWeakSigDetectOff, OS_MARK, OS_REG_CLR_BIT, OS_REG_RMW_FIELD, OS_REG_SET_BIT, ar5212AniState::params, ar5212AniState::spurImmunityLevel, and ar5212AniParams::totalSizeDesired.

Referenced by ar5416AniCckErrTrigger(), ar5416AniLowerImmunity(), ar5416AniOfdmErrTrigger(), ar5416AniReset(), and ar5416InitState().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ar5416AniDetach()

void ar5416AniDetach ( struct ath_hal ah)

Definition at line 165 of file ar5416_ani.c.

References disableAniMIBCounters(), HAL_DEBUG_ANI, and HALDEBUG.

Referenced by ar5416AniControl(), and ar5416Detach().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ar5416AniPoll()

◆ ar5416AniReset()

◆ ar5416AniSetParams()

HAL_BOOL ar5416AniSetParams ( struct ath_hal ,
const struct ar5212AniParams ,
const struct ar5212AniParams  
)

◆ ar5416AttachPCIE()

void ar5416AttachPCIE ( struct ath_hal ah)

Definition at line 514 of file ar5416_attach.c.

References AH_FALSE, AH_PRIVATE, ath_hal_configPCIE, and ath_hal_disablePCIE.

Referenced by ar5416Attach(), ar9160Attach(), ar9280Attach(), ar9285Attach(), and ar9287Attach().

Here is the caller graph for this function:

◆ ar5416BeaconInit()

◆ ar5416BTCoexAntennaDiversity()

void ar5416BTCoexAntennaDiversity ( struct ath_hal ah)

Definition at line 183 of file ar5416_btcoex.c.

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416BTCoexConfig()

◆ ar5416BTCoexDisable()

◆ ar5416BTCoexEnable()

◆ ar5416BTCoexSetParameter()

void ar5416BTCoexSetParameter ( struct ath_hal ah,
uint32_t  type,
uint32_t  value 
)

Referenced by ar5416InitState(), and ar9285BTCoexSetParameter().

Here is the caller graph for this function:

◆ ar5416BTCoexSetQcuThresh()

void ar5416BTCoexSetQcuThresh ( struct ath_hal ah,
int  qnum 
)

Definition at line 87 of file ar5416_btcoex.c.

References AH5416, ath_hal_5416::ah_btCoexMode, AR_BT_QCU_THRESH, and SM.

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416BTCoexSetupBmissThresh()

void ar5416BTCoexSetupBmissThresh ( struct ath_hal ah,
uint32_t  thresh 
)

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416BTCoexSetWeights()

void ar5416BTCoexSetWeights ( struct ath_hal ah,
uint32_t  stompType 
)

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416ChainTxDesc()

HAL_BOOL ar5416ChainTxDesc ( struct ath_hal ah,
struct ath_desc ds,
HAL_DMA_ADDR bufAddrList,
uint32_t *  segLenList,
u_int  pktLen,
u_int  hdrLen,
HAL_PKT_TYPE  type,
u_int  keyIx,
HAL_CIPHER  cipher,
uint8_t  delims,
HAL_BOOL  firstSeg,
HAL_BOOL  lastSeg,
HAL_BOOL  lastAggr 
)

◆ ar5416ChipReset()

◆ ar5416Clr11nAggr()

void ar5416Clr11nAggr ( struct ath_hal ah,
struct ath_desc ds 
)

Definition at line 1043 of file ar5416_xmit.c.

References AR5416DESC, and ar5416_desc::ds_ctl1.

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416ConfigureSpectralScan()

◆ ar5416Detach()

void ar5416Detach ( struct ath_hal ah)

◆ ar5416Disable()

HAL_BOOL ar5416Disable ( struct ath_hal ah)

Definition at line 1254 of file ar5416_reset.c.

References AH5416, AH_FALSE, AH_NULL, AH_TRUE, ar5416SetPowerMode(), ar5416SetResetReg(), HAL_PM_AWAKE, and HAL_RESET_COLD.

Referenced by ar5416InitState().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ar5416EepromRead()

HAL_BOOL ar5416EepromRead ( struct ath_hal ah,
u_int  off,
uint16_t *  data 
)

Definition at line 37 of file ar5416_eeprom.c.

References AH_FALSE, AH_TRUE, AR5416_EEPROM_OFFSET, AR5416_EEPROM_S, AR_EEPROM_STATUS_DATA, AR_EEPROM_STATUS_DATA_BUSY, AR_EEPROM_STATUS_DATA_PROT_ACCESS, AR_EEPROM_STATUS_DATA_VAL, ath_hal_wait(), MS, and OS_REG_READ.

Referenced by ar5416InitState().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ar5416EepromSetAddac()

void ar5416EepromSetAddac ( struct ath_hal ah,
const struct ieee80211_channel *  chan 
)

◆ ar5416EepromWrite()

HAL_BOOL ar5416EepromWrite ( struct ath_hal ,
u_int  off,
uint16_t  data 
)

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416EnableDfs()

◆ ar5416FillCapabilityInfo()

HAL_BOOL ar5416FillCapabilityInfo ( struct ath_hal ah)

Definition at line 890 of file ar5416_attach.c.

References ath_hal_private::ah_caps, AH_FALSE, ath_hal_private::ah_ispcie, AH_NULL, AH_PRIVATE, ath_hal_private::ah_rfkillEnabled, ath_hal_private::ah_rfsilent, ath_hal_private::ah_rxornIsFatal, AH_TRUE, AR5416_KEYTABLE_SIZE, AR_EEP_AES, AR_EEP_AMODE, AR_EEP_GMODE, AR_EEP_KCENTRIES, AR_EEP_MAXQCU, AR_EEP_RFKILL, AR_EEP_RFSILENT, AR_EEP_RXMASK, AR_EEP_TXMASK, AR_SREV_OWL, ath_hal_eepromGet, ath_hal_eepromGetFlag, HAL_CAPABILITIES::hal4AddrAggrSupport, HAL_CAPABILITIES::hal4kbSplitTransSupport, HAL_FREQ_BAND_2GHZ, HAL_FREQ_BAND_5GHZ, HAL_INT_BMISC, HAL_INT_BNR, HAL_INT_COMMON, HAL_INT_CST, HAL_INT_DTIMSYNC, HAL_INT_FATAL, HAL_INT_GTT, HAL_INT_RX, HAL_INT_TSFOOR, HAL_INT_TX, HAL_MODE_108G, HAL_MODE_11A, HAL_MODE_11G, HAL_MODE_11NA_HT20, HAL_MODE_11NA_HT40MINUS, HAL_MODE_11NA_HT40PLUS, HAL_MODE_11NG_HT20, HAL_MODE_11NG_HT40MINUS, HAL_MODE_11NG_HT40PLUS, HAL_NUM_TX_QUEUES, HAL_OK, HAL_CAPABILITIES::halAutoSleepSupport, HAL_CAPABILITIES::halBssIdMaskSupport, HAL_CAPABILITIES::halBssidMatchSupport, HAL_CAPABILITIES::halBtCoexSupport, HAL_CAPABILITIES::halBurstSupport, HAL_CAPABILITIES::halChanHalfRate, HAL_CAPABILITIES::halChanQuarterRate, HAL_CAPABILITIES::halChanSpreadSupport, HAL_CAPABILITIES::halChapTuningSupport, HAL_CAPABILITIES::halCipherAesCcmSupport, HAL_CAPABILITIES::halCipherCkipSupport, HAL_CAPABILITIES::halCipherTkipSupport, HAL_CAPABILITIES::halCompressSupport, HAL_CAPABILITIES::halCSTSupport, HAL_CAPABILITIES::halEnhancedDfsSupport, HAL_CAPABILITIES::halEnhancedPmSupport, HAL_CAPABILITIES::halFastCCSupport, HAL_CAPABILITIES::halFastFramesSupport, HAL_CAPABILITIES::halForcePpmSupport, HAL_CAPABILITIES::halGTTSupport, HAL_CAPABILITIES::halHasBBReadWar, HAL_CAPABILITIES::halHasRxSelfLinkedTail, HAL_CAPABILITIES::halHigh2GhzChan, HAL_CAPABILITIES::halHigh5GhzChan, HAL_CAPABILITIES::halHTSupport, HAL_CAPABILITIES::halHwPhyCounterSupport, HAL_CAPABILITIES::halIntrMask, HAL_CAPABILITIES::halKeyCacheSize, HAL_CAPABILITIES::halLow2GhzChan, HAL_CAPABILITIES::halLow5GhzChan, HAL_CAPABILITIES::halMbssidAggrSupport, HAL_CAPABILITIES::halMcastKeySrchSupport, HAL_CAPABILITIES::halMicAesCcmSupport, HAL_CAPABILITIES::halMicCkipSupport, HAL_CAPABILITIES::halMicTkipSupport, HAL_CAPABILITIES::halNumAntCfg2GHz, HAL_CAPABILITIES::halNumAntCfg5GHz, HAL_CAPABILITIES::halNumGpioPins, HAL_CAPABILITIES::halNumMRRetries, HAL_CAPABILITIES::halNumTxMaps, HAL_CAPABILITIES::halPSPollBroken, HAL_CAPABILITIES::halRfSilentSupport, HAL_CAPABILITIES::halRtsAggrLimit, HAL_CAPABILITIES::halRxChainMask, HAL_CAPABILITIES::halRxDoMyBeacon, HAL_CAPABILITIES::halRxStreams, HAL_CAPABILITIES::halRxTstampPrecision, HAL_CAPABILITIES::halSerialiseRegWar, HAL_CAPABILITIES::halSleepAfterBeaconBroken, HAL_CAPABILITIES::halSpectralScanSupport, HAL_CAPABILITIES::halTkipMicTxRxKeySupport, HAL_CAPABILITIES::halTotalQueues, HAL_CAPABILITIES::halTsfAddSupport, HAL_CAPABILITIES::halTurboGSupport, HAL_CAPABILITIES::halTurboPrimeSupport, HAL_CAPABILITIES::halTxChainMask, HAL_CAPABILITIES::halTxStreams, HAL_CAPABILITIES::halTxTstampPrecision, HAL_CAPABILITIES::halVEOLSupport, HAL_CAPABILITIES::halWirelessModes, HAL_CAPABILITIES::halWowMatchPatternExact, HAL_CAPABILITIES::halWowSupport, and owl_get_ntxchains.

Referenced by ar5416Attach(), ar9130FillCapabilityInfo(), ar9160FillCapabilityInfo(), ar9280FillCapabilityInfo(), ar9285FillCapabilityInfo(), and ar9287FillCapabilityInfo().

Here is the caller graph for this function:

◆ ar5416FillTxDesc()

HAL_BOOL ar5416FillTxDesc ( struct ath_hal ah,
struct ath_desc ds,
HAL_DMA_ADDR bufAddrList,
uint32_t *  segLenList,
u_int  descId,
u_int  qcuId,
HAL_BOOL  firstSeg,
HAL_BOOL  lastSeg,
const struct ath_desc ds0 
)

◆ ar5416Get11nExtBusy()

uint32_t ar5416Get11nExtBusy ( struct ath_hal ah)

Definition at line 282 of file ar5416_misc.c.

References AH5416, ath_hal_5416::ah_ctlBusy, ath_hal_5416::ah_cycleCount, ath_hal_5416::ah_extBusy, AR_CCCNT, AR_EXTRCCNT, AR_RCCNT, HAL_DEBUG_ANY, HALDEBUG, and OS_REG_READ.

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416Get11nRxClear()

HAL_HT_RXCLEAR ar5416Get11nRxClear ( struct ath_hal ah)

Definition at line 377 of file ar5416_misc.c.

References AR_DIAG_RXCLEAR_CTL_LOW, AR_DIAG_RXCLEAR_EXT_LOW, AR_DIAG_SW, HAL_RX_CLEAR_CTL_LOW, HAL_RX_CLEAR_EXT_LOW, and OS_REG_READ.

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416GetCapability()

HAL_STATUS ar5416GetCapability ( struct ath_hal ah,
HAL_CAPABILITY_TYPE  type,
uint32_t  capability,
uint32_t *  result 
)

◆ ar5416GetChannelCenters()

◆ ar5416GetChipPowerLimits()

HAL_BOOL ar5416GetChipPowerLimits ( struct ath_hal ah,
struct ieee80211_channel *  chan 
)

Definition at line 925 of file ar5416_reset.c.

References AH5212, ath_hal_5212::ah_rfHal, AH_TRUE, AR5416_MAX_RATE_POWER, RfHalFuncs::getChannelMaxMinPower, HAL_DEBUG_ANY, HAL_DEBUG_RESET, and HALDEBUG.

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416GetCurRssi()

uint32_t ar5416GetCurRssi ( struct ath_hal ah)

Definition at line 186 of file ar5416_misc.c.

References AR9130_PHY_CURRENT_RSSI, AR_PHY_CURRENT_RSSI, AR_SREV_OWL, and OS_REG_READ.

◆ ar5416GetDfsDefaultThresh()

◆ ar5416GetDfsThresh()

◆ ar5416GetDiagState()

HAL_BOOL ar5416GetDiagState ( struct ath_hal ah,
int  request,
const void *  args,
uint32_t  argsize,
void **  result,
uint32_t *  resultsize 
)

Definition at line 532 of file ar5416_misc.c.

References AH5416, AH_FALSE, ath_hal_5416::ah_hangs, AH_TRUE, ar5212GetDiagState(), ar5416DetectBBHang(), ar5416DetectMacHang(), ath_hal_eepromDiag, ath_hal_getdiagstate, HAL_BB_HANGS, HAL_DIAG_CHECK_HANGS, HAL_DIAG_EEPROM, and HAL_MAC_HANGS.

Referenced by ar5416InitState().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ar5416GetGainBoundariesAndPdadcs()

void ar5416GetGainBoundariesAndPdadcs ( struct ath_hal ah,
const struct ieee80211_channel *  chan,
CAL_DATA_PER_FREQ pRawDataSet,
uint8_t *  bChans,
uint16_t  availPiers,
uint16_t  tPdGainOverlap,
int16_t *  pMinCalPower,
uint16_t *  pPdGainBoundaries,
uint8_t *  pPDADCValues,
uint16_t  numXpdGains 
)

◆ ar5416GetGlobalTxTimeout()

u_int ar5416GetGlobalTxTimeout ( struct ath_hal ah)

Definition at line 849 of file ar5416_xmit.c.

References AR_GTXTO, AR_GTXTO_TIMEOUT_LIMIT, MS, and OS_REG_READ.

◆ ar5416GetMaxEdgePower()

uint16_t ar5416GetMaxEdgePower ( uint16_t  freq,
CAL_CTL_EDGES pRdEdgesPower,
HAL_BOOL  is2GHz 
)

Definition at line 2069 of file ar5416_reset.c.

References AR5416_BCHAN_UNUSED, AR5416_MAX_RATE_POWER, AR5416_NUM_BAND_EDGES, CAL_CTL_EDGES_FLAG, CAL_CTL_EDGES_POWER, fbin2freq(), HALASSERT, and MS.

Referenced by ar5416SetPowerPerRateTable(), ar9285SetPowerPerRateTable(), and ar9287SetPowerPerRateTable().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ar5416GetMibCycleCounts()

◆ ar5416GetNextTBTT()

uint64_t ar5416GetNextTBTT ( struct ath_hal ah)

Definition at line 37 of file ar5416_beacon.c.

References AR_NEXT_TBTT, and OS_REG_READ.

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416GetPendingInterrupts()

◆ ar5416GetPowerMode()

◆ ar5416GetPowerStatus()

HAL_BOOL ar5416GetPowerStatus ( struct ath_hal ah)

◆ ar5416GetRadioRev()

uint32_t ar5416GetRadioRev ( struct ath_hal ah)

Definition at line 282 of file ar5416_attach.c.

References AR_PHY, ath_hal_reverseBits(), OS_REG_READ, and OS_REG_WRITE.

Referenced by ar5416Attach(), ar9130Attach(), ar9160Attach(), ar9280Attach(), ar9285Attach(), and ar9287Attach().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ar5416GetRateTable()

const HAL_RATE_TABLE * ar5416GetRateTable ( struct ath_hal ah,
u_int  mode 
)

Definition at line 109 of file ar5416_phy.c.

References ar5212GetRateTable(), ar5416_11na_table, ar5416_11ng_table, ath_hal_setupratetable(), HAL_MODE_11NA_HT20, HAL_MODE_11NA_HT40MINUS, HAL_MODE_11NA_HT40PLUS, HAL_MODE_11NG_HT20, HAL_MODE_11NG_HT40MINUS, and HAL_MODE_11NG_HT40PLUS.

Referenced by ar5416InitState().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ar5416GetRegChainOffset()

int ar5416GetRegChainOffset ( struct ath_hal ah,
int  i 
)

◆ ar5416GetRfgain()

HAL_RFGAIN ar5416GetRfgain ( struct ath_hal ah)

Definition at line 1244 of file ar5416_reset.c.

References HAL_RFGAIN_INACTIVE.

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416GetRxFilter()

uint32_t ar5416GetRxFilter ( struct ath_hal ah)

Definition at line 35 of file ar5416_recv.c.

References AR_PHY_ERR, AR_PHY_ERR_CCK_TIMING, AR_PHY_ERR_OFDM_TIMING, AR_PHY_ERR_RADAR, AR_RX_FILTER, HAL_RX_FILTER_PHYERR, HAL_RX_FILTER_PHYRADAR, and OS_REG_READ.

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416GetSpectralConfig()

uint32_t ar5416GetSpectralConfig ( struct ath_hal ah)

Definition at line 223 of file ar5416_spectral.c.

References AR_PHY_SPECTRAL_SCAN, and OS_REG_READ.

◆ ar5416GetSpectralParams()

◆ ar5416GetTargetPowers()

void ar5416GetTargetPowers ( struct ath_hal ah,
const struct ieee80211_channel *  chan,
CAL_TARGET_POWER_HT powInfo,
uint16_t  numChannels,
CAL_TARGET_POWER_HT pNewPower,
uint16_t  numRates,
HAL_BOOL  isHt40Target 
)

◆ ar5416GetTargetPowersLeg()

void ar5416GetTargetPowersLeg ( struct ath_hal ah,
const struct ieee80211_channel *  chan,
CAL_TARGET_POWER_LEG powInfo,
uint16_t  numChannels,
CAL_TARGET_POWER_LEG pNewPower,
uint16_t  numRates,
HAL_BOOL  isExtTarget 
)

◆ ar5416GetTsf64()

uint64_t ar5416GetTsf64 ( struct ath_hal ah)

Definition at line 109 of file ar5416_misc.c.

References AR_TSF_L32, AR_TSF_U32, and OS_REG_READ.

Referenced by ar5416InitState(), and ar5416Reset().

Here is the caller graph for this function:

◆ ar5416GetTxCompletionRates()

HAL_BOOL ar5416GetTxCompletionRates ( struct ath_hal ah,
const struct ath_desc ds0,
int *  rates,
int *  tries 
)

Definition at line 1099 of file ar5416_xmit.c.

References AH_TRUE, AR5416DESC_CONST, AR_XmitDataTries0, AR_XmitDataTries1, AR_XmitDataTries2, AR_XmitDataTries3, AR_XmitRate0, AR_XmitRate1, AR_XmitRate2, AR_XmitRate3, and MS.

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416GetWirelessModes()

u_int ar5416GetWirelessModes ( struct ath_hal ah)

◆ ar5416GetXpdGainValues()

uint16_t ar5416GetXpdGainValues ( struct ath_hal ah,
uint16_t  xpdMask,
uint16_t  xpdGainValues[] 
)

Definition at line 2257 of file ar5416_reset.c.

References AR5416_NUM_PD_GAINS, AR5416_PD_GAINS_IN_MASK, and HALASSERT.

Referenced by ar5416SetPowerCalTable(), and ar9280SetPowerCalTable().

Here is the caller graph for this function:

◆ ar5416GpioCfgInput()

HAL_BOOL ar5416GpioCfgInput ( struct ath_hal ah,
uint32_t  gpio 
)

Definition at line 139 of file ar5416_gpio.c.

References AH_PRIVATE, AH_TRUE, AR_GPIO_OE_OUT, AR_GPIO_OE_OUT_DRV, AR_GPIO_OE_OUT_DRV_ALL, HAL_DEBUG_GPIO, HALASSERT, HALDEBUG, OS_REG_READ, and OS_REG_WRITE.

Referenced by ar5416BTCoexDisable(), ar5416InitBTCoex(), and ar5416InitState().

Here is the caller graph for this function:

◆ ar5416GpioCfgOutput()

◆ ar5416GpioGet()

uint32_t ar5416GpioGet ( struct ath_hal ah,
uint32_t  gpio 
)

◆ ar5416GpioSet()

HAL_BOOL ar5416GpioSet ( struct ath_hal ah,
uint32_t  gpio,
uint32_t  val 
)

Definition at line 163 of file ar5416_gpio.c.

References AH_PRIVATE, AH_TRUE, AR_GPIO_BIT, AR_GPIO_IN_OUT, HAL_DEBUG_GPIO, HALASSERT, HALDEBUG, OS_REG_READ, and OS_REG_WRITE.

Referenced by ar5416BTCoexDisable(), and ar5416InitState().

Here is the caller graph for this function:

◆ ar5416GpioSetIntr()

◆ ar5416InitBTCoex()

◆ ar5416InitChainMasks()

void ar5416InitChainMasks ( struct ath_hal ah)

Definition at line 1462 of file ar5416_reset.c.

References AH5416, AR_PHY_ANALOG_SWAP, AR_PHY_CAL_CHAINMASK, AR_PHY_RX_CHAINMASK, AR_PHY_SWAP_ALT_CHAIN, AR_SELFGEN_MASK, AR_SREV_HOWL, IS_5416V1, OS_REG_READ, OS_REG_SET_BIT, and OS_REG_WRITE.

Referenced by ar5416Reset().

Here is the caller graph for this function:

◆ ar5416InitPLL()

void ar5416InitPLL ( struct ath_hal ah,
const struct ieee80211_channel *  chan 
)

◆ ar5416InitState()

void ar5416InitState ( struct ath_hal_5416 ahp5416,
uint16_t  devid,
HAL_SOFTC  sc,
HAL_BUS_TAG  st,
HAL_BUS_HANDLE  sh,
HAL_STATUS status 
)

Definition at line 86 of file ar5416_attach.c.

References AH5212, AH5416, ath_hal_5416::ah_5212, ath_hal::ah_aniPoll, ath_hal::ah_beaconInit, ath_hal::ah_btCoexDisable, ath_hal::ah_btCoexEnable, ath_hal::ah_btCoexSetBmissThresh, ath_hal::ah_btCoexSetConfig, ath_hal::ah_btCoexSetInfo, ath_hal::ah_btCoexSetParameter, ath_hal::ah_btCoexSetQcuThresh, ath_hal::ah_btCoexSetWeights, ath_hal::ah_chainTxDesc, ath_hal::ah_clr11nAggr, ath_hal::ah_configPCIE, ath_hal::ah_detach, ath_hal::ah_disable, ath_hal::ah_disablePCIE, ath_hal_private::ah_eepromRead, ath_hal_private::ah_eepromWrite, ath_hal::ah_enableDfs, ath_hal::ah_fillTxDesc, ath_hal::ah_get11nExtBusy, ath_hal::ah_get11nRxClear, ath_hal::ah_getCapability, ath_hal_private::ah_getChipPowerLimits, ath_hal::ah_getDfsDefaultThresh, ath_hal::ah_getDfsThresh, ath_hal::ah_getDiagState, ath_hal::ah_getMibCycleCounts, ath_hal::ah_getNextTBTT, ath_hal::ah_getPendingInterrupts, ath_hal::ah_getRateTable, ath_hal::ah_getRfGain, ath_hal::ah_getRxFilter, ath_hal::ah_getTsf64, ath_hal::ah_getTxCompletionRates, ath_hal_private::ah_getWirelessModes, ath_hal::ah_gpioCfgInput, ath_hal::ah_gpioCfgOutput, ath_hal::ah_gpioGet, ath_hal::ah_gpioSet, ath_hal::ah_gpioSetIntr, ath_hal::ah_isFastClockEnabled, ath_hal::ah_isInterruptPending, ath_hal::ah_magic, ath_hal::ah_perCalibration, ath_hal::ah_perCalibrationN, ath_hal::ah_phyDisable, ath_hal_5212::ah_priv, ath_hal::ah_procMibEvent, ath_hal::ah_procRadarEvent, ath_hal::ah_procRxDesc, ath_hal::ah_procTxDesc, ath_hal::ah_reset, ath_hal::ah_resetCalValid, ath_hal::ah_resetKeyCacheEntry, ath_hal::ah_resetStationBeaconTimers, ath_hal::ah_resetTsf, ath_hal::ah_resetTxQueue, ath_hal::ah_rxMonitor, ath_hal::ah_set11nAggrFirst, ath_hal::ah_set11nAggrLast, ath_hal::ah_set11nAggrMiddle, ath_hal::ah_set11nBurstDuration, ath_hal::ah_set11nMac2040, ath_hal::ah_set11nRateScenario, ath_hal::ah_set11nRxClear, ath_hal::ah_set11nVirtMoreFrag, ath_hal::ah_setAntennaSwitch, ath_hal::ah_setBeaconTimers, ath_hal::ah_setBoardValues, ath_hal::ah_setCapability, ath_hal::ah_setChainMasks, ath_hal::ah_setCoverageClass, ath_hal::ah_setDecompMask, ath_hal::ah_setInterrupts, ath_hal::ah_setKeyCacheEntry, ath_hal::ah_setLedState, ath_hal::ah_setPowerMode, ath_hal::ah_setQuiet, ath_hal::ah_setRxFilter, ath_hal::ah_setStationBeaconTimers, ath_hal::ah_setTsf64, ath_hal::ah_setTxPower, ath_hal::ah_setTxPowerLimit, ath_hal::ah_setupFirstTxDesc, ath_hal::ah_setupLastTxDesc, ath_hal::ah_setupRxDesc, ath_hal::ah_setupTxDesc, ath_hal::ah_setupTxQueue, ath_hal::ah_setupXTxDesc, ath_hal::ah_spectralConfigure, ath_hal::ah_spectralGetConfig, ath_hal::ah_spectralIsActive, ath_hal::ah_spectralIsEnabled, ath_hal::ah_spectralStart, ath_hal::ah_spectralStop, ath_hal::ah_startPcuReceive, ath_hal::ah_stopDmaReceive, ath_hal::ah_stopPcuReceive, ath_hal::ah_stopTxDma, ar5212InitState(), AR5416_DEFAULT_RXCHAINMASK, AR5416_DEFAULT_TXCHAINMASK, AR5416_MAGIC, ar5416AniControl(), ar5416AniPoll(), ar5416BeaconInit(), ar5416BTCoexAntennaDiversity(), ar5416BTCoexConfig(), ar5416BTCoexDisable(), ar5416BTCoexEnable(), ar5416BTCoexSetParameter(), ar5416BTCoexSetQcuThresh(), ar5416BTCoexSetupBmissThresh(), ar5416BTCoexSetWeights(), ar5416ChainTxDesc(), ar5416Clr11nAggr(), ar5416ConfigPCIE(), ar5416ConfigureSpectralScan(), ar5416Detach(), ar5416Disable(), ar5416DisablePCIE(), ar5416EepromRead(), ar5416EepromWrite(), ar5416EnableDfs(), ar5416FillTxDesc(), ar5416Get11nExtBusy(), ar5416Get11nRxClear(), ar5416GetCapability(), ar5416GetChipPowerLimits(), ar5416GetDfsDefaultThresh(), ar5416GetDfsThresh(), ar5416GetDiagState(), ar5416GetMibCycleCounts(), ar5416GetNextTBTT(), ar5416GetPendingInterrupts(), ar5416GetRateTable(), ar5416GetRfgain(), ar5416GetRxFilter(), ar5416GetSpectralParams(), ar5416GetTsf64(), ar5416GetTxCompletionRates(), ar5416GetWirelessModes(), ar5416GpioCfgInput(), ar5416GpioCfgOutput(), ar5416GpioGet(), ar5416GpioSet(), ar5416GpioSetIntr(), ar5416InitCalHardware(), ar5416InitPLL(), ar5416IsFastClockEnabled(), ar5416IsInterruptPending(), ar5416IsSpectralActive(), ar5416IsSpectralEnabled(), ar5416olcInit(), ar5416olcTempCompensation(), ar5416PerCalibration(), ar5416PerCalibrationN(), ar5416PhyDisable(), ar5416ProcessMibIntr(), ar5416ProcessRadarEvent(), ar5416ProcRxDesc(), ar5416ProcTxDesc(), ar5416Reset(), ar5416ResetCalValid(), ar5416ResetKeyCacheEntry(), ar5416ResetStaBeaconTimers(), ar5416ResetTsf(), ar5416ResetTxQueue(), ar5416RxMonitor(), ar5416Set11nAggrFirst(), ar5416Set11nAggrLast(), ar5416Set11nAggrMiddle(), ar5416Set11nBurstDuration(), ar5416Set11nMac2040(), ar5416Set11nRateScenario(), ar5416Set11nRxClear(), ar5416Set11nVirtualMoreFrag(), ar5416SetAntennaSwitch(), ar5416SetBeaconTimers(), ar5416SetBoardValues(), ar5416SetBTCoexInfo(), ar5416SetCapability(), ar5416SetChainMasks(), ar5416SetCoverageClass(), ar5416SetDecompMask(), ar5416SetInterrupts(), ar5416SetKeyCacheEntry(), ar5416SetLedState(), ar5416SetPowerCalTable(), ar5416SetPowerMode(), ar5416SetQuiet(), ar5416SetRxFilter(), ar5416SetStaBeaconTimers(), ar5416SetTransmitPower(), ar5416SetTsf64(), ar5416SetTxPowerLimit(), ar5416SetupFirstTxDesc(), ar5416SetupLastTxDesc(), ar5416SetupRxDesc(), ar5416SetupTxDesc(), ar5416SetupTxQueue(), ar5416SetupXTxDesc(), ar5416SpurMitigate(), ar5416StartPcuReceive(), ar5416StartSpectralScan(), ar5416StopDmaReceive(), ar5416StopPcuReceive(), ar5416StopSpectralScan(), ar5416StopTxDma(), ar5416WriteIni(), AR_FTRIG_256B, AR_FTRIG_512B, AR_FTRIG_S, AR_SREV_9271, AR_SREV_KITE, and ath_hal_private::h.

Referenced by ar5416Attach(), ar9130Attach(), ar9160Attach(), ar9280Attach(), ar9285Attach(), and ar9287Attach().

Here is the caller graph for this function:

◆ ar5416IsFastClockEnabled()

HAL_BOOL ar5416IsFastClockEnabled ( struct ath_hal ah)

Definition at line 429 of file ar5416_radar.c.

References ath_hal_private::ah_curchan, AH_PRIVATE, and IS_5GHZ_FAST_CLOCK_EN.

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416IsInterruptPending()

HAL_BOOL ar5416IsInterruptPending ( struct ath_hal ah)

Definition at line 36 of file ar5416_interrupts.c.

References AH_FALSE, AH_TRUE, AR_INTR_ASYNC_CAUSE, AR_INTR_MAC_IRQ, AR_INTR_SPURIOUS, AR_INTR_SYNC_CAUSE, AR_INTR_SYNC_DEFAULT, AR_SREV_HOWL, and OS_REG_READ.

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416IsSpectralActive()

HAL_BOOL ar5416IsSpectralActive ( struct ath_hal ah)

Definition at line 173 of file ar5416_spectral.c.

References AR_PHY_SPECTRAL_SCAN, AR_PHY_SPECTRAL_SCAN_ACTIVE, MS, and OS_REG_READ.

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416IsSpectralEnabled()

HAL_BOOL ar5416IsSpectralEnabled ( struct ath_hal ah)

Definition at line 182 of file ar5416_spectral.c.

References AR_PHY_SPECTRAL_SCAN, AR_PHY_SPECTRAL_SCAN_ENA, MS, and OS_REG_READ.

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416PhyDisable()

HAL_BOOL ar5416PhyDisable ( struct ath_hal ah)

Definition at line 1273 of file ar5416_reset.c.

References AH5416, AH_FALSE, AH_NULL, AH_TRUE, ar5416SetResetReg(), and HAL_RESET_WARM.

Referenced by ar5416InitState().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ar5416ProcessMibIntr()

◆ ar5416ProcessRadarEvent()

◆ ar5416ProcRxDesc()

◆ ar5416ProcTxDesc()

HAL_STATUS ar5416ProcTxDesc ( struct ath_hal ah,
struct ath_desc ds,
struct ath_tx_status ts 
)

Definition at line 719 of file ar5416_xmit.c.

References AH_TRUE, ar5212UpdateTxTrigLevel(), AR5416_DS_TXSTATUS, AR5416DESC, AR_BaBitmapHigh, AR_BaBitmapLow, AR_DataFailCnt, AR_DescCfgErr, AR_ExcessiveRetries, AR_FIFOUnderrun, AR_Filtered, AR_FinalTxIdx, AR_IsAggr, AR_RTSFailCnt, AR_SendTimestamp, AR_SeqNum, AR_TxBaStatus, AR_TxDataUnderrun, AR_TxDelimUnderrun, AR_TxDone, AR_TxEVM0, AR_TxEVM1, AR_TxEVM2, AR_TxOpExceeded, AR_TxRSSIAnt00, AR_TxRSSIAnt01, AR_TxRSSIAnt02, AR_TxRSSIAnt10, AR_TxRSSIAnt11, AR_TxRSSIAnt12, AR_TxRSSICombined, AR_TxTid, AR_TxTimerExpired, AR_VirtRetryCnt, AR_XmitDataTries0, AR_XmitDataTries1, AR_XmitDataTries2, AR_XmitRate0, AR_XmitRate1, AR_XmitRate2, AR_XmitRate3, ath_desc::ds_ctl1, ar5416_desc::ds_ctl1, HAL_EINPROGRESS, HAL_OK, HAL_TX_AGGR, HAL_TX_BA, HAL_TX_DATA_UNDERRUN, HAL_TX_DELIM_UNDERRUN, HAL_TX_DESC_CFG_ERR, HAL_TXERR_FIFO, HAL_TXERR_FILT, HAL_TXERR_TIMER_EXPIRED, HAL_TXERR_XRETRY, HAL_TXERR_XTXOP, MS, ath_tx_status::ts_antenna, ath_tx_status::ts_ba_high, ath_tx_status::ts_ba_low, ath_tx_status::ts_evm0, ath_tx_status::ts_evm1, ath_tx_status::ts_evm2, ath_tx_status::ts_finaltsi, ath_tx_status::ts_flags, ath_tx_status::ts_longretry, ath_tx_status::ts_rate, ath_tx_status::ts_rssi, ath_tx_status::ts_rssi_ctl, ath_tx_status::ts_rssi_ext, ath_tx_status::ts_seqnum, ath_tx_status::ts_shortretry, ath_tx_status::ts_status, ath_tx_status::ts_tid, ath_tx_status::ts_tstamp, and ath_tx_status::ts_virtcol.

Referenced by ar5416InitState().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ar5416Reset()

HAL_BOOL ar5416Reset ( struct ath_hal ah,
HAL_OPMODE  opmode,
struct ieee80211_channel *  chan,
HAL_BOOL  bChannelChange,
HAL_RESET_TYPE  resetType,
HAL_STATUS status 
)

Definition at line 78 of file ar5416_reset.c.

References AH5212, AH5416, ath_hal_5212::ah_assocId, ath_hal_5212::ah_bssid, ath_hal_5212::ah_bssidmask, ath_hal::ah_config, HAL_OPS_CONFIG::ah_force_full_reset, ath_hal_5212::ah_intrTxqs, ath_hal_5212::ah_macaddr, AH_MARK_RESET, AH_MARK_RESET_LINE, AH_NULL, AH_PRIVATE, ath_hal::ah_resetTxQueue, ath_hal_5212::ah_rfHal, ath_hal_5212::ah_rssiThr, ath_hal::ah_setBoardValues, ath_hal::ah_setTxPower, ath_hal_5212::ah_staId1Defaults, AH_TRUE, ar5212SetChannel(), ar5212SetOperatingMode(), ar5416ChipReset(), ar5416GetTsf64(), ar5416InitBTCoex(), ar5416InitChainMasks(), ar5416InitIMR(), ar5416InitQoS(), ar5416InitUserSettings(), ar5416MarkPhyInactive(), ar5416OverrideIni(), ar5416Set11nRegs(), ar5416SetCoverageClass(), ar5416SetDeltaSlope(), ar5416SetIFSTiming(), ar5416SetPowerMode(), ar5416SetTsf64(), AR_BSS_ID0, AR_BSS_ID1, AR_BSS_ID1_AID_S, AR_BSSMSKL, AR_BSSMSKU, AR_CFG_SCLK_32KHZ, AR_DEF_ANTENNA, AR_DQCUMASK, AR_EEP_OL_PWRCTRL, AR_EEPROM_VER14_1, AR_GPIO_INPUT_EN_VAL, AR_GPIO_JTAG_DISABLE, AR_ISR, AR_MAC_LED, AR_MAC_LED_ASSOC, AR_MAC_LED_ASSOC_ACTIVE, AR_MAC_LED_BLINK_SLOW, AR_MAC_LED_BLINK_THRESH_SEL, AR_MAC_LED_MODE, AR_MAC_PCU_ASYNC_FIFO_REG3, AR_MAC_PCU_ASYNC_FIFO_REG3_DATAPATH_SEL, AR_MAC_PCU_ASYNC_FIFO_REG3_SOFT_RESET, AR_NUM_DCU, AR_PHY_ADC_CTL, AR_PHY_DAG_CTRLCCK, AR_PHY_FRAME_CTL, AR_PHY_FRAME_CTL_WINLEN, AR_PHY_MODE, AR_PHY_MODE_ASYNCFIFO, AR_RSSI_THR, AR_SREV_HOWL, AR_SREV_KITE, AR_SREV_KIWI, AR_SREV_KIWI_13_OR_LATER, AR_SREV_MERLIN, AR_SREV_MERLIN_10_OR_LATER, AR_STA_ID0, AR_STA_ID1, AR_STA_ID1_BASE_RATE_11B, AR_STA_ID1_RTS_USE_DEF, AR_STA_ID1_USE_DEFANT, ath_hal_checkchannel(), ath_hal_eepromGetFlag, ath_hal_survey_clear(), FAIL, HAL_BT_COEX_CFG_NONE, HAL_DEBUG_ANY, HAL_DEBUG_RESET, HAL_EINVAL, HAL_EIO, HAL_M_HOSTAP, HAL_M_IBSS, HAL_M_MONITOR, HAL_M_STA, HAL_PM_AWAKE, HAL_RESET_BBPANIC, HAL_RESET_FORCE_COLD, HALASSERT, HALDEBUG, INIT_RSSI_THR, LE_READ_2, LE_READ_4, OS_MARK, OS_REG_CLR_BIT, OS_REG_READ, OS_REG_RMW_FIELD, OS_REG_SET_BIT, OS_REG_WRITE, and RfHalFuncs::setRfRegs.

Referenced by ar5416InitState().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ar5416ResetKeyCacheEntry()

HAL_BOOL ar5416ResetKeyCacheEntry ( struct ath_hal ah,
uint16_t  entry 
)

Definition at line 41 of file ar5416_keycache.c.

References AH5416, AH_FALSE, ath_hal_5416::ah_keytype, AH_TRUE, ar5212ResetKeyCacheEntry(), HAL_CIPHER_CLR, and keyType.

Referenced by ar5416InitState().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ar5416ResetStaBeaconTimers()

void ar5416ResetStaBeaconTimers ( struct ath_hal ah)

Definition at line 133 of file ar5416_beacon.c.

References AR5416_BEACON_PERIOD, AR_BEACON_PERIOD_MAX, AR_DBA_PERIOD, AR_NEXT_TBTT, AR_STA_ID1, AR_STA_ID1_PCF, AR_STA_ID1_PWR_SAV, AR_STA_ID1_USE_DEFANT, OS_REG_READ, and OS_REG_WRITE.

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416ResetTsf()

void ar5416ResetTsf ( struct ath_hal ah)

Definition at line 171 of file ar5416_misc.c.

References AR_RESET_TSF, AR_RESET_TSF_ONCE, AR_SLP32_MODE, AR_SLP32_TSF_WRITE_STATUS, OS_DELAY, OS_REG_READ, and OS_REG_WRITE.

Referenced by ar5416InitState(), and ar5416SetBeaconTimers().

Here is the caller graph for this function:

◆ ar5416ResetTxQueue()

HAL_BOOL ar5416ResetTxQueue ( struct ath_hal ah,
u_int  q 
)

Definition at line 1245 of file ar5416_xmit.c.

References AH5212, HAL_OPS_CONFIG::ah_additional_swba_backoff, ath_hal_5212::ah_beaconInterval, ath_hal::ah_config, HAL_OPS_CONFIG::ah_dma_beacon_response_time, AH_FALSE, AH_PRIVATE, HAL_OPS_CONFIG::ah_sw_beacon_response_time, AH_TRUE, ath_hal_5212::ah_txDescInterruptMask, ath_hal_5212::ah_txEolInterruptMask, ath_hal_5212::ah_txErrInterruptMask, ath_hal_5212::ah_txOkInterruptMask, ath_hal_5212::ah_txq, ath_hal_5212::ah_txUrnInterruptMask, AR_D_CHNTIME_DUR, AR_D_CHNTIME_EN, AR_D_LCL_IFS_AIFS, AR_D_LCL_IFS_CWMAX, AR_D_LCL_IFS_CWMIN, AR_D_MISC_ARB_LOCKOUT_CNTRL, AR_D_MISC_ARB_LOCKOUT_CNTRL_GLOBAL, AR_D_MISC_ARB_LOCKOUT_CNTRL_INTRA_FR, AR_D_MISC_BEACON_USE, AR_D_MISC_BKOFF_PERSISTENCE, AR_D_MISC_FRAG_BKOFF_EN, AR_D_MISC_FRAG_WAIT_EN, AR_D_MISC_POST_FR_BKOFF_DIS, AR_D_MISC_SEQ_NUM_INCR_DIS, AR_D_MISC_VIR_COL_HANDLING, AR_D_MISC_VIR_COL_HANDLING_IGNORE, AR_D_RETRY_LIMIT_FR_LG, AR_D_RETRY_LIMIT_FR_SH, AR_D_RETRY_LIMIT_STA_LG, AR_D_RETRY_LIMIT_STA_SH, AR_DCHNTIME, AR_DLCL_IFS, AR_DMISC, AR_DRETRY_LIMIT, AR_Q0_MISC, AR_Q_CBBA, AR_Q_CBBS, AR_Q_CBC, AR_Q_CBRCFG_CBR_INTERVAL, AR_Q_CBRCFG_CBR_OVF_THRESH, AR_Q_MISC_BEACON_USE, AR_Q_MISC_CBR_EXP_CNTR_LIMIT, AR_Q_MISC_CBR_INCR_DIS0, AR_Q_MISC_CBR_INCR_DIS1, AR_Q_MISC_DCU_EARLY_TERM_REQ, AR_Q_MISC_FSP, AR_Q_MISC_FSP_ASAP, AR_Q_MISC_FSP_CBR, AR_Q_MISC_FSP_DBA_GATED, AR_Q_MISC_QCU_COMP_EN, AR_Q_MISC_RDYTIME_EXP_POLICY, AR_Q_RDYTIMECFG_ENA, AR_Q_RDYTIMECFG_INT, AR_QCBRCFG, AR_QMISC, AR_QRDYTIMECFG, HAL_COMP_BUF_MAX_SIZE, HAL_DEBUG_ANY, HAL_DEBUG_TXQUEUE, HAL_TX_QUEUE_BEACON, HAL_TX_QUEUE_CAB, HAL_TX_QUEUE_DATA, HAL_TX_QUEUE_INACTIVE, HAL_TX_QUEUE_PSPOLL, HAL_TX_QUEUE_UAPSD, HAL_TXQ_ARB_LOCKOUT_GLOBAL, HAL_TXQ_ARB_LOCKOUT_INTRA, HAL_TXQ_BACKOFF_DISABLE, HAL_TXQ_CBR_DIS_BEMPTY, HAL_TXQ_CBR_DIS_QEMPTY, HAL_TXQ_DBA_GATED, HAL_TXQ_FRAG_BURST_BACKOFF_ENABLE, HAL_TXQ_IGNORE_VIRTCOL, HAL_TXQ_RDYTIME_EXP_POLICY_ENABLE, HAL_TXQ_SEQNUM_INC_DIS, HAL_TXQ_TXDESCINT_ENABLE, HAL_TXQ_TXEOLINT_ENABLE, HAL_TXQ_TXERRINT_ENABLE, HAL_TXQ_TXOKINT_ENABLE, HAL_TXQ_TXURNINT_ENABLE, HAL_TXQ_USEDEFAULT, HALASSERT, HALDEBUG, HAL_CAPABILITIES::halTotalQueues, INIT_CWMIN, INIT_CWMIN_11B, INIT_SLG_RETRY, INIT_SSH_RETRY, MS, OS_REG_READ, OS_REG_WRITE, setTxQInterrupts(), SM, HAL_TX_QUEUE_INFO::tqi_aifs, HAL_TX_QUEUE_INFO::tqi_burstTime, HAL_TX_QUEUE_INFO::tqi_cbrOverflowLimit, HAL_TX_QUEUE_INFO::tqi_cbrPeriod, HAL_TX_QUEUE_INFO::tqi_cwmax, HAL_TX_QUEUE_INFO::tqi_cwmin, HAL_TX_QUEUE_INFO::tqi_lgretry, HAL_TX_QUEUE_INFO::tqi_physCompBuf, HAL_TX_QUEUE_INFO::tqi_qflags, HAL_TX_QUEUE_INFO::tqi_readyTime, HAL_TX_QUEUE_INFO::tqi_shretry, HAL_TX_QUEUE_INFO::tqi_type, and TU_TO_USEC.

Referenced by ar5416InitState().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ar5416RestoreChainMask()

void ar5416RestoreChainMask ( struct ath_hal ah)

Definition at line 1500 of file ar5416_reset.c.

References AH5416, AR_PHY_CAL_CHAINMASK, AR_PHY_RX_CHAINMASK, IS_5416V1, and OS_REG_WRITE.

◆ ar5416RestoreSpectralConfig()

void ar5416RestoreSpectralConfig ( struct ath_hal ah,
uint32_t  restoreval 
)

Definition at line 232 of file ar5416_spectral.c.

References ar5416PrepSpectralScan(), AR_PHY_SPECTRAL_SCAN, AR_PHY_SPECTRAL_SCAN_SHORT_REPEAT, OS_REG_READ, and OS_REG_WRITE.

Here is the call graph for this function:

◆ ar5416RxMonitor()

void ar5416RxMonitor ( struct ath_hal ah,
const HAL_NODE_STATS stats,
const struct ieee80211_channel *  chan 
)

Definition at line 917 of file ar5416_ani.c.

References AH5212, ath_hal_5212::ah_stats, HAL_ANI_STATS::ast_nodestats, and HAL_NODE_STATS::ns_avgbrssi.

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416Set11nAggrFirst()

void ar5416Set11nAggrFirst ( struct ath_hal ah,
struct ath_desc ds,
u_int  aggrLen,
u_int  numDelims 
)

◆ ar5416Set11nAggrLast()

void ar5416Set11nAggrLast ( struct ath_hal ah,
struct ath_desc ds 
)

Definition at line 1033 of file ar5416_xmit.c.

References AR5416DESC, AR_IsAggr, and ar5416_desc::ds_ctl1.

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416Set11nAggrMiddle()

void ar5416Set11nAggrMiddle ( struct ath_hal ah,
struct ath_desc ds,
u_int  numDelims 
)

Definition at line 1014 of file ar5416_xmit.c.

References AR5416_DS_TXSTATUS, AR5416DESC, AR_IsAggr, AR_MoreAggr, AR_PadDelim, ar5416_desc::ds_ctl1, and SM.

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416Set11nBurstDuration()

void ar5416Set11nBurstDuration ( struct ath_hal ah,
struct ath_desc ds,
u_int  burstDuration 
)

Definition at line 1068 of file ar5416_xmit.c.

References AR5416DESC, AR_BurstDur, AR_IsAggr, AR_SREV_MERLIN_10_OR_LATER, AR_XmitDataTries0, baDurationDelta, ar5416_desc::ds_ctl1, HT_RC_2_MCS, MS, and SM.

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416Set11nMac2040()

void ar5416Set11nMac2040 ( struct ath_hal ah,
HAL_HT_MACMODE  mode 
)

Definition at line 357 of file ar5416_misc.c.

References AR_2040_JOINED_RX_CLEAR, AR_2040_MODE, HAL_HT_MACMODE_2040, and OS_REG_WRITE.

Referenced by ar5416InitState(), and ar5416Set11nRegs().

Here is the caller graph for this function:

◆ ar5416Set11nRateScenario()

void ar5416Set11nRateScenario ( struct ath_hal ah,
struct ath_desc ds,
u_int  durUpdateEn,
u_int  rtsctsRate,
HAL_11N_RATE_SERIES  series[],
u_int  nseries,
u_int  flags 
)

◆ ar5416Set11nRxClear()

void ar5416Set11nRxClear ( struct ath_hal ah,
HAL_HT_RXCLEAR  rxclear 
)

Definition at line 403 of file ar5416_misc.c.

References AR_DIAG_RXCLEAR_CTL_LOW, AR_DIAG_RXCLEAR_EXT_LOW, AR_DIAG_SW, HAL_RX_CLEAR_CTL_LOW, HAL_RX_CLEAR_EXT_LOW, OS_REG_CLR_BIT, and OS_REG_SET_BIT.

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416Set11nVirtualMoreFrag()

void ar5416Set11nVirtualMoreFrag ( struct ath_hal ah,
struct ath_desc ds,
u_int  vmf 
)

Definition at line 1053 of file ar5416_xmit.c.

References AR5416DESC, AR_VirtMoreFrag, and ar5416_desc::ds_ctl0.

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416SetAntennaSwitch()

HAL_BOOL ar5416SetAntennaSwitch ( struct ath_hal ah,
HAL_ANT_SETTING  settings 
)

Definition at line 194 of file ar5416_misc.c.

References AH_TRUE.

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416SetBeaconTimers()

◆ ar5416SetBoardValues()

HAL_BOOL ar5416SetBoardValues ( struct ath_hal ah,
const struct ieee80211_channel *  chan 
)

Definition at line 1620 of file ar5416_reset.c.

References ModalEepHeader::adcDesiredSize, AH_PRIVATE, AH_TRUE, ModalEepHeader::antCtrlChain, ModalEepHeader::antCtrlCommon, AR5416_EEP_FLAG_FORCEXPAON, AR5416_EEP_FLAG_LOCALBIAS, AR5416_EEP_MINOR_VER_19, AR5416_EEP_MINOR_VER_20, AR5416_MAX_CHAINS, ar5416GetRegChainOffset(), ar5416SetDefGainValues(), AR9280_PHY_CCA_THRESH62, AR_AN_RF2G1_CH0, AR_AN_RF2G1_CH0_DB, AR_AN_RF2G1_CH0_OB, AR_AN_RF2G1_CH1, AR_AN_RF2G1_CH1_DB, AR_AN_RF2G1_CH1_OB, AR_AN_RF5G1_CH0, AR_AN_RF5G1_CH0_DB5, AR_AN_RF5G1_CH0_OB5, AR_AN_RF5G1_CH1, AR_AN_RF5G1_CH1_DB5, AR_AN_RF5G1_CH1_OB5, AR_AN_TOP1, AR_AN_TOP1_DACIPMODE, AR_AN_TOP2, AR_AN_TOP2_LOCALBIAS, AR_AN_TOP2_XPABIAS_LVL, AR_EEPROM_VER14_1, AR_PHY_CCA, AR_PHY_CCA_THRESH62, AR_PHY_CCK_TX_CTRL, AR_PHY_CCK_TX_CTRL_TX_DAC_SCALE_CCK, AR_PHY_DESIRED_SZ, AR_PHY_DESIRED_SZ_ADC, AR_PHY_DESIRED_SZ_PGA, AR_PHY_EXT_CCA, AR_PHY_EXT_CCA0, AR_PHY_EXT_CCA0_THRESH62, AR_PHY_EXT_CCA_THRESH62, AR_PHY_FORCE_XPA_CFG, AR_PHY_FRAME_CTL, AR_PHY_FRAME_CTL_TX_CLIP, AR_PHY_RF_CTL2, AR_PHY_RF_CTL3, AR_PHY_RF_CTL4, AR_PHY_RF_CTL4_FRAME_XPAA_ON, AR_PHY_RF_CTL4_FRAME_XPAB_ON, AR_PHY_RF_CTL4_TX_END_XPAA_OFF, AR_PHY_RF_CTL4_TX_END_XPAB_OFF, AR_PHY_SETTLING, AR_PHY_SETTLING_SWITCH, AR_PHY_SWITCH_CHAIN_0, AR_PHY_SWITCH_COM, AR_PHY_TIMING_CTRL4, AR_PHY_TIMING_CTRL4_IQCORR_Q_I_COFF, AR_PHY_TIMING_CTRL4_IQCORR_Q_Q_COFF, AR_PHY_TX_DESIRED_SCALE_CCK, AR_PHY_TX_END_TO_A2_RX_ON, AR_PHY_TX_FRAME_TO_DATA_START, AR_PHY_TX_FRAME_TO_PA_ON, AR_PHY_TX_PWRCTRL9, AR_PHY_XPA_CFG, AR_SREV_5416_V20_OR_LATER, AR_SREV_MERLIN, AR_SREV_MERLIN_10_OR_LATER, AR_SREV_MERLIN_20, AR_SREV_MERLIN_20_OR_LATER, ar5416eeprom::baseEepHeader, BaseEepHeader::dacHiPwrMode_5G, BaseEepHeader::dacLpMode, ModalEepHeader::db, ModalEepHeader::db_ch1, BaseEepHeader::desiredScaleCCK, HAL_EEPROM_v14::ee_base, EEP_MINOR, ModalEepHeader::flagBits, HALASSERT, ModalEepHeader::iqCalICh, ModalEepHeader::iqCalQCh, IS_EEP_MINOR_V2, IS_EEP_MINOR_V3, ModalEepHeader::miscBits, ar5416eeprom::modalHeader, ModalEepHeader::ob, ModalEepHeader::ob_ch1, OS_A_REG_RMW_FIELD, OS_DELAY, OS_REG_READ, OS_REG_RMW_FIELD, OS_REG_WRITE, ModalEepHeader::pgaDesiredSize, SM, ModalEepHeader::switchSettling, ModalEepHeader::swSettleHt40, ModalEepHeader::thresh62, ModalEepHeader::txEndToRxOn, ModalEepHeader::txEndToXpaOff, ModalEepHeader::txFrameToDataStart, ModalEepHeader::txFrameToPaOn, ModalEepHeader::txFrameToXpaOn, and ModalEepHeader::xpaBiasLvl.

Referenced by ar5416InitState().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ar5416SetBTCoexInfo()

◆ ar5416SetCapability()

HAL_BOOL ar5416SetCapability ( struct ath_hal ah,
HAL_CAPABILITY_TYPE  type,
uint32_t  capability,
uint32_t  val,
HAL_STATUS status 
)

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416SetChainMasks()

void ar5416SetChainMasks ( struct ath_hal ah,
uint32_t  tx_chainmask,
uint32_t  rx_chainmask 
)

Definition at line 265 of file ar5416_misc.c.

References AH5416, AH_PRIVATE, HAL_CAPABILITIES::halRxChainMask, and HAL_CAPABILITIES::halTxChainMask.

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416SetCoverageClass()

void ar5416SetCoverageClass ( struct ath_hal ah,
uint8_t  coverageclass,
int  now 
)

Definition at line 208 of file ar5416_misc.c.

References ar5212SetCoverageClass().

Referenced by ar5416InitState(), and ar5416Reset().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ar5416SetDecompMask()

HAL_BOOL ar5416SetDecompMask ( struct ath_hal ah,
uint16_t  keyidx,
int  en 
)

Definition at line 201 of file ar5416_misc.c.

References AH_TRUE.

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416SetGainBoundariesClosedLoop()

void ar5416SetGainBoundariesClosedLoop ( struct ath_hal ah,
int  i,
uint16_t  pdGainOverlap_t2,
uint16_t  gainBoundaries[] 
)

◆ ar5416SetGlobalTxTimeout()

HAL_BOOL ar5416SetGlobalTxTimeout ( struct ath_hal ah,
u_int  tu 
)

Definition at line 832 of file ar5416_xmit.c.

References AH5416, AH_FALSE, ath_hal_5416::ah_globaltxtimeout, AH_TRUE, AR_GTXTO, AR_GTXTO_TIMEOUT_LIMIT, HAL_DEBUG_ANY, HALDEBUG, and OS_REG_RMW_FIELD.

Referenced by ar5416InitUserSettings().

Here is the caller graph for this function:

◆ ar5416SetInterrupts()

◆ ar5416SetKeyCacheEntry()

HAL_BOOL ar5416SetKeyCacheEntry ( struct ath_hal ah,
uint16_t  entry,
const HAL_KEYVAL k,
const uint8_t *  mac,
int  xorKey 
)

Definition at line 57 of file ar5416_keycache.c.

References AH5416, AH_FALSE, ath_hal_5416::ah_keytype, AH_TRUE, ar5212SetKeyCacheEntry(), keyType, and HAL_KEYVAL::kv_type.

Referenced by ar5416InitState().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ar5416SetLedState()

void ar5416SetLedState ( struct ath_hal ah,
HAL_LED_STATE  state 
)

Definition at line 68 of file ar5416_misc.c.

References AR_MAC_LED, AR_MAC_LED_ASSOC, AR_MAC_LED_ASSOC_ACTIVE, AR_MAC_LED_ASSOC_NONE, AR_MAC_LED_ASSOC_PEND, AR_MAC_LED_MODE, AR_MAC_LED_MODE_PROP, AR_SREV_HOWL, and OS_REG_RMW_FIELD.

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416SetPowerCalTable()

◆ ar5416SetPowerMode()

◆ ar5416SetQuiet()

◆ ar5416SetRatesArrayFromTargetPower()

void ar5416SetRatesArrayFromTargetPower ( struct ath_hal ah,
const struct ieee80211_channel *  chan,
int16_t *  ratesArray,
const CAL_TARGET_POWER_LEG targetPowerCck,
const CAL_TARGET_POWER_LEG targetPowerCckExt,
const CAL_TARGET_POWER_LEG targetPowerOfdm,
const CAL_TARGET_POWER_LEG targetPowerOfdmExt,
const CAL_TARGET_POWER_HT targetPowerHt20,
const CAL_TARGET_POWER_HT targetPowerHt40 
)

◆ ar5416SetResetReg()

HAL_BOOL ar5416SetResetReg ( struct ath_hal ah,
uint32_t  type 
)

◆ ar5416SetRifsDelay()

HAL_BOOL ar5416SetRifsDelay ( struct ath_hal ah,
const struct ieee80211_channel *  chan,
HAL_BOOL  enable 
)

Definition at line 564 of file ar5416_misc.c.

References AH_FALSE, AH_TRUE, AR_PHY_HEAVY_CLIP_FACTOR_RIFS, AR_PHY_SEARCH_START_DELAY, AR_SREV_HOWL, AR_SREV_SOWL, HALASSERT, OS_REG_READ, and OS_REG_WRITE.

Referenced by ar5416OverrideIni().

Here is the caller graph for this function:

◆ ar5416SetRxFilter()

void ar5416SetRxFilter ( struct ath_hal ah,
uint32_t  bits 
)

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416SetStaBeaconTimers()

◆ ar5416SetTransmitPower()

◆ ar5416SetTsf64()

void ar5416SetTsf64 ( struct ath_hal ah,
uint64_t  tsf64 
)

Definition at line 146 of file ar5416_misc.c.

References AR_SLP32_MODE, AR_SLP32_TSF_WRITE_STATUS, AR_TSF_L32, AR_TSF_U32, ath_hal_printf(), OS_DELAY, OS_REG_READ, and OS_REG_WRITE.

Referenced by ar5416InitState(), and ar5416Reset().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ar5416SetTxPowerLimit()

HAL_BOOL ar5416SetTxPowerLimit ( struct ath_hal ah,
uint32_t  limit 
)

Definition at line 915 of file ar5416_reset.c.

References AH_MIN, AH_PRIVATE, ath_hal::ah_setTxPower, and MAX_RATE_POWER.

Referenced by ar5416BTCoexSetParameter(), and ar5416InitState().

Here is the caller graph for this function:

◆ ar5416SetupFirstTxDesc()

HAL_BOOL ar5416SetupFirstTxDesc ( struct ath_hal ah,
struct ath_desc ds,
u_int  aggrLen,
u_int  flags,
u_int  txPower,
u_int  txRate0,
u_int  txTries0,
u_int  antMode,
u_int  rtsctsRate,
u_int  rtsctsDuration 
)

◆ ar5416SetupLastTxDesc()

HAL_BOOL ar5416SetupLastTxDesc ( struct ath_hal ah,
struct ath_desc ds,
const struct ath_desc ds0 
)

Definition at line 681 of file ar5416_xmit.c.

References AH_TRUE, AR5416DESC, AR5416DESC_CONST, ar5416_desc::ds_ctl1, ds_ctl2, and ds_ctl3.

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416SetupRxDesc()

HAL_BOOL ar5416SetupRxDesc ( struct ath_hal ah,
struct ath_desc ds,
uint32_t  size,
u_int  flags 
)

Definition at line 142 of file ar5416_recv.c.

References AH_TRUE, AR5416DESC, AR_BufLen, AR_RxIntrReq, ar5416_desc::ds_ctl1, HAL_RXDESC_INTREQ, HALASSERT, OS_MEMZERO, and ar5416_desc::u.

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416SetupTxDesc()

HAL_BOOL ar5416SetupTxDesc ( struct ath_hal ah,
struct ath_desc ds,
u_int  pktLen,
u_int  hdrLen,
HAL_PKT_TYPE  type,
u_int  txPower,
u_int  txRate0,
u_int  txTries0,
u_int  keyIx,
u_int  antMode,
u_int  flags,
u_int  rtsctsRate,
u_int  rtsctsDuration,
u_int  compicvLen,
u_int  compivLen,
u_int  comp 
)

◆ ar5416SetupTxQueue()

◆ ar5416SetupXTxDesc()

HAL_BOOL ar5416SetupXTxDesc ( struct ath_hal ah,
struct ath_desc ds,
u_int  txRate1,
u_int  txRetries1,
u_int  txRate2,
u_int  txRetries2,
u_int  txRate3,
u_int  txRetries3 
)

Definition at line 431 of file ar5416_xmit.c.

References AH_TRUE, AR5416DESC, AR_XmitDataTries1, AR_XmitDataTries2, AR_XmitDataTries3, AR_XmitRate1_S, AR_XmitRate2_S, AR_XmitRate3_S, HALASSERT, isValidTxRate, and SM.

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416StartPcuReceive()

void ar5416StartPcuReceive ( struct ath_hal ah,
HAL_BOOL  is_scanning 
)

Definition at line 109 of file ar5416_recv.c.

References ath_hal_private::ah_curchan, ath_hal_private::ah_opmode, AH_PRIVATE, ar5212EnableMibCounters(), ar5416AniReset(), AR_DIAG_RX_ABORT, AR_DIAG_RX_DIS, AR_DIAG_SW, HAL_DEBUG_RX, HALDEBUG, and OS_REG_CLR_BIT.

Referenced by ar5416InitState().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ar5416StartSpectralScan()

void ar5416StartSpectralScan ( struct ath_hal ah)

Definition at line 191 of file ar5416_spectral.c.

References ar5416PrepSpectralScan(), AR_PHY_ERR_MASK_REG, AR_PHY_ERR_RADAR, AR_PHY_SPECTRAL_SCAN, AR_PHY_SPECTRAL_SCAN_ACTIVE, AR_PHY_SPECTRAL_SCAN_ENA, OS_REG_READ, and OS_REG_WRITE.

Referenced by ar5416InitState().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ar5416StopDmaReceive()

HAL_BOOL ar5416StopDmaReceive ( struct ath_hal ah)

Definition at line 75 of file ar5416_recv.c.

References AH_FALSE, AH_MARK_RX_CTL, AH_MARK_RX_CTL_DMA_STOP, AH_MARK_RX_CTL_DMA_STOP_ERR, AH_TRUE, AR_CR, AR_CR_RXD, AR_CR_RXE, AR_DIAG_SW, AR_SREV_9100, ath_hal_printf(), ath_hal_wait(), OS_DELAY, OS_MARK, OS_REG_READ, and OS_REG_WRITE.

Referenced by ar5416InitState().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ar5416StopPcuReceive()

void ar5416StopPcuReceive ( struct ath_hal ah)

Definition at line 129 of file ar5416_recv.c.

References ar5212DisableMibCounters(), AR_DIAG_RX_ABORT, AR_DIAG_RX_DIS, AR_DIAG_SW, HAL_DEBUG_RX, HALDEBUG, and OS_REG_SET_BIT.

Referenced by ar5416InitState().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ar5416StopSpectralScan()

void ar5416StopSpectralScan ( struct ath_hal ah)

Definition at line 208 of file ar5416_spectral.c.

References AR_PHY_ERR_MASK_REG, AR_PHY_SPECTRAL_SCAN, OS_REG_READ, and OS_REG_WRITE.

Referenced by ar5416InitState().

Here is the caller graph for this function:

◆ ar5416StopTxDma()

◆ ar5416WriteDetectorGainBiases()

void ar5416WriteDetectorGainBiases ( struct ath_hal ah,
uint16_t  numXpdGain,
uint16_t  xpdGainValues[] 
)

◆ ar5416WritePdadcValues()

void ar5416WritePdadcValues ( struct ath_hal ah,
int  i,
uint8_t  pdadcValues[] 
)

Definition at line 2312 of file ar5416_reset.c.

References ar5416GetRegChainOffset(), AR_PHY_BASE, HAL_DEBUG_EEPROM, HALDEBUG, and OS_REG_WRITE.

Referenced by ar5416SetPowerCalTable(), ar9280SetPowerCalTable(), and ar9285SetPowerCalTable().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ar5416WriteTxPowerRateRegisters()