forked from Openwrt-EcoNet/openwrt
- Reorganize brcmfmac patches. - Drop outdated RPi brcmfmac patches. - Add RPi 6.12 brcmfmac patches with "rpi-6.12" name tag (excluding SAE). Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
25 lines
955 B
Diff
25 lines
955 B
Diff
From 12722e472a963598a88011dd4b6805ed0a0e318f Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.com>
|
|
Date: Mon, 3 Feb 2020 09:32:22 +0000
|
|
Subject: [PATCH] brcmfmac: Increase power saving delay to 2s
|
|
|
|
Increase the delay before entering the lower power state to 2 seconds
|
|
(the maximum allowed) in order to reduce the packet latencies,
|
|
particularly for inbound packets.
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|
---
|
|
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
|
|
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
|
|
@@ -3338,6 +3338,7 @@ brcmf_cfg80211_set_power_mgmt(struct wip
|
|
bphy_err(drvr, "error (%d)\n", err);
|
|
}
|
|
|
|
+ timeout = 2000; /* 2000ms - the maximum */
|
|
err = brcmf_fil_iovar_int_set(ifp, "pm2_sleep_ret",
|
|
min_t(u32, timeout, BRCMF_PS_MAX_TIMEOUT_MS));
|
|
if (err)
|