summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtlwifi/rtl8192ee/reg.h
diff options
context:
space:
mode:
authorTroy Tan <troy_tan@realsil.com.cn>2015-01-20 18:01:26 +0100
committerKalle Valo <kvalo@codeaurora.org>2015-02-03 14:10:41 +0100
commit21b39ddb5bb2294fe64fbd29045591fe0707825f (patch)
treeb9859003ecb40f4c13ca6ec3fe210ae4eb4545d6 /drivers/net/wireless/rtlwifi/rtl8192ee/reg.h
parentrtlwifi: rtl8192ee: Fix parsing of received packet (diff)
downloadlinux-21b39ddb5bb2294fe64fbd29045591fe0707825f.tar.xz
linux-21b39ddb5bb2294fe64fbd29045591fe0707825f.zip
rtlwifi: rtl8192ee: Fix DMA stalls
There are instances where the DMA engine stalls. The new code detects such stalls and restarts DMA without needing a power reset. Signed-off-by: Troy Tan <troy_tan@realsil.com.cn> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Cc: Stable <stable@vger.kernel.org> [3.18] Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192ee/reg.h')
-rw-r--r--drivers/net/wireless/rtlwifi/rtl8192ee/reg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192ee/reg.h b/drivers/net/wireless/rtlwifi/rtl8192ee/reg.h
index 3f2a9596e7cd..1eaa1fab550d 100644
--- a/drivers/net/wireless/rtlwifi/rtl8192ee/reg.h
+++ b/drivers/net/wireless/rtlwifi/rtl8192ee/reg.h
@@ -77,9 +77,11 @@
#define REG_HIMRE 0x00B8
#define REG_HISRE 0x00BC
+#define REG_PMC_DBG_CTRL2 0x00CC
#define REG_EFUSE_ACCESS 0x00CF
#define REG_HPON_FSM 0x00EC
#define REG_SYS_CFG1 0x00F0
+#define REG_MAC_PHY_CTRL_NORMAL 0x00F8
#define REG_SYS_CFG2 0x00FC
#define REG_CR 0x0100