]> 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)
commiteef86457c49bf14de8fb67e12c58bd664340f08e
tree173e604e30cd2d7727447567f75b275d91e9a0bc
parentacc53784a5e6f06672ce95be0735bfb1412198b3
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