diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-02-25 16:27:44 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-02-29 15:42:02 -0500 |
commit | 6f48422a29714ed92f6136d9e7d3ff39c75607d7 (patch) | |
tree | b42ae88b9cf4163c15d2b3fc7a46dfdbc97e816c /net/mac80211/rc80211_pid_algo.c | |
parent | e6a5ddf20886206caf1c4a2431f6ff01198ab0f7 (diff) | |
download | op-kernel-dev-6f48422a29714ed92f6136d9e7d3ff39c75607d7.zip op-kernel-dev-6f48422a29714ed92f6136d9e7d3ff39c75607d7.tar.gz |
mac80211: remove STA infos last_ack stuff
These things aren't used and the only possible use is within
rate control algorithms, however those can, if they need it,
keep track of it in their private data. last_ack_ms isn't
even updated so completely useless.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/rc80211_pid_algo.c')
-rw-r--r-- | net/mac80211/rc80211_pid_algo.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/mac80211/rc80211_pid_algo.c b/net/mac80211/rc80211_pid_algo.c index da8462b..9762803 100644 --- a/net/mac80211/rc80211_pid_algo.c +++ b/net/mac80211/rc80211_pid_algo.c @@ -280,9 +280,6 @@ static void rate_control_pid_tx_status(void *priv, struct net_device *dev, sta->tx_num_consecutive_failures++; sta->tx_num_mpdu_fail++; } else { - sta->last_ack_rssi[0] = sta->last_ack_rssi[1]; - sta->last_ack_rssi[1] = sta->last_ack_rssi[2]; - sta->last_ack_rssi[2] = status->ack_signal; sta->tx_num_consecutive_failures = 0; sta->tx_num_mpdu_ok++; } |