iwlwifi: multiple force reset mode
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Wed, 3 Feb 2010 19:47:19 +0000 (11:47 -0800)
committerReinette Chatre <reinette.chatre@intel.com>
Thu, 11 Feb 2010 18:24:12 +0000 (10:24 -0800)
commita93e7973d0983d22fcbe5f691244736211639fe7
tree161f64fa2297146b8263ea120638404f97fc288c
parentdff010ac8e57e43669518a14c0e945dfeb80c2a7
iwlwifi: multiple force reset mode

Provide the function to perform different type of uCode reset/reload operation.
When uCode detect error and can not fix itself, this iwl_force_reset()
function allow driver to perform the necessary reset/reload functions and help
to bring uCode back to normal operation state.

Currently only 2 type of force reset are available:
 - reset radio
 - reload firmware

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
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/iwl-rx.c
drivers/net/wireless/iwlwifi/iwl-scan.c