From nobody Thu Apr 17 15:14:35 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 4ZdhJn5v1bz5tJ5R for ; Thu, 17 Apr 2025 15:14:49 +0000 (UTC) (envelope-from ben@benhutton.com.au) Received: from mail.myuniquemail.com (mail.myuniquemail.com [115.70.107.139]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZdhJl39V9z3tkj for ; Thu, 17 Apr 2025 15:14:46 +0000 (UTC) (envelope-from ben@benhutton.com.au) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=reject) header.from=benhutton.com.au; spf=pass (mx1.freebsd.org: domain of ben@benhutton.com.au designates 115.70.107.139 as permitted sender) smtp.mailfrom=ben@benhutton.com.au Received: from [10.128.2.105] (unknown [10.128.10.1]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mail.myuniquemail.com (Postfix) with ESMTPSA id A6F701F3B81 for ; Thu, 17 Apr 2025 23:14:35 +0800 (AWST) Content-Type: multipart/alternative; boundary="------------0zePa6VFUprpu1TmgPdw00bU" Message-ID: Date: Thu, 17 Apr 2025 23:14:35 +0800 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 User-Agent: Mozilla Thunderbird Subject: Re: iwlwifi speed test report To: wireless@freebsd.org References: <1741513893-14555-mlmmj-0fff379e@FreeBSD.org> <53n10708-654p-50r8-8435-518298286104@SerrOFQ.bet> <717d5fc7-24a4-44f9-ac4b-9d5deaa27f4a@gmail.com> <17pn5075-r047-oorn-48q3-03qq11prpr89@SerrOFQ.bet> <29810r9n-59r9-rq66-r0q8-q69o8r3r79oo@SerrOFQ.bet> <4ecc854e-3a50-4671-8081-4049ceea1559@gmail.com> <7n23306q-07s6-97no-8264-p0832nr66p7p@serrofq.bet> Content-Language: en-US From: Ben Hutton In-Reply-To: <7n23306q-07s6-97no-8264-p0832nr66p7p@serrofq.bet> X-Spamd-Result: default: False [0.57 / 15.00]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; NEURAL_SPAM_LONG(0.99)[0.994]; NEURAL_HAM_SHORT(-0.63)[-0.626]; DMARC_POLICY_ALLOW(-0.50)[benhutton.com.au,reject]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:10143, ipnet:115.70.104.0/21, country:AU]; RCPT_COUNT_ONE(0.00)[1]; FREEFALL_USER(0.00)[ben]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[wireless@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[wireless@freebsd.org]; R_DKIM_NA(0.00)[] X-Rspamd-Queue-Id: 4ZdhJl39V9z3tkj X-Spamd-Bar: / This is a multi-part message in MIME format. --------------0zePa6VFUprpu1TmgPdw00bU Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi, Have also been doing some speed tests on the updated wifi drivers. While they are faster than before (around 12Mbps downloads) they are still far short of what my Macbooks are getting on the same network. I'm wondering if that's a misconfiguration on my part? Or is the speed still a work in progress? I noticed it's not connecting at 11ac. FreeBSD version: 1500037 Laptop: Lenovo Thinkpad P1 Gen3 Internet speed: 1G down / 50M up On my Macbook Pro as you can see below gets pretty high downloads. Usually around the 350-450M down. In comparison my Thinkpad is getting 40-70M down. iwlwifi0: mem 0x604111c000-0x604111ffff at device 20.3 on pci0 iwlwifi0: Detectedcrf-id 0x3617, cnv-id 0x20000302 wfpm id 0x80000000 iwlwifi0: PCI dev 06f0/0070, rev=0x351, rfid=0x10a100 iwlwifi0: DetectedIntel(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.0b4c06ad.0 QuZ-a0-hr-b0-77.ucode op_mode iwlmvm iwlwifi0: DetectedRF HR B5, rfid=0x10a100 wlan0: flags=8843 metric 0 mtu 1500 options=0 ether xx:xx:xx:xx:xx:xx inet xx.xx.xx.xx netmask 0xffffff00 broadcast xx.xx.xx.xx groups: wlan ssid arp channel 2 (2417 MHz 11g ht/20) bssid xx:xx:xx:xx:xx:xx regdomain APAC2 country AU authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 3:128-bit txpower 30 bmiss 7 scanvalid 60 protmode CTS -ampdutx ampdurx ampdulimit 64k -amsdutx amsdurx shortgi -ldpctx ldpcrx -uapsd wme roaming MANUAL parent interface: iwlwifi0 media: IEEE 802.11 Wireless Ethernet MCS mode 11ng status: associated nd6 options=29 compat.linuxkpi.80211.hw_crypto: 1 compat.linuxkpi.iwlwifi_mvm_power_scheme: 1 compat.linuxkpi.iwlwifi_disable_11be: 1 compat.linuxkpi.iwlwifi_disable_11ax: 1 compat.linuxkpi.iwlwifi_remove_when_gone: 0 compat.linuxkpi.iwlwifi_disable_11ac: 0 compat.linuxkpi.iwlwifi_power_level: 0 compat.linuxkpi.iwlwifi_power_save: 0 compat.linuxkpi.iwlwifi_led_mode: 0 compat.linuxkpi.iwlwifi_bt_coex_active: 1 compat.linuxkpi.iwlwifi_enable_ini: 16 compat.linuxkpi.iwlwifi_uapsd_disable: 3 compat.linuxkpi.iwlwifi_nvm_file: compat.linuxkpi.iwlwifi_fw_restart: 1 compat.linuxkpi.iwlwifi_amsdu_size: 0 compat.linuxkpi.iwlwifi_11n_disable: 0 compat.linuxkpi.iwlwifi_swcrypto: 0 compat.linuxkpi.iwlwifi_debug: 0 Have also installed the firmware update wifi-firmware-iwlwifi-kmod-22000 Do I need to do anything other than install the package or do I need the build the world and kernel? Speed Tests - I did multiple on the Thinkpad. Idle Latency:     4.03 ms   (jitter: 1.30ms, low: 3.12ms, high: 5.34ms)    Download:    47.03 Mbps (data used: 86.1 MB)                160.44 ms   (jitter: 37.51ms, low: 3.80ms, high: 748.38ms)      Upload:    30.66 Mbps (data used: 45.1 MB)                 63.34 ms   (jitter: 40.51ms, low: 2.90ms, high: 1734.90ms) Packet Loss:     0.3% -- Idle Latency:     4.26 ms   (jitter: 0.57ms, low: 3.23ms, high: 4.32ms)    Download:     4.36 Mbps (data used: 8.0 MB)                632.58 ms   (jitter: 67.90ms, low: 7.95ms, high: 1379.64ms)      Upload:    34.85 Mbps (data used: 40.4 MB)               1478.46 ms   (jitter: 95.17ms, low: 22.83ms, high: 2473.73ms) Packet Loss:     0.3% -- Idle Latency:     3.80 ms   (jitter: 0.60ms, low: 3.13ms, high: 4.34ms)    Download:    67.54 Mbps (data used: 124.6 MB)                 61.02 ms   (jitter: 9.80ms, low: 3.95ms, high: 341.82ms)      Upload:    44.51 Mbps (data used: 51.9 MB)                 26.95 ms   (jitter: 26.16ms, low: 3.64ms, high: 316.07ms) Packet Loss:     0.3% -- In comparison I run a test on my Macbook Pro M1Max     Download:   501.56 Mbps (data used: 269.9 MB)                  28.46 ms   (jitter: 6.14ms, low: 10.10ms, high: 40.78ms)       Upload:    45.39 Mbps (data used: 38.6 MB)                  42.68 ms   (jitter: 46.66ms, low: 4.31ms, high: 410.35ms) Packet Loss:     0.0% Kind regards Ben On 15/04/2025 06:10, Bjoern A. Zeeb wrote: > On Mon, 14 Apr 2025, Nuno Teixeira wrote: > > Hi, > >> 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 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 > > You were able to switch from TKIP to CCMP so you are not running into > the edge cases and problems anymore.  I just need to get TKIP fully > working and then I hope more people will be happy. > > If you are running main feel free to update at any time and test the > latest commit. > > Lots of health, > Bjoern > --------------0zePa6VFUprpu1TmgPdw00bU Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Hi,

Have also been doing some speed tests on the updated wifi drivers. While they are faster than before (around 12Mbps downloads) they are still far short of what my Macbooks are getting on the same network. I'm wondering if that's a misconfiguration on my part? Or is the speed still a work in progress? I noticed it's not connecting at 11ac.

FreeBSD version: 1500037

Laptop: Lenovo Thinkpad P1 Gen3

Internet speed: 1G down / 50M up

On my Macbook Pro as you can see below gets pretty high downloads. Usually around the 350-450M down. In comparison my Thinkpad is getting 40-70M down.


iwlwifi0: <iwlwifi> mem 0x604111c000-0x604111ffff at device 20.3 on pci0
iwlwifi0: Detected crf-id 0x3617, cnv-id 0x20000302 wfpm id 0x80000000
iwlwifi0: PCI dev 06f0/0070, 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.0b4c06ad.0 QuZ-a0-hr-b0-77.ucode op_mode iwlmvm
iwlwifi0: Detected RF HR B5, rfid=0x10a100



wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
       options=0
       ether xx:xx:xx:xx:xx:xx
       inet xx.xx.xx.xx netmask 0xffffff00 broadcast xx.xx.xx.xx
       groups: wlan
       ssid arp channel 2 (2417 MHz 11g ht/20) bssid xx:xx:xx:xx:xx:xx
       regdomain APAC2 country AU authmode WPA2/802.11i privacy ON
       deftxkey UNDEF AES-CCM 3:128-bit txpower 30 bmiss 7 scanvalid 60
       protmode CTS -ampdutx ampdurx ampdulimit 64k -amsdutx amsdurx shortgi
       -ldpctx ldpcrx -uapsd wme roaming MANUAL
       parent interface: iwlwifi0
       media: IEEE 802.11 Wireless Ethernet MCS mode 11ng
       status: associated
       nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

compat.linuxkpi.80211.hw_crypto: 1
compat.linuxkpi.iwlwifi_mvm_power_scheme: 1
compat.linuxkpi.iwlwifi_disable_11be: 1
compat.linuxkpi.iwlwifi_disable_11ax: 1
compat.linuxkpi.iwlwifi_remove_when_gone: 0
compat.linuxkpi.iwlwifi_disable_11ac: 0
compat.linuxkpi.iwlwifi_power_level: 0
compat.linuxkpi.iwlwifi_power_save: 0
compat.linuxkpi.iwlwifi_led_mode: 0
compat.linuxkpi.iwlwifi_bt_coex_active: 1
compat.linuxkpi.iwlwifi_enable_ini: 16
compat.linuxkpi.iwlwifi_uapsd_disable: 3
compat.linuxkpi.iwlwifi_nvm_file:  
compat.linuxkpi.iwlwifi_fw_restart: 1
compat.linuxkpi.iwlwifi_amsdu_size: 0
compat.linuxkpi.iwlwifi_11n_disable: 0
compat.linuxkpi.iwlwifi_swcrypto: 0
compat.linuxkpi.iwlwifi_debug: 0

Have also installed the firmware update wifi-firmware-iwlwifi-kmod-22000

Do I need to do anything other than install the package or do I need the build the world and kernel?



Speed Tests - I did multiple on the Thinkpad.

Idle Latency:     4.03 ms   (jitter: 1.30ms, low: 3.12ms, high: 5.34ms)
   Download:    47.03 Mbps (data used: 86.1 MB)                                                    
               160.44 ms   (jitter: 37.51ms, low: 3.80ms, high: 748.38ms)
     Upload:    30.66 Mbps (data used: 45.1 MB)                                                    
                63.34 ms   (jitter: 40.51ms, low: 2.90ms, high: 1734.90ms)
Packet Loss:     0.3%

--

Idle Latency:     4.26 ms   (jitter: 0.57ms, low: 3.23ms, high: 4.32ms)
   Download:     4.36 Mbps (data used: 8.0 MB)                                                    
               632.58 ms   (jitter: 67.90ms, low: 7.95ms, high: 1379.64ms)
     Upload:    34.85 Mbps (data used: 40.4 MB)                                                    
              1478.46 ms   (jitter: 95.17ms, low: 22.83ms, high: 2473.73ms)
Packet Loss:     0.3%
--

Idle Latency:     3.80 ms   (jitter: 0.60ms, low: 3.13ms, high: 4.34ms)
   Download:    67.54 Mbps (data used: 124.6 MB)                                                    
                61.02 ms   (jitter: 9.80ms, low: 3.95ms, high: 341.82ms)
     Upload:    44.51 Mbps (data used: 51.9 MB)                                                    
                26.95 ms   (jitter: 26.16ms, low: 3.64ms, high: 316.07ms)
Packet Loss:     0.3% 

--

In comparison I run a test on my Macbook Pro M1Max

    Download:   501.56 Mbps (data used: 269.9 MB)                                                   

                 28.46 ms   (jitter: 6.14ms, low: 10.10ms, high: 40.78ms)

      Upload:    45.39 Mbps (data used: 38.6 MB)                                                   

                 42.68 ms   (jitter: 46.66ms, low: 4.31ms, high: 410.35ms)

Packet Loss:     0.0%


Kind regards
Ben



On 15/04/2025 06:10, Bjoern A. Zeeb wrote:
On Mon, 14 Apr 2025, Nuno Teixeira wrote:

Hi,

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

You were able to switch from TKIP to CCMP so you are not running into
the edge cases and problems anymore.  I just need to get TKIP fully
working and then I hope more people will be happy.

If you are running main feel free to update at any time and test the
latest commit.

Lots of health,
Bjoern

--------------0zePa6VFUprpu1TmgPdw00bU--