aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/hw.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h
index 1a0efbd03e4f..197c717286e7 100644
--- a/drivers/net/wireless/ath/ath9k/hw.h
+++ b/drivers/net/wireless/ath/ath9k/hw.h
@@ -496,6 +496,12 @@ struct ath_gen_timer_table {
496 } timer_mask; 496 } timer_mask;
497}; 497};
498 498
499struct ath_hw_antcomb_conf {
500 u8 main_lna_conf;
501 u8 alt_lna_conf;
502 u8 fast_div_bias;
503};
504
499/** 505/**
500 * struct ath_hw_private_ops - callbacks used internally by hardware code 506 * struct ath_hw_private_ops - callbacks used internally by hardware code
501 * 507 *
@@ -889,6 +895,10 @@ void ath9k_hw_cfg_output(struct ath_hw *ah, u32 gpio,
889void ath9k_hw_set_gpio(struct ath_hw *ah, u32 gpio, u32 val); 895void ath9k_hw_set_gpio(struct ath_hw *ah, u32 gpio, u32 val);
890u32 ath9k_hw_getdefantenna(struct ath_hw *ah); 896u32 ath9k_hw_getdefantenna(struct ath_hw *ah);
891void ath9k_hw_setantenna(struct ath_hw *ah, u32 antenna); 897void ath9k_hw_setantenna(struct ath_hw *ah, u32 antenna);
898void ath9k_hw_antdiv_comb_conf_get(struct ath_hw *ah,
899 struct ath_hw_antcomb_conf *antconf);
900void ath9k_hw_antdiv_comb_conf_set(struct ath_hw *ah,
901 struct ath_hw_antcomb_conf *antconf);
892 902
893/* General Operation */ 903/* General Operation */
894bool ath9k_hw_wait(struct ath_hw *ah, u32 reg, u32 mask, u32 val, u32 timeout); 904bool ath9k_hw_wait(struct ath_hw *ah, u32 reg, u32 mask, u32 val, u32 timeout);