diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-10-19 21:08:53 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-11-15 13:23:14 -0500 |
commit | de40f316c01b1ba9535e6dc99f6a67e7655b07da (patch) | |
tree | 65a2b4647415eb0f2f878fc56ae559576449e8f1 /drivers/net/wireless/ath/ath9k/hw.h | |
parent | 6b7b6cf553f881d45bb37a73f5db956afb290a08 (diff) |
ath9k_hw: extend ath9k_hw_set_txpowerlimit to test channel txpower
ath9k_hw_set_txpowerlimit gets an extra boolean parameter that - if set -
causes the rate txpower table and the regulatory limit to be calculated
and stored, without changing hardware registers.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h index e68204ae899c..366f088dc15d 100644 --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h | |||
@@ -860,7 +860,7 @@ u32 ath9k_hw_getrxfilter(struct ath_hw *ah); | |||
860 | void ath9k_hw_setrxfilter(struct ath_hw *ah, u32 bits); | 860 | void ath9k_hw_setrxfilter(struct ath_hw *ah, u32 bits); |
861 | bool ath9k_hw_phy_disable(struct ath_hw *ah); | 861 | bool ath9k_hw_phy_disable(struct ath_hw *ah); |
862 | bool ath9k_hw_disable(struct ath_hw *ah); | 862 | bool ath9k_hw_disable(struct ath_hw *ah); |
863 | void ath9k_hw_set_txpowerlimit(struct ath_hw *ah, u32 limit); | 863 | void ath9k_hw_set_txpowerlimit(struct ath_hw *ah, u32 limit, bool test); |
864 | void ath9k_hw_setopmode(struct ath_hw *ah); | 864 | void ath9k_hw_setopmode(struct ath_hw *ah); |
865 | void ath9k_hw_setmcastfilter(struct ath_hw *ah, u32 filter0, u32 filter1); | 865 | void ath9k_hw_setmcastfilter(struct ath_hw *ah, u32 filter0, u32 filter1); |
866 | void ath9k_hw_setbssidmask(struct ath_hw *ah); | 866 | void ath9k_hw_setbssidmask(struct ath_hw *ah); |