summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/ani.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-01-20 21:51:58 +0400
committerJohn W. Linville <linville@tuxdriver.com>2013-01-23 01:05:31 +0400
commit9dbac67da314ccdab3bb7f429b4936e59d5389b7 (patch)
tree6a803a71bbdf81c6cca850be702b56d50e9ef1a2 /drivers/net/wireless/ath/ath9k/ani.h
parentf5ffe23aa0a8f6512952cf393daf86cbd6e4685d (diff)
downloadlinux-9dbac67da314ccdab3bb7f429b4936e59d5389b7.tar.xz
ath9k_hw: reduce struct ar5416AniState size
It is kept per-channel, so removing unnecessary (or constant) fields from it can save quite a bit of memory. 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/ani.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/ani.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ani.h b/drivers/net/wireless/ath/ath9k/ani.h
index 385bdba8ae50..dddb1361039a 100644
--- a/drivers/net/wireless/ath/ath9k/ani.h
+++ b/drivers/net/wireless/ath/ath9k/ani.h
@@ -104,7 +104,6 @@ struct ath9k_ani_default {
};
struct ar5416AniState {
- struct ath9k_channel *c;
u8 noiseImmunityLevel;
u8 ofdmNoiseImmunityLevel;
u8 cckNoiseImmunityLevel;
@@ -113,15 +112,9 @@ struct ar5416AniState {
u8 spurImmunityLevel;
u8 firstepLevel;
u8 ofdmWeakSigDetect;
- u8 cckWeakSigThreshold;
u32 listenTime;
- int32_t rssiThrLow;
- int32_t rssiThrHigh;
u32 ofdmPhyErrCount;
u32 cckPhyErrCount;
- int16_t pktRssi[2];
- int16_t ofdmErrRssi[2];
- int16_t cckErrRssi[2];
struct ath9k_ani_default iniDef;
};