Linux wireless drivers development
 help / color / mirror / Atom feed
From: Ping-Ke Shih <pkshih@realtek.com>
To: Mehmet Fide <mehmet.fide@gmail.com>, Luka Gejak <luka.gejak@linux.dev>
Cc: 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 v14 3/3] wifi: rtw88: time the countdown downloads from the TBTT
Date: Tue, 24 Nov 2026 09:09:56 +0000	[thread overview]
Message-ID: <b5309523db4f437ebcbdaf1c99fc7a96@realtek.com> (raw)
In-Reply-To: <20261124083156.206506-1-mehmet.fide@gmail.com>

Hi Mehmet,

Mehmet Fide <mehmet.fide@gmail.com> wrote:
> Hi Luka,
> 
> > Could the wait for the safe part of the interval use a finer timer, or
> > could we limit CSA to intervals the timer can reliably handle?
> 
> Agreed for short intervals with HZ=100. A finer timer would not help
> much on USB, where the download itself takes 6 to 17 ms. At 100 TU no
> count repeats (model with HZ=100, rig with HZ=250). If Ping-Ke wants, a
> minimum interval check can be a separate patch.

In my opinion, we can just fix the real case you encountered, and yes
we can think about the different HZ cases in detail. However, we don't 
need to consider too many corner cases, which spend a lot of time, 
but actually never happen. Sometime in the future, if it happens,
we can spin another patch to fix it. No need a perfect patch. 

The main point I want to catch up during reviewing is to prevent kernel
crash. A patch with flaw functionality is acceptable.

Ping-Ke


      reply	other threads:[~2026-11-24  9:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-21 19:36 [PATCH rtw-next v14 0/3] wifi: rtw88: channel switch in AP mode Mehmet Fide
2026-11-21 19:36 ` [PATCH rtw-next v14 1/3] wifi: rtw88: download the beacon the reserved page was built with Mehmet Fide
2026-11-21 19:36 ` [PATCH rtw-next v14 2/3] wifi: rtw88: support channel switch in AP mode Mehmet Fide
2026-11-24  0:24   ` Luka Gejak
2026-11-24  8:31     ` Mehmet Fide
2026-11-24  9:13       ` Ping-Ke Shih
2026-11-21 19:36 ` [PATCH rtw-next v14 3/3] wifi: rtw88: time the countdown downloads from the TBTT Mehmet Fide
2026-11-24  0:24   ` Luka Gejak
2026-11-24  8:31     ` Mehmet Fide
2026-11-24  9:09       ` Ping-Ke Shih [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=b5309523db4f437ebcbdaf1c99fc7a96@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