• Ben Greear's avatar
    ath10k: support firmware crash-by-assert · d5aebc77
    Ben Greear authored
    10.1 firmware does not have an official way to
    cause assert on purpose, but it can be done with
    carefully crafted WMI command.  This is a different
    kind of crash from the 'hard' crash, which is
    a bad memory dereference.
    
    Different crashes decode in different manners, so
    this will help the crash-report testing as well as
    offer better ways to test firmware failure and
    recovery.
    
    kvalo: move the wmi command creation to debug.c, modify
    the info print
    Signed-off-by: default avatarBen Greear <greearb@candelatech.com>
    Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
    d5aebc77
debug.c 35.5 KB