ath9k: add per-vif TX power capability to TX path
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Tue, 17 Feb 2015 09:12:18 +0000 (10:12 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 3 Mar 2015 13:36:02 +0000 (15:36 +0200)
commit97bf861572adacadc7a217487d77ba5c0be4b99d
tree6a5ae8dfdec2cce911d480b60977ba4426bafe3a
parent283dd11994cde99447a6dac203d96c0800e85e82
ath9k: add per-vif TX power capability to TX path

In order to add per-vif TX power capability cap per-packet TX power to vif
configured power if the latter is lower than per-rate TX power and mac80211
per-frame power. Use vif TX power if TPC has been disabled for current the
interface

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/xmit.c