864-brcmfmac-do-not-use-internal-roaming-engine-by-default.patch 819 B

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