#include <dev/ic/ar5xxx.h>
#include <dev/ic/ar5211reg.h>
#include <dev/ic/ar5211var.h>
Include dependency graph for ar5211.c:
Go to the source code of this file.
|
Value: if (flags & HAL_TXDESC_##_flag) \
tx_desc->tx_control_##_c |= \
AR5K_AR5211_DESC_TX_CTL##_c##_##_flag
|
|
Here is the call graph for this function:
|
|
Definition at line 1384 of file ar5211.c. References AH_FALSE, AH_TRUE, AR5K_AR5211_MCAST_FIL0, AR5K_AR5211_MCAST_FIL1, and AR5K_REG_DISABLE_BITS. |
|
|
Definition at line 1875 of file ar5211.c. References AH_FALSE, AH_TRUE, ar5k_ar5211_eeprom_read(), AR5K_EEPROM_MAGIC, and AR5K_EEPROM_MAGIC_VALUE. |
Here is the call graph for this function:
|
Definition at line 2219 of file ar5211.c. References AH_FALSE. Referenced by ar5k_ar5211_set_associd(). |
|
Definition at line 1522 of file ar5211.c. References AR5K_PRINT_REGISTER, and printf. |
|
Definition at line 2572 of file ar5211.c. References AH_FALSE, AH_TRUE, AR5K_AR5211_CFG, AR5K_AR5211_CFG_EEBS, and AR5K_REG_READ. |
|
Definition at line 2580 of file ar5211.c. References AR5K_AR5211_EEPROM_BASE, AR5K_AR5211_EEPROM_CMD, AR5K_AR5211_EEPROM_CMD_READ, AR5K_AR5211_EEPROM_DATA, AR5K_AR5211_EEPROM_STAT_RDDONE, AR5K_AR5211_EEPROM_STAT_RDERR, AR5K_AR5211_EEPROM_STATUS, AR5K_DELAY, AR5K_REG_ENABLE_BITS, AR5K_REG_READ, AR5K_REG_WRITE, and AR5K_TUNE_REGISTER_TIMEOUT. Referenced by ar5k_ar5211_detect_card_present(). |
|
Definition at line 2610 of file ar5211.c. References AR5K_AR5211_EEPROM_BASE, AR5K_AR5211_EEPROM_CMD, AR5K_AR5211_EEPROM_CMD_RESET, AR5K_AR5211_EEPROM_CMD_WRITE, AR5K_AR5211_EEPROM_STAT_WRDONE, AR5K_AR5211_EEPROM_STAT_WRERR, AR5K_AR5211_EEPROM_STATUS, AR5K_DELAY, AR5K_REG_ENABLE_BITS, AR5K_REG_READ, and AR5K_REG_WRITE. |
|
Definition at line 2210 of file ar5211.c. References AH_FALSE. Referenced by ar5k_ar5211_set_associd(). |
|
Definition at line 48 of file ar5211.c. References AR5K_AR5211_MAGIC, and AR5K_HAL_FUNCTION. Referenced by ar5k_ar5211_attach(). |
|
Definition at line 1188 of file ar5211.c. References AH_FALSE, AH_TRUE, AR5K_AR5211_DESC_TX_CTL0_FRAME_LEN, AR5K_AR5211_DESC_TX_CTL1_BUF_LEN, AR5K_AR5211_DESC_TX_CTL1_MORE, bzero, ath_desc::ds_ctl0, ath_desc::ds_hw, ar5k_ar5211_tx_desc::tx_control_0, and ar5k_ar5211_tx_desc::tx_control_1. |
|
Definition at line 1946 of file ar5211.c. References AR5K_AR5211_TIME_OUT, AR5K_AR5211_TIME_OUT_ACK, ar5k_clocktoh(), AR5K_REG_MS, and AR5K_REG_READ. |
Here is the call graph for this function:
|
Definition at line 2491 of file ar5211.c. References AH_TRUE, AR5K_AR5211_NUM_GPIO, AR5K_AR5211_TX_NUM_QUEUES, AR5K_EEPROM_HDR_11A, AR5K_EEPROM_HDR_11B, AR5K_EEPROM_HDR_11G, HAL_MODE_11A, HAL_MODE_11B, HAL_MODE_11G, and HAL_MODE_TURBO. |
|
Definition at line 1969 of file ar5211.c. References AR5K_AR5211_TIME_OUT, AR5K_AR5211_TIME_OUT_CTS, ar5k_clocktoh(), AR5K_REG_MS, and AR5K_REG_READ. |
Here is the call graph for this function:
|
Definition at line 1612 of file ar5211.c. References AH_FALSE. |
|
Definition at line 1781 of file ar5211.c. References AR5K_AR5211_GPIODI, AR5K_AR5211_GPIODI_M, AR5K_AR5211_NUM_GPIO, and AR5K_REG_READ. Referenced by ar5k_ar5211_reset(). |
|
|
Definition at line 2386 of file ar5211.c. References AH_FALSE, AH_TRUE, AR5K_AR5211_PISR_HIUERR, AR5K_AR5211_PISR_RXERR, AR5K_AR5211_PISR_RXOK, AR5K_AR5211_PISR_RXPHY, AR5K_AR5211_PISR_TXERR, AR5K_AR5211_PISR_TXOK, AR5K_AR5211_RAC_PISR, ar5k_radar_alert(), AR5K_REG_READ, HAL_INT_COMMON, HAL_INT_FATAL, HAL_INT_NOCARD, HAL_INT_RX, and HAL_INT_TX. |
Here is the call graph for this function:
|
Definition at line 1995 of file ar5211.c. References AR5K_AR5211_KEYCACHE_SIZE. |
|
Definition at line 1627 of file ar5211.c. References bcopy, and IEEE80211_ADDR_LEN. Referenced by ar5k_ar5211_attach(). |
|
|
Definition at line 380 of file ar5211.c. References HAL_MODE_11A, HAL_MODE_11B, HAL_MODE_11G, HAL_MODE_PUREG, and HAL_MODE_TURBO. |
|
Definition at line 1868 of file ar5211.c. References ar5k_get_regdomain(). |
Here is the call graph for this function:
|
Definition at line 1904 of file ar5211.c. References HAL_RFGAIN_INACTIVE. |
|
Definition at line 1300 of file ar5211.c. References AR5K_AR5211_RXDP, and AR5K_REG_READ. |
|
Definition at line 1403 of file ar5211.c. References AR5K_AR5211_RX_FILTER, and AR5K_REG_READ. |
|
Definition at line 1924 of file ar5211.c. References AR5K_AR5211_DCU_GBL_IFS_SLOT, and AR5K_REG_READ. |
|
Definition at line 1844 of file ar5211.c. References AR5K_AR5211_TSF_L32, and AR5K_REG_READ. |
|
Definition at line 1851 of file ar5211.c. References AR5K_AR5211_TSF_L32, AR5K_AR5211_TSF_U32, and AR5K_REG_READ. |
|
Definition at line 1047 of file ar5211.c. References AR5K_AR5211_QCU_TXDP, AR5K_ASSERT_ENTRY, and AR5K_REG_READ. |
|
Definition at line 1289 of file ar5211.c. References AH_TRUE. |
|
Definition at line 2230 of file ar5211.c. References AR5K_AR5211_BEACON, AR5K_AR5211_BEACON_ENABLE, AR5K_AR5211_BEACON_PERIOD, AR5K_AR5211_BEACON_RESET_TSF, AR5K_AR5211_TIMER0, AR5K_AR5211_TIMER1, AR5K_AR5211_TIMER2, AR5K_AR5211_TIMER3, AR5K_REG_WRITE, AR5K_TUNE_DMA_BEACON_RESP, AR5K_TUNE_SW_BEACON_RESP, and HAL_M_STA. |
|
Definition at line 2200 of file ar5211.c. References AH_FALSE. |
|
Definition at line 1981 of file ar5211.c. References AH_FALSE, AH_TRUE, and HAL_CIPHER_WEP. |
|
Definition at line 2379 of file ar5211.c. References AH_FALSE, AH_TRUE, AR5K_AR5211_INTPEND, and AR5K_REG_READ. |
|
Definition at line 2017 of file ar5211.c. References AH_FALSE, AH_TRUE, AR5K_AR5211_KEYTABLE_MAC1, AR5K_AR5211_KEYTABLE_SIZE, AR5K_AR5211_KEYTABLE_VALID, AR5K_ASSERT_ENTRY, and AR5K_REG_READ. |
|
Definition at line 228 of file ar5211.c. References AH_FALSE, AR5K_AR5211_CFG, AR5K_AR5211_INIT_CFG, AR5K_AR5211_RC, AR5K_AR5211_RC_BB, AR5K_AR5211_RC_PCU, AR5K_AR5211_RXDP, AR5K_DELAY, AR5K_REG_READ, AR5K_REG_WRITE, and ar5k_register_timeout(). Referenced by ar5k_ar5211_nic_wakeup(). |
Here is the call graph for this function:
|
Here is the call graph for this function:
|
|
|
Definition at line 1307 of file ar5211.c. References AR5K_AR5211_RXDP, and AR5K_REG_WRITE. |
|
Definition at line 1060 of file ar5211.c. References AH_FALSE, AH_TRUE, AR5K_AR5211_QCU_TXDP, AR5K_AR5211_QCU_TXE, AR5K_ASSERT_ENTRY, AR5K_REG_READ_Q, and AR5K_REG_WRITE. |
|
Definition at line 2192 of file ar5211.c. References AH_FALSE. |
|
Definition at line 2543 of file ar5211.c. References AH_TRUE, AR5K_AR5211_IER, AR5K_AR5211_IER_DISABLE, AR5K_AR5211_IER_ENABLE, AR5K_AR5211_PHY_RADAR, AR5K_AR5211_PHY_RADAR_DISABLE, AR5K_AR5211_PHY_RADAR_ENABLE, AR5K_AR5211_PIMR, AR5K_AR5211_PIMR_RXPHY, AR5K_REG_DISABLE_BITS, AR5K_REG_ENABLE_BITS, and AR5K_REG_WRITE. |
|
Definition at line 340 of file ar5211.c. References AR5K_AR5211_PHY, AR5K_AR5211_PHY_SHIFT_2GHZ, AR5K_AR5211_PHY_SHIFT_5GHZ, ar5k_bitswap(), AR5K_DELAY, AR5K_REG_READ, AR5K_REG_WRITE, HAL_CHIP_2GHZ, and HAL_CHIP_5GHZ. Referenced by ar5k_ar5211_attach(). |
Here is the call graph for this function:
|
Definition at line 855 of file ar5211.c. References AH_FALSE, AR5K_ASSERT_ENTRY, AR5K_Q_DISABLE_BITS, and HAL_TX_QUEUE_INACTIVE. |
|
Here is the call graph for this function:
|
Definition at line 2338 of file ar5211.c. References AR5K_AR5211_BEACON, AR5K_AR5211_BEACON_PERIOD, AR5K_AR5211_STA_ID1, AR5K_AR5211_STA_ID1_DEFAULT_ANTENNA, AR5K_AR5211_STA_ID1_PCF, AR5K_AR5211_TIMER0, AR5K_REG_DISABLE_BITS, and AR5K_REG_WRITE. |
|
Definition at line 2002 of file ar5211.c. References AH_FALSE, AR5K_AR5211_KEYCACHE_SIZE, AR5K_AR5211_KEYTABLE_OFF, AR5K_AR5211_KEYTABLE_SIZE, AR5K_ASSERT_ENTRY, and AR5K_REG_WRITE. |
|
Definition at line 1860 of file ar5211.c. References AR5K_AR5211_BEACON, AR5K_AR5211_BEACON_RESET_TSF, and AR5K_REG_ENABLE_BITS. |
|
|
Definition at line 2646 of file ar5211.c. References ar5211_rf, ar5k_bitswap(), AR5K_EEPROM_VERSION_3_1, AR5K_ELEMENTS, AR5K_INI_RFGAIN_2GHZ, AR5K_INI_RFGAIN_5GHZ, AR5K_REG_WAIT, AR5K_REG_WRITE, bcopy, ar5k_eeprom_info::ee_db, ar5k_eeprom_info::ee_ob, ar5k_eeprom_info::ee_x_gain, ar5k_eeprom_info::ee_xpd, HAL_RFGAIN_INACTIVE, and ar5k_ar5211_ini_rf::rf_value. Referenced by ar5k_ar5211_reset(). |
Here is the call graph for this function:
|
Definition at line 1931 of file ar5211.c. References AH_FALSE, AH_TRUE, AR5K_AR5211_TIME_OUT, AR5K_AR5211_TIME_OUT_ACK, ar5k_clocktoh(), ar5k_htoclock(), AR5K_REG_MS, and AR5K_REG_WRITE_BITS. |
Here is the call graph for this function:
|
Definition at line 1717 of file ar5211.c. References AR5K_AR5211_BEACON, AR5K_AR5211_BEACON_TIM, AR5K_AR5211_BEACON_TIM_S, AR5K_AR5211_BSS_ID0, AR5K_AR5211_BSS_ID1, AR5K_AR5211_BSS_ID1_AID_S, ar5k_ar5211_disable_pspoll(), ar5k_ar5211_enable_pspoll(), AR5K_REG_READ, AR5K_REG_WRITE, bcopy, and IEEE80211_ADDR_LEN. Referenced by ar5k_ar5211_attach(), and ar5k_ar5211_reset(). |
Here is the call graph for this function:
|
|
Definition at line 1954 of file ar5211.c. References AH_FALSE, AH_TRUE, AR5K_AR5211_TIME_OUT, AR5K_AR5211_TIME_OUT_CTS, ar5k_clocktoh(), ar5k_htoclock(), AR5K_REG_MS, and AR5K_REG_WRITE_BITS. |
Here is the call graph for this function:
|
Definition at line 1794 of file ar5211.c. References AH_TRUE, AR5K_AR5211_GPIODO, AR5K_AR5211_NUM_GPIO, AR5K_REG_READ, and AR5K_REG_WRITE. |
|
Definition at line 1766 of file ar5211.c. References AH_FALSE, AH_TRUE, AR5K_AR5211_GPIOCR, AR5K_AR5211_GPIOCR_ALL, AR5K_AR5211_GPIOCR_NONE, AR5K_AR5211_NUM_GPIO, AR5K_REG_READ, and AR5K_REG_WRITE. Referenced by ar5k_ar5211_reset(). |
|
Definition at line 1816 of file ar5211.c. References AR5K_AR5211_GPIOCR, AR5K_AR5211_GPIOCR_ALL, AR5K_AR5211_GPIOCR_INT_ENA, AR5K_AR5211_GPIOCR_INT_SEL, AR5K_AR5211_GPIOCR_INT_SELH, AR5K_AR5211_NUM_GPIO, AR5K_AR5211_PIMR, AR5K_AR5211_PIMR_GPIO, AR5K_REG_ENABLE_BITS, AR5K_REG_READ, and AR5K_REG_WRITE. Referenced by ar5k_ar5211_reset(). |
|
Definition at line 1751 of file ar5211.c. References AH_FALSE, AH_TRUE, AR5K_AR5211_GPIOCR, AR5K_AR5211_GPIOCR_ALL, AR5K_AR5211_NUM_GPIO, AR5K_REG_READ, and AR5K_REG_WRITE. |
|
|
Here is the call graph for this function:
|
Definition at line 2085 of file ar5211.c. References AH_TRUE, AR5K_AR5211_KEYTABLE_MAC0, AR5K_AR5211_KEYTABLE_MAC1, AR5K_AR5211_KEYTABLE_SIZE, AR5K_AR5211_KEYTABLE_VALID, AR5K_ASSERT_ENTRY, AR5K_REG_WRITE, and bcopy. Referenced by ar5k_ar5211_set_key(). |
|
|
Definition at line 1635 of file ar5211.c. References AH_TRUE, AR5K_AR5211_STA_ID0, AR5K_AR5211_STA_ID1, AR5K_REG_WRITE, bcopy, and IEEE80211_ADDR_LEN. |
|
Definition at line 1355 of file ar5211.c. References AR5K_AR5211_MCAST_FIL0, AR5K_AR5211_MCAST_FIL1, and AR5K_REG_WRITE. |
|
Definition at line 1366 of file ar5211.c. References AH_FALSE, AH_TRUE, AR5K_AR5211_MCAST_FIL0, AR5K_AR5211_MCAST_FIL1, and AR5K_REG_ENABLE_BITS. |
|
Definition at line 668 of file ar5211.c. References AR5K_AR5211_STA_ID0, AR5K_AR5211_STA_ID1, AR5K_AR5211_STA_ID1_ADHOC, AR5K_AR5211_STA_ID1_AP, AR5K_AR5211_STA_ID1_DEFAULT_ANTENNA, AR5K_AR5211_STA_ID1_DESC_ANTENNA, AR5K_AR5211_STA_ID1_RTS_DEFAULT_ANTENNA, AR5K_REG_WRITE, bcopy, IEEE80211_M_HOSTAP, IEEE80211_M_IBSS, IEEE80211_M_MONITOR, and IEEE80211_M_STA. Referenced by ar5k_ar5211_attach(), and ar5k_ar5211_reset(). |
|
Definition at line 2116 of file ar5211.c. References AH_FALSE, AH_TRUE, AR5K_AR5211_PCICFG, AR5K_AR5211_PCICFG_SPWR_DN, AR5K_AR5211_SCR, AR5K_AR5211_SCR_SLE, AR5K_AR5211_SCR_SLE_SLP, AR5K_AR5211_SCR_SLE_WAKE, AR5K_AR5211_STA_ID1, AR5K_AR5211_STA_ID1_DEFAULT_ANTENNA, AR5K_AR5211_STA_ID1_PWR_SV, AR5K_DELAY, AR5K_REG_READ, AR5K_REG_WRITE, HAL_PM_AUTO, HAL_PM_AWAKE, HAL_PM_FULL_SLEEP, and HAL_PM_NETWORK_SLEEP. Referenced by ar5k_ar5211_nic_wakeup(). |
|
Definition at line 1655 of file ar5211.c. References AH_FALSE, AH_TRUE, ar5k_eeprom_regulation_domain(), ar5k_regdomain_to_ieee(), and HAL_OK. |
Here is the call graph for this function:
|
Definition at line 1410 of file ar5211.c. References AR5K_AR5211_RX_FILTER, and AR5K_REG_WRITE. |
|
|
Definition at line 1911 of file ar5211.c. References AH_FALSE, AH_TRUE, AR5K_AR5211_DCU_GBL_IFS_SLOT, AR5K_REG_WRITE, and HAL_SLOT_TIME_MAX. |
|
Definition at line 1418 of file ar5211.c. References AH_FALSE, AH_TRUE, AR5K_AR5211_DESC_RX_CTL1_BUF_LEN, AR5K_AR5211_DESC_RX_CTL1_INTREQ, ath_desc::ds_ctl0, HAL_RXDESC_INTREQ, and ar5k_ar5211_rx_desc::rx_control_1. |
|
|
Definition at line 790 of file ar5211.c. References AH_TRUE, ar5k_ar5211_setup_tx_queueprops(), AR5K_Q_ENABLE_BITS, bzero, HAL_TX_QUEUE_BEACON, HAL_TX_QUEUE_CAB, HAL_TX_QUEUE_DATA, HAL_TX_QUEUE_ID_BEACON, HAL_TX_QUEUE_ID_CAB, HAL_TX_QUEUE_ID_DATA_MAX, HAL_TX_QUEUE_ID_DATA_MIN, HAL_TX_QUEUE_ID_PSPOLL, HAL_TX_QUEUE_INACTIVE, and HAL_TX_QUEUE_PSPOLL. |
Here is the call graph for this function:
|
Definition at line 833 of file ar5211.c. References AH_FALSE, AH_TRUE, AR5K_ASSERT_ENTRY, bcopy, HAL_TX_QUEUE_DATA, HAL_TX_QUEUE_INACTIVE, HAL_WME_AC_VI, HAL_WME_UPSD, HAL_TXQ_INFO::tqi_subtype, and HAL_TXQ_INFO::tqi_type. Referenced by ar5k_ar5211_setup_tx_queue(). |
|
Definition at line 1217 of file ar5211.c. References AH_FALSE. |
|
Definition at line 1315 of file ar5211.c. References AR5K_AR5211_CR, AR5K_AR5211_CR_RXE, and AR5K_REG_WRITE. |
|
Definition at line 1341 of file ar5211.c. References AR5K_AR5211_DIAG_SW, AR5K_AR5211_DIAG_SW_DIS_RX, and AR5K_REG_DISABLE_BITS. |
|
Definition at line 1348 of file ar5211.c. References AR5K_AR5211_DIAG_SW, AR5K_AR5211_DIAG_SW_DIS_RX, and AR5K_REG_ENABLE_BITS. |
|
Definition at line 1322 of file ar5211.c. References AH_FALSE, AH_TRUE, AR5K_AR5211_CR, AR5K_AR5211_CR_RXD, AR5K_AR5211_CR_RXE, AR5K_DELAY, AR5K_REG_READ, and AR5K_REG_WRITE. |
|
Definition at line 1097 of file ar5211.c. References AH_TRUE, AR5K_AR5211_QCU_STS, AR5K_AR5211_QCU_STS_FRMPENDCNT, AR5K_AR5211_QCU_TXD, AR5K_ASSERT_ENTRY, AR5K_REG_READ, AR5K_REG_WRITE, and AR5K_REG_WRITE_Q. |
|
Definition at line 1080 of file ar5211.c. References AH_FALSE, AH_TRUE, AR5K_AR5211_QCU_TXD, AR5K_AR5211_QCU_TXE, AR5K_ASSERT_ENTRY, AR5K_REG_READ_Q, and AR5K_REG_WRITE_Q. |
|
Definition at line 1892 of file ar5211.c. References HAL_MIB_STATS::ackrcv_bad, AR5K_AR5211_ACK_FAIL, AR5K_AR5211_BEACON_CNT, AR5K_AR5211_FCS_FAIL, AR5K_AR5211_RTS_FAIL, AR5K_AR5211_RTS_OK, AR5K_REG_READ, HAL_MIB_STATS::beacons, HAL_MIB_STATS::fcs_bad, HAL_MIB_STATS::rts_bad, and HAL_MIB_STATS::rts_good. |
|
Definition at line 751 of file ar5211.c. References AH_FALSE, AH_TRUE, ar5k_ar5211_set_intr(), AR5K_AR5211_TXCFG, AR5K_AR5211_TXCFG_TXFULL, AR5K_REG_MS, AR5K_REG_READ, AR5K_REG_WRITE_BITS, AR5K_TUNE_MAX_TX_FIFO_THRES, AR5K_TUNE_MIN_TX_FIFO_THRES, and HAL_INT_GLOBAL. |
Here is the call graph for this function:
|
Definition at line 2355 of file ar5211.c. References AH_FALSE, AR5K_AR5211_QCU_STS, AR5K_AR5211_QCU_STS_FRMPENDCNT, AR5K_AR5211_QCU_TXE, AR5K_REG_READ_Q, ar5k_register_timeout(), and HAL_TX_QUEUE_ID_BEACON. |
Here is the call graph for this function:
|
|
Initial value: Definition at line 38 of file ar5211.c. Referenced by ar5k_ar5211_reset(). |
|
Initial value: Definition at line 40 of file ar5211.c. Referenced by ar5k_ar5211_reset(). |
|
Initial value: Definition at line 42 of file ar5211.c. Referenced by ar5k_ar5211_rfregs(). |