From: Ping-Ke Shih <pkshih@realtek.com>
To: "martin@rfdeck.de" <martin@rfdeck.de>, Luka Gejak <luka.gejak@linux.dev>
Cc: Ahmet Zeren <niko3x@proton.me>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
Bitterblue Smith <rtl8821cerfe2@gmail.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: RE: [PATCH RFT rtw-next v3 2/2] wifi: rtw88: honour the retry count and NO_ACK of injected frames
Date: Thu, 3 Dec 2026 01:33:21 +0000 [thread overview]
Message-ID: <52345f86b4e14594af9ff37d11c748da@realtek.com> (raw)
In-Reply-To: <20261202212750.Horde.Y9AXbHEnXePXJuB4_DIASOE@mail.your-server.de>
martin@rfdeck.de <martin@rfdeck.de> wrote:
> martin@rfdeck.de wrote:
> > rtw_ips_pwr_up() does call rtw_set_channel() after rtw_core_start(), so
> > doing the same in rtw_ops_start() looks like the simplest fix. I'll try
> > that on both adapters and report back.
>
> That fixes it. With only this change in rtw88_core (stock 7.0.0-43
> otherwise):
>
> mutex_lock(&rtwdev->mutex);
> ret = rtw_core_start(rtwdev);
> + if (!ret && hw->conf.chandef.chan)
> + rtw_set_channel(rtwdev);
> mutex_unlock(&rtwdev->mutex);
>
> the second setup on the same frequency now works on both adapters:
> the RTL8814AU receives (1125 beacons in 30 s, 0 without the change)
> and both inject again (50 of 50 frames at the receiver, 0 before). A
> second setup on 5200 behaves the same. The drv_config masks are
> unchanged, still without 0x40 after the second start, so the fix
> comes from the call in rtw_ops_start(). The RFE pinmux, REG_CCK_CHECK
> and REG_LED_CFG values after the second setup now match the first. No
> warnings in dmesg.
>
> Ping-Ke, would you take a patch like this for rtw88, or would you
> rather handle it in mac80211's ieee80211_hw_conf_init()? I can send
> it as a proper patch if that helps.
Will it be similar to no chanctx case of rtw89 commit below?
e07c9af7bbc8 ("wifi: rtw89: restore channel when leaving idle on non-chanctx devices")
next prev parent reply other threads:[~2026-12-03 1:34 UTC|newest]
Thread overview: 24+ 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
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-12-02 13:36 ` Luka Gejak
2026-12-02 19:04 ` martin
2026-12-02 20:27 ` martin
2026-12-03 1:33 ` Ping-Ke Shih [this message]
2026-12-03 7:17 ` martin
2026-12-03 7:26 ` Ping-Ke Shih
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=52345f86b4e14594af9ff37d11c748da@realtek.com \
--to=pkshih@realtek.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=luka.gejak@linux.dev \
--cc=martin@rfdeck.de \
--cc=niko3x@proton.me \
--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®