Comment 334 for bug 1239578

Revision history for this message
Ivan Alejandro (ivanalejandro0) wrote :

Thanks for the tip Larry!
As Christian said, ips is 0 by default. using "fwlps=0" seems to do the trick :D ... I'm doing some extra tests with downloads, audio conversations and so on, and it works so far!

Some extra notes in case of this is useful to someone else:

# change to load the module with "fwlps=0"
$ cat /etc/modprobe.d/rtl8192ee.conf
options rtl8192ee fwlps=0

I'm using tlp for power management optimizations and I had also some extra settings to disable:

$ grep -i wifi /etc/default/tlp
# WiFi power saving mode: 1=disable, 5=enable; not supported by all adapters.
WIFI_PWR_ON_AC=1
WIFI_PWR_ON_BAT=1 # This is set to 5 by default

I imagine that since the driver does not uses "ips" these last changes don't matter.

I was having problems on resuming after suspend (no connection), and removing/adding the module causes the system to freeze. I've fixed with this:
cat /etc/pm/sleep.d/10_reset_wifi
#! /bin/sh

# This script reload the wifi module on resume since most of the times it won't
# work as espected otherwise.

case $1 in
     suspend|suspend_hybrid|hibernate)
         # do nothing
         ;;
     resume|thaw)
         sudo rmmod rtl8192ee && sudo modprobe rtl8192ee
         ;;
esac