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.

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

Definition at line 603 of file hw.h.


Field Documentation

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().

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().

void(* ath_hw_ops::get_desc_link)(void *ds, u32 **link)
int(* ath_hw_ops::calibrate)(struct ath_hw *ah, struct ath9k_channel *chan, u8 rxchainmask, int longcal)
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().

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().

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().

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)
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)
void(* ath_hw_ops::set11n_aggr_first)(struct ath_hw *ah, void *ds, u32 aggrLen)
void(* ath_hw_ops::set11n_aggr_middle)(struct ath_hw *ah, void *ds, u32 numDelims)
void(* ath_hw_ops::set11n_aggr_last)(struct ath_hw *ah, void *ds)
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().

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().


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