Linux wireless drivers development
 help / color / mirror / Atom feed
From: Ping-Ke Shih <pkshih@realtek.com>
To: Josef Schlehofer <pepe.schlehofer@gmail.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: RE: [PATCH rtw-next] wifi: rtw89: fix 6 GHz peer rate lookup
Date: Mon, 30 Nov 2026 03:55:21 +0000	[thread overview]
Message-ID: <ddb4e8de90e14464945edf6cfa90ccd7@realtek.com> (raw)
In-Reply-To: <20261129084440.57834-1-pepe.schlehofer@gmail.com>

Josef Schlehofer <pepe.schlehofer@gmail.com> wrote:
> supp_rates[] is indexed by enum nl80211_band, not enum rtw89_band.
> On 6 GHz, RTW89_BAND_6G is 2 (60 GHz in nl80211), so the lookup in
> rtw89_core_get_data_rate() reads the 60 GHz entry instead of the 6 GHz
> one.
> 
> Convert the band before indexing supp_rates[].
> 
> Fixes: e5307c9cd7ee ("wifi: rtw89: set data lowest rate according to AP supported rate")
> Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>

Acked-by: Ping-Ke Shih <pkshih@realtek.com>



      reply	other threads:[~2026-11-30  3:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-29  8:44 [PATCH rtw-next] wifi: rtw89: fix 6 GHz peer rate lookup Josef Schlehofer
2026-11-30  3:55 ` Ping-Ke Shih [this message]

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=ddb4e8de90e14464945edf6cfa90ccd7@realtek.com \
    --to=pkshih@realtek.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=pepe.schlehofer@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