wlcore: gather information about firmware stability
authorLuciano Coelho <coelho@ti.com>
Mon, 26 Nov 2012 16:05:49 +0000 (18:05 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 4 Dec 2012 14:36:09 +0000 (16:36 +0200)
commitc108c90535ae29099de88187a90b8411bc1fe9a1
tree05d2f15d83ffa3e964e3547e57b1483511f3b42f
parent518b680a8eb3ef953c80c9ef1bd6502e107b36fb
wlcore: gather information about firmware stability

It's sometimes useful to gather information about the firmware
stability in long test runs, especially to see if problems are
recurring frequently or not.  With this commit we count the number of
times a hardware recovery was issued and print it out during recovery
and in the driver_state in debugfs.

Signed-off-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/debugfs.c
drivers/net/wireless/ti/wlcore/main.c
drivers/net/wireless/ti/wlcore/wlcore.h