aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ath9k.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-11-04 16:56:57 +0100
committerJohn W. Linville <linville@tuxdriver.com>2014-11-11 16:31:12 -0500
commitd385c5c2860075e1f3e03074f043dd8a828b2862 (patch)
tree1ee799418b2bae6a5a06e729bb89ec1732a98a49 /drivers/net/wireless/ath/ath9k/ath9k.h
parentbcma: get IRQ numbers from dt (diff)
downloadlinux-dev-d385c5c2860075e1f3e03074f043dd8a828b2862.tar.xz
linux-dev-d385c5c2860075e1f3e03074f043dd8a828b2862.zip
ath9k: add support for reporting tx power to mac80211
Track it per channel context instead of in the softc 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/ath9k.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/ath9k.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h
index 85d74ff0767c..adb49a9813f1 100644
--- a/drivers/net/wireless/ath/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
@@ -347,6 +347,7 @@ struct ath_chanctx {
int flush_timeout;
u16 txpower;
+ u16 cur_txpower;
bool offchannel;
bool stopped;
bool active;
@@ -987,7 +988,6 @@ struct ath_softc {
u8 gtt_cnt;
u32 intrstatus;
u16 ps_flags; /* PS_* */
- u16 curtxpow;
bool ps_enabled;
bool ps_idle;
short nbcnvifs;