From: Ping-Ke Shih <pkshih@realtek.com>
To: Jie Feng <hjf3108@gmail.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
Bitterblue Smith <rtl8821cerfe2@gmail.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: RE: [PATCH rtw-next v3 1/5] wifi: rtlwifi: rc: start no BA session for QoS null frames
Date: Wed, 25 Nov 2026 00:45:54 +0000 [thread overview]
Message-ID: <e0d6094e1b4c4372985052ec126a31ed@realtek.com> (raw)
In-Reply-To: <CABOQOSVEG0+WvX04swuVAbUFG=Ga0HTcBJjzpaXB_eKZRwE35g@mail.gmail.com>
Jie Feng <hjf3108@gmail.com> wrote:
> On Tue, 24 Nov 2026 at 08:59, Ping-Ke Shih <pkshih@realtek.com> wrote:
> >
> > Jie Feng <hjf3108@gmail.com> wrote:
> > > On Sun, 22 Nov 2026 at 11:28, Ping-Ke Shih <pkshih@realtek.com> wrote:
> > > >
> > > >
> > > > Ho Jie Feng <hjf3108@gmail.com> wrote:
> > > > > rtl_tx_status() starts a TX BA session for any QoS null data frames,
> > > > > so these polls start a session even though they do not carry data.
> > > > > That costs an ADDBA exchange.
> > > >
> > > > Will ieee80211_is_data_qos() be more suitable?
> > >
> > > ieee80211_is_data_qos() only tests the QoS bit (0x80), which is also set
> > > for QoS null (0xC0), so the BA session would still be started.
> >
> > How about ieee80211_is_data_qos() && ieee80211_is_data_present() ?
>
> ieee80211_is_data_qos() is already checked in rtl_tx_status():
> https://elixir.bootlin.com/linux/v7.4-rc1/source/drivers/net/wireless/realtek/rtlwifi/rc.c#L234
Got it.
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
next prev parent reply other threads:[~2026-11-25 0:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-20 11:31 [PATCH rtw-next v3 0/5] wifi: rtlwifi: rtl8192du fixes and additional support Ho Jie Feng
2026-11-20 11:31 ` [PATCH rtw-next v3 1/5] wifi: rtlwifi: rc: start no BA session for QoS null frames Ho Jie Feng
2026-11-22 3:28 ` Ping-Ke Shih
2026-11-23 17:08 ` Jie Feng
2026-11-24 0:59 ` Ping-Ke Shih
2026-11-24 12:15 ` Jie Feng
2026-11-25 0:45 ` Ping-Ke Shih [this message]
2026-11-20 11:31 ` [PATCH rtw-next v3 2/5] wifi: rtlwifi: rtl8192d: report no signal for frames without PHY status Ho Jie Feng
2026-11-20 11:31 ` [PATCH rtw-next v3 3/5] wifi: rtlwifi: usb: unify the RX code path Ho Jie Feng
2026-11-20 11:31 ` [PATCH rtw-next v3 4/5] wifi: rtlwifi: usb: move the radiotap headroom size to usb.h Ho Jie Feng
2026-11-20 11:31 ` [PATCH rtw-next v3 5/5] wifi: rtlwifi: rtl8192du: enable USB RX aggregation Ho Jie Feng
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=e0d6094e1b4c4372985052ec126a31ed@realtek.com \
--to=pkshih@realtek.com \
--cc=hjf3108@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--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