summaryrefslogtreecommitdiffstats
path: root/net/mac80211/rc80211_minstrel.h
diff options
context:
space:
mode:
authorThomas Huehn <thomas@net.t-labs.tu-berlin.de>2013-03-04 23:30:03 +0100
committerJohannes Berg <johannes.berg@intel.com>2013-03-06 16:36:08 +0100
commit8f15761197c73e1968777e4b4d968ab0fba2cb74 (patch)
treefbc4072aa6e30a49801b57865f21cc6ede73bee5 /net/mac80211/rc80211_minstrel.h
parentmac80211: merge value scaling macros of minstrel_ht and minstrel (diff)
downloadlinux-8f15761197c73e1968777e4b4d968ab0fba2cb74.tar.xz
linux-8f15761197c73e1968777e4b4d968ab0fba2cb74.zip
mac80211: add documentation and verbose variable names in
Add documentation and more verbose variable names to minstrel's multi-rate-retry setup within function minstrel_get_rate() to increase the readability of the algorithm. Acked-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/rc80211_minstrel.h')
-rw-r--r--net/mac80211/rc80211_minstrel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/rc80211_minstrel.h b/net/mac80211/rc80211_minstrel.h
index fda4a6154c87..5fb5cb81d0da 100644
--- a/net/mac80211/rc80211_minstrel.h
+++ b/net/mac80211/rc80211_minstrel.h
@@ -69,7 +69,7 @@ struct minstrel_sta_info {
unsigned int sample_count;
int sample_deferred;
- unsigned int sample_idx;
+ unsigned int sample_row;
unsigned int sample_column;
int n_rates;