RE: [PATCH rtw-next v3 1/5] wifi: rtlwifi: rc: start no BA session for QoS null frames
From: Ping-Ke Shih
Date: Mon Nov 23 2026 - 19:59:46 EST
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() ?
>
> > >
> > > Check ieee80211_is_data_present() instead, so only frames that carry
> > > data start a BA session.
> >
> >