From: Eyal Shapira Date: Sat, 5 Apr 2014 23:42:18 +0000 (+0300) Subject: iwlwifi: mvm: rs: fix and cleanup rs_get_rate_action X-Git-Tag: omap-for-v3.16/pm-signed~76^2~1^2^2~8^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e53839eb9882c99d3781eab0fe1b2d4369a6a2cc;p=pandora-kernel.git iwlwifi: mvm: rs: fix and cleanup rs_get_rate_action Change the down/upscale decision logic a bit to be based on different success ratio thresholds. This fixes the implementation compared to the rate scale algorithm which was planned to yield optimal results. Also fix a case where a lower rate wasn't explored despite being a potential for better throughput. While at it rewrite rs_get_rate_action to be more clear and clean. Cc: [3.14] Signed-off-by: Eyal Shapira Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed