summaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/650-0001-rtl8xxxu-Add-bit-definitions-for-REG_USB_SPECIAL_OPT.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/mac80211/patches/650-0001-rtl8xxxu-Add-bit-definitions-for-REG_USB_SPECIAL_OPT.patch')
-rw-r--r--package/kernel/mac80211/patches/650-0001-rtl8xxxu-Add-bit-definitions-for-REG_USB_SPECIAL_OPT.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/650-0001-rtl8xxxu-Add-bit-definitions-for-REG_USB_SPECIAL_OPT.patch b/package/kernel/mac80211/patches/650-0001-rtl8xxxu-Add-bit-definitions-for-REG_USB_SPECIAL_OPT.patch
new file mode 100644
index 0000000000..047a33827d
--- /dev/null
+++ b/package/kernel/mac80211/patches/650-0001-rtl8xxxu-Add-bit-definitions-for-REG_USB_SPECIAL_OPT.patch
@@ -0,0 +1,26 @@
+From 0931604ba1483850cd69de30ee5d52d251e15418 Mon Sep 17 00:00:00 2001
+From: Jes Sorensen <Jes.Sorensen@redhat.com>
+Date: Mon, 2 May 2016 15:25:22 -0400
+Subject: [PATCH] rtl8xxxu: Add bit definitions for REG_USB_SPECIAL_OPTION
+
+Documentation for enabling USB aggregation and whether to select
+interrupt or bulk delivery of interrupt events.
+
+Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
+---
+ drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_regs.h | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+--- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_regs.h
++++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_regs.h
+@@ -1052,6 +1052,10 @@
+ #define USB_HIMR_ROK BIT(0) /* Receive DMA OK Interrupt */
+
+ #define REG_USB_SPECIAL_OPTION 0xfe55
++#define USB_SPEC_USB_AGG_ENABLE BIT(3) /* Enable USB aggregation */
++#define USB_SPEC_INT_BULK_SELECT BIT(4) /* Use interrupt endpoint to
++ deliver interrupt packet.
++ 0: Use int, 1: use bulk */
+ #define REG_USB_HRPWM 0xfe58
+ #define REG_USB_DMA_AGG_TO 0xfe5b
+ #define REG_USB_AGG_TO 0xfe5c