]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: virtualize command queue full behaviour
authorJohannes Berg <johannes.berg@intel.com>
Tue, 6 Mar 2012 21:30:49 +0000 (13:30 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 Mar 2012 18:51:52 +0000 (13:51 -0500)
commitb5ff4aff9a4052d4ec4b8ea94f2b3f0bb6227a19
tree5a19056c6bc39ccd62521fad50219837a076646e
parent8b345b7c003f314051201bd896183dd3e586f911
iwlwifi: virtualize command queue full behaviour

When the command queue is full, the transport
will return -ENOSPC, but the reaction to that
depends on the op_mode. Virtualize that, the
DVM op_mode checks for CT-kill and restarts
the hardware otherwise.

We may be able to get rid of this callback by
putting the behaviour check into the wrapper
but that needs more careful evaluation.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-agn.h
drivers/net/wireless/iwlwifi/iwl-op-mode.h
drivers/net/wireless/iwlwifi/iwl-shared.h
drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c