From nobody Tue Feb 18 16:13:03 2025 X-Original-To: wireless@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Yy4M00m6Cz5nq75 for ; Tue, 18 Feb 2025 16:13:16 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Yy4Lz3tLtz3vyN for ; Tue, 18 Feb 2025 16:13:15 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739895195; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=eIIrYwSPZH6zpeJaN1Dn1ZJ/qrmBDqq3+8c9149PB2o=; b=PH02YbDKXCOeEOiUtA6+CjKmDGs1n1xAJm00R55SIFk3e+ZtF48co+kOaSFWBD/VQE9Liy RCbyzXFL43bSVNUaVVo4hhQzXgW6TaXa9dsekxjviCNtu41unqA9lin6pftHqIVkokAQAO Y5LZ8Ku7D4oneCdXZdKRuR2V6pXQAEWTetMte7bSxZn6nsRfEP3WzDAAJuayWp4mmChQgw ymG7WA8s57vAHTjEaP5hZJI7HwF0L4Nbo77FqYWST/qi22DQOh19FAwd6TSYZ2yzXYpuaC aGF5TX36sGW/wACkjQvscM6fynLwdx06fak8OnHDgQUjsPqo60qmxsndGKUucA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1739895195; a=rsa-sha256; cv=none; b=CePMvHtoUY1YOnGa7RzYkRQJSDKPCCjSpCL8mvmWoYN7xlnmvpENOeeN4PwCwot9WrB4Sh uR1Fzpa+ImxQmzhKIvfLud7epyCICbu1TDgjTUKP1Rbqb0e4aVbRIqo6o3ai8UypwoT8TJ 4e7Y+B38NEuoGRpn+ZprSL4+wgYYgnMfEtMw5UZBMHFQc13itAD7pgWezdGi8uipodwT67 Pn7Z7psWpXXLX4jpjxG9lRiOomzvea5e1fDPifZnl9oPmwsq9Qqrj+5/e+L0n7mWPXwgaM 78nY+b1slb90ziQYjNtj3K3wqETA3O53G1kPQIeMOD8lhhhpH+eXkT89vNZJWg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1739895195; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=eIIrYwSPZH6zpeJaN1Dn1ZJ/qrmBDqq3+8c9149PB2o=; b=FmdA5MvSOn56ImGj3X+HidUz/D+vAr/yHCN9cn0aPGPO/BeAdpdAq2wBeasNEcZjJPcoiY +7dSnFl+6adydnvl0sJ1FSLDszTB+ZD/+JR7bpsd6VeJHMTRL/bPZxUnamQFyX/ye7jYvc R0R9LudDZuPTc2fUYyaj9Dv7fBO3x8kOvxQzJKPZrBa5zrTyvikV+j/u6kK9xNN2xcRqzz KqIFMFwJ2U4tWfehGHeQYhck1JNIKZppLMH/fQzm5LbhkQcKLK0bGTt83tZkq1k/Bwj6VC 8nEcpbjkKXN/YXqRgqhimhx1sZ9frXhbnverOH/thPgegwieVnfhHqn0eM+B7Q== Received: from mail-qt1-f169.google.com (mail-qt1-f169.google.com [209.85.160.169]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Yy4Lz3FjlzsWf for ; Tue, 18 Feb 2025 16:13:15 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qt1-f169.google.com with SMTP id d75a77b69052e-4702181a59aso1974061cf.0 for ; Tue, 18 Feb 2025 08:13:15 -0800 (PST) X-Gm-Message-State: AOJu0Yw5p2OVILS0vjhggsfbtm9ZnqcUK1jY1utsAZZso2DuCA2LDu+C dLdKsi/FuF/Y5yoadqnLUufCbEHDwvCmJ2yw0EMVigYDkzM1eKpqz5HSR0lBuCciPkWFXmLc7mx Ynrdf16Z5q/lnicEffvU2TjThC2s= X-Google-Smtp-Source: AGHT+IGeP0xqZgXFDJUQSu5JnN+cMrr4vlseDmWjOWW/Ytukj5+thjG+D/i9XCcEjpSP5Zay0JDWOBuk3YhZnKdYGi4= X-Received: by 2002:a05:622a:a08a:b0:471:eb43:5863 with SMTP id d75a77b69052e-471eb435888mr37504271cf.10.1739895194889; Tue, 18 Feb 2025 08:13:14 -0800 (PST) List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-wireless@freebsd.org Sender: owner-freebsd-wireless@FreeBSD.org MIME-Version: 1.0 References: <83f9fff0-d673-4727-977c-0a989dcc7780@shurik.kiev.ua> In-Reply-To: From: Nuno Teixeira Date: Tue, 18 Feb 2025 16:13:03 +0000 X-Gmail-Original-Message-ID: X-Gm-Features: AWEUYZlQdnIbuvzDLRvJiBFuhw0KNXSQusRk8D7PSn8kHljxRg_PbzaO0ZqaZcI Message-ID: Subject: Re: iwlwifi / rtw88 / rtw89 hw crypto request for test (precon for HT/VHT) To: wireless@freebsd.org Content-Type: multipart/alternative; boundary="00000000000009bfda062e6cebd9" --00000000000009bfda062e6cebd9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable (...) At main-n275504-11db70b6057e =3D=3D> Without compat.linuxkpi.80211.hw_crypto=3D1 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=3D8843 metric 0 mtu 15= 00 options=3D0 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=3D29 =3D=3D> With compat.linuxkpi.80211.hw_crypto=3D1 dmesg: iwlwifi0: 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=3D0x351, rfid=3D0x10a100 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=3D0x10a100 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 | 1= 1 lkpi_l80211_to_net80211_cyphers: unsupported WLAN Cipher Suite 0x000fac | 1= 2 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 (lots of) iwlwifi0: _lkpi_iv_key_set: CIPHER SUITE 0xfac02 not supported Nuno Teixeira escreveu (ter=C3=A7a, 18/02/2025 =C3=A0= (s) 13:10): > Hello, > > Same board here. > > iwlwifi0@pci0:0:20:3: class=3D0x028000 rev=3D0x01 hdr=3D0x00 vendor=3D0= x8086 >> device=3D0x51f1 subvendor=3D0x8086 subdevice=3D0x0090 >> vendor =3D 'Intel Corporation' >> device =3D 'Raptor Lake PCH CNVi WiFi' >> class =3D network >> > > After compat.linuxkpi.80211.hw_crypto=3D1 is there any needed changes to: > /etc/rc.conf: > wlans_iwlwifi0=3D"wlan0" > ifconfig_wlan0=3D"WPA SYNCDHCP" > create_args_wlan0=3D"country PT regdomain ETSI" > > or > > /etc/wpa_supplicant.conf: > network=3D{ > scan_ssid=3D1 > ssid=3D"MEO-787FB0" > psk=3D"xxxxxxxxxx" > } > ? > Thanks, > -- > Nuno Teixeira > FreeBSD UNIX: Web: https://FreeBSD.org > --=20 Nuno Teixeira FreeBSD UNIX: Web: https://FreeBSD.org --00000000000009bfda062e6cebd9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
(...)

At main-n275504-11db70= b6057e

=3D=3D> Without compat.linuxkpi.80211.hw= _crypto=3D1 everything OK:

% ifconfig wlan0 scanSSID/MESH ID =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0BSSID =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0CHAN= RATE =C2=A0 =C2=A0S:N =C2=A0 =C2=A0 INT CAPS
Vodafone-24EF21 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 9c:b2:e8:fd:6c:8c =C2= =A0 =C2=A08 =C2=A0 54M =C2=A0-96:-96 =C2=A0 100 EPS =C2=A0RSN WME BSSLOAD H= TCAP VHTCAP VHTOPMODE WPA WPS
Vodafone-24EF21 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 9c:b2:e8:fd:6c:90 =C2=A0 36 =C2=A0 5= 4M =C2=A0-33:-96 =C2=A0 100 EPS =C2=A0RSN WME BSSLOAD HTCAP VHTCAP VHTOPMOD= E WPA WPS

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

=3D=3D> With compat.linuxkpi.80211.hw_crypto=3D1

dmesg:
<snip>
iwlwifi0: <iwl= wifi> mem 0xb4498000-0xb449bfff at device 20.3 on pci0
iwlwifi0: Dete= cted crf-id 0x3617, cnv-id 0x20000302 wfpm id 0x80000000
iwlwifi0: PCI d= ev 06f0/0074, rev=3D0x351, rfid=3D0x10a100
iwlwifi0: Detected Intel(R) W= i-Fi 6 AX201 160MHz
iwlwifi0: successfully loaded firmware image 'iw= lwifi-QuZ-a0-hr-b0-77.ucode'
iwlwifi0: TLV_FW_FSEQ_VERSION: FSEQ Ver= sion: 89.3.35.37
iwl-debug-yoyo.bin: could not load binary firmware /boo= t/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 eithe= r
iwl_debug_yoyo_bin: could not load binary firmware /boot/firmware/iwl_= debug_yoyo_bin either
iwlwifi0: loaded firmware version 77.2df8986f.0 Qu= Z-a0-hr-b0-77.ucode op_mode iwlmvm
iwlwifi0: Detected RF HR B3, rfid=3D0= x10a100
iwlwifi0: base HW address: 6c:6a:77:df:09:21
lkpi_l80211_to_n= et80211_cyphers: unsupported WLAN Cipher Suite 0x000fac | 8
lkpi_l80211_= to_net80211_cyphers: unsupported WLAN Cipher Suite 0x000fac | 9
lkpi_l80= 211_to_net80211_cyphers: unsupported WLAN Cipher Suite 0x000fac | 6
lkpi= _l80211_to_net80211_cyphers: unsupported WLAN Cipher Suite 0x000fac | 11lkpi_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
wl= an0: link state changed to UP
iwlwifi0: _lkpi_iv_key_set: CIPHER SUITE 0= xfac02 not supported
wlan0: link state changed to DOWN
wlan0: link st= ate changed to UP
iwlwifi0: _lkpi_iv_key_set: CIPHER SUITE 0xfac02 not s= upported
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 <e= duardo@freebsd.org> escreveu (ter=C3=A7a, 18/02/2025 =C3=A0(s) 13:10= ):
Hello,

Same board here.

iwlwifi0@pci0:0:20:3: =C2=A0=C2=A0class=3D0x028000 rev=3D0x01 hdr=3D0x00 vendor=3D0x8086 = device=3D0x51f1 subvendor=3D0x8086 subdevice=3D0x0090
= =C2=A0=C2=A0=C2=A0vendor =C2=A0=C2=A0=C2=A0=C2=A0=3D 'Intel Corporation'
= =C2=A0=C2=A0=C2=A0device =C2=A0=C2=A0=C2=A0=C2=A0=3D 'Raptor Lake PCH CNVi WiFi'
= =C2=A0=C2=A0=C2=A0class =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D network

After compat.linuxkpi.80211.hw_crypt= o=3D1 is there any needed changes to:
/etc/rc.conf:
wlans_iwlwifi0=3D"wlan0"
ifconfig_wlan0=3D"WPA SY= NCDHCP"
create_args_wlan0=3D"country PT regdomain ETSI"

or

/etc/wpa_supplicant.con= f:
network=3D{
=C2=A0 =C2=A0 =C2=A0 =C2=A0 scan_ssid=3D1
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 ssid=3D"MEO-787FB0"
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 psk=3D"xxxxxxxxxx"
}
?
Thank= s,
--
= Nuno Teixeira
FreeBSD UNIX:=C2=A0 <eduardo@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 https://Fr= eeBSD.org


--
Nuno Teixeira
=
FreeBSD UNIX:=C2=A0 <eduardo@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 https://Fr= eeBSD.org
--00000000000009bfda062e6cebd9--