]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: wipe out the status of the SCD when we disable a queue
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 30 Sep 2012 14:25:43 +0000 (16:25 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 16 Oct 2012 14:31:53 +0000 (16:31 +0200)
commitdac2d8ea079a36264e310efd6d342fe7399c2a18
tree2f4f11ff141a1d8b418f2ee01dcc2bdda73ac3e1
parent098a72cd0ec48660e9a872befc81050080833279
iwlwifi: wipe out the status of the SCD when we disable a queue

When we disable a queue, we don't want the SCD to remember anything
about this queue (what packet was transmitted but not acked, what
packed was acked etc...).
Wipe out all this data in its SRAM.

Constify the arguments to iwl_write_targ_mem_dwords on the way.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/iwl-io.c
drivers/net/wireless/iwlwifi/iwl-io.h
drivers/net/wireless/iwlwifi/iwl-prph.h
drivers/net/wireless/iwlwifi/pcie/tx.c