52 lines
1.6 KiB
Diff
52 lines
1.6 KiB
Diff
From fc1a33cb2ba4cffe3c504fdedf8ad0d9478dddf4 Mon Sep 17 00:00:00 2001
|
|
From: Ondrej Jirman <megous@megous.com>
|
|
Date: Wed, 25 Nov 2020 16:56:15 +0100
|
|
Subject: [PATCH 224/478] 8723cs: Enable wifi power saving mode
|
|
|
|
This saves 350mW in idle.
|
|
|
|
Signed-off-by: Ondrej Jirman <megous@megous.com>
|
|
---
|
|
drivers/staging/rtl8723cs/Makefile | 11 ++++++-----
|
|
1 file changed, 6 insertions(+), 5 deletions(-)
|
|
|
|
diff --git a/drivers/staging/rtl8723cs/Makefile b/drivers/staging/rtl8723cs/Makefile
|
|
index 5ffaa333f065..84f094719d3e 100644
|
|
--- a/drivers/staging/rtl8723cs/Makefile
|
|
+++ b/drivers/staging/rtl8723cs/Makefile
|
|
@@ -54,10 +54,10 @@ CONFIG_GSPI_HCI = n
|
|
########################## Features ###########################
|
|
CONFIG_AP_MODE = y
|
|
CONFIG_P2P = y
|
|
-CONFIG_MP_INCLUDED = y
|
|
-CONFIG_POWER_SAVING = n
|
|
-CONFIG_IPS_MODE = default
|
|
-CONFIG_LPS_MODE = default
|
|
+CONFIG_MP_INCLUDED = n
|
|
+CONFIG_POWER_SAVING = y
|
|
+CONFIG_IPS_MODE = 0
|
|
+CONFIG_LPS_MODE = 1
|
|
CONFIG_USB_AUTOSUSPEND = n
|
|
CONFIG_HW_PWRP_DETECTION = n
|
|
CONFIG_BT_COEXIST = y
|
|
@@ -65,7 +65,7 @@ CONFIG_WAPI_SUPPORT = n
|
|
CONFIG_EFUSE_CONFIG_FILE = n
|
|
CONFIG_EXT_CLK = n
|
|
CONFIG_TRAFFIC_PROTECT = n
|
|
-CONFIG_LOAD_PHY_PARA_FROM_FILE = y
|
|
+CONFIG_LOAD_PHY_PARA_FROM_FILE = n
|
|
CONFIG_TXPWR_BY_RATE = y
|
|
CONFIG_TXPWR_BY_RATE_EN = y
|
|
CONFIG_TXPWR_LIMIT = y
|
|
@@ -1334,6 +1334,7 @@ EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
|
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
|
EXTRA_CFLAGS += -DCONFIG_RADIO_WORK
|
|
+EXTRA_CFLAGS += -DCONFIG_RTW_80211R
|
|
|
|
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
|
|
ARCH ?= $(SUBARCH)
|
|
--
|
|
2.35.3
|
|
|