diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-11-04 15:56:57 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-11-11 21:31:12 (GMT) |
commit | d385c5c2860075e1f3e03074f043dd8a828b2862 (patch) | |
tree | 1ee799418b2bae6a5a06e729bb89ec1732a98a49 /drivers/net/wireless/ath/ath9k/ath9k.h | |
parent | 71783576b5345d63df048c0f18974037eea6e4f9 (diff) | |
download | linux-d385c5c2860075e1f3e03074f043dd8a828b2862.tar.xz |
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.h | 2 |
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 85d74ff..adb49a9 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; |