From nobody Mon Apr 14 20:38:57 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 4ZbzfG2CGjz5sCmJ for ; Mon, 14 Apr 2025 20:39:02 +0000 (UTC) (envelope-from drsnx60@gmail.com) Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) (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)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZbzfF4WZBz3jkB; Mon, 14 Apr 2025 20:39:01 +0000 (UTC) (envelope-from drsnx60@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-54d42884842so5199119e87.2; Mon, 14 Apr 2025 13:39:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744663140; x=1745267940; darn=freebsd.org; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=Xis1y6tCydcBBFY5g6KQomHZ57IdpMfPpeHekQZLKxk=; b=nMtV9qlpYyjiFlZ2sKDXobSMFl43CWQLr8unmYocvOF0kXBKv5KKIk6POyTnLxHsnT fHDzv0VpIfU5soM2aN/HayJAo3AHaJXS8kywcpbypDU7lT5uGpbfBlKQKaE1sw8aKQkS edKX1Inm2vjaiRhjHgjWAc/hKAUiw47Iy83opoEvxiWzZvCDYqOK6wMHc8ykgkJB9syb Q9jWZj/JcYelijpmjosicBtcwZ2ok2SvW/AhKWyQW03yjEybFIYf0uM7nHbf/W8e2ccD QGU7a5BXS/f+Nv7Q21JstHWnN7utuZB64Zq51uJm3JIHNRZE+XeApFHzfQXf3cP0SBzT tROg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744663140; x=1745267940; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=Xis1y6tCydcBBFY5g6KQomHZ57IdpMfPpeHekQZLKxk=; b=SvBv5v0ZftgS07waVJAxnghEbvXQ1VqODbkmDFlvqdvnFEfmTf1Y9xt6VU6fRFA+z9 xTJg8WibNTkw6qDr2BFQYxMRb2QkX4d5KXmZT/6A8n6al+xFCXAswgnLtuDe7gg+mYlK 4GXsiYh8+v7OMJmdw2TH+k3XrVus6qP866aGgHRgfBoDD+kwNDyNQ/aXPaYpzpaPruq8 b4bLLJhfr4nqTbEnNZ8hQ12/7NESkznxAUfCcHD2rvIfaC6m6jh6z1IRz7WCNGvgsV7n g0oXmG9Lcri2UEXYIhdtnUtNFGARf99Cnqb7uLcbO5oOpVNBDvdLouOzFAH8CH4Bgjxv E9zw== X-Gm-Message-State: AOJu0YxbFOc4bPu6Pct95gHIryFu1ARY6UpStBMoVX4v6sGaVGbh0Ujf cEvnarGvN9uWCJHVHyro6dExPU+m9Volp8pmlY9/azXkRzqIIxjZyANCeg== X-Gm-Gg: ASbGnct18VHEZowbbMHoMAHjqj5eljbaj4toItbCtqtVCSeUxMANXb4cfAxeL9V2oh7 1og7qLJbLpsfulnsK+jrx0y83uqa5glMHWrxvT2YiRIPwSAY9t7EovJN8mYzqsy43S0CaOa0d/l m99SQIEGNKod22jp1HqWiR7ZzCTaIAfFtKXx3miPAxcbXNNPfEOK6zk4+33oCxCXL3WIUAaqyR5 bbyuDfIrvPxvBPD5mpVAmh4PU1E6u5DA+giZIhSvNzpaskwbyie0V2O0d+2jUYH52G1DeP4cWUK NTOP+Mzn+q5xhXDSnpcHxq+EXLpBXZfI8RtwgCWnChACE/ESzPXckZ9SDw== X-Google-Smtp-Source: AGHT+IEUzfhc1slF7gk+4wQmBvH+iEkvvE5veZr/N5t80W0S0zaraQT6bkE2/YwoROnE4mjhLoPMng== X-Received: by 2002:a05:6512:1314:b0:545:d35:6be2 with SMTP id 2adb3069b0e04-54d452b089cmr3699937e87.34.1744663139478; Mon, 14 Apr 2025 13:38:59 -0700 (PDT) Received: from [192.168.1.10] (2.68.0.156.mobile.tre.se. [2.68.0.156]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-54d3d12342esm1206375e87.50.2025.04.14.13.38.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 14 Apr 2025 13:38:58 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------WDZwVW06n7yyurbDsTeqa9pP" Message-ID: <4ecc854e-3a50-4671-8081-4049ceea1559@gmail.com> Date: Mon, 14 Apr 2025 22:38:57 +0200 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: "Bjoern A. Zeeb" Cc: freebsd-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> Content-Language: en-US From: Lars Tunkrans In-Reply-To: <29810r9n-59r9-rq66-r0q8-q69o8r3r79oo@SerrOFQ.bet> X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4ZbzfF4WZBz3jkB X-Spamd-Bar: ---- This is a multi-part message in MIME format. --------------WDZwVW06n7yyurbDsTeqa9pP Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit in reply to Björns  questions, On 4/14/25 21:36, Bjoern A. Zeeb wrote: > 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?    15-current  main > > >>     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? > Listed   as  the  11ng   speed  in  the    dmesg verbose list below, > >>     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?)! > Im  in  a  single family  home  /   detecting  three  other  AP's in  neigbour houses the 4G/modem  is  on  the  same desk as the laptop. > >> 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?    Its not  a  setting   I recognize  from  the  menus  in  the thing, > > 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 > > > 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 > 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 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 bw 3(40) legacy 0 kbit/s mcs 7 nss 1 >         he_dcm 0 he_gi 0 he_ru_alloc 0 eht_gi 0 > > --------------WDZwVW06n7yyurbDsTeqa9pP Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

in reply to Björns  questions,

On 4/14/25 21:36, Bjoern A. Zeeb wrote:
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?

   15-current  main

 



    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?

Listed   as  the  11ng   speed  in  the    dmesg verbose list  below,

    Wlan0    now  says  :

wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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?)!

Im  in  a  single family  home  /   detecting  three  other  AP's   in  neigbour houses
the 4G/modem  is  on  the  same desk as the laptop. 



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?

   Its not  a  setting   I recognize  from  the  menus  in  the  thing, 



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




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



--------------WDZwVW06n7yyurbDsTeqa9pP--