Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2025 22:38:57 +0200
From:      Lars Tunkrans <drsnx60@gmail.com>
To:        "Bjoern A. Zeeb" <bz@FreeBSD.org>
Cc:        freebsd-wireless@FreeBSD.org
Subject:   Re: iwlwifi speed test report
Message-ID:  <4ecc854e-3a50-4671-8081-4049ceea1559@gmail.com>
In-Reply-To: <29810r9n-59r9-rq66-r0q8-q69o8r3r79oo@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>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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
>
>

[-- Attachment #2 --]
<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>in reply to Björns  questions, <br>
    </p>
    <div class="moz-cite-prefix">On 4/14/25 21:36, Bjoern A. Zeeb wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:29810r9n-59r9-rq66-r0q8-q69o8r3r79oo@SerrOFQ.bet">On
      Mon, 14 Apr 2025, Lars Tunkrans wrote:
      <br>
      <br>
      Hi,
      <br>
      <br>
      first of all thank you for testing and reporting back!
      <br>
      <br>
      <blockquote type="cite">   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
        <br>
      </blockquote>
      <br>
      Which branch?  main or stable/14?
      <br>
    </blockquote>
    <p>   15-current  main</p>
    <p> </p>
    <blockquote type="cite"
      cite="mid:29810r9n-59r9-rq66-r0q8-q69o8r3r79oo@SerrOFQ.bet">
      <br>
      <br>
      <blockquote type="cite">    I also  reconfigured my old   4G/Wifi 
        Modem-gateway to     B/G/N   2.4 Gbit  band,   40 Mhz
        <br>
        <br>
            looks like  Im now  running   11ng  300 Mbits  to  the
        4G/WIFI modem.
        <br>
        <br>
            4G speed   is  ofcourse    lower
        <br>
      </blockquote>
      <br>
      Where do you get the 300Mbit/s from?  Just the theoretical value?
      <br>
      <br>
    </blockquote>
    Listed   as  the  11ng   speed  in  the    dmesg verbose list 
    below,
    <blockquote type="cite"
      cite="mid:29810r9n-59r9-rq66-r0q8-q69o8r3r79oo@SerrOFQ.bet">
      <br>
      <blockquote type="cite">    Wlan0    now  says  :
        <br>
        <br>
        wlan0: flags=8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt;
        metric 0 mtu 1500
        <br>
        options=0
        <br>
        ether f4:7b:09:b0:ba:3f
        <br>
        inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255
        <br>
        groups: wlan
        <br>
        ssid   xxxxxx    channel 1 (2412 MHz 11g ht/40+) bssid
        50:9f:27:79:c2:a3
        <br>
      </blockquote>
      <br>
      Blessed are you.  Your radio environment must be very quiet that
      you
      <br>
      manage to get on a 40Mhz channel on 11g (or the AP is set to force
      now?)!
      <br>
      <br>
    </blockquote>
    Im  in  a  single family  home  /   detecting  three  other  AP's  
    in  neigbour houses <br>
    the 4G/modem  is  on  the  same desk as the laptop.  <br>
    <p><br>
    </p>
    <blockquote type="cite"
      cite="mid:29810r9n-59r9-rq66-r0q8-q69o8r3r79oo@SerrOFQ.bet">
      <br>
      <blockquote type="cite">regdomain ETSI country SE authmode
        WPA2/802.11i privacy ON
        <br>
        deftxkey UNDEF TKIP 2:128-bit txpower 30 bmiss 7 scanvalid 60
        <br>
      </blockquote>
      <br>
      You are using TKIP which is not yet supported for crypto offload
      so either you
      <br>
      do not have hw_crypto enabled (which the newer firmware would) as
      well or you
      <br>
      are not getting reasonable throughtput as ampdurx would be
      automatically
      <br>
      disabled by LinuxKPI and it looks like from the next line of the
      <br>
      ifconfig output that it got (both RX and TX as it syas -ampdu; TX
      is disabled
      <br>
      on purpose in the current version).
      <br>
      <br>
      Do you have any chance to enable/switch to CCMP on the AP?
      <br>
    </blockquote>
    <p>   Its not  a  setting   I recognize  from  the  menus  in  the 
      thing,  <br>
    </p>
    <p><br>
    </p>
    <blockquote type="cite"
      cite="mid:29810r9n-59r9-rq66-r0q8-q69o8r3r79oo@SerrOFQ.bet">
      <br>
      What does:
      <br>
      sysctl compat.linuxkpi.80211.hw_crypto
      compat.linuxkpi.iwlwifi_11n_disable
      compat.linuxkpi.iwlwifi_disable_11ac
      <br>
      show for all three?
      <br>
    </blockquote>
    <br>
    <blockquote type="cite"
      cite="mid:29810r9n-59r9-rq66-r0q8-q69o8r3r79oo@SerrOFQ.bet">
      <span style="font-family:monospace"><span
          style="color:#000000;background-color:#ffffff;">compat.linuxkpi.80211.hw_crypto:
          0</span><span style="color:#000000;background-color:#ffffff;">
        </span><br>
        <span style="color:#000000;background-color:#ffffff;">compat.linuxkpi.iwlwifi_11n_disable:
          0</span><span style="color:#000000;background-color:#ffffff;">
        </span><br>
        <span style="color:#000000;background-color:#ffffff;">compat.linuxkpi.iwlwifi_disable_11ac:
          1</span><br>
        <span style="color:#000000;background-color:#ffffff;">
        </span><br>
      </span><br>
    </blockquote>
    <p><br>
    </p>
    <p><br>
    </p>
    <blockquote type="cite"
      cite="mid:29810r9n-59r9-rq66-r0q8-q69o8r3r79oo@SerrOFQ.bet">And
      once you are associated and have some traffic, what does
      <br>
      sysctl compat.linuxkpi.80211.wlan0
      <br>
      say?
      <br>
    </blockquote>
    <br>
    <blockquote type="cite"
      cite="mid:29810r9n-59r9-rq66-r0q8-q69o8r3r79oo@SerrOFQ.bet">
      <span style="font-family:monospace"><span
          style="color:#000000;background-color:#ffffff;"># sysctl
          sysctl compat.linuxkpi.80211.wlan0 </span><span
          style="color:#000000;background-color:#ffffff;"> </span><br>
        <span style="color:#000000;background-color:#ffffff;">compat.linuxkpi.80211.wlan0.dump_stas:
        </span><span style="color:#000000;background-color:#ffffff;"> </span><br>
        <span style="color:#000000;background-color:#ffffff;">lsta
          0xfffff8005bb37000 sta 0xfffff8005bb371c0 added_to_drv 1</span><span
          style="color:#000000;background-color:#ffffff;">
        </span><br>
        <span style="color:#000000;background-color:#ffffff;">
          nl80211_sta_info (valid fields)
0x00004503&lt;BEACON_RX,BEACON_SIGNAL_AVG,SIGNAL_AVG,RX_BITRATE,TX_BITRATE&gt;</span><span
          style="color:#000000;background-color:#ffffff;">
        </span><br>
        <span style="color:#000000;background-color:#ffffff;">
          connected_time 0 inactive_time 0</span><span
          style="color:#000000;background-color:#ffffff;">
        </span><br>
        <span style="color:#000000;background-color:#ffffff;"> rx_bytes
          0 rx_packets 0 rx_dropped_misc 0</span><span
          style="color:#000000;background-color:#ffffff;">
        </span><br>
        <span style="color:#000000;background-color:#ffffff;">
          rx_duration 0 rx_beacon 76120 rx_beacon_signal_avg -34</span><span
          style="color:#000000;background-color:#ffffff;">
        </span><br>
        <span style="color:#000000;background-color:#ffffff;"> tx_bytes
          0 tx_packets 0 tx_failed 0</span><span
          style="color:#000000;background-color:#ffffff;">
        </span><br>
        <span style="color:#000000;background-color:#ffffff;">
          tx_duration 0 tx_retries 0</span><span
          style="color:#000000;background-color:#ffffff;">
        </span><br>
        <span style="color:#000000;background-color:#ffffff;"> signal 0
          signal_avg -24 ack_signal 0 avg_ack_signal 0</span><span
          style="color:#000000;background-color:#ffffff;">
        </span><br>
        <span style="color:#000000;background-color:#ffffff;">
          generation 0 assoc_req_ies_len 0 chains 0</span><span
          style="color:#000000;background-color:#ffffff;">
        </span><br>
        <span style="color:#000000;background-color:#ffffff;"> rxrate:
          flags 5&lt;MCS,SGI&gt; bw 3(40) legacy 0 kbit/s mcs 15 nss 0</span><span
          style="color:#000000;background-color:#ffffff;">
        </span><br>
        <span style="color:#000000;background-color:#ffffff;">
                  he_dcm 0 he_gi 0 he_ru_alloc 0 eht_gi 0</span><span
          style="color:#000000;background-color:#ffffff;">
        </span><br>
        <span style="color:#000000;background-color:#ffffff;"> txrate:
          flags 5&lt;MCS,SGI&gt; bw 3(40) legacy 0 kbit/s mcs 7 nss 1</span><span
          style="color:#000000;background-color:#ffffff;">
        </span><br>
        <span style="color:#000000;background-color:#ffffff;">
                  he_dcm 0 he_gi 0 he_ru_alloc 0 eht_gi 0</span><br>
        <span style="color:#000000;background-color:#ffffff;">
        </span><br>
      </span><br>
    </blockquote>
    <br>
  </body>
</html>
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ecc854e-3a50-4671-8081-4049ceea1559>