Update:
Since manually doing suspend/resume it a bit tedious i started to do
some load/unload of wl.ko. after ~200 load/unload cycles the wifi
works without problem.

I have not been able to get a failure with the below for about 15
suspend/resume's, and it would be good if more people than me could
test it as a workaround.

A possible workaround, until the real issue has been resolved could be
to create "/etc/pm/sleep.d/09_brcm_wl" with the following content
BYMMW:
#!/bin/sh

case $1 in
    resume|thaw)
        date >>/var/log/brcm_wl.log
        echo "Loading wl module" >>/var/log/brcm_wl.log
        /sbin/modprobe wl
        ;;
    suspend|hibernate)
        date >>/var/log/brcm_wl.log
        echo "Removing wl module" >>/var/log/brcm_wl.log
        /sbin/rmmod wl
       sleep 5 # to allow for network-manager and other things to
finish before system is suspended. Got a few hiccups without it.
        exit 0
        ;;
esac


On Tue, Jul 28, 2015 at 1:43 PM, ldc <1478...@bugs.launchpad.net> wrote:
> Update: There seems to still be a suspend/resume issue.
>
> After each resume there is a chance that the wifi-card may stop working.
> Have not dug into this yet, but at least the system as a whole seems
> stable.
>
> Behavior is that reception seems to stop working. It can transmit (and i
> can see packages arriving on the router) "EAPOL key" packages during the
> association-requests but no replies are received.
>
> It does manage to do scans via "wl dev wlan0 scan" so the radio-part
> does seem to be working.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1478592
>
> Title:
>   bcmwl-kernel-source fixes [Patch]
>
> Status in bcmwl package in Ubuntu:
>   Confirmed
>
> Bug description:
>
>   The broadcom-wl driver have a few issues that have not been corrected in 
> the ubuntu package.
>   Supplied with this bugreport is a monolithic patch that addresses some of 
> those.
>
>   Summary/testing of patch:
>   - 2 days of local testing with associate/disassociate/scan between 2 
> access-points. (same model and running same openwrt version, so might not be 
> a good test).
>   - Suspend/resume seems to work (no extensive testing there yet).
>   - Testing been done on a MBP 11,3 with a BCM4360 card running Ubuntu 15.04 
> with kernel 4.1.3 (vanilla)
>   - Only 4.x changes are new, rest have been in use by several projects 
> (ubuntu/gentoo/archlinux etc) for some time.
>
>
>   Feel free to split it up into several patches.... This have been a locally 
> maintained repo that have used several different sources and that's the 
> reason for the monolithic patch.
>
>   One issue that is left is the:
>           if (WARN_ON(!bss))
>                   return;
>   in net/wireless/sme.c but this does not seem to cause issues.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1478592/+subscriptions

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1478592

Title:
  bcmwl-kernel-source fixes [Patch]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1478592/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to