OSDN Git Service

iwlwifi: wrt: add fw force restart via triggers
authorShahar S Matityahu <shahar.s.matityahu@intel.com>
Thu, 28 Dec 2017 08:19:43 +0000 (10:19 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 28 Mar 2018 19:43:40 +0000 (22:43 +0300)
commit378c8931342f99c5a6fce21e38ef46ac39395464
tree0468ddcb4342037e75bc26b0d62409171a8b36a9
parent9b137866f9a2699698cfffb0b7729331a419d617
iwlwifi: wrt: add fw force restart via triggers

We can set triggers that cause a debug data collection when something
of interest happens (e.g. when too many probes are lost conscutively).
Normally, this triggers don't cause the FW to be restarted, but in
some cases that may be desired, so we recover from the problem.  To
support this, add a flag that indicates that the FW should be
restarted when the trigger fires.

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/fw/file.h