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

ar5212.c File Reference

#include <linux/config.h>
#include <linux/version.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/netdevice.h>
#include <linux/random.h>
#include <linux/cache.h>
#include <linux/if_arp.h>
#include <linux/proc_fs.h>
#include <asm/uaccess.h>
#include <asm/io.h>
#include "_ieee80211.h"
#include "ieee80211_regdomain.h"
#include "ah.h"
#include "ar5212reg.h"
#include "ar5212var.h"

Include dependency graph for ar5212.c:

Go to the source code of this file.

Defines

#define AR5K_PRINT_REGISTER(_x)   printk("(%s: %08x)\n", #_x, AR5K_REG_READ(AR5K_AR5212_##_x));
#define MAX_PROC_AR5K_AR5212_SIZE   16383
#define PROC_AR5K_AR5212_PERM   0644
#define _TX_FLAGS(_c, _flag)
#define _XTX_TRIES(_n)
#define AR5K_PRINT_REGISTER2(_x)

Functions

HAL_BOOL ar5k_ar5212_nic_reset (struct ath_hal *, u_int32_t)
HAL_BOOL ar5k_ar5212_nic_wakeup (struct ath_hal *, u_int16_t)
u_int16_t ar5k_ar5212_radio_revision (struct ath_hal *, HAL_CHIP)
const void ar5k_ar5212_fill (struct ath_hal *)
HAL_BOOL ar5k_ar5212_txpower (struct ath_hal *, HAL_CHANNEL *, u_int)
HAL_BOOL ar5k_ar5212_setup_tx_queueprops (struct ath_hal *, int queue, const HAL_TXQ_INFO *queue_info)
HAL_BOOL ar5k_ar5212_reset_tx_queue (struct ath_hal *, u_int queue)
void ar5k_ar5212_get_lladdr (struct ath_hal *, u_int8_t *mac)
void ar5k_ar5212_set_associd (struct ath_hal *, const u_int8_t *bssid, u_int16_t assoc_id)
HAL_BOOL ar5k_ar5212_set_gpio_output (struct ath_hal *hal, u_int32_t gpio)
HAL_BOOL ar5k_ar5212_set_gpio_input (struct ath_hal *hal, u_int32_t gpio)
u_int32_t ar5k_ar5212_get_gpio (struct ath_hal *hal, u_int32_t gpio)
void ar5k_ar5212_set_gpio_intr (struct ath_hal *hal, u_int gpio, u_int32_t interrupt_level)
HAL_RFGAIN ar5k_ar5212_get_rf_gain (struct ath_hal *hal)
HAL_BOOL ar5k_ar5212_set_key_lladdr (struct ath_hal *hal, u_int16_t entry, const u_int8_t *mac)
HAL_BOOL ar5k_ar5212_set_power (struct ath_hal *hal, HAL_POWER_MODE mode, int set_chip, u_int16_t sleep_duration)
HAL_BOOL ar5k_ar5212_enable_pspoll (struct ath_hal *hal, u_int8_t *bssid, u_int16_t assoc_id)
HAL_BOOL ar5k_ar5212_disable_pspoll (struct ath_hal *hal)
HAL_INT ar5k_ar5212_set_intr (struct ath_hal *hal, HAL_INT new_mask)
HAL_BOOL ar5k_ar5212_phy_disable (struct ath_hal *hal)
HAL_BOOL ar5k_ar5212_is_key_valid (struct ath_hal *hal, u_int16_t entry)
HAL_BOOL ar5k_ar5212_reset_key (struct ath_hal *hal, u_int16_t entry)
HAL_BOOL ar5k_ar5212_set_regdomain (struct ath_hal *hal, u_int16_t regdomain, HAL_STATUS *status)
ath_halar5k_ar5212_attach (u_int16_t device, void *sc, HAL_BUS_TAG st, HAL_BUS_HANDLE sh, HAL_STATUS *status)
void ar5k_ar5212_set_opmode (struct ath_hal *hal)
static int ar5k_ar5212_proc_read_reg (struct ath_hal *hal, char *buf, int)
static int proc_ar5k_ar5212_read (struct file *file, char *buf, size_t len, loff_t *offset)
static int proc_ar5k_ar5212_open (struct inode *inode, struct file *file)
static int proc_ar5k_ar5212_write (struct file *file, const char *buf, size_t len, loff_t *offset)
static int proc_ar5k_ar5212_close (struct inode *inode, struct file *file)
const HAL_RATE_TABLEar5k_ar5212_get_rate_table (struct ath_hal *hal, u_int mode)
void ar5k_ar5212_detach (struct ath_hal *hal)
HAL_BOOL ar5k_ar5212_reset (struct ath_hal *hal, HAL_OPMODE op_mode, HAL_CHANNEL *channel, HAL_BOOL change_channel, HAL_STATUS *status)
HAL_BOOL ar5k_ar5212_calibrate (struct ath_hal *hal, HAL_CHANNEL *channel)
HAL_BOOL ar5k_ar5212_set_txpower_limit (struct ath_hal *hal, u_int32_t power)
HAL_BOOL ar5k_ar5212_update_tx_triglevel (struct ath_hal *hal, HAL_BOOL increase)
int ar5k_ar5212_setup_tx_queue (struct ath_hal *hal, HAL_TX_QUEUE queue_type, const HAL_TXQ_INFO *queue_info)
HAL_BOOL ar5k_ar5212_get_tx_queueprops (struct ath_hal *hal, int queue, HAL_TXQ_INFO *queue_info)
HAL_BOOL ar5k_ar5212_release_tx_queue (struct ath_hal *hal, u_int queue)
u_int32_t ar5k_ar5212_get_tx_buf (struct ath_hal *hal, u_int queue)
HAL_BOOL ar5k_ar5212_put_tx_buf (struct ath_hal *hal, u_int queue, u_int32_t phys_addr)
u_int32_t ar5k_ar5212_num_tx_pending (struct ath_hal *hal, u_int queue)
HAL_BOOL ar5k_ar5212_tx_start (struct ath_hal *hal, u_int queue)
HAL_BOOL ar5k_ar5212_stop_tx_dma (struct ath_hal *hal, u_int queue)
HAL_BOOL ar5k_ar5212_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_ar5212_fill_tx_desc (struct ath_hal *hal, struct ath_desc *desc, u_int segment_length, HAL_BOOL first_segment, HAL_BOOL last_segment, struct ath_desc *last_desc)
HAL_BOOL ar5k_ar5212_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_ar5212_proc_tx_desc (struct ath_hal *hal, struct ath_desc *desc)
void ar5k_ar5212_get_tx_inter_queue (struct ath_hal *hal, u_int32_t *i)
HAL_BOOL ar5k_ar5212_has_veol (struct ath_hal *hal)
u_int32_t ar5k_ar5212_get_rx_buf (struct ath_hal *hal)
void ar5k_ar5212_put_rx_buf (struct ath_hal *hal, u_int32_t phys_addr)
void ar5k_ar5212_start_rx (struct ath_hal *hal)
HAL_BOOL ar5k_ar5212_stop_rx_dma (struct ath_hal *hal)
void ar5k_ar5212_start_rx_pcu (struct ath_hal *hal)
void ar5k_ar5212_stop_pcu_recv (struct ath_hal *hal)
void ar5k_ar5212_set_mcast_filter (struct ath_hal *hal, u_int32_t filter0, u_int32_t filter1)
HAL_BOOL ar5k_ar5212_set_mcast_filterindex (struct ath_hal *hal, u_int32_t index)
HAL_BOOL ar5k_ar5212_clear_mcast_filter_idx (struct ath_hal *hal, u_int32_t index)
u_int32_t ar5k_ar5212_get_rx_filter (struct ath_hal *hal)
void ar5k_ar5212_set_rx_filter (struct ath_hal *hal, u_int32_t filter)
HAL_BOOL ar5k_ar5212_setup_rx_desc (struct ath_hal *hal, struct ath_desc *desc, u_int32_t size, u_int flags)
HAL_STATUS ar5k_ar5212_proc_rx_desc (struct ath_hal *hal, struct ath_desc *desc, u_int32_t phys_addr, struct ath_desc *next)
void ar5k_ar5212_set_rx_signal (struct ath_hal *hal, HAL_NODE_STATS *stats)
void ar5k_ar5212_proc_mib_event (struct ath_hal *hal, const HAL_NODE_STATS *stats)
HAL_STATUS ar5k_ar5212_get_capability (struct ath_hal *hal, HAL_CAPABILITY_TYPE cap_type, u_int32_t capability, u_int32_t *result)
HAL_BOOL ar5k_ar5212_set_capability (struct ath_hal *hal, HAL_CAPABILITY_TYPE cap_type, u_int32_t capability, u_int32_t setting, HAL_STATUS *status)
void ar5k_ar5212_dump_state (struct ath_hal *hal)
HAL_BOOL ar5k_ar5212_get_diag_state (struct ath_hal *hal, int request, const void *args, u_int32_t argsize, void **result, u_int32_t *resultsize)
HAL_BOOL ar5k_ar5212_set_lladdr (struct ath_hal *hal, const u_int8_t *mac)
void ar5k_ar5212_set_ledstate (struct ath_hal *hal, int state)
HAL_BOOL ar5k_ar5212_set_gpio (struct ath_hal *hal, u_int32_t gpio, u_int32_t val)
u_int32_t ar5k_ar5212_get_tsf32 (struct ath_hal *hal)
u_int64_t ar5k_ar5212_get_tsf64 (struct ath_hal *hal)
void ar5k_ar5212_reset_tsf (struct ath_hal *hal)
u_int16_t ar5k_ar5212_get_regdomain (struct ath_hal *hal)
HAL_BOOL ar5k_ar5212_detect_card_present (struct ath_hal *hal)
void ar5k_ar5212_update_mib_counters (struct ath_hal *hal, HAL_MIB_STATS *statistics)
void ar5k_ar5212_set_def_antenna (struct ath_hal *hal, u_int ant)
u_int ar5k_ar5212_get_def_antenna (struct ath_hal *hal)
HAL_BOOL ar5k_ar5212_set_slot_time (struct ath_hal *hal, u_int slot_time)
u_int ar5k_ar5212_get_slot_time (struct ath_hal *hal)
HAL_BOOL ar5k_ar5212_set_ack_timeout (struct ath_hal *hal, u_int timeout)
u_int ar5k_ar5212_get_ack_timeout (struct ath_hal *hal)
HAL_BOOL ar5k_ar5212_set_cts_timeout (struct ath_hal *hal, u_int timeout)
u_int ar5k_ar5212_get_cts_timeout (struct ath_hal *hal)
u_int32_t ar5k_ar5212_get_keycache_size (struct ath_hal *hal)
HAL_BOOL ar5k_ar5212_set_key (struct ath_hal *hal, u_int16_t entry, const HAL_KEYVAL *keyval, const u_int8_t *mac, int xor_notused)
HAL_POWER_MODE ar5k_ar5212_get_power_mode (struct ath_hal *hal)
HAL_BOOL ar5k_ar5212_query_pspoll_support (struct ath_hal *hal)
HAL_BOOL ar5k_ar5212_init_pspoll (struct ath_hal *hal)
void ar5k_ar5212_init_beacon (struct ath_hal *hal, u_int32_t next_beacon, u_int32_t interval)
void ar5k_ar5212_set_beacon_timers (struct ath_hal *hal, const HAL_BEACON_STATE *state)
void ar5k_ar5212_reset_beacon (struct ath_hal *hal)
HAL_BOOL ar5k_ar5212_wait_for_beacon (struct ath_hal *hal, u_int32_t phys_addr)
HAL_BOOL ar5k_ar5212_is_intr_pending (struct ath_hal *hal)
HAL_BOOL ar5k_ar5212_get_isr (struct ath_hal *hal, u_int32_t *interrupt_mask)
u_int32_t ar5k_ar5212_get_intr (struct ath_hal *hal)
HAL_BOOL ar5k_ar5212_get_capabilities (struct ath_hal *hal)
void ar5k_ar5212_radar_alert (struct ath_hal *hal, HAL_BOOL enable)
HAL_BOOL ar5k_ar5212_eeprom_is_busy (struct ath_hal *hal)
int ar5k_ar5212_eeprom_read (struct ath_hal *hal, u_int32_t offset, u_int16_t *data)
int ar5k_ar5212_eeprom_write (struct ath_hal *hal, u_int32_t offset, u_int16_t data)

Variables

static const struct ar5k_ar5212_ini ar5212_ini []
static const struct ar5k_ar5212_ini_mode ar5212_mode []
proc_dir_entry * proc_hal = NULL
proc_dir_entry * proc_hal_reg = NULL
static struct file_operations proc_sib_ops


Define Documentation

#define _TX_FLAGS _c,
_flag  ) 
 

Value:

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

#define _XTX_TRIES _n  ) 
 

Value:

if (tx_tries##_n) {                                             \
                tx_desc->tx_control_2 |=                                \
AR5K_REG_SM(tx_tries##_n,                           \
                    AR5K_AR5212_DESC_TX_CTL2_XMIT_TRIES##_n);           \
                tx_desc->tx_control_3 |=                                \
AR5K_REG_SM(tx_rate##_n,                            \
                    AR5K_AR5212_DESC_TX_CTL3_XMIT_RATE##_n);            \
        }

Referenced by ar5k_ar5212_setup_xtx_desc().

#define AR5K_PRINT_REGISTER _x  )    printk("(%s: %08x)\n", #_x, AR5K_REG_READ(AR5K_AR5212_##_x));
 

Definition at line 43 of file ar5212.c.

Referenced by ar5k_ar5210_dump_state(), ar5k_ar5211_dump_state(), and ar5k_ar5212_dump_state().

#define AR5K_PRINT_REGISTER2 _x  ) 
 

Value:

do { \
             p += sprintf(p, "0x%08x 0x%08x %s\n", AR5K_AR5212_##_x, AR5K_REG_READ(AR5K_AR5212_##_x), #_x); \
        } while (0)

Referenced by ar5k_ar5212_proc_read_reg().

#define MAX_PROC_AR5K_AR5212_SIZE   16383
 

Definition at line 130 of file ar5212.c.

Referenced by proc_ar5k_ar5212_open().

#define PROC_AR5K_AR5212_PERM   0644
 

Definition at line 131 of file ar5212.c.


Function Documentation

struct ath_hal* ar5k_ar5212_attach u_int16_t device,
void * sc,
HAL_BUS_TAG st,
HAL_BUS_HANDLE sh,
HAL_STATUSstatus
 

HAL_BOOL ar5k_ar5212_calibrate struct ath_halhal,
HAL_CHANNELchannel
 

Definition at line 934 of file ar5212.c.

References AH_FALSE, AH_TRUE, AR5K_AR5212_PHY_AGCCTL, AR5K_AR5212_PHY_AGCCTL_NF, AR5K_AR5212_PHY_IQ, AR5K_AR5212_PHY_IQ_CORR_ENABLE, AR5K_AR5212_PHY_IQ_CORR_Q_I_COFF_S, AR5K_AR5212_PHY_IQ_RUN, AR5K_AR5212_PHY_IQRES_CAL_CORR, AR5K_AR5212_PHY_IQRES_CAL_PWR_I, AR5K_AR5212_PHY_IQRES_CAL_PWR_Q, AR5K_AR5212_PHY_PAPD_PROBE, AR5K_AR5212_PHY_PAPD_PROBE_TX_NEXT, AR5K_AR5212_PHY_PAPD_PROBE_TXPOWER, AR5K_REG_ENABLE_BITS, AR5K_REG_READ, AR5K_REG_SM, AR5K_REG_WRITE, AR5K_TRACE, HAL_RFGAIN_READ_REQUESTED, and IEEE80211_CHAN_5GHZ.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_clear_mcast_filter_idx struct ath_halhal,
u_int32_t index
 

Definition at line 1762 of file ar5212.c.

References AH_FALSE, AH_TRUE, AR5K_AR5212_MCAST_FIL0, AR5K_AR5212_MCAST_FIL1, AR5K_REG_DISABLE_BITS, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

void ar5k_ar5212_detach struct ath_halhal  ) 
 

Definition at line 471 of file ar5212.c.

References AR5K_TRACE, and proc_hal.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_detect_card_present struct ath_halhal  ) 
 

Definition at line 2537 of file ar5212.c.

References AH_FALSE, AH_TRUE, AR5K_EEPROM_MAGIC, AR5K_EEPROM_MAGIC_VALUE, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_disable_pspoll struct ath_halhal  ) 
 

Definition at line 2916 of file ar5212.c.

References AH_FALSE, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill(), and ar5k_ar5212_set_associd().

void ar5k_ar5212_dump_state struct ath_halhal  ) 
 

Definition at line 1998 of file ar5212.c.

References AR5K_PRINT_REGISTER, AR5K_TRACE, and printf.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_eeprom_is_busy struct ath_halhal  ) 
 

Definition at line 3305 of file ar5212.c.

References AH_FALSE, AH_TRUE, AR5K_AR5212_CFG, AR5K_AR5212_CFG_EEBS, AR5K_REG_READ, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

int ar5k_ar5212_eeprom_read struct ath_halhal,
u_int32_t offset,
u_int16_tdata
 

Definition at line 3313 of file ar5212.c.

References AR5K_AR5212_EEPROM_BASE, AR5K_AR5212_EEPROM_CMD, AR5K_AR5212_EEPROM_CMD_READ, AR5K_AR5212_EEPROM_DATA, AR5K_AR5212_EEPROM_STAT_RDDONE, AR5K_AR5212_EEPROM_STAT_RDERR, AR5K_AR5212_EEPROM_STATUS, AR5K_DELAY, AR5K_REG_ENABLE_BITS, AR5K_REG_READ, AR5K_REG_WRITE, and AR5K_TUNE_REGISTER_TIMEOUT.

Referenced by ar5k_ar5212_fill().

int ar5k_ar5212_eeprom_write struct ath_halhal,
u_int32_t offset,
u_int16_t data
 

Definition at line 3342 of file ar5212.c.

References AR5K_AR5212_EEPROM_BASE, AR5K_AR5212_EEPROM_CMD, AR5K_AR5212_EEPROM_CMD_RESET, AR5K_AR5212_EEPROM_CMD_WRITE, AR5K_AR5212_EEPROM_STAT_WRDONE, AR5K_AR5212_EEPROM_STAT_WRERR, AR5K_AR5212_EEPROM_STATUS, AR5K_DELAY, AR5K_REG_ENABLE_BITS, AR5K_REG_READ, AR5K_REG_WRITE, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_enable_pspoll struct ath_halhal,
u_int8_tbssid,
u_int16_t assoc_id
 

Definition at line 2907 of file ar5212.c.

References AH_FALSE, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill(), and ar5k_ar5212_set_associd().

const void ar5k_ar5212_fill struct ath_hal ) 
 

Definition at line 3440 of file ar5212.c.

References ar5k_ar5212_calibrate(), ar5k_ar5212_clear_mcast_filter_idx(), ar5k_ar5212_detach(), ar5k_ar5212_detect_card_present(), ar5k_ar5212_disable_pspoll(), ar5k_ar5212_dump_state(), ar5k_ar5212_eeprom_is_busy(), ar5k_ar5212_eeprom_read(), ar5k_ar5212_eeprom_write(), ar5k_ar5212_enable_pspoll(), ar5k_ar5212_fill_tx_desc(), ar5k_ar5212_get_ack_timeout(), ar5k_ar5212_get_capabilities(), ar5k_ar5212_get_capability(), ar5k_ar5212_get_cts_timeout(), ar5k_ar5212_get_def_antenna(), ar5k_ar5212_get_diag_state(), ar5k_ar5212_get_gpio(), ar5k_ar5212_get_intr(), ar5k_ar5212_get_isr(), ar5k_ar5212_get_keycache_size(), ar5k_ar5212_get_lladdr(), ar5k_ar5212_get_power_mode(), ar5k_ar5212_get_rate_table(), ar5k_ar5212_get_rf_gain(), ar5k_ar5212_get_rx_buf(), ar5k_ar5212_get_rx_filter(), ar5k_ar5212_get_slot_time(), ar5k_ar5212_get_tsf32(), ar5k_ar5212_get_tsf64(), ar5k_ar5212_get_tx_buf(), ar5k_ar5212_get_tx_inter_queue(), ar5k_ar5212_get_tx_queueprops(), ar5k_ar5212_init_beacon(), ar5k_ar5212_init_pspoll(), ar5k_ar5212_is_intr_pending(), ar5k_ar5212_is_key_valid(), AR5K_AR5212_MAGIC, ar5k_ar5212_num_tx_pending(), ar5k_ar5212_phy_disable(), ar5k_ar5212_proc_mib_event(), ar5k_ar5212_proc_rx_desc(), ar5k_ar5212_proc_tx_desc(), ar5k_ar5212_put_rx_buf(), ar5k_ar5212_put_tx_buf(), ar5k_ar5212_radar_alert(), ar5k_ar5212_release_tx_queue(), ar5k_ar5212_reset(), ar5k_ar5212_reset_beacon(), ar5k_ar5212_reset_key(), ar5k_ar5212_reset_tsf(), ar5k_ar5212_reset_tx_queue(), ar5k_ar5212_set_ack_timeout(), ar5k_ar5212_set_associd(), ar5k_ar5212_set_beacon_timers(), ar5k_ar5212_set_capability(), ar5k_ar5212_set_cts_timeout(), ar5k_ar5212_set_def_antenna(), ar5k_ar5212_set_gpio(), ar5k_ar5212_set_gpio_input(), ar5k_ar5212_set_gpio_intr(), ar5k_ar5212_set_gpio_output(), ar5k_ar5212_set_intr(), ar5k_ar5212_set_key(), ar5k_ar5212_set_key_lladdr(), ar5k_ar5212_set_ledstate(), ar5k_ar5212_set_lladdr(), ar5k_ar5212_set_mcast_filter(), ar5k_ar5212_set_mcast_filterindex(), ar5k_ar5212_set_opmode(), ar5k_ar5212_set_power(), ar5k_ar5212_set_regdomain(), ar5k_ar5212_set_rx_filter(), ar5k_ar5212_set_rx_signal(), ar5k_ar5212_set_slot_time(), ar5k_ar5212_set_txpower_limit(), ar5k_ar5212_setup_rx_desc(), ar5k_ar5212_setup_tx_desc(), ar5k_ar5212_setup_tx_queue(), ar5k_ar5212_setup_tx_queueprops(), ar5k_ar5212_setup_xtx_desc(), ar5k_ar5212_start_rx(), ar5k_ar5212_start_rx_pcu(), ar5k_ar5212_stop_pcu_recv(), ar5k_ar5212_stop_rx_dma(), ar5k_ar5212_stop_tx_dma(), ar5k_ar5212_tx_start(), ar5k_ar5212_update_mib_counters(), ar5k_ar5212_update_tx_triglevel(), ar5k_ar5212_wait_for_beacon(), and AR5K_TRACE.

Here is the call graph for this function:

HAL_BOOL ar5k_ar5212_fill_tx_desc struct ath_halhal,
struct ath_descdesc,
u_int segment_length,
HAL_BOOL first_segment,
HAL_BOOL last_segment,
struct ath_desclast_desc
 

Definition at line 1498 of file ar5212.c.

References AH_FALSE, AH_TRUE, AR5K_AR5212_DESC_TX_CTL0_FRAME_LEN, AR5K_AR5212_DESC_TX_CTL1_BUF_LEN, AR5K_AR5212_DESC_TX_CTL1_MORE, AR5K_TRACE, ar5k_ar5212_tx_desc::tx_control_0, and ar5k_ar5212_tx_desc::tx_control_1.

Referenced by ar5k_ar5212_fill().

u_int ar5k_ar5212_get_ack_timeout struct ath_halhal  ) 
 

Definition at line 2655 of file ar5212.c.

References AR5K_AR5212_TIME_OUT, AR5K_AR5212_TIME_OUT_ACK, ar5k_clocktoh(), AR5K_REG_MS, and AR5K_REG_READ.

Referenced by ar5k_ar5212_fill().

Here is the call graph for this function:

HAL_BOOL ar5k_ar5212_get_capabilities struct ath_halhal  ) 
 

Definition at line 3224 of file ar5212.c.

References AH_TRUE, AR5K_AR5212_NUM_GPIO, AR5K_AR5212_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.

Referenced by ar5k_ar5212_fill().

HAL_STATUS ar5k_ar5212_get_capability struct ath_halhal,
HAL_CAPABILITY_TYPE cap_type,
u_int32_t capability,
u_int32_tresult
 

Definition at line 1953 of file ar5212.c.

References AR5K_AR5212_TX_NUM_QUEUES, AR5K_TRACE, HAL_CAP_CIPHER, HAL_CAP_NUM_TXQUEUES, HAL_CAP_TPC, HAL_CIPHER_WEP, HAL_EINVAL, and HAL_OK.

Referenced by ar5k_ar5212_fill().

u_int ar5k_ar5212_get_cts_timeout struct ath_halhal  ) 
 

Definition at line 2676 of file ar5212.c.

References AR5K_AR5212_TIME_OUT, AR5K_AR5212_TIME_OUT_CTS, ar5k_clocktoh(), AR5K_REG_MS, AR5K_REG_READ, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

Here is the call graph for this function:

u_int ar5k_ar5212_get_def_antenna struct ath_halhal  ) 
 

Definition at line 2616 of file ar5212.c.

References AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_get_diag_state struct ath_halhal,
int request,
const void * args,
u_int32_t argsize,
void ** result,
u_int32_tresultsize
 

Definition at line 2267 of file ar5212.c.

References AH_FALSE, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

u_int32_t ar5k_ar5212_get_gpio struct ath_halhal,
u_int32_t gpio
 

Definition at line 2442 of file ar5212.c.

References AR5K_AR5212_GPIODI, AR5K_AR5212_GPIODI_M, AR5K_AR5212_NUM_GPIO, AR5K_REG_READ, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill(), and ar5k_ar5212_reset().

u_int32_t ar5k_ar5212_get_intr struct ath_halhal  ) 
 

Definition at line 3159 of file ar5212.c.

References AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_get_isr struct ath_halhal,
u_int32_tinterrupt_mask
 

Definition at line 3116 of file ar5212.c.

References AH_FALSE, AH_TRUE, AR5K_AR5212_PISR_HIUERR, AR5K_AR5212_PISR_RXERR, AR5K_AR5212_PISR_RXOK, AR5K_AR5212_PISR_RXPHY, AR5K_AR5212_PISR_TXERR, AR5K_AR5212_PISR_TXOK, AR5K_AR5212_RAC_PISR, AR5K_PRINTF, ar5k_radar_alert(), AR5K_REG_READ, HAL_INT_COMMON, HAL_INT_FATAL, HAL_INT_NOCARD, HAL_INT_RX, and HAL_INT_TX.

Referenced by ar5k_ar5212_fill().

Here is the call graph for this function:

u_int32_t ar5k_ar5212_get_keycache_size struct ath_halhal  ) 
 

Definition at line 2688 of file ar5212.c.

References AR5K_AR5212_KEYCACHE_SIZE, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

void ar5k_ar5212_get_lladdr struct ath_hal,
u_int8_tmac
 

Definition at line 2281 of file ar5212.c.

References bcopy, and IEEE80211_ADDR_LEN.

Referenced by ar5k_ar5212_fill().

HAL_POWER_MODE ar5k_ar5212_get_power_mode struct ath_halhal  ) 
 

Definition at line 2882 of file ar5212.c.

References AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

const HAL_RATE_TABLE* ar5k_ar5212_get_rate_table struct ath_halhal,
u_int mode
 

Definition at line 446 of file ar5212.c.

References AR5K_TRACE, HAL_MODE_108G, HAL_MODE_11A, HAL_MODE_11B, HAL_MODE_11G, HAL_MODE_TURBO, and HAL_MODE_XR.

Referenced by ar5k_ar5212_fill(), and ar5k_ar5212_reset().

u_int16_t ar5k_ar5212_get_regdomain struct ath_halhal  ) 
 

Definition at line 2530 of file ar5212.c.

References ar5k_get_regdomain(), and AR5K_TRACE.

Here is the call graph for this function:

HAL_RFGAIN ar5k_ar5212_get_rf_gain struct ath_halhal  ) 
 

Definition at line 2571 of file ar5212.c.

References AR5K_AR5112, AR5K_AR5212_PHY_PAPD_PROBE, AR5K_AR5212_PHY_PAPD_PROBE_GAINF_S, AR5K_AR5212_PHY_PAPD_PROBE_TX_NEXT, AR5K_AR5212_PHY_PAPD_PROBE_TYPE, AR5K_AR5212_PHY_PAPD_PROBE_TYPE_CCK, AR5K_GAIN_CCK_PROBE_CORR, AR5K_GAIN_CHECK_ADJUST, AR5K_REG_MS, AR5K_REG_READ, ar5k_rfregs_gain_adjust(), ar5k_rfregs_gain_readback(), ar5k_rfregs_gainf_corr(), AR5K_TRACE, HAL_RFGAIN_INACTIVE, HAL_RFGAIN_NEED_CHANGE, and HAL_RFGAIN_READ_REQUESTED.

Referenced by ar5k_ar5212_fill(), and ar5k_ar5212_reset().

Here is the call graph for this function:

u_int32_t ar5k_ar5212_get_rx_buf struct ath_halhal  ) 
 

Definition at line 1674 of file ar5212.c.

References AR5K_AR5212_RXDP, and AR5K_REG_READ.

Referenced by ar5k_ar5212_fill().

u_int32_t ar5k_ar5212_get_rx_filter struct ath_halhal  ) 
 

Definition at line 1779 of file ar5212.c.

References AR5K_AR5212_PHY_ERR_FIL, AR5K_AR5212_PHY_ERR_FIL_CCK, AR5K_AR5212_PHY_ERR_FIL_OFDM, AR5K_AR5212_PHY_ERR_FIL_RADAR, AR5K_AR5212_RX_FILTER, AR5K_REG_READ, AR5K_TRACE, HAL_RX_FILTER_PHYERR, and HAL_RX_FILTER_PHYRADAR.

Referenced by ar5k_ar5212_fill().

u_int ar5k_ar5212_get_slot_time struct ath_halhal  ) 
 

Definition at line 2634 of file ar5212.c.

References AR5K_AR5212_DCU_GBL_IFS_SLOT, AR5K_REG_READ, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

u_int32_t ar5k_ar5212_get_tsf32 struct ath_halhal  ) 
 

Definition at line 2506 of file ar5212.c.

References AR5K_AR5212_TSF_L32, AR5K_REG_READ, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

u_int64_t ar5k_ar5212_get_tsf64 struct ath_halhal  ) 
 

Definition at line 2513 of file ar5212.c.

References AR5K_AR5212_TSF_L32, AR5K_AR5212_TSF_U32, AR5K_REG_READ, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

u_int32_t ar5k_ar5212_get_tx_buf struct ath_halhal,
u_int queue
 

Definition at line 1309 of file ar5212.c.

References AR5K_AR5212_QCU_TXDP, AR5K_ASSERT_ENTRY, AR5K_REG_READ, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

void ar5k_ar5212_get_tx_inter_queue struct ath_halhal,
u_int32_ti
 

Definition at line 1657 of file ar5212.c.

References AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_get_tx_queueprops struct ath_halhal,
int queue,
HAL_TXQ_INFOqueue_info
 

Definition at line 1101 of file ar5212.c.

References AH_TRUE, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_has_veol struct ath_halhal  ) 
 

Definition at line 1663 of file ar5212.c.

References AH_TRUE, and AR5K_TRACE.

void ar5k_ar5212_init_beacon struct ath_halhal,
u_int32_t next_beacon,
u_int32_t interval
 

Definition at line 2927 of file ar5212.c.

References AR5K_AR5212_BEACON, AR5K_AR5212_BEACON_ENABLE, AR5K_AR5212_BEACON_PERIOD, AR5K_AR5212_BEACON_RESET_TSF, AR5K_AR5212_TIMER0, AR5K_AR5212_TIMER1, AR5K_AR5212_TIMER2, AR5K_AR5212_TIMER3, AR5K_REG_WRITE, AR5K_TRACE, AR5K_TUNE_DMA_BEACON_RESP, AR5K_TUNE_SW_BEACON_RESP, and HAL_M_STA.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_init_pspoll struct ath_halhal  ) 
 

Definition at line 2897 of file ar5212.c.

References AH_FALSE, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_is_intr_pending struct ath_halhal  ) 
 

Definition at line 3110 of file ar5212.c.

References AH_FALSE, AH_TRUE, AR5K_AR5212_INTPEND, and AR5K_REG_READ.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_is_key_valid struct ath_halhal,
u_int16_t entry
 

Definition at line 2712 of file ar5212.c.

References AH_FALSE, AH_TRUE, AR5K_AR5212_KEYTABLE_MAC1, AR5K_AR5212_KEYTABLE_SIZE, AR5K_AR5212_KEYTABLE_VALID, AR5K_ASSERT_ENTRY, AR5K_REG_READ, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_nic_reset struct ath_hal,
u_int32_t 
 

Definition at line 289 of file ar5212.c.

References AH_FALSE, AR5K_AR5212_CFG, AR5K_AR5212_INIT_CFG, AR5K_AR5212_RC, AR5K_AR5212_RC_BB, AR5K_AR5212_RC_PCU, AR5K_AR5212_RXDP, AR5K_DELAY, AR5K_REG_READ, AR5K_REG_WRITE, ar5k_register_timeout(), and AR5K_TRACE.

Referenced by ar5k_ar5212_nic_wakeup().

Here is the call graph for this function:

HAL_BOOL ar5k_ar5212_nic_wakeup struct ath_hal,
u_int16_t 
 

Definition at line 324 of file ar5212.c.

References AH_FALSE, AH_TRUE, AR5K_AR5112, ar5k_ar5212_nic_reset(), AR5K_AR5212_PHY_MODE, AR5K_AR5212_PHY_MODE_FREQ_2GHZ, AR5K_AR5212_PHY_MODE_FREQ_5GHZ, AR5K_AR5212_PHY_MODE_MOD_CCK, AR5K_AR5212_PHY_MODE_MOD_DYN, AR5K_AR5212_PHY_MODE_MOD_OFDM, AR5K_AR5212_PHY_MODE_RAD_AR5111, AR5K_AR5212_PHY_MODE_RAD_AR5112, AR5K_AR5212_PHY_PLL, AR5K_AR5212_PHY_PLL_40MHZ, AR5K_AR5212_PHY_PLL_44MHZ, AR5K_AR5212_PHY_PLL_AR5111, AR5K_AR5212_PHY_PLL_AR5112, AR5K_AR5212_PHY_TURBO, AR5K_AR5212_PHY_TURBO_MODE, AR5K_AR5212_PHY_TURBO_SHORT, AR5K_AR5212_RC_CHIP, AR5K_AR5212_RC_PCI, ar5k_ar5212_set_power(), AR5K_DELAY, AR5K_PRINT, AR5K_REG_WRITE, HAL_PM_AWAKE, IEEE80211_CHAN_2GHZ, IEEE80211_CHAN_5GHZ, IEEE80211_CHAN_CCK, IEEE80211_CHAN_DYN, IEEE80211_CHAN_OFDM, and IEEE80211_CHAN_TURBO.

Referenced by ar5k_ar5212_reset().

Here is the call graph for this function:

u_int32_t ar5k_ar5212_num_tx_pending struct ath_halhal,
u_int queue
 

Definition at line 1348 of file ar5212.c.

References AR5K_AR5212_QCU_STS, AR5K_AR5212_QCU_STS_FRMPENDCNT, AR5K_ASSERT_ENTRY, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_phy_disable struct ath_halhal  ) 
 

Definition at line 887 of file ar5212.c.

References AH_TRUE, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

void ar5k_ar5212_proc_mib_event struct ath_halhal,
const HAL_NODE_STATSstats
 

Definition at line 1942 of file ar5212.c.

References AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

static int ar5k_ar5212_proc_read_reg struct ath_halhal,
char * buf,
int 
[static]
 

Definition at line 2102 of file ar5212.c.

References AR5K_AR5212_DCU_LCL_IFS, AR5K_AR5212_DCU_MISC, AR5K_AR5212_DCU_QCUMASK, AR5K_AR5212_DCU_RETRY_LMT, AR5K_AR5212_DCU_SEQNUM, AR5K_AR5212_QCU_CBRCFG, AR5K_AR5212_QCU_MISC, AR5K_AR5212_QCU_RDYTIMECFG, AR5K_AR5212_QCU_STS, AR5K_AR5212_QCU_TXDP, AR5K_PRINT_REGISTER2, and AR5K_REG_READ.

Referenced by proc_ar5k_ar5212_open().

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

Definition at line 1846 of file ar5212.c.

References AR5K_AR5212_DESC_RX_ERROR1_PHY_ERROR_CODE, AR5K_AR5212_DESC_RX_STATUS0_DATA_LEN, AR5K_AR5212_DESC_RX_STATUS0_MORE, AR5K_AR5212_DESC_RX_STATUS0_RECEIVE_ANTENNA, AR5K_AR5212_DESC_RX_STATUS0_RECEIVE_RATE, AR5K_AR5212_DESC_RX_STATUS0_RECEIVE_SIGNAL, AR5K_AR5212_DESC_RX_STATUS1_CRC_ERROR, AR5K_AR5212_DESC_RX_STATUS1_DECRYPT_CRC_ERROR, AR5K_AR5212_DESC_RX_STATUS1_DONE, AR5K_AR5212_DESC_RX_STATUS1_FRAME_RECEIVE_OK, AR5K_AR5212_DESC_RX_STATUS1_KEY_INDEX, AR5K_AR5212_DESC_RX_STATUS1_KEY_INDEX_VALID, AR5K_AR5212_DESC_RX_STATUS1_MIC_ERROR, AR5K_AR5212_DESC_RX_STATUS1_PHY_ERROR, AR5K_AR5212_DESC_RX_STATUS1_RECEIVE_TIMESTAMP, AR5K_AR5212_RXDP, AR5K_REG_MS, AR5K_REG_READ, AR5K_TRACE, HAL_EINPROGRESS, HAL_OK, HAL_RXERR_CRC, HAL_RXERR_DECRYPT, HAL_RXERR_MIC, HAL_RXERR_PHY, HAL_RXKEYIX_INVALID, ar5k_ar5212_rx_error::rx_error_1, ar5k_ar5212_rx_status::rx_status_0, and ar5k_ar5212_rx_status::rx_status_1.

Referenced by ar5k_ar5212_fill().

HAL_STATUS ar5k_ar5212_proc_tx_desc struct ath_halhal,
struct ath_descdesc
 

Definition at line 1570 of file ar5212.c.

References AR5K_AR5212_DESC_TX_CTL2_XMIT_TRIES1, AR5K_AR5212_DESC_TX_CTL2_XMIT_TRIES2, AR5K_AR5212_DESC_TX_CTL2_XMIT_TRIES3, AR5K_AR5212_DESC_TX_CTL3_XMIT_RATE0, AR5K_AR5212_DESC_TX_CTL3_XMIT_RATE1, AR5K_AR5212_DESC_TX_CTL3_XMIT_RATE2, AR5K_AR5212_DESC_TX_CTL3_XMIT_RATE3, AR5K_AR5212_DESC_TX_STATUS0_DATA_FAIL_COUNT, AR5K_AR5212_DESC_TX_STATUS0_EXCESSIVE_RETRIES, AR5K_AR5212_DESC_TX_STATUS0_FIFO_UNDERRUN, AR5K_AR5212_DESC_TX_STATUS0_FILTERED, AR5K_AR5212_DESC_TX_STATUS0_FRAME_XMIT_OK, AR5K_AR5212_DESC_TX_STATUS0_RTS_FAIL_COUNT, AR5K_AR5212_DESC_TX_STATUS0_SEND_TIMESTAMP, AR5K_AR5212_DESC_TX_STATUS1_ACK_SIG_STRENGTH, AR5K_AR5212_DESC_TX_STATUS1_DONE, AR5K_AR5212_DESC_TX_STATUS1_FINAL_TS_INDEX, AR5K_AR5212_DESC_TX_STATUS1_SEQ_NUM, AR5K_AR5212_DESC_TX_STATUS1_XMIT_ANTENNA, AR5K_REG_MS, AR5K_TRACE, HAL_EINPROGRESS, HAL_OK, HAL_TXERR_FIFO, HAL_TXERR_FILT, HAL_TXERR_XRETRY, ar5k_ar5212_tx_desc::tx_control_2, ar5k_ar5212_tx_desc::tx_control_3, ar5k_ar5212_tx_status::tx_status_0, and ar5k_ar5212_tx_status::tx_status_1.

Referenced by ar5k_ar5212_fill().

void ar5k_ar5212_put_rx_buf struct ath_halhal,
u_int32_t phys_addr
 

Definition at line 1680 of file ar5212.c.

References AR5K_AR5212_CR, AR5K_AR5212_CR_RXE, AR5K_AR5212_RXDP, AR5K_REG_READ, and AR5K_REG_WRITE.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_put_tx_buf struct ath_halhal,
u_int queue,
u_int32_t phys_addr
 

Definition at line 1321 of file ar5212.c.

References AH_FALSE, AH_TRUE, AR5K_AR5212_QCU_TXD, AR5K_AR5212_QCU_TXDP, AR5K_AR5212_QCU_TXE, AR5K_ASSERT_ENTRY, AR5K_REG_READ_Q, AR5K_REG_WRITE, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_query_pspoll_support struct ath_halhal  ) 
 

Definition at line 2889 of file ar5212.c.

References AH_FALSE, and AR5K_TRACE.

void ar5k_ar5212_radar_alert struct ath_halhal,
HAL_BOOL enable
 

Definition at line 3276 of file ar5212.c.

References AH_TRUE, AR5K_AR5212_IER, AR5K_AR5212_IER_DISABLE, AR5K_AR5212_IER_ENABLE, AR5K_AR5212_PHY_RADAR, AR5K_AR5212_PHY_RADAR_DISABLE, AR5K_AR5212_PHY_RADAR_ENABLE, AR5K_AR5212_PIMR, AR5K_AR5212_PIMR_RXPHY, AR5K_REG_DISABLE_BITS, AR5K_REG_ENABLE_BITS, AR5K_REG_WRITE, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

u_int16_t ar5k_ar5212_radio_revision struct ath_hal,
HAL_CHIP 
 

Definition at line 406 of file ar5212.c.

References AR5K_AR5212_PHY, AR5K_AR5212_PHY_SHIFT_2GHZ, AR5K_AR5212_PHY_SHIFT_5GHZ, ar5k_bitswap(), AR5K_DELAY, AR5K_REG_READ, AR5K_REG_WRITE, AR5K_TRACE, HAL_CHIP_2GHZ, and HAL_CHIP_5GHZ.

Here is the call graph for this function:

HAL_BOOL ar5k_ar5212_release_tx_queue struct ath_halhal,
u_int queue
 

Definition at line 1110 of file ar5212.c.

References AH_FALSE, AR5K_ASSERT_ENTRY, AR5K_Q_DISABLE_BITS, AR5K_TRACE, and HAL_TX_QUEUE_INACTIVE.

Referenced by ar5k_ar5212_fill().

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

Definition at line 488 of file ar5212.c.

References AH_FALSE, AH_TRUE, ar5212_ini, ar5212_mode, AR5K_AR5111, AR5K_AR5112, AR5K_AR5212_BEACON, AR5K_AR5212_BEACON_ENABLE, AR5K_AR5212_BEACON_RESET_TSF, AR5K_AR5212_DCU_QCUMASK, AR5K_AR5212_DCU_SEQNUM, AR5K_AR5212_DEFAULT_ANTENNA, AR5K_AR5212_DMASIZE_512B, ar5k_ar5212_get_gpio(), ar5k_ar5212_get_rate_table(), ar5k_ar5212_get_rf_gain(), AR5K_AR5212_GPIOCR, AR5K_AR5212_GPIODO, ar5k_ar5212_nic_wakeup(), AR5K_AR5212_PCICFG, AR5K_AR5212_PCICFG_LEDSTATE, AR5K_AR5212_PCU_MAX, AR5K_AR5212_PCU_MIN, AR5K_AR5212_PHY, AR5K_AR5212_PHY_ACTIVE, AR5K_AR5212_PHY_AGCCTL, AR5K_AR5212_PHY_AGCCTL_CAL, AR5K_AR5212_PHY_AGCCTL_NF, AR5K_AR5212_PHY_ANT_SWITCH_TABLE_0, AR5K_AR5212_PHY_ANT_SWITCH_TABLE_1, AR5K_AR5212_PHY_ENABLE, AR5K_AR5212_PHY_FC, AR5K_AR5212_PHY_FC_TX_CLIP, AR5K_AR5212_PHY_GAIN_2GHZ, AR5K_AR5212_PHY_GAIN_2GHZ_MARGIN_TXRX, AR5K_AR5212_PHY_IQ, AR5K_AR5212_PHY_IQ_CAL_NUM_LOG_MAX, AR5K_AR5212_PHY_IQ_CORR_ENABLE, AR5K_AR5212_PHY_IQ_CORR_Q_I_COFF_S, AR5K_AR5212_PHY_IQ_RUN, AR5K_AR5212_PHY_NF_SVAL, AR5K_AR5212_PHY_RX_DELAY, AR5K_AR5212_PHY_RX_DELAY_M, AR5K_AR5212_PHY_SCAL, AR5K_AR5212_PHY_SCAL_32MHZ, AR5K_AR5212_PHY_SCLOCK, AR5K_AR5212_PHY_SCLOCK_32MHZ, AR5K_AR5212_PHY_SCR, AR5K_AR5212_PHY_SCR_32MHZ, AR5K_AR5212_PHY_SDELAY, AR5K_AR5212_PHY_SDELAY_32MHZ, AR5K_AR5212_PHY_SHIFT_5GHZ, AR5K_AR5212_PHY_SLMT, AR5K_AR5212_PHY_SLMT_32MHZ, AR5K_AR5212_PHY_SPENDING, AR5K_AR5212_PHY_SPENDING_AR5111, AR5K_AR5212_PHY_SPENDING_AR5112, AR5K_AR5212_PHY_TIMING_3, AR5K_AR5212_PHY_TIMING_3_DSC_EXP, AR5K_AR5212_PHY_TIMING_3_DSC_MAN, AR5K_AR5212_PISR, AR5K_AR5212_RATE_DUR, ar5k_ar5212_reset_tx_queue(), AR5K_AR5212_RSSI_THR, AR5K_AR5212_RXCFG, AR5K_AR5212_RXCFG_SDMAMW, ar5k_ar5212_set_associd(), ar5k_ar5212_set_gpio_input(), ar5k_ar5212_set_gpio_intr(), ar5k_ar5212_set_intr(), ar5k_ar5212_set_opmode(), AR5K_AR5212_TXCFG, AR5K_AR5212_TXCFG_B_MODE, AR5K_AR5212_TXCFG_DMASIZE, AR5K_AR5212_TXCFG_SDMAMR, ar5k_ar5212_txpower(), ar5k_channel(), AR5K_DELAY, AR5K_EEPROM_HDR_RFKILL, AR5K_EEPROM_MODE_11A, AR5K_EEPROM_MODE_11B, AR5K_EEPROM_MODE_11G, AR5K_EEPROM_VERSION_4_1, AR5K_ELEMENTS, AR5K_INI_FLAG_5111, AR5K_INI_FLAG_5112, AR5K_INI_FLAG_511X, AR5K_INI_PHY_5111, AR5K_INI_PHY_5112, AR5K_INI_PHY_511X, AR5K_INI_RFGAIN_2GHZ, AR5K_INI_RFGAIN_5GHZ, AR5K_INI_VAL_11A, AR5K_INI_VAL_11A_TURBO, AR5K_INI_VAL_11B, AR5K_INI_VAL_11G, AR5K_INI_VAL_11G_TURBO, AR5K_INI_VAL_XR, AR5K_PRINTF, AR5K_REG_DISABLE_BITS, AR5K_REG_ENABLE_BITS, AR5K_REG_MASKED_BITS, AR5K_REG_READ, AR5K_REG_WAIT, AR5K_REG_WRITE, AR5K_REG_WRITE_BITS, AR5K_REG_WRITE_Q, ar5k_rfgain(), ar5k_rfregs(), AR5K_TRACE, AR5K_TUNE_DEFAULT_TXPOWER, AR5K_TUNE_RSSI_THRES, ath_hal_computetxtime(), ar5k_eeprom_info::ee_adc_desired_size, ar5k_eeprom_info::ee_ant_tx_rx, ar5k_eeprom_info::ee_i_cal, ar5k_eeprom_info::ee_margin_tx_rx, ar5k_eeprom_info::ee_noise_floor_thr, ar5k_eeprom_info::ee_pga_desired_size, ar5k_eeprom_info::ee_q_cal, ar5k_eeprom_info::ee_switch_settling, ar5k_eeprom_info::ee_thr_62, ar5k_eeprom_info::ee_tx_clip, ar5k_eeprom_info::ee_tx_end2xlna_enable, ar5k_eeprom_info::ee_tx_end2xpa_disable, ar5k_eeprom_info::ee_tx_frm2xpa_enable, HAL_ANT_FIXED_A, HAL_ANT_FIXED_B, HAL_EINVAL, HAL_INT_FATAL, HAL_INT_RX, HAL_INT_TX, HAL_MODE_11B, HAL_MODE_TURBO, HAL_MODE_XR, IEEE80211_ADDR_LEN, IEEE80211_CHAN_108G, IEEE80211_CHAN_A, IEEE80211_CHAN_B, IEEE80211_CHAN_CCK, IEEE80211_CHAN_G, IEEE80211_CHAN_OFDM, IEEE80211_CHAN_T, IEEE80211_CHAN_TURBO, IEEE80211_CHAN_XR, HAL_RATE_TABLE::info, and ar5k_ar5212_ini::ini_flags.

Referenced by ar5k_ar5212_fill().

Here is the call graph for this function:

void ar5k_ar5212_reset_beacon struct ath_halhal  ) 
 

Definition at line 3069 of file ar5212.c.

References AR5K_AR5212_BEACON, AR5K_AR5212_BEACON_PERIOD, AR5K_AR5212_STA_ID1, AR5K_AR5212_STA_ID1_DEFAULT_ANTENNA, AR5K_AR5212_STA_ID1_PCF, AR5K_AR5212_TIMER0, AR5K_REG_DISABLE_BITS, AR5K_REG_WRITE, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_reset_key struct ath_halhal,
u_int16_t entry
 

Definition at line 2695 of file ar5212.c.

References AH_FALSE, AR5K_AR5212_KEYCACHE_SIZE, AR5K_AR5212_KEYTABLE_OFF, AR5K_AR5212_KEYTABLE_SIZE, AR5K_AR5212_KEYTABLE_TYPE, AR5K_AR5212_KEYTABLE_TYPE_NULL, AR5K_ASSERT_ENTRY, AR5K_REG_WRITE, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

void ar5k_ar5212_reset_tsf struct ath_halhal  ) 
 

Definition at line 2522 of file ar5212.c.

References AR5K_AR5212_BEACON, AR5K_AR5212_BEACON_RESET_TSF, AR5K_REG_ENABLE_BITS, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_reset_tx_queue struct ath_hal,
u_int queue
 

Definition at line 1125 of file ar5212.c.

References AH_TRUE, AR5K_AR5212_DCU_CHAN_TIME, AR5K_AR5212_DCU_CHAN_TIME_DUR, AR5K_AR5212_DCU_CHAN_TIME_ENABLE, AR5K_AR5212_DCU_LCL_IFS, AR5K_AR5212_DCU_LCL_IFS_AIFS, AR5K_AR5212_DCU_LCL_IFS_CW_MAX, AR5K_AR5212_DCU_LCL_IFS_CW_MIN, AR5K_AR5212_DCU_MISC, AR5K_AR5212_DCU_MISC_ARBLOCK_CTL_GLOBAL, AR5K_AR5212_DCU_MISC_BACKOFF_FRAG, AR5K_AR5212_DCU_MISC_BCN_ENABLE, AR5K_AR5212_DCU_MISC_POST_FR_BKOFF_DIS, AR5K_AR5212_DCU_RETRY_LMT, AR5K_AR5212_DCU_RETRY_LMT_LG_RETRY, AR5K_AR5212_DCU_RETRY_LMT_SH_RETRY, AR5K_AR5212_DCU_RETRY_LMT_SLG_RETRY, AR5K_AR5212_DCU_RETRY_LMT_SSH_RETRY, AR5K_AR5212_QCU_CBRCFG, AR5K_AR5212_QCU_CBRCFG_INTVAL, AR5K_AR5212_QCU_CBRCFG_ORN_THRES, AR5K_AR5212_QCU_MISC, AR5K_AR5212_QCU_MISC_BCN_ENABLE, AR5K_AR5212_QCU_MISC_CBR_THRES_ENABLE, AR5K_AR5212_QCU_MISC_CBREXP, AR5K_AR5212_QCU_MISC_CBREXP_BCN, AR5K_AR5212_QCU_MISC_DCU_EARLY, AR5K_AR5212_QCU_MISC_FRSHED_CBR, AR5K_AR5212_QCU_MISC_FRSHED_DBA_GT, AR5K_AR5212_QCU_MISC_TXE, AR5K_AR5212_QCU_RDYTIMECFG, AR5K_AR5212_QCU_RDYTIMECFG_ENABLE, AR5K_AR5212_QCU_RDYTIMECFG_INTVAL, AR5K_AR5212_SIMR0, AR5K_AR5212_SIMR0_QCU_TXDESC, AR5K_AR5212_SIMR0_QCU_TXOK, AR5K_AR5212_SIMR1, AR5K_AR5212_SIMR1_QCU_TXERR, AR5K_AR5212_SIMR2, AR5K_AR5212_SIMR2_QCU_TXURN, AR5K_ASSERT_ENTRY, AR5K_INIT_LG_RETRY, AR5K_INIT_SH_RETRY, AR5K_INIT_SLG_RETRY, AR5K_INIT_SSH_RETRY, AR5K_REG_ENABLE_BITS, AR5K_REG_SM, AR5K_REG_WRITE, AR5K_TRACE, AR5K_TUNE_ADDITIONAL_SWBA_BACKOFF, AR5K_TUNE_AIFS, AR5K_TUNE_AIFS_11B, AR5K_TUNE_AIFS_XR, AR5K_TUNE_BEACON_INTERVAL, AR5K_TUNE_CWMAX, AR5K_TUNE_CWMAX_11B, AR5K_TUNE_CWMAX_XR, AR5K_TUNE_CWMIN, AR5K_TUNE_CWMIN_11B, AR5K_TUNE_CWMIN_XR, AR5K_TUNE_DMA_BEACON_RESP, AR5K_TUNE_SW_BEACON_RESP, HAL_TX_QUEUE_BEACON, HAL_TX_QUEUE_CAB, HAL_TX_QUEUE_DATA, HAL_TX_QUEUE_INACTIVE, HAL_TX_QUEUE_PSPOLL, IEEE80211_IS_CHAN_B, HAL_TXQ_INFO::tqi_aifs, HAL_TXQ_INFO::tqi_burstTime, HAL_TXQ_INFO::tqi_cbrOverflowLimit, HAL_TXQ_INFO::tqi_cbrPeriod, HAL_TXQ_INFO::tqi_cwmax, HAL_TXQ_INFO::tqi_cwmin, HAL_TXQ_INFO::tqi_qflags, HAL_TXQ_INFO::tqi_readyTime, HAL_TXQ_INFO::tqi_type, TXQ_FLAG_BACKOFF_DISABLE, TXQ_FLAG_FRAG_BURST_BACKOFF_ENABLE, and TXQ_FLAG_RDYTIME_EXP_POLICY_ENABLE.

Referenced by ar5k_ar5212_fill(), and ar5k_ar5212_reset().

HAL_BOOL ar5k_ar5212_set_ack_timeout struct ath_halhal,
u_int timeout
 

Definition at line 2641 of file ar5212.c.

References AH_FALSE, AH_TRUE, AR5K_AR5212_TIME_OUT, AR5K_AR5212_TIME_OUT_ACK, ar5k_clocktoh(), ar5k_htoclock(), AR5K_REG_MS, AR5K_REG_WRITE_BITS, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

Here is the call graph for this function:

void ar5k_ar5212_set_associd struct ath_hal,
const u_int8_tbssid,
u_int16_t assoc_id
 

Definition at line 2368 of file ar5212.c.

References AR5K_AR5212_BEACON, AR5K_AR5212_BEACON_TIM, AR5K_AR5212_BEACON_TIM_S, AR5K_AR5212_BSS_ID0, AR5K_AR5212_BSS_ID1, AR5K_AR5212_BSS_ID1_AID_S, AR5K_AR5212_BSS_IDM0, AR5K_AR5212_BSS_IDM1, ar5k_ar5212_disable_pspoll(), ar5k_ar5212_enable_pspoll(), AR5K_REG_READ, AR5K_REG_WRITE, AR5K_TRACE, bcopy, and IEEE80211_ADDR_LEN.

Referenced by ar5k_ar5212_fill(), and ar5k_ar5212_reset().

Here is the call graph for this function:

void ar5k_ar5212_set_beacon_timers struct ath_halhal,
const HAL_BEACON_STATEstate
 

Definition at line 2968 of file ar5212.c.

References AR5K_AR5212_BEACON, AR5K_AR5212_BEACON_PERIOD, AR5K_AR5212_BEACON_TIM, AR5K_AR5212_CFP_DUR, AR5K_AR5212_CFP_PERIOD, AR5K_AR5212_RSSI_THR_BMISS, AR5K_AR5212_RSSI_THR_BMISS_S, AR5K_AR5212_RSSI_THR_M, AR5K_AR5212_SLEEP0, AR5K_AR5212_SLEEP0_ASSUME_DTIM, AR5K_AR5212_SLEEP0_CABTO, AR5K_AR5212_SLEEP0_ENH_SLEEP_EN, AR5K_AR5212_SLEEP0_NEXT_DTIM, AR5K_AR5212_SLEEP1, AR5K_AR5212_SLEEP1_BEACON_TO, AR5K_AR5212_SLEEP1_NEXT_TIM, AR5K_AR5212_SLEEP2, AR5K_AR5212_SLEEP2_DTIM_PER, AR5K_AR5212_SLEEP2_TIM_PER, AR5K_AR5212_STA_ID1, AR5K_AR5212_STA_ID1_PCF, AR5K_AR5212_TIMER0, AR5K_AR5212_TIMER2, AR5K_REG_DISABLE_BITS, AR5K_REG_ENABLE_BITS, AR5K_REG_READ, AR5K_REG_SM, AR5K_REG_WRITE, AR5K_REG_WRITE_BITS, AR5K_TRACE, and roundup.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_set_capability struct ath_halhal,
HAL_CAPABILITY_TYPE cap_type,
u_int32_t capability,
u_int32_t setting,
HAL_STATUSstatus
 

Definition at line 1986 of file ar5212.c.

References AH_FALSE, AR5K_TRACE, and HAL_OK.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_set_cts_timeout struct ath_halhal,
u_int timeout
 

Definition at line 2662 of file ar5212.c.

References AH_FALSE, AH_TRUE, AR5K_AR5212_TIME_OUT, AR5K_AR5212_TIME_OUT_CTS, ar5k_clocktoh(), ar5k_htoclock(), AR5K_REG_MS, AR5K_REG_WRITE_BITS, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

Here is the call graph for this function:

void ar5k_ar5212_set_def_antenna struct ath_halhal,
u_int ant
 

Definition at line 2610 of file ar5212.c.

References AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_set_gpio struct ath_halhal,
u_int32_t gpio,
u_int32_t val
 

Definition at line 2457 of file ar5212.c.

References AH_FALSE, AH_TRUE, AR5K_AR5212_GPIODO, AR5K_AR5212_NUM_GPIO, AR5K_REG_READ, AR5K_REG_WRITE, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_set_gpio_input struct ath_halhal,
u_int32_t gpio
 

Definition at line 2427 of file ar5212.c.

References AH_FALSE, AH_TRUE, AR5K_AR5212_GPIOCR, AR5K_AR5212_GPIOCR_ALL, AR5K_AR5212_GPIOCR_NONE, AR5K_AR5212_NUM_GPIO, AR5K_REG_READ, AR5K_REG_WRITE, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill(), and ar5k_ar5212_reset().

void ar5k_ar5212_set_gpio_intr struct ath_halhal,
u_int gpio,
u_int32_t interrupt_level
 

Definition at line 2479 of file ar5212.c.

References AR5K_AR5212_GPIOCR, AR5K_AR5212_GPIOCR_ALL, AR5K_AR5212_GPIOCR_INT_ENA, AR5K_AR5212_GPIOCR_INT_SEL, AR5K_AR5212_GPIOCR_INT_SELH, AR5K_AR5212_NUM_GPIO, AR5K_AR5212_PIMR, AR5K_AR5212_PIMR_GPIO, AR5K_REG_ENABLE_BITS, AR5K_REG_READ, AR5K_REG_WRITE, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill(), and ar5k_ar5212_reset().

HAL_BOOL ar5k_ar5212_set_gpio_output struct ath_halhal,
u_int32_t gpio
 

Definition at line 2412 of file ar5212.c.

References AH_FALSE, AH_TRUE, AR5K_AR5212_GPIOCR, AR5K_AR5212_GPIOCR_ALL, AR5K_AR5212_NUM_GPIO, AR5K_REG_READ, AR5K_REG_WRITE, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

HAL_INT ar5k_ar5212_set_intr struct ath_halhal,
HAL_INT new_mask
 

Definition at line 3167 of file ar5212.c.

References AR5K_AR5212_IER, AR5K_AR5212_IER_DISABLE, AR5K_AR5212_IER_ENABLE, AR5K_AR5212_PIMR, AR5K_AR5212_PIMR_HIUERR, AR5K_AR5212_PIMR_RXDESC, AR5K_AR5212_PIMR_RXERR, AR5K_AR5212_PIMR_RXOK, AR5K_AR5212_PIMR_RXORN, AR5K_AR5212_PIMR_TXDESC, AR5K_AR5212_PIMR_TXERR, AR5K_AR5212_PIMR_TXOK, AR5K_AR5212_PIMR_TXURN, AR5K_AR5212_SIMR2, AR5K_AR5212_SIMR2_DPERR, AR5K_AR5212_SIMR2_MCABT, AR5K_AR5212_SIMR2_SSERR, AR5K_REG_ENABLE_BITS, AR5K_REG_WRITE, HAL_INT_COMMON, HAL_INT_FATAL, HAL_INT_RX, and HAL_INT_TX.

Referenced by ar5k_ar5212_fill(), ar5k_ar5212_reset(), and ar5k_ar5212_update_tx_triglevel().

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

Definition at line 2729 of file ar5212.c.

References AH_FALSE, AR5K_AR5212_KEYCACHE_SIZE, AR5K_AR5212_KEYTABLE_OFF, AR5K_AR5212_KEYTABLE_SIZE, AR5K_AR5212_KEYTABLE_TYPE_104, AR5K_AR5212_KEYTABLE_TYPE_128, AR5K_AR5212_KEYTABLE_TYPE_40, ar5k_ar5212_set_key_lladdr(), AR5K_ASSERT_ENTRY, AR5K_ELEMENTS, AR5K_KEYVAL_LENGTH_104, AR5K_KEYVAL_LENGTH_128, AR5K_KEYVAL_LENGTH_40, AR5K_REG_WRITE, AR5K_TRACE, and bcopy.

Referenced by ar5k_ar5212_fill().

Here is the call graph for this function:

HAL_BOOL ar5k_ar5212_set_key_lladdr struct ath_halhal,
u_int16_t entry,
const u_int8_tmac
 

Definition at line 2782 of file ar5212.c.

References AH_TRUE, AR5K_AR5212_KEYTABLE_MAC0, AR5K_AR5212_KEYTABLE_MAC1, AR5K_AR5212_KEYTABLE_SIZE, AR5K_AR5212_KEYTABLE_VALID, AR5K_ASSERT_ENTRY, AR5K_REG_WRITE, AR5K_TRACE, and bcopy.

Referenced by ar5k_ar5212_fill(), and ar5k_ar5212_set_key().

void ar5k_ar5212_set_ledstate struct ath_halhal,
int state
 

Definition at line 2328 of file ar5212.c.

References AR5K_AR5212_PCICFG, AR5K_AR5212_PCICFG_LED, AR5K_AR5212_PCICFG_LED_ASSOC, AR5K_AR5212_PCICFG_LED_NONE, AR5K_AR5212_PCICFG_LED_PEND, AR5K_AR5212_PCICFG_LEDMODE, AR5K_AR5212_PCICFG_LEDMODE_PROM, AR5K_AR5212_PCICFG_LEDMODE_PROP, AR5K_REG_DISABLE_BITS, AR5K_REG_ENABLE_BITS, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_set_lladdr struct ath_halhal,
const u_int8_tmac
 

Definition at line 2288 of file ar5212.c.

References AH_TRUE, AR5K_AR5212_STA_ID0, AR5K_AR5212_STA_ID1, AR5K_REG_WRITE, bcopy, and IEEE80211_ADDR_LEN.

Referenced by ar5k_ar5212_fill().

void ar5k_ar5212_set_mcast_filter struct ath_halhal,
u_int32_t filter0,
u_int32_t filter1
 

Definition at line 1732 of file ar5212.c.

References AR5K_AR5212_MCAST_FIL0, AR5K_AR5212_MCAST_FIL1, AR5K_REG_WRITE, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_set_mcast_filterindex struct ath_halhal,
u_int32_t index
 

Definition at line 1744 of file ar5212.c.

References AH_FALSE, AH_TRUE, AR5K_AR5212_MCAST_FIL0, AR5K_AR5212_MCAST_FIL1, AR5K_REG_ENABLE_BITS, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

void ar5k_ar5212_set_opmode struct ath_halhal  ) 
 

Definition at line 895 of file ar5212.c.

References AR5K_AR5212_STA_ID0, AR5K_AR5212_STA_ID1, AR5K_AR5212_STA_ID1_ADHOC, AR5K_AR5212_STA_ID1_AP, AR5K_AR5212_STA_ID1_DEFAULT_ANTENNA, AR5K_AR5212_STA_ID1_DESC_ANTENNA, AR5K_AR5212_STA_ID1_RTS_DEFAULT_ANTENNA, AR5K_REG_WRITE, AR5K_TRACE, bcopy, IEEE80211_M_HOSTAP, IEEE80211_M_IBSS, IEEE80211_M_MONITOR, and IEEE80211_M_STA.

Referenced by ar5k_ar5212_fill(), and ar5k_ar5212_reset().

HAL_BOOL ar5k_ar5212_set_power struct ath_halhal,
HAL_POWER_MODE mode,
int set_chip,
u_int16_t sleep_duration
 

Definition at line 2814 of file ar5212.c.

References AH_FALSE, AH_TRUE, AR5K_AR5212_PCICFG, AR5K_AR5212_PCICFG_SPWR_DN, AR5K_AR5212_SCR, AR5K_AR5212_SCR_SLE, AR5K_AR5212_SCR_SLE_SLP, AR5K_AR5212_SCR_SLE_WAKE, AR5K_AR5212_STA_ID1, AR5K_AR5212_STA_ID1_DEFAULT_ANTENNA, AR5K_AR5212_STA_ID1_PWR_SV, AR5K_DELAY, AR5K_REG_READ, AR5K_REG_WRITE, AR5K_TRACE, HAL_PM_AUTO, HAL_PM_AWAKE, HAL_PM_FULL_SLEEP, and HAL_PM_NETWORK_SLEEP.

Referenced by ar5k_ar5212_fill(), and ar5k_ar5212_nic_wakeup().

HAL_BOOL ar5k_ar5212_set_regdomain struct ath_halhal,
u_int16_t regdomain,
HAL_STATUSstatus
 

Definition at line 2307 of file ar5212.c.

References AH_FALSE, AH_TRUE, ar5k_eeprom_regulation_domain(), ar5k_regdomain_to_ieee(), AR5K_TRACE, and HAL_OK.

Referenced by ar5k_ar5212_fill().

Here is the call graph for this function:

void ar5k_ar5212_set_rx_filter struct ath_halhal,
u_int32_t filter
 

Definition at line 1797 of file ar5212.c.

References AR5K_AR5212_PHY_ERR_FIL, AR5K_AR5212_PHY_ERR_FIL_CCK, AR5K_AR5212_PHY_ERR_FIL_OFDM, AR5K_AR5212_PHY_ERR_FIL_RADAR, AR5K_AR5212_RX_FILTER, AR5K_AR5212_RXCFG, AR5K_AR5212_RXCFG_ZLFDMA, AR5K_REG_DISABLE_BITS, AR5K_REG_ENABLE_BITS, AR5K_REG_WRITE, HAL_RX_FILTER_PHYERR, and HAL_RX_FILTER_PHYRADAR.

Referenced by ar5k_ar5212_fill().

void ar5k_ar5212_set_rx_signal struct ath_halhal,
HAL_NODE_STATSstats
 

Definition at line 1933 of file ar5212.c.

References AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_set_slot_time struct ath_halhal,
u_int slot_time
 

Definition at line 2622 of file ar5212.c.

References AH_FALSE, AH_TRUE, AR5K_AR5212_DCU_GBL_IFS_SLOT, AR5K_REG_WRITE, AR5K_TRACE, and HAL_SLOT_TIME_MAX.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_set_txpower_limit struct ath_halhal,
u_int32_t power
 

Definition at line 983 of file ar5212.c.

References AH_FALSE, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

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

Definition at line 1820 of file ar5212.c.

References AH_FALSE, AH_TRUE, AR5K_AR5212_DESC_RX_CTL1_BUF_LEN, AR5K_AR5212_DESC_RX_CTL1_INTREQ, AR5K_TRACE, HAL_RXDESC_INTREQ, ar5k_ar5212_rx_desc::rx_control_0, and ar5k_ar5212_rx_desc::rx_control_1.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_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 1396 of file ar5212.c.

References _TX_FLAGS, AH_FALSE, AH_TRUE, AR5K_AR5212_DESC_TX_CTL0_ANT_MODE_XMIT, AR5K_AR5212_DESC_TX_CTL0_ENCRYPT_KEY_VALID, AR5K_AR5212_DESC_TX_CTL0_FRAME_LEN, AR5K_AR5212_DESC_TX_CTL0_XMIT_POWER, AR5K_AR5212_DESC_TX_CTL1_ENCRYPT_KEY_INDEX, AR5K_AR5212_DESC_TX_CTL1_FRAME_TYPE, AR5K_AR5212_DESC_TX_CTL2_RTS_DURATION, AR5K_AR5212_DESC_TX_CTL2_XMIT_TRIES0, AR5K_AR5212_DESC_TX_CTL3_RTS_CTS_RATE, AR5K_AR5212_DESC_TX_CTL3_XMIT_RATE0, AR5K_REG_SM, AR5K_TRACE, HAL_TXDESC_CTSENA, HAL_TXDESC_NOACK, HAL_TXDESC_RTSENA, HAL_TXKEYIX_INVALID, ar5k_ar5212_tx_desc::tx_control_0, ar5k_ar5212_tx_desc::tx_control_1, ar5k_ar5212_tx_desc::tx_control_2, and ar5k_ar5212_tx_desc::tx_control_3.

Referenced by ar5k_ar5212_fill().

int ar5k_ar5212_setup_tx_queue struct ath_halhal,
HAL_TX_QUEUE queue_type,
const HAL_TXQ_INFOqueue_info
 

Definition at line 1034 of file ar5212.c.

References AH_TRUE, ar5k_ar5212_setup_tx_queueprops(), AR5K_Q_ENABLE_BITS, AR5K_TRACE, 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.

Referenced by ar5k_ar5212_fill().

Here is the call graph for this function:

HAL_BOOL ar5k_ar5212_setup_tx_queueprops struct ath_hal,
int queue,
const HAL_TXQ_INFOqueue_info
 

Definition at line 1077 of file ar5212.c.

References AH_FALSE, AH_TRUE, AR5K_ASSERT_ENTRY, AR5K_TRACE, bcopy, HAL_TX_QUEUE_DATA, HAL_TX_QUEUE_INACTIVE, HAL_WME_AC_VI, HAL_WME_UPSD, and TXQ_FLAG_POST_FR_BKOFF_DIS.

Referenced by ar5k_ar5212_fill(), and ar5k_ar5212_setup_tx_queue().

HAL_BOOL ar5k_ar5212_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 1533 of file ar5212.c.

References _XTX_TRIES, AH_TRUE, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

void ar5k_ar5212_start_rx struct ath_halhal  ) 
 

Definition at line 1692 of file ar5212.c.

References AR5K_AR5212_CR, AR5K_AR5212_CR_RXE, AR5K_REG_WRITE, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

void ar5k_ar5212_start_rx_pcu struct ath_halhal  ) 
 

Definition at line 1718 of file ar5212.c.

References AR5K_AR5212_DIAG_SW, AR5K_AR5212_DIAG_SW_DIS_RX, AR5K_REG_DISABLE_BITS, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

void ar5k_ar5212_stop_pcu_recv struct ath_halhal  ) 
 

Definition at line 1725 of file ar5212.c.

References AR5K_AR5212_DIAG_SW, AR5K_AR5212_DIAG_SW_DIS_RX, AR5K_REG_ENABLE_BITS, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_stop_rx_dma struct ath_halhal  ) 
 

Definition at line 1699 of file ar5212.c.

References AH_FALSE, AH_TRUE, AR5K_AR5212_CR, AR5K_AR5212_CR_RXD, AR5K_AR5212_CR_RXE, AR5K_DELAY, AR5K_REG_READ, AR5K_REG_WRITE, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_stop_tx_dma struct ath_halhal,
u_int queue
 

Definition at line 1371 of file ar5212.c.

References AH_TRUE, AR5K_AR5212_QCU_STS, AR5K_AR5212_QCU_STS_FRMPENDCNT, AR5K_AR5212_QCU_TXD, AR5K_ASSERT_ENTRY, AR5K_DELAY, AR5K_REG_READ, AR5K_REG_WRITE, AR5K_REG_WRITE_Q, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_tx_start struct ath_halhal,
u_int queue
 

Definition at line 1355 of file ar5212.c.

References AH_FALSE, AH_TRUE, AR5K_AR5212_QCU_TXD, AR5K_AR5212_QCU_TXE, AR5K_ASSERT_ENTRY, AR5K_REG_READ_Q, AR5K_REG_WRITE_Q, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_txpower struct ath_hal,
HAL_CHANNEL,
u_int 
 

Definition at line 3378 of file ar5212.c.

References AH_FALSE, AH_TRUE, AR5K_AR5212_PHY_PCDAC_TXPOWER, AR5K_AR5212_PHY_TXPOWER_RATE1, AR5K_AR5212_PHY_TXPOWER_RATE2, AR5K_AR5212_PHY_TXPOWER_RATE3, AR5K_AR5212_PHY_TXPOWER_RATE4, AR5K_AR5212_PHY_TXPOWER_RATE_MAX, AR5K_AR5212_PHY_TXPOWER_RATE_MAX_TPC_ENABLE, AR5K_EEPROM_POWER_TABLE_SIZE, AR5K_PRINTF, AR5K_REG_WRITE, AR5K_TRACE, AR5K_TUNE_MAX_TXPOWER, AR5K_TXPOWER_CCK, AR5K_TXPOWER_OFDM, ar5k_txpower_table(), and bzero.

Referenced by ar5k_ar5212_reset().

Here is the call graph for this function:

void ar5k_ar5212_update_mib_counters struct ath_halhal,
HAL_MIB_STATSstatistics
 

Definition at line 2553 of file ar5212.c.

References AR5K_AR5212_ACK_FAIL, AR5K_AR5212_BEACON_CNT, AR5K_AR5212_FCS_FAIL, AR5K_AR5212_PROFCNT_CYCLE, AR5K_AR5212_PROFCNT_RX, AR5K_AR5212_PROFCNT_RXCLR, AR5K_AR5212_PROFCNT_TX, AR5K_AR5212_RTS_FAIL, AR5K_AR5212_RTS_OK, AR5K_REG_READ, AR5K_REG_WRITE, and AR5K_TRACE.

Referenced by ar5k_ar5212_fill().

HAL_BOOL ar5k_ar5212_update_tx_triglevel struct ath_halhal,
HAL_BOOL increase
 

Definition at line 996 of file ar5212.c.

References AH_FALSE, AH_TRUE, ar5k_ar5212_set_intr(), AR5K_AR5212_TXCFG, AR5K_AR5212_TXCFG_TXFULL, AR5K_REG_MS, AR5K_REG_READ, AR5K_REG_WRITE_BITS, AR5K_TRACE, AR5K_TUNE_MAX_TX_FIFO_THRES, AR5K_TUNE_MIN_TX_FIFO_THRES, and HAL_INT_GLOBAL.

Referenced by ar5k_ar5212_fill().

Here is the call graph for this function:

HAL_BOOL ar5k_ar5212_wait_for_beacon struct ath_halhal,
u_int32_t phys_addr
 

Definition at line 3086 of file ar5212.c.

References AH_FALSE, AR5K_AR5212_QCU_STS, AR5K_AR5212_QCU_STS_FRMPENDCNT, AR5K_AR5212_QCU_TXE, AR5K_REG_READ_Q, ar5k_register_timeout(), AR5K_TRACE, and HAL_TX_QUEUE_ID_BEACON.

Referenced by ar5k_ar5212_fill().

Here is the call graph for this function:

static int proc_ar5k_ar5212_close struct inode * inode,
struct file * file
[static]
 

Definition at line 185 of file ar5212.c.

References AR5K_REG_WRITE, proc_ar5k_ar5212_priv::max_wlen, proc_ar5k_ar5212_priv::rbuf, proc_ar5k_ar5212_priv::wbuf, and proc_ar5k_ar5212_priv::wlen.

static int proc_ar5k_ar5212_open struct inode * inode,
struct file * file
[static]
 

Definition at line 132 of file ar5212.c.

References ar5k_ar5212_proc_read_reg(), MAX_PROC_AR5K_AR5212_SIZE, proc_ar5k_ar5212_priv::max_rlen, proc_ar5k_ar5212_priv::max_wlen, proc_ar5k_ar5212_priv::rbuf, proc_ar5k_ar5212_priv::rlen, and proc_ar5k_ar5212_priv::wbuf.

Here is the call graph for this function:

static int proc_ar5k_ar5212_read struct file * file,
char * buf,
size_t len,
loff_t * offset
[static]
 

Definition at line 111 of file ar5212.c.

References proc_ar5k_ar5212_priv::rbuf, and proc_ar5k_ar5212_priv::rlen.

static int proc_ar5k_ar5212_write struct file * file,
const char * buf,
size_t len,
loff_t * offset
[static]
 

Definition at line 163 of file ar5212.c.

References proc_ar5k_ar5212_priv::max_wlen, proc_ar5k_ar5212_priv::wbuf, and proc_ar5k_ar5212_priv::wlen.


Variable Documentation

const struct ar5k_ar5212_ini ar5212_ini[] [static]
 

Initial value:

Definition at line 88 of file ar5212.c.

Referenced by ar5k_ar5212_reset().

const struct ar5k_ar5212_ini_mode ar5212_mode[] [static]
 

Initial value:

Definition at line 90 of file ar5212.c.

Referenced by ar5k_ar5212_reset().

struct proc_dir_entry* proc_hal = NULL
 

Definition at line 97 of file ar5212.c.

Referenced by ar5k_ar5212_detach().

struct proc_dir_entry* proc_hal_reg = NULL
 

Definition at line 98 of file ar5212.c.

struct file_operations proc_sib_ops [static]
 

Initial value:

 {
        .read = proc_ar5k_ar5212_read,
        .write = proc_ar5k_ar5212_write,
        .open = proc_ar5k_ar5212_open,
        .release = proc_ar5k_ar5212_close,
}

Definition at line 227 of file ar5212.c.


Generated on Mon Nov 21 16:04:02 2005 for openwifi by  doxygen 1.4.1