Summary; my own rtl8821ae frequent connection lost problem was fixed by
upstream patch b8b8b16352cd ("rtlwifi: rtl8821ae: Fix connection lost
problem") merged for 4.14-rc4.

I've recently fixed a problem very much like the problems reported in
this bug.  In particular the loss of WiFi scan results, and the
connection loss on a burst of download data.  Workaround was to turn
wireless off then on again (using rfkill), or reboot.  What I did was

(a) test several ubuntu kernels to find which ones were affected,

(b) using git bisect, tested several custom kernels, and proved my
problem began with a single commit 40b368af4b75 ("rtlwifi: Fix alignment
issues"),

(c) worked with upstream to determine a likely cause; the commit wasn't
widely tested,

(d) proved through testing that the BIOS can have an effect; because the
rtl8821ae driver does not reset the card, but inherits the card in
whatever state the BIOS left it.  This can randomise problem reports.

(e) proved that a power down and reboot can have a different effect to a
warm reboot; some of the wireless card device registers are unchanged on
warm reboot.  This can randomise problem reports.

Hope that helps.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1622293

Title:
  rtl8821ae WiFI does not work

Status in linux package in Ubuntu:
  Triaged

Bug description:
  rtl8821ae does not work out-of the box on Ubuntu 16.04. It does not
  detect any WIFi networks and laptop starts with Wifi disabled in
  NetworkManager. To make rtl8821ae work I have to do the following:

  echo "blacklist ideapad_laptop" | sudo tee /etc/modprobe.d/idepad.conf

  
  After that rtl8821ae loses connection occasionally. None of those helped:

  echo rtl8812ae  >>  /etc/modules
  echo "options rtl8821ae ips=0 fwlps=0" | sudo tee 
/etc/modprobe.d/rtl8821ae.conf
  sudo modprobe -r rtl8821ae && sudo modprobe rtl8821ae
  options rtl8821ae ips=0 swenc=1 debug=5 msi=0
  sudo iw dev wlp2s0 set power_save off

  Installing new driver from here
  https://github.com/lwfinger/rtlwifi_new did not help.

  
  Issue close to this one was reported here: 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1526683

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.4.0-36-generic 4.4.0-36.55
  ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
  Uname: Linux 4.4.0-36-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  antoshkka   3397 F.... pulseaudio
   /dev/snd/controlC0:  antoshkka   3397 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Sun Sep 11 10:09:39 2016
  HibernationDevice: RESUME=UUID=de96877a-7ace-47cc-ac4c-b4662a72a1b7
  InstallationDate: Installed on 2016-09-10 (0 days ago)
  InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 
(20160719)
  MachineType: LENOVO 80NY
  ProcFB: 0 amdgpudrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-36-generic.efi.signed 
root=UUID=d62213ac-da8e-417a-83fb-b8163b78199b ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-4.4.0-36-generic N/A
   linux-backports-modules-4.4.0-36-generic  N/A
   linux-firmware                            1.157.3
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 09/15/2015
  dmi.bios.vendor: LENOVO
  dmi.bios.version: CECN43WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: Allsparks 5B
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40688 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo ideapad Y700-15ACZ
  dmi.modalias: 
dmi:bvnLENOVO:bvrCECN43WW:bd09/15/2015:svnLENOVO:pn80NY:pvrLenovoideapadY700-15ACZ:rvnLENOVO:rnAllsparks5B:rvrSDK0J40688WIN:cvnLENOVO:ct10:cvrLenovoideapadY700-15ACZ:
  dmi.product.name: 80NY
  dmi.product.version: Lenovo ideapad Y700-15ACZ
  dmi.sys.vendor: LENOVO

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to