summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi/mvm/constants.h
diff options
context:
space:
mode:
authorAlexander Bondar <alexander.bondar@intel.com>2013-08-04 18:52:23 +0400
committerJohannes Berg <johannes.berg@intel.com>2013-08-16 14:13:28 +0400
commit89716344806bd49d213ad5960661e8c2d38c4982 (patch)
tree75bad954b4fa589bf1d328a13419190fade03003 /drivers/net/wireless/iwlwifi/mvm/constants.h
parenta20fd398666dbf5cdee3fe97722350cc10619c84 (diff)
downloadlinux-89716344806bd49d213ad5960661e8c2d38c4982.tar.xz
iwlwifi: mvm: Add PBW snoozing enablement
The Performance Based Window snooze mechanism is based on uAPSD and is used in low-medium traffic scenarios, in order to provide better power performance while insuring low latency and jitter for the incoming traffic. This patch enables PBW snoozing in case uAPSD is enabled and all ACs are uAPSD trigger and delivery enabled. Signed-off-by: Alexander Bondar <alexander.bondar@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/constants.h')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/constants.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/constants.h b/drivers/net/wireless/iwlwifi/mvm/constants.h
index 33f98fc26e2d..2bf29f7992ee 100644
--- a/drivers/net/wireless/iwlwifi/mvm/constants.h
+++ b/drivers/net/wireless/iwlwifi/mvm/constants.h
@@ -73,5 +73,8 @@
#define IWL_MVM_PS_HEAVY_RX_THLD_PACKETS 20
#define IWL_MVM_PS_HEAVY_TX_THLD_PERCENT 50
#define IWL_MVM_PS_HEAVY_RX_THLD_PERCENT 50
+#define IWL_MVM_PS_SNOOZE_INTERVAL 25
+#define IWL_MVM_PS_SNOOZE_WINDOW 50
+#define IWL_MVM_WOWLAN_PS_SNOOZE_WINDOW 25
#endif /* __MVM_CONSTANTS_H */