mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Luka Gejak <luka.gejak@linux.dev>
To: Ahmet Zeren <niko3x@proton.me>
Cc: Ping-Ke Shih <pkshih@realtek.com>,
	linux-wireless@vger.kernel.org,
	Bitterblue Smith <rtl8821cerfe2@gmail.com>,
	Martin <martin@rfdeck.de>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH RFT rtw-next v3 1/2] wifi: rtw88: use the rate, bandwidth and GI of injected frames
Date: Tue,  1 Dec 2026 07:02:47 +0100	[thread overview]
Message-ID: <179610495595.388673.1196096326230618192.rtw88-v3-reply-1@linux.dev> (raw)
In-Reply-To: <20261130-b4-rtw88-inject-v3-1-d79a5bd7f7b5@proton.me>

Hi Ahmet,

Thanks for the update. One comment below.

On November 30, 2026 11:35:57 PM GMT+03:00, Ahmet Zeren
<niko3x@proton.me> 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

  reply	other threads:[~2026-12-01  6:02 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30 20:35 [PATCH RFT rtw-next v3 0/2] wifi: rtw88: honour rate, retries and bandwidth " Ahmet Zeren via B4 Relay
2026-11-30 20:35 ` [PATCH RFT rtw-next v3 1/2] wifi: rtw88: use the rate, bandwidth and GI " Ahmet Zeren via B4 Relay
2026-12-01  6:02   ` Luka Gejak [this message]
2026-12-01 15:12     ` Ahmet Zeren
2026-12-01 15:52       ` Luka Gejak
2026-11-30 20:35 ` [PATCH RFT rtw-next v3 2/2] wifi: rtw88: honour the retry count and NO_ACK " Ahmet Zeren via B4 Relay
2026-12-01  6:02   ` Luka Gejak
2026-12-01 15:11     ` Ahmet Zeren
2026-12-01 15:52       ` Luka Gejak
2026-12-01 15:52       ` Luka Gejak
2026-12-01 19:01         ` martin
2026-12-01 20:44           ` Ahmet Zeren
2026-11-30 21:16 ` [PATCH RFT rtw-next v3 0/2] wifi: rtw88: honour rate, retries and bandwidth " martin
2026-11-30 22:05   ` Ahmet Zeren
2026-12-01  2:56     ` Ping-Ke Shih
2026-12-01 15:17       ` Ahmet Zeren
2026-12-01 15:57         ` martin
2026-12-01 16:57           ` martin

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=179610495595.388673.1196096326230618192.rtw88-v3-reply-1@linux.dev \
    --to=luka.gejak@linux.dev \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=martin@rfdeck.de \
    --cc=niko3x@proton.me \
    --cc=pkshih@realtek.com \
    --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

all inboxes | Powered by JetHome®