iPXE
Data Fields
ath_hw_ops Struct Reference

struct ath_hw_ops - callbacks used by hardware code and driver code More...

#include <hw.h>

Data Fields

void(* config_pci_powersave )(struct ath_hw *ah, int restore, int power_off)
 
void(* rx_enable )(struct ath_hw *ah)
 
void(* set_desc_link )(void *ds, u32 link)
 
void(* get_desc_link )(void *ds, u32 **link)
 
int(* calibrate )(struct ath_hw *ah, struct ath9k_channel *chan, u8 rxchainmask, int longcal)
 
int(* get_isr )(struct ath_hw *ah, enum ath9k_int *masked)
 
void(* fill_txdesc )(struct ath_hw *ah, void *ds, u32 seglen, int is_firstseg, int is_is_lastseg, const void *ds0, u32 buf_addr, unsigned int qcu)
 
int(* proc_txdesc )(struct ath_hw *ah, void *ds, struct ath_tx_status *ts)
 
void(* set11n_txdesc )(struct ath_hw *ah, void *ds, u32 pktLen, enum ath9k_pkt_type type, u32 txPower, u32 keyIx, enum ath9k_key_type keyType, u32 flags)
 
void(* set11n_ratescenario )(struct ath_hw *ah, void *ds, void *lastds, u32 durUpdateEn, u32 rtsctsRate, u32 rtsctsDuration, struct ath9k_11n_rate_series series[], u32 nseries, u32 flags)
 
void(* set11n_aggr_first )(struct ath_hw *ah, void *ds, u32 aggrLen)
 
void(* set11n_aggr_middle )(struct ath_hw *ah, void *ds, u32 numDelims)
 
void(* set11n_aggr_last )(struct ath_hw *ah, void *ds)
 
void(* clr11n_aggr )(struct ath_hw *ah, void *ds)
 
void(* set_clrdmask )(struct ath_hw *ah, void *ds, int val)
 
void(* antdiv_comb_conf_get )(struct ath_hw *ah, struct ath_hw_antcomb_conf *antconf)
 
void(* antdiv_comb_conf_set )(struct ath_hw *ah, struct ath_hw_antcomb_conf *antconf)
 

Detailed Description

struct ath_hw_ops - callbacks used by hardware code and driver code

This structure contains callbacks designed to to be used internally by hardware code and also by the lower level driver.

@config_pci_powersave: @calibrate: periodic calibration for NF, ANI, IQ, ADC gain, ADC-DC

Definition at line 603 of file hw.h.

Field Documentation

◆ config_pci_powersave

void(* ath_hw_ops::config_pci_powersave) (struct ath_hw *ah, int restore, int power_off)

Definition at line 604 of file hw.h.

Referenced by ar9002_hw_attach_ops(), ar9003_hw_attach_ops(), and ath9k_hw_configpcipowersave().

◆ rx_enable

void(* ath_hw_ops::rx_enable) (struct ath_hw *ah)

Definition at line 607 of file hw.h.

Referenced by ar9002_hw_attach_mac_ops(), ar9003_hw_attach_mac_ops(), and ath9k_hw_rxena().

◆ set_desc_link

void(* ath_hw_ops::set_desc_link) (void *ds, u32 link)

◆ get_desc_link

void(* ath_hw_ops::get_desc_link) (void *ds, u32 **link)

◆ calibrate

int(* ath_hw_ops::calibrate) (struct ath_hw *ah, struct ath9k_channel *chan, u8 rxchainmask, int longcal)

◆ get_isr

int(* ath_hw_ops::get_isr) (struct ath_hw *ah, enum ath9k_int *masked)

Definition at line 614 of file hw.h.

Referenced by ar9002_hw_attach_mac_ops(), ar9003_hw_attach_mac_ops(), and ath9k_hw_getisr().

◆ fill_txdesc

void(* ath_hw_ops::fill_txdesc) (struct ath_hw *ah, void *ds, u32 seglen, int is_firstseg, int is_is_lastseg, const void *ds0, u32 buf_addr, unsigned int qcu)

Definition at line 615 of file hw.h.

Referenced by ar9002_hw_attach_mac_ops(), ar9003_hw_attach_mac_ops(), and ath9k_hw_filltxdesc().

◆ proc_txdesc

int(* ath_hw_ops::proc_txdesc) (struct ath_hw *ah, void *ds, struct ath_tx_status *ts)

Definition at line 619 of file hw.h.

Referenced by ar9002_hw_attach_mac_ops(), ar9003_hw_attach_mac_ops(), and ath9k_hw_txprocdesc().

◆ set11n_txdesc

void(* ath_hw_ops::set11n_txdesc) (struct ath_hw *ah, void *ds, u32 pktLen, enum ath9k_pkt_type type, u32 txPower, u32 keyIx, enum ath9k_key_type keyType, u32 flags)

◆ set11n_ratescenario

void(* ath_hw_ops::set11n_ratescenario) (struct ath_hw *ah, void *ds, void *lastds, u32 durUpdateEn, u32 rtsctsRate, u32 rtsctsDuration, struct ath9k_11n_rate_series series[], u32 nseries, u32 flags)

◆ set11n_aggr_first

void(* ath_hw_ops::set11n_aggr_first) (struct ath_hw *ah, void *ds, u32 aggrLen)

◆ set11n_aggr_middle

void(* ath_hw_ops::set11n_aggr_middle) (struct ath_hw *ah, void *ds, u32 numDelims)

◆ set11n_aggr_last

void(* ath_hw_ops::set11n_aggr_last) (struct ath_hw *ah, void *ds)

◆ clr11n_aggr

void(* ath_hw_ops::clr11n_aggr) (struct ath_hw *ah, void *ds)

Definition at line 637 of file hw.h.

Referenced by ar9002_hw_attach_mac_ops(), ar9003_hw_attach_mac_ops(), and ath9k_hw_clr11n_aggr().

◆ set_clrdmask

void(* ath_hw_ops::set_clrdmask) (struct ath_hw *ah, void *ds, int val)

Definition at line 638 of file hw.h.

Referenced by ar9002_hw_attach_mac_ops(), ar9003_hw_attach_mac_ops(), and ath9k_hw_set_clrdmask().

◆ antdiv_comb_conf_get

void(* ath_hw_ops::antdiv_comb_conf_get) (struct ath_hw *ah, struct ath_hw_antcomb_conf *antconf)

◆ antdiv_comb_conf_set

void(* ath_hw_ops::antdiv_comb_conf_set) (struct ath_hw *ah, struct ath_hw_antcomb_conf *antconf)

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