Go to the source code of this file.
Defines | |
#define | _TX_FLAGS(_c, _flag) |
#define | _TX_FLAGS(_c, _flag) |
#define | _XTX_TRIES(_n) |
Functions | |
int | ath5k_hw_init_desc_functions (struct ath5k_hw *ah) |
static int | ath5k_hw_proc_2word_tx_status (struct ath5k_hw *ah, struct ath5k_desc *desc, struct ath5k_tx_status *ts) |
static int | ath5k_hw_proc_4word_tx_status (struct ath5k_hw *ah, struct ath5k_desc *desc, struct ath5k_tx_status *ts) |
static int | ath5k_hw_proc_5210_rx_status (struct ath5k_hw *ah, struct ath5k_desc *desc, struct ath5k_rx_status *rs) |
static int | ath5k_hw_proc_5212_rx_status (struct ath5k_hw *ah, struct ath5k_desc *desc, struct ath5k_rx_status *rs) |
static int | ath5k_hw_setup_2word_tx_desc (struct ath5k_hw *ah, struct ath5k_desc *desc, unsigned int pkt_len, unsigned int hdr_len, enum ath5k_pkt_type type, unsigned int tx_power, unsigned int tx_rate0, unsigned int tx_tries0, unsigned int key_index, unsigned int antenna_mode, unsigned int flags, unsigned int rtscts_rate, unsigned int rtscts_duration) |
static int | ath5k_hw_setup_4word_tx_desc (struct ath5k_hw *ah, struct ath5k_desc *desc, unsigned int pkt_len, unsigned int hdr_len, enum ath5k_pkt_type type, unsigned int tx_power, unsigned int tx_rate0, unsigned int tx_tries0, unsigned int key_index, unsigned int antenna_mode, unsigned int flags, unsigned int rtscts_rate, unsigned int rtscts_duration) |
static int | ath5k_hw_setup_mrr_tx_desc (struct ath5k_hw *ah, struct ath5k_desc *desc, unsigned int tx_rate1, u_int tx_tries1, u_int tx_rate2, u_int tx_tries2, unsigned int tx_rate3, u_int tx_tries3) |
static int | ath5k_hw_setup_no_mrr (struct ath5k_hw *ah, struct ath5k_desc *desc, unsigned int tx_rate1, u_int tx_tries1, u_int tx_rate2, u_int tx_tries2, unsigned int tx_rate3, u_int tx_tries3) |
static int | ath5k_hw_setup_rx_desc (struct ath5k_hw *ah, struct ath5k_desc *desc, u32 size, unsigned int flags) |
#define _TX_FLAGS | ( | _c, | |
_flag | |||
) |
if (flags & AR5K_TXDESC_##_flag) { \
tx_ctl->tx_control_##_c |= \
AR5K_2W_TX_DESC_CTL##_c##_##_flag; \
}
#define _TX_FLAGS | ( | _c, | |
_flag | |||
) |
if (flags & AR5K_TXDESC_##_flag) { \
tx_ctl->tx_control_##_c |= \
AR5K_4W_TX_DESC_CTL##_c##_##_flag; \
}
#define _XTX_TRIES | ( | _n | ) |
if (tx_tries##_n) { \
tx_ctl->tx_control_2 |= \
AR5K_REG_SM(tx_tries##_n, \
AR5K_4W_TX_DESC_CTL2_XMIT_TRIES##_n); \
tx_ctl->tx_control_3 |= \
AR5K_REG_SM(tx_rate##_n, \
AR5K_4W_TX_DESC_CTL3_XMIT_RATE##_n); \
}
int ath5k_hw_init_desc_functions | ( | struct ath5k_hw * | ah | ) |
Definition at line 694 of file MaRTE_OS/hwi/ath5k_raw/module/desc.c.
static int ath5k_hw_proc_2word_tx_status | ( | struct ath5k_hw * | ah, |
struct ath5k_desc * | desc, | ||
struct ath5k_tx_status * | ts | ||
) | [static] |
Definition at line 368 of file MaRTE_OS/hwi/ath5k_raw/module/desc.c.
static int ath5k_hw_proc_4word_tx_status | ( | struct ath5k_hw * | ah, |
struct ath5k_desc * | desc, | ||
struct ath5k_tx_status * | ts | ||
) | [static] |
Definition at line 422 of file MaRTE_OS/hwi/ath5k_raw/module/desc.c.
static int ath5k_hw_proc_5210_rx_status | ( | struct ath5k_hw * | ah, |
struct ath5k_desc * | desc, | ||
struct ath5k_rx_status * | rs | ||
) | [static] |
Definition at line 548 of file MaRTE_OS/hwi/ath5k_raw/module/desc.c.
static int ath5k_hw_proc_5212_rx_status | ( | struct ath5k_hw * | ah, |
struct ath5k_desc * | desc, | ||
struct ath5k_rx_status * | rs | ||
) | [static] |
Definition at line 619 of file MaRTE_OS/hwi/ath5k_raw/module/desc.c.
static int ath5k_hw_setup_2word_tx_desc | ( | struct ath5k_hw * | ah, |
struct ath5k_desc * | desc, | ||
unsigned int | pkt_len, | ||
unsigned int | hdr_len, | ||
enum ath5k_pkt_type | type, | ||
unsigned int | tx_power, | ||
unsigned int | tx_rate0, | ||
unsigned int | tx_tries0, | ||
unsigned int | key_index, | ||
unsigned int | antenna_mode, | ||
unsigned int | flags, | ||
unsigned int | rtscts_rate, | ||
unsigned int | rtscts_duration | ||
) | [static] |
Definition at line 68 of file MaRTE_OS/hwi/ath5k_raw/module/desc.c.
static int ath5k_hw_setup_4word_tx_desc | ( | struct ath5k_hw * | ah, |
struct ath5k_desc * | desc, | ||
unsigned int | pkt_len, | ||
unsigned int | hdr_len, | ||
enum ath5k_pkt_type | type, | ||
unsigned int | tx_power, | ||
unsigned int | tx_rate0, | ||
unsigned int | tx_tries0, | ||
unsigned int | key_index, | ||
unsigned int | antenna_mode, | ||
unsigned int | flags, | ||
unsigned int | rtscts_rate, | ||
unsigned int | rtscts_duration | ||
) | [static] |
Definition at line 197 of file MaRTE_OS/hwi/ath5k_raw/module/desc.c.
static int ath5k_hw_setup_mrr_tx_desc | ( | struct ath5k_hw * | ah, |
struct ath5k_desc * | desc, | ||
unsigned int | tx_rate1, | ||
u_int | tx_tries1, | ||
u_int | tx_rate2, | ||
u_int | tx_tries2, | ||
unsigned int | tx_rate3, | ||
u_int | tx_tries3 | ||
) | [static] |
Definition at line 311 of file MaRTE_OS/hwi/ath5k_raw/module/desc.c.
static int ath5k_hw_setup_no_mrr | ( | struct ath5k_hw * | ah, |
struct ath5k_desc * | desc, | ||
unsigned int | tx_rate1, | ||
u_int | tx_tries1, | ||
u_int | tx_rate2, | ||
u_int | tx_tries2, | ||
unsigned int | tx_rate3, | ||
u_int | tx_tries3 | ||
) | [static] |
Definition at line 358 of file MaRTE_OS/hwi/ath5k_raw/module/desc.c.
static int ath5k_hw_setup_rx_desc | ( | struct ath5k_hw * | ah, |
struct ath5k_desc * | desc, | ||
u32 | size, | ||
unsigned int | flags | ||
) | [static] |
Definition at line 517 of file MaRTE_OS/hwi/ath5k_raw/module/desc.c.