1 brcmfmac: do not use internal roaming engine by default
3 Some evidence of curing disconnects with this disabled, so make it a default.
4 Can be overridden with module parameter roamoff=0
5 See: http://projectable.me/optimize-my-pi-wi-fi/
7 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
10 Index: backports-v4.18-rc7/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
11 ===================================================================
12 --- backports-v4.18-rc7.orig/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
13 +++ backports-v4.18-rc7/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
14 @@ -70,7 +70,11 @@ static int brcmf_fcmode;
15 module_param_named(fcmode, brcmf_fcmode, int, 0);
16 MODULE_PARM_DESC(fcmode, "Mode of firmware signalled flow control");
18 +#if defined(CONFIG_ARCH_BCM2835)
19 +static int brcmf_roamoff = 1;
21 static int brcmf_roamoff;
23 module_param_named(roamoff, brcmf_roamoff, int, 0400);
24 MODULE_PARM_DESC(roamoff, "Do not use internal roaming engine");