]> 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)
commit929ea4e2c5be74895b11823e810a712af271e79a
tree2f4f11ff141a1d8b418f2ee01dcc2bdda73ac3e1
parent99b9350e4fc6e6defc6b1db9d95af74f13e632ca
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