Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Feb 2025 16:13:03 +0000
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        wireless@freebsd.org
Subject:   Re: iwlwifi / rtw88 / rtw89 hw crypto request for test (precon for HT/VHT)
Message-ID:  <CAFDf7UJJ=G8dshDKD0CyLGggLQsFkM4ya3ieAkn=5xkvKUDfgg@mail.gmail.com>
In-Reply-To: <CAFDf7UJs17LH-gDJKq-VR47-_SNJxw1ccfjYmh_G6uimJFa_sQ@mail.gmail.com>
References:  <o5965196-r5op-no6o-16ps-s094r7483p70@SerrOFQ.bet> <83f9fff0-d673-4727-977c-0a989dcc7780@shurik.kiev.ua> <CAFDf7UJs17LH-gDJKq-VR47-_SNJxw1ccfjYmh_G6uimJFa_sQ@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
(...)

At main-n275504-11db70b6057e

==> Without compat.linuxkpi.80211.hw_crypto=1 everything OK:

% ifconfig wlan0 scan
SSID/MESH ID                      BSSID              CHAN RATE    S:N
INT CAPS
Vodafone-24EF21                   9c:b2:e8:fd:6c:8c    8   54M  -96:-96
100 EPS  RSN WME BSSLOAD HTCAP VHTCAP VHTOPMODE WPA WPS
Vodafone-24EF21                   9c:b2:e8:fd:6c:90   36   54M  -33:-96
100 EPS  RSN WME BSSLOAD HTCAP VHTCAP VHTOPMODE WPA WPS

% ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=0
        ether 6c:6a:77:df:09:21
        inet 192.168.1.68 netmask 0xffffff00 broadcast 192.168.1.255
        groups: wlan
        ssid Vodafone-24EF21 channel 36 (5180 MHz 11a) bssid
9c:b2:e8:fd:6c:90
        regdomain ETSI country PT authmode WPA2/802.11i privacy ON
        deftxkey UNDEF TKIP 3:128-bit txpower 17 bmiss 7 mcastrate 6
        mgmtrate 6 scanvalid 60 wme roaming MANUAL
        parent interface: iwlwifi0
        media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11a
        status: associated
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>


==> With compat.linuxkpi.80211.hw_crypto=1

dmesg:
<snip>
iwlwifi0: <iwlwifi> mem 0xb4498000-0xb449bfff at device 20.3 on pci0
iwlwifi0: Detected crf-id 0x3617, cnv-id 0x20000302 wfpm id 0x80000000
iwlwifi0: PCI dev 06f0/0074, rev=0x351, rfid=0x10a100
iwlwifi0: Detected Intel(R) Wi-Fi 6 AX201 160MHz
iwlwifi0: successfully loaded firmware image 'iwlwifi-QuZ-a0-hr-b0-77.ucode'
iwlwifi0: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.37
iwl-debug-yoyo.bin: could not load binary firmware
/boot/firmware/iwl-debug-yoyo.bin either
iwl-debug-yoyo.bin: could not load binary firmware
/boot/firmware/iwl-debug-yoyo.bin either
iwl-debug-yoyo_bin: could not load binary firmware
/boot/firmware/iwl-debug-yoyo_bin either
iwl_debug_yoyo_bin: could not load binary firmware
/boot/firmware/iwl_debug_yoyo_bin either
iwlwifi0: loaded firmware version 77.2df8986f.0 QuZ-a0-hr-b0-77.ucode
op_mode iwlmvm
iwlwifi0: Detected RF HR B3, rfid=0x10a100
iwlwifi0: base HW address: 6c:6a:77:df:09:21
lkpi_l80211_to_net80211_cyphers: unsupported WLAN Cipher Suite 0x000fac | 8
lkpi_l80211_to_net80211_cyphers: unsupported WLAN Cipher Suite 0x000fac | 9
lkpi_l80211_to_net80211_cyphers: unsupported WLAN Cipher Suite 0x000fac | 6
lkpi_l80211_to_net80211_cyphers: unsupported WLAN Cipher Suite 0x000fac | 11
lkpi_l80211_to_net80211_cyphers: unsupported WLAN Cipher Suite 0x000fac | 12
<snip>
wlan0: Ethernet address: 6c:6a:77:df:09:21
re0: link state changed to UP
lo0: link state changed to UP
wlan0: link state changed to UP
iwlwifi0: _lkpi_iv_key_set: CIPHER SUITE 0xfac02 not supported
wlan0: link state changed to DOWN
wlan0: link state changed to UP
iwlwifi0: _lkpi_iv_key_set: CIPHER SUITE 0xfac02 not supported
wlan0: link state changed to DOWN
wlan0: link state changed to UP
iwlwifi0: _lkpi_iv_key_set: CIPHER SUITE 0xfac02 not supported
wlan0: link state changed to DOWN
<snip>
(lots of) iwlwifi0: _lkpi_iv_key_set: CIPHER SUITE 0xfac02 not supported

Nuno Teixeira <eduardo@freebsd.org> escreveu (terça, 18/02/2025 à(s) 13:10):

> Hello,
>
> Same board here.
>
> iwlwifi0@pci0:0:20:3:   class=0x028000 rev=0x01 hdr=0x00 vendor=0x8086
>> device=0x51f1 subvendor=0x8086 subdevice=0x0090
>>    vendor     = 'Intel Corporation'
>>    device     = 'Raptor Lake PCH CNVi WiFi'
>>    class      = network
>>
>
> After compat.linuxkpi.80211.hw_crypto=1 is there any needed changes to:
> /etc/rc.conf:
> wlans_iwlwifi0="wlan0"
> ifconfig_wlan0="WPA SYNCDHCP"
> create_args_wlan0="country PT regdomain ETSI"
>
> or
>
> /etc/wpa_supplicant.conf:
> network={
>         scan_ssid=1
>         ssid="MEO-787FB0"
>         psk="xxxxxxxxxx"
> }
> ?
> Thanks,
> --
> Nuno Teixeira
> FreeBSD UNIX:  <eduardo@FreeBSD.org>   Web:  https://FreeBSD.org
>


-- 
Nuno Teixeira
FreeBSD UNIX:  <eduardo@FreeBSD.org>   Web:  https://FreeBSD.org

[-- Attachment #2 --]
<div dir="ltr"><div>(...)</div><div><br></div><div>At main-n275504-11db70b6057e</div><div><br></div><div>==&gt; Without compat.linuxkpi.80211.hw_crypto=1 everything OK:</div><div><br></div><div>% ifconfig wlan0 scan<br>SSID/MESH ID                      BSSID              CHAN RATE    S:N     INT CAPS<br>Vodafone-24EF21                   9c:b2:e8:fd:6c:8c    8   54M  -96:-96   100 EPS  RSN WME BSSLOAD HTCAP VHTCAP VHTOPMODE WPA WPS<br>Vodafone-24EF21                   9c:b2:e8:fd:6c:90   36   54M  -33:-96   100 EPS  RSN WME BSSLOAD HTCAP VHTCAP VHTOPMODE WPA WPS</div><div><br></div><div>% ifconfig wlan0<br>wlan0: flags=8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; metric 0 mtu 1500<br>        options=0<br>        ether 6c:6a:77:df:09:21<br>        inet 192.168.1.68 netmask 0xffffff00 broadcast 192.168.1.255<br>        groups: wlan<br>        ssid Vodafone-24EF21 channel 36 (5180 MHz 11a) bssid 9c:b2:e8:fd:6c:90<br>        regdomain ETSI country PT authmode WPA2/802.11i privacy ON<br>        deftxkey UNDEF TKIP 3:128-bit txpower 17 bmiss 7 mcastrate 6<br>        mgmtrate 6 scanvalid 60 wme roaming MANUAL<br>        parent interface: iwlwifi0<br>        media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11a<br>        status: associated<br>        nd6 options=29&lt;PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL&gt;</div><div><br></div><div><br></div><div>==&gt; With compat.linuxkpi.80211.hw_crypto=1<br></div><div><br></div><div>dmesg:</div><div>&lt;snip&gt;</div><div>iwlwifi0: &lt;iwlwifi&gt; mem 0xb4498000-0xb449bfff at device 20.3 on pci0<br>iwlwifi0: Detected crf-id 0x3617, cnv-id 0x20000302 wfpm id 0x80000000<br>iwlwifi0: PCI dev 06f0/0074, rev=0x351, rfid=0x10a100<br>iwlwifi0: Detected Intel(R) Wi-Fi 6 AX201 160MHz<br>iwlwifi0: successfully loaded firmware image &#39;iwlwifi-QuZ-a0-hr-b0-77.ucode&#39;<br>iwlwifi0: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.37<br>iwl-debug-yoyo.bin: could not load binary firmware /boot/firmware/iwl-debug-yoyo.bin either<br>iwl-debug-yoyo.bin: could not load binary firmware /boot/firmware/iwl-debug-yoyo.bin either<br>iwl-debug-yoyo_bin: could not load binary firmware /boot/firmware/iwl-debug-yoyo_bin either<br>iwl_debug_yoyo_bin: could not load binary firmware /boot/firmware/iwl_debug_yoyo_bin either<br>iwlwifi0: loaded firmware version 77.2df8986f.0 QuZ-a0-hr-b0-77.ucode op_mode iwlmvm<br>iwlwifi0: Detected RF HR B3, rfid=0x10a100<br>iwlwifi0: base HW address: 6c:6a:77:df:09:21<br>lkpi_l80211_to_net80211_cyphers: unsupported WLAN Cipher Suite 0x000fac | 8<br>lkpi_l80211_to_net80211_cyphers: unsupported WLAN Cipher Suite 0x000fac | 9<br>lkpi_l80211_to_net80211_cyphers: unsupported WLAN Cipher Suite 0x000fac | 6<br>lkpi_l80211_to_net80211_cyphers: unsupported WLAN Cipher Suite 0x000fac | 11<br>lkpi_l80211_to_net80211_cyphers: unsupported WLAN Cipher Suite 0x000fac | 12</div><div>&lt;snip&gt;</div><div>wlan0: Ethernet address: 6c:6a:77:df:09:21<br>re0: link state changed to UP<br>lo0: link state changed to UP<br>wlan0: link state changed to UP<br>iwlwifi0: _lkpi_iv_key_set: CIPHER SUITE 0xfac02 not supported<br>wlan0: link state changed to DOWN<br>wlan0: link state changed to UP<br>iwlwifi0: _lkpi_iv_key_set: CIPHER SUITE 0xfac02 not supported<br>wlan0: link state changed to DOWN<br>wlan0: link state changed to UP<br>iwlwifi0: _lkpi_iv_key_set: CIPHER SUITE 0xfac02 not supported<br>wlan0: link state changed to DOWN</div><div>&lt;snip&gt;</div><div>(lots of) iwlwifi0: _lkpi_iv_key_set: CIPHER SUITE 0xfac02 not supported</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Nuno Teixeira &lt;<a href="mailto:eduardo@freebsd.org">eduardo@freebsd.org</a>&gt; escreveu (terça, 18/02/2025 à(s) 13:10):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello,</div><div><br></div><div>Same board here.</div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
    <font face="monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">iwlwifi0@pci0:0:20:3:
          class=0x028000 rev=0x01 hdr=0x00 vendor=0x8086 device=0x51f1
        subvendor=0x8086 subdevice=0x0090</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
      </span><br>
      <span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">    vendor
            = &#39;Intel Corporation&#39;</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
      </span><br>
      <span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">    device
            = &#39;Raptor Lake PCH CNVi WiFi&#39;</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
      </span><br>
      <span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">    class
             = network</span>
    </font>
  </div>

</blockquote></div><div><br></div><div>After compat.linuxkpi.80211.hw_crypto=1 is there any needed changes to:</div><div></div><div>/etc/rc.conf:</div><div>wlans_iwlwifi0=&quot;wlan0&quot;<br>ifconfig_wlan0=&quot;WPA SYNCDHCP&quot;<br>create_args_wlan0=&quot;country PT regdomain ETSI&quot;</div><div><br></div><div>or</div><div><br></div><div>/etc/wpa_supplicant.conf:</div><div>network={<br>        scan_ssid=1<br>        ssid=&quot;MEO-787FB0&quot;<br>        psk=&quot;xxxxxxxxxx&quot;<br>}</div><div>?</div><div>Thanks,</div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><font color="#888888">Nuno Teixeira</font></div><div><div><font color="#888888">
FreeBSD UNIX:  &lt;eduardo@FreeBSD.org&gt;   Web:  <a href="https://FreeBSD.org" rel="noreferrer" target="_blank">https://FreeBSD.org</a><br></font></div></div></div></div></div>;
</blockquote></div><div><br clear="all"></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><font color="#888888">Nuno Teixeira</font></div><div><div><font color="#888888">
FreeBSD UNIX:  &lt;eduardo@FreeBSD.org&gt;   Web:  <a href="https://FreeBSD.org" rel="noreferrer" target="_blank">https://FreeBSD.org</a><br></font></div></div></div></div>;
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UJJ=G8dshDKD0CyLGggLQsFkM4ya3ieAkn=5xkvKUDfgg>