Date: Mon, 14 Apr 2025 23:02:56 +0100 From: Nuno Teixeira <eduardo@freebsd.org> To: "Bjoern A. Zeeb" <bz@freebsd.org> Cc: Lars Tunkrans <drsnx60@gmail.com>, freebsd-wireless@freebsd.org Subject: Re: iwlwifi speed test report Message-ID: <CAFDf7U%2BHt57aL1ANJommnaNxtgnk3cqQFkK-LVBUHGB5ycf0rQ@mail.gmail.com> In-Reply-To: <o0nr54n1-7494-4o73-4449-7q6o4q1n0p4r@SerrOFQ.bet> References: <1741513893-14555-mlmmj-0fff379e@FreeBSD.org> <a9ef877f-6eac-420c-ad51-d3f6734d68f2@gmail.com> <53n10708-654p-50r8-8435-518298286104@SerrOFQ.bet> <717d5fc7-24a4-44f9-ac4b-9d5deaa27f4a@gmail.com> <17pn5075-r047-oorn-48q3-03qq11prpr89@SerrOFQ.bet> <c8deb609-3f17-4d88-9e12-55f8131bcf2c@gmail.com> <29810r9n-59r9-rq66-r0q8-q69o8r3r79oo@SerrOFQ.bet> <4ecc854e-3a50-4671-8081-4049ceea1559@gmail.com> <o0nr54n1-7494-4o73-4449-7q6o4q1n0p4r@SerrOFQ.bet>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
Hello Bjoern,
I'm using AX201 @ main-n276448-a1adefb139b3
Do you need any tests from me?
My setup:
iwlwifi0: Detected Intel(R) Wi-Fi 6 AX201 160MHz
% cat /boot/loader.conf.d/iwlwifi-22000.conf
compat.linuxkpi.80211.hw_crypto=1
compat.linuxkpi.iwlwifi_11n_disable=0
compat.linuxkpi.iwlwifi_disable_11ac=0
% ifconfig -v 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.78 netmask 0xffffff00 broadcast 192.168.1.255
groups: wlan
ssid Vodafone-24EF21 channel 36 (5180 MHz 11a vht/80+) bssid
ec:4d:47:24:ef:2c
regdomain ETSI country PT anywhere -ecm authmode WPA2/802.11i -wps
-tsn privacy ON deftxkey UNDEF
AES-CCM 2:128-bit
AES-CCM 3:128-bit
powersavemode OFF powersavesleep 100 txpower 23 txpowmax 50.0 -dotd
rtsthreshold 2346 fragthreshold 2346 bmiss 7
11a ucast NONE mgmt 6 Mb/s mcast 6 Mb/s maxretry 6
11b ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6
11g ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6
11na ucast NONE mgmt 6 Mb/s mcast 6 Mb/s maxretry 6
11ng ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6
11ac ucast NONE mgmt 6 Mb/s mcast 6 Mb/s maxretry 6
scanvalid 60 -bgscan bgscanintvl 300 bgscanidle 250
roam:11a rssi 7dBm rate 12 Mb/s
roam:11b rssi 7dBm rate 1 Mb/s
roam:11g rssi 7dBm rate 5 Mb/s
roam:11na rssi 7dBm MCS 1
roam:11ng rssi 7dBm MCS 1
roam:11ac rssi 7dBm MCS 1
-pureg protmode CTS ht htcompat -ampdutx ampdurx ampdulimit 64k
ampdudensity NA -amsdutx amsdurx shortgi htprotmode RTSCTS -puren
-smps -rifs stbc -ldpctx ldpcrx -uapsd vht vht40 vht80 vht160
-vht80p80 wme -burst -dwds roaming MANUAL bintval 100
AC_BE cwmin 4 cwmax 10 aifs 3 txopLimit 0 -acm ack
cwmin 0 cwmax 0 aifs 0 txopLimit 0 -acm
AC_BK cwmin 4 cwmax 10 aifs 7 txopLimit 0 -acm ack
cwmin 4 cwmax 10 aifs 7 txopLimit 0 -acm
AC_VI cwmin 3 cwmax 4 aifs 2 txopLimit 94 -acm ack
cwmin 0 cwmax 0 aifs 0 txopLimit 0 -acm
AC_VO cwmin 2 cwmax 3 aifs 2 txopLimit 47 -acm ack
cwmin 0 cwmax 0 aifs 0 txopLimit 0 -acm
parent interface: iwlwifi0
media: IEEE 802.11 Wireless Ethernet VHT mode 11ac
status: associated
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
drivername: wlan0
Cheers,
Bjoern A. Zeeb <bz@freebsd.org> escreveu (segunda, 14/04/2025 à(s) 22:03):
> On Mon, 14 Apr 2025, Lars Tunkrans wrote:
>
> >> What does:
> >> sysctl compat.linuxkpi.80211.hw_crypto
> compat.linuxkpi.iwlwifi_11n_disable
> >> compat.linuxkpi.iwlwifi_disable_11ac
> >> show for all three?
> >
> >> compat.linuxkpi.80211.hw_crypto: 0
> >> compat.linuxkpi.iwlwifi_11n_disable: 0
> >> compat.linuxkpi.iwlwifi_disable_11ac: 1
>
> Okay, that explains and hw_crypto is indeed disabled (avoids the TKIP
> problem) and my fallback caught this disabling AMPDU-RX. Good.
>
> Though I am still wondering why the AX201 does not freak out given it
> cannot
> decrypt frames when doing HT. Some hoemwork for me tonight to test on
> AX200 or AX210 w/ and /wo VHT enabled. I hope some others are reading
> along as they may be curious to try this too.
>
> Did you do change the hw_crypto and iwlwifi_disable_11ac value yourself
> (in loader.conf.local) or did the firmware update not do the right thing?
>
> For me it looks like:
>
> cat /boot/loader.conf.d/iwlwifi-ax210.conf
> compat.linuxkpi.80211.hw_crypto=1
> compat.linuxkpi.iwlwifi_11n_disable=0
> compat.linuxkpi.iwlwifi_disable_11ac=0
>
> I am just asking in order to catch any possible general problems early.
> If you've done it manually then that's all fine.
>
> /bz
>
>
> >> And once you are associated and have some traffic, what does
> >> sysctl compat.linuxkpi.80211.wlan0
> >> say?
> >
> >> # sysctl sysctl compat.linuxkpi.80211.wlan0
> >> compat.linuxkpi.80211.wlan0.dump_stas:
> >> lsta 0xfffff8005bb37000 sta 0xfffff8005bb371c0 added_to_drv 1
> >> nl80211_sta_info (valid fields)
> >> 0x00004503<BEACON_RX,BEACON_SIGNAL_AVG,SIGNAL_AVG,RX_BITRATE,TX_BITRATE>
> >> connected_time 0 inactive_time 0
> >> rx_bytes 0 rx_packets 0 rx_dropped_misc 0
> >> rx_duration 0 rx_beacon 76120 rx_beacon_signal_avg -34
> >> tx_bytes 0 tx_packets 0 tx_failed 0
> >> tx_duration 0 tx_retries 0
> >> signal 0 signal_avg -24 ack_signal 0 avg_ack_signal 0
> >> generation 0 assoc_req_ies_len 0 chains 0
> >> rxrate: flags 5<MCS,SGI> bw 3(40) legacy 0 kbit/s mcs 15 nss 0
> >> he_dcm 0 he_gi 0 he_ru_alloc 0 eht_gi 0
> >> txrate: flags 5<MCS,SGI> bw 3(40) legacy 0 kbit/s mcs 7 nss 1
> >> he_dcm 0 he_gi 0 he_ru_alloc 0 eht_gi 0
>
> Great!
>
>
> Lots of joy,
> Bjoern
>
> --
> Bjoern A. Zeeb r15:7
--
Nuno Teixeira
FreeBSD UNIX: <eduardo@FreeBSD.org> Web: https://FreeBSD.org
[-- Attachment #2 --]
<div dir="ltr"><div>Hello Bjoern,</div><div><br></div><div>I'm using AX201 @ main-n276448-a1adefb139b3</div><div>Do you need any tests from me?</div><div><br></div><div>My setup:</div><div><br></div><div>iwlwifi0: Detected Intel(R) Wi-Fi 6 AX201 160MHz</div><div><br></div><div>% cat /boot/loader.conf.d/iwlwifi-22000.conf<br>compat.linuxkpi.80211.hw_crypto=1<br>compat.linuxkpi.iwlwifi_11n_disable=0<br>compat.linuxkpi.iwlwifi_disable_11ac=0</div><div><br></div><div>% ifconfig -v wlan0<br>wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500<br> options=0<br> ether 6c:6a:77:df:09:21<br> inet 192.168.1.78 netmask 0xffffff00 broadcast 192.168.1.255<br> groups: wlan<br> ssid Vodafone-24EF21 channel 36 (5180 MHz 11a vht/80+) bssid ec:4d:47:24:ef:2c<br> regdomain ETSI country PT anywhere -ecm authmode WPA2/802.11i -wps<br> -tsn privacy ON deftxkey UNDEF<br> AES-CCM 2:128-bit<br> AES-CCM 3:128-bit<br> powersavemode OFF powersavesleep 100 txpower 23 txpowmax 50.0 -dotd<br> rtsthreshold 2346 fragthreshold 2346 bmiss 7<br> 11a ucast NONE mgmt 6 Mb/s mcast 6 Mb/s maxretry 6<br> 11b ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6<br> 11g ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6<br> 11na ucast NONE mgmt 6 Mb/s mcast 6 Mb/s maxretry 6<br> 11ng ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6<br> 11ac ucast NONE mgmt 6 Mb/s mcast 6 Mb/s maxretry 6<br> scanvalid 60 -bgscan bgscanintvl 300 bgscanidle 250<br> roam:11a rssi 7dBm rate 12 Mb/s<br> roam:11b rssi 7dBm rate 1 Mb/s<br> roam:11g rssi 7dBm rate 5 Mb/s<br> roam:11na rssi 7dBm MCS 1<br> roam:11ng rssi 7dBm MCS 1<br> roam:11ac rssi 7dBm MCS 1<br> -pureg protmode CTS ht htcompat -ampdutx ampdurx ampdulimit 64k<br> ampdudensity NA -amsdutx amsdurx shortgi htprotmode RTSCTS -puren<br> -smps -rifs stbc -ldpctx ldpcrx -uapsd vht vht40 vht80 vht160<br> -vht80p80 wme -burst -dwds roaming MANUAL bintval 100<br> AC_BE cwmin 4 cwmax 10 aifs 3 txopLimit 0 -acm ack<br> cwmin 0 cwmax 0 aifs 0 txopLimit 0 -acm<br> AC_BK cwmin 4 cwmax 10 aifs 7 txopLimit 0 -acm ack<br> cwmin 4 cwmax 10 aifs 7 txopLimit 0 -acm<br> AC_VI cwmin 3 cwmax 4 aifs 2 txopLimit 94 -acm ack<br> cwmin 0 cwmax 0 aifs 0 txopLimit 0 -acm<br> AC_VO cwmin 2 cwmax 3 aifs 2 txopLimit 47 -acm ack<br> cwmin 0 cwmax 0 aifs 0 txopLimit 0 -acm<br> parent interface: iwlwifi0<br> media: IEEE 802.11 Wireless Ethernet VHT mode 11ac<br> status: associated<br> nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL><br> drivername: wlan0</div><div><br></div><div>Cheers,</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Bjoern A. Zeeb <<a href="mailto:bz@freebsd.org">bz@freebsd.org</a>> escreveu (segunda, 14/04/2025 à(s) 22:03):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, 14 Apr 2025, Lars Tunkrans wrote:<br>
<br>
>> What does:<br>
>> sysctl compat.linuxkpi.80211.hw_crypto compat.linuxkpi.iwlwifi_11n_disable <br>
>> compat.linuxkpi.iwlwifi_disable_11ac<br>
>> show for all three?<br>
><br>
>> compat.linuxkpi.80211.hw_crypto: 0<br>
>> compat.linuxkpi.iwlwifi_11n_disable: 0<br>
>> compat.linuxkpi.iwlwifi_disable_11ac: 1<br>
<br>
Okay, that explains and hw_crypto is indeed disabled (avoids the TKIP<br>
problem) and my fallback caught this disabling AMPDU-RX. Good.<br>
<br>
Though I am still wondering why the AX201 does not freak out given it cannot<br>
decrypt frames when doing HT. Some hoemwork for me tonight to test on<br>
AX200 or AX210 w/ and /wo VHT enabled. I hope some others are reading<br>
along as they may be curious to try this too.<br>
<br>
Did you do change the hw_crypto and iwlwifi_disable_11ac value yourself<br>
(in loader.conf.local) or did the firmware update not do the right thing?<br>
<br>
For me it looks like:<br>
<br>
cat /boot/loader.conf.d/iwlwifi-ax210.conf<br>
compat.linuxkpi.80211.hw_crypto=1<br>
compat.linuxkpi.iwlwifi_11n_disable=0<br>
compat.linuxkpi.iwlwifi_disable_11ac=0<br>
<br>
I am just asking in order to catch any possible general problems early.<br>
If you've done it manually then that's all fine.<br>
<br>
/bz<br>
<br>
<br>
>> And once you are associated and have some traffic, what does<br>
>> sysctl compat.linuxkpi.80211.wlan0<br>
>> say?<br>
><br>
>> # sysctl sysctl compat.linuxkpi.80211.wlan0<br>
>> compat.linuxkpi.80211.wlan0.dump_stas:<br>
>> lsta 0xfffff8005bb37000 sta 0xfffff8005bb371c0 added_to_drv 1<br>
>> nl80211_sta_info (valid fields) <br>
>> 0x00004503<BEACON_RX,BEACON_SIGNAL_AVG,SIGNAL_AVG,RX_BITRATE,TX_BITRATE><br>
>> connected_time 0 inactive_time 0<br>
>> rx_bytes 0 rx_packets 0 rx_dropped_misc 0<br>
>> rx_duration 0 rx_beacon 76120 rx_beacon_signal_avg -34<br>
>> tx_bytes 0 tx_packets 0 tx_failed 0<br>
>> tx_duration 0 tx_retries 0<br>
>> signal 0 signal_avg -24 ack_signal 0 avg_ack_signal 0<br>
>> generation 0 assoc_req_ies_len 0 chains 0<br>
>> rxrate: flags 5<MCS,SGI> bw 3(40) legacy 0 kbit/s mcs 15 nss 0<br>
>> he_dcm 0 he_gi 0 he_ru_alloc 0 eht_gi 0<br>
>> txrate: flags 5<MCS,SGI> bw 3(40) legacy 0 kbit/s mcs 7 nss 1<br>
>> he_dcm 0 he_gi 0 he_ru_alloc 0 eht_gi 0<br>
<br>
Great!<br>
<br>
<br>
Lots of joy,<br>
Bjoern<br>
<br>
-- <br>
Bjoern A. Zeeb r15:7</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: <eduardo@FreeBSD.org> Web: <a href="https://FreeBSD.org" rel="noreferrer" target="_blank">https://FreeBSD.org</a><br></font></div></div></div></div>
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7U%2BHt57aL1ANJommnaNxtgnk3cqQFkK-LVBUHGB5ycf0rQ>
