summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi/mvm/constants.h
diff options
context:
space:
mode:
authorEyal Shapira <eyal@wizery.com>2014-08-13 01:31:13 +0400
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2014-09-21 14:25:44 +0400
commit361dbec8acffe0201486f1750353a26d21cfff32 (patch)
tree29150fbb04ea971fc6409aef97fa589450ef6d41 /drivers/net/wireless/iwlwifi/mvm/constants.h
parent59ecb1283fde3da7b40803067ee9ef91cd8eadc2 (diff)
downloadlinux-361dbec8acffe0201486f1750353a26d21cfff32.tar.xz
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>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/constants.h')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/constants.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/constants.h b/drivers/net/wireless/iwlwifi/mvm/constants.h
index a355788b1166..f47f4586422c 100644
--- a/drivers/net/wireless/iwlwifi/mvm/constants.h
+++ b/drivers/net/wireless/iwlwifi/mvm/constants.h
@@ -94,5 +94,6 @@
#define IWL_MVM_BT_COEX_MPLUT 1
#define IWL_MVM_FW_MCAST_FILTER_PASS_ALL 0
#define IWL_MVM_QUOTA_THRESHOLD 8
+#define IWL_MVM_RS_RSSI_BASED_INIT_RATE 0
#endif /* __MVM_CONSTANTS_H */