summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2013-09-04 15:56:07 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-17 07:39:28 -0700
commita224cd7a282acb6dcea0e3e8ee7c3933c84f193b (patch)
treed4a9c454d153191fc0fed919987cc07edc64bd80
parent8429bf1a046b31611c17005aba8967ab20cedabd (diff)
downloadlinux-stable-a224cd7a282acb6dcea0e3e8ee7c3933c84f193b.tar.gz
linux-stable-a224cd7a282acb6dcea0e3e8ee7c3933c84f193b.tar.bz2
linux-stable-a224cd7a282acb6dcea0e3e8ee7c3933c84f193b.zip
staging: r8188eu: Adjust RX gain
In some circumstances, the performance of this driver is highly degraded, and ifconfig reports large numbers of dropped packets. By increasing the maximum RX gain from 0x3e to 0x4e, performance is greatly improved. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8188eu/include/odm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/include/odm.h b/drivers/staging/rtl8188eu/include/odm.h
index 2bfe72841921..4787bacdcad8 100644
--- a/drivers/staging/rtl8188eu/include/odm.h
+++ b/drivers/staging/rtl8188eu/include/odm.h
@@ -1010,7 +1010,7 @@ enum dm_dig_op {
#define DM_false_ALARM_THRESH_LOW 400
#define DM_false_ALARM_THRESH_HIGH 1000
-#define DM_DIG_MAX_NIC 0x3e
+#define DM_DIG_MAX_NIC 0x4e
#define DM_DIG_MIN_NIC 0x1e /* 0x22/0x1c */
#define DM_DIG_MAX_AP 0x32