ath9k: add per-vif TX power capability
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Tue, 17 Feb 2015 09:12:17 +0000 (10:12 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 3 Mar 2015 13:36:01 +0000 (15:36 +0200)
commit283dd11994cde99447a6dac203d96c0800e85e82
treee1d24f454786c9a90a5b84c162fd813af26233f2
parentbe1f8d31c93b770347b2cc9e2dd37189baf1177f
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>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/debug.c
drivers/net/wireless/ath/ath9k/main.c