After waiting hours with the laptop off, it’s working in NixOS once again. For completeness, here are the messages when it works:
[ 3.087389] iwlwifi 0000:aa:00.0: enabling device (0000 -> 0002)
[ 3.092874] iwlwifi 0000:aa:00.0: Direct firmware load for iwlwifi-ty-a0-gf-a0-69.ucode failed with error -2
[ 3.092986] iwlwifi 0000:aa:00.0: Direct firmware load for iwlwifi-ty-a0-gf-a0-68.ucode failed with error -2
[ 3.095865] iwlwifi 0000:aa:00.0: api flags index 2 larger than supported by driver
[ 3.095883] iwlwifi 0000:aa:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 0.0.2.34
[ 3.096096] iwlwifi 0000:aa:00.0: loaded firmware version 67.8f59b80b.0 ty-a0-gf-a0-67.ucode op_mode iwlmvm
[ 3.224070] iwlwifi 0000:aa:00.0: Detected Intel(R) Wi-Fi 6 AX210 160MHz, REV=0x420
[ 3.230174] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 1, ret=-1
[ 3.230178] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 2, ret=-1
[ 3.230179] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 3, ret=-1
[ 3.396370] iwlwifi 0000:aa:00.0: loaded PNVM version 4b50f925
[ 3.411740] iwlwifi 0000:aa:00.0: Detected RF GF, rfid=0x10d000
[ 3.482105] iwlwifi 0000:aa:00.0: base HW address: f4:7b:09:9b:f6:b8
[ 3.505581] iwlwifi 0000:aa:00.0 wlp170s0: renamed from wlan0
[ 3.533976] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 1, ret=-1
[ 3.533986] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 2, ret=-1
[ 3.533990] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 3, ret=-1
[ 3.829069] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 1, ret=-1
[ 3.829077] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 2, ret=-1
[ 3.829079] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 3, ret=-1
[ 10.764397] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 1, ret=-1
[ 10.764408] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 2, ret=-1
[ 10.764410] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 3, ret=-1
[ 11.041732] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 1, ret=-1
[ 11.041738] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 2, ret=-1
[ 11.041740] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 3, ret=-1
[ 15.251085] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 1, ret=-1
[ 15.251092] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 2, ret=-1
[ 15.251094] iwlwifi 0000:aa:00.0: WRT: Failed to set DRAM buffer for alloc id 3, ret=-1
I have the problem on Debian testing (bookworm). With kernel 5.17, the firmware loads just fine and works, but with the new kernel 5.18 it will fail with the below error. I downloaded newer ucode firmware files from the kernel.org firmware git however, even v71, v68, v67, v66 (?) fail. What works on kernel 5.18 indeed, is removing the newer .ucode to that it loads v63 which works. Which is… weird.
And before someone asks, this machine had never Windows on it, I heard that can cause issues with the AX210…
Just to follow up, since I upgraded to Debian 12 and new firmware files came with it, I still experienced WIFI failures on a stock Debian. What made the card work for me was ultimately:
Add intel_iommu=off to GRUB_CMDLINE_LINUX=“” in /etc/default/grub file then run sudo update-grub and then reboot .
However careful, in other reports this causes a problem just as often as it solves it, YMMV.