Solved Trying to make Intel Alder Lake CNVi WiFi work before installing

I want to try FreeBSD as the daily driver on my laptop. But before committing to installing, I would like to ensure everything is compatible with it.
Booting into the live CD, I saw that ifconfig showed only the loopback device. Usually I would assume this means my WiFi device is not compatible, but digging farther leaves me confused.

running dmesg | grep iwlwifi yields the following:
Code:
iwlwifi0: <iwlwifi> mem 0x6001144000-0x6001147fff at device 20.3 on pci0
iwlwifi0: Detected crf-id 0x1300504, cnv-id 0x80400 wfpm id 0x80000030
iwlwifi0: PCI dev 51f0/0274, rev=0x370, rfid=0x10a100
iwlwifi0: could not load firmware image 'iwlwifi-so-a0-hr-b0-83.ucode'
iwlwifi0: File size way too small!
iwlwifi0: could not load firmware image 'iwlwifi-so-a0-hr-b0-82.ucode'
iwlwifi0: File size way too small!
iwlwifi0: successfully loaded firmware image 'iwlwifi-so-a0-hr-b0-81.ucode'
iwlwifi0: api flags index 2 larger than supported by driver
iwlwifi0: TLV_FW_FSEQ_VERSION: FSEQ Version: 0.0.2.41
iwlwifi0: loaded firmware version 81.31fc9ae6.0 so-a0-hr-b0-81.ucode op_mode iwlmvm
iwlwifi0: Detected Intel(R) Wi-Fi 6 AX203, REV=0x370
iwlwifi0: WRT: Invalid buffer destination
iwlwifi0: WFPM_UMAC_PD_NOTIFICATION: 0x20
iwlwifi0: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
iwlwifi0: WFPM_AUTH_KEY_0: 0x90
iwlwifi0: CNVI_SCU_SEQ_DATA_DW9: 0x10
iwlwifi0: RFIm is deactivated, reason = 4
iwlwifi0: Detected RF HR B3, rfid=0x10a100
iwlwifi0: base HW address: c8:8a:9a:ca:7b:28

pciconf -lv | grep -A3 iwlwifi gives this:
Code:
iwlwifi0@pci0:0:20:3:    class=0x028000 rev=0x01 hdr=0x00 vendor=0x8086 device=0x51f0 subvendor=0x8086 subdevice=0x0274
    vendor     = 'Intel Corporation'
    device     = 'Alder Lake-P PCH CNVi WiFi'
    class      = network

kldstat confirms if_iwlwifi.ko is loaded.
looking at iwlwifi(4) it seems like the driver should support Wi-Fi 6 AX203, but I am not very knowledgeable about these things, so maybe I'm wrong here.
It feels to me like I'm misunderstanding something, and there's an additional step I need to do for it to appear in ifconfig.

Would appreciate any help :)
 
You need to configure the wireless.

FreeBSD handbook, 7.4. Wireless Networks
Wow. So I looked at that before, and tried following the steps in 7.4.2, but didn't manage it before. Turns out I misunderstood what was supposed to go where in the command... After doing that, running wpa_supplicant and dhclient, I managed to connect to the internet! Thank you for pointing me in the right direction, I feel a little silly... <,<
 
Back
Top