]> 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)
commitd6ab591670c1c1a4030a7e780e49b07be37c691a
tree947d583f2eca84a6e77a5a304c5a28b9bc823cc5
parentc0749249d64eea58771213b302ebcaae40943146
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