mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mehmet Fide <mehmet.fide@gmail.com>
To: Johannes Berg <johannes@sipsolutions.net>
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 17:56:58 +0100	[thread overview]
Message-ID: <20261124165658.266252-1-mehmet.fide@gmail.com> (raw)
In-Reply-To: <26593ae869ed222980ac78ac869bc2745d2c282a.camel@sipsolutions.net>

Hi Johannes,

> > Fixes: e487eaeb076a ("cfg80211/mac80211/ath6kl: acquire wdev lock outside ch_switch_notify")
>
> I don't see why it would be that?? Please explain that.

That commit is where the clear moved ahead of the beacon replacement.
Before it, ieee80211_csa_finalize_work() assigned next_beacon first and
cleared csa_active only after the switch statement. e487eaeb076a added
the "goto unlock" error paths and moved the clear up, just before the
switch, so ieee80211_assign_beacon() now runs with csa_active already
false. 66199506fb91 ("mac80211: split CSA finalize function") and
1a96bb4e8a79 ("wifi: mac80211: start and finalize channel switch on
link basis") kept that order.

ath9k already tested csa_active before the countdown since d074e8d54785
("ath9k: enable CSA functionality in ath9k"), so the window opened for
it with e487eaeb076a.

Mehmet

      reply	other threads:[~2026-11-24 16:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-17 15:31 Mehmet Fide
2026-11-24 13:52 ` Johannes Berg
2026-11-24 16:56   ` Mehmet Fide [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=20261124165658.266252-1-mehmet.fide@gmail.com \
    --to=mehmet.fide@gmail.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --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®