Re: iwlwifi speed test report

From: Lars Tunkrans <drsnx60_at_gmail.com>
Date: Mon, 14 Apr 2025 20:38:57 UTC
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
>
>