]> git.baikalelectronics.ru Git - kernel.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)
commitf3665f06ab2cc2c24007229686f71a38bfe60a32
treeaf33846bb5bad8b31cf5a4016f73cff40a043626
parent4401536868b4c6e81606a9eba472f8769f41ad7b
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