uAP 吞吐率测试

来源:互联网 发布:南宁广电网络 编辑:程序博客网 时间:2024/04/28 11:09

   a. Enable uap on DKB or phone

   b. Laptop as the station, enable wifi of the laptop, and connect with uap.

       Got the IP of station (windows: ipconfig; linux: ifconfig)

   c. uAP Tx:

       Station: iperf -s -i 1 -w 64k

        uAP: iperf -c station_ip  -t 60 -i 1 -w 64k

         (-t 为时间参数,可以设置为自己想跑的时间; -w为window size,可以设置为自己想要的窗口大小,也可以不设置)

   d. uAP Tx:

         uAP: iperf -s -i 1 -w 64k

         Station: iperf -c uap_ip -t 60 -i 1 -w 64k


Note: We can get tcpdump log for uap and station for deeper debug

           on windows, using wireshark; on linux, can use tcpdump cmd


tcpdump cmd: tcpdump -i wlan0 -s 128 -w ***

                          -i为获取tcpdump的端口, -s 为tcpdump的获取程度,当为0时抓取的log最多; -w为保存路径

0 0
原创粉丝点击