Skip to content

Latest commit

 

History

History
424 lines (403 loc) · 14.4 KB

20170208_mesh-point-with-topgs07-rt5572.md

File metadata and controls

424 lines (403 loc) · 14.4 KB
title location attendees date
Mesh Point with TOP-GS07 RT5572
Dim Sum Labs (Hong Kong)
3
2017-02-08

Mesh Point with TOP-GS07 RT5572

Summary of Results

  • Uses rt2800usb (no driver install step required on Raspbian)
  • The version of rt2800usb must be recent, and we could not get this to work on a customized Debian with the drivers (could be our problem)
  • Connected with each other with Mesh Point, and with the TL-WN722N & TL-WR703N, over 2.4 GHz (iperf3 tested between 5 to 45 Mbps, we are likely in a noisy environment)
  • Connected with each other with Mesh Point, over 5 GHz (iperf3 tested 40 to 50 Mbps, much more reliable than the 2.4 GHz results)
  • Played with Monitor mode packet captures and that worked
  • The TOP-GS07 device consumes 1.0 to 1.5 W (one of the Raspberry Pi's with a 1 A power supply shut off after plugging this in, so make sure you use a proper supply)
  • The external antenna is soldered on (we need a RP-SMA version of this)

TOP-GS07 USB WiFi Adapter

The TOP-GS07 is a USB WiFi adapter with external antenna that supports Mesh Point over 2.4 and 5 GHz. The two devices under test are directly sourced from Toplinkst.

TOP-GS07 devices RT5572 chip Power measurement

Device Capabilities with iw list

Wiphy phy1
	max # scan SSIDs: 4
	max scan IEs length: 2257 bytes
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 0 (up to 0m)
	Device supports RSN-IBSS.
	Supported Ciphers:
		* WEP40 (00-0f-ac:1)
		* WEP104 (00-0f-ac:5)
		* TKIP (00-0f-ac:2)
		* CCMP (00-0f-ac:4)
		* 00-0f-ac:10
		* GCMP (00-0f-ac:8)
		* 00-0f-ac:9
	Available Antennas: TX 0 RX 0
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * AP/VLAN
		 * WDS
		 * monitor
		 * mesh point
	Band 1:
		Capabilities: 0x2f2
			HT20/HT40
			Static SM Power Save
			RX Greenfield
			RX HT20 SGI
			RX HT40 SGI
			TX STBC
			RX STBC 2-streams
			Max AMSDU length: 3839 bytes
			No DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 2 usec (0x04)
		HT RX MCS rate indexes supported: 0-15, 32
		TX unequal modulation not supported
		HT TX Max spatial streams: 2
		HT TX MCS rate indexes supported may differ
		Bitrates (non-HT):
			* 1.0 Mbps
			* 2.0 Mbps (short preamble supported)
			* 5.5 Mbps (short preamble supported)
			* 11.0 Mbps (short preamble supported)
			* 6.0 Mbps
			* 9.0 Mbps
			* 12.0 Mbps
			* 18.0 Mbps
			* 24.0 Mbps
			* 36.0 Mbps
			* 48.0 Mbps
			* 54.0 Mbps
		Frequencies:
			* 2412 MHz [1] (20.0 dBm)
			* 2417 MHz [2] (20.0 dBm)
			* 2422 MHz [3] (20.0 dBm)
			* 2427 MHz [4] (20.0 dBm)
			* 2432 MHz [5] (20.0 dBm)
			* 2437 MHz [6] (20.0 dBm)
			* 2442 MHz [7] (20.0 dBm)
			* 2447 MHz [8] (20.0 dBm)
			* 2452 MHz [9] (20.0 dBm)
			* 2457 MHz [10] (20.0 dBm)
			* 2462 MHz [11] (20.0 dBm)
			* 2467 MHz [12] (20.0 dBm)
			* 2472 MHz [13] (20.0 dBm)
			* 2484 MHz [14] (disabled)
	Band 2:
		Capabilities: 0x2f2
			HT20/HT40
			Static SM Power Save
			RX Greenfield
			RX HT20 SGI
			RX HT40 SGI
			TX STBC
			RX STBC 2-streams
			Max AMSDU length: 3839 bytes
			No DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 2 usec (0x04)
		HT RX MCS rate indexes supported: 0-15, 32
		TX unequal modulation not supported
		HT TX Max spatial streams: 2
		HT TX MCS rate indexes supported may differ
		Bitrates (non-HT):
			* 6.0 Mbps
			* 9.0 Mbps
			* 12.0 Mbps
			* 18.0 Mbps
			* 24.0 Mbps
			* 36.0 Mbps
			* 48.0 Mbps
			* 54.0 Mbps
		Frequencies:
			* 5180 MHz [36] (20.0 dBm)
			* 5190 MHz [38] (20.0 dBm)
			* 5200 MHz [40] (20.0 dBm)
			* 5210 MHz [42] (20.0 dBm)
			* 5220 MHz [44] (20.0 dBm)
			* 5230 MHz [46] (20.0 dBm)
			* 5240 MHz [48] (20.0 dBm)
			* 5250 MHz [50] (disabled)
			* 5260 MHz [52] (20.0 dBm) (radar detection)
			  DFS state: usable (for 261 sec)
			  DFS CAC time: 60000 ms
			* 5270 MHz [54] (20.0 dBm) (radar detection)
			  DFS state: usable (for 261 sec)
			  DFS CAC time: 60000 ms
			* 5280 MHz [56] (20.0 dBm) (radar detection)
			  DFS state: usable (for 261 sec)
			  DFS CAC time: 60000 ms
			* 5290 MHz [58] (20.0 dBm) (radar detection)
			  DFS state: usable (for 261 sec)
			  DFS CAC time: 60000 ms
			* 5300 MHz [60] (20.0 dBm) (radar detection)
			  DFS state: usable (for 261 sec)
			  DFS CAC time: 60000 ms
			* 5310 MHz [62] (20.0 dBm) (radar detection)
			  DFS state: usable (for 261 sec)
			  DFS CAC time: 60000 ms
			* 5320 MHz [64] (20.0 dBm) (radar detection)
			  DFS state: usable (for 261 sec)
			  DFS CAC time: 60000 ms
			* 5500 MHz [100] (27.0 dBm) (radar detection)
			  DFS state: usable (for 261 sec)
			  DFS CAC time: 60000 ms
			* 5510 MHz [102] (27.0 dBm) (radar detection)
			  DFS state: usable (for 261 sec)
			  DFS CAC time: 60000 ms
			* 5520 MHz [104] (27.0 dBm) (radar detection)
			  DFS state: usable (for 261 sec)
			  DFS CAC time: 60000 ms
			* 5530 MHz [106] (27.0 dBm) (radar detection)
			  DFS state: usable (for 261 sec)
			  DFS CAC time: 60000 ms
			* 5540 MHz [108] (27.0 dBm) (radar detection)
			  DFS state: usable (for 261 sec)
			  DFS CAC time: 60000 ms
			* 5550 MHz [110] (27.0 dBm) (radar detection)
			  DFS state: usable (for 261 sec)
			  DFS CAC time: 60000 ms
			* 5560 MHz [112] (27.0 dBm) (radar detection)
			  DFS state: usable (for 261 sec)
			  DFS CAC time: 60000 ms
			* 5570 MHz [114] (27.0 dBm) (radar detection)
			  DFS state: usable (for 261 sec)
			  DFS CAC time: 60000 ms
			* 5580 MHz [116] (27.0 dBm) (radar detection)
			  DFS state: usable (for 261 sec)
			  DFS CAC time: 60000 ms
			* 5590 MHz [118] (27.0 dBm) (radar detection)
			  DFS state: usable (for 261 sec)
			  DFS CAC time: 60000 ms
			* 5600 MHz [120] (27.0 dBm) (radar detection)
			  DFS state: usable (for 261 sec)
			  DFS CAC time: 60000 ms
			* 5610 MHz [122] (27.0 dBm) (radar detection)
			  DFS state: usable (for 261 sec)
			  DFS CAC time: 60000 ms
			* 5620 MHz [124] (27.0 dBm) (radar detection)
			  DFS state: usable (for 261 sec)
			  DFS CAC time: 60000 ms
			* 5630 MHz [126] (27.0 dBm) (radar detection)
			  DFS state: usable (for 261 sec)
			  DFS CAC time: 60000 ms
			* 5640 MHz [128] (27.0 dBm) (radar detection)
			  DFS state: usable (for 261 sec)
			  DFS CAC time: 60000 ms
			* 5650 MHz [130] (27.0 dBm) (radar detection)
			  DFS state: usable (for 261 sec)
			  DFS CAC time: 60000 ms
			* 5660 MHz [132] (27.0 dBm) (radar detection)
			  DFS state: usable (for 261 sec)
			  DFS CAC time: 60000 ms
			* 5670 MHz [134] (27.0 dBm) (radar detection)
			  DFS state: usable (for 261 sec)
			  DFS CAC time: 60000 ms
			* 5680 MHz [136] (27.0 dBm) (radar detection)
			  DFS state: usable (for 261 sec)
			  DFS CAC time: 60000 ms
			* 5690 MHz [138] (27.0 dBm) (radar detection)
			  DFS state: usable (for 261 sec)
			  DFS CAC time: 60000 ms
			* 5700 MHz [140] (27.0 dBm) (radar detection)
			  DFS state: usable (for 261 sec)
			  DFS CAC time: 60000 ms
			* 5745 MHz [149] (disabled)
			* 5755 MHz [151] (disabled)
			* 5765 MHz [153] (disabled)
			* 5775 MHz [155] (disabled)
			* 5785 MHz [157] (disabled)
			* 5795 MHz [159] (disabled)
			* 5805 MHz [161] (disabled)
			* 5825 MHz [165] (disabled)
			* 4920 MHz [184] (disabled)
			* 4940 MHz [188] (disabled)
			* 4960 MHz [192] (disabled)
			* 4980 MHz [196] (disabled)
	Supported commands:
		 * new_interface
		 * set_interface
		 * new_key
		 * start_ap
		 * new_station
		 * new_mpath
		 * set_mesh_config
		 * set_bss
		 * authenticate
		 * associate
		 * deauthenticate
		 * disassociate
		 * join_ibss
		 * join_mesh
		 * set_tx_bitrate_mask
		 * frame
		 * frame_wait_cancel
		 * set_wiphy_netns
		 * set_channel
		 * set_wds_peer
		 * probe_client
		 * set_noack_map
		 * register_beacons
		 * start_p2p_device
		 * set_mcast_rate
		 * Unknown command (104)
		 * connect
		 * disconnect
	Supported TX frame types:
		 * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
	Supported RX frame types:
		 * IBSS: 0x40 0xb0 0xc0 0xd0
		 * managed: 0x40 0xd0
		 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * mesh point: 0xb0 0xc0 0xd0
		 * P2P-client: 0x40 0xd0
		 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * P2P-device: 0x40 0xd0
	software interface modes (can always be added):
		 * AP/VLAN
		 * monitor
	valid interface combinations:
		 * #{ AP, mesh point } <= 8,
		   total <= 8, #channels <= 1
	HT Capability overrides:
		 * MCS: ff ff ff ff ff ff ff ff ff ff
		 * maximum A-MSDU length
		 * supported channel width
		 * short GI for 40 MHz
		 * max A-MPDU length exponent
		 * min MPDU start spacing
	Device supports TX status socket option.
	Device supports HT-IBSS.
	Device supports SAE with AUTHENTICATE command
	Device supports low priority scan.
	Device supports scan flush.
	Device supports AP scan.
	Device supports per-vif TX power setting
	Driver supports a userspace MPM

Devices Used for Testing

MAC Address Mesh Point Device Host
8c:88:2b:00:00:eb TOP-GS07 Pi 3 running Raspbian Jessie
¯\(°_o)/¯ TOP-GS07 Pi 2 running Raspbian Jessie
ec:08:6b:1c:76:d6 TL-WN722N Pi 2 running Raspbian Jessie
ec:17:2f:9d:d7:76 On-board radio TL-WR703N running OpenWrt

2.4 GHz Mesh

iw dev mesh0 station dump from 8c:88:2b:00:00:eb

Station ec:17:2f:9d:d7:76 (on mesh0)
        inactive time:  340 ms
        rx bytes:       401091260
        rx packets:     326564
        tx bytes:       354602212
        tx packets:     342705
        tx retries:     73774
        tx failed:      81
        signal:         -20 dBm
        signal avg:     -21 dBm
        Toffset:        -1570563250 us
        tx bitrate:     150.0 MBit/s MCS 7 40MHz short GI
        rx bitrate:     135.0 MBit/s MCS 6 40MHz short GI
        expected throughput:    47.698Mbps
        mesh llid:      33231
        mesh plid:      1003
        mesh plink:     ESTAB
        mesh local PS mode:     ACTIVE
        mesh peer PS mode:      ACTIVE
        mesh non-peer PS mode:  ACTIVE
        authorized:     yes
        authenticated:  yes
        preamble:       long
        WMM/WME:        yes
        MFP:            no
        TDLS peer:      no
Station ec:08:6b:1c:76:d6 (on mesh0)
        inactive time:  950 ms
        rx bytes:       791131
        rx packets:     8188
        tx bytes:       25724461
        tx packets:     16799
        tx retries:     6832
        tx failed:      41
        signal:         -14 dBm
        signal avg:     -16 dBm
        Toffset:        -11710625850 us
        tx bitrate:     150.0 MBit/s MCS 7 40MHz short GI
        rx bitrate:     120.0 MBit/s MCS 5 40MHz short GI
        expected throughput:    43.303Mbps
        mesh llid:      23061
        mesh plid:      63415
        mesh plink:     ESTAB
        mesh local PS mode:     ACTIVE
        mesh peer PS mode:      ACTIVE
        mesh non-peer PS mode:  ACTIVE
        authorized:     yes
        authenticated:  yes
        preamble:       long
        WMM/WME:        yes
        MFP:            no
        TDLS peer:      no

5 GHz Mesh

Switching to 5 GHz Band

$ sudo ifconfig mesh0 down
$ sudo ifconfig mesh0 up
$ sudo iw dev mesh0 mesh join tomesh freq 5200 HT40+

iperf3 Results

pi@raspberrypi:~ $ iperf3 -c 192.168.111.1
Connecting to host 192.168.111.1, port 5201
[  4] local 192.168.111.3 port 35872 connected to 192.168.111.1 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec  3.76 MBytes  31.5 Mbits/sec    2   21.2 KBytes
[  4]   1.00-2.00   sec  4.99 MBytes  41.8 Mbits/sec    0   31.1 KBytes
[  4]   2.00-3.00   sec  4.79 MBytes  40.2 Mbits/sec    0   31.1 KBytes
[  4]   3.00-4.00   sec  2.98 MBytes  25.0 Mbits/sec    0   33.9 KBytes
[  4]   4.00-5.00   sec  5.39 MBytes  45.2 Mbits/sec    1   43.8 KBytes
[  4]   5.00-6.00   sec  5.08 MBytes  42.6 Mbits/sec    0   45.2 KBytes
[  4]   6.00-7.00   sec  5.92 MBytes  49.6 Mbits/sec    0   49.5 KBytes
[  4]   7.00-8.00   sec  5.56 MBytes  46.6 Mbits/sec    0   60.8 KBytes
[  4]   8.00-9.00   sec  4.07 MBytes  34.2 Mbits/sec    0   60.8 KBytes
[  4]   9.00-10.00  sec  6.20 MBytes  52.0 Mbits/sec    0   60.8 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  48.7 MBytes  40.9 Mbits/sec    3             sender
[  4]   0.00-10.00  sec  48.7 MBytes  40.8 Mbits/sec                  receiver

iperf Done.
pi@raspberrypi:~ $ iperf3 -R -c 192.168.111.1
Connecting to host 192.168.111.1, port 5201
Reverse mode, remote host 192.168.111.1 is sending
[  4] local 192.168.111.3 port 35876 connected to 192.168.111.1 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  5.23 MBytes  43.9 Mbits/sec
[  4]   1.00-2.00   sec  5.47 MBytes  45.9 Mbits/sec
[  4]   2.00-3.00   sec  5.68 MBytes  47.7 Mbits/sec
[  4]   3.00-4.00   sec  5.87 MBytes  49.2 Mbits/sec
[  4]   4.00-5.00   sec  5.86 MBytes  49.2 Mbits/sec
[  4]   5.00-6.00   sec  6.04 MBytes  50.6 Mbits/sec
[  4]   6.00-7.00   sec  6.06 MBytes  50.9 Mbits/sec
[  4]   7.00-8.00   sec  5.73 MBytes  48.0 Mbits/sec
[  4]   8.00-9.00   sec  5.83 MBytes  48.9 Mbits/sec
[  4]   9.00-10.00  sec  5.94 MBytes  49.9 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  57.9 MBytes  48.5 Mbits/sec    0             sender
[  4]   0.00-10.00  sec  57.8 MBytes  48.5 Mbits/sec                  receiver

iperf Done.