summaryrefslogtreecommitdiffstats
path: root/net/mac80211/rx.c
diff options
context:
space:
mode:
authorKarl Beldan <karl.beldan@rivierawaves.com>2013-04-17 13:43:22 +0200
committerJohannes Berg <johannes.berg@intel.com>2013-04-17 17:08:49 +0200
commiteea85999eca4d7f3528010cd8277392cd56ba713 (patch)
treeca7ab112a1767ce31a3d6ea5ac9e7c82a4db9343 /net/mac80211/rx.c
parentmac80211: cosmetics for minstrel_debugfs (diff)
downloadlinux-eea85999eca4d7f3528010cd8277392cd56ba713.tar.xz
linux-eea85999eca4d7f3528010cd8277392cd56ba713.zip
mac80211: optimize minstrel_ewma
Use powers of two in ewma of minstrel. This changes : - EWMA_DIV from 100 to 2^7 - EWMA_LEVEL from 75 (/EWMA_DIV=100) to 2^6 + 2^5 (/EWMA_DIV=128) Note that this changes EWMA_DIV - EWMA_LEVEL from 25 to 2^5 and keeps EWMA_LEVEL / EWMA_DIV == 0.75. Signed-off-by: Karl Beldan <karl.beldan@rivierawaves.com> Acked-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/rx.c')
0 files changed, 0 insertions, 0 deletions