Skip to contentSkip to conversation

overlap of devices in rtl8xxxu and rtl8192cu

DISCUSSION Xose Vazquez Perez 4 participants 8 messages Oct 23, 2015

lore
Share & tools
lore
#0 lore raw
Quoted 31 lines · Kalle Valo
Quoted 31 lines

From: Jes Sorensen <[email protected]>

This is an alternate driver for a number of Realtek WiFi USB devices, including RTL8723AU, RTL8188CU, RTL8188RU, RTL8191CU, and RTL8192CU. It was written from scratch utilizing the Linux mac80211 stack.

After spending months cleaning up the vendor provided rtl8723au driver, which comes with it's own 802.11 stack included, I decided to rewrite this driver from the bottom up.

Many thanks to Johannes Berg for 802.11 insights and help and Larry Finger for help with the vendor driver.

The full git log for the development of this driver can be found here:
git git://git.kernel.org/pub/scm/linux/kernel/git/jes/linux.git

    branch rtl8723au-mac80211

This driver is still under development, but has proven to be very stable for me. It currently supports station mode only. It has support for OFDM and CCK rates. It does lack certain features found in the staging driver, such as power management, AMPDU, and 40MHz channel support. In addition it does not support AD-HOC, AP, and monitor mode support at this point.

The driver is known to work with the following devices:
Lenovo Yoga (rtl8723au)
TP-Link TL-WN823N (rtl8192cu)
Etekcity 6R (rtl8188cu)
Daffodil LAN03 (rtl8188cu)
Alfa AWUS036NHR (rtl8188ru)

Quoted 3 lines
Quoted 1 line

Thanks, applied to wireless-drivers-next.git.

There is overlap of devices between rtl8xxxu and rtl8192cu:
USB_VENDER_ID_REALTEK, 0x8176 USB_VENDER_ID_REALTEK, 0x8178 USB_VENDER_ID_REALTEK, 0x817f
0x7392, 0x7811

#1 lore raw
Quoted 35 lines · Xose Vazquez Perez
Quoted 33 lines · Kalle Valo
Quoted 32 lines

From: Jes Sorensen <[email protected]>

This is an alternate driver for a number of Realtek WiFi USB devices, including RTL8723AU, RTL8188CU, RTL8188RU, RTL8191CU, and RTL8192CU. It was written from scratch utilizing the Linux mac80211 stack.

After spending months cleaning up the vendor provided rtl8723au driver, which comes with it's own 802.11 stack included, I decided to rewrite this driver from the bottom up.

Many thanks to Johannes Berg for 802.11 insights and help and Larry Finger for help with the vendor driver.

The full git log for the development of this driver can be found here:
git git://git.kernel.org/pub/scm/linux/kernel/git/jes/linux.git

    branch rtl8723au-mac80211

This driver is still under development, but has proven to be very stable for me. It currently supports station mode only. It has support for OFDM and CCK rates. It does lack certain features found in the staging driver, such as power management, AMPDU, and 40MHz channel support. In addition it does not support AD-HOC, AP, and monitor mode support at this point.

The driver is known to work with the following devices:
Lenovo Yoga (rtl8723au)
TP-Link TL-WN823N (rtl8192cu)
Etekcity 6R (rtl8188cu)
Daffodil LAN03 (rtl8188cu)
Alfa AWUS036NHR (rtl8188ru)

Quoted 7 lines
Quoted 1 line

Thanks, applied to wireless-drivers-next.git.

There is overlap of devices between rtl8xxxu and rtl8192cu:
USB_VENDER_ID_REALTEK, 0x8176 USB_VENDER_ID_REALTEK, 0x8178 USB_VENDER_ID_REALTEK, 0x817f
0x7392, 0x7811

Yes, and there is also a clash with USB IDs between drivers/staging/rtl8192u and drivers/net/wireless/realtek/rtlwifi - this is nothing new.

Jes

#2 lore raw
Quoted 9 lines · Jes Sorensen
Quoted 6 lines · Xose Vazquez Perez

There is overlap of devices between rtl8xxxu and rtl8192cu:
USB_VENDER_ID_REALTEK, 0x8176 USB_VENDER_ID_REALTEK, 0x8178 USB_VENDER_ID_REALTEK, 0x817f
0x7392, 0x7811

Yes

What, are you saying that you didn't fix that? I did say in the last review round that we should not have duplicated device entries within drivers/net/wireless and I assumed you took care of that.

Quoted 3 lines

and there is also a clash with USB IDs between drivers/staging/rtl8192u and drivers/net/wireless/realtek/rtlwifi - this is nothing new.

We should do things properly in under drivers/, I don't care what happens in staging and that's no excuse to do things badly.

Signature · 1 line
Kalle Valo
#3 lore raw
Quoted 16 lines · Kalle Valo
Quoted 9 lines · Jes Sorensen
Quoted 6 lines · Xose Vazquez Perez

There is overlap of devices between rtl8xxxu and rtl8192cu:
USB_VENDER_ID_REALTEK, 0x8176 USB_VENDER_ID_REALTEK, 0x8178 USB_VENDER_ID_REALTEK, 0x817f
0x7392, 0x7811

Yes

What, are you saying that you didn't fix that? I did say in the last review round that we should not have duplicated device entries within drivers/net/wireless and I assumed you took care of that.

Quoted 6 lines
Quoted 3 lines

and there is also a clash with USB IDs between drivers/staging/rtl8192u and drivers/net/wireless/realtek/rtlwifi - this is nothing new.

We should do things properly in under drivers/, I don't care what happens in staging and that's no excuse to do things badly.

As I explained earlier, there is no way I can do that unless we remove rtlwifi's rtl8192cu driver and that cannot happen due to the feature differences. There are plenty of other conflicts and this is not a bug.

In other words I *have* done things correctly here, and Xose's complaint is bogus.

Jes

#4 lore raw
Quoted 21 lines · Jes Sorensen
Quoted 20 lines · Kalle Valo
Quoted 9 lines · Jes Sorensen
Quoted 6 lines · Xose Vazquez Perez

There is overlap of devices between rtl8xxxu and rtl8192cu:
USB_VENDER_ID_REALTEK, 0x8176 USB_VENDER_ID_REALTEK, 0x8178 USB_VENDER_ID_REALTEK, 0x817f
0x7392, 0x7811

Yes

What, are you saying that you didn't fix that? I did say in the last review round that we should not have duplicated device entries within drivers/net/wireless and I assumed you took care of that.

Quoted 3 lines

and there is also a clash with USB IDs between drivers/staging/rtl8192u and drivers/net/wireless/realtek/rtlwifi - this is nothing new.

Quoted 6 lines
Quoted 2 lines

We should do things properly in under drivers/, I don't care what happens in staging and that's no excuse to do things badly.

As I explained earlier, there is no way I can do that unless we remove rtlwifi's rtl8192cu driver and that cannot happen due to the feature differences. There are plenty of other conflicts and this is not a bug.

Like I said earlier in rtl8xxxu review, I don't want to have two drivers supporting the same device. So either rtl8xxxu or rtlwifi supports the devices above, not both. And to my knowledge rtl8xxxu is still lacking in features, and it's a new driver, so it's best that rtlwifi continues to support these for the time being. Once rtl8xxxu catches up and we have a clear consensus we can make the switch.

I'll send a patch in a jiffy, merge window is getting closer so we don't have any extra time.

Signature · 1 line
Kalle Valo
#5 lore raw
Quoted 9 lines · Kalle Valo

Like I said earlier in rtl8xxxu review, I don't want to have two drivers supporting the same device. So either rtl8xxxu or rtlwifi supports the devices above, not both. And to my knowledge rtl8xxxu is still lacking in features, and it's a new driver, so it's best that rtlwifi continues to support these for the time being. Once rtl8xxxu catches up and we have a clear consensus we can make the switch.

I'll send a patch in a jiffy, merge window is getting closer so we don't have any extra time.

Heh, having hilarious problems with my patch:

<[email protected]>: host vger.kernel.org[209.132.180.67] said:
550 5.7.1 Content-Policy reject msg: The capital Triple-X in subject is way too often associated with junk email, please rephrase.

The subject was:

Subject: [PATCH] rtl8xxxu: move devices supported by rtlwifi under
CONFIG_RTL8XXXU_UNTESTED

Signature · 1 line
Kalle Valo
#6 lore raw
Quoted 14 lines · Kalle Valo
Quoted 9 lines · Kalle Valo

Like I said earlier in rtl8xxxu review, I don't want to have two drivers supporting the same device. So either rtl8xxxu or rtlwifi supports the devices above, not both. And to my knowledge rtl8xxxu is still lacking in features, and it's a new driver, so it's best that rtlwifi continues to support these for the time being. Once rtl8xxxu catches up and we have a clear consensus we can make the switch.

I'll send a patch in a jiffy, merge window is getting closer so we don't have any extra time.

Heh, having hilarious problems with my patch:

Quoted 8 lines

<[email protected]>: host vger.kernel.org[209.132.180.67] said:
550 5.7.1 Content-Policy reject msg: The capital Triple-X in subject is way too often associated with junk email, please rephrase.

The subject was:

Subject: [PATCH] rtl8xxxu: move devices supported by rtlwifi under
CONFIG_RTL8XXXU_UNTESTED

This seems a reasonable workaround for now.

Next time just add some extra buzzwords to the subject line and I am sure it will go through :)

Jes

#7 lore raw
Quoted 21 lines · Jes Sorensen
Quoted 20 lines · Kalle Valo
Quoted 9 lines · Kalle Valo

Like I said earlier in rtl8xxxu review, I don't want to have two drivers supporting the same device. So either rtl8xxxu or rtlwifi supports the devices above, not both. And to my knowledge rtl8xxxu is still lacking in features, and it's a new driver, so it's best that rtlwifi continues to support these for the time being. Once rtl8xxxu catches up and we have a clear consensus we can make the switch.

I'll send a patch in a jiffy, merge window is getting closer so we don't have any extra time.

Heh, having hilarious problems with my patch:

<[email protected]>: host vger.kernel.org[209.132.180.67] said:
550 5.7.1 Content-Policy reject msg: The capital Triple-X in subject is way too often associated with junk email, please rephrase.

The subject was:

Quoted 7 lines
Quoted 2 lines

Subject: [PATCH] rtl8xxxu: move devices supported by rtlwifi under
CONFIG_RTL8XXXU_UNTESTED

This seems a reasonable workaround for now.

Next time just add some extra buzzwords to the subject line and I am sure it will go through :)

Well, when you try to send porn, the system will complain. :)

I agree that this is a sensible workaround.

Larry