From: Thomas Huehn Date: Mon, 4 Mar 2013 22:30:01 +0000 (+0100) Subject: mac80211: merge EWMA calculation of minstrel_ht and minstrel X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~390^2^2~69^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a512d4b543ea20ec84f712f90a5229ab88a9709c;p=pandora-kernel.git mac80211: merge EWMA calculation of minstrel_ht and minstrel Both rate control algorithms (minstrel and minstrel_ht) calculate averages based on EWMA. Shift function minstrel_ewma() into rc80211_minstrel.h and make use of it in both minstrel version. Also shift the default EWMA level (75%) definition to the header file and clean up variable usage. Acked-by: Felix Fietkau Signed-off-by: Thomas Huehn Signed-off-by: Johannes Berg --- Reading git-diff-tree failed