]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: small rate control changes
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 11 Sep 2008 00:03:28 +0000 (02:03 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Sep 2008 20:48:23 +0000 (16:48 -0400)
commitbe7e154938c5faab25bcca16883b1fcd15ad8896
tree2ac4f11b3cb1a350a892ac80ac3ba76d24076c70
parentc9bd8245df826e880e5842ddf34efa5cac5998ec
mac80211: small rate control changes

This patch fixes mac80211 to not rely on the rate control
algorithm to update sta->tx_retry_failed and sta->tx_retry_count
(even if we don't currently use them), removes a number of
completely unused values we don't even show in debugfs and
changes the code in ieee80211_tx_status() to not look up the
sta_info repeatedly.

The only behaviour change here would be not calling the rate
control function rate_control_tx_status() when no sta_info is
found, but all rate control algorithms ignore such calls anyway.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/main.c
net/mac80211/rc80211_pid_algo.c
net/mac80211/sta_info.h