diff options
author | Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> | 2015-02-17 10:12:17 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-03-03 15:36:01 +0200 |
commit | 283dd11994cde99447a6dac203d96c0800e85e82 (patch) | |
tree | e1d24f454786c9a90a5b84c162fd813af26233f2 /drivers/net/wireless/ath/ath9k/ath9k.h | |
parent | be1f8d31c93b770347b2cc9e2dd37189baf1177f (diff) | |
download | linux-283dd11994cde99447a6dac203d96c0800e85e82.tar.gz linux-283dd11994cde99447a6dac203d96c0800e85e82.tar.bz2 linux-283dd11994cde99447a6dac203d96c0800e85e82.zip |
ath9k: add per-vif TX power capability
Configure the HW with highest TX power among all vif when HW TPC has been
enabled in order to add support to per-vif TX power capability. Use lowest
configured power among all interfaces when TPC is disabled
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ath9k.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ath9k.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h index 0f8e9464e4ab..7e89236c0e13 100644 --- a/drivers/net/wireless/ath/ath9k/ath9k.h +++ b/drivers/net/wireless/ath/ath9k/ath9k.h @@ -645,6 +645,7 @@ void ath9k_calculate_iter_data(struct ath_softc *sc, struct ath9k_vif_iter_data *iter_data); void ath9k_calculate_summary_state(struct ath_softc *sc, struct ath_chanctx *ctx); +void ath9k_set_txpower(struct ath_softc *sc, struct ieee80211_vif *vif); /*******************/ /* Beacon Handling */ |