aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/rc80211_pid_algo.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/rc80211_pid_algo.c')
-rw-r--r--net/mac80211/rc80211_pid_algo.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/net/mac80211/rc80211_pid_algo.c b/net/mac80211/rc80211_pid_algo.c
index 21e1942ea975..94867860c3e0 100644
--- a/net/mac80211/rc80211_pid_algo.c
+++ b/net/mac80211/rc80211_pid_algo.c
@@ -282,17 +282,6 @@ static void rate_control_pid_tx_status(void *priv, struct net_device *dev,
282 spinfo->tx_num_xmit++; 282 spinfo->tx_num_xmit++;
283 } 283 }
284 284
285 if (info->status.excessive_retries) {
286 sta->tx_retry_failed++;
287 sta->tx_num_consecutive_failures++;
288 sta->tx_num_mpdu_fail++;
289 } else {
290 sta->tx_num_consecutive_failures = 0;
291 sta->tx_num_mpdu_ok++;
292 }
293 sta->tx_retry_count += info->status.retry_count;
294 sta->tx_num_mpdu_fail += info->status.retry_count;
295
296 /* Update PID controller state. */ 285 /* Update PID controller state. */
297 period = (HZ * pinfo->sampling_period + 500) / 1000; 286 period = (HZ * pinfo->sampling_period + 500) / 1000;
298 if (!period) 287 if (!period)