intel-wifi-fw-dump: add wifi fw debug configuration

Add wifi fw debug logs configuration and collection files.

* Enabling the logs is done by removing the "comment out" from
the flag in files/stpd_fw_dbg.bin, and reloading the iwlwifi
module.
* The logs collection is done automatically on wifi fw
assert, and the logs are then gathered to a tarball in
/var/log.
* Parsing the logs is done by executing fw_parser
with the iwl-fw-error*.dump (one of the files in the tarball)
as a parameter.
* .ebuild files aren't part of this commit, and the relevant
changes were applied to chromeos-base/debugd repo, under
CL:*479334.

Change-Id: Ia4a01902ddfd3c54d390169e6d9e1a943f79b8a6
Signed-off-by: Golan Ben Ami <golan.ben.ami@intel.com>
Reviewed-on: https://chrome-internal-review.googlesource.com/446612
Commit-Ready: Eric Caruso <ejcaruso@google.com>
Tested-by: Eric Caruso <ejcaruso@google.com>
Reviewed-by: Eric Caruso <ejcaruso@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/intel-wifi-fw-dump/+/1925473
Tested-by: Kirtika Ruchandani <kirtika@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
6 files changed
tree: 7c90f504e9558c4fa85d5e0abb966039f94285be
  1. 85-iwl-fw-dump.rules
  2. bin/
  3. fwdump
  4. iwl-dbg-cfg.ini
  5. sandbox/