From: Karl Beldan Date: Wed, 17 Apr 2013 11:43:22 +0000 (+0200) Subject: mac80211: optimize minstrel_ewma X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~43^2^2~61^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eea85999eca4d7f3528010cd8277392cd56ba713;p=pandora-kernel.git 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 Acked-by: Felix Fietkau Signed-off-by: Johannes Berg --- Reading git-diff-tree failed