]> git.karo-electronics.de Git - linux-beck.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)
commit0e781842cb25ed3a9d0a91bdf05c0717150c9343
tree5a19056c6bc39ccd62521fad50219837a076646e
parent6c1011e1918be17f7f8ccca5442cd517f9c29d17
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