]> asedeno.scripts.mit.edu Git - linux.git/commit
iwlwifi: add debugfs file to read fw debug data recording
authorLior Cohen <lior2.cohen@intel.com>
Thu, 3 May 2018 07:17:05 +0000 (10:17 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 23 Nov 2018 11:01:07 +0000 (13:01 +0200)
commitf7805b33f9b13a87b1fcf9dfbc3dcbce281a1436
treeaf33846bb5bad8b31cf5a4016f73cff40a043626
parentd47902f9f71d7679b9a2a9d14aa7d4b98d95430b
iwlwifi: add debugfs file to read fw debug data recording

FW debug data will oneshot read all data available in DRAM
and fill the supplied user buffer. In case the read request
is greater than the new data in DRAM, the driver will write
all data it has and return the buffer immediately.

Signed-off-by: Shahar S Matityahu <shahar.s.matityahu@intel.com>
Signed-off-by: Lior Cohen <lior2.cohen@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/dbg.h
drivers/net/wireless/intel/iwlwifi/iwl-drv.c
drivers/net/wireless/intel/iwlwifi/iwl-trans.h
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
drivers/net/wireless/intel/iwlwifi/pcie/internal.h
drivers/net/wireless/intel/iwlwifi/pcie/trans.c