iPXE
Public Types | Data Fields
ath_hw Struct Reference

#include <hw.h>

Public Types

enum  { AUTO_32KHZ, USE_32KHZ, DONT_USE_32KHZ }
 

Data Fields

struct ath_ops reg_ops
 
struct net80211_devicedev
 
struct ath_common common
 
struct ath9k_hw_version hw_version
 
struct ath9k_ops_config config
 
struct ath9k_hw_capabilities caps
 
struct ath9k_channel channels [ATH9K_NUM_CHANNELS]
 
struct ath9k_channelcurchan
 
union {
   struct ar5416_eeprom_def   def
 
   struct ar5416_eeprom_4k   map4k
 
   struct ar9287_eeprom   map9287
 
   struct ar9300_eeprom   ar9300_eep
 
eeprom
 
const struct eeprom_opseep_ops
 
int sw_mgmt_crypto
 
int is_pciexpress
 
int is_monitoring
 
int need_an_top2_fixup
 
u16 tx_trig_level
 
u32 nf_regs [6]
 
struct ath_nf_limits nf_2g
 
struct ath_nf_limits nf_5g
 
u16 rfsilent
 
u32 rfkill_gpio
 
u32 rfkill_polarity
 
u32 ah_flags
 
int htc_reset_init
 
enum ath9k_power_mode power_mode
 
struct ath9k_hw_cal_datacaldata
 
struct ath9k_pacal_info pacal_info
 
struct ar5416Stats stats
 
struct ath9k_tx_queue_info txq [ATH9K_NUM_TX_QUEUES]
 
int16_t curchan_rad_index
 
int ah_ier
 
enum ath9k_int imask
 
u32 imrs2_reg
 
u32 txok_interrupt_mask
 
u32 txerr_interrupt_mask
 
u32 txdesc_interrupt_mask
 
u32 txeol_interrupt_mask
 
u32 txurn_interrupt_mask
 
int chip_fullsleep
 
u32 atim_window
 
u32 supp_cals
 
struct ath9k_cal_list iq_caldata
 
struct ath9k_cal_list adcgain_caldata
 
struct ath9k_cal_list adcdc_caldata
 
struct ath9k_cal_list tempCompCalData
 
struct ath9k_cal_listcal_list
 
struct ath9k_cal_listcal_list_last
 
struct ath9k_cal_listcal_list_curr
 
union {
   u32   unsign [AR5416_MAX_CHAINS]
 
   int32_t   sign [AR5416_MAX_CHAINS]
 
meas0
 
union {
   u32   unsign [AR5416_MAX_CHAINS]
 
   int32_t   sign [AR5416_MAX_CHAINS]
 
meas1
 
union {
   u32   unsign [AR5416_MAX_CHAINS]
 
   int32_t   sign [AR5416_MAX_CHAINS]
 
meas2
 
union {
   u32   unsign [AR5416_MAX_CHAINS]
 
   int32_t   sign [AR5416_MAX_CHAINS]
 
meas3
 
u16 cal_samples
 
u32 sta_id1_defaults
 
u32 misc_mode
 
enum ath_hw:: { ... }  enable_32kHz_clock
 
struct ath_hw_private_ops private_ops
 
struct ath_hw_ops ops
 
u32analogBank0Data
 
u32analogBank1Data
 
u32analogBank2Data
 
u32analogBank3Data
 
u32analogBank6Data
 
u32analogBank6TPCData
 
u32analogBank7Data
 
u32addac5416_21
 
u32bank6Temp
 
u8 txpower_limit
 
int coverage_class
 
u32 slottime
 
u32 globaltxtimeout
 
u32 proc_phyerr
 
u32 aniperiod
 
int totalSizeDesired [5]
 
int coarse_high [5]
 
int coarse_low [5]
 
int firpwr [5]
 
enum ath9k_ani_cmd ani_function
 
u32 intr_txqs
 
u8 txchainmask
 
u8 rxchainmask
 
struct ath_hw_radar_conf radar_conf
 
u32 originalGain [22]
 
int initPDADC
 
int PDADCdelta
 
int led_pin
 
u32 gpio_mask
 
u32 gpio_val
 
struct ar5416IniArray iniModes
 
struct ar5416IniArray iniCommon
 
struct ar5416IniArray iniBank0
 
struct ar5416IniArray iniBB_RfGain
 
struct ar5416IniArray iniBank1
 
struct ar5416IniArray iniBank2
 
struct ar5416IniArray iniBank3
 
struct ar5416IniArray iniBank6
 
struct ar5416IniArray iniBank6TPC
 
struct ar5416IniArray iniBank7
 
struct ar5416IniArray iniAddac
 
struct ar5416IniArray iniPcieSerdes
 
struct ar5416IniArray iniPcieSerdesLowPower
 
struct ar5416IniArray iniModesAdditional
 
struct ar5416IniArray iniModesAdditional_40M
 
struct ar5416IniArray iniModesRxGain
 
struct ar5416IniArray iniModesTxGain
 
struct ar5416IniArray iniModes_9271_1_0_only
 
struct ar5416IniArray iniCckfirNormal
 
struct ar5416IniArray iniCckfirJapan2484
 
struct ar5416IniArray iniCommon_normal_cck_fir_coeff_9271
 
struct ar5416IniArray iniCommon_japan_2484_cck_fir_coeff_9271
 
struct ar5416IniArray iniModes_9271_ANI_reg
 
struct ar5416IniArray iniModes_high_power_tx_gain_9271
 
struct ar5416IniArray iniModes_normal_power_tx_gain_9271
 
struct ar5416IniArray iniMac [ATH_INI_NUM_SPLIT]
 
struct ar5416IniArray iniBB [ATH_INI_NUM_SPLIT]
 
struct ar5416IniArray iniRadio [ATH_INI_NUM_SPLIT]
 
struct ar5416IniArray iniSOC [ATH_INI_NUM_SPLIT]
 
u32 intr_gen_timer_trigger
 
u32 intr_gen_timer_thresh
 
struct ath_gen_timer_table hw_gen_timers
 
struct ar9003_txsts_ring
 
void * ts_start
 
u32 ts_paddr_start
 
u32 ts_paddr_end
 
u16 ts_tail
 
u8 ts_size
 
unsigned int paprd_target_power
 
unsigned int paprd_training_power
 
unsigned int paprd_ratemask
 
unsigned int paprd_ratemask_ht40
 
int paprd_table_write_done
 
u32 paprd_gain_table_entries [PAPRD_GAIN_TABLE_ENTRIES]
 
u8 paprd_gain_table_index [PAPRD_GAIN_TABLE_ENTRIES]
 
u32 WARegVal
 
u32 ent_mode
 
int is_clk_25mhz
 

Detailed Description

Definition at line 656 of file hw.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
AUTO_32KHZ 
USE_32KHZ 
DONT_USE_32KHZ 

Definition at line 750 of file hw.h.

750  {
751  AUTO_32KHZ,
752  USE_32KHZ,
enum ath_hw::@32 enable_32kHz_clock

Field Documentation

◆ reg_ops

struct ath_ops ath_hw::reg_ops

Definition at line 657 of file hw.h.

◆ dev

struct net80211_device* ath_hw::dev

Definition at line 659 of file hw.h.

Referenced by ath9k_config(), and ath9k_stop().

◆ common

struct ath_common ath_hw::common

Definition at line 660 of file hw.h.

◆ hw_version

struct ath9k_hw_version ath_hw::hw_version

Definition at line 661 of file hw.h.

◆ config

struct ath9k_ops_config ath_hw::config

Definition at line 662 of file hw.h.

Referenced by ath_ani_calibrate().

◆ caps

struct ath9k_hw_capabilities ath_hw::caps

◆ channels

struct ath9k_channel ath_hw::channels[ATH9K_NUM_CHANNELS]

Definition at line 664 of file hw.h.

Referenced by ath9k_config().

◆ curchan

struct ath9k_channel* ath_hw::curchan

Definition at line 665 of file hw.h.

Referenced by ath_reset(), and ath_set_channel().

◆ def

struct ar5416_eeprom_def ath_hw::def

Definition at line 668 of file hw.h.

◆ map4k

struct ar5416_eeprom_4k ath_hw::map4k

Definition at line 669 of file hw.h.

◆ map9287

struct ar9287_eeprom ath_hw::map9287

Definition at line 670 of file hw.h.

◆ ar9300_eep

struct ar9300_eeprom ath_hw::ar9300_eep

Definition at line 671 of file hw.h.

◆ eeprom

union { ... } ath_hw::eeprom

◆ eep_ops

const struct eeprom_ops* ath_hw::eep_ops

Definition at line 673 of file hw.h.

◆ sw_mgmt_crypto

int ath_hw::sw_mgmt_crypto

Definition at line 675 of file hw.h.

◆ is_pciexpress

int ath_hw::is_pciexpress

Definition at line 676 of file hw.h.

◆ is_monitoring

int ath_hw::is_monitoring

Definition at line 677 of file hw.h.

Referenced by ath9k_start().

◆ need_an_top2_fixup

int ath_hw::need_an_top2_fixup

Definition at line 678 of file hw.h.

◆ tx_trig_level

u16 ath_hw::tx_trig_level

Definition at line 679 of file hw.h.

◆ nf_regs

u32 ath_hw::nf_regs[6]

Definition at line 681 of file hw.h.

◆ nf_2g

struct ath_nf_limits ath_hw::nf_2g

Definition at line 682 of file hw.h.

◆ nf_5g

struct ath_nf_limits ath_hw::nf_5g

Definition at line 683 of file hw.h.

◆ rfsilent

u16 ath_hw::rfsilent

Definition at line 684 of file hw.h.

◆ rfkill_gpio

u32 ath_hw::rfkill_gpio

Definition at line 685 of file hw.h.

◆ rfkill_polarity

u32 ath_hw::rfkill_polarity

Definition at line 686 of file hw.h.

◆ ah_flags

u32 ath_hw::ah_flags

Definition at line 687 of file hw.h.

Referenced by ath_pci_remove().

◆ htc_reset_init

int ath_hw::htc_reset_init

Definition at line 689 of file hw.h.

◆ power_mode

enum ath9k_power_mode ath_hw::power_mode

Definition at line 691 of file hw.h.

Referenced by ath_ani_calibrate().

◆ caldata

struct ath9k_hw_cal_data* ath_hw::caldata

Definition at line 693 of file hw.h.

◆ pacal_info

struct ath9k_pacal_info ath_hw::pacal_info

Definition at line 694 of file hw.h.

◆ stats

struct ar5416Stats ath_hw::stats

Definition at line 695 of file hw.h.

Referenced by ath9k_bss_iter().

◆ txq

Definition at line 696 of file hw.h.

◆ curchan_rad_index

int16_t ath_hw::curchan_rad_index

Definition at line 698 of file hw.h.

◆ ah_ier

int ath_hw::ah_ier

Definition at line 699 of file hw.h.

◆ imask

enum ath9k_int ath_hw::imask

Definition at line 700 of file hw.h.

◆ imrs2_reg

u32 ath_hw::imrs2_reg

Definition at line 701 of file hw.h.

◆ txok_interrupt_mask

u32 ath_hw::txok_interrupt_mask

Definition at line 702 of file hw.h.

◆ txerr_interrupt_mask

u32 ath_hw::txerr_interrupt_mask

Definition at line 703 of file hw.h.

◆ txdesc_interrupt_mask

u32 ath_hw::txdesc_interrupt_mask

Definition at line 704 of file hw.h.

◆ txeol_interrupt_mask

u32 ath_hw::txeol_interrupt_mask

Definition at line 705 of file hw.h.

◆ txurn_interrupt_mask

u32 ath_hw::txurn_interrupt_mask

Definition at line 706 of file hw.h.

◆ chip_fullsleep

int ath_hw::chip_fullsleep

Definition at line 707 of file hw.h.

◆ atim_window

u32 ath_hw::atim_window

Definition at line 708 of file hw.h.

◆ supp_cals

u32 ath_hw::supp_cals

Definition at line 711 of file hw.h.

◆ iq_caldata

struct ath9k_cal_list ath_hw::iq_caldata

Definition at line 712 of file hw.h.

◆ adcgain_caldata

struct ath9k_cal_list ath_hw::adcgain_caldata

Definition at line 713 of file hw.h.

◆ adcdc_caldata

struct ath9k_cal_list ath_hw::adcdc_caldata

Definition at line 714 of file hw.h.

◆ tempCompCalData

struct ath9k_cal_list ath_hw::tempCompCalData

Definition at line 715 of file hw.h.

◆ cal_list

struct ath9k_cal_list* ath_hw::cal_list

Definition at line 716 of file hw.h.

◆ cal_list_last

struct ath9k_cal_list* ath_hw::cal_list_last

Definition at line 717 of file hw.h.

◆ cal_list_curr

struct ath9k_cal_list* ath_hw::cal_list_curr

Definition at line 718 of file hw.h.

◆ unsign

u32 ath_hw::unsign[AR5416_MAX_CHAINS]

Definition at line 731 of file hw.h.

◆ sign

int32_t ath_hw::sign[AR5416_MAX_CHAINS]

Definition at line 732 of file hw.h.

◆ meas0

union { ... } ath_hw::meas0

◆ meas1

union { ... } ath_hw::meas1

◆ meas2

union { ... } ath_hw::meas2

◆ meas3

union { ... } ath_hw::meas3

◆ cal_samples

u16 ath_hw::cal_samples

Definition at line 746 of file hw.h.

◆ sta_id1_defaults

u32 ath_hw::sta_id1_defaults

Definition at line 748 of file hw.h.

◆ misc_mode

u32 ath_hw::misc_mode

Definition at line 749 of file hw.h.

Referenced by ath9k_init_crypto().

◆ enable_32kHz_clock

enum { ... } ath_hw::enable_32kHz_clock

◆ private_ops

struct ath_hw_private_ops ath_hw::private_ops

Definition at line 757 of file hw.h.

◆ ops

struct ath_hw_ops ath_hw::ops

Definition at line 759 of file hw.h.

◆ analogBank0Data

u32* ath_hw::analogBank0Data

Definition at line 762 of file hw.h.

◆ analogBank1Data

u32* ath_hw::analogBank1Data

Definition at line 763 of file hw.h.

◆ analogBank2Data

u32* ath_hw::analogBank2Data

Definition at line 764 of file hw.h.

◆ analogBank3Data

u32* ath_hw::analogBank3Data

Definition at line 765 of file hw.h.

◆ analogBank6Data

u32* ath_hw::analogBank6Data

Definition at line 766 of file hw.h.

◆ analogBank6TPCData

u32* ath_hw::analogBank6TPCData

Definition at line 767 of file hw.h.

◆ analogBank7Data

u32* ath_hw::analogBank7Data

Definition at line 768 of file hw.h.

◆ addac5416_21

u32* ath_hw::addac5416_21

Definition at line 769 of file hw.h.

◆ bank6Temp

u32* ath_hw::bank6Temp

Definition at line 770 of file hw.h.

◆ txpower_limit

u8 ath_hw::txpower_limit

Definition at line 772 of file hw.h.

◆ coverage_class

int ath_hw::coverage_class

Definition at line 773 of file hw.h.

◆ slottime

u32 ath_hw::slottime

Definition at line 774 of file hw.h.

◆ globaltxtimeout

u32 ath_hw::globaltxtimeout

Definition at line 775 of file hw.h.

◆ proc_phyerr

u32 ath_hw::proc_phyerr

Definition at line 778 of file hw.h.

◆ aniperiod

u32 ath_hw::aniperiod

Definition at line 779 of file hw.h.

◆ totalSizeDesired

int ath_hw::totalSizeDesired[5]

Definition at line 780 of file hw.h.

◆ coarse_high

int ath_hw::coarse_high[5]

Definition at line 781 of file hw.h.

◆ coarse_low

int ath_hw::coarse_low[5]

Definition at line 782 of file hw.h.

◆ firpwr

int ath_hw::firpwr[5]

Definition at line 783 of file hw.h.

◆ ani_function

enum ath9k_ani_cmd ath_hw::ani_function

Definition at line 784 of file hw.h.

◆ intr_txqs

u32 ath_hw::intr_txqs

Definition at line 786 of file hw.h.

◆ txchainmask

u8 ath_hw::txchainmask

Definition at line 787 of file hw.h.

◆ rxchainmask

u8 ath_hw::rxchainmask

Definition at line 788 of file hw.h.

◆ radar_conf

struct ath_hw_radar_conf ath_hw::radar_conf

Definition at line 790 of file hw.h.

◆ originalGain

u32 ath_hw::originalGain[22]

Definition at line 792 of file hw.h.

◆ initPDADC

int ath_hw::initPDADC

Definition at line 793 of file hw.h.

◆ PDADCdelta

int ath_hw::PDADCdelta

Definition at line 794 of file hw.h.

◆ led_pin

int ath_hw::led_pin

Definition at line 795 of file hw.h.

Referenced by ath9k_init_softc().

◆ gpio_mask

u32 ath_hw::gpio_mask

Definition at line 796 of file hw.h.

◆ gpio_val

u32 ath_hw::gpio_val

Definition at line 797 of file hw.h.

◆ iniModes

struct ar5416IniArray ath_hw::iniModes

Definition at line 799 of file hw.h.

◆ iniCommon

struct ar5416IniArray ath_hw::iniCommon

Definition at line 800 of file hw.h.

◆ iniBank0

struct ar5416IniArray ath_hw::iniBank0

Definition at line 801 of file hw.h.

◆ iniBB_RfGain

struct ar5416IniArray ath_hw::iniBB_RfGain

Definition at line 802 of file hw.h.

◆ iniBank1

struct ar5416IniArray ath_hw::iniBank1

Definition at line 803 of file hw.h.

◆ iniBank2

struct ar5416IniArray ath_hw::iniBank2

Definition at line 804 of file hw.h.

◆ iniBank3

struct ar5416IniArray ath_hw::iniBank3

Definition at line 805 of file hw.h.

◆ iniBank6

struct ar5416IniArray ath_hw::iniBank6

Definition at line 806 of file hw.h.

◆ iniBank6TPC

struct ar5416IniArray ath_hw::iniBank6TPC

Definition at line 807 of file hw.h.

◆ iniBank7

struct ar5416IniArray ath_hw::iniBank7

Definition at line 808 of file hw.h.

◆ iniAddac

struct ar5416IniArray ath_hw::iniAddac

Definition at line 809 of file hw.h.

◆ iniPcieSerdes

struct ar5416IniArray ath_hw::iniPcieSerdes

Definition at line 810 of file hw.h.

◆ iniPcieSerdesLowPower

struct ar5416IniArray ath_hw::iniPcieSerdesLowPower

Definition at line 811 of file hw.h.

◆ iniModesAdditional

struct ar5416IniArray ath_hw::iniModesAdditional

Definition at line 812 of file hw.h.

◆ iniModesAdditional_40M

struct ar5416IniArray ath_hw::iniModesAdditional_40M

Definition at line 813 of file hw.h.

◆ iniModesRxGain

struct ar5416IniArray ath_hw::iniModesRxGain

Definition at line 814 of file hw.h.

◆ iniModesTxGain

struct ar5416IniArray ath_hw::iniModesTxGain

Definition at line 815 of file hw.h.

◆ iniModes_9271_1_0_only

struct ar5416IniArray ath_hw::iniModes_9271_1_0_only

Definition at line 816 of file hw.h.

◆ iniCckfirNormal

struct ar5416IniArray ath_hw::iniCckfirNormal

Definition at line 817 of file hw.h.

◆ iniCckfirJapan2484

struct ar5416IniArray ath_hw::iniCckfirJapan2484

Definition at line 818 of file hw.h.

◆ iniCommon_normal_cck_fir_coeff_9271

struct ar5416IniArray ath_hw::iniCommon_normal_cck_fir_coeff_9271

Definition at line 819 of file hw.h.

◆ iniCommon_japan_2484_cck_fir_coeff_9271

struct ar5416IniArray ath_hw::iniCommon_japan_2484_cck_fir_coeff_9271

Definition at line 820 of file hw.h.

◆ iniModes_9271_ANI_reg

struct ar5416IniArray ath_hw::iniModes_9271_ANI_reg

Definition at line 821 of file hw.h.

◆ iniModes_high_power_tx_gain_9271

struct ar5416IniArray ath_hw::iniModes_high_power_tx_gain_9271

Definition at line 822 of file hw.h.

◆ iniModes_normal_power_tx_gain_9271

struct ar5416IniArray ath_hw::iniModes_normal_power_tx_gain_9271

Definition at line 823 of file hw.h.

◆ iniMac

struct ar5416IniArray ath_hw::iniMac[ATH_INI_NUM_SPLIT]

Definition at line 825 of file hw.h.

◆ iniBB

struct ar5416IniArray ath_hw::iniBB[ATH_INI_NUM_SPLIT]

Definition at line 826 of file hw.h.

◆ iniRadio

struct ar5416IniArray ath_hw::iniRadio[ATH_INI_NUM_SPLIT]

Definition at line 827 of file hw.h.

◆ iniSOC

struct ar5416IniArray ath_hw::iniSOC[ATH_INI_NUM_SPLIT]

Definition at line 828 of file hw.h.

◆ intr_gen_timer_trigger

u32 ath_hw::intr_gen_timer_trigger

Definition at line 830 of file hw.h.

◆ intr_gen_timer_thresh

u32 ath_hw::intr_gen_timer_thresh

Definition at line 831 of file hw.h.

◆ hw_gen_timers

struct ath_gen_timer_table ath_hw::hw_gen_timers

Definition at line 832 of file hw.h.

◆ ts_ring

struct ar9003_txs* ath_hw::ts_ring

Definition at line 834 of file hw.h.

◆ ts_start

void* ath_hw::ts_start

Definition at line 835 of file hw.h.

◆ ts_paddr_start

u32 ath_hw::ts_paddr_start

Definition at line 836 of file hw.h.

◆ ts_paddr_end

u32 ath_hw::ts_paddr_end

Definition at line 837 of file hw.h.

◆ ts_tail

u16 ath_hw::ts_tail

Definition at line 838 of file hw.h.

◆ ts_size

u8 ath_hw::ts_size

Definition at line 839 of file hw.h.

◆ paprd_target_power

unsigned int ath_hw::paprd_target_power

Definition at line 841 of file hw.h.

◆ paprd_training_power

unsigned int ath_hw::paprd_training_power

Definition at line 842 of file hw.h.

◆ paprd_ratemask

unsigned int ath_hw::paprd_ratemask

Definition at line 843 of file hw.h.

◆ paprd_ratemask_ht40

unsigned int ath_hw::paprd_ratemask_ht40

Definition at line 844 of file hw.h.

◆ paprd_table_write_done

int ath_hw::paprd_table_write_done

Definition at line 845 of file hw.h.

◆ paprd_gain_table_entries

u32 ath_hw::paprd_gain_table_entries[PAPRD_GAIN_TABLE_ENTRIES]

Definition at line 846 of file hw.h.

◆ paprd_gain_table_index

u8 ath_hw::paprd_gain_table_index[PAPRD_GAIN_TABLE_ENTRIES]

Definition at line 847 of file hw.h.

◆ WARegVal

u32 ath_hw::WARegVal

Definition at line 853 of file hw.h.

◆ ent_mode

u32 ath_hw::ent_mode

Definition at line 856 of file hw.h.

◆ is_clk_25mhz

int ath_hw::is_clk_25mhz

Definition at line 858 of file hw.h.


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