Comment 8 for bug 1992194

Revision history for this message
Jack Howarth (jwhowarth) wrote :

After many false starts, the following similar RedHat bug report, gave me a hint to a workaround that suppresses the CSR_RESET errors in iwlwifi.

https://bugzilla.redhat.com/show_bug.cgi?id=2138790

Bug 2138790 - No WiFi on T16 Intel Gen 12th Alder Lake Wifi 6E AX 211 [NEEDINFO]

This bug report cites the following kernel commit as being the source of the bug.

https://github.com/torvalds/linux/blob/4fe89d07dcc2804c8b562f6c7896a45643d34b2f/drivers/net/wireless/intel/iwlwifi/iwl-io.c#L478-L483

Noticing this section in that file...

/*
  * Wait for clock stabilization; once stabilized, access to
  * device-internal resources is supported, e.g. iwl_write_prph()
  * and accesses to uCode SRAM.
  */

 err = iwl_poll_bit(trans, CSR_GP_CNTRL, poll_ready, poll_ready, 25000);
 if (err < 0) {
  IWL_DEBUG_INFO(trans, "Failed to wake NIC\n");

  iwl_dump_host_monitor(trans);
 }

... I decided to disable the BIOS setting for "Wake On LAN" in the Power section of the Gigabyte X570 UD v1.1 F37d BIOS (which is on by default).

So far this change has fully suppressed the CSR_RESET bug. Disabling "Wake On LAN" in BIOS is sufficient without resorting to...

options iwlwifi power_save=0
options iwlmvm power_scheme=1
options iwlwifi uapsd_disable=1

in /etc/modprobe.d/iwlwifi.conf.