public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID
@ 2023-12-06 11:48 ZeroBeat
  2023-12-07  0:17 ` Ping-Ke Shih
  2023-12-07 11:51 ` ZeroBeat
  0 siblings, 2 replies; 11+ messages in thread
From: ZeroBeat @ 2023-12-06 11:48 UTC (permalink / raw)
  To: linux-wireless; +Cc: Jes.Sorensen


[-- Attachment #1.1.1: Type: text/plain, Size: 1232 bytes --]

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

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 1705 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID
  2023-12-06 11:48 ZeroBeat
@ 2023-12-07  0:17 ` Ping-Ke Shih
  2023-12-07 11:51 ` ZeroBeat
  1 sibling, 0 replies; 11+ messages in thread
From: Ping-Ke Shih @ 2023-12-07  0:17 UTC (permalink / raw)
  To: ZeroBeat, linux-wireless@vger.kernel.org; +Cc: Jes.Sorensen@gmail.com



> -----Original Message-----
> From: ZeroBeat <ZeroBeat@gmx.de>
> Sent: Wednesday, December 6, 2023 7:48 PM
> To: linux-wireless@vger.kernel.org
> Cc: Jes.Sorensen@gmail.com
> 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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID
@ 2023-12-07  8:46 ZeroBeat
  2023-12-07  8:52 ` Ping-Ke Shih
  0 siblings, 1 reply; 11+ messages in thread
From: ZeroBeat @ 2023-12-07  8:46 UTC (permalink / raw)
  To: Ping-Ke Shih; +Cc: linux-wireless, Jes.Sorensen


[-- Attachment #1.1.1: Type: text/plain, Size: 2943 bytes --]

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 <zerobeat@gmx.de>
---
  drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c |  2 ++



 > -----Original Message-----
 > From: ZeroBeat <ZeroBeat@gmx.de>
 > Sent: Wednesday, December 6, 2023 7:48 PM
 > To: linux-wireless@vger.kernel.org
 > Cc: Jes.Sorensen@gmail.com
 > 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

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 1705 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* RE: [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID
  2023-12-07  8:46 [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID ZeroBeat
@ 2023-12-07  8:52 ` Ping-Ke Shih
  2023-12-07  9:02   ` ZeroBeat
  2023-12-07  9:38   ` ZeroBeat
  0 siblings, 2 replies; 11+ messages in thread
From: Ping-Ke Shih @ 2023-12-07  8:52 UTC (permalink / raw)
  To: ZeroBeat; +Cc: linux-wireless@vger.kernel.org, Jes.Sorensen@gmail.com


> -----Original Message-----
> From: ZeroBeat <ZeroBeat@gmx.de>
> Sent: Thursday, December 7, 2023 4:46 PM
> To: Ping-Ke Shih <pkshih@realtek.com>
> Cc: linux-wireless@vger.kernel.org; Jes.Sorensen@gmail.com
> 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/



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID
  2023-12-07  8:52 ` Ping-Ke Shih
@ 2023-12-07  9:02   ` ZeroBeat
  2023-12-07  9:38   ` ZeroBeat
  1 sibling, 0 replies; 11+ messages in thread
From: ZeroBeat @ 2023-12-07  9:02 UTC (permalink / raw)
  To: Ping-Ke Shih; +Cc: linux-wireless@vger.kernel.org, Jes.Sorensen@gmail.com


[-- Attachment #1.1.1: Type: text/plain, Size: 609 bytes --]

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 <ZeroBeat@gmx.de>
>> Sent: Thursday, December 7, 2023 4:46 PM
>> To: Ping-Ke Shih <pkshih@realtek.com>
>> Cc: linux-wireless@vger.kernel.org; Jes.Sorensen@gmail.com
>> 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/
> 
> 

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 1705 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID
  2023-12-07  8:52 ` Ping-Ke Shih
  2023-12-07  9:02   ` ZeroBeat
@ 2023-12-07  9:38   ` ZeroBeat
  2023-12-08  0:43     ` Ping-Ke Shih
  1 sibling, 1 reply; 11+ messages in thread
From: ZeroBeat @ 2023-12-07  9:38 UTC (permalink / raw)
  To: Ping-Ke Shih; +Cc: linux-wireless@vger.kernel.org, Jes.Sorensen@gmail.com

Is this correct to commit inline patches?
Looks for me similar to this one
https://lore.kernel.org/linux-wireless/20231127162022.518834-2-kvalo@kernel.org/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 Jes.Sorensen@gmail.com
[  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  )..|.@..p4.P....
[  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 <zerobeat@gmx.de>
---
  drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c |  2 ++





Am 07.12.23 um 09:52 schrieb Ping-Ke Shih:
>
>> -----Original Message-----
>> From: ZeroBeat <ZeroBeat@gmx.de>
>> Sent: Thursday, December 7, 2023 4:46 PM
>> To: Ping-Ke Shih <pkshih@realtek.com>
>> Cc: linux-wireless@vger.kernel.org; Jes.Sorensen@gmail.com
>> 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/
>
>

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID
  2023-12-06 11:48 ZeroBeat
  2023-12-07  0:17 ` Ping-Ke Shih
@ 2023-12-07 11:51 ` ZeroBeat
  1 sibling, 0 replies; 11+ messages in thread
From: ZeroBeat @ 2023-12-07 11:51 UTC (permalink / raw)
  To: linux-wireless; +Cc: Jes.Sorensen

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID
  2023-12-07  9:38   ` ZeroBeat
@ 2023-12-08  0:43     ` Ping-Ke Shih
  2023-12-08  6:41       ` ZeroBeat
  0 siblings, 1 reply; 11+ messages in thread
From: Ping-Ke Shih @ 2023-12-08  0:43 UTC (permalink / raw)
  To: ZeroBeat; +Cc: linux-wireless@vger.kernel.org, Jes.Sorensen@gmail.com



> -----Original Message-----
> From: ZeroBeat <ZeroBeat@gmx.de>
> Sent: Thursday, December 7, 2023 5:39 PM
> To: Ping-Ke Shih <pkshih@realtek.com>
> Cc: linux-wireless@vger.kernel.org; Jes.Sorensen@gmail.com
> 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/20231127162022.518834-2-kvalo@kernel.org/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




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID
  2023-12-08  0:43     ` Ping-Ke Shih
@ 2023-12-08  6:41       ` ZeroBeat
  2023-12-08  7:01         ` Ping-Ke Shih
  0 siblings, 1 reply; 11+ messages in thread
From: ZeroBeat @ 2023-12-08  6:41 UTC (permalink / raw)
  To: Ping-Ke Shih; +Cc: linux-wireless@vger.kernel.org, Jes.Sorensen@gmail.com

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 <ZeroBeat@gmx.de>
>> Sent: Thursday, December 7, 2023 5:39 PM
>> To: Ping-Ke Shih <pkshih@realtek.com>
>> Cc: linux-wireless@vger.kernel.org; Jes.Sorensen@gmail.com
>> 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/20231127162022.518834-2-kvalo@kernel.org/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
>
>
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID
  2023-12-08  6:41       ` ZeroBeat
@ 2023-12-08  7:01         ` Ping-Ke Shih
  2023-12-08  7:37           ` ZeroBeat
  0 siblings, 1 reply; 11+ messages in thread
From: Ping-Ke Shih @ 2023-12-08  7:01 UTC (permalink / raw)
  To: ZeroBeat; +Cc: linux-wireless@vger.kernel.org, Jes.Sorensen@gmail.com



> -----Original Message-----
> From: ZeroBeat <ZeroBeat@gmx.de>
> Sent: Friday, December 8, 2023 2:42 PM
> To: Ping-Ke Shih <pkshih@realtek.com>
> Cc: linux-wireless@vger.kernel.org; Jes.Sorensen@gmail.com
> 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. 



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID
  2023-12-08  7:01         ` Ping-Ke Shih
@ 2023-12-08  7:37           ` ZeroBeat
  0 siblings, 0 replies; 11+ messages in thread
From: ZeroBeat @ 2023-12-08  7:37 UTC (permalink / raw)
  To: Ping-Ke Shih; +Cc: linux-wireless@vger.kernel.org, Jes.Sorensen@gmail.com

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 <ZeroBeat@gmx.de>
>> Sent: Friday, December 8, 2023 2:42 PM
>> To: Ping-Ke Shih <pkshih@realtek.com>
>> Cc: linux-wireless@vger.kernel.org; Jes.Sorensen@gmail.com
>> 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.
>
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-12-08  7:37 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-07  8:46 [PATCH] wifiwifi: Realtek: rtl8xxxu Add new device ID ZeroBeat
2023-12-07  8:52 ` Ping-Ke Shih
2023-12-07  9:02   ` ZeroBeat
2023-12-07  9:38   ` ZeroBeat
2023-12-08  0:43     ` Ping-Ke Shih
2023-12-08  6:41       ` ZeroBeat
2023-12-08  7:01         ` Ping-Ke Shih
2023-12-08  7:37           ` ZeroBeat
  -- strict thread matches above, loose matches on Subject: below --
2023-12-06 11:48 ZeroBeat
2023-12-07  0:17 ` Ping-Ke Shih
2023-12-07 11:51 ` ZeroBeat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox