mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Mehmet Fide <mehmet.fide@gmail.com>
Cc: "Simon Wunderlich" <sw@simonwunderlich.de>,
	"Toke Høiland-Jørgensen" <toke@toke.dk>,
	linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org,
	mehmet.fide@screeningeagle.com
Subject: Re: [PATCH wireless-next] wifi: mac80211: replace the CSA beacon before clearing csa_active
Date: Tue, 24 Nov 2026 14:52:02 +0100	[thread overview]
Message-ID: <26593ae869ed222980ac78ac869bc2745d2c282a.camel@sipsolutions.net> (raw)
In-Reply-To: <20261117153154.1804945-1-mehmet.fide@gmail.com>

On Tue, 2026-11-17 at 16:31 +0100, Mehmet Fide wrote:
> From: Mehmet Fide <mehmet.fide@screeningeagle.com>
> 
> __ieee80211_csa_finalize() clears csa_active and only then replaces the
> CSA beacon with the one for after the switch. A driver that fetches its
> beacons with ieee80211_beacon_get() and skips them once the countdown
> is complete, as ath9k does in ath9k_csa_is_finished(), tests csa_active
> first. A beacon fetched between the two steps passes that test and gets
> the CSA beacon again, which goes out on the new channel, and
> ieee80211_beacon_get() reports "beacon TX faster than countdown".
> 
> Replace the beacon first, as the finalize work did before the clear was
> moved ahead of it. csa_active is still cleared when replacing the
> beacon fails.
> 
> Fixes: e487eaeb076a ("cfg80211/mac80211/ath6kl: acquire wdev lock outside ch_switch_notify")

I don't see why it would be that?? Please explain that.

johannes
-- 
pw-bot: cr

      reply	other threads:[~2026-11-24 13:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-17 15:31 Mehmet Fide
2026-11-24 13:52 ` Johannes Berg [this message]

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=26593ae869ed222980ac78ac869bc2745d2c282a.camel@sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mehmet.fide@gmail.com \
    --cc=mehmet.fide@screeningeagle.com \
    --cc=sw@simonwunderlich.de \
    --cc=toke@toke.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

all inboxes | Powered by JetHome®