diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-09-10 20:03:28 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-09-15 16:48:23 -0400 |
commit | 95dac040041723d0c0ab245642c1b9802f12cc8d (patch) | |
tree | 2ac4f11b3cb1a350a892ac80ac3ba76d24076c70 /net/mac80211/sta_info.h | |
parent | 81c065238644ade3869391f977438ff7ed3158db (diff) |
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>
Diffstat (limited to 'net/mac80211/sta_info.h')
-rw-r--r-- | net/mac80211/sta_info.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h index e7ce12dbf270..4a9b96eeb687 100644 --- a/net/mac80211/sta_info.h +++ b/net/mac80211/sta_info.h | |||
@@ -195,9 +195,6 @@ struct sta_ampdu_mlme { | |||
195 | * @tx_filtered_count: TBD | 195 | * @tx_filtered_count: TBD |
196 | * @tx_retry_failed: TBD | 196 | * @tx_retry_failed: TBD |
197 | * @tx_retry_count: TBD | 197 | * @tx_retry_count: TBD |
198 | * @tx_num_consecutive_failures: TBD | ||
199 | * @tx_num_mpdu_ok: TBD | ||
200 | * @tx_num_mpdu_fail: TBD | ||
201 | * @fail_avg: moving percentage of failed MSDUs | 198 | * @fail_avg: moving percentage of failed MSDUs |
202 | * @tx_packets: number of RX/TX MSDUs | 199 | * @tx_packets: number of RX/TX MSDUs |
203 | * @tx_bytes: TBD | 200 | * @tx_bytes: TBD |
@@ -273,10 +270,6 @@ struct sta_info { | |||
273 | /* Updated from TX status path only, no locking requirements */ | 270 | /* Updated from TX status path only, no locking requirements */ |
274 | unsigned long tx_filtered_count; | 271 | unsigned long tx_filtered_count; |
275 | unsigned long tx_retry_failed, tx_retry_count; | 272 | unsigned long tx_retry_failed, tx_retry_count; |
276 | /* TODO: update in generic code not rate control? */ | ||
277 | u32 tx_num_consecutive_failures; | ||
278 | u32 tx_num_mpdu_ok; | ||
279 | u32 tx_num_mpdu_fail; | ||
280 | /* moving percentage of failed MSDUs */ | 273 | /* moving percentage of failed MSDUs */ |
281 | unsigned int fail_avg; | 274 | unsigned int fail_avg; |
282 | 275 | ||