Skip to content

Commit 5e1bde4

Browse files
jwrdegoedegregkh
authored andcommitted
wifi: rtl8xxxu: add more missing rtl8192cu USB IDs
commit 31be317 upstream. 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@vger.kernel.org Cc: Peter Robinson <pbrobinson@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Peter Robinson <pbrobinson@gmail.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/20241107140833.274986-1-hdegoede@redhat.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent fad7b56 commit 5e1bde4

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

  • drivers/net/wireless/realtek/rtl8xxxu

drivers/net/wireless/realtek/rtl8xxxu/core.c

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8147,6 +8147,8 @@ static const struct usb_device_id dev_table[] = {
81478147
.driver_info = (unsigned long)&rtl8192cu_fops},
81488148
{USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x817e, 0xff, 0xff, 0xff),
81498149
.driver_info = (unsigned long)&rtl8192cu_fops},
8150+
{USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x8186, 0xff, 0xff, 0xff),
8151+
.driver_info = (unsigned long)&rtl8192cu_fops},
81508152
{USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x818a, 0xff, 0xff, 0xff),
81518153
.driver_info = (unsigned long)&rtl8192cu_fops},
81528154
{USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x317f, 0xff, 0xff, 0xff),
@@ -8157,12 +8159,18 @@ static const struct usb_device_id dev_table[] = {
81578159
.driver_info = (unsigned long)&rtl8192cu_fops},
81588160
{USB_DEVICE_AND_INTERFACE_INFO(0x050d, 0x1102, 0xff, 0xff, 0xff),
81598161
.driver_info = (unsigned long)&rtl8192cu_fops},
8162+
{USB_DEVICE_AND_INTERFACE_INFO(0x050d, 0x11f2, 0xff, 0xff, 0xff),
8163+
.driver_info = (unsigned long)&rtl8192cu_fops},
81608164
{USB_DEVICE_AND_INTERFACE_INFO(0x06f8, 0xe033, 0xff, 0xff, 0xff),
81618165
.driver_info = (unsigned long)&rtl8192cu_fops},
8166+
{USB_DEVICE_AND_INTERFACE_INFO(0x07b8, 0x8188, 0xff, 0xff, 0xff),
8167+
.driver_info = (unsigned long)&rtl8192cu_fops},
81628168
{USB_DEVICE_AND_INTERFACE_INFO(0x07b8, 0x8189, 0xff, 0xff, 0xff),
81638169
.driver_info = (unsigned long)&rtl8192cu_fops},
81648170
{USB_DEVICE_AND_INTERFACE_INFO(0x0846, 0x9041, 0xff, 0xff, 0xff),
81658171
.driver_info = (unsigned long)&rtl8192cu_fops},
8172+
{USB_DEVICE_AND_INTERFACE_INFO(0x0846, 0x9043, 0xff, 0xff, 0xff),
8173+
.driver_info = (unsigned long)&rtl8192cu_fops},
81668174
{USB_DEVICE_AND_INTERFACE_INFO(0x0b05, 0x17ba, 0xff, 0xff, 0xff),
81678175
.driver_info = (unsigned long)&rtl8192cu_fops},
81688176
{USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x1e1e, 0xff, 0xff, 0xff),
@@ -8179,6 +8187,10 @@ static const struct usb_device_id dev_table[] = {
81798187
.driver_info = (unsigned long)&rtl8192cu_fops},
81808188
{USB_DEVICE_AND_INTERFACE_INFO(0x13d3, 0x3357, 0xff, 0xff, 0xff),
81818189
.driver_info = (unsigned long)&rtl8192cu_fops},
8190+
{USB_DEVICE_AND_INTERFACE_INFO(0x13d3, 0x3358, 0xff, 0xff, 0xff),
8191+
.driver_info = (unsigned long)&rtl8192cu_fops},
8192+
{USB_DEVICE_AND_INTERFACE_INFO(0x13d3, 0x3359, 0xff, 0xff, 0xff),
8193+
.driver_info = (unsigned long)&rtl8192cu_fops},
81828194
{USB_DEVICE_AND_INTERFACE_INFO(0x2001, 0x330b, 0xff, 0xff, 0xff),
81838195
.driver_info = (unsigned long)&rtl8192cu_fops},
81848196
{USB_DEVICE_AND_INTERFACE_INFO(0x2019, 0x4902, 0xff, 0xff, 0xff),
@@ -8193,6 +8205,8 @@ static const struct usb_device_id dev_table[] = {
81938205
.driver_info = (unsigned long)&rtl8192cu_fops},
81948206
{USB_DEVICE_AND_INTERFACE_INFO(0x4856, 0x0091, 0xff, 0xff, 0xff),
81958207
.driver_info = (unsigned long)&rtl8192cu_fops},
8208+
{USB_DEVICE_AND_INTERFACE_INFO(0x9846, 0x9041, 0xff, 0xff, 0xff),
8209+
.driver_info = (unsigned long)&rtl8192cu_fops},
81968210
{USB_DEVICE_AND_INTERFACE_INFO(0xcdab, 0x8010, 0xff, 0xff, 0xff),
81978211
.driver_info = (unsigned long)&rtl8192cu_fops},
81988212
{USB_DEVICE_AND_INTERFACE_INFO(0x04f2, 0xaff7, 0xff, 0xff, 0xff),
@@ -8218,6 +8232,8 @@ static const struct usb_device_id dev_table[] = {
82188232
.driver_info = (unsigned long)&rtl8192cu_fops},
82198233
{USB_DEVICE_AND_INTERFACE_INFO(0x0586, 0x341f, 0xff, 0xff, 0xff),
82208234
.driver_info = (unsigned long)&rtl8192cu_fops},
8235+
{USB_DEVICE_AND_INTERFACE_INFO(0x06f8, 0xe033, 0xff, 0xff, 0xff),
8236+
.driver_info = (unsigned long)&rtl8192cu_fops},
82218237
{USB_DEVICE_AND_INTERFACE_INFO(0x06f8, 0xe035, 0xff, 0xff, 0xff),
82228238
.driver_info = (unsigned long)&rtl8192cu_fops},
82238239
{USB_DEVICE_AND_INTERFACE_INFO(0x0b05, 0x17ab, 0xff, 0xff, 0xff),
@@ -8226,6 +8242,8 @@ static const struct usb_device_id dev_table[] = {
82268242
.driver_info = (unsigned long)&rtl8192cu_fops},
82278243
{USB_DEVICE_AND_INTERFACE_INFO(0x0df6, 0x0070, 0xff, 0xff, 0xff),
82288244
.driver_info = (unsigned long)&rtl8192cu_fops},
8245+
{USB_DEVICE_AND_INTERFACE_INFO(0x0df6, 0x0077, 0xff, 0xff, 0xff),
8246+
.driver_info = (unsigned long)&rtl8192cu_fops},
82298247
{USB_DEVICE_AND_INTERFACE_INFO(0x0789, 0x016d, 0xff, 0xff, 0xff),
82308248
.driver_info = (unsigned long)&rtl8192cu_fops},
82318249
{USB_DEVICE_AND_INTERFACE_INFO(0x07aa, 0x0056, 0xff, 0xff, 0xff),
@@ -8248,6 +8266,8 @@ static const struct usb_device_id dev_table[] = {
82488266
.driver_info = (unsigned long)&rtl8192cu_fops},
82498267
{USB_DEVICE_AND_INTERFACE_INFO(0x2001, 0x330a, 0xff, 0xff, 0xff),
82508268
.driver_info = (unsigned long)&rtl8192cu_fops},
8269+
{USB_DEVICE_AND_INTERFACE_INFO(0x2001, 0x330d, 0xff, 0xff, 0xff),
8270+
.driver_info = (unsigned long)&rtl8192cu_fops},
82518271
{USB_DEVICE_AND_INTERFACE_INFO(0x2019, 0xab2b, 0xff, 0xff, 0xff),
82528272
.driver_info = (unsigned long)&rtl8192cu_fops},
82538273
{USB_DEVICE_AND_INTERFACE_INFO(0x20f4, 0x624d, 0xff, 0xff, 0xff),

0 commit comments

Comments
 (0)