On 11/05/2017 03:15 PM, Nik Nyby wrote:
I also want to note that adding rtl8821ae.aspm=0 to my grub kernel boot command doesn't fix my problem. (I'm building this driver into the kernel, not as a module). My connection dropping problem is fixed only if I comment out the aspm init code in the driver, per this patch:
   https://patchwork.kernel.org/patch/9951511/

Disabling all of _rtl8821ae_enable_aspm_back_door() may not be wise. We tried that patch as part of debugging.

That routine consists of two mdio r/w sequences, and 3 dbi r/w sequences. The third one of the latter is only used for RTL8812AE, thus it can be ignored.

What happens if you try disabling those r/w pairs one at a time? It is possible that one, or more of them, should be disabled when aspm is zero. It should not matter whether the driver is built in, or loaded as a module. Please note that I never build that code in as I always want the option of refreshing the driver without rebooting.

Larry

Reply via email to