]> git.webhop.me Git - bs-cst-neutrino-hd.git/commitdiff
hd51/bre2ze4k/h7: add more devices rtl8xxxu patch
authorMarkham <markham001@gmx.de>
Tue, 31 Dec 2019 18:41:59 +0000 (19:41 +0100)
committerMarkham <markham001@gmx.de>
Tue, 31 Dec 2019 18:41:59 +0000 (19:41 +0100)
archive-patches/armbox/4_10_add-more-devices-rtl8xxxu.patch [new file with mode: 0644]

diff --git a/archive-patches/armbox/4_10_add-more-devices-rtl8xxxu.patch b/archive-patches/armbox/4_10_add-more-devices-rtl8xxxu.patch
new file mode 100644 (file)
index 0000000..45789b5
--- /dev/null
@@ -0,0 +1,65 @@
+Date: Sat, 22 Nov 2017 21:30:00 +0200
+Subject: [rtl8xxxu] Add more devices support
+
+rtl8xxxu: Mark 8192eu device 0x0bda:0x818b as tested
+rtl8xxxu: Add another 8192eu device to the USB list
+rtl8xxxu: Add USB ID for D-Link DWA-131 rev E1 (rtl8192eu)
+rtl8xxxu: Add additional USB IDs for rtl8192eu devices
+rtl8xxxu: Update author/maintainer contact info
+
+diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
+--- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c    2017-03-29 16:58:08 +0200
++++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c    2017-05-22 21:04:21 +0200
+@@ -1,7 +1,7 @@
+ /*
+  * RTL8XXXU mac80211 USB driver
+  *
+- * Copyright (c) 2014 - 2016 Jes Sorensen <Jes.Sorensen@redhat.com>
++ * Copyright (c) 2014 - 2017 Jes Sorensen <Jes.Sorensen@gmail.com>
+  *
+  * Portions, notably calibration code:
+  * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
+@@ -48,7 +48,7 @@
+ static int rtl8xxxu_dma_agg_timeout = -1;
+ static int rtl8xxxu_dma_agg_pages = -1;
+-MODULE_AUTHOR("Jes Sorensen <Jes.Sorensen@redhat.com>");
++MODULE_AUTHOR("Jes Sorensen <Jes.Sorensen@gmail.com>");
+ MODULE_DESCRIPTION("RTL8XXXu USB mac80211 Wireless LAN Driver");
+ MODULE_LICENSE("GPL");
+ MODULE_FIRMWARE("rtlwifi/rtl8723aufw_A.bin");
+@@ -6000,6 +6000,7 @@
+               case 0x8176:
+               case 0x8178:
+               case 0x817f:
++              case 0x818b:
+                       untested = 0;
+                       break;
+               }
+@@ -6196,6 +6197,12 @@
+       .driver_info = (unsigned long)&rtl8723au_fops},
+ {USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x818b, 0xff, 0xff, 0xff),
+       .driver_info = (unsigned long)&rtl8192eu_fops},
++/* TP-Link TL-WN822N v4 */
++{USB_DEVICE_AND_INTERFACE_INFO(0x2357, 0x0108, 0xff, 0xff, 0xff),
++      .driver_info = (unsigned long)&rtl8192eu_fops},
++/* D-Link DWA-131 rev E1, tested by David PatiƱo */
++{USB_DEVICE_AND_INTERFACE_INFO(0x2001, 0x3319, 0xff, 0xff, 0xff),
++      .driver_info = (unsigned long)&rtl8192eu_fops},
+ /* Tested by Myckel Habets */
+ {USB_DEVICE_AND_INTERFACE_INFO(0x2357, 0x0109, 0xff, 0xff, 0xff),
+       .driver_info = (unsigned long)&rtl8192eu_fops},
+@@ -6347,6 +6354,13 @@
+       .driver_info = (unsigned long)&rtl8192cu_fops},
+ {USB_DEVICE_AND_INTERFACE_INFO(0x7392, 0x7822, 0xff, 0xff, 0xff),
+       .driver_info = (unsigned long)&rtl8192cu_fops},
++/* 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(0x2019, 0xab33, 0xff, 0xff, 0xff),
++      .driver_info = (unsigned long)&rtl8192eu_fops},
++{USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0x818c, 0xff, 0xff, 0xff),
++      .driver_info = (unsigned long)&rtl8192eu_fops},
+ #endif
+ { }
+ };