iwlwifi: mvm: Update quota settings for all bindings
authorIlan Peer <ilan.peer@intel.com>
Mon, 4 Feb 2013 11:16:24 +0000 (13:16 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Feb 2013 10:54:16 +0000 (11:54 +0100)
commit35adfd6e458741d3d3fca1ce0e342919eb250c2b
tree4cf385b592e41f4656d0b23deb1d6eaf7e920594
parent2bfb50924c7e92362ac937aef2ab56bc7bd3ca52
iwlwifi: mvm: Update quota settings for all bindings

The FW scheduler, schedules the bindings over a session of 128
fragments (each is 4 TU long). The quota command should allocate
all the session fragments between all the bindings that require quota
allocation. Currently, use static allocation, where the fragments
are equally distributed between all data bindings.

Note, that not allocating all the session's fragments might cause
the FW scheduler to leave the medium unused.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/mvm/fw-api.h
drivers/net/wireless/iwlwifi/mvm/quota.c