Main Page | Data Structures | Directories | File List | Data Fields | Globals

ar5210.c File Reference

#include <dev/ic/ar5xxx.h>
#include <dev/ic/ar5210reg.h>
#include <dev/ic/ar5210var.h>

Include dependency graph for ar5210.c:

Go to the source code of this file.

Defines

#define AGC_DISABLE
#define AGC_ENABLE
#define _TX_FLAGS(_c, _flag)

Functions

HAL_BOOL ar5k_ar5210_nic_reset (struct ath_hal *, u_int32_t)
HAL_BOOL ar5k_ar5210_nic_wakeup (struct ath_hal *, HAL_BOOL, HAL_BOOL)
void ar5k_ar5210_init_tx_queue (struct ath_hal *, u_int, HAL_BOOL)
const void ar5k_ar5210_fill (struct ath_hal *)
HAL_BOOL ar5k_ar5210_do_calibrate (struct ath_hal *, HAL_CHANNEL *)
HAL_BOOL ar5k_ar5210_noise_floor (struct ath_hal *, HAL_CHANNEL *)
 AR5K_HAL_FUNCTIONS (extern, ar5k_ar5210,)
ath_halar5k_ar5210_attach (u_int16_t device, void *sc, bus_space_tag_t st, bus_space_handle_t sh, int *status)
const HAL_RATE_TABLEar5k_ar5210_get_rate_table (struct ath_hal *hal, u_int mode)
void ar5k_ar5210_detach (struct ath_hal *hal)
HAL_BOOL ar5k_ar5210_reset (struct ath_hal *hal, HAL_OPMODE op_mode, HAL_CHANNEL *channel, HAL_BOOL change_channel, HAL_STATUS *status)
void ar5k_ar5210_set_opmode (struct ath_hal *hal)
HAL_BOOL ar5k_ar5210_calibrate (struct ath_hal *hal, HAL_CHANNEL *channel)
HAL_BOOL ar5k_ar5210_update_tx_triglevel (struct ath_hal *hal, HAL_BOOL increase)
int ar5k_ar5210_setup_tx_queue (struct ath_hal *hal, HAL_TX_QUEUE queue_type, const HAL_TXQ_INFO *queue_info)
HAL_BOOL ar5k_ar5210_setup_tx_queueprops (struct ath_hal *hal, int queue, const HAL_TXQ_INFO *queue_info)
HAL_BOOL ar5k_ar5210_release_tx_queue (struct ath_hal *hal, u_int queue)
HAL_BOOL ar5k_ar5210_reset_tx_queue (struct ath_hal *hal, u_int queue)
u_int32_t ar5k_ar5210_get_tx_buf (struct ath_hal *hal, u_int queue)
HAL_BOOL ar5k_ar5210_put_tx_buf (struct ath_hal *hal, u_int queue, u_int32_t phys_addr)
HAL_BOOL ar5k_ar5210_tx_start (struct ath_hal *hal, u_int queue)
HAL_BOOL ar5k_ar5210_stop_tx_dma (struct ath_hal *hal, u_int queue)
HAL_BOOL ar5k_ar5210_setup_tx_desc (struct ath_hal *hal, struct ath_desc *desc, u_int packet_length, u_int header_length, HAL_PKT_TYPE type, u_int tx_power, u_int tx_rate0, u_int tx_tries0, u_int key_index, u_int antenna_mode, u_int flags, u_int rtscts_rate, u_int rtscts_duration)
HAL_BOOL ar5k_ar5210_fill_tx_desc (struct ath_hal *hal, struct ath_desc *desc, u_int segment_length, HAL_BOOL first_segment, HAL_BOOL last_segment)
HAL_BOOL ar5k_ar5210_setup_xtx_desc (struct ath_hal *hal, struct ath_desc *desc, u_int tx_rate1, u_int tx_tries1, u_int tx_rate2, u_int tx_tries2, u_int tx_rate3, u_int tx_tries3)
HAL_STATUS ar5k_ar5210_proc_tx_desc (struct ath_hal *hal, struct ath_desc *desc)
HAL_BOOL ar5k_ar5210_has_veol (struct ath_hal *hal)
u_int32_t ar5k_ar5210_get_rx_buf (struct ath_hal *hal)
void ar5k_ar5210_put_rx_buf (struct ath_hal *hal, u_int32_t phys_addr)
void ar5k_ar5210_start_rx (struct ath_hal *hal)
HAL_BOOL ar5k_ar5210_stop_rx_dma (struct ath_hal *hal)
void ar5k_ar5210_start_rx_pcu (struct ath_hal *hal)
void ar5k_ar5210_stop_pcu_recv (struct ath_hal *hal)
void ar5k_ar5210_set_mcast_filter (struct ath_hal *hal, u_int32_t filter0, u_int32_t filter1)
HAL_BOOL ar5k_ar5210_set_mcast_filterindex (struct ath_hal *hal, u_int32_t index)
HAL_BOOL ar5k_ar5210_clear_mcast_filter_idx (struct ath_hal *hal, u_int32_t index)
u_int32_t ar5k_ar5210_get_rx_filter (struct ath_hal *hal)
void ar5k_ar5210_set_rx_filter (struct ath_hal *hal, u_int32_t filter)
HAL_BOOL ar5k_ar5210_setup_rx_desc (struct ath_hal *hal, struct ath_desc *desc, u_int32_t size, u_int flags)
HAL_STATUS ar5k_ar5210_proc_rx_desc (struct ath_hal *hal, struct ath_desc *desc, u_int32_t phys_addr, struct ath_desc *next)
void ar5k_ar5210_set_rx_signal (struct ath_hal *hal)
void ar5k_ar5210_dump_state (struct ath_hal *hal)
HAL_BOOL ar5k_ar5210_get_diag_state (struct ath_hal *hal, int id, void **device, u_int *size)
void ar5k_ar5210_get_lladdr (struct ath_hal *hal, u_int8_t *mac)
HAL_BOOL ar5k_ar5210_set_lladdr (struct ath_hal *hal, const u_int8_t *mac)
HAL_BOOL ar5k_ar5210_set_regdomain (struct ath_hal *hal, u_int16_t regdomain, HAL_STATUS *status)
void ar5k_ar5210_set_ledstate (struct ath_hal *hal, HAL_LED_STATE state)
void ar5k_ar5210_set_associd (struct ath_hal *hal, const u_int8_t *bssid, u_int16_t assoc_id, u_int16_t tim_offset)
HAL_BOOL ar5k_ar5210_set_gpio_output (struct ath_hal *hal, u_int32_t gpio)
HAL_BOOL ar5k_ar5210_set_gpio_input (struct ath_hal *hal, u_int32_t gpio)
u_int32_t ar5k_ar5210_get_gpio (struct ath_hal *hal, u_int32_t gpio)
HAL_BOOL ar5k_ar5210_set_gpio (struct ath_hal *hal, u_int32_t gpio, u_int32_t val)
void ar5k_ar5210_set_gpio_intr (struct ath_hal *hal, u_int gpio, u_int32_t interrupt_level)
u_int32_t ar5k_ar5210_get_tsf32 (struct ath_hal *hal)
u_int64_t ar5k_ar5210_get_tsf64 (struct ath_hal *hal)
void ar5k_ar5210_reset_tsf (struct ath_hal *hal)
u_int16_t ar5k_ar5210_get_regdomain (struct ath_hal *hal)
HAL_BOOL ar5k_ar5210_detect_card_present (struct ath_hal *hal)
void ar5k_ar5210_update_mib_counters (struct ath_hal *hal, HAL_MIB_STATS *statistics)
HAL_RFGAIN ar5k_ar5210_get_rf_gain (struct ath_hal *hal)
HAL_BOOL ar5k_ar5210_set_slot_time (struct ath_hal *hal, u_int slot_time)
u_int ar5k_ar5210_get_slot_time (struct ath_hal *hal)
HAL_BOOL ar5k_ar5210_set_ack_timeout (struct ath_hal *hal, u_int timeout)
u_int ar5k_ar5210_get_ack_timeout (struct ath_hal *hal)
HAL_BOOL ar5k_ar5210_set_cts_timeout (struct ath_hal *hal, u_int timeout)
u_int ar5k_ar5210_get_cts_timeout (struct ath_hal *hal)
HAL_BOOL ar5k_ar5210_is_cipher_supported (struct ath_hal *hal, HAL_CIPHER cipher)
u_int32_t ar5k_ar5210_get_keycache_size (struct ath_hal *hal)
HAL_BOOL ar5k_ar5210_reset_key (struct ath_hal *hal, u_int16_t entry)
HAL_BOOL ar5k_ar5210_is_key_valid (struct ath_hal *hal, u_int16_t entry)
HAL_BOOL ar5k_ar5210_set_key (struct ath_hal *hal, u_int16_t entry, const HAL_KEYVAL *keyval, const u_int8_t *mac, int xor_notused)
HAL_BOOL ar5k_ar5210_set_key_lladdr (struct ath_hal *hal, u_int16_t entry, const u_int8_t *mac)
HAL_BOOL ar5k_ar5210_set_power (struct ath_hal *hal, HAL_POWER_MODE mode, HAL_BOOL set_chip, u_int16_t sleep_duration)
HAL_POWER_MODE ar5k_ar5210_get_power_mode (struct ath_hal *hal)
HAL_BOOL ar5k_ar5210_query_pspoll_support (struct ath_hal *hal)
HAL_BOOL ar5k_ar5210_init_pspoll (struct ath_hal *hal)
HAL_BOOL ar5k_ar5210_enable_pspoll (struct ath_hal *hal, u_int8_t *bssid, u_int16_t assoc_id)
HAL_BOOL ar5k_ar5210_disable_pspoll (struct ath_hal *hal)
void ar5k_ar5210_init_beacon (struct ath_hal *hal, u_int32_t next_beacon, u_int32_t interval)
void ar5k_ar5210_set_beacon_timers (struct ath_hal *hal, const HAL_BEACON_STATE *state, u_int32_t tsf, u_int32_t dtim_count, u_int32_t cfp_count)
void ar5k_ar5210_reset_beacon (struct ath_hal *hal)
HAL_BOOL ar5k_ar5210_wait_for_beacon (struct ath_hal *hal, bus_addr_t phys_addr)
HAL_BOOL ar5k_ar5210_is_intr_pending (struct ath_hal *hal)
HAL_BOOL ar5k_ar5210_get_isr (struct ath_hal *hal, u_int32_t *interrupt_mask)
u_int32_t ar5k_ar5210_get_intr (struct ath_hal *hal)
HAL_INT ar5k_ar5210_set_intr (struct ath_hal *hal, HAL_INT new_mask)
HAL_BOOL ar5k_ar5210_get_capabilities (struct ath_hal *hal)
void ar5k_ar5210_radar_alert (struct ath_hal *hal, HAL_BOOL enable)
HAL_BOOL ar5k_ar5210_eeprom_is_busy (struct ath_hal *hal)
int ar5k_ar5210_eeprom_read (struct ath_hal *hal, u_int32_t offset, u_int16_t *data)
int ar5k_ar5210_eeprom_write (struct ath_hal *hal, u_int32_t offset, u_int16_t data)

Variables

static const struct ar5k_ini ar5210_ini []


Define Documentation

#define _TX_FLAGS _c,
_flag  ) 
 

Value:

if (flags & HAL_TXDESC_##_flag)                                 \
                tx_desc->tx_control_##_c |=                             \
                        AR5K_AR5210_DESC_TX_CTL##_c##_##_flag

Referenced by ar5k_ar5210_setup_tx_desc(), ar5k_ar5211_setup_tx_desc(), and ar5k_ar5212_setup_tx_desc().

#define AGC_DISABLE
 

Value:

{                                               \
AR5K_REG_ENABLE_BITS(AR5K_AR5210_PHY_AGC,                       \
            AR5K_AR5210_PHY_AGC_DISABLE);                               \
AR5K_DELAY(10);                                                 \
}

Referenced by ar5k_ar5210_calibrate().

#define AGC_ENABLE
 

Value:

{                                               \
AR5K_REG_DISABLE_BITS(AR5K_AR5210_PHY_AGC,                      \
            AR5K_AR5210_PHY_AGC_DISABLE);                               \
}

Referenced by ar5k_ar5210_calibrate().


Function Documentation

struct ath_hal* ar5k_ar5210_attach u_int16_t device,
void * sc,
bus_space_tag_t st,
bus_space_handle_t sh,
int * status
 

Definition at line 178 of file ar5210.c.

References AH_FALSE, ath_hal::ah_mac_revision, ath_hal::ah_mac_version, ath_hal::ah_phy, ath_hal::ah_phy_revision, ath_hal::ah_radio, ath_hal::ah_radio_2ghz_revision, ath_hal::ah_radio_5ghz_revision, AH_TRUE, ath_hal::ah_version, AR5K_AR5110, AR5K_AR5210, ar5k_ar5210_attach, ar5k_ar5210_fill(), ar5k_ar5210_get_lladdr(), ar5k_ar5210_nic_wakeup(), AR5K_AR5210_PHY, AR5K_AR5210_PHY_CHIP_ID, ar5k_ar5210_set_associd(), ar5k_ar5210_set_opmode(), AR5K_AR5210_SREV, AR5K_AR5210_SREV_REV, AR5K_AR5210_SREV_VER, ar5k_bitswap(), AR5K_REG_MS, AR5K_REG_READ, AR5K_REG_WRITE, bcopy, and IEEE80211_ADDR_LEN.

Here is the call graph for this function:

HAL_BOOL ar5k_ar5210_calibrate struct ath_halhal,
HAL_CHANNELchannel
 

Definition at line 503 of file ar5210.c.

References AGC_DISABLE, AGC_ENABLE, AH_FALSE, AH_TRUE, AR5K_AR5210_BEACON, AR5K_AR5210_BEACON_EN, AR5K_AR5210_DIAG_SW, AR5K_AR5210_DIAG_SW_DIS_RX, AR5K_AR5210_DIAG_SW_DIS_TX, ar5k_ar5210_do_calibrate(), ar5k_ar5210_noise_floor(), AR5K_AR5210_PHY_ACTIVE, AR5K_AR5210_PHY_ADCSAT, AR5K_AR5210_PHY_ADCSAT_ICNT, AR5K_AR5210_PHY_ADCSAT_THR, AR5K_AR5210_PHY_AGCCOARSE, AR5K_AR5210_PHY_AGCCOARSE_HI, AR5K_AR5210_PHY_AGCCOARSE_LO, AR5K_AR5210_PHY_ENABLE, AR5K_AR5210_PHY_RFSTG, AR5K_AR5210_PHY_RFSTG_DISABLE, AR5K_AR5210_PHY_SIG, AR5K_AR5210_PHY_SIG_FIRPWR, ar5k_channel(), AR5K_DELAY, AR5K_REG_DISABLE_BITS, AR5K_REG_ENABLE_BITS, AR5K_REG_READ, AR5K_REG_SM, and AR5K_REG_WRITE.

Here is the call graph for this function:

HAL_BOOL ar5k_ar5210_clear_mcast_filter_idx struct ath_halhal,
u_int32_t index
 

Definition at line 1279 of file ar5210.c.

References AH_FALSE, AH_TRUE, AR5K_AR5210_MCAST_FIL0, AR5K_AR5210_MCAST_FIL1, and AR5K_REG_DISABLE_BITS.

void ar5k_ar5210_detach struct ath_halhal  ) 
 

Definition at line 346 of file ar5210.c.

HAL_BOOL ar5k_ar5210_detect_card_present struct ath_halhal  ) 
 

Definition at line 1770 of file ar5210.c.

References AH_FALSE, AH_TRUE, ar5k_ar5210_eeprom_read(), AR5K_EEPROM_MAGIC, and AR5K_EEPROM_MAGIC_VALUE.

Here is the call graph for this function:

HAL_BOOL ar5k_ar5210_disable_pspoll struct ath_halhal  ) 
 

Definition at line 2121 of file ar5210.c.

References AH_TRUE, AR5K_AR5210_STA_ID1, AR5K_AR5210_STA_ID1_DEFAULT_ANTENNA, AR5K_AR5210_STA_ID1_NO_PSPOLL, and AR5K_REG_ENABLE_BITS.

Referenced by ar5k_ar5210_set_associd().

HAL_BOOL ar5k_ar5210_do_calibrate struct ath_hal,
HAL_CHANNEL
 

Definition at line 609 of file ar5210.c.

References AH_FALSE, AH_TRUE, AR5K_AR5210_PHY_AGCCTL, AR5K_AR5210_PHY_AGCCTL_CAL, AR5K_PRINTF, AR5K_REG_ENABLE_BITS, and ar5k_register_timeout().

Referenced by ar5k_ar5210_calibrate(), and ar5k_ar5210_reset().

Here is the call graph for this function:

void ar5k_ar5210_dump_state struct ath_halhal  ) 
 

Definition at line 1428 of file ar5210.c.

References AR5K_PRINT_REGISTER, and printf.

HAL_BOOL ar5k_ar5210_eeprom_is_busy struct ath_halhal  ) 
 

Definition at line 2444 of file ar5210.c.

References AH_FALSE, AH_TRUE, AR5K_AR5210_CFG, AR5K_AR5210_CFG_EEBS, and AR5K_REG_READ.

int ar5k_ar5210_eeprom_read struct ath_halhal,
u_int32_t offset,
u_int16_tdata
 

Definition at line 2452 of file ar5210.c.

References AR5K_AR5210_EEPROM_BASE, AR5K_AR5210_EEPROM_RDATA, AR5K_AR5210_EEPROM_STAT_RDDONE, AR5K_AR5210_EEPROM_STAT_RDERR, AR5K_AR5210_EEPROM_STATUS, AR5K_AR5210_PCICFG, AR5K_AR5210_PCICFG_EEAE, AR5K_DELAY, AR5K_REG_ENABLE_BITS, and AR5K_REG_READ.

Referenced by ar5k_ar5210_detect_card_present().

int ar5k_ar5210_eeprom_write struct ath_halhal,
u_int32_t offset,
u_int16_t data
 

Definition at line 2483 of file ar5210.c.

References AR5K_AR5210_EEPROM_BASE, AR5K_AR5210_EEPROM_STAT_WRDONE, AR5K_AR5210_EEPROM_STAT_WRERR, AR5K_AR5210_EEPROM_STATUS, AR5K_AR5210_PCICFG, AR5K_AR5210_PCICFG_EEAE, AR5K_DELAY, AR5K_REG_ENABLE_BITS, AR5K_REG_READ, and AR5K_REG_WRITE.

HAL_BOOL ar5k_ar5210_enable_pspoll struct ath_halhal,
u_int8_tbssid,
u_int16_t assoc_id
 

Definition at line 2108 of file ar5210.c.

References AH_TRUE, AR5K_AR5210_STA_ID1, AR5K_AR5210_STA_ID1_DEFAULT_ANTENNA, AR5K_AR5210_STA_ID1_NO_PSPOLL, and AR5K_REG_DISABLE_BITS.

Referenced by ar5k_ar5210_set_associd().

const void ar5k_ar5210_fill struct ath_hal ) 
 

Definition at line 44 of file ar5210.c.

References AR5K_AR5210_MAGIC, and AR5K_HAL_FUNCTION.

Referenced by ar5k_ar5210_attach().

HAL_BOOL ar5k_ar5210_fill_tx_desc struct ath_halhal,
struct ath_descdesc,
u_int segment_length,
HAL_BOOL first_segment,
HAL_BOOL last_segment
 

Definition at line 1078 of file ar5210.c.

References AH_FALSE, AH_TRUE, AR5K_AR5210_DESC_TX_CTL0_FRAME_LEN, AR5K_AR5210_DESC_TX_CTL1_BUF_LEN, AR5K_AR5210_DESC_TX_CTL1_MORE, bzero, ath_desc::ds_ctl0, ath_desc::ds_hw, ar5k_ar5210_tx_desc::tx_control_0, and ar5k_ar5210_tx_desc::tx_control_1.

u_int ar5k_ar5210_get_ack_timeout struct ath_halhal  ) 
 

Definition at line 1844 of file ar5210.c.

References AR5K_AR5210_TIME_OUT, AR5K_AR5210_TIME_OUT_ACK, ar5k_clocktoh(), AR5K_REG_MS, and AR5K_REG_READ.

Here is the call graph for this function:

HAL_BOOL ar5k_ar5210_get_capabilities struct ath_halhal  ) 
 

Definition at line 2393 of file ar5210.c.

References AH_TRUE, AR5K_AR5210_NUM_GPIO, AR5K_AR5210_TX_NUM_QUEUES, HAL_MODE_11A, and HAL_MODE_TURBO.

u_int ar5k_ar5210_get_cts_timeout struct ath_halhal  ) 
 

Definition at line 1867 of file ar5210.c.

References AR5K_AR5210_TIME_OUT, AR5K_AR5210_TIME_OUT_CTS, ar5k_clocktoh(), AR5K_REG_MS, and AR5K_REG_READ.

Here is the call graph for this function:

HAL_BOOL ar5k_ar5210_get_diag_state struct ath_halhal,
int id,
void ** device,
u_intsize
 

Definition at line 1519 of file ar5210.c.

References AH_FALSE.

u_int32_t ar5k_ar5210_get_gpio struct ath_halhal,
u_int32_t gpio
 

Definition at line 1677 of file ar5210.c.

References AR5K_AR5210_GPIOD_MASK, AR5K_AR5210_GPIODI, AR5K_AR5210_NUM_GPIO, and AR5K_REG_READ.

Referenced by ar5k_ar5210_reset().

u_int32_t ar5k_ar5210_get_intr struct ath_halhal  ) 
 

Definition at line 2335 of file ar5210.c.

HAL_BOOL ar5k_ar5210_get_isr struct ath_halhal,
u_int32_tinterrupt_mask
 

Definition at line 2298 of file ar5210.c.

References AH_FALSE, AH_TRUE, AR5K_AR5210_ISR, AR5K_AR5210_ISR_FATAL, AR5K_AR5210_ISR_RXERR, AR5K_AR5210_ISR_RXOK, AR5K_AR5210_ISR_RXPHY, AR5K_AR5210_ISR_TXERR, AR5K_AR5210_ISR_TXOK, ar5k_radar_alert(), AR5K_REG_READ, HAL_INT_BMISS, HAL_INT_COMMON, HAL_INT_FATAL, HAL_INT_NOCARD, HAL_INT_RX, and HAL_INT_TX.

Here is the call graph for this function:

u_int32_t ar5k_ar5210_get_keycache_size struct ath_halhal  ) 
 

Definition at line 1893 of file ar5210.c.

References AR5K_AR5210_KEYCACHE_SIZE.

void ar5k_ar5210_get_lladdr struct ath_halhal,
u_int8_tmac
 

Definition at line 1534 of file ar5210.c.

References bcopy, and IEEE80211_ADDR_LEN.

Referenced by ar5k_ar5210_attach().

HAL_POWER_MODE ar5k_ar5210_get_power_mode struct ath_halhal  ) 
 

Definition at line 2083 of file ar5210.c.

const HAL_RATE_TABLE* ar5k_ar5210_get_rate_table struct ath_halhal,
u_int mode
 

Definition at line 327 of file ar5210.c.

References HAL_MODE_11A, HAL_MODE_11B, HAL_MODE_11G, and HAL_MODE_TURBO.

u_int16_t ar5k_ar5210_get_regdomain struct ath_halhal  ) 
 

Definition at line 1763 of file ar5210.c.

References ar5k_get_regdomain().

Here is the call graph for this function:

HAL_RFGAIN ar5k_ar5210_get_rf_gain struct ath_halhal  ) 
 

Definition at line 1799 of file ar5210.c.

References HAL_RFGAIN_INACTIVE.

u_int32_t ar5k_ar5210_get_rx_buf struct ath_halhal  ) 
 

Definition at line 1195 of file ar5210.c.

References AR5K_AR5210_RXDP, and AR5K_REG_READ.

u_int32_t ar5k_ar5210_get_rx_filter struct ath_halhal  ) 
 

Definition at line 1297 of file ar5210.c.

References AR5K_AR5210_RX_FILTER, and AR5K_REG_READ.

u_int ar5k_ar5210_get_slot_time struct ath_halhal  ) 
 

Definition at line 1821 of file ar5210.c.

References AR5K_AR5210_SLOT_TIME, ar5k_clocktoh(), and AR5K_REG_READ.

Here is the call graph for this function:

u_int32_t ar5k_ar5210_get_tsf32 struct ath_halhal  ) 
 

Definition at line 1740 of file ar5210.c.

References AR5K_AR5210_TSF_L32, and AR5K_REG_READ.

u_int64_t ar5k_ar5210_get_tsf64 struct ath_halhal  ) 
 

Definition at line 1747 of file ar5210.c.

References AR5K_AR5210_TSF_L32, AR5K_AR5210_TSF_U32, and AR5K_REG_READ.

u_int32_t ar5k_ar5210_get_tx_buf struct ath_halhal,
u_int queue
 

Definition at line 860 of file ar5210.c.

References AR5K_AR5210_TXDP0, AR5K_AR5210_TXDP1, AR5K_ASSERT_ENTRY, AR5K_REG_READ, HAL_TX_QUEUE_BEACON, HAL_TX_QUEUE_CAB, and HAL_TX_QUEUE_DATA.

HAL_BOOL ar5k_ar5210_has_veol struct ath_halhal  ) 
 

Definition at line 1184 of file ar5210.c.

References AH_FALSE.

void ar5k_ar5210_init_beacon struct ath_halhal,
u_int32_t next_beacon,
u_int32_t interval
 

Definition at line 2136 of file ar5210.c.

References AR5K_AR5210_BEACON, AR5K_AR5210_BEACON_EN, AR5K_AR5210_BEACON_PERIOD, AR5K_AR5210_BEACON_RESET_TSF, AR5K_AR5210_TIMER0, AR5K_AR5210_TIMER1, AR5K_AR5210_TIMER2, AR5K_AR5210_TIMER3, AR5K_REG_WRITE, AR5K_TUNE_DMA_BEACON_RESP, AR5K_TUNE_SW_BEACON_RESP, and HAL_M_STA.

HAL_BOOL ar5k_ar5210_init_pspoll struct ath_halhal  ) 
 

Definition at line 2098 of file ar5210.c.

References AH_FALSE.

void ar5k_ar5210_init_tx_queue struct ath_hal,
u_int ,
HAL_BOOL 
 

Definition at line 783 of file ar5210.c.

References AH_TRUE, AR5K_AR5210_INI_MODE, AR5K_ELEMENTS, and AR5K_REG_WRITE.

Referenced by ar5k_ar5210_reset_tx_queue().

HAL_BOOL ar5k_ar5210_is_cipher_supported struct ath_halhal,
HAL_CIPHER cipher
 

Definition at line 1879 of file ar5210.c.

References AH_FALSE, AH_TRUE, and HAL_CIPHER_WEP.

HAL_BOOL ar5k_ar5210_is_intr_pending struct ath_halhal  ) 
 

Definition at line 2291 of file ar5210.c.

References AH_FALSE, AH_TRUE, AR5K_AR5210_INTPEND, and AR5K_REG_READ.

HAL_BOOL ar5k_ar5210_is_key_valid struct ath_halhal,
u_int16_t entry
 

Definition at line 1915 of file ar5210.c.

References AH_FALSE, AH_TRUE, AR5K_AR5210_KEYTABLE_MAC1, AR5K_AR5210_KEYTABLE_SIZE, AR5K_AR5210_KEYTABLE_VALID, AR5K_ASSERT_ENTRY, and AR5K_REG_READ.

HAL_BOOL ar5k_ar5210_nic_reset struct ath_hal,
u_int32_t 
 

Definition at line 226 of file ar5210.c.

References AH_FALSE, AR5K_AR5210_CFG, AR5K_AR5210_INIT_CFG, AR5K_AR5210_RC, AR5K_AR5210_RC_DMA, AR5K_AR5210_RC_MAC, AR5K_AR5210_RC_PCU, AR5K_AR5210_RC_PHY, AR5K_DELAY, AR5K_REG_WRITE, and ar5k_register_timeout().

Referenced by ar5k_ar5210_nic_wakeup().

Here is the call graph for this function:

HAL_BOOL ar5k_ar5210_nic_wakeup struct ath_hal,
HAL_BOOL ,
HAL_BOOL 
 

Definition at line 262 of file ar5210.c.

References AH_FALSE, AH_TRUE, ar5k_ar5210_nic_reset(), AR5K_AR5210_PHY_FC, AR5K_AR5210_PHY_FC_TURBO_MODE, AR5K_AR5210_RC_CHIP, AR5K_AR5210_RC_PCI, ar5k_ar5210_set_power(), AR5K_DELAY, AR5K_PRINT, AR5K_REG_WRITE, and HAL_PM_AWAKE.

Referenced by ar5k_ar5210_attach(), and ar5k_ar5210_reset().

Here is the call graph for this function:

HAL_BOOL ar5k_ar5210_noise_floor struct ath_hal,
HAL_CHANNEL
 

Definition at line 630 of file ar5210.c.

References AH_FALSE, AH_TRUE, AR5K_AR5210_PHY_AGCCTL, AR5K_AR5210_PHY_AGCCTL_NF, AR5K_AR5210_PHY_NF, AR5K_AR5210_PHY_NF_ACTIVE, AR5K_AR5210_PHY_NF_AVAL, AR5K_AR5210_PHY_NF_RVAL, AR5K_DELAY, AR5K_PRINTF, AR5K_REG_ENABLE_BITS, AR5K_REG_READ, ar5k_register_timeout(), and AR5K_TUNE_NOISE_FLOOR.

Referenced by ar5k_ar5210_calibrate(), and ar5k_ar5210_reset().

Here is the call graph for this function:

HAL_STATUS ar5k_ar5210_proc_rx_desc struct ath_halhal,
struct ath_descdesc,
u_int32_t phys_addr,
struct ath_descnext
 

Definition at line 1341 of file ar5210.c.

References AR5K_AR5210_DESC_RX_STATUS0_DATA_LEN, AR5K_AR5210_DESC_RX_STATUS0_MORE, AR5K_AR5210_DESC_RX_STATUS0_RECEIVE_ANTENNA, AR5K_AR5210_DESC_RX_STATUS0_RECEIVE_RATE, AR5K_AR5210_DESC_RX_STATUS0_RECEIVE_SIGNAL, AR5K_AR5210_DESC_RX_STATUS1_CRC_ERROR, AR5K_AR5210_DESC_RX_STATUS1_DECRYPT_CRC_ERROR, AR5K_AR5210_DESC_RX_STATUS1_DONE, AR5K_AR5210_DESC_RX_STATUS1_FIFO_OVERRUN, AR5K_AR5210_DESC_RX_STATUS1_FRAME_RECEIVE_OK, AR5K_AR5210_DESC_RX_STATUS1_KEY_INDEX, AR5K_AR5210_DESC_RX_STATUS1_KEY_INDEX_VALID, AR5K_AR5210_DESC_RX_STATUS1_PHY_ERROR, AR5K_AR5210_DESC_RX_STATUS1_RECEIVE_TIMESTAMP, AR5K_REG_MS, ath_desc::ds_hw, ath_desc::ds_us, HAL_EINPROGRESS, HAL_OK, HAL_RXERR_CRC, HAL_RXERR_DECRYPT, HAL_RXERR_FIFO, HAL_RXERR_PHY, HAL_RXKEYIX_INVALID, ath_rx_status::rs_antenna, ath_rx_status::rs_datalen, ath_rx_status::rs_keyix, ath_rx_status::rs_more, ath_rx_status::rs_phyerr, ath_rx_status::rs_rate, ath_rx_status::rs_rssi, ath_rx_status::rs_status, ath_rx_status::rs_tstamp, ath_desc::rx, ar5k_ar5210_rx_status::rx_status_0, and ar5k_ar5210_rx_status::rx_status_1.

HAL_STATUS ar5k_ar5210_proc_tx_desc struct ath_halhal,
struct ath_descdesc
 

Definition at line 1127 of file ar5210.c.

References AR5K_AR5210_DESC_TX_CTL0_XMIT_RATE, AR5K_AR5210_DESC_TX_STATUS0_EXCESSIVE_RETRIES, AR5K_AR5210_DESC_TX_STATUS0_FIFO_UNDERRUN, AR5K_AR5210_DESC_TX_STATUS0_FILTERED, AR5K_AR5210_DESC_TX_STATUS0_FRAME_XMIT_OK, AR5K_AR5210_DESC_TX_STATUS0_LONG_RETRY_COUNT, AR5K_AR5210_DESC_TX_STATUS0_SEND_TIMESTAMP, AR5K_AR5210_DESC_TX_STATUS0_SHORT_RETRY_COUNT, AR5K_AR5210_DESC_TX_STATUS1_ACK_SIG_STRENGTH, AR5K_AR5210_DESC_TX_STATUS1_DONE, AR5K_AR5210_DESC_TX_STATUS1_SEQ_NUM, AR5K_REG_MS, ath_desc::ds_ctl0, ath_desc::ds_hw, ath_desc::ds_us, HAL_EINPROGRESS, HAL_OK, HAL_TXERR_FIFO, HAL_TXERR_FILT, HAL_TXERR_XRETRY, ath_tx_status::ts_antenna, ath_tx_status::ts_longretry, ath_tx_status::ts_rssi, ath_tx_status::ts_seqnum, ath_tx_status::ts_shortretry, ath_tx_status::ts_status, ath_tx_status::ts_tstamp, ath_desc::tx, ar5k_ar5210_tx_desc::tx_control_0, ar5k_ar5210_tx_status::tx_status_0, and ar5k_ar5210_tx_status::tx_status_1.

void ar5k_ar5210_put_rx_buf struct ath_halhal,
u_int32_t phys_addr
 

Definition at line 1202 of file ar5210.c.

References AR5K_AR5210_RXDP, and AR5K_REG_WRITE.

HAL_BOOL ar5k_ar5210_put_tx_buf struct ath_halhal,
u_int queue,
u_int32_t phys_addr
 

Definition at line 887 of file ar5210.c.

References AH_FALSE, AH_TRUE, AR5K_AR5210_TXDP0, AR5K_AR5210_TXDP1, AR5K_ASSERT_ENTRY, AR5K_REG_WRITE, HAL_TX_QUEUE_BEACON, HAL_TX_QUEUE_CAB, and HAL_TX_QUEUE_DATA.

HAL_BOOL ar5k_ar5210_query_pspoll_support struct ath_halhal  ) 
 

Definition at line 2090 of file ar5210.c.

References AH_TRUE.

void ar5k_ar5210_radar_alert struct ath_halhal,
HAL_BOOL enable
 

Definition at line 2418 of file ar5210.c.

References AH_TRUE, AR5K_AR5210_IER, AR5K_AR5210_IER_DISABLE, AR5K_AR5210_IER_ENABLE, AR5K_AR5210_IMR, AR5K_AR5210_IMR_RXPHY, AR5K_REG_DISABLE_BITS, AR5K_REG_ENABLE_BITS, and AR5K_REG_WRITE.

HAL_BOOL ar5k_ar5210_release_tx_queue struct ath_halhal,
u_int queue
 

Definition at line 770 of file ar5210.c.

References AH_FALSE, AR5K_ASSERT_ENTRY, HAL_TX_QUEUE_INACTIVE, and HAL_TXQ_INFO::tqi_type.

HAL_BOOL ar5k_ar5210_reset struct ath_halhal,
HAL_OPMODE op_mode,
HAL_CHANNELchannel,
HAL_BOOL change_channel,
HAL_STATUSstatus
 

Definition at line 356 of file ar5210.c.

References AH_FALSE, AH_TRUE, ar5210_ini, AR5K_AR5210_BEACON, AR5K_AR5210_BEACON_EN, AR5K_AR5210_BEACON_RESET_TSF, ar5k_ar5210_do_calibrate(), ar5k_ar5210_get_gpio(), ar5k_ar5210_nic_wakeup(), ar5k_ar5210_noise_floor(), AR5K_AR5210_PCU_MAX, AR5K_AR5210_PCU_MIN, AR5K_AR5210_PHY_ACTIVE, AR5K_AR5210_PHY_DISABLE, AR5K_AR5210_PHY_ENABLE, ar5k_ar5210_reset_tx_queue(), ar5k_ar5210_set_gpio_input(), ar5k_ar5210_set_gpio_intr(), ar5k_ar5210_set_opmode(), ar5k_channel(), AR5K_DELAY, AR5K_EEPROM_HDR_RFKILL, AR5K_ELEMENTS, AR5K_PRINTF, AR5K_REG_DISABLE_BITS, AR5K_REG_READ, AR5K_REG_WRITE, HAL_OK, and IEEE80211_CHAN_T.

Here is the call graph for this function:

void ar5k_ar5210_reset_beacon struct ath_halhal  ) 
 

Definition at line 2239 of file ar5210.c.

References AR5K_AR5210_BEACON, AR5K_AR5210_BEACON_PERIOD, AR5K_AR5210_STA_ID1, AR5K_AR5210_STA_ID1_DEFAULT_ANTENNA, AR5K_AR5210_STA_ID1_PCF, AR5K_AR5210_TIMER0, AR5K_REG_DISABLE_BITS, and AR5K_REG_WRITE.

HAL_BOOL ar5k_ar5210_reset_key struct ath_halhal,
u_int16_t entry
 

Definition at line 1900 of file ar5210.c.

References AH_FALSE, AR5K_AR5210_KEYCACHE_SIZE, AR5K_AR5210_KEYTABLE_OFF, AR5K_AR5210_KEYTABLE_SIZE, AR5K_ASSERT_ENTRY, and AR5K_REG_WRITE.

void ar5k_ar5210_reset_tsf struct ath_halhal  ) 
 

Definition at line 1755 of file ar5210.c.

References AR5K_AR5210_BEACON, AR5K_AR5210_BEACON_RESET_TSF, and AR5K_REG_ENABLE_BITS.

HAL_BOOL ar5k_ar5210_reset_tx_queue struct ath_halhal,
u_int queue
 

Definition at line 804 of file ar5210.c.

References AH_FALSE, AH_TRUE, ar5k_ar5210_init_tx_queue(), AR5K_AR5210_RETRY_LMT, AR5K_AR5210_RETRY_LMT_CW_MIN_S, AR5K_AR5210_RETRY_LMT_LG_RETRY, AR5K_AR5210_RETRY_LMT_SH_RETRY, AR5K_AR5210_RETRY_LMT_SLG_RETRY, AR5K_AR5210_RETRY_LMT_SSH_RETRY, AR5K_ASSERT_ENTRY, AR5K_INIT_LG_RETRY, AR5K_INIT_SH_RETRY, AR5K_INIT_SLG_RETRY, AR5K_INIT_SSH_RETRY, AR5K_REG_SM, AR5K_REG_WRITE, HAL_TX_QUEUE_DATA, HAL_TXQ_INFO::tqi_aifs, and HAL_TXQ_INFO::tqi_type.

Referenced by ar5k_ar5210_reset().

Here is the call graph for this function:

HAL_BOOL ar5k_ar5210_set_ack_timeout struct ath_halhal,
u_int timeout
 

Definition at line 1829 of file ar5210.c.

References AH_FALSE, AH_TRUE, AR5K_AR5210_TIME_OUT, AR5K_AR5210_TIME_OUT_ACK, ar5k_clocktoh(), ar5k_htoclock(), AR5K_REG_MS, and AR5K_REG_WRITE_BITS.

Here is the call graph for this function:

void ar5k_ar5210_set_associd struct ath_halhal,
const u_int8_tbssid,
u_int16_t assoc_id,
u_int16_t tim_offset
 

Definition at line 1617 of file ar5210.c.

References AR5K_AR5210_BEACON, AR5K_AR5210_BEACON_TIM, AR5K_AR5210_BSS_ID0, AR5K_AR5210_BSS_ID1, AR5K_AR5210_BSS_ID1_AID_S, ar5k_ar5210_disable_pspoll(), ar5k_ar5210_enable_pspoll(), AR5K_REG_WRITE, AR5K_REG_WRITE_BITS, bcopy, and IEEE80211_ADDR_LEN.

Referenced by ar5k_ar5210_attach().

Here is the call graph for this function:

void ar5k_ar5210_set_beacon_timers struct ath_halhal,
const HAL_BEACON_STATEstate,
u_int32_t tsf,
u_int32_t dtim_count,
u_int32_t cfp_count
 

Definition at line 2175 of file ar5210.c.

References AR5K_AR5210_BEACON, AR5K_AR5210_BEACON_PERIOD, AR5K_AR5210_BEACON_TIM, AR5K_AR5210_CFP_DUR, AR5K_AR5210_CFP_PERIOD, AR5K_AR5210_RSSI_THR, AR5K_AR5210_RSSI_THR_BM_THR, AR5K_AR5210_RSSI_THR_BM_THR_S, AR5K_AR5210_STA_ID1, AR5K_AR5210_STA_ID1_DEFAULT_ANTENNA, AR5K_AR5210_STA_ID1_PCF, AR5K_AR5210_TIMER0, AR5K_AR5210_TIMER2, AR5K_REG_DISABLE_BITS, AR5K_REG_READ, AR5K_REG_SM, AR5K_REG_WRITE, AR5K_REG_WRITE_BITS, HAL_BEACON_STATE::bs_bmiss_threshold, HAL_BEACON_STATE::bs_dtim_period, HAL_BEACON_STATE::bs_interval, and HAL_BEACON_STATE::bs_next_beacon.

HAL_BOOL ar5k_ar5210_set_cts_timeout struct ath_halhal,
u_int timeout
 

Definition at line 1852 of file ar5210.c.

References AH_FALSE, AH_TRUE, AR5K_AR5210_TIME_OUT, AR5K_AR5210_TIME_OUT_CTS, ar5k_clocktoh(), ar5k_htoclock(), AR5K_REG_MS, and AR5K_REG_WRITE_BITS.

Here is the call graph for this function:

HAL_BOOL ar5k_ar5210_set_gpio struct ath_halhal,
u_int32_t gpio,
u_int32_t val
 

Definition at line 1690 of file ar5210.c.

References AH_TRUE, AR5K_AR5210_GPIODO, AR5K_AR5210_NUM_GPIO, AR5K_REG_READ, and AR5K_REG_WRITE.

HAL_BOOL ar5k_ar5210_set_gpio_input struct ath_halhal,
u_int32_t gpio
 

Definition at line 1662 of file ar5210.c.

References AH_FALSE, AH_TRUE, AR5K_AR5210_GPIOCR, AR5K_AR5210_GPIOCR_ALL, AR5K_AR5210_GPIOCR_IN, AR5K_AR5210_NUM_GPIO, AR5K_REG_READ, and AR5K_REG_WRITE.

Referenced by ar5k_ar5210_reset().

void ar5k_ar5210_set_gpio_intr struct ath_halhal,
u_int gpio,
u_int32_t interrupt_level
 

Definition at line 1712 of file ar5210.c.

References AR5K_AR5210_GPIOCR, AR5K_AR5210_GPIOCR_ALL, AR5K_AR5210_GPIOCR_INT_ENA, AR5K_AR5210_GPIOCR_INT_SEL, AR5K_AR5210_GPIOCR_INT_SELH, AR5K_AR5210_IMR, AR5K_AR5210_IMR_GPIO, AR5K_AR5210_NUM_GPIO, AR5K_REG_ENABLE_BITS, AR5K_REG_READ, and AR5K_REG_WRITE.

Referenced by ar5k_ar5210_reset().

HAL_BOOL ar5k_ar5210_set_gpio_output struct ath_halhal,
u_int32_t gpio
 

Definition at line 1647 of file ar5210.c.

References AH_FALSE, AH_TRUE, AR5K_AR5210_GPIOCR, AR5K_AR5210_GPIOCR_ALL, AR5K_AR5210_GPIOCR_OUT1, AR5K_AR5210_NUM_GPIO, AR5K_REG_READ, and AR5K_REG_WRITE.

HAL_INT ar5k_ar5210_set_intr struct ath_halhal,
HAL_INT new_mask
 

Definition at line 2343 of file ar5210.c.

References AR5K_AR5210_IER, AR5K_AR5210_IER_DISABLE, AR5K_AR5210_IER_ENABLE, AR5K_AR5210_IMR, AR5K_AR5210_IMR_RXERR, AR5K_AR5210_IMR_RXOK, AR5K_AR5210_IMR_RXORN, AR5K_AR5210_IMR_TXERR, AR5K_AR5210_IMR_TXOK, AR5K_AR5210_IMR_TXURN, AR5K_REG_WRITE, HAL_INT_COMMON, HAL_INT_RX, and HAL_INT_TX.

HAL_BOOL ar5k_ar5210_set_key struct ath_halhal,
u_int16_t entry,
const HAL_KEYVALkeyval,
const u_int8_tmac,
int xor_notused
 

Definition at line 1932 of file ar5210.c.

References AH_FALSE, AR5K_AR5210_KEYCACHE_SIZE, AR5K_AR5210_KEYTABLE_OFF, AR5K_AR5210_KEYTABLE_SIZE, AR5K_AR5210_KEYTABLE_TYPE_104, AR5K_AR5210_KEYTABLE_TYPE_128, AR5K_AR5210_KEYTABLE_TYPE_40, ar5k_ar5210_set_key_lladdr(), AR5K_ASSERT_ENTRY, AR5K_ELEMENTS, AR5K_KEYVAL_LENGTH_104, AR5K_KEYVAL_LENGTH_128, AR5K_KEYVAL_LENGTH_40, AR5K_REG_WRITE, bcopy, and bzero.

Here is the call graph for this function:

HAL_BOOL ar5k_ar5210_set_key_lladdr struct ath_halhal,
u_int16_t entry,
const u_int8_tmac
 

Definition at line 1983 of file ar5210.c.

References AH_TRUE, AR5K_AR5210_KEYTABLE_MAC0, AR5K_AR5210_KEYTABLE_MAC1, AR5K_AR5210_KEYTABLE_SIZE, AR5K_AR5210_KEYTABLE_VALID, AR5K_ASSERT_ENTRY, AR5K_REG_WRITE, and bcopy.

Referenced by ar5k_ar5210_set_key().

void ar5k_ar5210_set_ledstate struct ath_halhal,
HAL_LED_STATE state
 

Definition at line 1584 of file ar5210.c.

References AR5K_AR5210_PCICFG, AR5K_AR5210_PCICFG_LED_ACT, AR5K_AR5210_PCICFG_LED_BCTL, AR5K_AR5210_PCICFG_LED_PEND, AR5K_REG_READ, and AR5K_REG_WRITE.

HAL_BOOL ar5k_ar5210_set_lladdr struct ath_halhal,
const u_int8_tmac
 

Definition at line 1542 of file ar5210.c.

References AH_TRUE, AR5K_AR5210_STA_ID0, AR5K_AR5210_STA_ID1, AR5K_REG_WRITE, bcopy, and IEEE80211_ADDR_LEN.

void ar5k_ar5210_set_mcast_filter struct ath_halhal,
u_int32_t filter0,
u_int32_t filter1
 

Definition at line 1250 of file ar5210.c.

References AR5K_AR5210_MCAST_FIL0, AR5K_AR5210_MCAST_FIL1, and AR5K_REG_WRITE.

HAL_BOOL ar5k_ar5210_set_mcast_filterindex struct ath_halhal,
u_int32_t index
 

Definition at line 1261 of file ar5210.c.

References AH_FALSE, AH_TRUE, AR5K_AR5210_MCAST_FIL0, AR5K_AR5210_MCAST_FIL1, and AR5K_REG_ENABLE_BITS.

void ar5k_ar5210_set_opmode struct ath_halhal  ) 
 

Definition at line 453 of file ar5210.c.

References AR5K_AR5210_BCR, AR5K_AR5210_BCR_ADHOC, AR5K_AR5210_BCR_AP, AR5K_AR5210_STA_ID0, AR5K_AR5210_STA_ID1, AR5K_AR5210_STA_ID1_ADHOC, AR5K_AR5210_STA_ID1_AP, AR5K_AR5210_STA_ID1_DESC_ANTENNA, AR5K_AR5210_STA_ID1_NO_PSPOLL, AR5K_AR5210_STA_ID1_PWR_SV, AR5K_REG_WRITE, bcopy, IEEE80211_M_HOSTAP, IEEE80211_M_IBSS, IEEE80211_M_MONITOR, and IEEE80211_M_STA.

Referenced by ar5k_ar5210_attach(), and ar5k_ar5210_reset().

HAL_BOOL ar5k_ar5210_set_power struct ath_halhal,
HAL_POWER_MODE mode,
HAL_BOOL set_chip,
u_int16_t sleep_duration
 

Definition at line 2014 of file ar5210.c.

References AH_FALSE, AH_TRUE, AR5K_AR5210_PCICFG, AR5K_AR5210_PCICFG_SPWR_DN, AR5K_AR5210_SCR, AR5K_AR5210_SCR_SLE, AR5K_AR5210_SCR_SLE_SLP, AR5K_AR5210_SCR_SLE_WAKE, AR5K_AR5210_STA_ID1, AR5K_AR5210_STA_ID1_DEFAULT_ANTENNA, AR5K_AR5210_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_ar5210_nic_wakeup().

HAL_BOOL ar5k_ar5210_set_regdomain struct ath_halhal,
u_int16_t regdomain,
HAL_STATUSstatus
 

Definition at line 1562 of file ar5210.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:

void ar5k_ar5210_set_rx_filter struct ath_halhal,
u_int32_t filter
 

Definition at line 1304 of file ar5210.c.

References AR5K_AR5210_RX_FILTER, AR5K_AR5210_RX_FILTER_PROMISC, AR5K_REG_WRITE, and HAL_RX_FILTER_PHYRADAR.

void ar5k_ar5210_set_rx_signal struct ath_halhal  ) 
 

Definition at line 1417 of file ar5210.c.

HAL_BOOL ar5k_ar5210_set_slot_time struct ath_halhal,
u_int slot_time
 

Definition at line 1806 of file ar5210.c.

References AH_FALSE, AH_TRUE, AR5K_AR5210_SLOT_TIME, ar5k_htoclock(), AR5K_REG_WRITE, and HAL_SLOT_TIME_MAX.

Here is the call graph for this function:

HAL_BOOL ar5k_ar5210_setup_rx_desc struct ath_halhal,
struct ath_descdesc,
u_int32_t size,
u_int flags
 

Definition at line 1320 of file ar5210.c.

References AH_FALSE, AH_TRUE, AR5K_AR5210_DESC_RX_CTL1_BUF_LEN, AR5K_AR5210_DESC_RX_CTL1_INTREQ, ath_desc::ds_ctl0, HAL_RXDESC_INTREQ, and ar5k_ar5210_rx_desc::rx_control_1.

HAL_BOOL ar5k_ar5210_setup_tx_desc struct ath_halhal,
struct ath_descdesc,
u_int packet_length,
u_int header_length,
HAL_PKT_TYPE type,
u_int tx_power,
u_int tx_rate0,
u_int tx_tries0,
u_int key_index,
u_int antenna_mode,
u_int flags,
u_int rtscts_rate,
u_int rtscts_duration
 

Definition at line 996 of file ar5210.c.

References _TX_FLAGS, AH_FALSE, AH_TRUE, AR5K_AR5210_DESC_TX_CTL0_ENCRYPT_KEY_VALID, AR5K_AR5210_DESC_TX_CTL0_FRAME_LEN, AR5K_AR5210_DESC_TX_CTL0_FRAME_TYPE, AR5K_AR5210_DESC_TX_CTL0_HEADER_LEN, AR5K_AR5210_DESC_TX_CTL0_XMIT_RATE, AR5K_AR5210_DESC_TX_CTL1_ENCRYPT_KEY_INDEX, AR5K_AR5210_DESC_TX_CTL1_RTS_DURATION, AR5K_AR5210_DESC_TX_FRAME_TYPE_NO_DELAY, AR5K_AR5210_DESC_TX_FRAME_TYPE_PIFS, AR5K_REG_SM, ath_desc::ds_ctl0, HAL_PKT_TYPE_BEACON, HAL_PKT_TYPE_PIFS, HAL_PKT_TYPE_PROBE_RESP, HAL_TXDESC_CTSENA, HAL_TXDESC_RTSENA, HAL_TXKEYIX_INVALID, ar5k_ar5210_tx_desc::tx_control_0, and ar5k_ar5210_tx_desc::tx_control_1.

int ar5k_ar5210_setup_tx_queue struct ath_halhal,
HAL_TX_QUEUE queue_type,
const HAL_TXQ_INFOqueue_info
 

Definition at line 713 of file ar5210.c.

References AH_TRUE, ar5k_ar5210_setup_tx_queueprops(), bzero, HAL_TX_QUEUE_BEACON, HAL_TX_QUEUE_CAB, and HAL_TX_QUEUE_DATA.

Here is the call graph for this function:

HAL_BOOL ar5k_ar5210_setup_tx_queueprops struct ath_halhal,
int queue,
const HAL_TXQ_INFOqueue_info
 

Definition at line 751 of file ar5210.c.

References AH_FALSE, AH_TRUE, AR5K_ASSERT_ENTRY, HAL_TX_QUEUE_INACTIVE, and HAL_TXQ_INFO::tqi_aifs.

Referenced by ar5k_ar5210_setup_tx_queue().

HAL_BOOL ar5k_ar5210_setup_xtx_desc struct ath_halhal,
struct ath_descdesc,
u_int tx_rate1,
u_int tx_tries1,
u_int tx_rate2,
u_int tx_tries2,
u_int tx_rate3,
u_int tx_tries3
 

Definition at line 1107 of file ar5210.c.

References AH_FALSE.

void ar5k_ar5210_start_rx struct ath_halhal  ) 
 

Definition at line 1210 of file ar5210.c.

References AR5K_AR5210_CR, AR5K_AR5210_CR_RXE, and AR5K_REG_WRITE.

void ar5k_ar5210_start_rx_pcu struct ath_halhal  ) 
 

Definition at line 1236 of file ar5210.c.

References AR5K_AR5210_DIAG_SW, AR5K_AR5210_DIAG_SW_DIS_RX, and AR5K_REG_DISABLE_BITS.

void ar5k_ar5210_stop_pcu_recv struct ath_halhal  ) 
 

Definition at line 1243 of file ar5210.c.

References AR5K_AR5210_DIAG_SW, AR5K_AR5210_DIAG_SW_DIS_RX, and AR5K_REG_ENABLE_BITS.

HAL_BOOL ar5k_ar5210_stop_rx_dma struct ath_halhal  ) 
 

Definition at line 1217 of file ar5210.c.

References AH_FALSE, AH_TRUE, AR5K_AR5210_CR, AR5K_AR5210_CR_RXD, AR5K_AR5210_CR_RXE, AR5K_DELAY, AR5K_REG_READ, and AR5K_REG_WRITE.

HAL_BOOL ar5k_ar5210_stop_tx_dma struct ath_halhal,
u_int queue
 

Definition at line 960 of file ar5210.c.

References AH_FALSE, AH_TRUE, AR5K_AR5210_BSR, AR5K_AR5210_CR, AR5K_AR5210_CR_TXD0, AR5K_AR5210_CR_TXD1, AR5K_AR5210_CR_TXE0, AR5K_ASSERT_ENTRY, AR5K_REG_READ, AR5K_REG_WRITE, HAL_TX_QUEUE_BEACON, HAL_TX_QUEUE_CAB, and HAL_TX_QUEUE_DATA.

HAL_BOOL ar5k_ar5210_tx_start struct ath_halhal,
u_int queue
 

Definition at line 918 of file ar5210.c.

References AH_FALSE, AH_TRUE, AR5K_AR5210_BCR_BDMAE, AR5K_AR5210_BCR_TQ1FV, AR5K_AR5210_BCR_TQ1V, AR5K_AR5210_BSR, AR5K_AR5210_CR, AR5K_AR5210_CR_TXD0, AR5K_AR5210_CR_TXD1, AR5K_AR5210_CR_TXE0, AR5K_AR5210_CR_TXE1, AR5K_ASSERT_ENTRY, AR5K_REG_READ, AR5K_REG_WRITE, HAL_TX_QUEUE_BEACON, HAL_TX_QUEUE_CAB, and HAL_TX_QUEUE_DATA.

void ar5k_ar5210_update_mib_counters struct ath_halhal,
HAL_MIB_STATSstatistics
 

Definition at line 1787 of file ar5210.c.

References HAL_MIB_STATS::ackrcv_bad, AR5K_AR5210_ACK_FAIL, AR5K_AR5210_BEACON_CNT, AR5K_AR5210_FCS_FAIL, AR5K_AR5210_RTS_FAIL, AR5K_AR5210_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.

HAL_BOOL ar5k_ar5210_update_tx_triglevel struct ath_halhal,
HAL_BOOL increase
 

Definition at line 675 of file ar5210.c.

References AH_FALSE, AH_TRUE, AR5K_AR5210_IMR, AR5K_AR5210_TRIG_LVL, AR5K_REG_DISABLE_BITS, AR5K_REG_ENABLE_BITS, AR5K_REG_READ, AR5K_REG_WRITE, AR5K_TUNE_MAX_TX_FIFO_THRES, AR5K_TUNE_MIN_TX_FIFO_THRES, and HAL_INT_GLOBAL.

HAL_BOOL ar5k_ar5210_wait_for_beacon struct ath_halhal,
bus_addr_t phys_addr
 

Definition at line 2256 of file ar5210.c.

References AH_FALSE, AH_TRUE, AR5K_AR5210_BCR, AR5K_AR5210_BCR_BDMAE, AR5K_AR5210_BCR_TQ1V, AR5K_AR5210_BSR, AR5K_AR5210_BSR_TXQ1F, AR5K_AR5210_CR, AR5K_AR5210_CR_TXE1, AR5K_AR5210_TXDP1, AR5K_REG_READ, AR5K_REG_WRITE, and AR5K_TUNE_BEACON_INTERVAL.

AR5K_HAL_FUNCTIONS extern ,
ar5k_ar5210 
 


Variable Documentation

const struct ar5k_ini ar5210_ini[] [static]
 

Initial value:

Definition at line 38 of file ar5210.c.

Referenced by ar5k_ar5210_reset().


Generated on Mon Nov 21 16:03:17 2005 for openwifi by  doxygen 1.4.1