From: Ping-Ke Shih <pkshih@realtek.com>
To: Luka Gejak <luka.gejak@linux.dev>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"Michael Straube" <straube.linux@gmail.com>,
Peter Robinson <pbrobinson@gmail.com>,
Bitterblue Smith <rtl8821cerfe2@gmail.com>
Subject: RE: [PATCH v3 3/6] wifi: rtw88: 8723b: add the RTL8723B chip driver
Date: Tue, 29 Sep 2026 02:04:49 +0000 [thread overview]
Message-ID: <78faacdc2ba04d48b663c91194f04bc8@realtek.com> (raw)
In-Reply-To: <92337f29a7dd8d517c2037e857e13eb2612e10e7@linux.dev>
Luka Gejak <luka.gejak@linux.dev> wrote:
> Hi Ping-Ke,
>
> September 24, 2026 at 06:11, "Ping-Ke Shih" <pkshih@realtek.com> wrote:
> >
> > Luka Gejak <luka.gejak@linux.dev> wrote:
>
> Answers in the order of your mail. The MAINTAINERS point is in a
> separate reply.
>
> > Can you also review other RTL8723B specific functions? I didn't review
> > them one by one by v3, but I wonder why it needs specific functions,
> > not common flow. If any of them is necessary, please point out reasons.
> >
> > By the way, I didn't only mention these three functions. At here there
> > are many specific functions. Please analyze them.
> > (Honestly, I don't fully re-examinate your analysis in detail, and
> > believe your results.)
>
> I went through the whole file. The part that is already common flow can
> be listed exactly, because those ops point at shared code:
>
> power_on, power_off rtw_power_on, rtw_power_off
> mac_postinit rtw8723x_mac_postinit
> set_tx_power_index rtw8723x_set_tx_power_index
> false_alarm_statistics rtw8723x_false_alarm_statistics
> read_rf, write_rf rtw_phy_read_rf_sipi,
> rtw_phy_write_rf_reg_sipi
> read_efuse rtw8723x_read_efuse, plus the hardware
> capability, because this chip has no
> hardware feature report: the firmware
> reports id 0xfd instead of the C2H
> efuse_grant rtw8723x_efuse_grant, plus the 0x6b BT
> power cut and output isolation write that
> the vendor efuse path does
>
I think you have checked them. Please reconsider to rewrite them.
As Johannes mentioned, LLM is a tool, but please not fully believe
and rely on it. LLM can generate a lot of stuff, but I read by my
eyes and then think and type by my hands. To understand and rework
stuff generated by LLM is submitter's business.
>
> > I think the better way is to assign proper rtwdev->hal.rcr per chip
> > in rtw_core_init().
>
[..]
>
> If you prefer, I can put the core change in a small patch before the
> chip series rather than in patch 3, so the chip series stays free of
> core changes.
Yes, that'd be good.
The 8723BS specific stuff should do in the kind of rewriting.
>
> > Can you reuse the existing since they are the same?
>
I think I can refer a common rule...
>
> > (Please quote the code; to reply to this, I need to switch to your
> > patches again).
> On your last sentence, that the reason is hard to explain later if it is
> not written down: whatever we change will carry its reason in the code
> or in the commit message, not only in this mail. The same goes for the
> two things I am asking to keep, cfg_ldo25() and the RESP_SIFS writes,
> which will say why they are there.
It is still hard to me to recall what I wrote at last sentence...
Let's follow Bitterblue's comments on v4, and move to v5.
I noted the copyright aren't all consistent. Check them yourself.
Ping-Ke
next prev parent reply other threads:[~2026-09-29 2:04 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-21 15:43 [PATCH v3 0/6] wifi: rtw88: add RTL8723B/RTL8723BS support Luka Gejak
2026-09-21 15:43 ` [PATCH v3 1/6] wifi: rtw88: 8723b: add the RTL8723B register definitions Luka Gejak
2026-09-23 7:44 ` Ping-Ke Shih
2026-09-21 15:43 ` [PATCH v3 2/6] wifi: rtw88: 8723b: add the RTL8723B BB, RF and AGC tables Luka Gejak
2026-09-23 7:50 ` Ping-Ke Shih
2026-09-23 8:27 ` Luka Gejak
2026-09-23 8:34 ` Ping-Ke Shih
2026-09-23 8:44 ` Luka Gejak
2026-09-23 8:59 ` Ping-Ke Shih
2026-09-23 9:09 ` Luka Gejak
2026-09-21 15:43 ` [PATCH v3 3/6] wifi: rtw88: 8723b: add the RTL8723B chip driver Luka Gejak
2026-09-23 8:30 ` Ping-Ke Shih
2026-09-23 21:50 ` Luka Gejak
2026-09-24 3:11 ` Ping-Ke Shih
2026-09-24 8:30 ` Luka Gejak
2026-09-29 2:04 ` Ping-Ke Shih [this message]
2026-09-29 6:26 ` Luka Gejak
2026-09-28 6:25 ` Johannes Berg
2026-09-28 6:57 ` Luka Gejak
2026-09-27 17:37 ` Bitterblue Smith
2026-09-21 15:43 ` [PATCH v3 4/6] wifi: rtw88: 8723bs: add the RTL8723BS SDIO bind Luka Gejak
2026-09-23 9:04 ` Ping-Ke Shih
2026-09-21 15:43 ` [PATCH v3 5/6] wifi: rtw88: 8723bs: enable building the RTL8723BS driver Luka Gejak
2026-09-21 15:43 ` [PATCH v3 6/6] MAINTAINERS: add entry for the RTL8723B rtw88 driver Luka Gejak
2026-09-21 16:25 ` Johannes Berg
2026-09-21 16:49 ` Luka Gejak
2026-09-21 18:14 ` Johannes Berg
2026-09-21 22:35 ` Jeff Johnson
2026-09-21 23:53 ` Luka Gejak
2026-09-22 0:28 ` Ping-Ke Shih
2026-09-22 0:43 ` Luka Gejak
2026-09-22 0:50 ` Ping-Ke Shih
2026-09-22 1:07 ` Luka Gejak
2026-09-24 1:42 ` Ping-Ke Shih
2026-09-24 17:43 ` Jeff Johnson
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=78faacdc2ba04d48b663c91194f04bc8@realtek.com \
--to=pkshih@realtek.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=luka.gejak@linux.dev \
--cc=pbrobinson@gmail.com \
--cc=rtl8821cerfe2@gmail.com \
--cc=straube.linux@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®