5 Replies Latest reply on Aug 12, 2020 11:02 PM by YaPo_2591956

    Unable to test wifi adaptivity with iperf utility

    YaPo_2591956

      Hi,

       

      We have used CY43438 based AP6212 wifi module in our product. We have booked the precompliance lab for CE testing. We are doing RF wifi adaptivity testing. I refered the below manual for our test. i have seen the section 4.2.5. for the adaptivity for 2.4 Ghz radio.

      https://www.cypress.com/file/453451/download

       

      We are fireing the below command on DUT to transfer data at 33% duty cycle. but this command will transfer data at every 1 second as i is setted to 1. The minimum value of i is 0.5. Now as we fire this command then it start pinging. but the peak is not detected in spectrum analyzer as the time interval is very high.

      iperf -c 192.168.1.2 -u -b 5m -l 60000 -i 1 -t 10000

       

       

      As per the manual it must be work but it will not work for our board. Is there anything that i am missing?

      Below is the screen shot for firing the command. I have used router as a companion device. set the routers IP as 192.168.1.100.

       

       

       

       

       

      Please do the needfull as we are in  lab right now and this will not work for our board. Below are some things that we tried at lab.

      1) Change the board

      2) Change the uFL connector and cable

      3) Change the companion device.

        • 1. Re: Unable to test wifi adaptivity with iperf utility
          MuraliR_36

          YaPo_2591956 Can you please give out the Block diagram that you used in your test setup? Have you tried changing the -b or the -l value to obtain the required duty cycle?

          • 2. Re: Unable to test wifi adaptivity with iperf utility
            YaPo_2591956

            Hi,

             

            I have changed the value of the -b and -i in iperf utility. As per my observation minimum value of i is 0.5 second. as i can see that with this minimum time interval it is not able to detect in spectram analyzer.

            We have used below setup.

             

            Without directional coupler and splitter also we did not getting any peak. Spectrum analyzer detects the peak of continuos transmission mode where the time interval is in micro second.

            The commands are executes perfectly.

            • 3. Re: Unable to test wifi adaptivity with iperf utility
              YaPo_2591956

              We are using the below commands from the compliance manual.

                         ifconfig wlan0 up

              sleep 3

              wl down

              sleep 1

              wl mpc 0

              sleep 1

              wl glacial_timer 0x7fffffff

              sleep 1

              wl country ALL

              sleep 1

              wl band b

              sleep 1

              wl 2g_rate -h 0 -b 20

              sleep 1

              wl up

              sleep 1

              wl phy_watchdog 0

              sleep 1

              wl scan

              sleep 3

              wl scanresults

              sleep 1

              wl join D-Link_DIR-524

              sleep 3

              wl ssid

              sleep 1

              wl scansuppress 1

              sleep 1

              wl phy_forcecal 1

              sleep 1

              wl reassoc D-Link_DIR-524

              sleep 1

              sleep 1

              ifconfig

              sleep 1

              wl phy_ed_thresh -70

              sleep 1

              wl channel 11

              sleep 1

              iperf -c 192.168.1.100 -u -b 5m -l 60000 -i 1 -t 10000

              All the commands are working fine still we didnt get the radio peak on perticular channel on spectrum analyzer. i checked on labs analyzer as well as on inhouse specttrum analyzer.

              Please suggest us it is very critical for ce compliance.

              • 4. Re: Unable to test wifi adaptivity with iperf utility
                MuraliR_36

                YaPo_2591956 are these tests being carried out using manufacturing firmware or production firmware? Can you try this out with the production firmware. After loading this with the production firmware,set the country code and establish connection to the AP and then start the iperf. Also are you using a WICED based board or a Linux one? If linux, can you check if an IP was assigned by the AP using the ifconfig command and check if the link is up by pinging the AP?

                Also can you check if your receiver is being saturated by issuing a wl rssi? Receiver level should be around -50 for adaptivity testing.

                1 of 1 people found this helpful
                • 5. Re: Unable to test wifi adaptivity with iperf utility
                  YaPo_2591956

                  Ok, now it is working. There is some issue on the Linux driver side. The wlan0 interface is up but not able to connect with the router. We have changed that one from the imx6ull side and it is working fine.