iwlwifi: mvm: choose an initial tx rate based on rssi conditions
authorEyal Shapira <eyal@wizery.com>
Tue, 12 Aug 2014 21:31:13 +0000 (00:31 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 21 Sep 2014 10:25:44 +0000 (13:25 +0300)
commit361dbec8acffe0201486f1750353a26d21cfff32
tree29150fbb04ea971fc6409aef97fa589450ef6d41
parent59ecb1283fde3da7b40803067ee9ef91cd8eadc2
iwlwifi: mvm: choose an initial tx rate based on rssi conditions

Improve the initial tx rate and antenna selection to be based on
the rssi of the last rx. This avoids starting at the lowest legacy
rate always and requiring more tx traffic to "climb" up the rates.
Since this option might cause trouble in certain setups, allow to
disable it by default.

Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/constants.h
drivers/net/wireless/iwlwifi/mvm/mvm.h
drivers/net/wireless/iwlwifi/mvm/rs.c
drivers/net/wireless/iwlwifi/mvm/rx.c