iwlwifi: mvm: rs: fix TPC action decision algorithm
authorGregory Greenman <gregory.greenman@intel.com>
Tue, 26 Jan 2016 22:10:15 +0000 (00:10 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 1 Feb 2016 14:40:27 +0000 (16:40 +0200)
commit6ad6c01fa74f649722eeca7308dc1fc4e43235cd
tree6b64a24974666ee7cceaf327e4e217816b5c329a
parent854c57057390e45041a56c3d3228eb805e980c99
iwlwifi: mvm: rs: fix TPC action decision algorithm

Decreasing Tx power is allowed only when success ratio is
above the threshold defined in the algorithm. Add this condition.

Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rs.c