From: Mehmet Fide <mehmet.fide@gmail.com>
To: Luka Gejak <luka.gejak@linux.dev>
Cc: Ping-Ke Shih <pkshih@realtek.com>,
Bitterblue Smith <rtl8821cerfe2@gmail.com>,
linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org,
mehmet.fide@screeningeagle.com
Subject: Re: [PATCH rtw-next v2 2/2] wifi: rtw88: support channel switch in AP mode
Date: Thu, 1 Oct 2026 13:54:30 +0200 [thread overview]
Message-ID: <20261001115430.2979761-1-mehmet.fide@gmail.com> (raw)
In-Reply-To: <20261001071822.17746-1-luka.gejak@linux.dev>
Hi Luka,
On 2026-10-01 Luka Gejak wrote:
> This work is not the only one that re-downloads the page. Every page download
> fetches a beacon, through rtw_get_rsvd_page_skb():
[...]
> A station that wakes up in power save during the countdown is enough, so one
> interval can move the count twice, for example 4 on air and then 2, and a fetch
> that lands after the counter reached 1 makes mac80211 log "beacon TX faster than
> countdown". Can the set_tim work skip the download while a switch is announced?
> rtw_fw_csa_beacon_work() rebuilds the page one interval later, so the new TIM
> still gets out and the countdown keeps one step per interval.
You are right, I had only looked at the paths the series touches. v3
makes rtw_fw_update_beacon_work() return without a download while the
vif that owns the beacon page has csa_active set; the csa work rebuilds
the page, TIM included, within the interval.
I went through the other callers of rtw_fw_download_rsvd_page() for the
same pattern. One more is reachable with an AP: set_key downloads the
page for the PG deep-sleep backup, so a station installing a key during
the countdown would add a step on a chip with that mode; v3 skips that
download the same way. BSS_CHANGED_BEACON during a countdown re-arms
the csa work timer, so that download replaces the step instead of
adding one; the hw scan is refused while a switch is announced; the
WoWLAN downloads run after suspend cancelled the work; the ASSOC
download is station mode.
I will check it with a station in power save during the countdown and
watch for mac80211's "beacon TX faster than countdown" before and after.
Best regards,
Mehmet
next prev parent reply other threads:[~2026-10-01 11:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-30 7:44 [PATCH rtw-next v2 0/2] wifi: rtw88: channel switch in AP mode Mehmet Fide
2026-09-30 7:44 ` [PATCH rtw-next v2 1/2] wifi: rtw88: download the beacon the reserved page was built with Mehmet Fide
2026-10-01 7:16 ` [PATCH " Luka Gejak
2026-10-01 11:54 ` [PATCH rtw-next " Mehmet Fide
2026-10-05 2:49 ` Ping-Ke Shih
2026-09-30 7:44 ` [PATCH rtw-next v2 2/2] wifi: rtw88: support channel switch in AP mode Mehmet Fide
2026-10-01 7:18 ` [PATCH " Luka Gejak
2026-10-01 11:54 ` Mehmet Fide [this message]
2026-10-05 3:11 ` [PATCH rtw-next " Ping-Ke Shih
2026-10-05 9:51 ` 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=20261001115430.2979761-1-mehmet.fide@gmail.com \
--to=mehmet.fide@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=luka.gejak@linux.dev \
--cc=mehmet.fide@screeningeagle.com \
--cc=pkshih@realtek.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.