On 3/2/23 10:09, Stefan Sperling wrote:
On Wed, Feb 22, 2023 at 03:31:28PM +0100, Stefan Sperling wrote:
Below is my work-in-progress diff to update iwx(4) to latest firmware.
Every system tracking -current should already have the new -77 firmware images.
The new images contain security fixes of (to me) unknown severity.
Unfortunately there have been quite a number of firmware API changes since
our last upgrade and it took me quite some time to get all the required new
bits in place and arrive at an operational state.
While testing please enable additional debug output with:
ifconfig iwx0 debug
To activate it at boot time: echo debug >> /etc/hostname.iwx0
There are some known issue with occasional firmware errors.
My devices eventually manage to connect and work regardless. If you see a
firmware error in dmesg please include the extra information shown in dmesg
after enabling the debugging mode as above. This information is hidden by
default and the driver will only print "fatal firmware error" to dmesg
without more context, but the extra context is needed for debugging.
If you hit an error which looks like this:
iwx0: firmware parse error 22, section type 19
iwx0: failed to load init firmware
Then you will need to increase this constant in if_iwxvar.h until you
get past the error:
#define IWX_UCODE_SECT_MAX 56
This new version of the patch fixes two issues:
IWX_UCODE_SECT_MAX was bumped to 57 to accommodate some AX211 devices.
Fixed iwx0: 0x2000011A | ADVANCED_SYSASSERT
with helpful hints from Johannes Berg at Linux/Intel.
This was an annoying issue since it made connecting to an access point
fail quite often. Root cause were changes in the mac context command,
where the firmware now expects beacon-related info to be initialized
early, already before we attempt to associate.
The only remaining known issue is:
iwx0: 0x20002806 | ADVANCED_SYSASSERT, as seen by jmc@
This seems related to background scans. I could not yet reproduce the error,
roaming seems to work as expected for me, but this might depend on the RF
environment. Since roaming is evidently not completely broken by this I will
not treat this as a blocker for moving development into the tree.
Patch test reports are still welcome but please be fast if there is an issue
you are seeing that I am not aware of. I will start splitting/committing this
soon.
Hi Stefan,
also this patch works for my AX201
iwx0 at pci0 dev 20 function 3 "Intel Wi-Fi 6 AX201" rev 0x01, msix
iwx0: hw rev 0x350, fw 77.f92b5fed.0
Best regards,
Sven