Re: iwlwifi driver + firmware update in main

From: Pete Wright <pete_at_nomadlogic.org>
Date: Fri, 25 Feb 2022 04:05:54 UTC

On 2/24/22 13:50, Bjoern A. Zeeb wrote:
> Hi,
>
> I have just pushed fairly recent iwlwifi driver and firmware updates
> into main a few minutes ago.   I hope I got all bits out of my dev
> branch correctly and will monitor the builds.
>
>     062103fc93c3 iwlwifi: update firmware
>     51152e5e6150 iwlwifi: enhance debug information
>     d9836fb4b938 iwlwifi: update from iwlwifi-next
>
> I hope some people will give it a try in main before I'll MFC it to
> stable/13 next week.  This should not make much of a difference to
> what you have had so far.
>
> !!! Please note:  this does NOT yet fix most of the linuxkpi_sta_X_to_Y
> errors followed by firmware crashes or panics yet though they should
> avoid at least one of the causes which triggered them. !!!
>
> I am still trying to get fixes for these in the next days;  I have a
> partial fix dealing with some of the state changes which helps to hold
> up longer.
>
> If you see any other (new) errors please let me know.
>
Hi Bjoern - I just tested this out on my laptop and it looks like I'm 
seeing some improvement in loading firmware on my end, but I am still 
hitting some issues preventing my device from coming up fully.  I think 
this is the pertinent bit from dmesg:

iwlwifi0: loaded firmware version 46.4e1ceb39.0 
9000-pu-b0-jf-b0-46.ucode op_mode iwlmvm
iwlwifi0: Detected Intel(R) Wireless-AC 9560 160MHz, REV=0x312
iwlwifi0: base HW address: d8:3b:bf:82:d4:4e, OTP minor version: 0x0
iwlwifi0: lkpi_sta_scan_to_auth: waiting for 5 queues to be allocated by 
driver
iwlwifi0: No beacon heard and the time event is over already...
iwlwifi0: Couldn't drain frames for staid 0, status 0x8
iwlwifi0: lkpi_iv_newstate: error -5 during state transition 5 (RUN) -> 
0 (INIT)
WARNING mvm_sta->dup_data == ((void *)0) failed at 
/usr/home/pete/git/freebsd/sys/contrib/dev/iwlwifi/mvm/rxmq.c:538
iwlwifi0: Microcode SW error detected. Restarting 0x0.

I've attached the iwlwifi0 lines from my system to this email in case 
its helpful for you.  happy to test out any other patches or gather more 
info :^)

oh here's the device info:
iwm0@pci0:0:20:3:       class=0x028000 rev=0x30 hdr=0x00 vendor=0x8086 
device=0x9df0 subvendor=0x8086 subdevice=0x0030
     vendor     = 'Intel Corporation'
     device     = 'Cannon Point-LP CNVi [Wireless-AC]'
     class      = network

Cheers!
-pete


-- 
Pete Wright
pete@nomadlogic.org
@nomadlogicLA