diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2013-06-03 09:19:29 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-06-03 15:55:48 -0400 |
commit | c24bd3620c50cc8f1d13935c95003f41339a748d (patch) | |
tree | a5dc5db6a509f13d74f0d01c1cd8dd5dec2587df /drivers/net/wireless/ath/ath9k/hw.h | |
parent | 6e4d291eec82c682d82d02cd275a6ec511f9b203 (diff) | |
download | blackbird-op-linux-c24bd3620c50cc8f1d13935c95003f41339a748d.tar.gz blackbird-op-linux-c24bd3620c50cc8f1d13935c95003f41339a748d.zip |
ath9k: Do not maintain ANI state per-channel
ANI state can be maintained globally instead of per-channel.
This reduces memory usage and since default values are used
during a scan run, per-channel state is not required.
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h index 301b19ed7664..7d259b7dc254 100644 --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h @@ -420,7 +420,6 @@ struct ath9k_hw_cal_data { struct ath9k_channel { struct ieee80211_channel *chan; - struct ar5416AniState ani; u16 channel; u32 channelFlags; u32 chanmode; @@ -854,6 +853,7 @@ struct ath_hw { u32 aniperiod; enum ath9k_ani_cmd ani_function; u32 ani_skip_count; + struct ar5416AniState ani; #ifdef CONFIG_ATH9K_BTCOEX_SUPPORT struct ath_btcoex_hw btcoex_hw; |