2023-12-06 11:48:34

by ZeroBeat

[permalink] [raw]
Subject: [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID

From: Michael Dieckmann (https://github.com/ZerBea)
To: linux-wireless

Subject: [PATCH] wifi: Realtek: rtl8xxxu Add new device ID

This patch will add a new device ID.
Patch will close: https://bugzilla.kernel.org/show_bug.cgi?id=218231


TP-Link TL-WN8200ND(UN) v3.0
ID 2357:0126 TP-Link 802.11n NIC
https://www.tp-link.com/de/home-networking/adapter/tl-wn8200nd/
Sold in Germany.


--- linux/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c.orig 2023-12-06 12:38:51.929484252 +0100
+++ linux/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 2023-12-06 11:54:12.524302276 +0100
@@ -7957,6 +7957,8 @@ static const struct usb_device_id dev_ta
/* found in rtl8192eu vendor driver */
{USB_DEVICE_AND_INTERFACE_INFO(0x2357, 0x0107, 0xff, 0xff, 0xff),
.driver_info = (unsigned long)&rtl8192eu_fops},
+{USB_DEVICE_AND_INTERFACE_INFO(0x2357, 0x0126, 0xff, 0xff, 0xff),
+ .driver_info = (unsigned long)&rtl8192eu_fops},
{USB_DEVICE_AND_INTERFACE_INFO(0x2019, 0xab33, 0xff, 0xff, 0xff),
.driver_info = (unsigned long)&rtl8192eu_fops},
{USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x818c, 0xff, 0xff, 0xff),


Thanks for maintaining this driver.
Best regards
Michael Dieckmann


Attachments:
OpenPGP_0x375516A45DB88630.asc (1.67 kB)
OpenPGP public key
OpenPGP_signature.asc (505.00 B)
OpenPGP digital signature
Download all attachments

2023-12-07 00:18:12

by Ping-Ke Shih

[permalink] [raw]
Subject: RE: [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID



> -----Original Message-----
> From: ZeroBeat <[email protected]>
> Sent: Wednesday, December 6, 2023 7:48 PM
> To: [email protected]
> Cc: [email protected]
> Subject: [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID

subject prefix should be "wifi: rtl8xxxu: ..."

>
> From: Michael Dieckmann (https://github.com/ZerBea)
> To: linux-wireless
>
> Subject: [PATCH] wifi: Realtek: rtl8xxxu Add new device ID
>
> This patch will add a new device ID.
> Patch will close: https://bugzilla.kernel.org/show_bug.cgi?id=218231
>
>
> TP-Link TL-WN8200ND(UN) v3.0
> ID 2357:0126 TP-Link 802.11n NIC
> https://www.tp-link.com/de/home-networking/adapter/tl-wn8200nd/
> Sold in Germany.

Missed your sign-of-by, and this patch looks irregular.
Please reference to https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

>
>
> --- linux/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c.orig 2023-12-06 12:38:51.929484252
> +0100
> +++ linux/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 2023-12-06 11:54:12.524302276 +0100

The directory path is incorrect.

> @@ -7957,6 +7957,8 @@ static const struct usb_device_id dev_ta
> /* found in rtl8192eu vendor driver */
> {USB_DEVICE_AND_INTERFACE_INFO(0x2357, 0x0107, 0xff, 0xff, 0xff),
> .driver_info = (unsigned long)&rtl8192eu_fops},
> +{USB_DEVICE_AND_INTERFACE_INFO(0x2357, 0x0126, 0xff, 0xff, 0xff),
> + .driver_info = (unsigned long)&rtl8192eu_fops},

The indentation is different from other existing ones.

> {USB_DEVICE_AND_INTERFACE_INFO(0x2019, 0xab33, 0xff, 0xff, 0xff),
> .driver_info = (unsigned long)&rtl8192eu_fops},
> {USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x818c, 0xff, 0xff, 0xff),
>
>
> Thanks for maintaining this driver.
> Best regards
> Michael Dieckmann

2023-12-07 08:52:39

by Ping-Ke Shih

[permalink] [raw]
Subject: RE: [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID


> -----Original Message-----
> From: ZeroBeat <[email protected]>
> Sent: Thursday, December 7, 2023 4:46 PM
> To: Ping-Ke Shih <[email protected]>
> Cc: [email protected]; [email protected]
> Subject: Re: [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID
>
> Better now?
>

Your patch isn't much like others. Please check patches [1] made by others.

[1] https://lore.kernel.org/linux-wireless/


2023-12-07 08:55:40

by ZeroBeat

[permalink] [raw]
Subject: Re: [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID

Better now?

subject: wifi: rtl8xxxu: Add new device ID

diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
index 43ee7592bc6e..47b5e6d20e54 100644
--- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
+++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
@@ -7957,6 +7957,8 @@ static const struct usb_device_id dev_table[] = {
/* found in rtl8192eu vendor driver */
{USB_DEVICE_AND_INTERFACE_INFO(0x2357, 0x0107, 0xff, 0xff, 0xff),
.driver_info = (unsigned long)&rtl8192eu_fops},
+{USB_DEVICE_AND_INTERFACE_INFO(0x2357, 0x0126, 0xff, 0xff, 0xff),
+ .driver_info = (unsigned long)&rtl8192eu_fops},
{USB_DEVICE_AND_INTERFACE_INFO(0x2019, 0xab33, 0xff, 0xff, 0xff),
.driver_info = (unsigned long)&rtl8192eu_fops},
{USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x818c, 0xff, 0xff, 0xff),

Signed-off-by: Michael Dieckmann <[email protected]>
---
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 2 ++



> -----Original Message-----
> From: ZeroBeat <[email protected]>
> Sent: Wednesday, December 6, 2023 7:48 PM
> To: [email protected]
> Cc: [email protected]
> Subject: [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID

subject prefix should be "wifi: rtl8xxxu: ..."

>
> From: Michael Dieckmann (https://github.com/ZerBea)
> To: linux-wireless
>
> Subject: [PATCH] wifi: Realtek: rtl8xxxu Add new device ID
>
> This patch will add a new device ID.
> Patch will close: https://bugzilla.kernel.org/show_bug.cgi?id=218231
>
>
> TP-Link TL-WN8200ND(UN) v3.0
> ID 2357:0126 TP-Link 802.11n NIC
> https://www.tp-link.com/de/home-networking/adapter/tl-wn8200nd/
> Sold in Germany.

Missed your sign-of-by, and this patch looks irregular.
Please reference to https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

>
>
> --- linux/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c.orig 2023-12-06 12:38:51.929484252
> +0100
> +++ linux/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c 2023-12-06 11:54:12.524302276 +0100

The directory path is incorrect.

> @@ -7957,6 +7957,8 @@ static const struct usb_device_id dev_ta
> /* found in rtl8192eu vendor driver */
> {USB_DEVICE_AND_INTERFACE_INFO(0x2357, 0x0107, 0xff, 0xff, 0xff),
> .driver_info = (unsigned long)&rtl8192eu_fops},
> +{USB_DEVICE_AND_INTERFACE_INFO(0x2357, 0x0126, 0xff, 0xff, 0xff),
> + .driver_info = (unsigned long)&rtl8192eu_fops},

The indentation is different from other existing ones.

> {USB_DEVICE_AND_INTERFACE_INFO(0x2019, 0xab33, 0xff, 0xff, 0xff),
> .driver_info = (unsigned long)&rtl8192eu_fops},
> {USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x818c, 0xff, 0xff, 0xff),
>
>
> Thanks for maintaining this driver.
> Best regards
> Michael Dieckmann


Attachments:
OpenPGP_0x375516A45DB88630.asc (1.67 kB)
OpenPGP public key
OpenPGP_signature.asc (505.00 B)
OpenPGP digital signature
Download all attachments

2023-12-07 09:02:48

by ZeroBeat

[permalink] [raw]
Subject: Re: [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID

Ok. Please give me awhile to understand the entire procedure
how to do that in the preferred way.



Am 07.12.23 um 09:52 schrieb Ping-Ke Shih:
>
>> -----Original Message-----
>> From: ZeroBeat <[email protected]>
>> Sent: Thursday, December 7, 2023 4:46 PM
>> To: Ping-Ke Shih <[email protected]>
>> Cc: [email protected]; [email protected]
>> Subject: Re: [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID
>>
>> Better now?
>>
>
> Your patch isn't much like others. Please check patches [1] made by others.
>
> [1] https://lore.kernel.org/linux-wireless/
>
>


Attachments:
OpenPGP_0x375516A45DB88630.asc (1.67 kB)
OpenPGP public key
OpenPGP_signature.asc (505.00 B)
OpenPGP digital signature
Download all attachments

2023-12-07 09:39:15

by ZeroBeat

[permalink] [raw]
Subject: Re: [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID

Is this correct to commit inline patches?
Looks for me similar to this one
https://lore.kernel.org/linux-wireless/[email protected]/T/#u



subject: [RFC PATCH] wifi: rtl8xxxu: Add new device ID

This patch will add a new device ID (2357:0126)
Patch will close: https://bugzilla.kernel.org/show_bug.cgi?id=218231


TP-Link TL-WN8200ND(UN) v3.0
ID 2357:0126 TP-Link 802.11n NIC
https://www.tp-link.com/de/home-networking/adapter/tl-wn8200nd/
Sold in Germany.

tested:
[ 855.204083] usb 1-9.3: New USB device found, idVendor=2357, idProduct=0126, bcdDevice= 2.00
[ 855.204091] usb 1-9.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 855.204094] usb 1-9.3: Product: 802.11n NIC
[ 855.204096] usb 1-9.3: Manufacturer: Realtek
[ 855.204097] usb 1-9.3: SerialNumber: 5091E3C3A09F
[ 855.242127] usb 1-9.3: This Realtek USB WiFi dongle (0x2357:0x0126) is untested!
[ 855.242134] usb 1-9.3: Please report results to [email protected]
[ 859.592016] usb 1-9.3: Dumping efuse for RTL8192EU (0x200 bytes):
[ 859.592024] 00000000: 29 81 00 7c 01 40 03 00 70 34 04 50 14 00 00 00 )..|[email protected]....
[ 859.592027] 00000010: 20 20 20 21 21 21 28 28 28 28 28 f0 00 ef ff ff !!!(((((.....
[ 859.592028] 00000020: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
[ 859.592030] 00000030: ff ff ff ff ff ff ff ff ff ff 2d 2d 2d 2d 2d 2d ..........------
[ 859.592031] 00000040: 2d 2d 2d 2d 2d f0 ef ef ff ff ff ff ff ff ff ff -----...........
[ 859.592032] 00000050: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
[ 859.592034] 00000060: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
[ 859.592035] 00000070: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
[ 859.592036] 00000080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
[ 859.592038] 00000090: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
[ 859.592039] 000000a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
[ 859.592040] 000000b0: ff ff ff ff ff ff ff ff a1 1f 1a 00 00 00 ff ff ................
[ 859.592041] 000000c0: ff 01 00 10 00 00 00 ff 00 00 31 ff ff ff ff ff ..........1.....
[ 859.592043] 000000d0: 57 23 26 01 e6 47 02 50 91 e3 c3 a0 9f 09 03 52 W#&..G.P.......R
[ 859.592044] 000000e0: 65 61 6c 74 65 6b 0d 03 38 30 32 2e 31 31 6e 20 ealtek..802.11n
[ 859.592046] 000000f0: 4e 49 43 00 ff ff ff ff ff ff ff ff ff ff ff ff NIC.............
[ 859.592047] 00000100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
[ 859.592048] 00000110: ff ff ff ff ff ff ff 0d 03 00 05 00 30 00 00 00 ............0...
[ 859.592050] 00000120: 00 93 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
[ 859.592051] 00000130: f6 a8 98 2d 03 92 98 00 fc 8c 00 11 9b 44 02 0a ...-.........D..
[ 859.592052] 00000140: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
[ 859.592053] 00000150: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
[ 859.592055] 00000160: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
[ 859.592056] 00000170: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
[ 859.592057] 00000180: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
[ 859.592059] 00000190: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
[ 859.592060] 000001a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
[ 859.592061] 000001b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
[ 859.592062] 000001c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
[ 859.592064] 000001d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
[ 859.592065] 000001e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
[ 859.592066] 000001f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
[ 859.592068] usb 1-9.3: RTL8192EU rev B (SMIC) romver 0, 2T2R, TX queues 3, WiFi=1, BT=0, GPS=0, HI PA=0
[ 859.592072] usb 1-9.3: RTL8192EU MAC: 50:91:e3:c3:a0:9f
[ 859.592074] usb 1-9.3: rtl8xxxu: Loading firmware rtlwifi/rtl8192eu_nic.bin
[ 859.600070] usb 1-9.3: Firmware revision 35.7 (signature 0x92e1)
[ 868.683025] rtl8xxxu 1-9.3:1.0 wlp22s0f0u9u3: renamed from wlan0


$ iw dev
phy#1
Interface wlp22s0f0u9u3
ifindex 4
wdev 0x100000001
addr 50:91:e3:c3:a0:9f
type managed
txpower 20.00 dBm
multicast TXQ:
qsz-byt qsz-pkt flows drops marks overlmt hashcol tx-bytes tx-packets
0 0 0 0 0 0 0 0 0
$



diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
index 43ee7592bc6e..47b5e6d20e54 100644
--- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
+++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
@@ -7957,6 +7957,8 @@ static const struct usb_device_id dev_table[] = {
/* found in rtl8192eu vendor driver */
{USB_DEVICE_AND_INTERFACE_INFO(0x2357, 0x0107, 0xff, 0xff, 0xff),
.driver_info = (unsigned long)&rtl8192eu_fops},
+{USB_DEVICE_AND_INTERFACE_INFO(0x2357, 0x0126, 0xff, 0xff, 0xff),
+ .driver_info = (unsigned long)&rtl8192eu_fops},
{USB_DEVICE_AND_INTERFACE_INFO(0x2019, 0xab33, 0xff, 0xff, 0xff),
.driver_info = (unsigned long)&rtl8192eu_fops},
{USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x818c, 0xff, 0xff, 0xff),

Signed-off-by: Michael Dieckmann <[email protected]>
---
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 2 ++





Am 07.12.23 um 09:52 schrieb Ping-Ke Shih:
>
>> -----Original Message-----
>> From: ZeroBeat <[email protected]>
>> Sent: Thursday, December 7, 2023 4:46 PM
>> To: Ping-Ke Shih <[email protected]>
>> Cc: [email protected]; [email protected]
>> Subject: Re: [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID
>>
>> Better now?
>>
>
> Your patch isn't much like others. Please check patches [1] made by others.
>
> [1] https://lore.kernel.org/linux-wireless/
>
>

2023-12-07 11:52:34

by ZeroBeat

[permalink] [raw]
Subject: Re: [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID

Please delete the suggestion.
Further changes are needed to ensure the driver runs stable in combination with
TL-WN8200ND(UN) v3.0.





Am 06.12.23 um 12:48 schrieb ZeroBeat:
> From: Michael Dieckmann (https://github.com/ZerBea)
> To: linux-wireless
>
> Subject: [PATCH] wifi: Realtek: rtl8xxxu Add new device ID
>
> This patch will add a new device ID.
> Patch will close: https://bugzilla.kernel.org/show_bug.cgi?id=218231
>
>
> TP-Link TL-WN8200ND(UN) v3.0
> ID 2357:0126 TP-Link 802.11n NIC
> https://www.tp-link.com/de/home-networking/adapter/tl-wn8200nd/
> Sold in Germany.
>
>
> --- linux/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c.orig    2023-12-06 12:38:51.929484252 +0100
> +++ linux/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c    2023-12-06 11:54:12.524302276 +0100
> @@ -7957,6 +7957,8 @@ static const struct usb_device_id dev_ta
>  /* found in rtl8192eu vendor driver */
>  {USB_DEVICE_AND_INTERFACE_INFO(0x2357, 0x0107, 0xff, 0xff, 0xff),
>      .driver_info = (unsigned long)&rtl8192eu_fops},
> +{USB_DEVICE_AND_INTERFACE_INFO(0x2357, 0x0126, 0xff, 0xff, 0xff),
> +    .driver_info = (unsigned long)&rtl8192eu_fops},
>  {USB_DEVICE_AND_INTERFACE_INFO(0x2019, 0xab33, 0xff, 0xff, 0xff),
>      .driver_info = (unsigned long)&rtl8192eu_fops},
>  {USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x818c, 0xff, 0xff, 0xff),
>
>
> Thanks for maintaining this driver.
> Best regards
> Michael Dieckmann

2023-12-08 00:43:58

by Ping-Ke Shih

[permalink] [raw]
Subject: RE: [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID



> -----Original Message-----
> From: ZeroBeat <[email protected]>
> Sent: Thursday, December 7, 2023 5:39 PM
> To: Ping-Ke Shih <[email protected]>
> Cc: [email protected]; [email protected]
> Subject: Re: [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID
>
> Is this correct to commit inline patches?
> Looks for me similar to this one
> https://lore.kernel.org/linux-wireless/[email protected]/T/#u
>

The basic steps to submit a patch are:
1. add this patch to wireless-next tree locally
2. git format-patch -1
3. run ./scripts/checkpatch.pl with your patch and fix warnings
4. git send-email to send out the patch.

With above steps, your patch would be much similar to others.

More detail can reference Documentation/process/submitting-patches.rst and
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches



2023-12-08 06:42:15

by ZeroBeat

[permalink] [raw]
Subject: Re: [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID

Thanks for this very helpful information.
It is much better to understand than this ones:
https://www.kernel.org/doc/html/v4.11/process/submitting-patches.html
https://wireless.wiki.kernel.org/en/developers/Documentation/SubmittingPatches

At the moment I still have no idea why the TP-Link TL-WN8200ND(UN) v3.0 sometimes work and
sometimes not (after its device idea has been added).
But I have seen this behavior (rtl8188eu), before:
https://bugzilla.kernel.org/show_bug.cgi?id=217205
Confirmed and fixed, now.

Maybe the problem of the rtl8192eu is similar to this - but I'm not sure, because
I haven't fully understood the entire driver code (relationship driver code and
firmware) yet.




Am 08.12.23 um 01:43 schrieb Ping-Ke Shih:
>
>
>> -----Original Message-----
>> From: ZeroBeat <[email protected]>
>> Sent: Thursday, December 7, 2023 5:39 PM
>> To: Ping-Ke Shih <[email protected]>
>> Cc: [email protected]; [email protected]
>> Subject: Re: [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID
>>
>> Is this correct to commit inline patches?
>> Looks for me similar to this one
>> https://lore.kernel.org/linux-wireless/[email protected]/T/#u
>>
>
> The basic steps to submit a patch are:
> 1. add this patch to wireless-next tree locally
> 2. git format-patch -1
> 3. run ./scripts/checkpatch.pl with your patch and fix warnings
> 4. git send-email to send out the patch.
>
> With above steps, your patch would be much similar to others.
>
> More detail can reference Documentation/process/submitting-patches.rst and
> https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
>
>
>

2023-12-08 07:02:28

by Ping-Ke Shih

[permalink] [raw]
Subject: RE: [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID



> -----Original Message-----
> From: ZeroBeat <[email protected]>
> Sent: Friday, December 8, 2023 2:42 PM
> To: Ping-Ke Shih <[email protected]>
> Cc: [email protected]; [email protected]
> Subject: Re: [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID
>
> Thanks for this very helpful information.
> It is much better to understand than this ones:
> https://www.kernel.org/doc/html/v4.11/process/submitting-patches.html
> https://wireless.wiki.kernel.org/en/developers/Documentation/SubmittingPatches

The links describe more detail things, and I think you will need them if you
keep submitting more and more patches.

>
> At the moment I still have no idea why the TP-Link TL-WN8200ND(UN) v3.0 sometimes work and
> sometimes not (after its device idea has been added).
> But I have seen this behavior (rtl8188eu), before:
> https://bugzilla.kernel.org/show_bug.cgi?id=217205
> Confirmed and fixed, now.

Sorry, I don't have much time to look into the thread, but as the title mentioned IQK,
I would say IQK can affect _performance_, so keep distance of your usb WiFi stick
about 50cm far from AP, and check it can work stable.

>
> Maybe the problem of the rtl8192eu is similar to this - but I'm not sure, because
> I haven't fully understood the entire driver code (relationship driver code and
> firmware) yet.
>

You can search for a vendor driver somewhere like github, and then try if the
out-of-tree driver works to you. If so, compare their initialization and
set channel function basically.


2023-12-08 07:37:49

by ZeroBeat

[permalink] [raw]
Subject: Re: [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID

Thanks again. Now I'll continue to hunt for the real problem
which is a more a general issue (device do nothing)
than a performance issue.
I code penetration testing tools. This tools should penetrate
the target only and not the used driver on the host.




Am 08.12.23 um 08:01 schrieb Ping-Ke Shih:
>
>
>> -----Original Message-----
>> From: ZeroBeat <[email protected]>
>> Sent: Friday, December 8, 2023 2:42 PM
>> To: Ping-Ke Shih <[email protected]>
>> Cc: [email protected]; [email protected]
>> Subject: Re: [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID
>>
>> Thanks for this very helpful information.
>> It is much better to understand than this ones:
>> https://www.kernel.org/doc/html/v4.11/process/submitting-patches.html
>> https://wireless.wiki.kernel.org/en/developers/Documentation/SubmittingPatches
>
> The links describe more detail things, and I think you will need them if you
> keep submitting more and more patches.
>
>>
>> At the moment I still have no idea why the TP-Link TL-WN8200ND(UN) v3.0 sometimes work and
>> sometimes not (after its device idea has been added).
>> But I have seen this behavior (rtl8188eu), before:
>> https://bugzilla.kernel.org/show_bug.cgi?id=217205
>> Confirmed and fixed, now.
>
> Sorry, I don't have much time to look into the thread, but as the title mentioned IQK,
> I would say IQK can affect _performance_, so keep distance of your usb WiFi stick
> about 50cm far from AP, and check it can work stable.
>
>>
>> Maybe the problem of the rtl8192eu is similar to this - but I'm not sure, because
>> I haven't fully understood the entire driver code (relationship driver code and
>> firmware) yet.
>>
>
> You can search for a vendor driver somewhere like github, and then try if the
> out-of-tree driver works to you. If so, compare their initialization and
> set channel function basically.
>
>