aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/rc80211_pid_algo.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-02-25 10:27:44 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-02-29 15:42:02 -0500
commit6f48422a29714ed92f6136d9e7d3ff39c75607d7 (patch)
treeb42ae88b9cf4163c15d2b3fc7a46dfdbc97e816c /net/mac80211/rc80211_pid_algo.c
parente6a5ddf20886206caf1c4a2431f6ff01198ab0f7 (diff)
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.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/mac80211/rc80211_pid_algo.c b/net/mac80211/rc80211_pid_algo.c
index da8462bbd5f4..9762803e4876 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,
280 sta->tx_num_consecutive_failures++; 280 sta->tx_num_consecutive_failures++;
281 sta->tx_num_mpdu_fail++; 281 sta->tx_num_mpdu_fail++;
282 } else { 282 } else {
283 sta->last_ack_rssi[0] = sta->last_ack_rssi[1];
284 sta->last_ack_rssi[1] = sta->last_ack_rssi[2];
285 sta->last_ack_rssi[2] = status->ack_signal;
286 sta->tx_num_consecutive_failures = 0; 283 sta->tx_num_consecutive_failures = 0;
287 sta->tx_num_mpdu_ok++; 284 sta->tx_num_mpdu_ok++;
288 } 285 }