iwlwifi: mvm: reserve bandwidth for low-latency interface
authorJohannes Berg <johannes.berg@intel.com>
Wed, 18 Dec 2013 14:56:28 +0000 (15:56 +0100)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 3 Feb 2014 20:23:35 +0000 (22:23 +0200)
commit6ca40d6eae3e36068157412ceb9ddf1f2d53d1c8
tree8d77da577f6345963e23f738d3337f019f03f81f
parente03f9bef2f9de4295df91a235c6b521dd64ef655
iwlwifi: mvm: reserve bandwidth for low-latency interface

If there is/are interface(s) in low-latency mode, reserve a
percentage (currently 64%) of the quota for that binding to
improve the quality of service for those interfaces. However,
if there's more than one binding that has low-latency, then
give up and don't reserve, we can't allocate more than 100%.

Signed-off-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/quota.c