mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
29aab93ea2
The most important is probably regression fix in handling platform NVRAM. That bug stopped hardware from being properly calibrated breaking e.g. 5 GHz for Netgear R8000. Other than that it triggers memory dumps when experiencing firmware problems which is important for debugging purposes. Fixes:2811c97803
("mac80211: backport brcmfmac firmware & clm_blob loading rework") Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commitb26214adb5
)
24 lines
819 B
Diff
24 lines
819 B
Diff
brcmfmac: do not use internal roaming engine by default
|
|
|
|
Some evidence of curing disconnects with this disabled, so make it a default.
|
|
Can be overridden with module parameter roamoff=0
|
|
See: http://projectable.me/optimize-my-pi-wi-fi/
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
|
|
---
|
|
|
|
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
|
|
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
|
|
@@ -70,7 +70,11 @@ static int brcmf_fcmode;
|
|
module_param_named(fcmode, brcmf_fcmode, int, 0);
|
|
MODULE_PARM_DESC(fcmode, "Mode of firmware signalled flow control");
|
|
|
|
+#if defined(CONFIG_ARCH_BCM2835)
|
|
+static int brcmf_roamoff = 1;
|
|
+#else
|
|
static int brcmf_roamoff;
|
|
+#endif
|
|
module_param_named(roamoff, brcmf_roamoff, int, S_IRUSR);
|
|
MODULE_PARM_DESC(roamoff, "Do not use internal roaming engine");
|
|
|