athn_softc
struct athn_softc *sc = &csc->sc_sc;
struct athn_softc *sc = &csc->sc_sc;
athn_cardbus_enable(struct athn_softc *sc)
athn_cardbus_disable(struct athn_softc *sc)
athn_cardbus_power(struct athn_softc *sc, int why)
athn_cardbus_read(struct athn_softc *sc, uint32_t addr)
athn_cardbus_write(struct athn_softc *sc, uint32_t addr, uint32_t val)
athn_cardbus_write_barrier(struct athn_softc *sc)
struct athn_softc sc_sc;
int athn_cardbus_enable(struct athn_softc *);
void athn_cardbus_disable(struct athn_softc *);
void athn_cardbus_power(struct athn_softc *, int);
uint32_t athn_cardbus_read(struct athn_softc *, uint32_t);
void athn_cardbus_write(struct athn_softc *, uint32_t, uint32_t);
void athn_cardbus_write_barrier(struct athn_softc *);
void ar5008_init_chains(struct athn_softc *);
void ar5008_set_rxchains(struct athn_softc *);
void ar5008_read_noisefloor(struct athn_softc *, int16_t *, int16_t *);
void ar5008_write_noisefloor(struct athn_softc *, int16_t *, int16_t *);
int ar5008_get_noisefloor(struct athn_softc *);
void ar5008_apply_noisefloor(struct athn_softc *);
void ar5008_bb_load_noisefloor(struct athn_softc *);
void ar5008_do_noisefloor_calib(struct athn_softc *);
void ar5008_init_noisefloor_calib(struct athn_softc *);
ar5008_rx_intr(struct athn_softc *sc)
void ar5008_do_calib(struct athn_softc *);
void ar5008_next_calib(struct athn_softc *);
ar5008_tx_process(struct athn_softc *sc, int qid)
void ar5008_calib_iq(struct athn_softc *);
void ar5008_calib_adc_gain(struct athn_softc *);
void ar5008_calib_adc_dc_off(struct athn_softc *);
void ar5008_write_txpower(struct athn_softc *, int16_t *);
void ar5008_set_viterbi_mask(struct athn_softc *, int);
void ar5008_hw_init(struct athn_softc *, struct ieee80211_channel *,
void ar5008_get_pdadcs(struct athn_softc *, uint8_t, struct athn_pier *,
void ar5008_get_lg_tpow(struct athn_softc *, struct ieee80211_channel *,
ar5008_tx_intr(struct athn_softc *sc)
void ar5008_get_ht_tpow(struct athn_softc *, struct ieee80211_channel *,
ar5008_swba_intr(struct athn_softc *sc)
void ar5008_set_noise_immunity_level(struct athn_softc *, int);
void ar5008_enable_ofdm_weak_signal(struct athn_softc *);
void ar5008_disable_ofdm_weak_signal(struct athn_softc *);
void ar5008_set_cck_weak_signal(struct athn_softc *, int);
void ar5008_set_firstep_level(struct athn_softc *, int);
void ar5008_set_spur_immunity_level(struct athn_softc *, int);
int athn_txtime(struct athn_softc *, int, int, u_int);
void athn_inc_tx_trigger_level(struct athn_softc *);
ar5008_intr(struct athn_softc *sc)
int athn_tx_pending(struct athn_softc *, int);
void athn_stop_tx_dma(struct athn_softc *, int);
void athn_config_pcie(struct athn_softc *);
void athn_config_nonpcie(struct athn_softc *);
uint8_t ar5416_get_rf_rev(struct athn_softc *);
void ar5416_reset_addac(struct athn_softc *, struct ieee80211_channel *);
void ar5416_rf_reset(struct athn_softc *, struct ieee80211_channel *);
void ar5416_reset_bb_gain(struct athn_softc *, struct ieee80211_channel *);
void ar9280_reset_rx_gain(struct athn_softc *, struct ieee80211_channel *);
ar5008_tx(struct athn_softc *sc, struct mbuf *m, struct ieee80211_node *ni,
void ar9280_reset_tx_gain(struct athn_softc *, struct ieee80211_channel *);
ar5008_attach(struct athn_softc *sc)
ar5008_set_rf_mode(struct athn_softc *sc, struct ieee80211_channel *c)
ar5008_synth_delay(struct athn_softc *sc)
ar5008_rf_bus_request(struct athn_softc *sc)
ar5008_rf_bus_release(struct athn_softc *sc)
ar5008_set_phy(struct athn_softc *sc, struct ieee80211_channel *c,
ar5008_set_delta_slope(struct athn_softc *sc, struct ieee80211_channel *c,
ar5008_enable_antenna_diversity(struct athn_softc *sc)
ar5008_init_baseband(struct athn_softc *sc)
ar5008_disable_phy(struct athn_softc *sc)
ar5008_init_chains(struct athn_softc *sc)
ar5008_set_rxchains(struct athn_softc *sc)
ar5008_read_noisefloor(struct athn_softc *sc, int16_t *nf, int16_t *nf_ext)
ar5008_write_noisefloor(struct athn_softc *sc, int16_t *nf, int16_t *nf_ext)
ar5008_get_noisefloor(struct athn_softc *sc)
ar5008_bb_load_noisefloor(struct athn_softc *sc)
ar5008_apply_noisefloor(struct athn_softc *sc)
ar5008_do_noisefloor_calib(struct athn_softc *sc)
ar5008_init_noisefloor_calib(struct athn_softc *sc)
ar5008_do_calib(struct athn_softc *sc)
ar5008_next_calib(struct athn_softc *sc)
ar5008_calib_iq(struct athn_softc *sc)
ar5008_calib_adc_gain(struct athn_softc *sc)
ar5008_calib_adc_dc_off(struct athn_softc *sc)
ar5008_write_txpower(struct athn_softc *sc, int16_t power[ATHN_POWER_COUNT])
ar5008_set_viterbi_mask(struct athn_softc *sc, int bin)
ar5008_hw_init(struct athn_softc *sc, struct ieee80211_channel *c,
ar5008_get_pdadcs(struct athn_softc *sc, uint8_t fbin,
ar5008_get_lg_tpow(struct athn_softc *sc, struct ieee80211_channel *c,
ar5008_read_eep_word(struct athn_softc *sc, uint32_t addr, uint16_t *val)
ar5008_get_ht_tpow(struct athn_softc *sc, struct ieee80211_channel *c,
ar5008_set_noise_immunity_level(struct athn_softc *sc, int level)
ar5008_enable_ofdm_weak_signal(struct athn_softc *sc)
ar5008_disable_ofdm_weak_signal(struct athn_softc *sc)
ar5008_set_cck_weak_signal(struct athn_softc *sc, int high)
ar5008_set_firstep_level(struct athn_softc *sc, int level)
ar5008_set_spur_immunity_level(struct athn_softc *sc, int level)
ar5008_read_rom(struct athn_softc *sc)
ar5008_swap_rom(struct athn_softc *sc)
ar5008_gpio_read(struct athn_softc *sc, int pin)
ar5008_gpio_write(struct athn_softc *sc, int pin, int set)
ar5008_gpio_config_input(struct athn_softc *sc, int pin)
ar5008_gpio_config_output(struct athn_softc *sc, int pin, int type)
ar5008_rfsilent_init(struct athn_softc *sc)
ar5008_dma_alloc(struct athn_softc *sc)
ar5008_dma_free(struct athn_softc *sc)
ar5008_tx_alloc(struct athn_softc *sc)
ar5008_tx_free(struct athn_softc *sc)
ar5008_rx_alloc(struct athn_softc *sc)
int ar5008_attach(struct athn_softc *);
int ar5008_read_eep_word(struct athn_softc *, uint32_t, uint16_t *);
int ar5008_read_rom(struct athn_softc *);
void ar5008_swap_rom(struct athn_softc *);
int ar5008_gpio_read(struct athn_softc *, int);
ar5008_rx_free(struct athn_softc *sc)
void ar5008_gpio_write(struct athn_softc *, int, int);
void ar5008_gpio_config_input(struct athn_softc *, int);
void ar5008_gpio_config_output(struct athn_softc *, int, int);
ar5008_rx_enable(struct athn_softc *sc)
void ar5008_rfsilent_init(struct athn_softc *);
int ar5008_dma_alloc(struct athn_softc *);
void ar5008_dma_free(struct athn_softc *);
ar5008_rx_radiotap(struct athn_softc *sc, struct mbuf *m,
int ar5008_tx_alloc(struct athn_softc *);
void ar5008_tx_free(struct athn_softc *);
int ar5008_rx_alloc(struct athn_softc *);
void ar5008_rx_free(struct athn_softc *);
void ar5008_rx_enable(struct athn_softc *);
void ar5008_rx_radiotap(struct athn_softc *, struct mbuf *,
ar5008_ccmp_decap(struct athn_softc *sc, struct mbuf *m, struct ieee80211_node *ni)
int ar5008_ccmp_decap(struct athn_softc *, struct mbuf *,
void ar5008_rx_intr(struct athn_softc *);
int ar5008_tx_process(struct athn_softc *, int);
void ar5008_tx_intr(struct athn_softc *);
int ar5008_swba_intr(struct athn_softc *);
ar5008_rx_process(struct athn_softc *sc, struct mbuf_list *ml)
int ar5008_intr(struct athn_softc *);
int ar5008_tx(struct athn_softc *, struct mbuf *, struct ieee80211_node *,
void ar5008_set_rf_mode(struct athn_softc *, struct ieee80211_channel *);
int ar5008_rf_bus_request(struct athn_softc *);
void ar5008_rf_bus_release(struct athn_softc *);
void ar5008_set_phy(struct athn_softc *, struct ieee80211_channel *,
void ar5008_set_delta_slope(struct athn_softc *, struct ieee80211_channel *,
void ar5008_enable_antenna_diversity(struct athn_softc *);
void ar5008_init_baseband(struct athn_softc *);
void ar5008_disable_phy(struct athn_softc *);
void ar5008_set_viterbi_mask(struct athn_softc *, int);
void ar5008_get_lg_tpow(struct athn_softc *, struct ieee80211_channel *,
void ar5008_get_ht_tpow(struct athn_softc *, struct ieee80211_channel *,
void ar9280_olpc_get_pdadcs(struct athn_softc *, struct ieee80211_channel *,
ar5416_attach(struct athn_softc *sc)
ar5416_setup(struct athn_softc *sc)
ar5416_swap_rom(struct athn_softc *sc)
ar5416_get_spur_chans(struct athn_softc *sc, int is2ghz)
ar5416_set_synth(struct athn_softc *sc, struct ieee80211_channel *c,
ar5416_init_from_rom(struct athn_softc *sc, struct ieee80211_channel *c,
ar5416_init_calib(struct athn_softc *sc, struct ieee80211_channel *c,
ar5416_get_pdadcs(struct athn_softc *sc, struct ieee80211_channel *c,
ar5416_set_power_calib(struct athn_softc *sc, struct ieee80211_channel *c)
ar5416_set_txpower(struct athn_softc *sc, struct ieee80211_channel *c,
int ar5416_attach(struct athn_softc *);
void ar5416_setup(struct athn_softc *);
void ar5416_swap_rom(struct athn_softc *);
ar5416_get_spur_chans(struct athn_softc *, int);
ar5416_spur_mitigate(struct athn_softc *sc, struct ieee80211_channel *c,
int ar5416_set_synth(struct athn_softc *, struct ieee80211_channel *,
uint8_t ar5416_get_rf_rev(struct athn_softc *);
void ar5416_init_from_rom(struct athn_softc *, struct ieee80211_channel *,
ar5416_get_rf_rev(struct athn_softc *sc)
int ar5416_init_calib(struct athn_softc *, struct ieee80211_channel *,
void ar5416_set_power_calib(struct athn_softc *,
void ar5416_set_txpower(struct athn_softc *, struct ieee80211_channel *,
ar5416_rw_bank6tpc(struct athn_softc *sc, struct ieee80211_channel *c,
void ar5416_spur_mitigate(struct athn_softc *, struct ieee80211_channel *,
ar5416_rf_reset(struct athn_softc *sc, struct ieee80211_channel *c)
void ar5416_rw_bank6tpc(struct athn_softc *, struct ieee80211_channel *,
void ar5416_rf_reset(struct athn_softc *, struct ieee80211_channel *);
ar5416_reset_bb_gain(struct athn_softc *sc, struct ieee80211_channel *c)
void ar5416_reset_bb_gain(struct athn_softc *, struct ieee80211_channel *);
void ar5416_force_bias(struct athn_softc *, struct ieee80211_channel *);
ar5416_force_bias(struct athn_softc *sc, struct ieee80211_channel *c)
void ar9160_rw_addac(struct athn_softc *, struct ieee80211_channel *,
void ar5416_reset_addac(struct athn_softc *, struct ieee80211_channel *);
ar9160_rw_addac(struct athn_softc *sc, struct ieee80211_channel *c,
void ar5416_get_pdadcs(struct athn_softc *, struct ieee80211_channel *,
ar5416_reset_addac(struct athn_softc *sc, struct ieee80211_channel *c)
int ar5008_attach(struct athn_softc *);
void ar5008_write_txpower(struct athn_softc *, int16_t power[]);
void ar5008_get_pdadcs(struct athn_softc *, uint8_t, struct athn_pier *,
void ar9003_enable_antenna_diversity(struct athn_softc *);
void ar9003_init_baseband(struct athn_softc *);
void ar9003_disable_phy(struct athn_softc *);
void ar9003_init_chains(struct athn_softc *);
void ar9003_set_rxchains(struct athn_softc *);
void ar9003_read_noisefloor(struct athn_softc *, int16_t *, int16_t *);
ar9003_rx_intr(struct athn_softc *sc, int qid)
void ar9003_write_noisefloor(struct athn_softc *, int16_t *, int16_t *);
ar9003_tx_process(struct athn_softc *sc)
int ar9003_get_noisefloor(struct athn_softc *);
void ar9003_apply_noisefloor(struct athn_softc *);
void ar9003_bb_load_noisefloor(struct athn_softc *);
void ar9003_do_noisefloor_calib(struct athn_softc *);
void ar9003_init_noisefloor_calib(struct athn_softc *);
int ar9003_init_calib(struct athn_softc *);
void ar9003_do_calib(struct athn_softc *);
void ar9003_next_calib(struct athn_softc *);
void ar9003_calib_iq(struct athn_softc *);
ar9003_tx_intr(struct athn_softc *sc)
int ar9003_get_iq_corr(struct athn_softc *, int32_t *, int32_t *);
ar9003_swba_intr(struct athn_softc *sc)
int ar9003_calib_tx_iq(struct athn_softc *);
void ar9003_paprd_calib(struct athn_softc *, struct ieee80211_channel *);
int ar9003_get_desired_txgain(struct athn_softc *, int, int);
void ar9003_force_txgain(struct athn_softc *, uint32_t);
void ar9003_set_training_gain(struct athn_softc *, int);
int ar9003_paprd_tx_tone(struct athn_softc *);
int ar9003_compute_predistortion(struct athn_softc *, const uint32_t *,
void ar9003_enable_predistorter(struct athn_softc *, int);
void ar9003_paprd_enable(struct athn_softc *);
void ar9003_paprd_tx_tone_done(struct athn_softc *);
void ar9003_write_txpower(struct athn_softc *, int16_t *);
void ar9003_reset_rx_gain(struct athn_softc *, struct ieee80211_channel *);
void ar9003_reset_tx_gain(struct athn_softc *, struct ieee80211_channel *);
ar9003_intr(struct athn_softc *sc)
void ar9003_hw_init(struct athn_softc *, struct ieee80211_channel *,
void ar9003_get_lg_tpow(struct athn_softc *, struct ieee80211_channel *,
void ar9003_get_ht_tpow(struct athn_softc *, struct ieee80211_channel *,
ar9003_tx(struct athn_softc *sc, struct mbuf *m, struct ieee80211_node *ni,
void ar9003_set_noise_immunity_level(struct athn_softc *, int);
void ar9003_enable_ofdm_weak_signal(struct athn_softc *);
void ar9003_disable_ofdm_weak_signal(struct athn_softc *);
void ar9003_set_cck_weak_signal(struct athn_softc *, int);
void ar9003_set_firstep_level(struct athn_softc *, int);
void ar9003_set_spur_immunity_level(struct athn_softc *, int);
int athn_txtime(struct athn_softc *, int, int, u_int);
void athn_inc_tx_trigger_level(struct athn_softc *);
int athn_tx_pending(struct athn_softc *, int);
void athn_stop_tx_dma(struct athn_softc *, int);
void athn_config_pcie(struct athn_softc *);
void athn_config_nonpcie(struct athn_softc *);
ar9003_attach(struct athn_softc *sc)
ar9003_set_rf_mode(struct athn_softc *sc, struct ieee80211_channel *c)
ar9003_synth_delay(struct athn_softc *sc)
ar9003_rf_bus_request(struct athn_softc *sc)
ar9003_rf_bus_release(struct athn_softc *sc)
ar9003_set_phy(struct athn_softc *sc, struct ieee80211_channel *c,
ar9003_set_delta_slope(struct athn_softc *sc, struct ieee80211_channel *c,
ar9003_enable_antenna_diversity(struct athn_softc *sc)
ar9003_init_baseband(struct athn_softc *sc)
ar9003_disable_phy(struct athn_softc *sc)
ar9003_init_chains(struct athn_softc *sc)
ar9003_set_rxchains(struct athn_softc *sc)
ar9003_read_noisefloor(struct athn_softc *sc, int16_t *nf, int16_t *nf_ext)
ar9003_write_noisefloor(struct athn_softc *sc, int16_t *nf, int16_t *nf_ext)
ar9003_get_noisefloor(struct athn_softc *sc)
ar9003_bb_load_noisefloor(struct athn_softc *sc)
ar9003_apply_noisefloor(struct athn_softc *sc)
ar9003_do_noisefloor_calib(struct athn_softc *sc)
ar9003_init_noisefloor_calib(struct athn_softc *sc)
ar9003_init_calib(struct athn_softc *sc)
ar9003_do_calib(struct athn_softc *sc)
ar9003_next_calib(struct athn_softc *sc)
ar9003_calib_iq(struct athn_softc *sc)
ar9003_get_iq_corr(struct athn_softc *sc, int32_t res[6], int32_t coeff[2])
ar9003_calib_tx_iq(struct athn_softc *sc)
ar9003_read_eep_word(struct athn_softc *sc, uint32_t addr, uint16_t *val)
ar9003_paprd_calib(struct athn_softc *sc, struct ieee80211_channel *c)
ar9003_get_desired_txgain(struct athn_softc *sc, int chain, int pow)
ar9003_force_txgain(struct athn_softc *sc, uint32_t txgain)
ar9003_read_eep_data(struct athn_softc *sc, uint32_t addr, void *buf, int len)
ar9003_set_training_gain(struct athn_softc *sc, int chain)
ar9003_paprd_tx_tone(struct athn_softc *sc)
ar9003_compute_predistortion(struct athn_softc *sc, const uint32_t *lo,
ar9003_enable_predistorter(struct athn_softc *sc, int chain)
ar9003_paprd_enable(struct athn_softc *sc)
ar9003_read_otp_word(struct athn_softc *sc, uint32_t addr, uint32_t *val)
ar9003_paprd_tx_tone_done(struct athn_softc *sc)
ar9003_write_txpower(struct athn_softc *sc, int16_t power[ATHN_POWER_COUNT])
ar9003_reset_rx_gain(struct athn_softc *sc, struct ieee80211_channel *c)
ar9003_reset_tx_gain(struct athn_softc *sc, struct ieee80211_channel *c)
ar9003_hw_init(struct athn_softc *sc, struct ieee80211_channel *c,
ar9003_read_otp_data(struct athn_softc *sc, uint32_t addr, void *buf, int len)
ar9003_get_lg_tpow(struct athn_softc *sc, struct ieee80211_channel *c,
ar9003_get_ht_tpow(struct athn_softc *sc, struct ieee80211_channel *c,
ar9003_set_noise_immunity_level(struct athn_softc *sc, int level)
ar9003_enable_ofdm_weak_signal(struct athn_softc *sc)
ar9003_disable_ofdm_weak_signal(struct athn_softc *sc)
ar9003_set_cck_weak_signal(struct athn_softc *sc, int high)
ar9003_set_firstep_level(struct athn_softc *sc, int level)
ar9003_set_spur_immunity_level(struct athn_softc *sc, int level)
ar9003_find_rom(struct athn_softc *sc)
ar9003_restore_rom_block(struct athn_softc *sc, uint8_t alg, uint8_t ref,
ar9003_read_rom(struct athn_softc *sc)
ar9003_gpio_read(struct athn_softc *sc, int pin)
ar9003_gpio_write(struct athn_softc *sc, int pin, int set)
ar9003_gpio_config_input(struct athn_softc *sc, int pin)
ar9003_gpio_config_output(struct athn_softc *sc, int pin, int type)
ar9003_rfsilent_init(struct athn_softc *sc)
ar9003_dma_alloc(struct athn_softc *sc)
ar9003_dma_free(struct athn_softc *sc)
ar9003_tx_alloc(struct athn_softc *sc)
int ar9003_attach(struct athn_softc *);
int ar9003_read_eep_word(struct athn_softc *, uint32_t, uint16_t *);
int ar9003_read_eep_data(struct athn_softc *, uint32_t, void *, int);
int ar9003_read_otp_word(struct athn_softc *, uint32_t, uint32_t *);
int ar9003_read_otp_data(struct athn_softc *, uint32_t, void *, int);
int ar9003_find_rom(struct athn_softc *);
int ar9003_restore_rom_block(struct athn_softc *, uint8_t, uint8_t,
ar9003_tx_free(struct athn_softc *sc)
int ar9003_read_rom(struct athn_softc *);
int ar9003_gpio_read(struct athn_softc *, int);
void ar9003_gpio_write(struct athn_softc *, int, int);
ar9003_rx_alloc(struct athn_softc *sc, int qid, int count)
void ar9003_gpio_config_input(struct athn_softc *, int);
void ar9003_gpio_config_output(struct athn_softc *, int, int);
void ar9003_rfsilent_init(struct athn_softc *);
int ar9003_dma_alloc(struct athn_softc *);
void ar9003_dma_free(struct athn_softc *);
int ar9003_tx_alloc(struct athn_softc *);
ar9003_rx_free(struct athn_softc *sc, int qid)
void ar9003_tx_free(struct athn_softc *);
ar9003_reset_txsring(struct athn_softc *sc)
int ar9003_rx_alloc(struct athn_softc *, int, int);
void ar9003_rx_free(struct athn_softc *, int);
ar9003_rx_enable(struct athn_softc *sc)
void ar9003_reset_txsring(struct athn_softc *);
void ar9003_rx_enable(struct athn_softc *);
void ar9003_rx_radiotap(struct athn_softc *, struct mbuf *,
ar9003_rx_radiotap(struct athn_softc *sc, struct mbuf *m,
int ar9003_rx_process(struct athn_softc *, int, struct mbuf_list *);
void ar9003_rx_intr(struct athn_softc *, int);
int ar9003_tx_process(struct athn_softc *);
void ar9003_tx_intr(struct athn_softc *);
int ar9003_swba_intr(struct athn_softc *);
int ar9003_intr(struct athn_softc *);
ar9003_rx_process(struct athn_softc *sc, int qid, struct mbuf_list *ml)
int ar9003_tx(struct athn_softc *, struct mbuf *, struct ieee80211_node *,
void ar9003_set_rf_mode(struct athn_softc *, struct ieee80211_channel *);
int ar9003_rf_bus_request(struct athn_softc *);
void ar9003_rf_bus_release(struct athn_softc *);
void ar9003_set_phy(struct athn_softc *, struct ieee80211_channel *,
void ar9003_set_delta_slope(struct athn_softc *, struct ieee80211_channel *,
ar9280_setup(struct athn_softc *sc)
ar9280_set_synth(struct athn_softc *sc, struct ieee80211_channel *c,
ar9280_init_from_rom(struct athn_softc *sc, struct ieee80211_channel *c,
ar9280_olpc_get_pdadcs(struct athn_softc *sc, struct ieee80211_channel *c,
ar9280_spur_mitigate(struct athn_softc *sc, struct ieee80211_channel *c,
ar9280_reset_rx_gain(struct athn_softc *sc, struct ieee80211_channel *c)
ar9280_reset_tx_gain(struct athn_softc *sc, struct ieee80211_channel *c)
ar9280_olpc_init(struct athn_softc *sc)
ar9280_olpc_temp_compensation(struct athn_softc *sc)
int ar9280_attach(struct athn_softc *);
void ar9280_setup(struct athn_softc *);
int ar9280_set_synth(struct athn_softc *, struct ieee80211_channel *,
void ar9280_init_from_rom(struct athn_softc *, struct ieee80211_channel *,
void ar9280_spur_mitigate(struct athn_softc *, struct ieee80211_channel *,
void ar9280_olpc_get_pdadcs(struct athn_softc *,
void ar9280_reset_rx_gain(struct athn_softc *, struct ieee80211_channel *);
void ar9280_reset_tx_gain(struct athn_softc *, struct ieee80211_channel *);
void ar9280_olpc_init(struct athn_softc *);
void ar9280_olpc_temp_compensation(struct athn_softc *);
int ar5008_attach(struct athn_softc *);
void ar5008_set_viterbi_mask(struct athn_softc *, int);
void ar5416_swap_rom(struct athn_softc *);
void ar5416_set_txpower(struct athn_softc *, struct ieee80211_channel *,
ar5416_get_spur_chans(struct athn_softc *, int);
ar9280_attach(struct athn_softc *sc)
ar9285_attach(struct athn_softc *sc)
ar9285_setup(struct athn_softc *sc)
ar9285_swap_rom(struct athn_softc *sc)
ar9285_get_spur_chans(struct athn_softc *sc, int is2ghz)
ar9285_init_from_rom(struct athn_softc *sc, struct ieee80211_channel *c,
ar9285_pa_calib(struct athn_softc *sc)
ar9271_pa_calib(struct athn_softc *sc)
ar9285_cl_cal(struct athn_softc *sc, struct ieee80211_channel *c,
ar9271_load_ani(struct athn_softc *sc)
int ar9285_attach(struct athn_softc *);
ar9285_init_calib(struct athn_softc *sc, struct ieee80211_channel *c,
void ar9285_setup(struct athn_softc *);
void ar9285_swap_rom(struct athn_softc *);
const struct ar_spur_chan *ar9285_get_spur_chans(struct athn_softc *, int);
void ar9285_init_from_rom(struct athn_softc *, struct ieee80211_channel *,
void ar9285_pa_calib(struct athn_softc *);
ar9285_get_pdadcs(struct athn_softc *sc, struct ieee80211_channel *c,
void ar9271_pa_calib(struct athn_softc *);
int ar9285_cl_cal(struct athn_softc *, struct ieee80211_channel *,
ar9285_set_power_calib(struct athn_softc *sc, struct ieee80211_channel *c)
void ar9271_load_ani(struct athn_softc *);
int ar9285_init_calib(struct athn_softc *, struct ieee80211_channel *,
void ar9285_get_pdadcs(struct athn_softc *, struct ieee80211_channel *,
ar9285_set_txpower(struct athn_softc *sc, struct ieee80211_channel *c,
void ar9285_set_power_calib(struct athn_softc *,
void ar9285_set_txpower(struct athn_softc *, struct ieee80211_channel *,
int ar5008_attach(struct athn_softc *);
void ar5008_write_txpower(struct athn_softc *, int16_t power[]);
void ar5008_get_pdadcs(struct athn_softc *, uint8_t, struct athn_pier *,
void ar5008_get_lg_tpow(struct athn_softc *, struct ieee80211_channel *,
void ar5008_get_ht_tpow(struct athn_softc *, struct ieee80211_channel *,
int ar9280_set_synth(struct athn_softc *, struct ieee80211_channel *,
void ar9280_spur_mitigate(struct athn_softc *, struct ieee80211_channel *,
ar9287_attach(struct athn_softc *sc)
ar9287_setup(struct athn_softc *sc)
ar9287_swap_rom(struct athn_softc *sc)
ar9287_get_spur_chans(struct athn_softc *sc, int is2ghz)
ar9287_init_from_rom(struct athn_softc *sc, struct ieee80211_channel *c,
ar9287_get_pdadcs(struct athn_softc *sc, struct ieee80211_channel *c,
ar9287_olpc_get_pdgain(struct athn_softc *sc, struct ieee80211_channel *c,
ar9287_set_power_calib(struct athn_softc *sc, struct ieee80211_channel *c)
ar9287_set_txpower(struct athn_softc *sc, struct ieee80211_channel *c,
ar9287_olpc_init(struct athn_softc *sc)
ar9287_olpc_temp_compensation(struct athn_softc *sc)
ar9287_1_3_enable_async_fifo(struct athn_softc *sc)
ar9287_1_3_setup_async_fifo(struct athn_softc *sc)
int ar9287_attach(struct athn_softc *);
void ar9287_setup(struct athn_softc *);
void ar9287_swap_rom(struct athn_softc *);
const struct ar_spur_chan *ar9287_get_spur_chans(struct athn_softc *, int);
void ar9287_init_from_rom(struct athn_softc *, struct ieee80211_channel *,
void ar9287_get_pdadcs(struct athn_softc *, struct ieee80211_channel *,
void ar9287_olpc_get_pdgain(struct athn_softc *, struct ieee80211_channel *,
void ar9287_set_power_calib(struct athn_softc *,
void ar9287_set_txpower(struct athn_softc *, struct ieee80211_channel *,
void ar9287_olpc_init(struct athn_softc *);
void ar9287_olpc_temp_compensation(struct athn_softc *);
void ar9287_1_3_enable_async_fifo(struct athn_softc *);
void ar9287_1_3_setup_async_fifo(struct athn_softc *);
int ar5008_attach(struct athn_softc *);
void ar5008_write_txpower(struct athn_softc *, int16_t power[]);
void ar5008_get_pdadcs(struct athn_softc *, uint8_t, struct athn_pier *,
void ar5008_get_lg_tpow(struct athn_softc *, struct ieee80211_channel *,
void ar5008_get_ht_tpow(struct athn_softc *, struct ieee80211_channel *,
int ar9280_set_synth(struct athn_softc *, struct ieee80211_channel *,
void ar9280_spur_mitigate(struct athn_softc *, struct ieee80211_channel *,
ar9380_attach(struct athn_softc *sc)
ar9380_setup(struct athn_softc *sc)
ar9380_get_rom_template(struct athn_softc *sc, uint8_t ref)
ar9380_swap_rom(struct athn_softc *sc)
ar9380_get_paprd_masks(struct athn_softc *sc, struct ieee80211_channel *c,
ar9380_set_synth(struct athn_softc *sc, struct ieee80211_channel *c,
ar9380_init_from_rom(struct athn_softc *sc, struct ieee80211_channel *c,
ar9380_init_swreg(struct athn_softc *sc)
ar9485_pmu_write(struct athn_softc *sc, uint32_t addr, uint32_t val)
ar9485_init_swreg(struct athn_softc *sc)
ar9380_spur_mitigate_cck(struct athn_softc *sc, struct ieee80211_channel *c,
ar9380_spur_mitigate_ofdm(struct athn_softc *sc, struct ieee80211_channel *c,
int ar9380_attach(struct athn_softc *);
void ar9380_setup(struct athn_softc *);
const uint8_t *ar9380_get_rom_template(struct athn_softc *, uint8_t);
void ar9380_swap_rom(struct athn_softc *);
int ar9380_set_synth(struct athn_softc *, struct ieee80211_channel *,
void ar9380_get_paprd_masks(struct athn_softc *, struct ieee80211_channel *,
ar9380_spur_mitigate(struct athn_softc *sc, struct ieee80211_channel *c,
void ar9380_init_from_rom(struct athn_softc *, struct ieee80211_channel *,
ar9380_set_txpower(struct athn_softc *sc, struct ieee80211_channel *c,
void ar9380_init_swreg(struct athn_softc *);
int ar9485_pmu_write(struct athn_softc *, uint32_t, uint32_t);
void ar9485_init_swreg(struct athn_softc *);
void ar9380_spur_mitigate_cck(struct athn_softc *,
void ar9380_spur_mitigate_ofdm(struct athn_softc *,
void ar9380_spur_mitigate(struct athn_softc *, struct ieee80211_channel *,
void ar9380_set_txpower(struct athn_softc *, struct ieee80211_channel *,
ar9380_get_correction(struct athn_softc *sc, struct ieee80211_channel *c,
void ar9380_get_correction(struct athn_softc *, struct ieee80211_channel *,
ar9380_set_correction(struct athn_softc *sc, struct ieee80211_channel *c)
void ar9380_set_correction(struct athn_softc *, struct ieee80211_channel *);
int ar9003_attach(struct athn_softc *);
void ar9003_write_txpower(struct athn_softc *, int16_t power[]);
void ar9003_get_lg_tpow(struct athn_softc *, struct ieee80211_channel *,
void ar9003_get_ht_tpow(struct athn_softc *, struct ieee80211_channel *,
void athn_filter_noisefloor(struct athn_softc *);
void athn_start_noisefloor_calib(struct athn_softc *, int);
struct athn_softc *sc = ic->ic_softc;
int athn_init_calib(struct athn_softc *,
void athn_init_dma(struct athn_softc *);
void athn_rx_start(struct athn_softc *);
struct athn_softc *sc = ic->ic_softc;
void athn_inc_tx_trigger_level(struct athn_softc *);
athn_led_init(struct athn_softc *sc)
int athn_stop_rx_dma(struct athn_softc *);
athn_set_led(struct athn_softc *sc, int on)
int athn_rx_abort(struct athn_softc *);
athn_btcoex_init(struct athn_softc *sc)
void athn_tx_reclaim(struct athn_softc *, int);
int athn_tx_pending(struct athn_softc *, int);
void athn_stop_tx_dma(struct athn_softc *, int);
int athn_txtime(struct athn_softc *, int, int, u_int);
athn_btcoex_enable(struct athn_softc *sc)
void athn_set_sta_timers(struct athn_softc *);
void athn_set_hostap_timers(struct athn_softc *);
void athn_set_opmode(struct athn_softc *);
void athn_set_bss(struct athn_softc *, struct ieee80211_node *);
athn_btcoex_disable(struct athn_softc *sc)
void athn_enable_interrupts(struct athn_softc *);
void athn_disable_interrupts(struct athn_softc *);
void athn_init_qos(struct athn_softc *);
struct athn_softc *sc = arg;
int athn_hw_reset(struct athn_softc *, struct ieee80211_channel *,
athn_cap_noisefloor(struct athn_softc *sc, int nf)
athn_filter_noisefloor(struct athn_softc *sc)
athn_start_noisefloor_calib(struct athn_softc *sc, int reset_history)
struct athn_softc *sc = arg;
int athn_clock_rate(struct athn_softc *);
void athn_setsifs(struct athn_softc *);
void athn_setacktimeout(struct athn_softc *,
athn_init_calib(struct athn_softc *sc, struct ieee80211_channel *c,
void athn_setctstimeout(struct athn_softc *,
void athn_setclockrate(struct athn_softc *);
athn_ani_get_rssi(struct athn_softc *sc)
athn_ani_ofdm_err_trigger(struct athn_softc *sc)
void athn_set_multi(struct athn_softc *);
void athn_init_tx_queues(struct athn_softc *);
int32_t athn_ani_get_rssi(struct athn_softc *);
void athn_ani_ofdm_err_trigger(struct athn_softc *);
void athn_ani_cck_err_trigger(struct athn_softc *);
athn_ani_cck_err_trigger(struct athn_softc *sc)
void athn_ani_lower_immunity(struct athn_softc *);
void athn_ani_restart(struct athn_softc *);
void athn_ani_monitor(struct athn_softc *);
athn_ani_lower_immunity(struct athn_softc *sc)
int ar5416_attach(struct athn_softc *);
int ar9280_attach(struct athn_softc *);
int ar9285_attach(struct athn_softc *);
int ar9287_attach(struct athn_softc *);
int ar9380_attach(struct athn_softc *);
athn_ani_restart(struct athn_softc *sc)
int ar5416_init_calib(struct athn_softc *,
athn_ani_monitor(struct athn_softc *sc)
int ar9285_init_calib(struct athn_softc *,
int ar9003_init_calib(struct athn_softc *);
void ar9285_pa_calib(struct athn_softc *);
void ar9271_pa_calib(struct athn_softc *);
void ar9287_1_3_enable_async_fifo(struct athn_softc *);
void ar9287_1_3_setup_async_fifo(struct athn_softc *);
void ar9003_reset_txsring(struct athn_softc *);
athn_init_dma(struct athn_softc *sc)
athn_config_ht(struct athn_softc *sc)
athn_inc_tx_trigger_level(struct athn_softc *sc)
athn_stop_rx_dma(struct athn_softc *sc)
athn_rx_abort(struct athn_softc *sc)
athn_tx_reclaim(struct athn_softc *sc, int qid)
athn_tx_pending(struct athn_softc *sc, int qid)
athn_stop_tx_dma(struct athn_softc *sc, int qid)
athn_txtime(struct athn_softc *sc, int len, int ridx, u_int flags)
athn_init_tx_queues(struct athn_softc *sc)
athn_set_sta_timers(struct athn_softc *sc)
athn_set_hostap_timers(struct athn_softc *sc)
athn_set_opmode(struct athn_softc *sc)
athn_set_bss(struct athn_softc *sc, struct ieee80211_node *ni)
athn_enable_interrupts(struct athn_softc *sc)
athn_disable_interrupts(struct athn_softc *sc)
athn_init_qos(struct athn_softc *sc)
athn_hw_reset(struct athn_softc *sc, struct ieee80211_channel *c,
athn_attach(struct athn_softc *sc)
struct athn_softc *sc = ic->ic_softc;
struct athn_softc *sc = ifp->if_softc;
struct athn_softc *sc = arg;
struct athn_softc *sc = ifp->if_softc;
struct athn_softc *sc = ic->ic_softc;
athn_clock_rate(struct athn_softc *sc)
athn_setsifs(struct athn_softc *sc)
athn_setacktimeout(struct athn_softc *sc, struct ieee80211_channel *c, int slot)
athn_setctstimeout(struct athn_softc *sc, struct ieee80211_channel *c, int slot)
athn_setclockrate(struct athn_softc *sc)
struct athn_softc *sc = ic->ic_softc;
struct athn_softc *sc = ifp->if_softc;
struct athn_softc *sc = ifp->if_softc;
athn_set_multi(struct athn_softc *sc)
struct athn_softc *sc = ifp->if_softc;
struct athn_softc *sc = ifp->if_softc;
struct athn_softc *sc = ifp->if_softc;
athn_suspend(struct athn_softc *sc)
athn_wakeup(struct athn_softc *sc)
athn_detach(struct athn_softc *sc)
athn_radiotap_attach(struct athn_softc *sc)
athn_get_chanlist(struct athn_softc *sc)
athn_rx_start(struct athn_softc *sc)
athn_set_rxfilter(struct athn_softc *sc, uint32_t rfilt)
struct athn_softc *sc = xsc;
athn_get_chipid(struct athn_softc *sc)
athn_get_mac_name(struct athn_softc *sc)
athn_get_rf_name(struct athn_softc *sc)
athn_reset_power_on(struct athn_softc *sc)
void athn_radiotap_attach(struct athn_softc *);
athn_reset(struct athn_softc *sc, int cold)
void athn_get_chanlist(struct athn_softc *);
const char * athn_get_mac_name(struct athn_softc *);
const char * athn_get_rf_name(struct athn_softc *);
void athn_led_init(struct athn_softc *);
athn_set_power_awake(struct athn_softc *sc)
void athn_set_led(struct athn_softc *, int);
void athn_btcoex_init(struct athn_softc *);
void athn_btcoex_enable(struct athn_softc *);
athn_set_power_sleep(struct athn_softc *sc)
void athn_btcoex_disable(struct athn_softc *);
void athn_set_rxfilter(struct athn_softc *, uint32_t);
athn_init_pll(struct athn_softc *sc, const struct ieee80211_channel *c)
void athn_get_chipid(struct athn_softc *);
int athn_reset_power_on(struct athn_softc *);
int athn_reset(struct athn_softc *, int);
void athn_init_pll(struct athn_softc *,
athn_write_serdes(struct athn_softc *sc, const struct athn_serdes *serdes)
int athn_set_power_awake(struct athn_softc *);
athn_config_pcie(struct athn_softc *sc)
void athn_set_power_sleep(struct athn_softc *);
void athn_write_serdes(struct athn_softc *,
void athn_config_pcie(struct athn_softc *);
void athn_config_nonpcie(struct athn_softc *);
athn_config_nonpcie(struct athn_softc *sc)
int athn_set_chan(struct athn_softc *, struct ieee80211_channel *,
athn_set_chan(struct athn_softc *sc, struct ieee80211_channel *c,
int athn_switch_chan(struct athn_softc *,
athn_switch_chan(struct athn_softc *sc, struct ieee80211_channel *c,
void athn_reset_key(struct athn_softc *, int);
int athn_cap_noisefloor(struct athn_softc *, int);
athn_reset_key(struct athn_softc *sc, int entry)
struct athn_softc;
uint32_t (*read)(struct athn_softc *, uint32_t);
void (*write)(struct athn_softc *, uint32_t, uint32_t);
void (*write_barrier)(struct athn_softc *);
void (*setup)(struct athn_softc *);
void (*set_txpower)(struct athn_softc *, struct ieee80211_channel *,
void (*spur_mitigate)(struct athn_softc *,
(*get_spur_chans)(struct athn_softc *, int);
void (*init_from_rom)(struct athn_softc *,
int (*set_synth)(struct athn_softc *, struct ieee80211_channel *,
int (*read_rom_data)(struct athn_softc *, uint32_t, void *, int);
(*get_rom_template)(struct athn_softc *, uint8_t);
void (*swap_rom)(struct athn_softc *);
void (*olpc_init)(struct athn_softc *);
void (*olpc_temp_compensation)(struct athn_softc *);
int (*gpio_read)(struct athn_softc *, int);
void (*gpio_write)(struct athn_softc *, int, int);
void (*gpio_config_input)(struct athn_softc *, int);
void (*gpio_config_output)(struct athn_softc *, int, int);
void (*rfsilent_init)(struct athn_softc *);
int (*dma_alloc)(struct athn_softc *);
void (*dma_free)(struct athn_softc *);
void (*rx_enable)(struct athn_softc *);
int (*intr)(struct athn_softc *);
int (*tx)(struct athn_softc *, struct mbuf *,
void (*set_rf_mode)(struct athn_softc *,
int (*rf_bus_request)(struct athn_softc *);
void (*rf_bus_release)(struct athn_softc *);
void (*set_phy)(struct athn_softc *, struct ieee80211_channel *,
void (*set_delta_slope)(struct athn_softc *,
void (*enable_antenna_diversity)(struct athn_softc *);
void (*init_baseband)(struct athn_softc *);
void (*disable_phy)(struct athn_softc *);
void (*set_rxchains)(struct athn_softc *);
void (*noisefloor_calib)(struct athn_softc *);
void (*init_noisefloor_calib)(struct athn_softc *);
int (*get_noisefloor)(struct athn_softc *);
void (*apply_noisefloor)(struct athn_softc *);
void (*do_calib)(struct athn_softc *);
void (*next_calib)(struct athn_softc *);
void (*hw_init)(struct athn_softc *, struct ieee80211_channel *,
void (*get_paprd_masks)(struct athn_softc *sc,
void (*set_noise_immunity_level)(struct athn_softc *, int);
void (*enable_ofdm_weak_signal)(struct athn_softc *);
void (*disable_ofdm_weak_signal)(struct athn_softc *);
void (*set_cck_weak_signal)(struct athn_softc *, int);
void (*set_firstep_level)(struct athn_softc *, int);
void (*set_spur_immunity_level)(struct athn_softc *, int);
int (*sc_enable)(struct athn_softc *);
void (*sc_disable)(struct athn_softc *);
void (*sc_power)(struct athn_softc *, int);
void (*sc_disable_aspm)(struct athn_softc *);
struct athn_softc *);
extern int athn_attach(struct athn_softc *);
extern void athn_detach(struct athn_softc *);
extern void athn_suspend(struct athn_softc *);
extern void athn_wakeup(struct athn_softc *);
struct athn_softc *sc = &psc->sc_sc;
struct athn_softc *sc = &psc->sc_sc;
struct athn_softc *sc = &psc->sc_sc;
struct athn_softc *sc = &psc->sc_sc;
athn_pci_read(struct athn_softc *sc, uint32_t addr)
athn_pci_write(struct athn_softc *sc, uint32_t addr, uint32_t val)
athn_pci_write_barrier(struct athn_softc *sc)
athn_pci_disable_aspm(struct athn_softc *sc)
struct athn_softc sc_sc;
uint32_t athn_pci_read(struct athn_softc *, uint32_t);
void athn_pci_write(struct athn_softc *, uint32_t, uint32_t);
void athn_pci_write_barrier(struct athn_softc *);
void athn_pci_disable_aspm(struct athn_softc *);
struct athn_softc *sc = &usc->sc_sc;
struct athn_softc *sc = &usc->sc_sc;
int athn_usb_read_rom(struct athn_softc *);
uint32_t athn_usb_read(struct athn_softc *, uint32_t);
void athn_usb_write(struct athn_softc *, uint32_t, uint32_t);
void athn_usb_write_barrier(struct athn_softc *);
athn_usb_rx_enable(struct athn_softc *sc)
athn_usb_switch_chan(struct athn_softc *sc, struct ieee80211_channel *c,
void athn_usb_rx_enable(struct athn_softc *);
int athn_set_chan(struct athn_softc *, struct ieee80211_channel *,
int athn_usb_switch_chan(struct athn_softc *,
struct athn_softc *sc = &usc->sc_sc;
void athn_usb_rx_radiotap(struct athn_softc *, struct mbuf *,
int athn_usb_tx(struct athn_softc *, struct mbuf *,
void ar9271_load_ani(struct athn_softc *);
int ar5008_ccmp_decap(struct athn_softc *, struct mbuf *,
athn_usb_rx_radiotap(struct athn_softc *sc, struct mbuf *m,
void athn_led_init(struct athn_softc *);
void athn_set_led(struct athn_softc *, int);
struct athn_softc *sc = &usc->sc_sc;
void athn_btcoex_init(struct athn_softc *);
void athn_set_rxfilter(struct athn_softc *, uint32_t);
int athn_reset(struct athn_softc *, int);
void athn_init_pll(struct athn_softc *,
int athn_set_power_awake(struct athn_softc *);
void athn_set_power_sleep(struct athn_softc *);
void athn_reset_key(struct athn_softc *, int);
struct athn_softc *sc = &usc->sc_sc;
void athn_rx_start(struct athn_softc *);
void athn_set_sta_timers(struct athn_softc *);
void athn_set_hostap_timers(struct athn_softc *);
void athn_set_opmode(struct athn_softc *);
void athn_set_bss(struct athn_softc *, struct ieee80211_node *);
int athn_hw_reset(struct athn_softc *, struct ieee80211_channel *,
struct athn_softc *sc = &usc->sc_sc;
athn_usb_tx(struct athn_softc *sc, struct mbuf *m, struct ieee80211_node *ni)
struct athn_softc *sc = ifp->if_softc;
struct athn_softc *sc = ifp->if_softc;
struct athn_softc *sc = &usc->sc_sc;
struct athn_softc *sc = ifp->if_softc;
struct athn_softc *sc = ifp->if_softc;
struct athn_softc *sc = ifp->if_softc;
struct athn_softc *sc = &usc->sc_sc;
struct athn_softc *sc = &usc->sc_sc;
athn_usb_read_rom(struct athn_softc *sc)
athn_usb_read(struct athn_softc *sc, uint32_t addr)
athn_usb_write(struct athn_softc *sc, uint32_t addr, uint32_t val)
athn_usb_write_barrier(struct athn_softc *sc)
struct athn_softc sc_sc;