From: Thomas Huehn Date: Tue, 24 Mar 2015 20:09:40 +0000 (+0100) Subject: mac80211: restructure per-rate throughput calculation into function X-Git-Tag: omap-for-v4.2/o2_dc~131^2~30^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a27b2c40b4829e625bc1dfdd0705c5ece720ab4;p=pandora-kernel.git mac80211: restructure per-rate throughput calculation into function This patch moves Minstrels and Minstrel-HTs per-rate throughput calculation (EWMA(thr)) into a dedicated function to be called. Therefore the variable "unsigned int cur_tp" within struct "minstrel_rate_stats" becomes obsolete. and is removed to free up its space. Signed-off-by: Thomas Huehn Acked-by: Felix Fietkau Signed-off-by: Johannes Berg --- Reading git-diff-tree failed