5 Replies Latest reply on Jan 8, 2018 7:42 AM by ryan.erickson_1709311

    Wifi throughput BCM4343W

    alberto.girolami2_2862441

      Hi,

      I'm using the STERLING-LWB module evaluation board with an STM32F411E-DISCO board and WICED SDK v6.0 on Windows.

      I need to understand the Wifi throughput in STA mode and with TCP socket.

      How can I change the example snip tcp_client to do it?

      Is there a power save mode that limits the transfer speed?

       

      Thanks

        • 1. Re: Wifi throughput BCM4343W
          ryan.erickson_1709311

          Hello alberto.girolami2_2862441

           

          I recommend you use the console example and run iperf instead of modifying the tcp_client snip.

          1 of 1 people found this helpful
          • 2. Re: Wifi throughput BCM4343W
            alberto.girolami2_2862441

            Sorry but i need to understand the MAX throughput and with tcp_client snip I can sand max 1024 bytes every 1ms.

            ryan.erickson_1709311 do you have some advice?

            • 3. Re: Wifi throughput BCM4343W
              ryan.erickson_1709311

              You should be able to achieve the same thing with iperf and then you will not need to do any custom work.

               

              If you must use tcp_client snip, then you will have to change it on your own.  We have not done any work on this.

              • 4. Re: Wifi throughput BCM4343W
                alberto.girolami2_2862441

                Thanks ryan.erickson_1709311,

                I used the console example with iperf and my laptop as a server.

                 

                TCP:

                # iperf -c 192.168.0.2 -p 3480 -w 256k -i 1

                ------------------------------------------------------------

                Client connecting to 192.168.0.2, TCP port 3480

                TCP window size:  255 KByte (WARNING: requested  256 KByte)

                ------------------------------------------------------------

                [  0]  0.0- 1.0 sec  2.06 MBytes  17.3 Mbits/sec

                [  0]  1.0- 2.0 sec  1.91 MBytes  16.0 Mbits/sec

                [  0]  2.0- 3.0 sec  2.07 MBytes  17.4 Mbits/sec

                [  0]  3.0- 4.0 sec  2.19 MBytes  18.4 Mbits/sec

                [  0]  4.0- 5.0 sec  2.16 MBytes  18.1 Mbits/sec

                [  0]  5.0- 6.0 sec  2.04 MBytes  17.1 Mbits/sec

                [  0]  6.0- 7.0 sec  2.15 MBytes  18.0 Mbits/sec

                [  0]  7.0- 8.0 sec  2.13 MBytes  17.9 Mbits/sec

                [  0]  8.0- 9.0 sec  2.03 MBytes  17.0 Mbits/sec

                [  0]  0.0-10.0 sec  20.8 MBytes  17.5 Mbits/sec

                 

                UDP:

                # iperf -c 192.168.0.2 -u -i 1 -b 65m

                ------------------------------------------------------------

                Client connecting to 192.168.0.2, UDP port 5001

                Sending 1470 byte datagrams

                UDP buffer size: 12.1 KByte (default)

                ------------------------------------------------------------

                [  0]  0.0- 1.0 sec  2.99 MBytes  25.0 Mbits/sec

                [  0]  1.0- 2.0 sec  3.19 MBytes  26.8 Mbits/sec

                [  0]  2.0- 3.0 sec  3.23 MBytes  27.1 Mbits/sec

                [  0]  3.0- 4.0 sec  3.21 MBytes  27.0 Mbits/sec

                [  0]  4.0- 5.0 sec  3.22 MBytes  27.0 Mbits/sec

                [  0]  5.0- 6.0 sec  3.24 MBytes  27.2 Mbits/sec

                [  0]  6.0- 7.0 sec  3.22 MBytes  27.0 Mbits/sec

                [  0]  7.0- 8.0 sec  3.21 MBytes  27.0 Mbits/sec

                [  0]  8.0- 9.0 sec  3.20 MBytes  26.9 Mbits/sec

                [  0]  9.0-10.0 sec  3.22 MBytes  27.0 Mbits/sec

                [  0]  0.0-10.0 sec  31.9 MBytes  26.8 Mbits/sec

                [  0] Sent 22782 datagrams

                [  0] Server Report:

                [  0]  0.0-10.0 sec  31.9 MBytes  26.7 Mbits/sec   6.092 ms    1/22783 (0.0044%)

                 

                The BCM4343W is a 802.11n device with a theoretical maximum rate of 65/72 Mbps.

                Why can't I reach this speed?

                • 5. Re: Wifi throughput BCM4343W
                  ryan.erickson_1709311

                  65/72 Mbps is the PHY rate.  Due to protocol overhead and packet spacing, you will only be able to achieve a max throughput of 40-50% of the PHY rate.  This is a known limitation with Wi-Fi.

                  1 of 1 people found this helpful