]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: dump to debugfs the SRAM as binary
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 24 Dec 2013 12:58:29 +0000 (14:58 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 31 Dec 2013 17:03:48 +0000 (19:03 +0200)
commitd286a5a1512e42c0e02cb2b7164c3af49a5c9fa5
tree947d583f2eca84a6e77a5a304c5a28b9bc823cc5
parentc128e2eac0f9fc7a3a3d83c72f073488fb1c8a08
iwlwifi: mvm: dump to debugfs the SRAM as binary

This allows to format it at will using external tools.
Since different teams want it in different formats, dump
the raw data and everyone can play with the data the way
they want.

While at it - make this code slightly more robust by making
the required verification on the offsets / length in the
write handler.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/debugfs.c