iPXE
|
Go to the source code of this file.
Macros | |
#define | AR_BufLen 0x00000fff |
Functions | |
static void | ar9002_hw_rx_enable (struct ath_hw *ah) |
static void | ar9002_hw_set_desc_link (void *ds, u32 ds_link) |
static void | ar9002_hw_get_desc_link (void *ds, u32 **ds_link) |
static int | ar9002_hw_get_isr (struct ath_hw *ah, enum ath9k_int *masked) |
static void | ar9002_hw_fill_txdesc (struct ath_hw *ah __unused, void *ds, u32 seglen, int is_firstseg, int is_lastseg, const void *ds0, u32 buf_addr, unsigned int qcu __unused) |
static int | ar9002_hw_proc_txdesc (struct ath_hw *ah, void *ds, struct ath_tx_status *ts) |
static void | ar9002_hw_set11n_txdesc (struct ath_hw *ah, void *ds, u32 pktLen, enum ath9k_pkt_type type, u32 txPower, u32 keyIx, enum ath9k_key_type keyType, u32 flags) |
static void | ar9002_hw_set_clrdmask (struct ath_hw *ah __unused, void *ds, int val) |
static void | ar9002_hw_set11n_ratescenario (struct ath_hw *ah __unused, void *ds, void *lastds, u32 durUpdateEn, u32 rtsctsRate, u32 rtsctsDuration __unused, struct ath9k_11n_rate_series series[], u32 nseries __unused, u32 flags) |
static void | ar9002_hw_set11n_aggr_first (struct ath_hw *ah __unused, void *ds, u32 aggrLen) |
static void | ar9002_hw_set11n_aggr_middle (struct ath_hw *ah __unused, void *ds, u32 numDelims) |
static void | ar9002_hw_set11n_aggr_last (struct ath_hw *ah __unused, void *ds) |
static void | ar9002_hw_clr11n_aggr (struct ath_hw *ah __unused, void *ds) |
void | ath9k_hw_setuprxdesc (struct ath_hw *ah, struct ath_desc *ds, u32 size, u32 flags) |
void | ar9002_hw_attach_mac_ops (struct ath_hw *ah) |
#define AR_BufLen 0x00000fff |
Definition at line 24 of file ath9k_ar9002_mac.c.
|
static |
Definition at line 26 of file ath9k_ar9002_mac.c.
References ah, AR_CR, AR_CR_RXE, and REG_WRITE.
Referenced by ar9002_hw_attach_mac_ops().
|
static |
|
static |
Definition at line 41 of file ath9k_ar9002_mac.c.
References ah, AR_IER_ENABLE, AR_INTR_ASYNC_CAUSE, AR_INTR_MAC_IRQ, AR_INTR_SYNC_CAUSE, AR_INTR_SYNC_CAUSE_CLR, AR_INTR_SYNC_DEFAULT, AR_INTR_SYNC_HOST1_FATAL, AR_INTR_SYNC_HOST1_PERR, AR_INTR_SYNC_LOCAL_TIMEOUT, AR_INTR_SYNC_RADM_CPL_TIMEOUT, AR_ISR, AR_ISR_BCNMISC, AR_ISR_GENTMR, AR_ISR_RAC, AR_ISR_RXERR, AR_ISR_RXINTM, AR_ISR_RXMINTR, AR_ISR_RXOK, AR_ISR_RXORN, AR_ISR_S0_QCU_TXDESC, AR_ISR_S0_QCU_TXOK, AR_ISR_S0_S, AR_ISR_S1_QCU_TXEOL, AR_ISR_S1_QCU_TXERR, AR_ISR_S1_S, AR_ISR_S2, AR_ISR_S2_CABEND, AR_ISR_S2_CST, AR_ISR_S2_DTIM, AR_ISR_S2_DTIMSYNC, AR_ISR_S2_GTT, AR_ISR_S2_TIM, AR_ISR_S2_TSFOOR, AR_ISR_S5_GENTIMER_THRESH, AR_ISR_S5_GENTIMER_TRIG, AR_ISR_S5_S, AR_ISR_S5_TIM_TIMER, AR_ISR_TXDESC, AR_ISR_TXEOL, AR_ISR_TXERR, AR_ISR_TXOK, AR_RC, AR_RC_HOSTIF, AR_RTC_STATUS, AR_RTC_STATUS_M, AR_RTC_STATUS_ON, AR_SREV_9100, ATH9K_HW_CAP_AUTOSLEEP, ATH9K_INT_CABEND, ATH9K_INT_COMMON, ATH9K_INT_CST, ATH9K_INT_DTIM, ATH9K_INT_DTIMSYNC, ATH9K_INT_FATAL, ATH9K_INT_GENTIMER, ATH9K_INT_GTT, ATH9K_INT_RX, ATH9K_INT_TIM, ATH9K_INT_TIM_TIMER, ATH9K_INT_TSFOOR, ATH9K_INT_TX, DBG, ath9k_hw_capabilities::hw_caps, isr, MS, REG_READ, and REG_WRITE.
Referenced by ar9002_hw_attach_mac_ops().
|
static |
Definition at line 182 of file ath9k_ar9002_mac.c.
References AR5416DESC, AR5416DESC_CONST, AR_TxMore, ds, ar5416_desc::ds_ctl0, ar5416_desc::ds_ctl1, and ar5416_desc::ds_data.
Referenced by ar9002_hw_attach_mac_ops().
|
static |
Definition at line 211 of file ath9k_ar9002_mac.c.
References ah, AR5416DESC, AR_DataFailCnt, AR_DescCfgErr, AR_ExcessiveRetries, AR_FIFOUnderrun, AR_Filtered, AR_FinalTxIdx, AR_FrmXmitOK, AR_RTSFailCnt, AR_SeqNum, AR_TxBaStatus, AR_TxDataUnderrun, AR_TxDelimUnderrun, AR_TxDone, AR_TxOpExceeded, AR_TxRSSIAnt00, AR_TxRSSIAnt01, AR_TxRSSIAnt02, AR_TxRSSIAnt10, AR_TxRSSIAnt11, AR_TxRSSIAnt12, AR_TxRSSICombined, AR_TxTid, AR_TxTimerExpired, AR_VirtRetryCnt, ath9k_hw_updatetxtriglevel(), ATH9K_TX_ACKED, ATH9K_TX_BA, ATH9K_TX_DATA_UNDERRUN, ATH9K_TX_DELIM_UNDERRUN, ATH9K_TX_DESC_CFG_ERR, ATH9K_TXERR_FIFO, ATH9K_TXERR_FILT, ATH9K_TXERR_TIMER_EXPIRED, ATH9K_TXERR_XRETRY, ATH9K_TXERR_XTXOP, ath_tx_status::ba_high, ath_tx_status::ba_low, ds, EINPROGRESS, ath_tx_status::evm0, ath_tx_status::evm1, ath_tx_status::evm2, MS, status, ath_tx_status::tid, ath_tx_status::ts_flags, ath_tx_status::ts_longretry, ath_tx_status::ts_rateindex, ath_tx_status::ts_rssi, ath_tx_status::ts_rssi_ctl0, ath_tx_status::ts_rssi_ctl1, ath_tx_status::ts_rssi_ctl2, ath_tx_status::ts_rssi_ext0, ath_tx_status::ts_rssi_ext1, ath_tx_status::ts_rssi_ext2, ath_tx_status::ts_seqnum, ath_tx_status::ts_shortretry, ath_tx_status::ts_status, ath_tx_status::ts_tstamp, ath_tx_status::ts_virtcol, and typeof().
Referenced by ar9002_hw_attach_mac_ops().
|
static |
Definition at line 283 of file ath9k_ar9002_mac.c.
References ah, AR5416DESC, AR_DestIdx, AR_DestIdxValid, AR_EncrType, AR_ExtAndCtl, AR_ExtOnly, AR_FrameLen, AR_FrameType, AR_NoAck, AR_SREV_9271, AR_SREV_9285, AR_TxIntrReq, AR_VEOL, AR_VirtMoreFrag, AR_XmitPower, ATH9K_TXDESC_EXT_AND_CTL, ATH9K_TXDESC_EXT_ONLY, ATH9K_TXDESC_INTREQ, ATH9K_TXDESC_NOACK, ATH9K_TXDESC_VEOL, ATH9K_TXDESC_VMF, ATH9K_TXKEYIX_INVALID, ds, ar5416_desc::ds_ctl0, ar5416_desc::ds_ctl1, flags, SM, and type.
Referenced by ar9002_hw_attach_mac_ops().
Definition at line 317 of file ath9k_ar9002_mac.c.
References AR5416DESC, AR_ClrDestMask, ds, ar5416_desc::ds_ctl0, and val.
Referenced by ar9002_hw_attach_mac_ops().
|
static |
Definition at line 327 of file ath9k_ar9002_mac.c.
References AR5416DESC, AR_BurstDur, AR_CTSEnable, AR_DurUpdateEna, AR_RTSCTSRate, AR_RTSEnable, ATH9K_TXDESC_CTSENA, ATH9K_TXDESC_RTSENA, ds, ar5416_desc::ds_ctl0, flags, set11nPktDurRTSCTS, set11nRate, set11nRateFlags, set11nTries, and SM.
Referenced by ar9002_hw_attach_mac_ops().
|
static |
Definition at line 382 of file ath9k_ar9002_mac.c.
References AR5416DESC, AR_AggrLen, AR_IsAggr, AR_MoreAggr, ds, ar5416_desc::ds_ctl1, and SM.
Referenced by ar9002_hw_attach_mac_ops().
|
static |
Definition at line 392 of file ath9k_ar9002_mac.c.
References AR5416DESC, AR_IsAggr, AR_MoreAggr, AR_PadDelim, ar5416_desc::ctl6, ds, ar5416_desc::ds_ctl1, and SM.
Referenced by ar9002_hw_attach_mac_ops().
Definition at line 406 of file ath9k_ar9002_mac.c.
References AR5416DESC, AR_IsAggr, AR_MoreAggr, AR_PadDelim, ds, and ar5416_desc::ds_ctl1.
Referenced by ar9002_hw_attach_mac_ops().
Definition at line 415 of file ath9k_ar9002_mac.c.
References AR5416DESC, AR_IsAggr, AR_MoreAggr, ds, and ar5416_desc::ds_ctl1.
Referenced by ar9002_hw_attach_mac_ops().
Definition at line 422 of file ath9k_ar9002_mac.c.
References ah, AR5416DESC, AR_BufLen, AR_RxDone, AR_RxIntrReq, ATH9K_HW_CAP_AUTOSLEEP, ATH9K_RXDESC_INTREQ, ds, ar5416_desc::ds_ctl1, flags, ath9k_hw_capabilities::hw_caps, memset(), size, and ar5416_desc::u.
Referenced by ath_rx_buf_link().
void ar9002_hw_attach_mac_ops | ( | struct ath_hw * | ah | ) |
Definition at line 437 of file ath9k_ar9002_mac.c.
References ah, ar9002_hw_clr11n_aggr(), ar9002_hw_fill_txdesc(), ar9002_hw_get_desc_link(), ar9002_hw_get_isr(), ar9002_hw_proc_txdesc(), ar9002_hw_rx_enable(), ar9002_hw_set11n_aggr_first(), ar9002_hw_set11n_aggr_last(), ar9002_hw_set11n_aggr_middle(), ar9002_hw_set11n_ratescenario(), ar9002_hw_set11n_txdesc(), ar9002_hw_set_clrdmask(), ar9002_hw_set_desc_link(), ath9k_hw_ops(), ath_hw_ops::clr11n_aggr, ath_hw_ops::fill_txdesc, ath_hw_ops::get_desc_link, ath_hw_ops::get_isr, ath_hw_ops::proc_txdesc, ath_hw_ops::rx_enable, ath_hw_ops::set11n_aggr_first, ath_hw_ops::set11n_aggr_last, ath_hw_ops::set11n_aggr_middle, ath_hw_ops::set11n_ratescenario, ath_hw_ops::set11n_txdesc, ath_hw_ops::set_clrdmask, and ath_hw_ops::set_desc_link.
Referenced by ar9002_hw_attach_ops().