iPXE
Data Fields
ath5k_hw Struct Reference

ath5k_hw_get_isr - Get interrupt status More...

#include <ath5k.h>

Data Fields

struct ath5k_softcah_sc
 
void * ah_iobase
 
enum ath5k_int ah_imr
 
int ah_ier
 
struct net80211_channelah_current_channel
 
int ah_turbo
 
int ah_calibration
 
int ah_running
 
int ah_single_chip
 
int ah_combined_mic
 
u32 ah_mac_srev
 
u16 ah_mac_version
 
u16 ah_mac_revision
 
u16 ah_phy_revision
 
u16 ah_radio_5ghz_revision
 
u16 ah_radio_2ghz_revision
 
enum ath5k_version ah_version
 
enum ath5k_radio ah_radio
 
u32 ah_phy
 
int ah_5ghz
 
int ah_2ghz
 
u32 ah_atim_window
 
u32 ah_aifs
 
u32 ah_cw_min
 
u32 ah_cw_max
 
int ah_software_retry
 
u32 ah_limit_tx_retries
 
u32 ah_antenna [AR5K_EEPROM_N_MODES][AR5K_ANT_MAX]
 
int ah_ant_diversity
 
u8 ah_sta_id [ETH_ALEN]
 
u8 ah_bssid [ETH_ALEN]
 
u8 ah_bssid_mask [ETH_ALEN]
 
u32 ah_gpio [AR5K_MAX_GPIO]
 
int ah_gpio_npins
 
struct ath5k_capabilities ah_capabilities
 
struct ath5k_txq_info ah_txq
 
u32 ah_txq_status
 
u32 ah_txq_imr_txok
 
u32 ah_txq_imr_txerr
 
u32 ah_txq_imr_txurn
 
u32 ah_txq_imr_txdesc
 
u32 ah_txq_imr_txeol
 
u32 ah_txq_imr_cbrorn
 
u32 ah_txq_imr_cbrurn
 
u32 ah_txq_imr_qtrig
 
u32 ah_txq_imr_nofrm
 
u32 ah_txq_isr
 
u32ah_rf_banks
 
size_t ah_rf_banks_size
 
size_t ah_rf_regs_count
 
struct ath5k_gain ah_gain
 
u8 ah_offset [AR5K_MAX_RF_BANKS]
 
struct {
   u8   tmpL [AR5K_EEPROM_N_PD_GAINS][AR5K_EEPROM_POWER_TABLE_SIZE]
 
   u8   tmpR [AR5K_EEPROM_N_PD_GAINS][AR5K_EEPROM_POWER_TABLE_SIZE]
 
   u8   txp_pd_table [AR5K_EEPROM_POWER_TABLE_SIZE *2]
 
   u16   txp_rates_power_table [AR5K_MAX_RATES]
 
   u8   txp_min_idx
 
   int   txp_tpc
 
   s16   txp_min_pwr
 
   s16   txp_max_pwr
 
   s16   txp_offset
 
   s16   txp_ofdm
 
   s16   txp_cck_ofdm_pwr_delta
 
   s16   txp_cck_ofdm_gainf_delta
 
ah_txpower
 
s32 ah_noise_floor
 
int(* ah_setup_rx_desc )(struct ath5k_hw *ah, struct ath5k_desc *desc, u32 size, unsigned int flags)
 
int(* ah_setup_tx_desc )(struct ath5k_hw *, struct ath5k_desc *, unsigned int, unsigned int, enum ath5k_pkt_type, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)
 
int(* ah_proc_tx_desc )(struct ath5k_hw *, struct ath5k_desc *, struct ath5k_tx_status *)
 
int(* ah_proc_rx_desc )(struct ath5k_hw *, struct ath5k_desc *, struct ath5k_rx_status *)
 

Detailed Description

ath5k_hw_get_isr - Get interrupt status

@ah: The @interrupt_mask: Driver's interrupt mask used to filter out interrupts in sw.

This function is used inside our interrupt handler to determine the reason for the interrupt by reading Primary Interrupt Status Register. Returns an abstract interrupt status mask which is mostly ISR with some uncommon bits being mapped on some standard non hw-specific positions (check out &ath5k_int).

NOTE: We use read-and-clear register, so after this function is called ISR is zeroed.

Definition at line 953 of file ath5k.h.

Field Documentation

◆ ah_sc

struct ath5k_softc* ath5k_hw::ah_sc

Definition at line 954 of file ath5k.h.

◆ ah_iobase

void* ath5k_hw::ah_iobase

Definition at line 955 of file ath5k.h.

◆ ah_imr

enum ath5k_int ath5k_hw::ah_imr

Definition at line 957 of file ath5k.h.

◆ ah_ier

int ath5k_hw::ah_ier

Definition at line 958 of file ath5k.h.

◆ ah_current_channel

struct net80211_channel* ath5k_hw::ah_current_channel

Definition at line 960 of file ath5k.h.

◆ ah_turbo

int ath5k_hw::ah_turbo

Definition at line 961 of file ath5k.h.

◆ ah_calibration

int ath5k_hw::ah_calibration

Definition at line 962 of file ath5k.h.

◆ ah_running

int ath5k_hw::ah_running

Definition at line 963 of file ath5k.h.

◆ ah_single_chip

int ath5k_hw::ah_single_chip

Definition at line 964 of file ath5k.h.

Referenced by ath5k_probe().

◆ ah_combined_mic

int ath5k_hw::ah_combined_mic

Definition at line 965 of file ath5k.h.

◆ ah_mac_srev

u32 ath5k_hw::ah_mac_srev

Definition at line 967 of file ath5k.h.

Referenced by ath5k_probe().

◆ ah_mac_version

u16 ath5k_hw::ah_mac_version

Definition at line 968 of file ath5k.h.

◆ ah_mac_revision

u16 ath5k_hw::ah_mac_revision

Definition at line 969 of file ath5k.h.

◆ ah_phy_revision

u16 ath5k_hw::ah_phy_revision

Definition at line 970 of file ath5k.h.

Referenced by ath5k_probe().

◆ ah_radio_5ghz_revision

u16 ath5k_hw::ah_radio_5ghz_revision

Definition at line 971 of file ath5k.h.

Referenced by ath5k_probe().

◆ ah_radio_2ghz_revision

u16 ath5k_hw::ah_radio_2ghz_revision

Definition at line 972 of file ath5k.h.

Referenced by ath5k_probe().

◆ ah_version

enum ath5k_version ath5k_hw::ah_version

Definition at line 974 of file ath5k.h.

◆ ah_radio

enum ath5k_radio ath5k_hw::ah_radio

Definition at line 975 of file ath5k.h.

◆ ah_phy

u32 ath5k_hw::ah_phy

Definition at line 976 of file ath5k.h.

◆ ah_5ghz

int ath5k_hw::ah_5ghz

Definition at line 978 of file ath5k.h.

◆ ah_2ghz

int ath5k_hw::ah_2ghz

Definition at line 979 of file ath5k.h.

◆ ah_atim_window

u32 ath5k_hw::ah_atim_window

Definition at line 986 of file ath5k.h.

◆ ah_aifs

u32 ath5k_hw::ah_aifs

Definition at line 987 of file ath5k.h.

◆ ah_cw_min

u32 ath5k_hw::ah_cw_min

Definition at line 988 of file ath5k.h.

◆ ah_cw_max

u32 ath5k_hw::ah_cw_max

Definition at line 989 of file ath5k.h.

◆ ah_software_retry

int ath5k_hw::ah_software_retry

Definition at line 990 of file ath5k.h.

◆ ah_limit_tx_retries

u32 ath5k_hw::ah_limit_tx_retries

Definition at line 991 of file ath5k.h.

◆ ah_antenna

u32 ath5k_hw::ah_antenna[AR5K_EEPROM_N_MODES][AR5K_ANT_MAX]

Definition at line 993 of file ath5k.h.

◆ ah_ant_diversity

int ath5k_hw::ah_ant_diversity

Definition at line 994 of file ath5k.h.

◆ ah_sta_id

u8 ath5k_hw::ah_sta_id[ETH_ALEN]

Definition at line 996 of file ath5k.h.

◆ ah_bssid

u8 ath5k_hw::ah_bssid[ETH_ALEN]

Definition at line 1001 of file ath5k.h.

◆ ah_bssid_mask

u8 ath5k_hw::ah_bssid_mask[ETH_ALEN]

Definition at line 1002 of file ath5k.h.

◆ ah_gpio

u32 ath5k_hw::ah_gpio[AR5K_MAX_GPIO]

Definition at line 1004 of file ath5k.h.

◆ ah_gpio_npins

int ath5k_hw::ah_gpio_npins

Definition at line 1005 of file ath5k.h.

◆ ah_capabilities

struct ath5k_capabilities ath5k_hw::ah_capabilities

Definition at line 1007 of file ath5k.h.

Referenced by ath5k_probe(), and ath5k_setup_bands().

◆ ah_txq

struct ath5k_txq_info ath5k_hw::ah_txq

Definition at line 1009 of file ath5k.h.

◆ ah_txq_status

u32 ath5k_hw::ah_txq_status

Definition at line 1010 of file ath5k.h.

◆ ah_txq_imr_txok

u32 ath5k_hw::ah_txq_imr_txok

Definition at line 1011 of file ath5k.h.

◆ ah_txq_imr_txerr

u32 ath5k_hw::ah_txq_imr_txerr

Definition at line 1012 of file ath5k.h.

◆ ah_txq_imr_txurn

u32 ath5k_hw::ah_txq_imr_txurn

Definition at line 1013 of file ath5k.h.

◆ ah_txq_imr_txdesc

u32 ath5k_hw::ah_txq_imr_txdesc

Definition at line 1014 of file ath5k.h.

◆ ah_txq_imr_txeol

u32 ath5k_hw::ah_txq_imr_txeol

Definition at line 1015 of file ath5k.h.

◆ ah_txq_imr_cbrorn

u32 ath5k_hw::ah_txq_imr_cbrorn

Definition at line 1016 of file ath5k.h.

◆ ah_txq_imr_cbrurn

u32 ath5k_hw::ah_txq_imr_cbrurn

Definition at line 1017 of file ath5k.h.

◆ ah_txq_imr_qtrig

u32 ath5k_hw::ah_txq_imr_qtrig

Definition at line 1018 of file ath5k.h.

◆ ah_txq_imr_nofrm

u32 ath5k_hw::ah_txq_imr_nofrm

Definition at line 1019 of file ath5k.h.

◆ ah_txq_isr

u32 ath5k_hw::ah_txq_isr

Definition at line 1020 of file ath5k.h.

◆ ah_rf_banks

u32* ath5k_hw::ah_rf_banks

Definition at line 1021 of file ath5k.h.

◆ ah_rf_banks_size

size_t ath5k_hw::ah_rf_banks_size

Definition at line 1022 of file ath5k.h.

◆ ah_rf_regs_count

size_t ath5k_hw::ah_rf_regs_count

Definition at line 1023 of file ath5k.h.

◆ ah_gain

struct ath5k_gain ath5k_hw::ah_gain

Definition at line 1024 of file ath5k.h.

◆ ah_offset

u8 ath5k_hw::ah_offset[AR5K_MAX_RF_BANKS]

Definition at line 1025 of file ath5k.h.

◆ tmpL

Definition at line 1031 of file ath5k.h.

◆ tmpR

Definition at line 1033 of file ath5k.h.

◆ txp_pd_table

u8 ath5k_hw::txp_pd_table[AR5K_EEPROM_POWER_TABLE_SIZE *2]

Definition at line 1034 of file ath5k.h.

◆ txp_rates_power_table

u16 ath5k_hw::txp_rates_power_table[AR5K_MAX_RATES]

Definition at line 1035 of file ath5k.h.

◆ txp_min_idx

u8 ath5k_hw::txp_min_idx

Definition at line 1036 of file ath5k.h.

◆ txp_tpc

int ath5k_hw::txp_tpc

Definition at line 1037 of file ath5k.h.

◆ txp_min_pwr

s16 ath5k_hw::txp_min_pwr

Definition at line 1039 of file ath5k.h.

◆ txp_max_pwr

s16 ath5k_hw::txp_max_pwr

Definition at line 1040 of file ath5k.h.

◆ txp_offset

s16 ath5k_hw::txp_offset

Definition at line 1041 of file ath5k.h.

◆ txp_ofdm

s16 ath5k_hw::txp_ofdm

Definition at line 1042 of file ath5k.h.

◆ txp_cck_ofdm_pwr_delta

s16 ath5k_hw::txp_cck_ofdm_pwr_delta

Definition at line 1044 of file ath5k.h.

◆ txp_cck_ofdm_gainf_delta

s16 ath5k_hw::txp_cck_ofdm_gainf_delta

Definition at line 1045 of file ath5k.h.

◆ ah_txpower

struct { ... } ath5k_hw::ah_txpower

◆ ah_noise_floor

s32 ath5k_hw::ah_noise_floor

Definition at line 1049 of file ath5k.h.

◆ ah_setup_rx_desc

int(* ath5k_hw::ah_setup_rx_desc) (struct ath5k_hw *ah, struct ath5k_desc *desc, u32 size, unsigned int flags)

Definition at line 1054 of file ath5k.h.

◆ ah_setup_tx_desc

int(* ath5k_hw::ah_setup_tx_desc) (struct ath5k_hw *, struct ath5k_desc *, unsigned int, unsigned int, enum ath5k_pkt_type, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)

Definition at line 1056 of file ath5k.h.

◆ ah_proc_tx_desc

int(* ath5k_hw::ah_proc_tx_desc) (struct ath5k_hw *, struct ath5k_desc *, struct ath5k_tx_status *)

Definition at line 1060 of file ath5k.h.

Referenced by ath5k_tx_processq().

◆ ah_proc_rx_desc

int(* ath5k_hw::ah_proc_rx_desc) (struct ath5k_hw *, struct ath5k_desc *, struct ath5k_rx_status *)

Definition at line 1062 of file ath5k.h.

Referenced by ath5k_handle_rx().


The documentation for this struct was generated from the following file: