Skip to content

Commit

Permalink
mac80211: improve minstrel_ht rate sorting by throughput & probability
Browse files Browse the repository at this point in the history
This patch improves the way minstrel_ht sorts rates according to throughput
and success probability. 3 FOR-loops across the entire rate and mcs group set
in function minstrel_ht_update_stats() which where used to determine the
fastest, second fastest and most robust rate are reduced to 2 FOR-loop.

The sorted list of rates according throughput is extended to the best four
rates as we need them in upcoming joint rate and power control. The sorting
is done via the new function minstrel_ht_sort_best_tp_rates(). The annotation
of those 4 best throughput rates in the debugfs file rc-stats is changes to:
"A,B,C,D", where A is the fastest rate and C the 4th fastest.

Signed-off-by: Thomas Huehn <[email protected]>
Tested-by: Stefan Venz <[email protected]>
Acked-by: Felix Fietkau <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
  • Loading branch information
thuehn authored and jmberg-intel committed Sep 11, 2014
1 parent ca12c0c commit 5935839

Sorry, this diff is temporarily unavailable due to heavy server load.

Please try again later.

0 comments on commit 5935839

Please sign in to comment.