mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-10 08:44:39 +01:00
Drop all upstreamed patch and refresh all affected patch.
Minor changes were needed to the
350-mac80211-allow-scanning-while-on-radar-channel due to changes in
6.18.
Also some changes were needed to downstream patch due to upstream commit
b74947b4f6ff ("wifi: cfg80211/mac80211: Add support to get radio index")
Link: https://github.com/openwrt/openwrt/pull/20964
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
24 lines
955 B
Diff
24 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
|
|
@@ -3360,6 +3360,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)
|