archive mirror
 help / color / mirror / Atom feed
From: Kalle Valo <>
To: Wen Gong <>
Subject: Re: [PATCH v6] ath10k: add atomic protection for device recovery
Date: Sat, 12 Dec 2020 04:38:27 +0000 (UTC)	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

Wen Gong <> wrote:

> When it has more than one restart_work queued meanwhile, the 2nd
> restart_work is very easy to break the 1st restart work and lead
> recovery fail.
> Add a flag to allow only one restart work running untill
> device successfully recovered.
> It already has flag ATH10K_FLAG_CRASH_FLUSH, but it can not use this
> flag again, because it is clear in ath10k_core_start. The function
> ieee80211_reconfig(called by ieee80211_restart_work) of mac80211 do
> many things and drv_start(call to ath10k_core_start) is 1st thing,
> when drv_start complete, it does not mean restart complete. So it
> add new flag and clear it in ath10k_reconfig_complete, because it
> is the last thing called from drv_reconfig_complete of function
> ieee80211_reconfig, after it, the restart process finished.
> Tested-on: QCA6174 hw3.2 SDIO WLAN.RMH.4.4.1-00049
> Signed-off-by: Wen Gong <>
> Signed-off-by: Kalle Valo <>

Patch applied to ath-next branch of ath.git, thanks.

5dadbe4e3718 ath10k: add atomic protection for device recovery


ath10k mailing list

       reply	other threads:[~2020-12-12  4:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <>
2020-12-12  4:38 ` Kalle Valo [this message]
2020-09-08  4:13 [PATCH v6] ath10k: add atomic protection for device recovery Wen Gong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).