Re: [PATCH RFT rtw-next v3 1/2] wifi: rtw88: use the rate, bandwidth and GI of injected frames
From: Luka Gejak
Date: Tue Dec 01 2026 - 01:02:58 EST
Hi Ahmet,
Thanks for the update. One comment below.
On November 30, 2026 11:35:57 PM GMT+03:00, Ahmet Zeren
<niko3x@xxxxxxxxx> wrote:
[ ... ]
> + if (rate->flags & IEEE80211_TX_RC_80_MHZ_WIDTH)
> + pkt_info->bw = RTW_CHANNEL_WIDTH_80;
> + else if (rate->flags & IEEE80211_TX_RC_40_MHZ_WIDTH)
> + pkt_info->bw = RTW_CHANNEL_WIDTH_40;
> + else
> + pkt_info->bw = RTW_CHANNEL_WIDTH_20;
As far as I can see, the mac80211 parser already accepts VHT MCS9 at
20 MHz with one stream. It checks the VHT map, which advertises MCS9
without specifying widths. That combination is invalid in 802.11ac.
Before this patch rtw88 ignored the requested rate. It would now
program that combination as a fixed rate. This seems to be a
preexisting issue that is only now made reachable in rtw88, so I think
the parser check belongs in a separate mac80211 patch. I am fine with
whoever sends it.
Best regards,
Luka Gejak