diff options
author | Wen Gong <[email protected]> | 2023-09-05 06:52:29 -0400 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2023-09-28 18:01:12 +0300 |
commit | ecbb987b0a96b89aef669d3422f1ca09000424dc (patch) | |
tree | ac26a17f4abd9c4f6c60b2c6091dc4a1a1df9d1a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 004ccbc0dd49c63576a4c60a663a38dd3cb6bee5 (diff) |
wifi: ath12k: fix recovery fail while firmware crash when doing channel switch
When firmware crashed while channel switch running, recovery starts in
ath12k. Then ieee80211_sta_connection_lost() will be called by function
ieee80211_restart_work() in mac80211. And then many WMI command timeout
because firmware is crashed. Each WMI command cost 3 seconds, then the
total time will be large and leads recovery fail.
Hence change to set value ATH12K_FLAG_CRASH_FLUSH early and then
ath12k_wmi_cmd_send() will not wait 3 seconds, then recovery will be
started quickly and success.
Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4
Signed-off-by: Wen Gong <[email protected]>
Acked-by: Jeff Johnson <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions