[PATCH] ath10k: change simulate_fw_crash to work with 10.1 firmware

Michal Kazior michal.kazior at tieto.com
Tue Feb 11 01:17:45 EST 2014


On 10 February 2014 18:13, Marek Puzyniak <marek.puzyniak at tieto.com> wrote:
> Wmi command WMI_FORCE_FW_HANG_CMDID is not supported
> in firmware 10.1. In order to have firmware crash simulation
> functionality also in firmware 10.1 driver can force firmware
> crash by performing not allowed operation. Driver can deliberately
> crash firmware when setting vdev param for vdev id out of range.
>
> Command to trigger firmware crash:
> echo "crash" > /sys/kernel/debug/ieee80211/phyX/ath10k/simulate_fw_crash
>
> Signed-off-by: Marek Puzyniak <marek.puzyniak at tieto.com>
> ---

The 'fw hang assert' crash can be recovered with a warm reset but a
real crash can't. Thus, I think the two crash methods should be
distinguishable by having either two separate debugfs files or two
separate trigger keywords.


Michał



More information about the ath10k mailing list