iwlwifi: mvm: support MFUART dump in case of MFUART assert
authorGolan Ben-Ami <golan.ben.ami@intel.com>
Tue, 15 Nov 2016 12:45:29 +0000 (14:45 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 11 Apr 2017 11:54:38 +0000 (14:54 +0300)
commitbdccdb854f2fb473f2ac4a6108df3cbfcedd5a87
tree0d25fecc79d8193a54f6efa0017ad2bfb99d1cfb
parent7abf6fde970cc27dda7a8f02439fd0b8a0156459
iwlwifi: mvm: support MFUART dump in case of MFUART assert

In case of a MFUART assert, get a notification from the fw
that consists of the assert id and debug data.

The notification may be divided to multiple chunks, depending
on the size of the debug data sent to the driver, which would
be up to 1KB.

Get the notification, and if the debug info flag is enabled,
print the debug data to the dmesg.

Signed-off-by: Golan Ben-Ami <golan.ben.ami@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw-api.h
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
drivers/net/wireless/intel/iwlwifi/mvm/ops.c