aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/hw.h
diff options
context:
space:
mode:
authorMohammed Shafi Shajakhan <mshajakhan@atheros.com>2011-05-13 10:59:04 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-05-16 14:10:42 -0400
commit69de3721750ea4fae504be9e67f140cafe1c7a89 (patch)
tree83aa51c87a04646b881c4f95a8375727d5022380 /drivers/net/wireless/ath/ath9k/hw.h
parentbd2281b85d929af0bd192f05135f70dd05f4fd85 (diff)
ath9k_hw: make antenna diversity modules chip specific
this is necessary to support Antenna diversity and combining in new chip sets such as AR9485, previously Antenna diversity support is available only in AR9285 Cc: Gabriel Tseng <Gabriel.Tseng@Atheros.com> Cc: Senthilkumar Balasubramanian <Senthilkumar.Balasubramanian@Atheros.com> Signed-off-by: Mohammed Shafi Shajakhan <mshajakhan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h
index b2248bba25a2..67cca10bf4c9 100644
--- a/drivers/net/wireless/ath/ath9k/hw.h
+++ b/drivers/net/wireless/ath/ath9k/hw.h
@@ -629,6 +629,11 @@ struct ath_hw_ops {
629 void (*set11n_aggr_last)(struct ath_hw *ah, void *ds); 629 void (*set11n_aggr_last)(struct ath_hw *ah, void *ds);
630 void (*clr11n_aggr)(struct ath_hw *ah, void *ds); 630 void (*clr11n_aggr)(struct ath_hw *ah, void *ds);
631 void (*set_clrdmask)(struct ath_hw *ah, void *ds, bool val); 631 void (*set_clrdmask)(struct ath_hw *ah, void *ds, bool val);
632 void (*antdiv_comb_conf_get)(struct ath_hw *ah,
633 struct ath_hw_antcomb_conf *antconf);
634 void (*antdiv_comb_conf_set)(struct ath_hw *ah,
635 struct ath_hw_antcomb_conf *antconf);
636
632}; 637};
633 638
634struct ath_nf_limits { 639struct ath_nf_limits {
@@ -904,10 +909,6 @@ void ath9k_hw_cfg_output(struct ath_hw *ah, u32 gpio,
904void ath9k_hw_set_gpio(struct ath_hw *ah, u32 gpio, u32 val); 909void ath9k_hw_set_gpio(struct ath_hw *ah, u32 gpio, u32 val);
905u32 ath9k_hw_getdefantenna(struct ath_hw *ah); 910u32 ath9k_hw_getdefantenna(struct ath_hw *ah);
906void ath9k_hw_setantenna(struct ath_hw *ah, u32 antenna); 911void ath9k_hw_setantenna(struct ath_hw *ah, u32 antenna);
907void ath9k_hw_antdiv_comb_conf_get(struct ath_hw *ah,
908 struct ath_hw_antcomb_conf *antconf);
909void ath9k_hw_antdiv_comb_conf_set(struct ath_hw *ah,
910 struct ath_hw_antcomb_conf *antconf);
911 912
912/* General Operation */ 913/* General Operation */
913bool ath9k_hw_wait(struct ath_hw *ah, u32 reg, u32 mask, u32 val, u32 timeout); 914bool ath9k_hw_wait(struct ath_hw *ah, u32 reg, u32 mask, u32 val, u32 timeout);