2017-02-07 13:45:19 +00:00
|
|
|
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>
|
|
|
|
---
|
|
|
|
|
2018-09-23 16:02:35 +00:00
|
|
|
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
|
|
|
|
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
|
2019-07-21 09:23:32 +00:00
|
|
|
@@ -59,7 +59,11 @@ static int brcmf_fcmode;
|
2017-02-07 13:45:19 +00:00
|
|
|
module_param_named(fcmode, brcmf_fcmode, int, 0);
|
|
|
|
MODULE_PARM_DESC(fcmode, "Mode of firmware signalled flow control");
|
|
|
|
|
2017-02-07 22:16:26 +00:00
|
|
|
+#if defined(CONFIG_ARCH_BCM2835)
|
2017-02-07 13:45:19 +00:00
|
|
|
+static int brcmf_roamoff = 1;
|
|
|
|
+#else
|
|
|
|
static int brcmf_roamoff;
|
|
|
|
+#endif
|
2018-08-02 06:44:29 +00:00
|
|
|
module_param_named(roamoff, brcmf_roamoff, int, 0400);
|
2017-02-07 13:45:19 +00:00
|
|
|
MODULE_PARM_DESC(roamoff, "Do not use internal roaming engine");
|
|
|
|
|