diff options
author | Vasanthakumar Thiagarajan <vasanth@atheros.com> | 2010-09-02 01:34:42 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-09-07 13:54:33 -0400 |
commit | 21cc630f47d8589a42d563e89be4c631edbe8716 (patch) | |
tree | 82ed06d5a1a677f1cb74e9a9abd3ae7cb5302872 /drivers/net/wireless/ath/ath9k/hw.h | |
parent | 754dc53641e0038cd4fd3574b1f5b3c7239f73ce (diff) | |
download | kernel_samsung_tuna-21cc630f47d8589a42d563e89be4c631edbe8716.zip kernel_samsung_tuna-21cc630f47d8589a42d563e89be4c631edbe8716.tar.gz kernel_samsung_tuna-21cc630f47d8589a42d563e89be4c631edbe8716.tar.bz2 |
ath9k_hw: Add functions to get/set antenna diversity configuration
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@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.h | 10 |
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 1a0efbd..197c717 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 { } timer_mask; }; +struct ath_hw_antcomb_conf { + u8 main_lna_conf; + u8 alt_lna_conf; + u8 fast_div_bias; +}; + /** * struct ath_hw_private_ops - callbacks used internally by hardware code * @@ -889,6 +895,10 @@ void ath9k_hw_cfg_output(struct ath_hw *ah, u32 gpio, void ath9k_hw_set_gpio(struct ath_hw *ah, u32 gpio, u32 val); u32 ath9k_hw_getdefantenna(struct ath_hw *ah); void ath9k_hw_setantenna(struct ath_hw *ah, u32 antenna); +void ath9k_hw_antdiv_comb_conf_get(struct ath_hw *ah, + struct ath_hw_antcomb_conf *antconf); +void ath9k_hw_antdiv_comb_conf_set(struct ath_hw *ah, + struct ath_hw_antcomb_conf *antconf); /* General Operation */ bool ath9k_hw_wait(struct ath_hw *ah, u32 reg, u32 mask, u32 val, u32 timeout); |