summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm/constants.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-11-12 22:18:45 +0100
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2014-02-03 22:23:35 +0200
commit1fb184b4a43d2ef303361efa5a166a60e4b4374a (patch)
treebefec424501e9e5a019bc70c11d4ade51d3caea4 /drivers/net/wireless/iwlwifi/mvm/constants.h
parent6ca40d6eae3e36068157412ceb9ddf1f2d53d1c8 (diff)
downloadlinux-1fb184b4a43d2ef303361efa5a166a60e4b4374a.tar.gz
linux-1fb184b4a43d2ef303361efa5a166a60e4b4374a.tar.bz2
linux-1fb184b4a43d2ef303361efa5a166a60e4b4374a.zip
iwlwifi: mvm: limit non-low-latency binding scheduling duration
Limit the scheduling duration of bindings without a low-latency interface in the firmware, this prevents those bindings from occupying the medium for a period of time longer than what we want for the other interfaces in low-latency mode. As older firmware doesn't do anything with the max_duration field and ignores it completely, there's no need for a firmware flag. Signed-off-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/constants.h b/drivers/net/wireless/iwlwifi/mvm/constants.h
index ffa3346a9b06..f3b96e44e690 100644
--- a/drivers/net/wireless/iwlwifi/mvm/constants.h
+++ b/drivers/net/wireless/iwlwifi/mvm/constants.h
@@ -79,5 +79,7 @@
#define IWL_MVM_PS_SNOOZE_WINDOW 50
#define IWL_MVM_WOWLAN_PS_SNOOZE_WINDOW 25
#define IWL_MVM_LOWLAT_QUOTA_MIN_PERCENT 64
+#define IWL_MVM_LOWLAT_SINGLE_BINDING_MAXDUR 24 /* TU */
+#define IWL_MVM_LOWLAT_DUAL_BINDING_MAXDUR 24 /* TU */
#endif /* __MVM_CONSTANTS_H */