diff options
author | Johannes Berg <johannes.berg@intel.com> | 2014-09-08 10:42:54 -0400 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-09-14 05:56:40 -0400 |
commit | b2b7875bfb6c69bb708b61c5f745491d240161a1 (patch) | |
tree | 96a4defff20dfee2724407355493b9705f7a5667 /drivers/net/wireless/iwlwifi/mvm/constants.h | |
parent | bbab758279a14556e6ccb17b1f98935634eeb8d5 (diff) |
iwlwifi: mvm: don't update quota in firmware too often
When updating quota in the firmware, it has to reset quite a bit
of internal state, which apparently can have an adverse impact on
its operation.
Avoid that by only updating the quota command when there are any
signification changes, i.e. added/removed bindings or changes in
quota that are bigger than 8 TU within a binding.
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.h | 1 |
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 cb48656a8eaf..118108929a87 100644 --- a/drivers/net/wireless/iwlwifi/mvm/constants.h +++ b/drivers/net/wireless/iwlwifi/mvm/constants.h | |||
@@ -87,5 +87,6 @@ | |||
87 | #define IWL_MVM_BT_COEX_CORUNNING 1 | 87 | #define IWL_MVM_BT_COEX_CORUNNING 1 |
88 | #define IWL_MVM_BT_COEX_MPLUT 1 | 88 | #define IWL_MVM_BT_COEX_MPLUT 1 |
89 | #define IWL_MVM_FW_MCAST_FILTER_PASS_ALL 0 | 89 | #define IWL_MVM_FW_MCAST_FILTER_PASS_ALL 0 |
90 | #define IWL_MVM_QUOTA_THRESHOLD 8 | ||
90 | 91 | ||
91 | #endif /* __MVM_CONSTANTS_H */ | 92 | #endif /* __MVM_CONSTANTS_H */ |