Re: [PATCH rtw-next v3 1/5] wifi: rtlwifi: rc: start no BA session for QoS null frames
From: Jie Feng
Date: Tue Nov 24 2026 - 07:15:46 EST
On Tue, 24 Nov 2026 at 08:59, Ping-Ke Shih <pkshih@xxxxxxxxxxx> wrote:
>
> Jie Feng <hjf3108@xxxxxxxxx> wrote:
> > On Sun, 22 Nov 2026 at 11:28, Ping-Ke Shih <pkshih@xxxxxxxxxxx> wrote:
> > >
> > >
> > > Ho Jie Feng <hjf3108@xxxxxxxxx> 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
> >
> > > >
> > > > Check ieee80211_is_data_present() instead, so only frames that carry
> > > > data start a BA session.
> > >
> > >