diff options
author | Zhu Yi <yi.zhu@intel.com> | 2006-04-13 05:19:02 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2006-04-24 16:15:54 -0400 |
commit | 00d21de5c685ab450ef376acdd1b733badb6b50d (patch) | |
tree | cafb8af00344d068943666f893a84260eaa84bed /drivers/net/wireless/ipw2200.h | |
parent | 45a62ab3d6f9d5963cb7c01fa76c950e42d037c2 (diff) |
[PATCH] ipw2200: Exponential averaging for signal and noise Level
This patch replaces sliding averaging by exponential averaging for
reporting the wireless statistics for signal and noise level for ipw2200.
See details from: http://www.ces.clemson.edu/linux/ipw2200_averages.shtml
Signed-off-by: Bill Moss <bmoss@clemson.edu>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ipw2200.h')
-rw-r--r-- | drivers/net/wireless/ipw2200.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/wireless/ipw2200.h b/drivers/net/wireless/ipw2200.h index 4b9804900702..1f2cab3f9944 100644 --- a/drivers/net/wireless/ipw2200.h +++ b/drivers/net/wireless/ipw2200.h | |||
@@ -1153,11 +1153,9 @@ struct ipw_priv { | |||
1153 | u32 config; | 1153 | u32 config; |
1154 | u32 capability; | 1154 | u32 capability; |
1155 | 1155 | ||
1156 | u8 last_rx_rssi; | ||
1157 | u8 last_noise; | ||
1158 | struct average average_missed_beacons; | 1156 | struct average average_missed_beacons; |
1159 | struct average average_rssi; | 1157 | s16 exp_avg_rssi; |
1160 | struct average average_noise; | 1158 | s16 exp_avg_noise; |
1161 | u32 port_type; | 1159 | u32 port_type; |
1162 | int rx_bufs_min; /**< minimum number of bufs in Rx queue */ | 1160 | int rx_bufs_min; /**< minimum number of bufs in Rx queue */ |
1163 | int rx_pend_max; /**< maximum pending buffers for one IRQ */ | 1161 | int rx_pend_max; /**< maximum pending buffers for one IRQ */ |