diff options
author | Rakesh Pillai <pillair@codeaurora.org> | 2019-01-29 14:56:07 +0530 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2019-02-07 16:51:13 +0200 |
commit | cdb78e5af49105917ba5694bc616d12b0a4f85f3 (patch) | |
tree | daae2bd200cdc72e4d20bbb4bd0dbf3e160b737c /drivers/net/wireless/ath/ath10k/core.c | |
parent | 6e8a8991e2103dcb6a9cff28f460390e8e360848 (diff) |
ath10k: fix hw-restart crash inject mode for WCN3990
The hw-restart crash inject mode is a special mode, where
there is no crash generated in the firmware, but instead
the driver restarts the firmware. In order to restart WCN3990
firmware, the driver needs to send qmi_wlan_disable message
followed by the qmi_wlan_enable message to the WCN3990 firmware.
Currently the qmi_wlan_disable message is not sent to
the WCN3990 firmware when hw-restart crash is injected,
which causes the firmware to crash when the driver sends
qmi_wlan_enable message during ath10k_restart.
Send qmi_wlan_disable to the WCN3990 firmware when the
hw-restart crash is injected via debugfs.
Tested HW: WCN3990
Tested FW: WLAN.HL.2.0-01188-QCAHLSWMTPLZ-1
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/core.c')
0 files changed, 0 insertions, 0 deletions