iwlwifi: mvm: assign quota per virtual interface
authorJohannes Berg <johannes.berg@intel.com>
Wed, 10 Jul 2013 10:59:38 +0000 (12:59 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 31 Jul 2013 09:05:01 +0000 (11:05 +0200)
commit7b8359cf2bda0103688f9cc623ce6c221a6004c1
treefd7a644c9b300864c0c256225017779b58b20fc5
parentfd11bd05552e8639abbdc2f1d478f70dfb9b5e3e
iwlwifi: mvm: assign quota per virtual interface

Instead of assigning quota per used binding (channel) assign
the same amount of quota for each virtual interface so that
when there are more than two interfaces using more than one
channel, we'll stay on the channels proportionally to the
number of virtual interfaces using the channels.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Reviewed-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/mvm/quota.c