50 u32 pcu_reg, beacon_reg, low_id, high_id;
498 unsigned int i,
type;
void ath5k_hw_start_rx_pcu(struct ath5k_hw *ah)
ath5k_hw_start_rx_pcu - Start RX engine
#define EINVAL
Invalid argument.
#define AR5K_PHY_ERR_FIL_RADAR
#define AR5K_STA_ID1_KEYSRCH_MODE
#define AR5K_BSS_ID1_AID_S
#define AR5K_PHY_ERR_FIL_OFDM
#define AR5K_DIAG_SW_DIS_RX
#define AR5K_KEYTABLE_OFF(_n, x)
#define AR5K_RX_FILTER_RADARERR
#define AR5K_KEYTABLE_TYPE_NULL
UINT8_t filter
Receive packet filter.
#define AR5K_RXCFG_ZLFDMA
u32 ath5k_hw_get_rx_filter(struct ath5k_hw *ah)
ath5k_hw_get_rx_filter - Get current rx filter
uint32_t type
Operating system type.
#define AR5K_REG_MS(_val, _flags)
uint8_t mac[ETH_ALEN]
MAC address.
int ath5k_hw_set_cts_timeout(struct ath5k_hw *ah, unsigned int timeout)
ath5k_hw_set_cts_timeout - Set CTS timeout on PCU
int ath5k_hw_set_opmode(struct ath5k_hw *ah)
ath5k_hw_set_opmode - Set PCU operating mode
#define AR5K_STA_ID1_ADHOC
ath5k_hw_get_isr - Get interrupt status
#define AR5K_KEYTABLE_TYPE(_n)
#define AR5K_MCAST_FILTER0
void * memcpy(void *dest, const void *src, size_t len) __nonnull
#define AR5K_KEYTABLE_TYPE_TKIP
#define AR5K_STA_ID1_BASE_RATE_11B
int ath5k_hw_set_lladdr(struct ath5k_hw *ah, const u8 *mac)
ath5k_hw_set_lladdr - Set station id
unsigned int ath5k_hw_get_cts_timeout(struct ath5k_hw *ah)
ath5k_hw_get_cts_timeout - Get CTS timeout from PCU in usec
#define AR5K_RX_FILTER_PROM
#define AR5K_REG_WRITE_BITS(ah, _reg, _flags, _val)
static unsigned int ath5k_hw_htoclock(unsigned int usec, int turbo)
void ath5k_hw_set_associd(struct ath5k_hw *ah, const u8 *bssid, u16 assoc_id)
ath5k_hw_set_associd - Set BSSID for association
#define AR5K_TIME_OUT_CTS
int ath5k_hw_set_ack_timeout(struct ath5k_hw *ah, unsigned int timeout)
ath5k_hw_set_ack_timeout - Set ACK timeout on PCU
#define AR5K_STA_ID1_PWR_SV
#define AR5K_TIME_OUT_ACK
unsigned int ath5k_hw_get_ack_timeout(struct ath5k_hw *ah)
ath5k_hw_het_ack_timeout - Get ACK timeout from PCU in usec
uint32_t high
High 32 bits of address.
int ath5k_hw_reset_key(struct ath5k_hw *ah, u16 entry)
void ath5k_hw_get_lladdr(struct ath5k_hw *ah, u8 *mac)
ath5k_hw_get_lladdr - Get station id
int ath5k_hw_set_bssid_mask(struct ath5k_hw *ah, const u8 *mask)
ath5k_hw_set_bssid_mask - filter out bssids we listen
static void ath5k_hw_reg_write(struct ath5k_hw *ah, u32 val, u16 reg)
static unsigned int ath5k_hw_clocktoh(unsigned int clock, int turbo)
void ath5k_hw_set_ack_bitrate_high(struct ath5k_hw *ah, int high)
ath5k_hw_set_ack_bitrate - set bitrate for ACKs
#define AR5K_RX_FILTER_PHYERR
#define AR5K_REG_DISABLE_BITS(ah, _reg, _flags)
#define EIO
Input/output error.
uint8_t data[48]
Additional event data.
#define AR5K_MCAST_FILTER1
void ath5k_hw_set_rx_filter(struct ath5k_hw *ah, u32 filter)
ath5k_hw_set_rx_filter - Set rx filter
static u32 ath5k_hw_reg_read(struct ath5k_hw *ah, u16 reg)
void ath5k_hw_set_mcast_filter(struct ath5k_hw *ah, u32 filter0, u32 filter1)
#define AR5K_PHY_ERR_FIL_CCK
#define AR5K_STA_ID1_ACKCTS_6MB
#define AR5K_KEYTABLE_MIC_OFFSET
#define AR5K_STA_ID1_NO_PSPOLL
void ath5k_hw_stop_rx_pcu(struct ath5k_hw *ah)
at5k_hw_stop_rx_pcu - Stop RX engine
#define AR5K_KEYCACHE_SIZE
#define AR5K_REG_ENABLE_BITS(ah, _reg, _flags)