On Thu, 7 Nov 2024 at 14:08, Hans de Goede <hdegoede@xxxxxxxxxx> wrote: > > The rtl8xxxu has all the rtl8192cu USB IDs from rtlwifi/rtl8192cu/sw.c > except for the following 10, add these to the untested section so they > can be used with the rtl8xxxu as the rtl8192cu are well supported. > > This fixes these wifi modules not working on distributions which have > disabled CONFIG_RTL8192CU replacing it with CONFIG_RTL8XXXU_UNTESTED, > like Fedora. > > Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2321540 > Cc: stable@xxxxxxxxxxxxxxx > Cc: Peter Robinson <pbrobinson@xxxxxxxxx> > Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx> Reviewed-by: Peter Robinson <pbrobinson@xxxxxxxxx> > --- > drivers/net/wireless/realtek/rtl8xxxu/core.c | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) > > diff --git a/drivers/net/wireless/realtek/rtl8xxxu/core.c b/drivers/net/wireless/realtek/rtl8xxxu/core.c > index 7891c988dd5f..bd8e0076baac 100644 > --- a/drivers/net/wireless/realtek/rtl8xxxu/core.c > +++ b/drivers/net/wireless/realtek/rtl8xxxu/core.c > @@ -8145,6 +8145,8 @@ static const struct usb_device_id dev_table[] = { > .driver_info = (unsigned long)&rtl8192cu_fops}, > {USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x817e, 0xff, 0xff, 0xff), > .driver_info = (unsigned long)&rtl8192cu_fops}, > +{USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x8186, 0xff, 0xff, 0xff), > + .driver_info = (unsigned long)&rtl8192cu_fops}, > {USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x818a, 0xff, 0xff, 0xff), > .driver_info = (unsigned long)&rtl8192cu_fops}, > {USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x317f, 0xff, 0xff, 0xff), > @@ -8155,12 +8157,18 @@ static const struct usb_device_id dev_table[] = { > .driver_info = (unsigned long)&rtl8192cu_fops}, > {USB_DEVICE_AND_INTERFACE_INFO(0x050d, 0x1102, 0xff, 0xff, 0xff), > .driver_info = (unsigned long)&rtl8192cu_fops}, > +{USB_DEVICE_AND_INTERFACE_INFO(0x050d, 0x11f2, 0xff, 0xff, 0xff), > + .driver_info = (unsigned long)&rtl8192cu_fops}, > {USB_DEVICE_AND_INTERFACE_INFO(0x06f8, 0xe033, 0xff, 0xff, 0xff), > .driver_info = (unsigned long)&rtl8192cu_fops}, > +{USB_DEVICE_AND_INTERFACE_INFO(0x07b8, 0x8188, 0xff, 0xff, 0xff), > + .driver_info = (unsigned long)&rtl8192cu_fops}, > {USB_DEVICE_AND_INTERFACE_INFO(0x07b8, 0x8189, 0xff, 0xff, 0xff), > .driver_info = (unsigned long)&rtl8192cu_fops}, > {USB_DEVICE_AND_INTERFACE_INFO(0x0846, 0x9041, 0xff, 0xff, 0xff), > .driver_info = (unsigned long)&rtl8192cu_fops}, > +{USB_DEVICE_AND_INTERFACE_INFO(0x0846, 0x9043, 0xff, 0xff, 0xff), > + .driver_info = (unsigned long)&rtl8192cu_fops}, > {USB_DEVICE_AND_INTERFACE_INFO(0x0b05, 0x17ba, 0xff, 0xff, 0xff), > .driver_info = (unsigned long)&rtl8192cu_fops}, > {USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x1e1e, 0xff, 0xff, 0xff), > @@ -8177,6 +8185,10 @@ static const struct usb_device_id dev_table[] = { > .driver_info = (unsigned long)&rtl8192cu_fops}, > {USB_DEVICE_AND_INTERFACE_INFO(0x13d3, 0x3357, 0xff, 0xff, 0xff), > .driver_info = (unsigned long)&rtl8192cu_fops}, > +{USB_DEVICE_AND_INTERFACE_INFO(0x13d3, 0x3358, 0xff, 0xff, 0xff), > + .driver_info = (unsigned long)&rtl8192cu_fops}, > +{USB_DEVICE_AND_INTERFACE_INFO(0x13d3, 0x3359, 0xff, 0xff, 0xff), > + .driver_info = (unsigned long)&rtl8192cu_fops}, > {USB_DEVICE_AND_INTERFACE_INFO(0x2001, 0x330b, 0xff, 0xff, 0xff), > .driver_info = (unsigned long)&rtl8192cu_fops}, > {USB_DEVICE_AND_INTERFACE_INFO(0x2019, 0x4902, 0xff, 0xff, 0xff), > @@ -8191,6 +8203,8 @@ static const struct usb_device_id dev_table[] = { > .driver_info = (unsigned long)&rtl8192cu_fops}, > {USB_DEVICE_AND_INTERFACE_INFO(0x4856, 0x0091, 0xff, 0xff, 0xff), > .driver_info = (unsigned long)&rtl8192cu_fops}, > +{USB_DEVICE_AND_INTERFACE_INFO(0x9846, 0x9041, 0xff, 0xff, 0xff), > + .driver_info = (unsigned long)&rtl8192cu_fops}, > {USB_DEVICE_AND_INTERFACE_INFO(0xcdab, 0x8010, 0xff, 0xff, 0xff), > .driver_info = (unsigned long)&rtl8192cu_fops}, > {USB_DEVICE_AND_INTERFACE_INFO(0x04f2, 0xaff7, 0xff, 0xff, 0xff), > @@ -8216,6 +8230,8 @@ static const struct usb_device_id dev_table[] = { > .driver_info = (unsigned long)&rtl8192cu_fops}, > {USB_DEVICE_AND_INTERFACE_INFO(0x0586, 0x341f, 0xff, 0xff, 0xff), > .driver_info = (unsigned long)&rtl8192cu_fops}, > +{USB_DEVICE_AND_INTERFACE_INFO(0x06f8, 0xe033, 0xff, 0xff, 0xff), > + .driver_info = (unsigned long)&rtl8192cu_fops}, > {USB_DEVICE_AND_INTERFACE_INFO(0x06f8, 0xe035, 0xff, 0xff, 0xff), > .driver_info = (unsigned long)&rtl8192cu_fops}, > {USB_DEVICE_AND_INTERFACE_INFO(0x0b05, 0x17ab, 0xff, 0xff, 0xff), > @@ -8224,6 +8240,8 @@ static const struct usb_device_id dev_table[] = { > .driver_info = (unsigned long)&rtl8192cu_fops}, > {USB_DEVICE_AND_INTERFACE_INFO(0x0df6, 0x0070, 0xff, 0xff, 0xff), > .driver_info = (unsigned long)&rtl8192cu_fops}, > +{USB_DEVICE_AND_INTERFACE_INFO(0x0df6, 0x0077, 0xff, 0xff, 0xff), > + .driver_info = (unsigned long)&rtl8192cu_fops}, > {USB_DEVICE_AND_INTERFACE_INFO(0x0789, 0x016d, 0xff, 0xff, 0xff), > .driver_info = (unsigned long)&rtl8192cu_fops}, > {USB_DEVICE_AND_INTERFACE_INFO(0x07aa, 0x0056, 0xff, 0xff, 0xff), > @@ -8246,6 +8264,8 @@ static const struct usb_device_id dev_table[] = { > .driver_info = (unsigned long)&rtl8192cu_fops}, > {USB_DEVICE_AND_INTERFACE_INFO(0x2001, 0x330a, 0xff, 0xff, 0xff), > .driver_info = (unsigned long)&rtl8192cu_fops}, > +{USB_DEVICE_AND_INTERFACE_INFO(0x2001, 0x330d, 0xff, 0xff, 0xff), > + .driver_info = (unsigned long)&rtl8192cu_fops}, > {USB_DEVICE_AND_INTERFACE_INFO(0x2019, 0xab2b, 0xff, 0xff, 0xff), > .driver_info = (unsigned long)&rtl8192cu_fops}, > {USB_DEVICE_AND_INTERFACE_INFO(0x20f4, 0x624d, 0xff, 0xff, 0xff), > -- > 2.47.0 >