Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 20.04.3 LTS Wifi Issues [resolved] #56

Open
mynameisfiber opened this issue Dec 1, 2021 · 0 comments
Open

Ubuntu 20.04.3 LTS Wifi Issues [resolved] #56

mynameisfiber opened this issue Dec 1, 2021 · 0 comments

Comments

@mynameisfiber
Copy link

mynameisfiber commented Dec 1, 2021

On a clean install of Ubuntu 20.04.3 LTS, I was getting frequent disconnects and high latency. These were being triggered by a microcode error, seen in the syslog as:

[21639.740121] iwlwifi 0000:01:00.0: Microcode SW error detected. Restarting 0x0.

In order to fix this, I turned off powersave on the card (which I don't think actually fixed the issue, but from previous experience it will generally help with wifi performance) and I disabled 11n and bt_coex parameters for the iwlwifi module.

# cat /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf 
[connection]
wifi.powersave = 2
# 2 == off. 3 == on.
# cat /etc/modprobe.d/iwlwifi-options.conf 
options iwlwifi 11n_disable=1
options iwlwifi bt_coex_active=0

This seems to have fixed the issue. For reference, the corresponding firmware microcodes on the system are from linux-firmware==1.187.20 and I have the following relevant versions:

$ ls /lib/firmware/ | grep iwlwifi-cc-a0
iwlwifi-cc-a0-46.ucode
iwlwifi-cc-a0-48.ucode
iwlwifi-cc-a0-55.ucode
iwlwifi-cc-a0-59.ucode
iwlwifi-cc-a0-63.ucode

It does seem though that version 59 is loaded instead of 63

$ sudo grep cc-a0 /var/log/syslog 
[   12.211690] iwlwifi 0000:01:00.0: loaded firmware version 59.601f3a66.0 cc-a0-59.ucode op_mode iwlmvm

This is the exact card I have,

charm ~:$ sudo lshw -C network
  *-network                 
       description: Wireless interface
       product: Wi-Fi 6 AX200
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: wlp1s0
       version: 1a
       serial: 08:5b:d6:83:ec:49
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=5.11.0-41-generic firmware=59.601f3a66.0 cc-a0-59.ucode ip=192.168.0.181 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:84 memory:d0700000-d0703fff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant