FreeBSD kernel ATH device code
ar5210.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ath_hal_5210
 

Macros

#define AR5210_MAGIC   0x19980124
 
#define INIT_CONFIG_STATUS   0x00000000
 
#define INIT_ACKTOPS   0x00000008
 
#define INIT_BCON_CNTRL_REG   0x00000000
 
#define INIT_SLOT_TIME   0x00000168
 
#define INIT_SLOT_TIME_TURBO   0x000001e0 /* More aggressive turbo slot timing = 6 us */
 
#define INIT_ACK_CTS_TIMEOUT   0x04000400
 
#define INIT_ACK_CTS_TIMEOUT_TURBO   0x08000800
 
#define INIT_USEC   0x27
 
#define INIT_USEC_TURBO   0x4f
 
#define INIT_USEC_32   0x1f
 
#define INIT_TX_LATENCY   0x36
 
#define INIT_RX_LATENCY   0x1D
 
#define INIT_TRANSMIT_LATENCY
 
#define INIT_TRANSMIT_LATENCY_TURBO
 
#define INIT_SIFS   0x230 /* = 16 us - 2 us */
 
#define INIT_SIFS_TURBO   0x1E0 /* More aggressive turbo SIFS timing - 8 us - 2 us */
 
#define MIN_TX_FIFO_THRESHOLD   0x1
 
#define MAX_TX_FIFO_THRESHOLD   ((IEEE80211_MAX_LEN / 64) + 1)
 
#define INIT_NEXT_CFP_START   0xffffffff
 
#define INIT_BEACON_PERIOD   0xffff
 
#define INIT_BEACON_EN   0 /* this should be set by AP only when it's ready */
 
#define INIT_BEACON_CONTROL
 
#define INIT_RSSI_THR   0x00000700 /* Missed beacon counter initialized to max value of 7 */
 
#define INIT_ProgIFS   0x398 /* PIFS - 2us */
 
#define INIT_ProgIFS_TURBO   0x3C0
 
#define INIT_EIFS   0xd70
 
#define INIT_EIFS_TURBO   0x1ae0
 
#define INIT_CARR_SENSE_EN   1
 
#define INIT_PROTO_TIME_CNTRL
 
#define INIT_PROTO_TIME_CNTRL_TURBO
 
#define AR5210_MAX_RATE_POWER   60
 
#define HAL_NUM_TX_QUEUES   3
 
#define AH5210(ah)   ((struct ath_hal_5210 *)(ah))
 

Functions

void ar5210Detach (struct ath_hal *ah)
 
HAL_BOOL ar5210Reset (struct ath_hal *, HAL_OPMODE, struct ieee80211_channel *, HAL_BOOL bChannelChange, HAL_RESET_TYPE, HAL_STATUS *)
 
void ar5210SetPCUConfig (struct ath_hal *)
 
HAL_BOOL ar5210PhyDisable (struct ath_hal *)
 
HAL_BOOL ar5210Disable (struct ath_hal *)
 
HAL_BOOL ar5210ChipReset (struct ath_hal *, struct ieee80211_channel *)
 
HAL_BOOL ar5210PerCalibration (struct ath_hal *, struct ieee80211_channel *, HAL_BOOL *)
 
HAL_BOOL ar5210PerCalibrationN (struct ath_hal *ah, struct ieee80211_channel *chan, u_int chainMask, HAL_BOOL longCal, HAL_BOOL *isCalDone)
 
HAL_BOOL ar5210ResetCalValid (struct ath_hal *ah, const struct ieee80211_channel *)
 
int16_t ar5210GetNoiseFloor (struct ath_hal *)
 
int16_t ar5210GetNfAdjust (struct ath_hal *, const HAL_CHANNEL_INTERNAL *)
 
HAL_BOOL ar5210SetTxPowerLimit (struct ath_hal *, uint32_t limit)
 
HAL_BOOL ar5210SetTransmitPower (struct ath_hal *, const struct ieee80211_channel *)
 
HAL_BOOL ar5210CalNoiseFloor (struct ath_hal *, HAL_CHANNEL_INTERNAL *)
 
HAL_BOOL ar5210ResetDma (struct ath_hal *, HAL_OPMODE)
 
HAL_BOOL ar5210SetTxQueueProps (struct ath_hal *ah, int q, const HAL_TXQ_INFO *qInfo)
 
HAL_BOOL ar5210GetTxQueueProps (struct ath_hal *ah, int q, HAL_TXQ_INFO *qInfo)
 
int ar5210SetupTxQueue (struct ath_hal *ah, HAL_TX_QUEUE type, const HAL_TXQ_INFO *qInfo)
 
HAL_BOOL ar5210ReleaseTxQueue (struct ath_hal *ah, u_int q)
 
HAL_BOOL ar5210ResetTxQueue (struct ath_hal *ah, u_int q)
 
uint32_t ar5210GetTxDP (struct ath_hal *, u_int)
 
HAL_BOOL ar5210SetTxDP (struct ath_hal *, u_int, uint32_t txdp)
 
HAL_BOOL ar5210UpdateTxTrigLevel (struct ath_hal *, HAL_BOOL)
 
uint32_t ar5210NumTxPending (struct ath_hal *, u_int)
 
HAL_BOOL ar5210StartTxDma (struct ath_hal *, u_int)
 
HAL_BOOL ar5210StopTxDma (struct ath_hal *, u_int)
 
HAL_BOOL ar5210SetupTxDesc (struct ath_hal *, struct ath_desc *, u_int pktLen, u_int hdrLen, HAL_PKT_TYPE type, u_int txPower, u_int txRate0, u_int txRetries0, 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 ar5210SetupXTxDesc (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 ar5210FillTxDesc (struct ath_hal *, struct ath_desc *, 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 ar5210ProcTxDesc (struct ath_hal *, struct ath_desc *, struct ath_tx_status *)
 
void ar5210GetTxIntrQueue (struct ath_hal *ah, uint32_t *)
 
void ar5210IntrReqTxDesc (struct ath_hal *ah, struct ath_desc *)
 
HAL_BOOL ar5210GetTxCompletionRates (struct ath_hal *ah, const struct ath_desc *, int *rates, int *tries)
 
void ar5210SetTxDescLink (struct ath_hal *ah, void *ds, uint32_t link)
 
void ar5210GetTxDescLink (struct ath_hal *ah, void *ds, uint32_t *link)
 
void ar5210GetTxDescLinkPtr (struct ath_hal *ah, void *ds, uint32_t **linkptr)
 
uint32_t ar5210GetRxDP (struct ath_hal *, HAL_RX_QUEUE)
 
void ar5210SetRxDP (struct ath_hal *, uint32_t rxdp, HAL_RX_QUEUE)
 
void ar5210EnableReceive (struct ath_hal *)
 
HAL_BOOL ar5210StopDmaReceive (struct ath_hal *)
 
void ar5210StartPcuReceive (struct ath_hal *, HAL_BOOL)
 
void ar5210StopPcuReceive (struct ath_hal *)
 
void ar5210SetMulticastFilter (struct ath_hal *, uint32_t filter0, uint32_t filter1)
 
HAL_BOOL ar5210ClrMulticastFilterIndex (struct ath_hal *, uint32_t)
 
HAL_BOOL ar5210SetMulticastFilterIndex (struct ath_hal *, uint32_t)
 
uint32_t ar5210GetRxFilter (struct ath_hal *)
 
void ar5210SetRxFilter (struct ath_hal *, uint32_t)
 
HAL_BOOL ar5210SetupRxDesc (struct ath_hal *, struct ath_desc *, uint32_t, u_int flags)
 
HAL_STATUS ar5210ProcRxDesc (struct ath_hal *, struct ath_desc *, uint32_t, struct ath_desc *, uint64_t, struct ath_rx_status *)
 
void ar5210GetMacAddress (struct ath_hal *, uint8_t *)
 
HAL_BOOL ar5210SetMacAddress (struct ath_hal *ah, const uint8_t *)
 
void ar5210GetBssIdMask (struct ath_hal *, uint8_t *)
 
HAL_BOOL ar5210SetBssIdMask (struct ath_hal *, const uint8_t *)
 
HAL_BOOL ar5210EepromRead (struct ath_hal *, u_int off, uint16_t *data)
 
HAL_BOOL ar5210EepromWrite (struct ath_hal *, u_int off, uint16_t data)
 
HAL_BOOL ar5210SetRegulatoryDomain (struct ath_hal *, uint16_t, HAL_STATUS *)
 
u_int ar5210GetWirelessModes (struct ath_hal *ah)
 
void ar5210EnableRfKill (struct ath_hal *)
 
HAL_BOOL ar5210GpioCfgInput (struct ath_hal *, uint32_t gpio)
 
HAL_BOOL ar5210GpioCfgOutput (struct ath_hal *, uint32_t gpio, HAL_GPIO_MUX_TYPE)
 
uint32_t ar5210GpioGet (struct ath_hal *, uint32_t gpio)
 
HAL_BOOL ar5210GpioSet (struct ath_hal *, uint32_t gpio, uint32_t)
 
void ar5210Gpio0SetIntr (struct ath_hal *, u_int, uint32_t ilevel)
 
void ar5210SetLedState (struct ath_hal *, HAL_LED_STATE)
 
u_int ar5210GetDefAntenna (struct ath_hal *)
 
void ar5210SetDefAntenna (struct ath_hal *, u_int)
 
HAL_ANT_SETTING ar5210GetAntennaSwitch (struct ath_hal *)
 
HAL_BOOL ar5210SetAntennaSwitch (struct ath_hal *, HAL_ANT_SETTING)
 
void ar5210WriteAssocid (struct ath_hal *, const uint8_t *bssid, uint16_t assocId)
 
uint32_t ar5210GetTsf32 (struct ath_hal *)
 
uint64_t ar5210GetTsf64 (struct ath_hal *)
 
void ar5210ResetTsf (struct ath_hal *)
 
uint32_t ar5210GetRandomSeed (struct ath_hal *)
 
HAL_BOOL ar5210DetectCardPresent (struct ath_hal *)
 
void ar5210UpdateMibCounters (struct ath_hal *, HAL_MIB_STATS *)
 
void ar5210EnableHwEncryption (struct ath_hal *)
 
void ar5210DisableHwEncryption (struct ath_hal *)
 
HAL_RFGAIN ar5210GetRfgain (struct ath_hal *)
 
HAL_BOOL ar5210SetSifsTime (struct ath_hal *, u_int)
 
u_int ar5210GetSifsTime (struct ath_hal *)
 
HAL_BOOL ar5210SetSlotTime (struct ath_hal *, u_int)
 
u_int ar5210GetSlotTime (struct ath_hal *)
 
HAL_BOOL ar5210SetAckTimeout (struct ath_hal *, u_int)
 
u_int ar5210GetAckTimeout (struct ath_hal *)
 
HAL_BOOL ar5210SetAckCTSRate (struct ath_hal *, u_int)
 
u_int ar5210GetAckCTSRate (struct ath_hal *)
 
HAL_BOOL ar5210SetCTSTimeout (struct ath_hal *, u_int)
 
u_int ar5210GetCTSTimeout (struct ath_hal *)
 
HAL_BOOL ar5210SetDecompMask (struct ath_hal *, uint16_t, int)
 
void ar5210SetCoverageClass (struct ath_hal *, uint8_t, int)
 
HAL_STATUS ar5210SetQuiet (struct ath_hal *, uint32_t, uint32_t, uint32_t, HAL_QUIET_FLAG)
 
HAL_STATUS ar5210GetCapability (struct ath_hal *, HAL_CAPABILITY_TYPE, uint32_t, uint32_t *)
 
HAL_BOOL ar5210SetCapability (struct ath_hal *, HAL_CAPABILITY_TYPE, uint32_t, uint32_t, HAL_STATUS *)
 
HAL_BOOL ar5210GetDiagState (struct ath_hal *ah, int request, const void *args, uint32_t argsize, void **result, uint32_t *resultsize)
 
uint32_t ar5210Get11nExtBusy (struct ath_hal *)
 
HAL_BOOL ar5210GetMibCycleCounts (struct ath_hal *, HAL_SURVEY_SAMPLE *)
 
void ar5210SetChainMasks (struct ath_hal *, uint32_t, uint32_t)
 
void ar5210EnableDfs (struct ath_hal *, HAL_PHYERR_PARAM *)
 
void ar5210GetDfsThresh (struct ath_hal *, HAL_PHYERR_PARAM *)
 
void ar5210UpdateDiagReg (struct ath_hal *ah, uint32_t val)
 
void ar5210SetNav (struct ath_hal *ah, u_int val)
 
u_int ar5210GetNav (struct ath_hal *ah)
 
u_int ar5210GetKeyCacheSize (struct ath_hal *)
 
HAL_BOOL ar5210IsKeyCacheEntryValid (struct ath_hal *, uint16_t)
 
HAL_BOOL ar5210ResetKeyCacheEntry (struct ath_hal *, uint16_t entry)
 
HAL_BOOL ar5210SetKeyCacheEntry (struct ath_hal *, uint16_t entry, const HAL_KEYVAL *, const uint8_t *mac, int xorKey)
 
HAL_BOOL ar5210SetKeyCacheEntryMac (struct ath_hal *, uint16_t, const uint8_t *)
 
HAL_BOOL ar5210SetPowerMode (struct ath_hal *, uint32_t powerRequest, int setChip)
 
HAL_POWER_MODE ar5210GetPowerMode (struct ath_hal *)
 
void ar5210SetBeaconTimers (struct ath_hal *, const HAL_BEACON_TIMERS *)
 
void ar5210BeaconInit (struct ath_hal *, uint32_t, uint32_t)
 
void ar5210SetStaBeaconTimers (struct ath_hal *, const HAL_BEACON_STATE *)
 
void ar5210ResetStaBeaconTimers (struct ath_hal *)
 
uint64_t ar5210GetNextTBTT (struct ath_hal *)
 
HAL_BOOL ar5210IsInterruptPending (struct ath_hal *)
 
HAL_BOOL ar5210GetPendingInterrupts (struct ath_hal *, HAL_INT *)
 
HAL_INT ar5210GetInterrupts (struct ath_hal *)
 
HAL_INT ar5210SetInterrupts (struct ath_hal *, HAL_INT ints)
 
const HAL_RATE_TABLEar5210GetRateTable (struct ath_hal *, u_int mode)
 
HAL_BOOL ar5210AniControl (struct ath_hal *, HAL_ANI_CMD, int)
 
void ar5210AniPoll (struct ath_hal *, const struct ieee80211_channel *)
 
void ar5210RxMonitor (struct ath_hal *, const HAL_NODE_STATS *, const struct ieee80211_channel *)
 
void ar5210MibEvent (struct ath_hal *, const HAL_NODE_STATS *)
 

Macro Definition Documentation

◆ AH5210

#define AH5210 (   ah)    ((struct ath_hal_5210 *)(ah))

Definition at line 128 of file ar5210.h.

◆ AR5210_MAGIC

#define AR5210_MAGIC   0x19980124

Definition at line 24 of file ar5210.h.

◆ AR5210_MAX_RATE_POWER

#define AR5210_MAX_RATE_POWER   60

Definition at line 95 of file ar5210.h.

◆ HAL_NUM_TX_QUEUES

#define HAL_NUM_TX_QUEUES   3

Definition at line 98 of file ar5210.h.

◆ INIT_ACK_CTS_TIMEOUT

#define INIT_ACK_CTS_TIMEOUT   0x04000400

Definition at line 49 of file ar5210.h.

◆ INIT_ACK_CTS_TIMEOUT_TURBO

#define INIT_ACK_CTS_TIMEOUT_TURBO   0x08000800

Definition at line 50 of file ar5210.h.

◆ INIT_ACKTOPS

#define INIT_ACKTOPS   0x00000008

Definition at line 45 of file ar5210.h.

◆ INIT_BCON_CNTRL_REG

#define INIT_BCON_CNTRL_REG   0x00000000

Definition at line 46 of file ar5210.h.

◆ INIT_BEACON_CONTROL

#define INIT_BEACON_CONTROL
Value:
((INIT_RESET_TSF << 24) | (INIT_BEACON_EN << 23) | \
#define INIT_BEACON_PERIOD
Definition: ar5210.h:78
#define INIT_BEACON_EN
Definition: ar5210.h:79
#define INIT_RESET_TSF
Definition: ar5211.h:60
#define INIT_TIM_OFFSET
Definition: ar5211.h:58

Definition at line 80 of file ar5210.h.

◆ INIT_BEACON_EN

#define INIT_BEACON_EN   0 /* this should be set by AP only when it's ready */

Definition at line 79 of file ar5210.h.

◆ INIT_BEACON_PERIOD

#define INIT_BEACON_PERIOD   0xffff

Definition at line 78 of file ar5210.h.

◆ INIT_CARR_SENSE_EN

#define INIT_CARR_SENSE_EN   1

Definition at line 89 of file ar5210.h.

◆ INIT_CONFIG_STATUS

#define INIT_CONFIG_STATUS   0x00000000

Definition at line 44 of file ar5210.h.

◆ INIT_EIFS

#define INIT_EIFS   0xd70

Definition at line 87 of file ar5210.h.

◆ INIT_EIFS_TURBO

#define INIT_EIFS_TURBO   0x1ae0

Definition at line 88 of file ar5210.h.

◆ INIT_NEXT_CFP_START

#define INIT_NEXT_CFP_START   0xffffffff

Definition at line 76 of file ar5210.h.

◆ INIT_ProgIFS

#define INIT_ProgIFS   0x398 /* PIFS - 2us */

Definition at line 85 of file ar5210.h.

◆ INIT_ProgIFS_TURBO

#define INIT_ProgIFS_TURBO   0x3C0

Definition at line 86 of file ar5210.h.

◆ INIT_PROTO_TIME_CNTRL

#define INIT_PROTO_TIME_CNTRL
Value:
( (INIT_CARR_SENSE_EN << 26) | (INIT_EIFS << 12) | \
#define INIT_CARR_SENSE_EN
Definition: ar5210.h:89
#define INIT_ProgIFS
Definition: ar5210.h:85
#define INIT_EIFS
Definition: ar5210.h:87

Definition at line 90 of file ar5210.h.

◆ INIT_PROTO_TIME_CNTRL_TURBO

#define INIT_PROTO_TIME_CNTRL_TURBO
Value:
( (INIT_CARR_SENSE_EN << 26) | (INIT_EIFS_TURBO << 12) | \
#define INIT_ProgIFS_TURBO
Definition: ar5210.h:86
#define INIT_EIFS_TURBO
Definition: ar5210.h:88

Definition at line 92 of file ar5210.h.

◆ INIT_RSSI_THR

#define INIT_RSSI_THR   0x00000700 /* Missed beacon counter initialized to max value of 7 */

Definition at line 84 of file ar5210.h.

◆ INIT_RX_LATENCY

#define INIT_RX_LATENCY   0x1D

Definition at line 56 of file ar5210.h.

◆ INIT_SIFS

#define INIT_SIFS   0x230 /* = 16 us - 2 us */

Definition at line 66 of file ar5210.h.

◆ INIT_SIFS_TURBO

#define INIT_SIFS_TURBO   0x1E0 /* More aggressive turbo SIFS timing - 8 us - 2 us */

Definition at line 67 of file ar5210.h.

◆ INIT_SLOT_TIME

#define INIT_SLOT_TIME   0x00000168

Definition at line 47 of file ar5210.h.

◆ INIT_SLOT_TIME_TURBO

#define INIT_SLOT_TIME_TURBO   0x000001e0 /* More aggressive turbo slot timing = 6 us */

Definition at line 48 of file ar5210.h.

◆ INIT_TRANSMIT_LATENCY

#define INIT_TRANSMIT_LATENCY
Value:
#define INIT_TX_LATENCY
Definition: ar5210.h:55
#define INIT_USEC
Definition: ar5210.h:52
#define INIT_RX_LATENCY
Definition: ar5210.h:56
#define INIT_USEC_32
Definition: ar5210.h:54
#define AR_USEC_RX_LATENCY_S
Definition: ar5210reg.h:346
#define AR_USEC_TX_LATENCY_S
Definition: ar5210reg.h:344

Definition at line 57 of file ar5210.h.

◆ INIT_TRANSMIT_LATENCY_TURBO

#define INIT_TRANSMIT_LATENCY_TURBO
Value:

Definition at line 61 of file ar5210.h.

◆ INIT_TX_LATENCY

#define INIT_TX_LATENCY   0x36

Definition at line 55 of file ar5210.h.

◆ INIT_USEC

#define INIT_USEC   0x27

Definition at line 52 of file ar5210.h.

◆ INIT_USEC_32

#define INIT_USEC_32   0x1f

Definition at line 54 of file ar5210.h.

◆ INIT_USEC_TURBO

#define INIT_USEC_TURBO   0x4f

Definition at line 53 of file ar5210.h.

◆ MAX_TX_FIFO_THRESHOLD

#define MAX_TX_FIFO_THRESHOLD   ((IEEE80211_MAX_LEN / 64) + 1)

Definition at line 74 of file ar5210.h.

◆ MIN_TX_FIFO_THRESHOLD

#define MIN_TX_FIFO_THRESHOLD   0x1

Definition at line 73 of file ar5210.h.

Function Documentation

◆ ar5210AniControl()

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

Definition at line 568 of file ar5210_misc.c.

References AH_FALSE.

◆ ar5210AniPoll()

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

Definition at line 580 of file ar5210_misc.c.

◆ ar5210BeaconInit()

◆ ar5210CalNoiseFloor()

HAL_BOOL ar5210CalNoiseFloor ( struct ath_hal ah,
HAL_CHANNEL_INTERNAL ichan 
)

Definition at line 956 of file ar5210_reset.c.

References AH_FALSE, AH_TRUE, ar5210GetNoiseFloor(), AR_PHY_ACTIVE, AR_PHY_AGC_NF, AR_PHY_AGCCTL, AR_RC, ath_hal_printf(), ath_hal_wait(), HAL_DEBUG_ANY, HALDEBUG, NORMAL_NF_THRESH, OS_DELAY, OS_REG_READ, OS_REG_WRITE, and HAL_CHANNEL_INTERNAL::rawNoiseFloor.

Referenced by ar5210PerCalibrationN(), and ar5210Reset().

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

◆ ar5210ChipReset()

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

Definition at line 392 of file ar5210_reset.c.

References AH_FALSE, AH_TRUE, ar5210SetPowerMode(), ar5210SetResetReg(), AR_PHY_FRCTL, AR_PHY_TURBO_MODE, AR_RC_HW, AR_RC_RPCI, AR_RC_SETTLE_TIME, HAL_DEBUG_RESET, HAL_PM_AWAKE, HALDEBUG, OS_DELAY, and OS_REG_WRITE.

Referenced by ar5210Attach(), and ar5210Reset().

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

◆ ar5210ClrMulticastFilterIndex()

HAL_BOOL ar5210ClrMulticastFilterIndex ( struct ath_hal ah,
uint32_t  ix 
)

Definition at line 119 of file ar5210_recv.c.

References AH_FALSE, AH_TRUE, AR_MCAST_FIL0, AR_MCAST_FIL1, OS_REG_READ, and OS_REG_WRITE.

◆ ar5210Detach()

void ar5210Detach ( struct ath_hal ah)

Definition at line 305 of file ar5210_attach.c.

References ath_hal::ah_magic, AH_NULL, AR5210_MAGIC, ath_hal_eepromDetach, ath_hal_free(), HAL_DEBUG_ATTACH, HALASSERT, and HALDEBUG.

Here is the call graph for this function:

◆ ar5210DetectCardPresent()

HAL_BOOL ar5210DetectCardPresent ( struct ath_hal ah)

Definition at line 398 of file ar5210_misc.c.

References AH_PRIVATE, AR_SREV, and OS_REG_READ.

◆ ar5210Disable()

HAL_BOOL ar5210Disable ( struct ath_hal ah)

Definition at line 368 of file ar5210_reset.c.

References AH_FALSE, AH_TRUE, ar5210SetPowerMode(), ar5210SetResetReg(), AR_RC_HW, AR_RC_RPCI, AR_RC_SETTLE_TIME, HAL_PM_AWAKE, and OS_DELAY.

Here is the call graph for this function:

◆ ar5210DisableHwEncryption()

void ar5210DisableHwEncryption ( struct ath_hal )

◆ ar5210EepromRead()

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

Definition at line 70 of file ar5210_misc.c.

References AH_FALSE, AH_TRUE, AR_EP_AIR, AR_EP_RDATA, AR_EP_STA, AR_EP_STA_RDCMPLT, AR_EP_STA_RDERR, ath_hal_wait(), HAL_DEBUG_ANY, HALDEBUG, and OS_REG_READ.

Here is the call graph for this function:

◆ ar5210EepromWrite()

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

◆ ar5210EnableDfs()

void ar5210EnableDfs ( struct ath_hal ah,
HAL_PHYERR_PARAM pe 
)

Definition at line 690 of file ar5210_misc.c.

◆ ar5210EnableHwEncryption()

void ar5210EnableHwEncryption ( struct ath_hal )

◆ ar5210EnableReceive()

void ar5210EnableReceive ( struct ath_hal ah)

Definition at line 57 of file ar5210_recv.c.

References AR_CR, AR_CR_RXE, and OS_REG_WRITE.

◆ ar5210EnableRfKill()

void ar5210EnableRfKill ( struct ath_hal ah)

Definition at line 142 of file ar5210_misc.c.

References AH_PRIVATE, ar5210Gpio0SetIntr(), ar5210GpioGet(), AR_EEPROM_RFSILENT_GPIO_SEL, AR_EEPROM_RFSILENT_POLARITY, and MS.

Referenced by ar5210Reset().

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

◆ ar5210FillTxDesc()

HAL_BOOL ar5210FillTxDesc ( 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 
)

◆ ar5210Get11nExtBusy()

uint32_t ar5210Get11nExtBusy ( struct ath_hal ah)

Definition at line 667 of file ar5210_misc.c.

◆ ar5210GetAckCTSRate()

u_int ar5210GetAckCTSRate ( struct ath_hal ah)

Definition at line 499 of file ar5210_misc.c.

References AH5210, ath_hal_5210::ah_staId1Defaults, and AR_STA_ID1_ACKCTS_6MB.

◆ ar5210GetAckTimeout()

u_int ar5210GetAckTimeout ( struct ath_hal ah)

Definition at line 492 of file ar5210_misc.c.

References AR_TIME_OUT, AR_TIME_OUT_ACK, ath_hal_mac_usec(), MS, and OS_REG_READ.

Here is the call graph for this function:

◆ ar5210GetAntennaSwitch()

HAL_ANT_SETTING ar5210GetAntennaSwitch ( struct ath_hal ah)

Definition at line 295 of file ar5210_misc.c.

References HAL_ANT_VARIABLE.

◆ ar5210GetBssIdMask()

void ar5210GetBssIdMask ( struct ath_hal ah,
uint8_t *  mask 
)

Definition at line 53 of file ar5210_misc.c.

References IEEE80211_ADDR_LEN, and OS_MEMCPY.

◆ ar5210GetCapability()

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

Definition at line 590 of file ar5210_misc.c.

References ath_hal_getcapability, HAL_CAP_CIPHER, HAL_CIPHER_WEP, HAL_ENOTSUPP, and HAL_OK.

◆ ar5210GetCTSTimeout()

u_int ar5210GetCTSTimeout ( struct ath_hal ah)

Definition at line 539 of file ar5210_misc.c.

References AR_TIME_OUT, AR_TIME_OUT_CTS, ath_hal_mac_usec(), MS, and OS_REG_READ.

Here is the call graph for this function:

◆ ar5210GetDefAntenna()

u_int ar5210GetDefAntenna ( struct ath_hal ah)

Definition at line 275 of file ar5210_misc.c.

References AR_STA_ID1, AR_STA_ID1_DEFAULT_ANTENNA, and OS_REG_READ.

◆ ar5210GetDfsThresh()

void ar5210GetDfsThresh ( struct ath_hal ah,
HAL_PHYERR_PARAM pe 
)

Definition at line 695 of file ar5210_misc.c.

◆ ar5210GetDiagState()

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

◆ ar5210GetInterrupts()

HAL_INT ar5210GetInterrupts ( struct ath_hal ah)

Definition at line 85 of file ar5210_interrupts.c.

References AH5210.

Referenced by ar5210UpdateTxTrigLevel().

Here is the caller graph for this function:

◆ ar5210GetKeyCacheSize()

u_int ar5210GetKeyCacheSize ( struct ath_hal ah)

Definition at line 36 of file ar5210_keycache.c.

References AR_KEYTABLE_SIZE.

◆ ar5210GetMacAddress()

void ar5210GetMacAddress ( struct ath_hal ah,
uint8_t *  mac 
)

Definition at line 36 of file ar5210_misc.c.

References AH5210, ath_hal_5210::ah_macaddr, IEEE80211_ADDR_LEN, and OS_MEMCPY.

◆ ar5210GetMibCycleCounts()

HAL_BOOL ar5210GetMibCycleCounts ( struct ath_hal ah,
HAL_SURVEY_SAMPLE hsample 
)

Definition at line 677 of file ar5210_misc.c.

References AH_FALSE.

◆ ar5210GetNav()

u_int ar5210GetNav ( struct ath_hal ah)

Definition at line 718 of file ar5210_misc.c.

References AR_NAV, and OS_REG_READ.

◆ ar5210GetNextTBTT()

uint64_t ar5210GetNextTBTT ( struct ath_hal ah)

Definition at line 35 of file ar5210_beacon.c.

References AR_TIMER0, OS_REG_READ, and TU_TO_TSF.

◆ ar5210GetNfAdjust()

int16_t ar5210GetNfAdjust ( struct ath_hal ah,
const HAL_CHANNEL_INTERNAL c 
)

Definition at line 998 of file ar5210_reset.c.

Referenced by ar5210Attach().

Here is the caller graph for this function:

◆ ar5210GetNoiseFloor()

int16_t ar5210GetNoiseFloor ( struct ath_hal ah)

Definition at line 938 of file ar5210_reset.c.

References AR_PHY, and OS_REG_READ.

Referenced by ar5210CalNoiseFloor().

Here is the caller graph for this function:

◆ ar5210GetPendingInterrupts()

◆ ar5210GetPowerMode()

HAL_POWER_MODE ar5210GetPowerMode ( struct ath_hal ah)

Definition at line 136 of file ar5210_power.c.

References AR_SCR, AR_SCR_SLE, MS, and OS_REG_READ.

◆ ar5210GetRandomSeed()

uint32_t ar5210GetRandomSeed ( struct ath_hal ah)

Definition at line 383 of file ar5210_misc.c.

References AR_PHY_BASE, AR_TSF_L32, AR_TSF_U32, and OS_REG_READ.

◆ ar5210GetRateTable()

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

Definition at line 70 of file ar5210_phy.c.

References AH_NULL, ar5210_11a_table, ar5210_turbo_table, ath_hal_setupratetable(), HAL_DEBUG_ANY, HAL_MODE_11A, HAL_MODE_TURBO, and HALDEBUG.

Here is the call graph for this function:

◆ ar5210GetRfgain()

HAL_RFGAIN ar5210GetRfgain ( struct ath_hal ah)

Definition at line 1004 of file ar5210_reset.c.

References HAL_RFGAIN_INACTIVE.

◆ ar5210GetRxDP()

uint32_t ar5210GetRxDP ( struct ath_hal ah,
HAL_RX_QUEUE  qtype 
)

Definition at line 35 of file ar5210_recv.c.

References AR_RXDP, HAL_RX_QUEUE_HP, HALASSERT, and OS_REG_READ.

◆ ar5210GetRxFilter()

uint32_t ar5210GetRxFilter ( struct ath_hal ah)

Definition at line 159 of file ar5210_recv.c.

References AR_RX_FILTER, and OS_REG_READ.

◆ ar5210GetSifsTime()

u_int ar5210GetSifsTime ( struct ath_hal ah)

Definition at line 441 of file ar5210_misc.c.

References AR_IFS0, ath_hal_mac_usec(), and OS_REG_READ.

Here is the call graph for this function:

◆ ar5210GetSlotTime()

u_int ar5210GetSlotTime ( struct ath_hal ah)

Definition at line 466 of file ar5210_misc.c.

References AR_SLOT_TIME, ath_hal_mac_usec(), and OS_REG_READ.

Here is the call graph for this function:

◆ ar5210GetTsf32()

uint32_t ar5210GetTsf32 ( struct ath_hal ah)

Definition at line 362 of file ar5210_misc.c.

References AR_TSF_L32, and OS_REG_READ.

◆ ar5210GetTsf64()

uint64_t ar5210GetTsf64 ( struct ath_hal ah)

Definition at line 334 of file ar5210_misc.c.

References AR_TSF_L32, AR_TSF_U32, and OS_REG_READ.

◆ ar5210GetTxCompletionRates()

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

Definition at line 636 of file ar5210_xmit.c.

References AH_FALSE.

◆ ar5210GetTxDescLink()

void ar5210GetTxDescLink ( struct ath_hal ah,
void *  ds,
uint32_t *  link 
)

Definition at line 656 of file ar5210_xmit.c.

References AR5210DESC, and ar5210_desc::ds_link.

◆ ar5210GetTxDescLinkPtr()

void ar5210GetTxDescLinkPtr ( struct ath_hal ah,
void *  ds,
uint32_t **  linkptr 
)

Definition at line 667 of file ar5210_xmit.c.

References AR5210DESC, and ar5210_desc::ds_link.

◆ ar5210GetTxDP()

uint32_t ar5210GetTxDP ( struct ath_hal ah,
u_int  q 
)

◆ ar5210GetTxIntrQueue()

void ar5210GetTxIntrQueue ( struct ath_hal ah,
uint32_t *  txqs 
)

Definition at line 627 of file ar5210_xmit.c.

◆ ar5210GetTxQueueProps()

HAL_BOOL ar5210GetTxQueueProps ( struct ath_hal ah,
int  q,
HAL_TXQ_INFO qInfo 
)

Definition at line 54 of file ar5210_xmit.c.

References AH5210, AH_FALSE, ath_hal_5210::ah_txq, ath_hal_getTxQProps(), HAL_DEBUG_ANY, HAL_NUM_TX_QUEUES, and HALDEBUG.

Here is the call graph for this function:

◆ ar5210GetWirelessModes()

u_int ar5210GetWirelessModes ( struct ath_hal ah)

Definition at line 131 of file ar5210_misc.c.

References HAL_MODE_11A.

◆ ar5210Gpio0SetIntr()

void ar5210Gpio0SetIntr ( struct ath_hal ah,
u_int  gpio,
uint32_t  ilevel 
)

Definition at line 226 of file ar5210_misc.c.

References AH5210, ath_hal_5210::ah_maskReg, ar5210SetInterrupts(), AR_GPIOCR, AR_GPIOCR_ALL, AR_GPIOCR_INT_ENA, AR_GPIOCR_INT_SEL, AR_GPIOCR_INT_SELH, HAL_INT_GPIO, OS_REG_READ, and OS_REG_WRITE.

Referenced by ar5210EnableRfKill().

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

◆ ar5210GpioCfgInput()

HAL_BOOL ar5210GpioCfgInput ( struct ath_hal ah,
uint32_t  gpio 
)

◆ ar5210GpioCfgOutput()

HAL_BOOL ar5210GpioCfgOutput ( struct ath_hal ah,
uint32_t  gpio,
HAL_GPIO_MUX_TYPE  type 
)

◆ ar5210GpioGet()

uint32_t ar5210GpioGet ( struct ath_hal ah,
uint32_t  gpio 
)

Definition at line 211 of file ar5210_misc.c.

References AR_GPIOD_MASK, AR_GPIODI, AR_NUM_GPIO, and OS_REG_READ.

Referenced by ar5210EnableRfKill().

Here is the caller graph for this function:

◆ ar5210GpioSet()

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

Definition at line 193 of file ar5210_misc.c.

References AH_TRUE, AR_GPIODO, AR_NUM_GPIO, HALASSERT, OS_REG_READ, and OS_REG_WRITE.

◆ ar5210IntrReqTxDesc()

void ar5210IntrReqTxDesc ( struct ath_hal ah,
struct ath_desc ds 
)

Definition at line 543 of file ar5210_xmit.c.

References AR5210DESC, AR_TxInterReq, and ar5210_desc::ds_ctl0.

◆ ar5210IsInterruptPending()

HAL_BOOL ar5210IsInterruptPending ( struct ath_hal ah)

Definition at line 33 of file ar5210_interrupts.c.

References AH_FALSE, AH_TRUE, AR_INTPEND, and OS_REG_READ.

◆ ar5210IsKeyCacheEntryValid()

HAL_BOOL ar5210IsKeyCacheEntryValid ( struct ath_hal ah,
uint16_t  entry 
)

◆ ar5210MibEvent()

void ar5210MibEvent ( struct ath_hal ah,
const HAL_NODE_STATS stats 
)

Definition at line 585 of file ar5210_misc.c.

◆ ar5210NumTxPending()

◆ ar5210PerCalibration()

HAL_BOOL ar5210PerCalibration ( struct ath_hal ah,
struct ieee80211_channel *  chan,
HAL_BOOL isIQdone 
)

Definition at line 573 of file ar5210_reset.c.

References AH_TRUE, and ar5210PerCalibrationN().

Here is the call graph for this function:

◆ ar5210PerCalibrationN()

HAL_BOOL ar5210PerCalibrationN ( struct ath_hal ah,
struct ieee80211_channel *  chan,
u_int  chainMask,
HAL_BOOL  longCal,
HAL_BOOL isCalDone 
)

◆ ar5210PhyDisable()

HAL_BOOL ar5210PhyDisable ( struct ath_hal ah)

Definition at line 359 of file ar5210_reset.c.

References ar5210SetResetReg(), and AR_RC_RPHY.

Here is the call graph for this function:

◆ ar5210ProcRxDesc()

◆ ar5210ProcTxDesc()

◆ ar5210ReleaseTxQueue()

◆ ar5210Reset()

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

Definition at line 72 of file ar5210_reset.c.

References AH5210, ath_hal_5210::ah_acktimeout, ath_hal_5210::ah_associd, ath_hal_5210::ah_bssid, ath_hal_5210::ah_ctstimeout, AH_FALSE, ath_hal_5210::ah_macaddr, ath_hal_5210::ah_maskReg, AH_NULL, AH_PRIVATE, ath_hal_5210::ah_rssiThr, ath_hal_5210::ah_sifstime, ath_hal_5210::ah_slottime, AH_TRUE, ar5210CalNoiseFloor(), ar5210ChipReset(), ar5210EnableRfKill(), ar5210ResetTxQueue(), ar5210SetAckTimeout(), ar5210SetChannel(), ar5210SetCTSTimeout(), ar5210SetOperatingMode(), ar5210SetRxFilter(), ar5210SetSifsTime(), ar5210SetSlotTime(), ar5210SetTransmitPower(), ar5210UpdateDiagReg(), ar5210WriteAssocid(), ar5k0007_init, AR_BCR, AR_BCR_BCMD, AR_BEACON, AR_BEACON_EN, AR_BEACON_RESET_TSF, AR_BSR, AR_BSS_ID0, AR_BSS_ID1, AR_CFP_DUR, AR_CFP_PERIOD, AR_CLR_TMASK, AR_DMASIZE_128B, AR_IER, AR_IER_DISABLE, AR_IMR, AR_ISR, AR_MCAST_FIL0, AR_MCAST_FIL1, AR_MIBC, AR_PCICFG, AR_PCICFG_CLKRUNEN, AR_PCICFG_LED_ACT, AR_PCICFG_LED_BCTL, AR_PCICFG_LED_PEND, AR_PHY, AR_PHY_ACTIVE, AR_PHY_AGC_CAL, AR_PHY_AGCCTL, AR_PHY_ENABLE, AR_RPGTO, AR_RSSI_THR, AR_RXCFG, AR_RXDP, AR_RXNOFRM, AR_SFR, AR_STA_ID0, AR_STA_ID1, AR_TIMER0, AR_TIMER1, AR_TIMER2, AR_TIMER3, AR_TOPS, AR_TRIG_LEV, AR_TSF_L32, AR_TX_MASK0, AR_TX_MASK1, AR_TXCFG, AR_TXDP0, AR_TXDP1, AR_TXNOFRM, ath_hal_checkchannel(), ath_hal_wait(), HAL_EEPROM_v1::ee_antenna, HAL_EEPROM_v1::ee_thresh62, HAL_EEPROM_v1::ee_xlnaOn, HAL_EEPROM_v1::ee_xpaOff, HAL_EEPROM_v1::ee_xpaOn, FAIL, HAL_DEBUG_ANY, HAL_DEBUG_RESET, HAL_EINVAL, HAL_EIO, HAL_M_HOSTAP, HAL_M_IBSS, HAL_M_MONITOR, HAL_M_STA, HAL_NUM_TX_QUEUES, HALDEBUG, INIT_BCON_CNTRL_REG, LE_READ_2, LE_READ_4, N, REGISTER_VAL::Offset, OS_DELAY, OS_REG_READ, and OS_REG_WRITE.

Here is the call graph for this function:

◆ ar5210ResetCalValid()

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

Definition at line 580 of file ar5210_reset.c.

References AH_TRUE.

◆ ar5210ResetDma()

HAL_BOOL ar5210ResetDma ( struct ath_hal ,
HAL_OPMODE   
)

◆ ar5210ResetKeyCacheEntry()

◆ ar5210ResetStaBeaconTimers()

void ar5210ResetStaBeaconTimers ( struct ath_hal ah)

◆ ar5210ResetTsf()

void ar5210ResetTsf ( struct ath_hal ah)

Definition at line 371 of file ar5210_misc.c.

References AR_BEACON, AR_BEACON_RESET_TSF, OS_REG_READ, and OS_REG_WRITE.

◆ ar5210ResetTxQueue()

HAL_BOOL ar5210ResetTxQueue ( struct ath_hal ah,
u_int  q 
)

◆ ar5210RxMonitor()

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

Definition at line 574 of file ar5210_misc.c.

◆ ar5210SetAckCTSRate()

HAL_BOOL ar5210SetAckCTSRate ( struct ath_hal ah,
u_int  high 
)

◆ ar5210SetAckTimeout()

HAL_BOOL ar5210SetAckTimeout ( struct ath_hal ah,
u_int  us 
)

Definition at line 473 of file ar5210_misc.c.

References AH5210, ath_hal_5210::ah_acktimeout, AH_FALSE, AH_TRUE, AR_TIME_OUT, AR_TIME_OUT_ACK, ath_hal_mac_clks(), ath_hal_mac_usec(), HAL_DEBUG_ANY, HALDEBUG, MS, and OS_REG_RMW_FIELD.

Referenced by ar5210Reset().

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

◆ ar5210SetAntennaSwitch()

HAL_BOOL ar5210SetAntennaSwitch ( struct ath_hal ah,
HAL_ANT_SETTING  settings 
)

Definition at line 301 of file ar5210_misc.c.

References HAL_ANT_VARIABLE.

◆ ar5210SetBeaconTimers()

void ar5210SetBeaconTimers ( struct ath_hal ah,
const HAL_BEACON_TIMERS bt 
)

◆ ar5210SetBssIdMask()

HAL_BOOL ar5210SetBssIdMask ( struct ath_hal ah,
const uint8_t *  mask 
)

Definition at line 61 of file ar5210_misc.c.

References AH_FALSE.

◆ ar5210SetCapability()

HAL_BOOL ar5210SetCapability ( struct ath_hal ah,
HAL_CAPABILITY_TYPE  type,
uint32_t  capability,
uint32_t  setting,
HAL_STATUS status 
)

Definition at line 607 of file ar5210_misc.c.

References AH_FALSE, AH_PRIVATE, AH_TRUE, ar5210UpdateDiagReg(), ath_hal_setcapability, HAL_CAP_DIAG, and HAL_CAP_RXORN_FATAL.

Here is the call graph for this function:

◆ ar5210SetChainMasks()

void ar5210SetChainMasks ( struct ath_hal ah,
uint32_t  txchainmask,
uint32_t  rxchainmask 
)

Definition at line 684 of file ar5210_misc.c.

◆ ar5210SetCoverageClass()

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

Definition at line 553 of file ar5210_misc.c.

◆ ar5210SetCTSTimeout()

HAL_BOOL ar5210SetCTSTimeout ( struct ath_hal ah,
u_int  us 
)

Definition at line 520 of file ar5210_misc.c.

References AH5210, ath_hal_5210::ah_ctstimeout, AH_FALSE, AH_TRUE, AR_TIME_OUT, AR_TIME_OUT_CTS, ath_hal_mac_clks(), ath_hal_mac_usec(), HAL_DEBUG_ANY, HALDEBUG, MS, and OS_REG_RMW_FIELD.

Referenced by ar5210Reset().

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

◆ ar5210SetDecompMask()

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

Definition at line 546 of file ar5210_misc.c.

References AH_TRUE.

◆ ar5210SetDefAntenna()

void ar5210SetDefAntenna ( struct ath_hal ah,
u_int  antenna 
)

Definition at line 282 of file ar5210_misc.c.

References AR_STA_ID1, AR_STA_ID1_DEFAULT_ANTENNA, OS_REG_READ, and OS_REG_WRITE.

◆ ar5210SetInterrupts()

◆ ar5210SetKeyCacheEntry()

◆ ar5210SetKeyCacheEntryMac()

HAL_BOOL ar5210SetKeyCacheEntryMac ( struct ath_hal ah,
uint16_t  entry,
const uint8_t *  mac 
)

Definition at line 79 of file ar5210_keycache.c.

References AH_FALSE, AH_NULL, AH_TRUE, AR_KEYTABLE_MAC0, AR_KEYTABLE_MAC1, AR_KEYTABLE_SIZE, AR_KEYTABLE_VALID, and OS_REG_WRITE.

Referenced by ar5210SetKeyCacheEntry().

Here is the caller graph for this function:

◆ ar5210SetLedState()

void ar5210SetLedState ( struct ath_hal ah,
HAL_LED_STATE  state 
)

◆ ar5210SetMacAddress()

HAL_BOOL ar5210SetMacAddress ( struct ath_hal ah,
const uint8_t *  mac 
)

Definition at line 44 of file ar5210_misc.c.

References AH5210, ath_hal_5210::ah_macaddr, AH_TRUE, IEEE80211_ADDR_LEN, and OS_MEMCPY.

◆ ar5210SetMulticastFilter()

void ar5210SetMulticastFilter ( struct ath_hal ah,
uint32_t  filter0,
uint32_t  filter1 
)

Definition at line 109 of file ar5210_recv.c.

References AR_MCAST_FIL0, AR_MCAST_FIL1, and OS_REG_WRITE.

◆ ar5210SetMulticastFilterIndex()

HAL_BOOL ar5210SetMulticastFilterIndex ( struct ath_hal ah,
uint32_t  ix 
)

Definition at line 139 of file ar5210_recv.c.

References AH_FALSE, AH_TRUE, AR_MCAST_FIL0, AR_MCAST_FIL1, OS_REG_READ, and OS_REG_WRITE.

◆ ar5210SetNav()

void ar5210SetNav ( struct ath_hal ah,
u_int  val 
)

Definition at line 730 of file ar5210_misc.c.

References AR_NAV, and OS_REG_WRITE.

◆ ar5210SetPCUConfig()

void ar5210SetPCUConfig ( struct ath_hal ah)

Definition at line 347 of file ar5210_reset.c.

References AH_PRIVATE, and ar5210SetOperatingMode().

Here is the call graph for this function:

◆ ar5210SetPowerMode()

HAL_BOOL ar5210SetPowerMode ( struct ath_hal ,
uint32_t  powerRequest,
int  setChip 
)

Referenced by ar5210ChipReset(), and ar5210Disable().

Here is the caller graph for this function:

◆ ar5210SetQuiet()

HAL_STATUS ar5210SetQuiet ( struct ath_hal ah,
uint32_t  period,
uint32_t  duration,
uint32_t  next_start,
HAL_QUIET_FLAG  flags 
)

Definition at line 558 of file ar5210_misc.c.

References HAL_OK.

◆ ar5210SetRegulatoryDomain()

HAL_BOOL ar5210SetRegulatoryDomain ( struct ath_hal ah,
uint16_t  regDomain,
HAL_STATUS status 
)

◆ ar5210SetRxDP()

void ar5210SetRxDP ( struct ath_hal ah,
uint32_t  rxdp,
HAL_RX_QUEUE  qtype 
)

Definition at line 46 of file ar5210_recv.c.

References AR_RXDP, HAL_RX_QUEUE_HP, HALASSERT, and OS_REG_WRITE.

◆ ar5210SetRxFilter()

void ar5210SetRxFilter ( struct ath_hal ah,
uint32_t  bits 
)

Definition at line 169 of file ar5210_recv.c.

References AR_RX_FILTER, AR_RX_FILTER_PROMISCUOUS, HAL_RX_FILTER_PHYRADAR, and OS_REG_WRITE.

Referenced by ar5210Reset().

Here is the caller graph for this function:

◆ ar5210SetSifsTime()

HAL_BOOL ar5210SetSifsTime ( struct ath_hal ah,
u_int  us 
)

Definition at line 422 of file ar5210_misc.c.

References AH5210, AH_FALSE, ath_hal_5210::ah_sifstime, AH_TRUE, AR_IFS0, AR_IFS0_SIFS, ath_hal_mac_clks(), ath_hal_mac_usec(), HAL_DEBUG_ANY, HALDEBUG, and OS_REG_RMW_FIELD.

Referenced by ar5210Reset().

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

◆ ar5210SetSlotTime()

HAL_BOOL ar5210SetSlotTime ( struct ath_hal ah,
u_int  us 
)

Definition at line 448 of file ar5210_misc.c.

References AH5210, AH_FALSE, ath_hal_5210::ah_slottime, AH_TRUE, AR_SLOT_TIME, ath_hal_mac_clks(), ath_hal_mac_usec(), HAL_DEBUG_ANY, HALDEBUG, and OS_REG_WRITE.

Referenced by ar5210Reset().

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

◆ ar5210SetStaBeaconTimers()

◆ ar5210SetTransmitPower()

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

Definition at line 835 of file ar5210_reset.c.

References AH_FALSE, AH_TRUE, ar5k0007_pwrSettings, ath_hal_printf(), ath_hal_reverseBits(), N, OS_MEMCPY, OS_REG_WRITE, and setupPowerSettings().

Referenced by ar5210Reset().

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

◆ ar5210SetTxDescLink()

void ar5210SetTxDescLink ( struct ath_hal ah,
void *  ds,
uint32_t  link 
)

Definition at line 645 of file ar5210_xmit.c.

References AR5210DESC, and ar5210_desc::ds_link.

◆ ar5210SetTxDP()

◆ ar5210SetTxPowerLimit()

HAL_BOOL ar5210SetTxPowerLimit ( struct ath_hal ah,
uint32_t  limit 
)

Definition at line 722 of file ar5210_reset.c.

References AH_MIN, AH_PRIVATE, AH_TRUE, and AR5210_MAX_RATE_POWER.

◆ ar5210SetTxQueueProps()

HAL_BOOL ar5210SetTxQueueProps ( struct ath_hal ah,
int  q,
const HAL_TXQ_INFO qInfo 
)

Definition at line 38 of file ar5210_xmit.c.

References AH5210, AH_FALSE, ath_hal_5210::ah_txq, ath_hal_setTxQProps(), HAL_DEBUG_ANY, HAL_NUM_TX_QUEUES, and HALDEBUG.

Referenced by ar5210SetupTxQueue().

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

◆ ar5210SetupRxDesc()

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

◆ ar5210SetupTxDesc()

HAL_BOOL ar5210SetupTxDesc ( 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  txRetries0,
u_int  keyIx,
u_int  antMode,
u_int  flags,
u_int  rtsctsRate,
u_int  rtsctsDuration,
u_int  compicvLen,
u_int  compivLen,
u_int  comp 
)

◆ ar5210SetupTxQueue()

◆ ar5210SetupXTxDesc()

HAL_BOOL ar5210SetupXTxDesc ( 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 530 of file ar5210_xmit.c.

References AH_FALSE.

◆ ar5210StartPcuReceive()

void ar5210StartPcuReceive ( struct ath_hal ah,
HAL_BOOL  is_scanning 
)

Definition at line 88 of file ar5210_recv.c.

References ar5210UpdateDiagReg(), AR_DIAG_SW, AR_DIAG_SW_DIS_RX, and OS_REG_READ.

Here is the call graph for this function:

◆ ar5210StartTxDma()

◆ ar5210StopDmaReceive()

HAL_BOOL ar5210StopDmaReceive ( struct ath_hal ah)

Definition at line 66 of file ar5210_recv.c.

References AH_FALSE, AH_TRUE, AR_CR, AR_CR_RXD, AR_CR_RXE, AR_DIAG_SW, ath_hal_printf(), OS_DELAY, OS_REG_READ, and OS_REG_WRITE.

Here is the call graph for this function:

◆ ar5210StopPcuReceive()

void ar5210StopPcuReceive ( struct ath_hal ah)

Definition at line 98 of file ar5210_recv.c.

References ar5210UpdateDiagReg(), AR_DIAG_SW, AR_DIAG_SW_DIS_RX, and OS_REG_READ.

Here is the call graph for this function:

◆ ar5210StopTxDma()

◆ ar5210UpdateDiagReg()

void ar5210UpdateDiagReg ( struct ath_hal ah,
uint32_t  val 
)

Definition at line 706 of file ar5210_misc.c.

References AR_DIAG_SW, AR_DIAG_SW_DIS_CRYPTO, and OS_REG_WRITE.

Referenced by ar5210PerCalibrationN(), ar5210Reset(), ar5210SetCapability(), ar5210StartPcuReceive(), and ar5210StopPcuReceive().

Here is the caller graph for this function:

◆ ar5210UpdateMibCounters()

◆ ar5210UpdateTxTrigLevel()

HAL_BOOL ar5210UpdateTxTrigLevel ( struct ath_hal ah,
HAL_BOOL  bIncTrigLevel 
)

◆ ar5210WriteAssocid()

void ar5210WriteAssocid ( struct ath_hal ah,
const uint8_t *  bssid,
uint16_t  assocId 
)