]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: Fix quota command settings
authorIlan Peer <ilan.peer@intel.com>
Thu, 30 May 2013 04:31:01 +0000 (07:31 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 4 Jun 2013 11:15:27 +0000 (13:15 +0200)
commitc34537d03bb830501127be444a1134e8e6f7acc4
tree173e604e30cd2d7727447567f75b275d91e9a0bc
parentb3b040bc7f7435cb07b4b3d89056c200657280d8
iwlwifi: mvm: Fix quota command settings

According to the FW implementation, the quota command should
have a valid entry for each active binding (where 'active' in
this context means that the binding is known to the FW). In case
the binding should not get any quota, the 'quota' should be set
to zero.

Not setting an 0 quota for an active binding when all the MACs
in the binding are idle, i.e., not associated in case of managed
interface, will result in preventing the FW scheduler from entering
IDLE state and the FW from transitioning to low PS.

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