Skip to content

Instantly share code, notes, and snippets.

@heitbaum
Last active February 27, 2023 08:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save heitbaum/b64790f2a1d983a83636b097d864778f to your computer and use it in GitHub Desktop.
Save heitbaum/b64790f2a1d983a83636b097d864778f to your computer and use it in GitHub Desktop.
RTW88 Tests

Tanix TX6 with rtw_8822cs // second device is a NUC12 connected via 1Gb

tx6:~ # dmesg | more
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.1.12 (docker@28560942fd46) (aarch64-none-elf-gcc-12.2.0 (GCC) 12.2.0, GNU ld (GNU Binutils) 2.39) #1 SMP PREEMPT Sat Feb 25 20:41:36 UTC 2023
[    0.000000] Machine model: Tanix TX6
...
[    7.019860] rtw_8822cs mmc1:0001:1: WOW Firmware version 9.9.4, H2C version 15
[    7.023515] rtw_8822cs mmc1:0001:1: Firmware version 9.9.14, H2C version 15
[    7.852418] Bluetooth: hci0: RTL: examining hci_ver=08 hci_rev=000c lmp_ver=08 lmp_subver=8822
[    7.857424] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822cs_fw.bin
[    7.873779] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822cs_config.bin
...
[   23.096233] wlan0: authenticate with xx
[   26.219926] wlan0: send auth to xx (try 1/3)
[   26.221833] wlan0: authenticated
[   26.223720] wlan0: associate with xx (try 1/3)
[   26.239429] wlan0: RX AssocResp from xx (capab=0x111 status=0 aid=2)
[   26.304113] wlan0: associated
[   26.327422] wlan0: Limiting TX power to 19 (22 - 3) dBm as advertised by xx

tx6:~ # iperf -s
-----------------------------------------------------------
Server listening on 5201 (test #1)
-----------------------------------------------------------
Accepted connection from 192.168.42.63, port 41300
[  5] local 192.168.42.236 port 5201 connected to 192.168.42.63 port 41302
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  3.57 MBytes  29.9 Mbits/sec
[  5]   1.00-2.00   sec  3.65 MBytes  30.6 Mbits/sec
[  5]   2.00-3.00   sec  5.60 MBytes  47.0 Mbits/sec
[  5]   3.00-4.00   sec  6.20 MBytes  52.0 Mbits/sec
[  5]   4.00-5.00   sec  5.83 MBytes  48.9 Mbits/sec
[  5]   5.00-6.00   sec  7.05 MBytes  59.1 Mbits/sec
[  5]   6.00-7.00   sec  7.14 MBytes  59.9 Mbits/sec
[  5]   7.00-8.00   sec  7.12 MBytes  59.8 Mbits/sec
[  5]   8.00-9.00   sec  7.42 MBytes  62.3 Mbits/sec
[  5]   9.00-10.00  sec  7.34 MBytes  61.6 Mbits/sec
[  5]  10.00-10.04  sec   451 KBytes  86.5 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.04  sec  61.4 MBytes  51.3 Mbits/sec                  receiver

tx6:~ # iperf -c 192.168.42.63
Connecting to host 192.168.42.63, port 5201
[  5] local 192.168.42.236 port 59768 connected to 192.168.42.63 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  6.61 MBytes  55.4 Mbits/sec    0    380 KBytes
[  5]   1.00-2.00   sec  6.20 MBytes  52.0 Mbits/sec    0    417 KBytes
[  5]   2.00-3.00   sec  6.94 MBytes  58.2 Mbits/sec    0    458 KBytes
[  5]   3.00-4.00   sec  5.89 MBytes  49.4 Mbits/sec    0    480 KBytes
[  5]   4.00-5.00   sec  6.94 MBytes  58.2 Mbits/sec    0    507 KBytes
[  5]   5.00-6.00   sec  7.00 MBytes  58.7 Mbits/sec    0    507 KBytes
[  5]   6.00-7.00   sec  5.22 MBytes  43.8 Mbits/sec    0    507 KBytes
[  5]   7.00-8.00   sec  6.20 MBytes  52.0 Mbits/sec    0    532 KBytes
[  5]   8.00-9.00   sec  6.81 MBytes  57.2 Mbits/sec    0    532 KBytes
[  5]   9.00-10.00  sec  6.14 MBytes  51.5 Mbits/sec    0    532 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  64.0 MBytes  53.6 Mbits/sec    0             sender
[  5]   0.00-10.02  sec  62.4 MBytes  52.2 Mbits/sec                  receiver

iperf Done.

Tanix TX6 with rtw_8822bs // second device is a NUC12 connected via 1Gb

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.1.12 (docker@28560942fd46) (aarch64-none-elf-gcc-12.2.0 (GCC) 12.2.0, GNU ld (GNU Binutils) 2.39) #1 SMP PREEMPT Sat Feb 25 20:41:36 UTC 2023
[    0.000000] Machine model: Tanix TX6
...
[    8.495683] rtw_8822bs mmc1:0001:1: Firmware version 27.2.0, H2C version 13
[    8.551464] Bluetooth: hci0: RTL: examining hci_ver=07 hci_rev=000b lmp_ver=07 lmp_subver=8822
[    8.570754] Bluetooth: hci0: RTL: rom_version status=0 version=2
[    8.570802] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822bs_fw.bin
[    8.585613] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822bs_config.bin
[    8.620451] Bluetooth: hci0: RTL: cfg_sz 75, total sz 24543
[    9.720076] Bluetooth: hci0: RTL: fw version 0xaa89f793
[   11.806712] wlan0: authenticate with xx
[   11.806771] wlan0: 80 MHz not supported, disabling VHT
[   12.184402] wlan0: send auth to xx (try 1/3)
[   12.194501] wlan0: authenticated
[   12.196183] wlan0: associate with xx (try 1/3)
[   12.213927] wlan0: RX AssocResp from xx (capab=0x11 status=0 aid=6)
[   12.248607] wlan0: associated
[   12.351513] wlan0: Limiting TX power to 18 (21 - 3) dBm as advertised by xx

LibreELEC:~ # iperf -s
-----------------------------------------------------------
Server listening on 5201 (test #1)
-----------------------------------------------------------
Accepted connection from 192.168.42.63, port 35878
[  5] local 192.168.42.209 port 5201 connected to 192.168.42.63 port 35892
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  6.29 MBytes  52.8 Mbits/sec
[  5]   1.00-2.00   sec  6.00 MBytes  50.3 Mbits/sec
[  5]   2.00-3.00   sec  6.48 MBytes  54.3 Mbits/sec
[  5]   3.00-4.00   sec  6.33 MBytes  53.1 Mbits/sec
[  5]   4.00-5.00   sec  6.30 MBytes  52.8 Mbits/sec
[  5]   5.00-6.00   sec  6.45 MBytes  54.1 Mbits/sec
[  5]   6.00-7.00   sec  6.57 MBytes  55.1 Mbits/sec
[  5]   7.00-8.00   sec  6.31 MBytes  52.9 Mbits/sec
[  5]   8.00-9.00   sec  6.53 MBytes  54.8 Mbits/sec
[  5]   9.00-10.00  sec  7.12 MBytes  59.7 Mbits/sec
[  5]  10.00-10.00  sec  25.4 KBytes  47.7 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.00  sec  64.4 MBytes  54.0 Mbits/sec                  receiver

LibreELEC:~ # iperf -c 192.168.42.63
Connecting to host 192.168.42.63, port 5201
[  5] local 192.168.42.209 port 35908 connected to 192.168.42.63 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  7.00 MBytes  58.7 Mbits/sec    0    320 KBytes
[  5]   1.00-2.00   sec  6.26 MBytes  52.5 Mbits/sec    0    364 KBytes
[  5]   2.00-3.00   sec  6.38 MBytes  53.6 Mbits/sec    0    364 KBytes
[  5]   3.00-4.00   sec  6.02 MBytes  50.5 Mbits/sec    0    382 KBytes
[  5]   4.00-5.00   sec  6.38 MBytes  53.6 Mbits/sec    0    382 KBytes
[  5]   5.00-6.00   sec  6.38 MBytes  53.6 Mbits/sec    0    382 KBytes
[  5]   6.00-7.00   sec  5.96 MBytes  50.0 Mbits/sec    0    382 KBytes
[  5]   7.00-8.00   sec  6.38 MBytes  53.6 Mbits/sec    0    382 KBytes
[  5]   8.00-9.00   sec  6.08 MBytes  51.0 Mbits/sec    0    400 KBytes
[  5]   9.00-10.00  sec  6.45 MBytes  54.1 Mbits/sec    0    400 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  63.3 MBytes  53.1 Mbits/sec    0             sender
[  5]   0.00-10.03  sec  62.3 MBytes  52.0 Mbits/sec                  receiver

iperf Done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment