RE: [PATCH rtw-next v3 1/5] wifi: rtlwifi: rc: start no BA session for QoS null frames

From: Ping-Ke Shih

Date: Tue Nov 24 2026 - 19:46:05 EST


Jie Feng <hjf3108@xxxxxxxxx> wrote:
> 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

Got it.

Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>