]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: manage QoS by mac stack
authorStanislaw Gruszka <sgruszka@redhat.com>
Mon, 29 Mar 2010 10:18:35 +0000 (12:18 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 31 Mar 2010 18:46:38 +0000 (14:46 -0400)
commit2fa4fa2efad5913d3323e7f7b8ab551689d5fd6a
treed98781250a92062e519798b69b0e0e8966ae259c
parentd5bcbe1a61fe34b72853aa5890743f2021ffc79c
iwlwifi: manage QoS by mac stack

We activate/deactivate QoS and setup default queue parameters in iwlwifi
driver. Mac stack do the same, so we do not need repeat that work here.
Stack also will tell when disable QoS, this will fix driver when working
with older APs, that do not have QoS implemented.

Patch make "force = true" in iwl_active_qos() assuming we always want
to do with QoS what mac stack wish.

Patch also remove unused qos_cap bits, do not initialize qos_active = 0,
as we have it initialized to zero by kzalloc.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-core.c
drivers/net/wireless/iwlwifi/iwl-core.h
drivers/net/wireless/iwlwifi/iwl-dev.h
drivers/net/wireless/iwlwifi/iwl3945-base.c