From: Ping-Ke Shih <pkshih@realtek.com>
To: Bitterblue Smith <rtl8821cerfe2@gmail.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Cc: Larry Finger <Larry.Finger@lwfinger.net>,
Stefan Lippers-Hollmann <s.l-h@gmx.de>,
Christian Hewitt <chewitt@libreelec.tv>
Subject: RE: [PATCH v4 03/14] wifi: rtlwifi: Move code from rtl8192de to rtl8192d-common
Date: Mon, 15 Apr 2024 01:29:31 +0000 [thread overview]
Message-ID: <b8ac02da49ff472e8eed912bd1cc94ac@realtek.com> (raw)
In-Reply-To: <601c4f3c-8069-48ea-aae8-b1e814eba283@gmail.com>
Bitterblue Smith <rtl8821cerfe2@gmail.com> wrote:
> On 12/04/2024 11:22, Ping-Ke Shih wrote:
> > Bitterblue Smith <rtl8821cerfe2@gmail.com> wrote:
> >
> >> diff --git a/drivers/net/wireless/realtek/rtlwifi/Kconfig
> >> b/drivers/net/wireless/realtek/rtlwifi/Kconfig
> >> index 9f6a4e35543c..2319eaa8845a 100644
> >> --- a/drivers/net/wireless/realtek/rtlwifi/Kconfig
> >> +++ b/drivers/net/wireless/realtek/rtlwifi/Kconfig
> >> @@ -37,6 +37,7 @@ config RTL8192SE
> >> config RTL8192DE
> >> tristate "Realtek RTL8192DE/RTL8188DE PCIe Wireless Network Adapter"
> >> depends on PCI
> >> + select RTL8192D_COMMON
> >> select RTLWIFI
> >> select RTLWIFI_PCI
> >> help
> >> @@ -142,6 +143,11 @@ config RTL8192C_COMMON
> >> depends on RTL8192CE || RTL8192CU
> >> default y
> >>
> >> +config RTL8192D_COMMON
> >> + tristate
> >> + depends on RTL8192DE
> >> + default y
> >> +
> >
> > Existing RTL8723_COMMON also uses both 'depends on' and 'select', which are
> > mutual reference, so I think choosing only one of them would be better.
> >
> >> config RTL8723_COMMON
> >> tristate
> >> depends on RTL8723AE || RTL8723BE
> >
>
> I'm not sure about this. Isn't there a good reason why the
> "common" drivers do it this way?
>
> [...]
IIRC people said mutual reference of 'depends on' and 'select' isn't good.
(I can't find that discussion, sorry.)
I think we can add 'select RTL8192D_COMMON' to RTL8192DE, and
config RTL8192D_COMMON
tristate
(no need 'depends on' and 'default y')
> Okay, I did all the things you mentioned, and a bit more.
Thanks for extra works. I believe there are more works than I mentioned. :)
And, these works should be verified by real hardware because of many changes,
so I think this is a good time to refine this driver, because you are
verifying new hardware.
next prev parent reply other threads:[~2024-04-15 1:29 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-09 19:39 [PATCH v4 00/14] wifi: rtlwifi: Add new rtl8192du driver Bitterblue Smith
2024-04-09 19:46 ` [PATCH v4 01/14] wifi: rtlwifi: rtl8192de: Fix 5 GHz TX power Bitterblue Smith
2024-04-12 2:58 ` Ping-Ke Shih
2024-04-09 19:52 ` [PATCH v4 02/14] wifi: rtlwifi: rtl8192de: Fix low speed with WPA3-SAE Bitterblue Smith
2024-04-10 4:53 ` Stefan Lippers-Hollmann
2024-04-12 6:14 ` Ping-Ke Shih
2024-04-09 19:53 ` [PATCH v4 03/14] wifi: rtlwifi: Move code from rtl8192de to rtl8192d-common Bitterblue Smith
2024-04-12 8:22 ` Ping-Ke Shih
2024-04-14 18:46 ` Bitterblue Smith
2024-04-15 1:29 ` Ping-Ke Shih [this message]
2024-04-09 19:54 ` [PATCH v4 04/14] wifi: rtlwifi: Adjust rtl8192d-common for USB Bitterblue Smith
2024-04-09 19:54 ` [PATCH v4 05/14] wifi: rtlwifi: Add rtl8192du/table.{c,h} Bitterblue Smith
2024-04-09 19:56 ` [PATCH v4 06/14] wifi: rtlwifi: Add rtl8192du/hw.{c,h} Bitterblue Smith
2024-04-09 19:57 ` [PATCH v4 07/14] wifi: rtlwifi: Add rtl8192du/phy.{c,h} Bitterblue Smith
2024-04-09 19:57 ` [PATCH v4 08/14] wifi: rtlwifi: Add rtl8192du/trx.{c,h} Bitterblue Smith
2024-04-09 19:58 ` [PATCH v4 09/14] wifi: rtlwifi: Add rtl8192du/rf.{c,h} Bitterblue Smith
2024-04-09 19:58 ` [PATCH v4 10/14] wifi: rtlwifi: Add rtl8192du/fw.{c,h} and rtl8192du/led.{c,h} Bitterblue Smith
2024-04-09 19:59 ` [PATCH v4 11/14] wifi: rtlwifi: Add rtl8192du/dm.{c,h} Bitterblue Smith
2024-04-09 20:00 ` [PATCH v4 12/14] wifi: rtlwifi: Constify rtl_hal_cfg.{ops,usb_interface_cfg} and rtl_priv.cfg Bitterblue Smith
2024-04-09 20:01 ` [PATCH v4 13/14] wifi: rtlwifi: Add rtl8192du/sw.{c,h} Bitterblue Smith
2024-04-09 20:02 ` [PATCH v4 14/14] wifi: rtlwifi: Enable the new rtl8192du driver Bitterblue Smith
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=b8ac02da49ff472e8eed912bd1cc94ac@realtek.com \
--to=pkshih@realtek.com \
--cc=Larry.Finger@lwfinger.net \
--cc=chewitt@libreelec.tv \
--cc=linux-wireless@vger.kernel.org \
--cc=rtl8821cerfe2@gmail.com \
--cc=s.l-h@gmx.de \
/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;
as well as URLs for NNTP newsgroup(s).