35 wifitest

V0.0.2

35.1 Histroy

  • 2014-10-21, rayoslee, release V0.0.2
  • 2014-10-15, rayoslee, release V0.0.1

35.2 FAQ

  1. How to set wifitest in S605-32 demo kit ?
    • Copy folder utility with wifitest and libwifitest.so in sd or spi
    • Modify file boot_script

      export PATH="/mnt/nand1-1/utility:$PATH" 
      export LD_LIBRARY_PATH="/mnt/nand1-1/utility:$LD_LIBRARY_PATH"
  2. How to use wifitest in S605-32 demo kit?
    • The Usage:

      wifitest -I [-g][-G][-B][-R][-N][-i][-s][-p][-t][-h][-l][-c][-r][-n]

    • The Descriptions of arguments:

      -I <interface name>
      Specify the wireless interface that you want to operate

      -g <preamble type value>
      0: PREAMBLE_TYPE _MIXED_MODE
      1: PREAMBLE_TYPE_GREENFIELD

      -G <NORMAL GI or SHORT GI >
      0: WIFI_TEST_GI_TYPE_NORMAL_GI
      1: WIFI_TEST_GI_TYPE_SHORT_GI

      -B <bandwidth type >
      0: WIFI_TEST_BW_20
      1: WIFI_TEST_BW_40
      2: WIFI_TEST_BW_20U
      3: WIFI_TEST_BW_20L

      -R <data rate of B/G mode>
      1: RATE_1MBPS
      2: RATE_2MBPS
      3: RATE_5_5MBPS
      4: RATE_6MBP
      5: RATE_9MBPS
      6: RATE_11MBPS
      7: RATE_12MBPS
      8: RATE_18MBPS
      9: RATE_24MBPS
      10: RATE_36MBPS
      11: RATE_48MBPS
      12: RATE_54MBPS

      -N <data rate of N mode>
      0: WIFI_TEST_MCS_RATE_0
      1: WIFI_TEST_MCS_RATE_1
      2: WIFI_TEST_MCS_RATE_2
      3: WIFI_TEST_MCS_RATE_3
      4: WIFI_TEST_MCS_RATE_4
      5: WIFI_TEST_MCS_RATE_5
      6: WIFI_TEST_MCS_RATE_6
      7: WIFI_TEST_MCS_RATE_7
      32: WIFI_TEST_MCS_RATE_32

      -i <TX burst interval by SIFS in the unit of TU >
      20 ~ 1000

      -s <short or long preamble >
      0: SHORT PREAMBLE
      1: LONG PREAMBLE

      -p <value of TX Gain , TX power = TX Gain * 0.5 dbm >
      (inside moudle S605 path loss ~3dB, it means measurements of module out is 0.5*p-3db)
      (ex: p=20, measurements of module out is 10-3)

      -t <continuous TX packet>
      0: G mode
      1: N mode

      -l <length of the payload in the unit of bytes>
      -c <channel number>
      Support 2.4G/5G channel

      -r continuous RX packet and report the number of good/error packet and RSSI
      -n <time of continuous RX packet in the unit of sec, number of burst frame for continuous TX packet >
      0 means unlimited for TX

      -m <CW mode>
      0: Carrier waveform
      3: Continuous waveform (100% duty cycle)

      -h print the help

    • Example TX:
      1. Continuous TX packets in specific setting (operate on wlan0 with unlimited burst frame with SIFS=30 TU, TX gain=10 , normal GI, Channel=6, Bandwidth = 20Mhz, preamble type=mixed mode, long preamble, N date rate at MCS32)
        wifitest -I wlan0 -t 1 -n 0 -c 6 -p 10 -s 1 -B 0 -g 0 -G 0 -N 32 -i 30
      2. Continuous TX packets in specific seeting(operate on wlan0 with 11b, Channel=7, TX gain=17, 11Mbps)
        wifitest -I wlan0 -t 0 -n 0 -c 7 -p 17 -R 6
      3. Continuous TX packets in specific seeting(operate on wlan0 with 11g, Channel=1, TX gain=14, 54Mbps)
        wifitest -I wlan0 -t 0 -n 0 -c 1 -p 14 -R 12
      4. Continuous TX packets in specific seeting(operate on wlan0 with 11n, Channel=7, TX gain=14, N date rate at MCS7, preamble type=mixed mode)
        wifitest -I wlan0 -t 1 -n 0 -c 7 -p 14 -N 7 -g 0
      5. Continuous TX packets in specific seeting(operate on wlan0 with 11g, Channel=7, TX gain=15, 54Mbps, Carrier waveform)
        wifitest -I wlan0 -t 0 -n 0 -c 7 -p 15 -R 12 -m 0
      6. Continuous TX packets in specific seeting(operate on wlan0 with 11g, Channel=7, TX gain=15, 54Mbps, Continuous waveform)
        wifitest -I wlan0 -t 0 -n 0 -c 7 -p 15 -R 12 -m 3
    • Example RX:
      1. Continuous RX packets in specific setting (operate on wlan0 with 10000 sec, channel =10)
        wifitest -I wlan0 -r -n 10000 -c 10
      2. Continuous RX packets in specific setting (operate on wlan0 with 10 sec, channel =7)
        wifitest -I wlan0 -r -n 10 -c 7