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 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
11 +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
12 @@ -70,7 +70,11 @@ static int brcmf_fcmode;
13 module_param_named(fcmode, brcmf_fcmode, int, 0);
14 MODULE_PARM_DESC(fcmode, "Mode of firmware signalled flow control");
16 +#if defined(CONFIG_ARCH_BCM2835)
17 +static int brcmf_roamoff = 1;
19 static int brcmf_roamoff;
21 module_param_named(roamoff, brcmf_roamoff, int, 0400);
22 MODULE_PARM_DESC(roamoff, "Do not use internal roaming engine");