Re: New laptop: AC 9461/9560: iwm or iwlwifi?

From: marco <freebsd-wireless_at_lordsith.net>
Date: Sat, 10 Dec 2022 12:11:10 UTC
On Fri, Dec 09, 2022 at 09:54:00PM +0000, you (marco) sent the following to [freebsd-wireless] :
>
> I just can't figure out why reverting back to iwm hasn't restored wi-fi
> connectivity.
> 
> Sorry for the long winded email.
> I'm sure I performed even more steps but can't put them in the correct
> order.
> 

Well based on some of the info from
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249287 I powered-off,
unplugged it from the mains and left it for like 15 minutes.
Powered back on and wlan0 got created again using iwm0 as parent and my
wifi is working again.

I did add to loader.conf prior to the power down:
if_iwm_load="YES"
iwm9000fw_load="YES"

I know I shouldn't have to do this (never did before) but given my
situation I was willing to try about anything.

Here's the iwm info from the last verbose boot:

Dec 10 12:01:05 harbinger kernel: Preloaded elf obj module "/boot/kernel/iwm9000fw.ko" at 0xffffffff8305b418.
Dec 10 12:01:05 harbinger kernel: Preloaded elf obj module "/boot/kernel/if_iwm.ko" at 0xffffffff8305cc90.
Dec 10 12:01:05 harbinger kernel: firmware: 'iwm9000fw' version 0: 2678284 bytes loaded at 0xffffffff82d4e000
Dec 10 12:01:05 harbinger kernel: iwm0: <Intel(R) Dual Band Wireless AC 9560> mem 0xea238000-0xea23bfff irq 16 at device 20.3 on pci0
Dec 10 12:01:05 harbinger kernel: iwm0: attempting to allocate 1 MSI vectors (1 supported)
Dec 10 12:01:05 harbinger kernel: iwm0: using IRQ 129 for MSI
Dec 10 12:01:05 harbinger kernel: iwm0: hw rev 0x310, fw ver 34.3125811985.0, address b8:9a:2a:6e:23:14
Dec 10 12:01:05 harbinger kernel: iwm0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
Dec 10 12:01:05 harbinger kernel: iwm0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
Dec 10 12:01:05 harbinger kernel: iwm0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps

[~] doas pciconf -lBbcevV iwm0
iwm0@pci0:0:20:3:	class=0x028000 rev=0x11 hdr=0x00 vendor=0x8086 device=0x9df0 subvendor=0x8086 subdevice=0x0030
    vendor     = 'Intel Corporation'
    device     = 'Cannon Point-LP CNVi [Wireless-AC]'
    class      = network
    bar   [10] = type Memory, range 64, base 0xea238000, size 16384, enabled
    cap 01[c8] = powerspec 3  supports D0 D3  current D0
    cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message
    cap 10[40] = PCI-Express 2 root endpoint max data 128(128) FLR RO NS
                 max read 128
    cap 11[80] = MSI-X supports 16 messages
                 Table in map 0x10[0x2000], PBA in map 0x10[0x3000]
    ecap 0000[100] = unknown 0
    ecap 0018[14c] = LTR 1
    ecap 000b[164] = Vendor [1] ID 0010 Rev 0 Length 20

Now that I'm back to square one I can try again with iwlwifi, if that is
advised?

-- 
Marco van Lienen -- FreeBSD enthusiast
https://keybase.io/scarcry , GnuPG fingerprint: A025 D8AA AC1B D2FC 380D 4FC1 8EA0 0BA8 8580 E6CB
"The Tuck Pendleton machine...zero defects."