From nobody Mon Apr 14 19:36:23 2025 X-Original-To: freebsd-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 4ZbyG35wHwz5tLkJ for ; Mon, 14 Apr 2025 19:36:27 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZbyG35KPsz3Hjr; Mon, 14 Apr 2025 19:36:27 +0000 (UTC) (envelope-from bz@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1744659387; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tg6bZZsw3RtfhlV7G0LZdi7GJOUdXdAvU4U2fT2n+bs=; b=yeOtRRt4KPydq/NumSMfCKQ6WvU0CW7+H+sIaunTpkNYoRpt+DRQv/Hc/uQP+f6knoCfvo wDpBmNtMw4ZULLCSKdzB2SVzEQeFrpRy65Cz6r2jlJqAQSPP1oohJT72RhCj/lEknnJBs9 eAw4uZwpnWb+dsjWF5kk6UZxXF8FThFCpR1nJLtq7RwMbfKNhqOgJN1UiyBHq7yEJguc45 0lq+pQLhbs6CemcNx2wIqrWk+mjU/aSpZaoYd9/4/2FOYrHYO7reoHg+wq5duWd/JdH2vC wvZpXZlPtBf/bdtT0DRag7sC6mjLMGh4Ycz10Rha0EhmtKOCwH9JmjSKklGlvQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1744659387; a=rsa-sha256; cv=none; b=uaXqwv11fYISJOQLKLqxxJogC1SAwp8+b6gm/ygIyc0OaHlKOshr+tXT2a7kjWLyGbzuEH I8V8QBKKWuCiJe+VCt/Kf/f0dSYF6NklBf5IiM1WaeXudijFgBWFLyvf//LeJHDgsGrEOt Tr4kkhh4UqT+GIeSS/9b4g1ZVzCzgiq9Trv0nV4fxmk7prLwJBGbwZoQN8e35tVOmB+8EC ry75muoRRHeo09RTljRfCiuUxHUbUlRyhcdRRb/k0D8JYyUB8zJCSx3r5bjT38Y/uNWV/f mRqBqsIbbAeeFB4ZLo7PBHm6xfD3Id5P64LOf9HDxYupBn1eDSgcJ3blottJpQ== 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=1744659387; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tg6bZZsw3RtfhlV7G0LZdi7GJOUdXdAvU4U2fT2n+bs=; b=siw7b06Yw2MfOm7l32pnlI8b62Y7/6EYvDZ/xS+J69qQkRgxfYJGmBSV3ltJsZAHYouJoj z/Ltt1NRJZ/sTpyv5W8z91WdCDvAVBICS2gY5YFWXVOOdONDJAIrkZAZMn16N3KH/FkKOn z0PdMbX6mMQFbimum7WU0/ztRxIv6HckC/ZSTKGNL/qIMifvQwT6FszJ9cIsfXrbHVNltJ oRnNfMd3bbvCDYzzch6TU3aetVUzQa9IWExh/6kCRvIu8kCcEZmPs2xqVp25ydji5tFVST qhFmJTq02nU2xiHzPB8t4+Fi1EvbmlD39SuHKfxH2jwsqrnW22+VUCvDLYmtTA== Received: from mx-01.divo.sbone.de (mx-01.divo.sbone.de [IPv6:2003:a:140a:2200:6:594:fffe:19]) (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 ECDSA (prime256v1) client-digest SHA256) (Client CN "mx-01.divo.sbone.de", Issuer "E5" (verified OK)) (Authenticated sender: bz/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4ZbyG32XF5z1F0Q; Mon, 14 Apr 2025 19:36:27 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx-01.divo.sbone.de (Postfix) with ESMTPS id 77491A64805; Mon, 14 Apr 2025 19:36:25 +0000 (UTC) Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 7F8BC2D029E0; Mon, 14 Apr 2025 19:36:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id xWEU90T2fxzc; Mon, 14 Apr 2025 19:36:23 +0000 (UTC) Received: from strong-rtwn0.sbone.de (strong-rtwn0.sbone.de [IPv6:fde9:577b:c1a9:4902:3e64:cfff:fe55:bc80]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id AAE102D029D8; Mon, 14 Apr 2025 19:36:23 +0000 (UTC) Date: Mon, 14 Apr 2025 19:36:23 +0000 (UTC) From: "Bjoern A. Zeeb" To: Lars Tunkrans cc: freebsd-wireless@FreeBSD.org Subject: Re: iwlwifi speed test report In-Reply-To: Message-ID: <29810r9n-59r9-rq66-r0q8-q69o8r3r79oo@SerrOFQ.bet> 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> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 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 Content-Type: multipart/mixed; boundary="1098556516-1514877250-1744659383=:3102" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1098556516-1514877250-1744659383=:3102 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Mon, 14 Apr 2025, Lars Tunkrans wrote: Hi, first of all thank you for testing and reporting back! >    Today  14:th of  April at 18:00 UTC.    I  installed  new iwlwifi  > firmware   from  ports   and  refreshed   /usr/src tree  from  Git,  and  > rebuildt the  kernel Which branch? main or stable/14? >     I also  reconfigured my old   4G/Wifi  Modem-gateway to     B/G/N   2.4 > Gbit  band,   40 Mhz > >     looks like  Im now  running   11ng  300 Mbits  to  the 4G/WIFI modem. > >     4G speed   is  ofcourse    lower Where do you get the 300Mbit/s from? Just the theoretical value? >     Wlan0    now  says  : > > wlan0: flags=8843 metric 0 mtu 1500 > options=0 > ether f4:7b:09:b0:ba:3f > inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255 > groups: wlan > ssid   xxxxxx    channel 1 (2412 MHz 11g ht/40+) bssid 50:9f:27:79:c2:a3 Blessed are you. Your radio environment must be very quiet that you manage to get on a 40Mhz channel on 11g (or the AP is set to force now?)! > regdomain ETSI country SE authmode WPA2/802.11i privacy ON > deftxkey UNDEF TKIP 2:128-bit txpower 30 bmiss 7 scanvalid 60 You are using TKIP which is not yet supported for crypto offload so either you do not have hw_crypto enabled (which the newer firmware would) as well or you are not getting reasonable throughtput as ampdurx would be automatically disabled by LinuxKPI and it looks like from the next line of the ifconfig output that it got (both RX and TX as it syas -ampdu; TX is disabled on purpose in the current version). Do you have any chance to enable/switch to CCMP on the AP? What does: sysctl compat.linuxkpi.80211.hw_crypto compat.linuxkpi.iwlwifi_11n_disable compat.linuxkpi.iwlwifi_disable_11ac show for all three? And once you are associated and have some traffic, what does sysctl compat.linuxkpi.80211.wlan0 say? > protmode CTS -ampdu ampdulimit 8k ampdudensity 8 -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 > > > and   /var/run/dmesg.boot  says  this    with  verbose boot and > > compat.linuxkpi.iwlwifi_11n_disable=0 > >       in  /boot/loader.conf > >  What is this  iwl-debug-yoyo.bin   ?  where is  it  to be found  ?    do  i  > need  it  ? Nowhere. It can be ignored. https://wiki.freebsd.org/WiFi/Iwlwifi/#Frequently_Asked_Questions > iwlwifi0: using IRQs 152-165 for MSI-X > 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 > iwlwifi-QuZ-a0-hr-b0-77.ucode: could not load firmware image, error 8 > Trying to load binary firmware from > /boot/firmware/iwlwifi-QuZ-a0-hr-b0-77.ucode > firmware: '/boot/firmware/iwlwifi-QuZ-a0-hr-b0-77.ucode' version 0: 1406124 > bytes loaded at 0xfffffe01b8114000 > iwlwifi-QuZ-a0-hr-b0-77.ucode: Loaded binary firmware using > /boot/firmware/iwlwifi-QuZ-a0-hr-b0-77.ucode > 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 firmware image, error 2 > Trying to load binary firmware from /boot/firmware/iwl-debug-yoyo.bin > iwl-debug-yoyo.bin: could not load binary firmware > /boot/firmware/iwl-debug-yoyo.bin either > iwl-debug-yoyo.bin: could not load firmware image, error 2 > Trying to load binary firmware from /boot/firmware/iwl-debug-yoyo.bin > iwl-debug-yoyo.bin: could not load binary firmware > /boot/firmware/iwl-debug-yoyo.bin either > iwl-debug-yoyo_bin: could not load firmware image, error 2 > Trying to load binary firmware from /boot/firmware/iwl-debug-yoyo_bin > iwl-debug-yoyo_bin: could not load binary firmware > /boot/firmware/iwl-debug-yoyo_bin either > iwl_debug_yoyo_bin: could not load firmware image, error 2 > Trying to load binary firmware from /boot/firmware/iwl_debug_yoyo_bin > 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 > iwlwifi0: base HW address: f4:7b:09:b0:ba:3f > iwlwifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps > iwlwifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps > iwlwifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps > 24Mbps 36Mbps 48Mbps 54Mbps > iwlwifi0: 2T2R > iwlwifi0: 11na MCS 20MHz > iwlwifi0: MCS 0-7: 6.5Mbps - 65Mbps > iwlwifi0: MCS 8-15: 13Mbps - 130Mbps > iwlwifi0: 11na MCS 20MHz SGI > iwlwifi0: MCS 0-7: 7Mbps - 72Mbps > iwlwifi0: MCS 8-15: 14.5Mbps - 144.5Mbps > iwlwifi0: 11na MCS 40MHz: > iwlwifi0: MCS 0-7: 13.5Mbps - 135Mbps > iwlwifi0: MCS 8-15: 27Mbps - 270Mbps > iwlwifi0: 11na MCS 40MHz SGI: > iwlwifi0: MCS 0-7: 15Mbps - 150Mbps > iwlwifi0: MCS 8-15: 30Mbps - 300Mbps > iwlwifi0: 11ng MCS 20MHz > iwlwifi0: MCS 0-7: 6.5Mbps - 65Mbps > iwlwifi0: MCS 8-15: 13Mbps - 130Mbps > iwlwifi0: 11ng MCS 20MHz SGI > iwlwifi0: MCS 0-7: 7Mbps - 72Mbps > iwlwifi0: MCS 8-15: 14.5Mbps - 144.5Mbps > iwlwifi0: 11ng MCS 40MHz: > iwlwifi0: MCS 0-7: 13.5Mbps - 135Mbps > iwlwifi0: MCS 8-15: 27Mbps - 270Mbps > iwlwifi0: 11ng MCS 40MHz SGI: > iwlwifi0: MCS 0-7: 15Mbps - 150Mbps > iwlwifi0: MCS 8-15: 30Mbps - 300Mbps -- Bjoern A. Zeeb r15:7 --1098556516-1514877250-1744659383=:3102--