diff options
author | John Crispin <blogic@openwrt.org> | 2016-03-16 09:26:42 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2016-03-16 09:26:42 +0000 |
commit | 511d9403ba231117a9d8f9083a6447037866b649 (patch) | |
tree | b84cf683e3934c3b7c9ef956e858c5a43251b1d0 /package | |
parent | 641d99fcbae9d627672e9403a8a71cdc1ae70abc (diff) | |
download | master-187ad058-511d9403ba231117a9d8f9083a6447037866b649.tar.gz master-187ad058-511d9403ba231117a9d8f9083a6447037866b649.tar.bz2 master-187ad058-511d9403ba231117a9d8f9083a6447037866b649.zip |
brcmfmac: Add Raspberry Pi 3 support
- Enable SDIO support on brcmfmac.
- Disable power managment for brcm2708 target.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Reviewed-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49023 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/kernel/mac80211/Makefile | 1 | ||||
-rw-r--r-- | package/kernel/mac80211/patches/863-brcmfmac-Disable-power-management.patch | 27 |
2 files changed, 28 insertions, 0 deletions
diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile index e65cf2afe6..13a07ae292 100644 --- a/package/kernel/mac80211/Makefile +++ b/package/kernel/mac80211/Makefile @@ -673,6 +673,7 @@ define KernelPackage/brcmfmac/config config BRCMFMAC_SDIO bool "Enable SDIO bus interface support" + default y if TARGET_brcm2708 default n help Enable support for cards attached to an SDIO bus. diff --git a/package/kernel/mac80211/patches/863-brcmfmac-Disable-power-management.patch b/package/kernel/mac80211/patches/863-brcmfmac-Disable-power-management.patch new file mode 100644 index 0000000000..1615202d8e --- /dev/null +++ b/package/kernel/mac80211/patches/863-brcmfmac-Disable-power-management.patch @@ -0,0 +1,27 @@ +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 +@@ -2651,6 +2651,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_BCM2708) || defined(CONFIG_BCM2709) ++ pr_info("power management disabled\n"); ++ enabled = false; ++#endif + cfg->pwr_save = enabled; + if (!check_vif_up(ifp->vif)) { + |