RTL8812AU: Fix AP timeout and disable power saving

This commit is contained in:
MilhouseVH 2016-05-07 19:01:17 +01:00
parent 617cd64a87
commit 66ccd6cbfc
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,23 @@
From 4037784fc342dc81c71f7b950f4f5d94c0c21e5c Mon Sep 17 00:00:00 2001
From: Sam Nazarko <email@samnazarko.co.uk>
Date: Tue, 8 Sep 2015 18:36:02 +0100
Subject: [PATCH] Fix potential issue for timeout when connecting to an AP.
Signed-off-by: Sam Nazarko <email@samnazarko.co.uk>
---
include/rtw_mlme_ext.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/rtw_mlme_ext.h b/include/rtw_mlme_ext.h
index d1d5894..7dd78ad 100644
--- a/include/rtw_mlme_ext.h
+++ b/include/rtw_mlme_ext.h
@@ -27,7 +27,7 @@
// So, this driver tried to extend the dwell time for each scanning channel.
// This will increase the chance to receive the probe response from SoftAP.
-#define SURVEY_TO (100)
+#define SURVEY_TO (0)
#define REAUTH_TO (300) //(50)
#define REASSOC_TO (300) //(50)
//#define DISCONNECT_TO (3000)

View File

@ -0,0 +1,23 @@
From b68705a507c47dc2ff2cc6121830af315fbcdc83 Mon Sep 17 00:00:00 2001
From: Sam Nazarko <email@samnazarko.co.uk>
Date: Sat, 11 Jul 2015 02:31:07 +0100
Subject: [PATCH] Disable power saving by default
Signed-off-by: Sam Nazarko <email@samnazarko.co.uk>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index e97fbbf..7981e59 100644
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,7 @@ CONFIG_SDIO_HCI = n
CONFIG_GSPI_HCI = n
CONFIG_MP_INCLUDED = y
-CONFIG_POWER_SAVING = y
+CONFIG_POWER_SAVING = n
CONFIG_USB_AUTOSUSPEND = n
CONFIG_HW_PWRP_DETECTION = n
CONFIG_WIFI_TEST = n