mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
a8f63a0717
This updates mac80211 to backprots-4.14-rc2. This was compile and runtime tested with ath9k, ath10k and b43 with multiple stations and ieee80211w and in different scenarios by many other people. To create the backports-4.14-rc2-1.tar.xz use this repository: https://git.kernel.org/pub/scm/linux/kernel/git/backports/backports.git from tag v4.14-rc2-1 Then run this: ./gentree.py --git-revision v4.14-rc2 --clean <path to linux repo> ../backports-4.14-rc2-1 This also adapts the ath10k-ct and mt76 driver to the changed cfg80211 APIs and syncs the nl80211.h file in iw with the new version from backports-4.14-rc2. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
28 lines
972 B
Diff
28 lines
972 B
Diff
From 66ae1b1750720a33e29792a177b1e696f4f005fb Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.org>
|
|
Date: Wed, 9 Mar 2016 17:25:59 +0000
|
|
Subject: [PATCH] brcmfmac: Disable power management
|
|
|
|
Disable wireless power saving in the brcmfmac WLAN driver. This is a
|
|
temporary measure until the connectivity loss resulting from power
|
|
saving is resolved.
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
|
|
---
|
|
drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
|
|
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
|
|
@@ -2849,6 +2849,10 @@ brcmf_cfg80211_set_power_mgmt(struct wip
|
|
* preference in cfg struct to apply this to
|
|
* FW later while initializing the dongle
|
|
*/
|
|
+#if defined(CONFIG_ARCH_BCM2835)
|
|
+ brcmf_dbg(INFO, "power management disabled\n");
|
|
+ enabled = false;
|
|
+#endif
|
|
cfg->pwr_save = enabled;
|
|
if (!check_vif_up(ifp->vif)) {
|
|
|