summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/rtlwifi/rtl8192c
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2014-12-18 12:05:27 +0300
committerKalle Valo <kvalo@codeaurora.org>2014-12-24 19:29:32 +0300
commit1ed03272b58f1ed6545b99dde39c42358156af69 (patch)
tree10aa9c4dd7a57bc216c6c05ddd9729f2084d145a /drivers/net/wireless/rtlwifi/rtl8192c
parentf091282fd367faa014ebc2aa0a2fd178a48b476d (diff)
downloadlinux-1ed03272b58f1ed6545b99dde39c42358156af69.tar.xz
rtlwifi: rtl8192ce: Add code to set the keep-alive operation
This change helps the device maintain a connection. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192c')
-rw-r--r--drivers/net/wireless/rtlwifi/rtl8192c/fw_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192c/fw_common.h b/drivers/net/wireless/rtlwifi/rtl8192c/fw_common.h
index b64ae45dc674..e9f4281f5067 100644
--- a/drivers/net/wireless/rtlwifi/rtl8192c/fw_common.h
+++ b/drivers/net/wireless/rtlwifi/rtl8192c/fw_common.h
@@ -37,6 +37,7 @@
#define FW_8192C_POLLING_DELAY 5
#define FW_8192C_POLLING_TIMEOUT_COUNT 100
#define NORMAL_CHIP BIT(4)
+#define H2C_92C_KEEP_ALIVE_CTRL 48
#define IS_FW_HEADER_EXIST(_pfwhdr) \
((le16_to_cpu(_pfwhdr->signature)&0xFFF0) == 0x92C0 ||\