From: Ping-Ke Shih <pkshih@realtek.com>
To: Mehmet Fide <mehmet.fide@gmail.com>
Cc: Luka Gejak <luka.gejak@linux.dev>,
Bitterblue Smith <rtl8821cerfe2@gmail.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"mehmet.fide@screeningeagle.com" <mehmet.fide@screeningeagle.com>
Subject: RE: [PATCH rtw-next v5 2/3] wifi: rtw88: update the beacon from a wiphy work
Date: Mon, 12 Oct 2026 03:21:52 +0000 [thread overview]
Message-ID: <97931e8606134d8390762041a638e556@realtek.com> (raw)
In-Reply-To: <0d01a6f2cd9842ae991091918700d638@realtek.com>
Ping-Ke Shih <pkshih@realtek.com> wrote:
> Mehmet Fide <mehmet.fide@gmail.com> wrote:
> > From: Mehmet Fide <mehmet.fide@screeningeagle.com>
> >
> > set_tim() queues update_beacon_work to rebuild the reserved page with
> > the new TIM. Make it a wiphy work so that it runs under the wiphy lock
> > like the other beacon downloads and can look at mac80211 state;
>
> What "mac80211 state" did you mean? Without wiphy_work, it can't state
> it?
>
> > the
> > next patch needs that to tell whether a channel switch is being
> > announced.
> >
> > rtw_core_stop() runs without the wiphy lock on the IPS path and can no
> > longer cancel the work, so the work checks RTW_FLAG_RUNNING under the
> > driver mutex instead, as the watchdog and the C2H work do.
(forgot to say)
Or you should add wiphy lock on IPS path, and cancel the work.
>
> rtw88 doesn't use wiphy work/lock yet. and you are the first one to use
> wiphy_work. Mixing to use wiphy work/lock and ieee80211_work with driver
> lock looks not good. Should we just use ieee80211_work to avoid confusing?
>
> Or we should migrate to wiphy work/lock?
>
> For me, I prefer you use ieee80211_work with driver lock for now, because
> I guess I don't have time to verify the migration...
>
> Ping-Ke
>
next prev parent reply other threads:[~2026-10-12 3:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-08 6:21 [PATCH rtw-next v5 0/3] wifi: rtw88: channel switch in AP mode Mehmet Fide
2026-10-08 6:21 ` [PATCH rtw-next v5 1/3] wifi: rtw88: download the beacon the reserved page was built with Mehmet Fide
2026-10-08 6:21 ` [PATCH rtw-next v5 2/3] wifi: rtw88: update the beacon from a wiphy work Mehmet Fide
2026-10-12 3:16 ` Ping-Ke Shih
2026-10-12 3:21 ` Ping-Ke Shih [this message]
2026-10-12 6:57 ` Mehmet Fide
2026-10-08 6:21 ` [PATCH rtw-next v5 3/3] wifi: rtw88: support channel switch in AP mode Mehmet Fide
2026-10-12 3:59 ` Ping-Ke Shih
2026-10-12 6:57 ` Mehmet Fide
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=97931e8606134d8390762041a638e556@realtek.com \
--to=pkshih@realtek.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=luka.gejak@linux.dev \
--cc=mehmet.fide@gmail.com \
--cc=mehmet.fide@screeningeagle.com \
--cc=rtl8821cerfe2@gmail.com \
/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®