mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Luka Gejak <luka.gejak@linux.dev>
To: niko3x@proton.me,
	Ahmet Zeren via B4 Relay <devnull+niko3x.proton.me@kernel.org>,
	Ping-Ke Shih <pkshih@realtek.com>
Cc: linux-wireless@vger.kernel.org,
	Bitterblue Smith <rtl8821cerfe2@gmail.com>,
	linux-kernel@vger.kernel.org, Ahmet Zeren <niko3x@proton.me>
Subject: Re: [PATCH RFT rtw-next 1/2] wifi: rtw88: use the rate, bandwidth and GI of injected frames
Date: Wed, 25 Nov 2026 22:50:30 +0100	[thread overview]
Message-ID: <8E47D781-B1FF-4B2F-B0EA-AABA130E2778@linux.dev> (raw)
In-Reply-To: <20261124-b4-rtw88-inject-v1-1-f7457e496924@proton.me>

Hi Ahmet,

Thanks for picking this up. One comment below.

On November 24, 2026 11:32:30 AM 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;

Do we also need DATA_SC when the requested width is narrower than the
channel? The RTL8822B vendor driver sets it alongside DATA_BW for HT and
VHT data. Here we leave it at zero and program the primary subchannels
through REG_DATA_SC. I am unsure which one the MAC uses with USE_RATE set.

Could we check that a 40 MHz frame on an 80 MHz channel goes out on the
half containing the primary channel, with the primary channel in each
half in turn?

Best regards,
Luka Gejak

  reply	other threads:[~2026-11-25 21:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24  8:32 [PATCH RFT rtw-next 0/2] wifi: rtw88: honour rate, retries and bandwidth " Ahmet Zeren via B4 Relay
2026-11-24  8:32 ` [PATCH RFT rtw-next 1/2] wifi: rtw88: use the rate, bandwidth and GI " Ahmet Zeren via B4 Relay
2026-11-25 21:50   ` Luka Gejak [this message]
2026-11-25 22:34     ` Ahmet Zeren
2026-11-25 22:55       ` Luka Gejak
2026-11-24  8:32 ` [PATCH RFT rtw-next 2/2] wifi: rtw88: honour the retry count and NO_ACK " Ahmet Zeren via B4 Relay
2026-11-25 21:52   ` Luka Gejak
2026-11-25 22:38     ` Ahmet Zeren

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=8E47D781-B1FF-4B2F-B0EA-AABA130E2778@linux.dev \
    --to=luka.gejak@linux.dev \
    --cc=devnull+niko3x.proton.me@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --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®