iwlwifi: mvm: rs: dynamically switch between 80MHz and 20MHz in some scenarios
authorEyal Shapira <eyal@wizery.com>
Sat, 19 Sep 2015 20:48:45 +0000 (23:48 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 5 Oct 2015 11:33:31 +0000 (14:33 +0300)
commit1191f646bb913feba4239a7ca45e5edb09324869
tree551d734b1fb485195e550a28a82ae03bd0130b5c
parent7c0ebd7870ce212d370a97d3d8ff5129edcc2323
iwlwifi: mvm: rs: dynamically switch between 80MHz and 20MHz in some scenarios

This is a tweak which has been shown to improve performance when
moving away from the AP while working in 80Mhz.
When RS decides to go down to 80MHz SISO MCS0 instead switch to 20MHz MCS4.
Go back to 80MHz MCS1 if RS can sustain 20MHz MCS5.

Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/iwlwifi/mvm/constants.h
drivers/net/wireless/iwlwifi/mvm/rs.c