OSDN Git Service

iwlwifi: debug flow cleanup
authorShahar S Matityahu <shahar.s.matityahu@intel.com>
Tue, 10 Apr 2018 09:29:49 +0000 (12:29 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 28 Sep 2018 05:57:21 +0000 (08:57 +0300)
commitda7527173b18bb8fc77407071ca427341b555d6f
tree1417fce7b48d8ccffbcac7a883e4a4171d5f9162
parent838f4c73a353be28222593babeeac9edca1b1be0
iwlwifi: debug flow cleanup

Cleanup of the debug flow by moving several flows to separate
functions to increase readability.  Three functions were created:

1. iwl_fw_get_prph_len - returns the size needed for periphery dump.
2. iwl_fw_dump_mem for - executes the memory dumping flow.
3. iwl_trans_get_fw_monitor_len - returns the size needed for monitor dump.

Signed-off-by: Shahar S Matityahu <shahar.s.matityahu@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/dbg.c
drivers/net/wireless/intel/iwlwifi/pcie/trans.c